diff --git a/apis/generated/microsoft.cache/v20171001/groupversion_info_gen.go b/apis/generated/microsoft.cache/v20171001/groupversion_info_gen.go new file mode 100644 index 00000000..aba1e390 --- /dev/null +++ b/apis/generated/microsoft.cache/v20171001/groupversion_info_gen.go @@ -0,0 +1,32 @@ +/* +Copyright (c) Microsoft Corporation. +Licensed under the MIT license. +*/ + +// Code generated by k8s-infra-gen. DO NOT EDIT. +// Generator version: (tree is ) + +// Package v20171001 contains API Schema definitions for the microsoft.cache v20171001 API group +// +kubebuilder:object:generate=true +// All object properties are optional by default, this will be overridden when needed: +// +kubebuilder:validation:Optional +// +groupName=microsoft.cache.infra.azure.com +package v20171001 + +import ( + "k8s.io/apimachinery/pkg/runtime/schema" + "sigs.k8s.io/controller-runtime/pkg/scheme" +) + +var ( + // GroupVersion is group version used to register these objects + GroupVersion = schema.GroupVersion{Group: "microsoft.cache.infra.azure.com", Version: "v20171001"} + + // SchemeBuilder is used to add go types to the GroupVersionKind scheme + SchemeBuilder = &scheme.Builder{GroupVersion: GroupVersion} + + // AddToScheme adds the types in this group-version to the given scheme. + AddToScheme = SchemeBuilder.AddToScheme + + localSchemeBuilder = SchemeBuilder.SchemeBuilder +) diff --git a/apis/generated/microsoft.cache/v20171001/redis_firewall_rules_types_gen.go b/apis/generated/microsoft.cache/v20171001/redis_firewall_rules_types_gen.go new file mode 100644 index 00000000..3841a0b5 --- /dev/null +++ b/apis/generated/microsoft.cache/v20171001/redis_firewall_rules_types_gen.go @@ -0,0 +1,121 @@ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT license. +// Code generated by k8s-infra-gen. DO NOT EDIT. +package v20171001 + +import ( + "github.com/crossplane/crossplane-runtime/apis/core/v1alpha1" + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" +) + +// +kubebuilder:object:root=true +// +kubebuilder:subresource:status +type RedisFirewallRules struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec RedisFirewallRules_Spec `json:"spec,omitempty"` + Status RedisFirewallRule_Status `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true +type RedisFirewallRulesList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []RedisFirewallRules `json:"items"` +} + +type RedisFirewallRule_Status struct { + v1alpha1.ResourceStatus `json:",inline"` + AtProvider RedisFirewallRulesObservation `json:"atProvider"` +} + +type RedisFirewallRules_Spec struct { + v1alpha1.ResourceSpec `json:",inline"` + ForProvider RedisFirewallRulesParameters `json:"forProvider"` +} + +type RedisFirewallRulesObservation struct { + + //Id: Resource ID. + Id *string `json:"id,omitempty"` + + //Name: Resource name. + Name *string `json:"name,omitempty"` + + // +kubebuilder:validation:Required + //Properties: redis cache firewall rule properties + Properties RedisFirewallRuleProperties_Status `json:"properties"` + + //Type: Resource type. + Type *string `json:"type,omitempty"` +} + +type RedisFirewallRulesParameters struct { + + // +kubebuilder:validation:Required + //ApiVersion: API Version of the resource type, optional when apiProfile is used + //on the template + ApiVersion RedisFirewallRulesSpecApiVersion `json:"apiVersion"` + + //Location: Location to deploy resource to + Location *string `json:"location,omitempty"` + + // +kubebuilder:validation:Required + //Name: Name of the resource + Name string `json:"name"` + + // +kubebuilder:validation:Required + //Properties: Specifies a range of IP addresses permitted to connect to the cache + Properties RedisFirewallRuleProperties `json:"properties"` + RedisName string `json:"redisName"` + RedisNameRef *v1alpha1.Reference `json:"redisNameRef,omitempty"` + RedisNameSelector *v1alpha1.Selector `json:"redisNameSelector,omitempty"` + ResourceGroupName string `json:"resourceGroupName"` + ResourceGroupNameRef *v1alpha1.Reference `json:"resourceGroupNameRef,omitempty"` + ResourceGroupNameSelector *v1alpha1.Selector `json:"resourceGroupNameSelector,omitempty"` + + //Tags: Name-value pairs to add to the resource + Tags map[string]string `json:"tags,omitempty"` + + // +kubebuilder:validation:Required + //Type: Resource type + Type RedisFirewallRulesSpecType `json:"type"` +} + +//Generated from: https://schema.management.azure.com/schemas/2017-10-01/Microsoft.Cache.json#/definitions/RedisFirewallRuleProperties +type RedisFirewallRuleProperties struct { + + // +kubebuilder:validation:Required + //EndIP: highest IP address included in the range + EndIP string `json:"endIP"` + + // +kubebuilder:validation:Required + //StartIP: lowest IP address included in the range + StartIP string `json:"startIP"` +} + +//Generated from: +type RedisFirewallRuleProperties_Status struct { + + // +kubebuilder:validation:Required + //EndIP: highest IP address included in the range + EndIP string `json:"endIP"` + + // +kubebuilder:validation:Required + //StartIP: lowest IP address included in the range + StartIP string `json:"startIP"` +} + +// +kubebuilder:validation:Enum={"2017-10-01"} +type RedisFirewallRulesSpecApiVersion string + +const RedisFirewallRulesSpecApiVersion20171001 = RedisFirewallRulesSpecApiVersion("2017-10-01") + +// +kubebuilder:validation:Enum={"Microsoft.Cache/Redis/firewallRules"} +type RedisFirewallRulesSpecType string + +const RedisFirewallRulesSpecTypeMicrosoftCacheRedisFirewallRules = RedisFirewallRulesSpecType("Microsoft.Cache/Redis/firewallRules") + +func init() { + SchemeBuilder.Register(&RedisFirewallRules{}, &RedisFirewallRulesList{}) +} diff --git a/apis/generated/microsoft.cache/v20171001/redis_linked_servers_types_gen.go b/apis/generated/microsoft.cache/v20171001/redis_linked_servers_types_gen.go new file mode 100644 index 00000000..0af2df5b --- /dev/null +++ b/apis/generated/microsoft.cache/v20171001/redis_linked_servers_types_gen.go @@ -0,0 +1,148 @@ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT license. +// Code generated by k8s-infra-gen. DO NOT EDIT. +package v20171001 + +import ( + "github.com/crossplane/crossplane-runtime/apis/core/v1alpha1" + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" +) + +// +kubebuilder:object:root=true +// +kubebuilder:subresource:status +type RedisLinkedServers struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec RedisLinkedServers_Spec `json:"spec,omitempty"` + Status RedisLinkedServerWithProperties_Status `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true +type RedisLinkedServersList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []RedisLinkedServers `json:"items"` +} + +type RedisLinkedServerWithProperties_Status struct { + v1alpha1.ResourceStatus `json:",inline"` + AtProvider RedisLinkedServersObservation `json:"atProvider"` +} + +type RedisLinkedServers_Spec struct { + v1alpha1.ResourceSpec `json:",inline"` + ForProvider RedisLinkedServersParameters `json:"forProvider"` +} + +type RedisLinkedServersObservation struct { + + //Id: Resource ID. + Id *string `json:"id,omitempty"` + + //Name: Resource name. + Name *string `json:"name,omitempty"` + + //Properties: Properties of the linked server. + Properties *RedisLinkedServerProperties_Status `json:"properties,omitempty"` + + //Type: Resource type. + Type *string `json:"type,omitempty"` +} + +type RedisLinkedServersParameters struct { + + // +kubebuilder:validation:Required + //ApiVersion: API Version of the resource type, optional when apiProfile is used + //on the template + ApiVersion RedisLinkedServersSpecApiVersion `json:"apiVersion"` + + //Location: Location to deploy resource to + Location *string `json:"location,omitempty"` + + // +kubebuilder:validation:Required + //Name: Name of the resource + Name string `json:"name"` + + // +kubebuilder:validation:Required + //Properties: Create properties for a linked server + Properties RedisLinkedServerCreateProperties `json:"properties"` + RedisName string `json:"redisName"` + RedisNameRef *v1alpha1.Reference `json:"redisNameRef,omitempty"` + RedisNameSelector *v1alpha1.Selector `json:"redisNameSelector,omitempty"` + ResourceGroupName string `json:"resourceGroupName"` + ResourceGroupNameRef *v1alpha1.Reference `json:"resourceGroupNameRef,omitempty"` + ResourceGroupNameSelector *v1alpha1.Selector `json:"resourceGroupNameSelector,omitempty"` + + //Tags: Name-value pairs to add to the resource + Tags map[string]string `json:"tags,omitempty"` + + // +kubebuilder:validation:Required + //Type: Resource type + Type RedisLinkedServersSpecType `json:"type"` +} + +//Generated from: https://schema.management.azure.com/schemas/2017-10-01/Microsoft.Cache.json#/definitions/RedisLinkedServerCreateProperties +type RedisLinkedServerCreateProperties struct { + + // +kubebuilder:validation:Required + //LinkedRedisCacheId: Fully qualified resourceId of the linked redis cache. + LinkedRedisCacheId string `json:"linkedRedisCacheId"` + + // +kubebuilder:validation:Required + //LinkedRedisCacheLocation: Location of the linked redis cache. + LinkedRedisCacheLocation string `json:"linkedRedisCacheLocation"` + + // +kubebuilder:validation:Required + //ServerRole: Role of the linked server. + ServerRole RedisLinkedServerCreatePropertiesServerRole `json:"serverRole"` +} + +//Generated from: +type RedisLinkedServerProperties_Status struct { + + // +kubebuilder:validation:Required + //LinkedRedisCacheId: Fully qualified resourceId of the linked redis cache. + LinkedRedisCacheId string `json:"linkedRedisCacheId"` + + // +kubebuilder:validation:Required + //LinkedRedisCacheLocation: Location of the linked redis cache. + LinkedRedisCacheLocation string `json:"linkedRedisCacheLocation"` + + //ProvisioningState: Terminal state of the link between primary and secondary + //redis cache. + ProvisioningState *string `json:"provisioningState,omitempty"` + + // +kubebuilder:validation:Required + //ServerRole: Role of the linked server. + ServerRole RedisLinkedServerPropertiesStatusServerRole `json:"serverRole"` +} + +// +kubebuilder:validation:Enum={"2017-10-01"} +type RedisLinkedServersSpecApiVersion string + +const RedisLinkedServersSpecApiVersion20171001 = RedisLinkedServersSpecApiVersion("2017-10-01") + +// +kubebuilder:validation:Enum={"Microsoft.Cache/Redis/linkedServers"} +type RedisLinkedServersSpecType string + +const RedisLinkedServersSpecTypeMicrosoftCacheRedisLinkedServers = RedisLinkedServersSpecType("Microsoft.Cache/Redis/linkedServers") + +// +kubebuilder:validation:Enum={"Primary","Secondary"} +type RedisLinkedServerCreatePropertiesServerRole string + +const ( + RedisLinkedServerCreatePropertiesServerRolePrimary = RedisLinkedServerCreatePropertiesServerRole("Primary") + RedisLinkedServerCreatePropertiesServerRoleSecondary = RedisLinkedServerCreatePropertiesServerRole("Secondary") +) + +// +kubebuilder:validation:Enum={"Primary","Secondary"} +type RedisLinkedServerPropertiesStatusServerRole string + +const ( + RedisLinkedServerPropertiesStatusServerRolePrimary = RedisLinkedServerPropertiesStatusServerRole("Primary") + RedisLinkedServerPropertiesStatusServerRoleSecondary = RedisLinkedServerPropertiesStatusServerRole("Secondary") +) + +func init() { + SchemeBuilder.Register(&RedisLinkedServers{}, &RedisLinkedServersList{}) +} diff --git a/apis/generated/microsoft.cache/v20171001/redis_patch_schedules_types_gen.go b/apis/generated/microsoft.cache/v20171001/redis_patch_schedules_types_gen.go new file mode 100644 index 00000000..fdc40f4a --- /dev/null +++ b/apis/generated/microsoft.cache/v20171001/redis_patch_schedules_types_gen.go @@ -0,0 +1,175 @@ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT license. +// Code generated by k8s-infra-gen. DO NOT EDIT. +package v20171001 + +import ( + "github.com/crossplane/crossplane-runtime/apis/core/v1alpha1" + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" +) + +// +kubebuilder:object:root=true +// +kubebuilder:subresource:status +type RedisPatchSchedules struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec RedisPatchSchedules_Spec `json:"spec,omitempty"` + Status RedisPatchSchedule_Status `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true +type RedisPatchSchedulesList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []RedisPatchSchedules `json:"items"` +} + +type RedisPatchSchedule_Status struct { + v1alpha1.ResourceStatus `json:",inline"` + AtProvider RedisPatchSchedulesObservation `json:"atProvider"` +} + +type RedisPatchSchedules_Spec struct { + v1alpha1.ResourceSpec `json:",inline"` + ForProvider RedisPatchSchedulesParameters `json:"forProvider"` +} + +type RedisPatchSchedulesObservation struct { + + //Id: Resource ID. + Id *string `json:"id,omitempty"` + + //Name: Resource name. + Name *string `json:"name,omitempty"` + + // +kubebuilder:validation:Required + //Properties: List of patch schedules for a Redis cache. + Properties ScheduleEntries_Status `json:"properties"` + + //Type: Resource type. + Type *string `json:"type,omitempty"` +} + +type RedisPatchSchedulesParameters struct { + + // +kubebuilder:validation:Required + //ApiVersion: API Version of the resource type, optional when apiProfile is used + //on the template + ApiVersion RedisPatchSchedulesSpecApiVersion `json:"apiVersion"` + + //Location: Location to deploy resource to + Location *string `json:"location,omitempty"` + + // +kubebuilder:validation:Required + //Name: Name of the resource + Name string `json:"name"` + + // +kubebuilder:validation:Required + //Properties: List of patch schedules for a Redis cache. + Properties ScheduleEntries `json:"properties"` + RedisName string `json:"redisName"` + RedisNameRef *v1alpha1.Reference `json:"redisNameRef,omitempty"` + RedisNameSelector *v1alpha1.Selector `json:"redisNameSelector,omitempty"` + ResourceGroupName string `json:"resourceGroupName"` + ResourceGroupNameRef *v1alpha1.Reference `json:"resourceGroupNameRef,omitempty"` + ResourceGroupNameSelector *v1alpha1.Selector `json:"resourceGroupNameSelector,omitempty"` + + //Tags: Name-value pairs to add to the resource + Tags map[string]string `json:"tags,omitempty"` + + // +kubebuilder:validation:Required + //Type: Resource type + Type RedisPatchSchedulesSpecType `json:"type"` +} + +// +kubebuilder:validation:Enum={"2017-10-01"} +type RedisPatchSchedulesSpecApiVersion string + +const RedisPatchSchedulesSpecApiVersion20171001 = RedisPatchSchedulesSpecApiVersion("2017-10-01") + +// +kubebuilder:validation:Enum={"Microsoft.Cache/Redis/patchSchedules"} +type RedisPatchSchedulesSpecType string + +const RedisPatchSchedulesSpecTypeMicrosoftCacheRedisPatchSchedules = RedisPatchSchedulesSpecType("Microsoft.Cache/Redis/patchSchedules") + +//Generated from: https://schema.management.azure.com/schemas/2017-10-01/Microsoft.Cache.json#/definitions/ScheduleEntries +type ScheduleEntries struct { + + // +kubebuilder:validation:Required + //ScheduleEntries: List of patch schedules for a Redis cache. + ScheduleEntries []ScheduleEntry `json:"scheduleEntries"` +} + +//Generated from: +type ScheduleEntries_Status struct { + + // +kubebuilder:validation:Required + //ScheduleEntries: List of patch schedules for a Redis cache. + ScheduleEntries []ScheduleEntry_Status `json:"scheduleEntries"` +} + +//Generated from: https://schema.management.azure.com/schemas/2017-10-01/Microsoft.Cache.json#/definitions/ScheduleEntry +type ScheduleEntry struct { + + // +kubebuilder:validation:Required + //DayOfWeek: Day of the week when a cache can be patched. + DayOfWeek ScheduleEntryDayOfWeek `json:"dayOfWeek"` + + //MaintenanceWindow: ISO8601 timespan specifying how much time cache patching can + //take. + MaintenanceWindow *string `json:"maintenanceWindow,omitempty"` + + // +kubebuilder:validation:Required + //StartHourUtc: Start hour after which cache patching can start. + StartHourUtc int `json:"startHourUtc"` +} + +//Generated from: +type ScheduleEntry_Status struct { + + // +kubebuilder:validation:Required + //DayOfWeek: Day of the week when a cache can be patched. + DayOfWeek ScheduleEntryStatusDayOfWeek `json:"dayOfWeek"` + + //MaintenanceWindow: ISO8601 timespan specifying how much time cache patching can + //take. + MaintenanceWindow *string `json:"maintenanceWindow,omitempty"` + + // +kubebuilder:validation:Required + //StartHourUtc: Start hour after which cache patching can start. + StartHourUtc int `json:"startHourUtc"` +} + +// +kubebuilder:validation:Enum={"Everyday","Friday","Monday","Saturday","Sunday","Thursday","Tuesday","Wednesday","Weekend"} +type ScheduleEntryDayOfWeek string + +const ( + ScheduleEntryDayOfWeekEveryday = ScheduleEntryDayOfWeek("Everyday") + ScheduleEntryDayOfWeekFriday = ScheduleEntryDayOfWeek("Friday") + ScheduleEntryDayOfWeekMonday = ScheduleEntryDayOfWeek("Monday") + ScheduleEntryDayOfWeekSaturday = ScheduleEntryDayOfWeek("Saturday") + ScheduleEntryDayOfWeekSunday = ScheduleEntryDayOfWeek("Sunday") + ScheduleEntryDayOfWeekThursday = ScheduleEntryDayOfWeek("Thursday") + ScheduleEntryDayOfWeekTuesday = ScheduleEntryDayOfWeek("Tuesday") + ScheduleEntryDayOfWeekWednesday = ScheduleEntryDayOfWeek("Wednesday") + ScheduleEntryDayOfWeekWeekend = ScheduleEntryDayOfWeek("Weekend") +) + +// +kubebuilder:validation:Enum={"Everyday","Friday","Monday","Saturday","Sunday","Thursday","Tuesday","Wednesday","Weekend"} +type ScheduleEntryStatusDayOfWeek string + +const ( + ScheduleEntryStatusDayOfWeekEveryday = ScheduleEntryStatusDayOfWeek("Everyday") + ScheduleEntryStatusDayOfWeekFriday = ScheduleEntryStatusDayOfWeek("Friday") + ScheduleEntryStatusDayOfWeekMonday = ScheduleEntryStatusDayOfWeek("Monday") + ScheduleEntryStatusDayOfWeekSaturday = ScheduleEntryStatusDayOfWeek("Saturday") + ScheduleEntryStatusDayOfWeekSunday = ScheduleEntryStatusDayOfWeek("Sunday") + ScheduleEntryStatusDayOfWeekThursday = ScheduleEntryStatusDayOfWeek("Thursday") + ScheduleEntryStatusDayOfWeekTuesday = ScheduleEntryStatusDayOfWeek("Tuesday") + ScheduleEntryStatusDayOfWeekWednesday = ScheduleEntryStatusDayOfWeek("Wednesday") + ScheduleEntryStatusDayOfWeekWeekend = ScheduleEntryStatusDayOfWeek("Weekend") +) + +func init() { + SchemeBuilder.Register(&RedisPatchSchedules{}, &RedisPatchSchedulesList{}) +} diff --git a/apis/generated/microsoft.cache/v20171001/redis_types_gen.go b/apis/generated/microsoft.cache/v20171001/redis_types_gen.go new file mode 100644 index 00000000..d841f323 --- /dev/null +++ b/apis/generated/microsoft.cache/v20171001/redis_types_gen.go @@ -0,0 +1,287 @@ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT license. +// Code generated by k8s-infra-gen. DO NOT EDIT. +package v20171001 + +import ( + "github.com/crossplane/crossplane-runtime/apis/core/v1alpha1" + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" +) + +// +kubebuilder:object:root=true +// +kubebuilder:subresource:status +type Redis struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec Redis_Spec `json:"spec,omitempty"` + Status RedisResource_Status `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true +type RedisList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []Redis `json:"items"` +} + +type RedisResource_Status struct { + v1alpha1.ResourceStatus `json:",inline"` + AtProvider RedisObservation `json:"atProvider"` +} + +type Redis_Spec struct { + v1alpha1.ResourceSpec `json:",inline"` + ForProvider RedisParameters `json:"forProvider"` +} + +type RedisObservation struct { + + //Id: Resource ID. + Id *string `json:"id,omitempty"` + + // +kubebuilder:validation:Required + //Location: The geo-location where the resource lives + Location string `json:"location"` + + //Name: Resource name. + Name *string `json:"name,omitempty"` + + // +kubebuilder:validation:Required + //Properties: Redis cache properties. + Properties RedisProperties_Status `json:"properties"` + + //Tags: Resource tags. + Tags map[string]string `json:"tags,omitempty"` + + //Type: Resource type. + Type *string `json:"type,omitempty"` + + //Zones: A list of availability zones denoting where the resource needs to come + //from. + Zones []string `json:"zones,omitempty"` +} + +type RedisParameters struct { + + // +kubebuilder:validation:Required + //ApiVersion: API Version of the resource type, optional when apiProfile is used + //on the template + ApiVersion RedisSpecApiVersion `json:"apiVersion"` + + //Location: Location to deploy resource to + Location string `json:"location,omitempty"` + + // +kubebuilder:validation:Required + //Name: Name of the resource + Name string `json:"name"` + + // +kubebuilder:validation:Required + //Properties: Properties supplied to Create Redis operation. + Properties RedisCreateProperties `json:"properties"` + ResourceGroupName string `json:"resourceGroupName"` + ResourceGroupNameRef *v1alpha1.Reference `json:"resourceGroupNameRef,omitempty"` + ResourceGroupNameSelector *v1alpha1.Selector `json:"resourceGroupNameSelector,omitempty"` + + //Tags: Name-value pairs to add to the resource + Tags map[string]string `json:"tags,omitempty"` + + // +kubebuilder:validation:Required + //Type: Resource type + Type RedisSpecType `json:"type"` + + //Zones: A list of availability zones denoting where the resource needs to come + //from. + Zones []string `json:"zones,omitempty"` +} + +//Generated from: https://schema.management.azure.com/schemas/2017-10-01/Microsoft.Cache.json#/definitions/RedisCreateProperties +type RedisCreateProperties struct { + + //EnableNonSslPort: Specifies whether the non-ssl Redis server port (6379) is + //enabled. + EnableNonSslPort *bool `json:"enableNonSslPort,omitempty"` + + //RedisConfiguration: All Redis Settings. Few possible keys: + //rdb-backup-enabled,rdb-storage-connection-string,rdb-backup-frequency,maxmemory-delta,maxmemory-policy,notify-keyspace-events,maxmemory-samples,slowlog-log-slower-than,slowlog-max-len,list-max-ziplist-entries,list-max-ziplist-value,hash-max-ziplist-entries,hash-max-ziplist-value,set-max-intset-entries,zset-max-ziplist-entries,zset-max-ziplist-value + //etc. + RedisConfiguration map[string]string `json:"redisConfiguration,omitempty"` + + //ShardCount: The number of shards to be created on a Premium Cluster Cache. + ShardCount *int `json:"shardCount,omitempty"` + + // +kubebuilder:validation:Required + //Sku: SKU parameters supplied to the create Redis operation. + Sku Sku `json:"sku"` + + //StaticIP: Static IP address. Required when deploying a Redis cache inside an + //existing Azure Virtual Network. + StaticIP *string `json:"staticIP,omitempty"` + + //SubnetId: The full resource ID of a subnet in a virtual network to deploy the + //Redis cache in. Example format: + ///subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/Microsoft.{Network|ClassicNetwork}/VirtualNetworks/vnet1/subnets/subnet1 + SubnetId *string `json:"subnetId,omitempty"` + + //TenantSettings: A dictionary of tenant settings + TenantSettings map[string]string `json:"tenantSettings,omitempty"` +} + +//Generated from: +type RedisProperties_Status struct { + + //AccessKeys: The keys of the Redis cache - not set if this object is not the + //response to Create or Update redis cache + AccessKeys *RedisAccessKeys_Status `json:"accessKeys,omitempty"` + + //EnableNonSslPort: Specifies whether the non-ssl Redis server port (6379) is + //enabled. + EnableNonSslPort *bool `json:"enableNonSslPort,omitempty"` + + //HostName: Redis host name. + HostName *string `json:"hostName,omitempty"` + + //LinkedServers: List of the linked servers associated with the cache + LinkedServers []RedisLinkedServer_Status `json:"linkedServers,omitempty"` + + //Port: Redis non-SSL port. + Port *int `json:"port,omitempty"` + + //ProvisioningState: Redis instance provisioning status. + ProvisioningState *string `json:"provisioningState,omitempty"` + + //RedisConfiguration: All Redis Settings. Few possible keys: + //rdb-backup-enabled,rdb-storage-connection-string,rdb-backup-frequency,maxmemory-delta,maxmemory-policy,notify-keyspace-events,maxmemory-samples,slowlog-log-slower-than,slowlog-max-len,list-max-ziplist-entries,list-max-ziplist-value,hash-max-ziplist-entries,hash-max-ziplist-value,set-max-intset-entries,zset-max-ziplist-entries,zset-max-ziplist-value + //etc. + RedisConfiguration map[string]string `json:"redisConfiguration,omitempty"` + + //RedisVersion: Redis version. + RedisVersion *string `json:"redisVersion,omitempty"` + + //ShardCount: The number of shards to be created on a Premium Cluster Cache. + ShardCount *int `json:"shardCount,omitempty"` + + // +kubebuilder:validation:Required + //Sku: The SKU of the Redis cache to deploy. + Sku Sku_Status `json:"sku"` + + //SslPort: Redis SSL port. + SslPort *int `json:"sslPort,omitempty"` + + //StaticIP: Static IP address. Required when deploying a Redis cache inside an + //existing Azure Virtual Network. + StaticIP *string `json:"staticIP,omitempty"` + + //SubnetId: The full resource ID of a subnet in a virtual network to deploy the + //Redis cache in. Example format: + ///subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/Microsoft.{Network|ClassicNetwork}/VirtualNetworks/vnet1/subnets/subnet1 + SubnetId *string `json:"subnetId,omitempty"` + + //TenantSettings: A dictionary of tenant settings + TenantSettings map[string]string `json:"tenantSettings,omitempty"` +} + +// +kubebuilder:validation:Enum={"2017-10-01"} +type RedisSpecApiVersion string + +const RedisSpecApiVersion20171001 = RedisSpecApiVersion("2017-10-01") + +// +kubebuilder:validation:Enum={"Microsoft.Cache/Redis"} +type RedisSpecType string + +const RedisSpecTypeMicrosoftCacheRedis = RedisSpecType("Microsoft.Cache/Redis") + +//Generated from: +type RedisAccessKeys_Status struct { + + //PrimaryKey: The current primary key that clients can use to authenticate with + //Redis cache. + PrimaryKey *string `json:"primaryKey,omitempty"` + + //SecondaryKey: The current secondary key that clients can use to authenticate + //with Redis cache. + SecondaryKey *string `json:"secondaryKey,omitempty"` +} + +//Generated from: +type RedisLinkedServer_Status struct { + + //Id: Linked server Id. + Id *string `json:"id,omitempty"` +} + +//Generated from: https://schema.management.azure.com/schemas/2017-10-01/Microsoft.Cache.json#/definitions/Sku +type Sku struct { + + // +kubebuilder:validation:Required + //Capacity: The size of the Redis cache to deploy. Valid values: for C + //(Basic/Standard) family (0, 1, 2, 3, 4, 5, 6), for P (Premium) family (1, 2, 3, + //4). + Capacity int `json:"capacity"` + + // +kubebuilder:validation:Required + //Family: The SKU family to use. Valid values: (C, P). (C = Basic/Standard, P = + //Premium). + Family SkuFamily `json:"family"` + + // +kubebuilder:validation:Required + //Name: The type of Redis cache to deploy. Valid values: (Basic, Standard, + //Premium). + Name SkuName `json:"name"` +} + +//Generated from: +type Sku_Status struct { + + // +kubebuilder:validation:Required + //Capacity: The size of the Redis cache to deploy. Valid values: for C + //(Basic/Standard) family (0, 1, 2, 3, 4, 5, 6), for P (Premium) family (1, 2, 3, + //4). + Capacity int `json:"capacity"` + + // +kubebuilder:validation:Required + //Family: The SKU family to use. Valid values: (C, P). (C = Basic/Standard, P = + //Premium). + Family SkuStatusFamily `json:"family"` + + // +kubebuilder:validation:Required + //Name: The type of Redis cache to deploy. Valid values: (Basic, Standard, Premium) + Name SkuStatusName `json:"name"` +} + +// +kubebuilder:validation:Enum={"C","P"} +type SkuFamily string + +const ( + SkuFamilyC = SkuFamily("C") + SkuFamilyP = SkuFamily("P") +) + +// +kubebuilder:validation:Enum={"Basic","Premium","Standard"} +type SkuName string + +const ( + SkuNameBasic = SkuName("Basic") + SkuNamePremium = SkuName("Premium") + SkuNameStandard = SkuName("Standard") +) + +// +kubebuilder:validation:Enum={"C","P"} +type SkuStatusFamily string + +const ( + SkuStatusFamilyC = SkuStatusFamily("C") + SkuStatusFamilyP = SkuStatusFamily("P") +) + +// +kubebuilder:validation:Enum={"Basic","Premium","Standard"} +type SkuStatusName string + +const ( + SkuStatusNameBasic = SkuStatusName("Basic") + SkuStatusNamePremium = SkuStatusName("Premium") + SkuStatusNameStandard = SkuStatusName("Standard") +) + +func init() { + SchemeBuilder.Register(&Redis{}, &RedisList{}) +} diff --git a/apis/generated/microsoft.cache/v20171001/zz_generated.deepcopy.go b/apis/generated/microsoft.cache/v20171001/zz_generated.deepcopy.go new file mode 100644 index 00000000..251ae6b2 --- /dev/null +++ b/apis/generated/microsoft.cache/v20171001/zz_generated.deepcopy.go @@ -0,0 +1,1070 @@ +// +build !ignore_autogenerated + +/* +Copyright (c) Microsoft Corporation. +Licensed under the MIT license. +*/ + +// Code generated by controller-gen. DO NOT EDIT. + +package v20171001 + +import ( + "github.com/crossplane/crossplane-runtime/apis/core/v1alpha1" + 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 *Redis) DeepCopyInto(out *Redis) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Redis. +func (in *Redis) DeepCopy() *Redis { + if in == nil { + return nil + } + out := new(Redis) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *Redis) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RedisAccessKeys_Status) DeepCopyInto(out *RedisAccessKeys_Status) { + *out = *in + if in.PrimaryKey != nil { + in, out := &in.PrimaryKey, &out.PrimaryKey + *out = new(string) + **out = **in + } + 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 RedisAccessKeys_Status. +func (in *RedisAccessKeys_Status) DeepCopy() *RedisAccessKeys_Status { + if in == nil { + return nil + } + out := new(RedisAccessKeys_Status) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RedisCreateProperties) DeepCopyInto(out *RedisCreateProperties) { + *out = *in + if in.EnableNonSslPort != nil { + in, out := &in.EnableNonSslPort, &out.EnableNonSslPort + *out = new(bool) + **out = **in + } + if in.RedisConfiguration != nil { + in, out := &in.RedisConfiguration, &out.RedisConfiguration + *out = make(map[string]string, len(*in)) + for key, val := range *in { + (*out)[key] = val + } + } + if in.ShardCount != nil { + in, out := &in.ShardCount, &out.ShardCount + *out = new(int) + **out = **in + } + out.Sku = in.Sku + if in.StaticIP != nil { + in, out := &in.StaticIP, &out.StaticIP + *out = new(string) + **out = **in + } + if in.SubnetId != nil { + in, out := &in.SubnetId, &out.SubnetId + *out = new(string) + **out = **in + } + if in.TenantSettings != nil { + in, out := &in.TenantSettings, &out.TenantSettings + *out = make(map[string]string, len(*in)) + for key, val := range *in { + (*out)[key] = val + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RedisCreateProperties. +func (in *RedisCreateProperties) DeepCopy() *RedisCreateProperties { + if in == nil { + return nil + } + out := new(RedisCreateProperties) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RedisFirewallRuleProperties) DeepCopyInto(out *RedisFirewallRuleProperties) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RedisFirewallRuleProperties. +func (in *RedisFirewallRuleProperties) DeepCopy() *RedisFirewallRuleProperties { + if in == nil { + return nil + } + out := new(RedisFirewallRuleProperties) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RedisFirewallRuleProperties_Status) DeepCopyInto(out *RedisFirewallRuleProperties_Status) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RedisFirewallRuleProperties_Status. +func (in *RedisFirewallRuleProperties_Status) DeepCopy() *RedisFirewallRuleProperties_Status { + if in == nil { + return nil + } + out := new(RedisFirewallRuleProperties_Status) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RedisFirewallRule_Status) DeepCopyInto(out *RedisFirewallRule_Status) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + in.AtProvider.DeepCopyInto(&out.AtProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RedisFirewallRule_Status. +func (in *RedisFirewallRule_Status) DeepCopy() *RedisFirewallRule_Status { + if in == nil { + return nil + } + out := new(RedisFirewallRule_Status) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RedisFirewallRules) DeepCopyInto(out *RedisFirewallRules) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RedisFirewallRules. +func (in *RedisFirewallRules) DeepCopy() *RedisFirewallRules { + if in == nil { + return nil + } + out := new(RedisFirewallRules) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *RedisFirewallRules) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RedisFirewallRulesList) DeepCopyInto(out *RedisFirewallRulesList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]RedisFirewallRules, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RedisFirewallRulesList. +func (in *RedisFirewallRulesList) DeepCopy() *RedisFirewallRulesList { + if in == nil { + return nil + } + out := new(RedisFirewallRulesList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *RedisFirewallRulesList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RedisFirewallRulesObservation) DeepCopyInto(out *RedisFirewallRulesObservation) { + *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 + } + out.Properties = in.Properties + 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 RedisFirewallRulesObservation. +func (in *RedisFirewallRulesObservation) DeepCopy() *RedisFirewallRulesObservation { + if in == nil { + return nil + } + out := new(RedisFirewallRulesObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RedisFirewallRulesParameters) DeepCopyInto(out *RedisFirewallRulesParameters) { + *out = *in + if in.Location != nil { + in, out := &in.Location, &out.Location + *out = new(string) + **out = **in + } + out.Properties = in.Properties + if in.RedisNameRef != nil { + in, out := &in.RedisNameRef, &out.RedisNameRef + *out = new(v1alpha1.Reference) + **out = **in + } + if in.RedisNameSelector != nil { + in, out := &in.RedisNameSelector, &out.RedisNameSelector + *out = new(v1alpha1.Selector) + (*in).DeepCopyInto(*out) + } + if in.ResourceGroupNameRef != nil { + in, out := &in.ResourceGroupNameRef, &out.ResourceGroupNameRef + *out = new(v1alpha1.Reference) + **out = **in + } + if in.ResourceGroupNameSelector != nil { + in, out := &in.ResourceGroupNameSelector, &out.ResourceGroupNameSelector + *out = new(v1alpha1.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 { + (*out)[key] = val + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RedisFirewallRulesParameters. +func (in *RedisFirewallRulesParameters) DeepCopy() *RedisFirewallRulesParameters { + if in == nil { + return nil + } + out := new(RedisFirewallRulesParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RedisFirewallRules_Spec) DeepCopyInto(out *RedisFirewallRules_Spec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RedisFirewallRules_Spec. +func (in *RedisFirewallRules_Spec) DeepCopy() *RedisFirewallRules_Spec { + if in == nil { + return nil + } + out := new(RedisFirewallRules_Spec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RedisLinkedServerCreateProperties) DeepCopyInto(out *RedisLinkedServerCreateProperties) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RedisLinkedServerCreateProperties. +func (in *RedisLinkedServerCreateProperties) DeepCopy() *RedisLinkedServerCreateProperties { + if in == nil { + return nil + } + out := new(RedisLinkedServerCreateProperties) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RedisLinkedServerProperties_Status) DeepCopyInto(out *RedisLinkedServerProperties_Status) { + *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 RedisLinkedServerProperties_Status. +func (in *RedisLinkedServerProperties_Status) DeepCopy() *RedisLinkedServerProperties_Status { + if in == nil { + return nil + } + out := new(RedisLinkedServerProperties_Status) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RedisLinkedServerWithProperties_Status) DeepCopyInto(out *RedisLinkedServerWithProperties_Status) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + in.AtProvider.DeepCopyInto(&out.AtProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RedisLinkedServerWithProperties_Status. +func (in *RedisLinkedServerWithProperties_Status) DeepCopy() *RedisLinkedServerWithProperties_Status { + if in == nil { + return nil + } + out := new(RedisLinkedServerWithProperties_Status) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RedisLinkedServer_Status) DeepCopyInto(out *RedisLinkedServer_Status) { + *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 RedisLinkedServer_Status. +func (in *RedisLinkedServer_Status) DeepCopy() *RedisLinkedServer_Status { + if in == nil { + return nil + } + out := new(RedisLinkedServer_Status) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RedisLinkedServers) DeepCopyInto(out *RedisLinkedServers) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RedisLinkedServers. +func (in *RedisLinkedServers) DeepCopy() *RedisLinkedServers { + if in == nil { + return nil + } + out := new(RedisLinkedServers) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *RedisLinkedServers) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RedisLinkedServersList) DeepCopyInto(out *RedisLinkedServersList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]RedisLinkedServers, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RedisLinkedServersList. +func (in *RedisLinkedServersList) DeepCopy() *RedisLinkedServersList { + if in == nil { + return nil + } + out := new(RedisLinkedServersList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *RedisLinkedServersList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RedisLinkedServersObservation) DeepCopyInto(out *RedisLinkedServersObservation) { + *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.Properties != nil { + in, out := &in.Properties, &out.Properties + *out = new(RedisLinkedServerProperties_Status) + (*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 RedisLinkedServersObservation. +func (in *RedisLinkedServersObservation) DeepCopy() *RedisLinkedServersObservation { + if in == nil { + return nil + } + out := new(RedisLinkedServersObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RedisLinkedServersParameters) DeepCopyInto(out *RedisLinkedServersParameters) { + *out = *in + if in.Location != nil { + in, out := &in.Location, &out.Location + *out = new(string) + **out = **in + } + out.Properties = in.Properties + if in.RedisNameRef != nil { + in, out := &in.RedisNameRef, &out.RedisNameRef + *out = new(v1alpha1.Reference) + **out = **in + } + if in.RedisNameSelector != nil { + in, out := &in.RedisNameSelector, &out.RedisNameSelector + *out = new(v1alpha1.Selector) + (*in).DeepCopyInto(*out) + } + if in.ResourceGroupNameRef != nil { + in, out := &in.ResourceGroupNameRef, &out.ResourceGroupNameRef + *out = new(v1alpha1.Reference) + **out = **in + } + if in.ResourceGroupNameSelector != nil { + in, out := &in.ResourceGroupNameSelector, &out.ResourceGroupNameSelector + *out = new(v1alpha1.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 { + (*out)[key] = val + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RedisLinkedServersParameters. +func (in *RedisLinkedServersParameters) DeepCopy() *RedisLinkedServersParameters { + if in == nil { + return nil + } + out := new(RedisLinkedServersParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RedisLinkedServers_Spec) DeepCopyInto(out *RedisLinkedServers_Spec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RedisLinkedServers_Spec. +func (in *RedisLinkedServers_Spec) DeepCopy() *RedisLinkedServers_Spec { + if in == nil { + return nil + } + out := new(RedisLinkedServers_Spec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RedisList) DeepCopyInto(out *RedisList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]Redis, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RedisList. +func (in *RedisList) DeepCopy() *RedisList { + if in == nil { + return nil + } + out := new(RedisList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *RedisList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RedisObservation) DeepCopyInto(out *RedisObservation) { + *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 + } + in.Properties.DeepCopyInto(&out.Properties) + if in.Tags != nil { + in, out := &in.Tags, &out.Tags + *out = make(map[string]string, len(*in)) + for key, val := range *in { + (*out)[key] = val + } + } + if in.Type != nil { + in, out := &in.Type, &out.Type + *out = new(string) + **out = **in + } + if in.Zones != nil { + in, out := &in.Zones, &out.Zones + *out = make([]string, len(*in)) + copy(*out, *in) + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RedisObservation. +func (in *RedisObservation) DeepCopy() *RedisObservation { + if in == nil { + return nil + } + out := new(RedisObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RedisParameters) DeepCopyInto(out *RedisParameters) { + *out = *in + in.Properties.DeepCopyInto(&out.Properties) + if in.ResourceGroupNameRef != nil { + in, out := &in.ResourceGroupNameRef, &out.ResourceGroupNameRef + *out = new(v1alpha1.Reference) + **out = **in + } + if in.ResourceGroupNameSelector != nil { + in, out := &in.ResourceGroupNameSelector, &out.ResourceGroupNameSelector + *out = new(v1alpha1.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 { + (*out)[key] = val + } + } + if in.Zones != nil { + in, out := &in.Zones, &out.Zones + *out = make([]string, len(*in)) + copy(*out, *in) + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RedisParameters. +func (in *RedisParameters) DeepCopy() *RedisParameters { + if in == nil { + return nil + } + out := new(RedisParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RedisPatchSchedule_Status) DeepCopyInto(out *RedisPatchSchedule_Status) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + in.AtProvider.DeepCopyInto(&out.AtProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RedisPatchSchedule_Status. +func (in *RedisPatchSchedule_Status) DeepCopy() *RedisPatchSchedule_Status { + if in == nil { + return nil + } + out := new(RedisPatchSchedule_Status) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RedisPatchSchedules) DeepCopyInto(out *RedisPatchSchedules) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RedisPatchSchedules. +func (in *RedisPatchSchedules) DeepCopy() *RedisPatchSchedules { + if in == nil { + return nil + } + out := new(RedisPatchSchedules) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *RedisPatchSchedules) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RedisPatchSchedulesList) DeepCopyInto(out *RedisPatchSchedulesList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]RedisPatchSchedules, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RedisPatchSchedulesList. +func (in *RedisPatchSchedulesList) DeepCopy() *RedisPatchSchedulesList { + if in == nil { + return nil + } + out := new(RedisPatchSchedulesList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *RedisPatchSchedulesList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RedisPatchSchedulesObservation) DeepCopyInto(out *RedisPatchSchedulesObservation) { + *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 + } + in.Properties.DeepCopyInto(&out.Properties) + 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 RedisPatchSchedulesObservation. +func (in *RedisPatchSchedulesObservation) DeepCopy() *RedisPatchSchedulesObservation { + if in == nil { + return nil + } + out := new(RedisPatchSchedulesObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RedisPatchSchedulesParameters) DeepCopyInto(out *RedisPatchSchedulesParameters) { + *out = *in + if in.Location != nil { + in, out := &in.Location, &out.Location + *out = new(string) + **out = **in + } + in.Properties.DeepCopyInto(&out.Properties) + if in.RedisNameRef != nil { + in, out := &in.RedisNameRef, &out.RedisNameRef + *out = new(v1alpha1.Reference) + **out = **in + } + if in.RedisNameSelector != nil { + in, out := &in.RedisNameSelector, &out.RedisNameSelector + *out = new(v1alpha1.Selector) + (*in).DeepCopyInto(*out) + } + if in.ResourceGroupNameRef != nil { + in, out := &in.ResourceGroupNameRef, &out.ResourceGroupNameRef + *out = new(v1alpha1.Reference) + **out = **in + } + if in.ResourceGroupNameSelector != nil { + in, out := &in.ResourceGroupNameSelector, &out.ResourceGroupNameSelector + *out = new(v1alpha1.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 { + (*out)[key] = val + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RedisPatchSchedulesParameters. +func (in *RedisPatchSchedulesParameters) DeepCopy() *RedisPatchSchedulesParameters { + if in == nil { + return nil + } + out := new(RedisPatchSchedulesParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RedisPatchSchedules_Spec) DeepCopyInto(out *RedisPatchSchedules_Spec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RedisPatchSchedules_Spec. +func (in *RedisPatchSchedules_Spec) DeepCopy() *RedisPatchSchedules_Spec { + if in == nil { + return nil + } + out := new(RedisPatchSchedules_Spec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RedisProperties_Status) DeepCopyInto(out *RedisProperties_Status) { + *out = *in + if in.AccessKeys != nil { + in, out := &in.AccessKeys, &out.AccessKeys + *out = new(RedisAccessKeys_Status) + (*in).DeepCopyInto(*out) + } + if in.EnableNonSslPort != nil { + in, out := &in.EnableNonSslPort, &out.EnableNonSslPort + *out = new(bool) + **out = **in + } + if in.HostName != nil { + in, out := &in.HostName, &out.HostName + *out = new(string) + **out = **in + } + if in.LinkedServers != nil { + in, out := &in.LinkedServers, &out.LinkedServers + *out = make([]RedisLinkedServer_Status, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Port != nil { + in, out := &in.Port, &out.Port + *out = new(int) + **out = **in + } + if in.ProvisioningState != nil { + in, out := &in.ProvisioningState, &out.ProvisioningState + *out = new(string) + **out = **in + } + if in.RedisConfiguration != nil { + in, out := &in.RedisConfiguration, &out.RedisConfiguration + *out = make(map[string]string, len(*in)) + for key, val := range *in { + (*out)[key] = val + } + } + if in.RedisVersion != nil { + in, out := &in.RedisVersion, &out.RedisVersion + *out = new(string) + **out = **in + } + if in.ShardCount != nil { + in, out := &in.ShardCount, &out.ShardCount + *out = new(int) + **out = **in + } + out.Sku = in.Sku + if in.SslPort != nil { + in, out := &in.SslPort, &out.SslPort + *out = new(int) + **out = **in + } + if in.StaticIP != nil { + in, out := &in.StaticIP, &out.StaticIP + *out = new(string) + **out = **in + } + if in.SubnetId != nil { + in, out := &in.SubnetId, &out.SubnetId + *out = new(string) + **out = **in + } + if in.TenantSettings != nil { + in, out := &in.TenantSettings, &out.TenantSettings + *out = make(map[string]string, len(*in)) + for key, val := range *in { + (*out)[key] = val + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RedisProperties_Status. +func (in *RedisProperties_Status) DeepCopy() *RedisProperties_Status { + if in == nil { + return nil + } + out := new(RedisProperties_Status) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RedisResource_Status) DeepCopyInto(out *RedisResource_Status) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + in.AtProvider.DeepCopyInto(&out.AtProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RedisResource_Status. +func (in *RedisResource_Status) DeepCopy() *RedisResource_Status { + if in == nil { + return nil + } + out := new(RedisResource_Status) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *Redis_Spec) DeepCopyInto(out *Redis_Spec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Redis_Spec. +func (in *Redis_Spec) DeepCopy() *Redis_Spec { + if in == nil { + return nil + } + out := new(Redis_Spec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ScheduleEntries) DeepCopyInto(out *ScheduleEntries) { + *out = *in + if in.ScheduleEntries != nil { + in, out := &in.ScheduleEntries, &out.ScheduleEntries + *out = make([]ScheduleEntry, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ScheduleEntries. +func (in *ScheduleEntries) DeepCopy() *ScheduleEntries { + if in == nil { + return nil + } + out := new(ScheduleEntries) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ScheduleEntries_Status) DeepCopyInto(out *ScheduleEntries_Status) { + *out = *in + if in.ScheduleEntries != nil { + in, out := &in.ScheduleEntries, &out.ScheduleEntries + *out = make([]ScheduleEntry_Status, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ScheduleEntries_Status. +func (in *ScheduleEntries_Status) DeepCopy() *ScheduleEntries_Status { + if in == nil { + return nil + } + out := new(ScheduleEntries_Status) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ScheduleEntry) DeepCopyInto(out *ScheduleEntry) { + *out = *in + if in.MaintenanceWindow != nil { + in, out := &in.MaintenanceWindow, &out.MaintenanceWindow + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ScheduleEntry. +func (in *ScheduleEntry) DeepCopy() *ScheduleEntry { + if in == nil { + return nil + } + out := new(ScheduleEntry) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ScheduleEntry_Status) DeepCopyInto(out *ScheduleEntry_Status) { + *out = *in + if in.MaintenanceWindow != nil { + in, out := &in.MaintenanceWindow, &out.MaintenanceWindow + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ScheduleEntry_Status. +func (in *ScheduleEntry_Status) DeepCopy() *ScheduleEntry_Status { + if in == nil { + return nil + } + out := new(ScheduleEntry_Status) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *Sku) DeepCopyInto(out *Sku) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Sku. +func (in *Sku) DeepCopy() *Sku { + if in == nil { + return nil + } + out := new(Sku) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *Sku_Status) DeepCopyInto(out *Sku_Status) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Sku_Status. +func (in *Sku_Status) DeepCopy() *Sku_Status { + if in == nil { + return nil + } + out := new(Sku_Status) + in.DeepCopyInto(out) + return out +} diff --git a/apis/generated/microsoft.sql/v20150501preview/groupversion_info_gen.go b/apis/generated/microsoft.sql/v20150501preview/groupversion_info_gen.go new file mode 100644 index 00000000..f54d77fc --- /dev/null +++ b/apis/generated/microsoft.sql/v20150501preview/groupversion_info_gen.go @@ -0,0 +1,32 @@ +/* +Copyright (c) Microsoft Corporation. +Licensed under the MIT license. +*/ + +// Code generated by k8s-infra-gen. DO NOT EDIT. +// Generator version: (tree is ) + +// Package v20150501preview contains API Schema definitions for the microsoft.sql v20150501preview API group +// +kubebuilder:object:generate=true +// All object properties are optional by default, this will be overridden when needed: +// +kubebuilder:validation:Optional +// +groupName=microsoft.sql.infra.azure.com +package v20150501preview + +import ( + "k8s.io/apimachinery/pkg/runtime/schema" + "sigs.k8s.io/controller-runtime/pkg/scheme" +) + +var ( + // GroupVersion is group version used to register these objects + GroupVersion = schema.GroupVersion{Group: "microsoft.sql.infra.azure.com", Version: "v20150501preview"} + + // SchemeBuilder is used to add go types to the GroupVersionKind scheme + SchemeBuilder = &scheme.Builder{GroupVersion: GroupVersion} + + // AddToScheme adds the types in this group-version to the given scheme. + AddToScheme = SchemeBuilder.AddToScheme + + localSchemeBuilder = SchemeBuilder.SchemeBuilder +) diff --git a/apis/generated/microsoft.sql/v20150501preview/managed_instances_types_gen.go b/apis/generated/microsoft.sql/v20150501preview/managed_instances_types_gen.go new file mode 100644 index 00000000..f532b3d3 --- /dev/null +++ b/apis/generated/microsoft.sql/v20150501preview/managed_instances_types_gen.go @@ -0,0 +1,403 @@ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT license. +// Code generated by k8s-infra-gen. DO NOT EDIT. +package v20150501preview + +import ( + "github.com/crossplane/crossplane-runtime/apis/core/v1alpha1" + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" +) + +// +kubebuilder:object:root=true +// +kubebuilder:subresource:status +type ManagedInstances struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec ManagedInstances_Spec `json:"spec,omitempty"` + Status ManagedInstance_Status `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true +type ManagedInstancesList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []ManagedInstances `json:"items"` +} + +type ManagedInstance_Status struct { + v1alpha1.ResourceStatus `json:",inline"` + AtProvider ManagedInstancesObservation `json:"atProvider"` +} + +type ManagedInstances_Spec struct { + v1alpha1.ResourceSpec `json:",inline"` + ForProvider ManagedInstancesParameters `json:"forProvider"` +} + +type ManagedInstancesObservation struct { + + //Id: Resource ID. + Id *string `json:"id,omitempty"` + + //Identity: The Azure Active Directory identity of the managed instance. + Identity *ResourceIdentity_Status `json:"identity,omitempty"` + + // +kubebuilder:validation:Required + //Location: Resource location. + Location string `json:"location"` + + //Name: Resource name. + Name *string `json:"name,omitempty"` + + //Properties: Resource properties. + Properties *ManagedInstanceProperties_Status `json:"properties,omitempty"` + + //Sku: Managed instance SKU. Allowed values for sku.name: GP_Gen4, GP_Gen5, + //BC_Gen4, BC_Gen5 + Sku *Sku_Status `json:"sku,omitempty"` + + //Tags: Resource tags. + Tags map[string]string `json:"tags,omitempty"` + + //Type: Resource type. + Type *string `json:"type,omitempty"` +} + +type ManagedInstancesParameters struct { + + // +kubebuilder:validation:Required + //ApiVersion: API Version of the resource type, optional when apiProfile is used + //on the template + ApiVersion ManagedInstancesSpecApiVersion `json:"apiVersion"` + + //Identity: Azure Active Directory identity configuration for a resource. + Identity *ResourceIdentity `json:"identity,omitempty"` + + //Location: Location to deploy resource to + Location string `json:"location,omitempty"` + + // +kubebuilder:validation:Required + //Name: Name of the resource + Name string `json:"name"` + + // +kubebuilder:validation:Required + //Properties: The properties of a managed instance. + Properties ManagedInstanceProperties `json:"properties"` + ResourceGroupName string `json:"resourceGroupName"` + ResourceGroupNameRef *v1alpha1.Reference `json:"resourceGroupNameRef,omitempty"` + ResourceGroupNameSelector *v1alpha1.Selector `json:"resourceGroupNameSelector,omitempty"` + + //Sku: An ARM Resource SKU. + Sku *Sku `json:"sku,omitempty"` + + //Tags: Name-value pairs to add to the resource + Tags map[string]string `json:"tags,omitempty"` + + // +kubebuilder:validation:Required + //Type: Resource type + Type ManagedInstancesSpecType `json:"type"` +} + +//Generated from: https://schema.management.azure.com/schemas/2015-05-01-preview/Microsoft.Sql.json#/definitions/ManagedInstanceProperties +type ManagedInstanceProperties struct { + + //AdministratorLogin: Administrator username for the managed instance. Can only be + //specified when the managed instance is being created (and is required for + //creation). + AdministratorLogin *string `json:"administratorLogin,omitempty"` + + //AdministratorLoginPassword: The administrator login password (required for + //managed instance creation). + AdministratorLoginPassword *string `json:"administratorLoginPassword,omitempty"` + + //Collation: Collation of the managed instance. + Collation *string `json:"collation,omitempty"` + + //DnsZonePartner: The resource id of another managed instance whose DNS zone this + //managed instance will share after creation. + DnsZonePartner *string `json:"dnsZonePartner,omitempty"` + + //InstancePoolId: The Id of the instance pool this managed server belongs to. + InstancePoolId *string `json:"instancePoolId,omitempty"` + + //LicenseType: The license type. Possible values are 'LicenseIncluded' (regular + //price inclusive of a new SQL license) and 'BasePrice' (discounted AHB price for + //bringing your own SQL licenses). + LicenseType *ManagedInstancePropertiesLicenseType `json:"licenseType,omitempty"` + + //MaintenanceConfigurationId: Specifies maintenance configuration id to apply to + //this managed instance. + MaintenanceConfigurationId *string `json:"maintenanceConfigurationId,omitempty"` + + //ManagedInstanceCreateMode: Specifies the mode of database creation. + //Default: Regular instance creation. + //Restore: Creates an instance by restoring a set of backups to specific point in + //time. RestorePointInTime and SourceManagedInstanceId must be specified. + ManagedInstanceCreateMode *ManagedInstancePropertiesManagedInstanceCreateMode `json:"managedInstanceCreateMode,omitempty"` + + //MinimalTlsVersion: Minimal TLS version. Allowed values: 'None', '1.0', '1.1', + //'1.2' + MinimalTlsVersion *string `json:"minimalTlsVersion,omitempty"` + + //ProxyOverride: Connection type used for connecting to the instance. + ProxyOverride *ManagedInstancePropertiesProxyOverride `json:"proxyOverride,omitempty"` + + //PublicDataEndpointEnabled: Whether or not the public data endpoint is enabled. + PublicDataEndpointEnabled *bool `json:"publicDataEndpointEnabled,omitempty"` + + //RestorePointInTime: Specifies the point in time (ISO8601 format) of the source + //database that will be restored to create the new database. + RestorePointInTime *string `json:"restorePointInTime,omitempty"` + + //SourceManagedInstanceId: The resource identifier of the source managed instance + //associated with create operation of this instance. + SourceManagedInstanceId *string `json:"sourceManagedInstanceId,omitempty"` + + //StorageSizeInGB: Storage size in GB. Minimum value: 32. Maximum value: 8192. + //Increments of 32 GB allowed only. + StorageSizeInGB *int `json:"storageSizeInGB,omitempty"` + + //SubnetId: Subnet resource ID for the managed instance. + SubnetId *string `json:"subnetId,omitempty"` + + //TimezoneId: Id of the timezone. Allowed values are timezones supported by + //Windows. + //Windows keeps details on supported timezones, including the id, in registry under + //KEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Time Zones. + //You can get those registry values via SQL Server by querying SELECT name AS + //timezone_id FROM sys.time_zone_info. + //List of Ids can also be obtained by executing + //[System.TimeZoneInfo]::GetSystemTimeZones() in PowerShell. + //An example of valid timezone id is "Pacific Standard Time" or "W. Europe + //Standard Time". + TimezoneId *string `json:"timezoneId,omitempty"` + + //VCores: The number of vCores. Allowed values: 8, 16, 24, 32, 40, 64, 80. + VCores *int `json:"vCores,omitempty"` +} + +//Generated from: +type ManagedInstanceProperties_Status struct { + + //AdministratorLogin: Administrator username for the managed instance. Can only be + //specified when the managed instance is being created (and is required for + //creation). + AdministratorLogin *string `json:"administratorLogin,omitempty"` + + //AdministratorLoginPassword: The administrator login password (required for + //managed instance creation). + AdministratorLoginPassword *string `json:"administratorLoginPassword,omitempty"` + + //Collation: Collation of the managed instance. + Collation *string `json:"collation,omitempty"` + + //DnsZone: The Dns Zone that the managed instance is in. + DnsZone *string `json:"dnsZone,omitempty"` + + //DnsZonePartner: The resource id of another managed instance whose DNS zone this + //managed instance will share after creation. + DnsZonePartner *string `json:"dnsZonePartner,omitempty"` + + //FullyQualifiedDomainName: The fully qualified domain name of the managed + //instance. + FullyQualifiedDomainName *string `json:"fullyQualifiedDomainName,omitempty"` + + //InstancePoolId: The Id of the instance pool this managed server belongs to. + InstancePoolId *string `json:"instancePoolId,omitempty"` + + //LicenseType: The license type. Possible values are 'LicenseIncluded' (regular + //price inclusive of a new SQL license) and 'BasePrice' (discounted AHB price for + //bringing your own SQL licenses). + LicenseType *ManagedInstancePropertiesStatusLicenseType `json:"licenseType,omitempty"` + + //MaintenanceConfigurationId: Specifies maintenance configuration id to apply to + //this managed instance. + MaintenanceConfigurationId *string `json:"maintenanceConfigurationId,omitempty"` + + //ManagedInstanceCreateMode: Specifies the mode of database creation. + //Default: Regular instance creation. + //Restore: Creates an instance by restoring a set of backups to specific point in + //time. RestorePointInTime and SourceManagedInstanceId must be specified. + ManagedInstanceCreateMode *ManagedInstancePropertiesStatusManagedInstanceCreateMode `json:"managedInstanceCreateMode,omitempty"` + + //MinimalTlsVersion: Minimal TLS version. Allowed values: 'None', '1.0', '1.1', + //'1.2' + MinimalTlsVersion *string `json:"minimalTlsVersion,omitempty"` + + //ProxyOverride: Connection type used for connecting to the instance. + ProxyOverride *ManagedInstancePropertiesStatusProxyOverride `json:"proxyOverride,omitempty"` + + //PublicDataEndpointEnabled: Whether or not the public data endpoint is enabled. + PublicDataEndpointEnabled *bool `json:"publicDataEndpointEnabled,omitempty"` + + //RestorePointInTime: Specifies the point in time (ISO8601 format) of the source + //database that will be restored to create the new database. + RestorePointInTime *string `json:"restorePointInTime,omitempty"` + + //SourceManagedInstanceId: The resource identifier of the source managed instance + //associated with create operation of this instance. + SourceManagedInstanceId *string `json:"sourceManagedInstanceId,omitempty"` + + //State: The state of the managed instance. + State *string `json:"state,omitempty"` + + //StorageSizeInGB: Storage size in GB. Minimum value: 32. Maximum value: 8192. + //Increments of 32 GB allowed only. + StorageSizeInGB *int `json:"storageSizeInGB,omitempty"` + + //SubnetId: Subnet resource ID for the managed instance. + SubnetId *string `json:"subnetId,omitempty"` + + //TimezoneId: Id of the timezone. Allowed values are timezones supported by + //Windows. + //Windows keeps details on supported timezones, including the id, in registry under + //KEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Time Zones. + //You can get those registry values via SQL Server by querying SELECT name AS + //timezone_id FROM sys.time_zone_info. + //List of Ids can also be obtained by executing + //[System.TimeZoneInfo]::GetSystemTimeZones() in PowerShell. + //An example of valid timezone id is "Pacific Standard Time" or "W. Europe + //Standard Time". + TimezoneId *string `json:"timezoneId,omitempty"` + + //VCores: The number of vCores. Allowed values: 8, 16, 24, 32, 40, 64, 80. + VCores *int `json:"vCores,omitempty"` +} + +// +kubebuilder:validation:Enum={"2015-05-01-preview"} +type ManagedInstancesSpecApiVersion string + +const ManagedInstancesSpecApiVersion20150501Preview = ManagedInstancesSpecApiVersion("2015-05-01-preview") + +// +kubebuilder:validation:Enum={"Microsoft.Sql/managedInstances"} +type ManagedInstancesSpecType string + +const ManagedInstancesSpecTypeMicrosoftSqlManagedInstances = ManagedInstancesSpecType("Microsoft.Sql/managedInstances") + +//Generated from: https://schema.management.azure.com/schemas/2015-05-01-preview/Microsoft.Sql.json#/definitions/ResourceIdentity +type ResourceIdentity struct { + + //Type: The identity type. Set this to 'SystemAssigned' in order to automatically + //create and assign an Azure Active Directory principal for the resource. + Type *ResourceIdentityType `json:"type,omitempty"` +} + +//Generated from: +type ResourceIdentity_Status struct { + + //PrincipalId: The Azure Active Directory principal id. + PrincipalId *string `json:"principalId,omitempty"` + + //TenantId: The Azure Active Directory tenant id. + TenantId *string `json:"tenantId,omitempty"` + + //Type: The identity type. Set this to 'SystemAssigned' in order to automatically + //create and assign an Azure Active Directory principal for the resource. + Type *ResourceIdentityStatusType `json:"type,omitempty"` +} + +//Generated from: https://schema.management.azure.com/schemas/2015-05-01-preview/Microsoft.Sql.json#/definitions/Sku +type Sku struct { + + //Capacity: Capacity of the particular SKU. + Capacity *int `json:"capacity,omitempty"` + + //Family: If the service has different generations of hardware, for the same SKU, + //then that can be captured here. + Family *string `json:"family,omitempty"` + + // +kubebuilder:validation:Required + //Name: The name of the SKU, typically, a letter + Number code, e.g. P3. + Name string `json:"name"` + + //Size: Size of the particular SKU + Size *string `json:"size,omitempty"` + + //Tier: The tier or edition of the particular SKU, e.g. Basic, Premium. + Tier *string `json:"tier,omitempty"` +} + +//Generated from: +type Sku_Status struct { + + //Capacity: Capacity of the particular SKU. + Capacity *int `json:"capacity,omitempty"` + + //Family: If the service has different generations of hardware, for the same SKU, + //then that can be captured here. + Family *string `json:"family,omitempty"` + + // +kubebuilder:validation:Required + //Name: The name of the SKU, typically, a letter + Number code, e.g. P3. + Name string `json:"name"` + + //Size: Size of the particular SKU + Size *string `json:"size,omitempty"` + + //Tier: The tier or edition of the particular SKU, e.g. Basic, Premium. + Tier *string `json:"tier,omitempty"` +} + +// +kubebuilder:validation:Enum={"BasePrice","LicenseIncluded"} +type ManagedInstancePropertiesLicenseType string + +const ( + ManagedInstancePropertiesLicenseTypeBasePrice = ManagedInstancePropertiesLicenseType("BasePrice") + ManagedInstancePropertiesLicenseTypeLicenseIncluded = ManagedInstancePropertiesLicenseType("LicenseIncluded") +) + +// +kubebuilder:validation:Enum={"Default","PointInTimeRestore"} +type ManagedInstancePropertiesManagedInstanceCreateMode string + +const ( + ManagedInstancePropertiesManagedInstanceCreateModeDefault = ManagedInstancePropertiesManagedInstanceCreateMode("Default") + ManagedInstancePropertiesManagedInstanceCreateModePointInTimeRestore = ManagedInstancePropertiesManagedInstanceCreateMode("PointInTimeRestore") +) + +// +kubebuilder:validation:Enum={"Default","Proxy","Redirect"} +type ManagedInstancePropertiesProxyOverride string + +const ( + ManagedInstancePropertiesProxyOverrideDefault = ManagedInstancePropertiesProxyOverride("Default") + ManagedInstancePropertiesProxyOverrideProxy = ManagedInstancePropertiesProxyOverride("Proxy") + ManagedInstancePropertiesProxyOverrideRedirect = ManagedInstancePropertiesProxyOverride("Redirect") +) + +// +kubebuilder:validation:Enum={"BasePrice","LicenseIncluded"} +type ManagedInstancePropertiesStatusLicenseType string + +const ( + ManagedInstancePropertiesStatusLicenseTypeBasePrice = ManagedInstancePropertiesStatusLicenseType("BasePrice") + ManagedInstancePropertiesStatusLicenseTypeLicenseIncluded = ManagedInstancePropertiesStatusLicenseType("LicenseIncluded") +) + +// +kubebuilder:validation:Enum={"Default","PointInTimeRestore"} +type ManagedInstancePropertiesStatusManagedInstanceCreateMode string + +const ( + ManagedInstancePropertiesStatusManagedInstanceCreateModeDefault = ManagedInstancePropertiesStatusManagedInstanceCreateMode("Default") + ManagedInstancePropertiesStatusManagedInstanceCreateModePointInTimeRestore = ManagedInstancePropertiesStatusManagedInstanceCreateMode("PointInTimeRestore") +) + +// +kubebuilder:validation:Enum={"Default","Proxy","Redirect"} +type ManagedInstancePropertiesStatusProxyOverride string + +const ( + ManagedInstancePropertiesStatusProxyOverrideDefault = ManagedInstancePropertiesStatusProxyOverride("Default") + ManagedInstancePropertiesStatusProxyOverrideProxy = ManagedInstancePropertiesStatusProxyOverride("Proxy") + ManagedInstancePropertiesStatusProxyOverrideRedirect = ManagedInstancePropertiesStatusProxyOverride("Redirect") +) + +// +kubebuilder:validation:Enum={"SystemAssigned"} +type ResourceIdentityStatusType string + +const ResourceIdentityStatusTypeSystemAssigned = ResourceIdentityStatusType("SystemAssigned") + +// +kubebuilder:validation:Enum={"SystemAssigned"} +type ResourceIdentityType string + +const ResourceIdentityTypeSystemAssigned = ResourceIdentityType("SystemAssigned") + +func init() { + SchemeBuilder.Register(&ManagedInstances{}, &ManagedInstancesList{}) +} diff --git a/apis/generated/microsoft.sql/v20150501preview/servers_databases_auditing_settings_types_gen.go b/apis/generated/microsoft.sql/v20150501preview/servers_databases_auditing_settings_types_gen.go new file mode 100644 index 00000000..002ec922 --- /dev/null +++ b/apis/generated/microsoft.sql/v20150501preview/servers_databases_auditing_settings_types_gen.go @@ -0,0 +1,266 @@ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT license. +// Code generated by k8s-infra-gen. DO NOT EDIT. +package v20150501preview + +import ( + "github.com/crossplane/crossplane-runtime/apis/core/v1alpha1" + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" +) + +// +kubebuilder:object:root=true +// +kubebuilder:subresource:status +type ServersDatabasesAuditingSettings struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec ServersDatabasesAuditingSettings_Spec `json:"spec,omitempty"` + Status DatabaseBlobAuditingPolicy_Status `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true +type ServersDatabasesAuditingSettingsList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []ServersDatabasesAuditingSettings `json:"items"` +} + +type DatabaseBlobAuditingPolicy_Status struct { + v1alpha1.ResourceStatus `json:",inline"` + AtProvider ServersDatabasesAuditingSettingsObservation `json:"atProvider"` +} + +type ServersDatabasesAuditingSettings_Spec struct { + v1alpha1.ResourceSpec `json:",inline"` + ForProvider ServersDatabasesAuditingSettingsParameters `json:"forProvider"` +} + +type ServersDatabasesAuditingSettingsObservation struct { + + //Id: Resource ID. + Id *string `json:"id,omitempty"` + + //Kind: Resource kind. + Kind *string `json:"kind,omitempty"` + + //Name: Resource name. + Name *string `json:"name,omitempty"` + + //Properties: Resource properties. + Properties *DatabaseBlobAuditingPolicyProperties_Status `json:"properties,omitempty"` + + //Type: Resource type. + Type *string `json:"type,omitempty"` +} + +type ServersDatabasesAuditingSettingsParameters struct { + + // +kubebuilder:validation:Required + //ApiVersion: API Version of the resource type, optional when apiProfile is used + //on the template + ApiVersion ServersDatabasesAuditingSettingsSpecApiVersion `json:"apiVersion"` + + //Location: Location to deploy resource to + Location *string `json:"location,omitempty"` + + // +kubebuilder:validation:Required + //Name: Name of the resource + Name string `json:"name"` + + // +kubebuilder:validation:Required + //Properties: Properties of a database blob auditing policy. + Properties DatabaseBlobAuditingPolicyProperties `json:"properties"` + ResourceGroupName string `json:"resourceGroupName"` + ResourceGroupNameRef *v1alpha1.Reference `json:"resourceGroupNameRef,omitempty"` + ResourceGroupNameSelector *v1alpha1.Selector `json:"resourceGroupNameSelector,omitempty"` + + //Tags: Name-value pairs to add to the resource + Tags map[string]string `json:"tags,omitempty"` + + // +kubebuilder:validation:Required + //Type: Resource type + Type ServersDatabasesAuditingSettingsSpecType `json:"type"` +} + +//Generated from: https://schema.management.azure.com/schemas/2015-05-01-preview/Microsoft.Sql.json#/definitions/DatabaseBlobAuditingPolicyProperties +type DatabaseBlobAuditingPolicyProperties struct { + + //AuditActionsAndGroups: Specifies the Actions-Groups and Actions to audit. + //The recommended set of action groups to use is the following combination - this + //will audit all the queries and stored procedures executed against the database, + //as well as successful and failed logins: + //BATCH_COMPLETED_GROUP, + //SUCCESSFUL_DATABASE_AUTHENTICATION_GROUP, + //FAILED_DATABASE_AUTHENTICATION_GROUP. + //This above combination is also the set that is configured by default when + //enabling auditing from the Azure portal. + //The supported action groups to audit are (note: choose only specific groups that + //cover your auditing needs. Using unnecessary groups could lead to very large + //quantities of audit records): + //APPLICATION_ROLE_CHANGE_PASSWORD_GROUP + //BACKUP_RESTORE_GROUP + //DATABASE_LOGOUT_GROUP + //DATABASE_OBJECT_CHANGE_GROUP + //DATABASE_OBJECT_OWNERSHIP_CHANGE_GROUP + //DATABASE_OBJECT_PERMISSION_CHANGE_GROUP + //DATABASE_OPERATION_GROUP + //DATABASE_PERMISSION_CHANGE_GROUP + //DATABASE_PRINCIPAL_CHANGE_GROUP + //DATABASE_PRINCIPAL_IMPERSONATION_GROUP + //DATABASE_ROLE_MEMBER_CHANGE_GROUP + //FAILED_DATABASE_AUTHENTICATION_GROUP + //SCHEMA_OBJECT_ACCESS_GROUP + //SCHEMA_OBJECT_CHANGE_GROUP + //SCHEMA_OBJECT_OWNERSHIP_CHANGE_GROUP + //SCHEMA_OBJECT_PERMISSION_CHANGE_GROUP + //SUCCESSFUL_DATABASE_AUTHENTICATION_GROUP + //USER_CHANGE_PASSWORD_GROUP + //BATCH_STARTED_GROUP + //BATCH_COMPLETED_GROUP + //These are groups that cover all sql statements and stored procedures executed + //against the database, and should not be used in combination with other groups as + //this will result in duplicate audit logs. + //For more information, see [Database-Level Audit Action + //Groups](https://docs.microsoft.com/en-us/sql/relational-databases/security/auditing/sql-server-audit-action-groups-and-actions#database-level-audit-action-groups). + //For Database auditing policy, specific Actions can also be specified (note that + //Actions cannot be specified for Server auditing policy). The supported actions + //to audit are: + //SELECT + //UPDATE + //INSERT + //DELETE + //EXECUTE + //RECEIVE + //REFERENCES + //The general form for defining an action to be audited is: + //{action} ON {object} BY {principal} + //Note that in the above format can refer to an object like a table, + //view, or stored procedure, or an entire database or schema. For the latter + //cases, the forms DATABASE::{db_name} and SCHEMA::{schema_name} are used, + //respectively. + //For example: + //SELECT on dbo.myTable by public + //SELECT on DATABASE::myDatabase by public + //SELECT on SCHEMA::mySchema by public + //For more information, see [Database-Level Audit + //Actions](https://docs.microsoft.com/en-us/sql/relational-databases/security/auditing/sql-server-audit-action-groups-and-actions#database-level-audit-actions) + AuditActionsAndGroups []string `json:"auditActionsAndGroups,omitempty"` + + //IsAzureMonitorTargetEnabled: Specifies whether audit events are sent to Azure + //Monitor. + //In order to send the events to Azure Monitor, specify 'state' as 'Enabled' and + //'isAzureMonitorTargetEnabled' as true. + //When using REST API to configure auditing, Diagnostic Settings with + //'SQLSecurityAuditEvents' diagnostic logs category on the database should be also + //created. + //Note that for server level audit you should use the 'master' database as + //{databaseName}. + //Diagnostic Settings URI format: + //PUT + //https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/providers/microsoft.insights/diagnosticSettings/{settingsName}?api-version=2017-05-01-preview + //For more information, see [Diagnostic Settings REST + //API](https://go.microsoft.com/fwlink/?linkid=2033207) + //or [Diagnostic Settings + //PowerShell](https://go.microsoft.com/fwlink/?linkid=2033043) + IsAzureMonitorTargetEnabled *bool `json:"isAzureMonitorTargetEnabled,omitempty"` + + //IsStorageSecondaryKeyInUse: Specifies whether storageAccountAccessKey value is + //the storage's secondary key. + IsStorageSecondaryKeyInUse *bool `json:"isStorageSecondaryKeyInUse,omitempty"` + + //QueueDelayMs: Specifies the amount of time in milliseconds that can elapse + //before audit actions are forced to be processed. + //The default minimum value is 1000 (1 second). The maximum is 2,147,483,647. + QueueDelayMs *int `json:"queueDelayMs,omitempty"` + + //RetentionDays: Specifies the number of days to keep in the audit logs in the + //storage account. + RetentionDays *int `json:"retentionDays,omitempty"` + + // +kubebuilder:validation:Required + //State: Specifies the state of the policy. If state is Enabled, storageEndpoint + //or isAzureMonitorTargetEnabled are required. + State DatabaseBlobAuditingPolicyPropertiesState `json:"state"` + + //StorageAccountAccessKey: Specifies the identifier key of the auditing storage + //account. + //If state is Enabled and storageEndpoint is specified, not specifying the + //storageAccountAccessKey will use SQL server system-assigned managed identity to + //access the storage. + //Prerequisites for using managed identity authentication: + //1. Assign SQL Server a system-assigned managed identity in Azure Active + //Directory (AAD). + //2. Grant SQL Server identity access to the storage account by adding 'Storage + //Blob Data Contributor' RBAC role to the server identity. + //For more information, see [Auditing to storage using Managed Identity + //authentication](https://go.microsoft.com/fwlink/?linkid=2114355) + StorageAccountAccessKey *string `json:"storageAccountAccessKey,omitempty"` + + //StorageAccountSubscriptionId: Specifies the blob storage subscription Id. + StorageAccountSubscriptionId *string `json:"storageAccountSubscriptionId,omitempty"` + + //StorageEndpoint: Specifies the blob storage endpoint (e.g. + //https://MyAccount.blob.core.windows.net). If state is Enabled, storageEndpoint + //or isAzureMonitorTargetEnabled is required. + StorageEndpoint *string `json:"storageEndpoint,omitempty"` +} + +//Generated from: +type DatabaseBlobAuditingPolicyProperties_Status struct { + + //AuditActionsAndGroups: Specifies the Actions and Actions-Groups to audit. + AuditActionsAndGroups []string `json:"auditActionsAndGroups,omitempty"` + + //IsStorageSecondaryKeyInUse: Specifies whether storageAccountAccessKey value is + //the storage’s secondary key. + IsStorageSecondaryKeyInUse *bool `json:"isStorageSecondaryKeyInUse,omitempty"` + + //RetentionDays: Specifies the number of days to keep in the audit logs. + RetentionDays *int `json:"retentionDays,omitempty"` + + // +kubebuilder:validation:Required + //State: Specifies the state of the policy. If state is Enabled, storageEndpoint + //and storageAccountAccessKey are required. + State DatabaseBlobAuditingPolicyPropertiesStatusState `json:"state"` + + //StorageAccountAccessKey: Specifies the identifier key of the auditing storage + //account. If state is Enabled, storageAccountAccessKey is required. + StorageAccountAccessKey *string `json:"storageAccountAccessKey,omitempty"` + + //StorageAccountSubscriptionId: Specifies the blob storage subscription Id. + StorageAccountSubscriptionId *string `json:"storageAccountSubscriptionId,omitempty"` + + //StorageEndpoint: Specifies the blob storage endpoint (e.g. + //https://MyAccount.blob.core.windows.net). If state is Enabled, storageEndpoint + //is required. + StorageEndpoint *string `json:"storageEndpoint,omitempty"` +} + +// +kubebuilder:validation:Enum={"2015-05-01-preview"} +type ServersDatabasesAuditingSettingsSpecApiVersion string + +const ServersDatabasesAuditingSettingsSpecApiVersion20150501Preview = ServersDatabasesAuditingSettingsSpecApiVersion("2015-05-01-preview") + +// +kubebuilder:validation:Enum={"Microsoft.Sql/servers/databases/auditingSettings"} +type ServersDatabasesAuditingSettingsSpecType string + +const ServersDatabasesAuditingSettingsSpecTypeMicrosoftSqlServersDatabasesAuditingSettings = ServersDatabasesAuditingSettingsSpecType("Microsoft.Sql/servers/databases/auditingSettings") + +// +kubebuilder:validation:Enum={"Disabled","Enabled"} +type DatabaseBlobAuditingPolicyPropertiesState string + +const ( + DatabaseBlobAuditingPolicyPropertiesStateDisabled = DatabaseBlobAuditingPolicyPropertiesState("Disabled") + DatabaseBlobAuditingPolicyPropertiesStateEnabled = DatabaseBlobAuditingPolicyPropertiesState("Enabled") +) + +// +kubebuilder:validation:Enum={"Disabled","Enabled"} +type DatabaseBlobAuditingPolicyPropertiesStatusState string + +const ( + DatabaseBlobAuditingPolicyPropertiesStatusStateDisabled = DatabaseBlobAuditingPolicyPropertiesStatusState("Disabled") + DatabaseBlobAuditingPolicyPropertiesStatusStateEnabled = DatabaseBlobAuditingPolicyPropertiesStatusState("Enabled") +) + +func init() { + SchemeBuilder.Register(&ServersDatabasesAuditingSettings{}, &ServersDatabasesAuditingSettingsList{}) +} diff --git a/apis/generated/microsoft.sql/v20150501preview/servers_databases_sync_groups_sync_members_types_gen.go b/apis/generated/microsoft.sql/v20150501preview/servers_databases_sync_groups_sync_members_types_gen.go new file mode 100644 index 00000000..f160004f --- /dev/null +++ b/apis/generated/microsoft.sql/v20150501preview/servers_databases_sync_groups_sync_members_types_gen.go @@ -0,0 +1,213 @@ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT license. +// Code generated by k8s-infra-gen. DO NOT EDIT. +package v20150501preview + +import ( + "github.com/crossplane/crossplane-runtime/apis/core/v1alpha1" + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" +) + +// +kubebuilder:object:root=true +// +kubebuilder:subresource:status +type ServersDatabasesSyncGroupsSyncMembers struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec ServersDatabasesSyncGroupsSyncMembers_Spec `json:"spec,omitempty"` + Status SyncMember_Status `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true +type ServersDatabasesSyncGroupsSyncMembersList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []ServersDatabasesSyncGroupsSyncMembers `json:"items"` +} + +type ServersDatabasesSyncGroupsSyncMembers_Spec struct { + v1alpha1.ResourceSpec `json:",inline"` + ForProvider ServersDatabasesSyncGroupsSyncMembersParameters `json:"forProvider"` +} + +type SyncMember_Status struct { + v1alpha1.ResourceStatus `json:",inline"` + AtProvider ServersDatabasesSyncGroupsSyncMembersObservation `json:"atProvider"` +} + +type ServersDatabasesSyncGroupsSyncMembersObservation struct { + + //Id: Resource ID. + Id *string `json:"id,omitempty"` + + //Name: Resource name. + Name *string `json:"name,omitempty"` + + //Properties: Resource properties. + Properties *SyncMemberProperties_Status `json:"properties,omitempty"` + + //Type: Resource type. + Type *string `json:"type,omitempty"` +} + +type ServersDatabasesSyncGroupsSyncMembersParameters struct { + + // +kubebuilder:validation:Required + //ApiVersion: API Version of the resource type, optional when apiProfile is used + //on the template + ApiVersion ServersDatabasesSyncGroupsSyncMembersSpecApiVersion `json:"apiVersion"` + + //Location: Location to deploy resource to + Location *string `json:"location,omitempty"` + + // +kubebuilder:validation:Required + //Name: Name of the resource + Name string `json:"name"` + + // +kubebuilder:validation:Required + //Properties: Properties of a sync member. + Properties SyncMemberProperties `json:"properties"` + ResourceGroupName string `json:"resourceGroupName"` + ResourceGroupNameRef *v1alpha1.Reference `json:"resourceGroupNameRef,omitempty"` + ResourceGroupNameSelector *v1alpha1.Selector `json:"resourceGroupNameSelector,omitempty"` + ServersDatabasesSyncGroupsName string `json:"serversDatabasesSyncGroupsName"` + ServersDatabasesSyncGroupsNameRef *v1alpha1.Reference `json:"serversDatabasesSyncGroupsNameRef,omitempty"` + ServersDatabasesSyncGroupsNameSelector *v1alpha1.Selector `json:"serversDatabasesSyncGroupsNameSelector,omitempty"` + + //Tags: Name-value pairs to add to the resource + Tags map[string]string `json:"tags,omitempty"` + + // +kubebuilder:validation:Required + //Type: Resource type + Type ServersDatabasesSyncGroupsSyncMembersSpecType `json:"type"` +} + +// +kubebuilder:validation:Enum={"2015-05-01-preview"} +type ServersDatabasesSyncGroupsSyncMembersSpecApiVersion string + +const ServersDatabasesSyncGroupsSyncMembersSpecApiVersion20150501Preview = ServersDatabasesSyncGroupsSyncMembersSpecApiVersion("2015-05-01-preview") + +// +kubebuilder:validation:Enum={"Microsoft.Sql/servers/databases/syncGroups/syncMembers"} +type ServersDatabasesSyncGroupsSyncMembersSpecType string + +const ServersDatabasesSyncGroupsSyncMembersSpecTypeMicrosoftSqlServersDatabasesSyncGroupsSyncMembers = ServersDatabasesSyncGroupsSyncMembersSpecType("Microsoft.Sql/servers/databases/syncGroups/syncMembers") + +//Generated from: https://schema.management.azure.com/schemas/2015-05-01-preview/Microsoft.Sql.json#/definitions/SyncMemberProperties +type SyncMemberProperties struct { + + //DatabaseName: Database name of the member database in the sync member. + DatabaseName *string `json:"databaseName,omitempty"` + + //DatabaseType: Database type of the sync member. + DatabaseType *SyncMemberPropertiesDatabaseType `json:"databaseType,omitempty"` + + //Password: Password of the member database in the sync member. + Password *string `json:"password,omitempty"` + + //ServerName: Server name of the member database in the sync member + ServerName *string `json:"serverName,omitempty"` + + //SqlServerDatabaseId: SQL Server database id of the sync member. + SqlServerDatabaseId *string `json:"sqlServerDatabaseId,omitempty"` + + //SyncAgentId: ARM resource id of the sync agent in the sync member. + SyncAgentId *string `json:"syncAgentId,omitempty"` + + //SyncDirection: Sync direction of the sync member. + SyncDirection *SyncMemberPropertiesSyncDirection `json:"syncDirection,omitempty"` + + //UserName: User name of the member database in the sync member. + UserName *string `json:"userName,omitempty"` +} + +//Generated from: +type SyncMemberProperties_Status struct { + + //DatabaseName: Database name of the member database in the sync member. + DatabaseName *string `json:"databaseName,omitempty"` + + //DatabaseType: Database type of the sync member. + DatabaseType *SyncMemberPropertiesStatusDatabaseType `json:"databaseType,omitempty"` + + //Password: Password of the member database in the sync member. + Password *string `json:"password,omitempty"` + + //ServerName: Server name of the member database in the sync member + ServerName *string `json:"serverName,omitempty"` + + //SqlServerDatabaseId: SQL Server database id of the sync member. + SqlServerDatabaseId *string `json:"sqlServerDatabaseId,omitempty"` + + //SyncAgentId: ARM resource id of the sync agent in the sync member. + SyncAgentId *string `json:"syncAgentId,omitempty"` + + //SyncDirection: Sync direction of the sync member. + SyncDirection *SyncMemberPropertiesStatusSyncDirection `json:"syncDirection,omitempty"` + + //SyncState: Sync state of the sync member. + SyncState *SyncMemberPropertiesStatusSyncState `json:"syncState,omitempty"` + + //UserName: User name of the member database in the sync member. + UserName *string `json:"userName,omitempty"` +} + +// +kubebuilder:validation:Enum={"AzureSqlDatabase","SqlServerDatabase"} +type SyncMemberPropertiesDatabaseType string + +const ( + SyncMemberPropertiesDatabaseTypeAzureSqlDatabase = SyncMemberPropertiesDatabaseType("AzureSqlDatabase") + SyncMemberPropertiesDatabaseTypeSqlServerDatabase = SyncMemberPropertiesDatabaseType("SqlServerDatabase") +) + +// +kubebuilder:validation:Enum={"AzureSqlDatabase","SqlServerDatabase"} +type SyncMemberPropertiesStatusDatabaseType string + +const ( + SyncMemberPropertiesStatusDatabaseTypeAzureSqlDatabase = SyncMemberPropertiesStatusDatabaseType("AzureSqlDatabase") + SyncMemberPropertiesStatusDatabaseTypeSqlServerDatabase = SyncMemberPropertiesStatusDatabaseType("SqlServerDatabase") +) + +// +kubebuilder:validation:Enum={"Bidirectional","OneWayHubToMember","OneWayMemberToHub"} +type SyncMemberPropertiesStatusSyncDirection string + +const ( + SyncMemberPropertiesStatusSyncDirectionBidirectional = SyncMemberPropertiesStatusSyncDirection("Bidirectional") + SyncMemberPropertiesStatusSyncDirectionOneWayHubToMember = SyncMemberPropertiesStatusSyncDirection("OneWayHubToMember") + SyncMemberPropertiesStatusSyncDirectionOneWayMemberToHub = SyncMemberPropertiesStatusSyncDirection("OneWayMemberToHub") +) + +// +kubebuilder:validation:Enum={"DeProvisionFailed","DeProvisioned","DeProvisioning","DisabledBackupRestore","DisabledTombstoneCleanup","ProvisionFailed","Provisioned","Provisioning","ReprovisionFailed","Reprovisioning","SyncCancelled","SyncCancelling","SyncFailed","SyncInProgress","SyncSucceeded","SyncSucceededWithWarnings","UnProvisioned","UnReprovisioned"} +type SyncMemberPropertiesStatusSyncState string + +const ( + SyncMemberPropertiesStatusSyncStateDeProvisionFailed = SyncMemberPropertiesStatusSyncState("DeProvisionFailed") + SyncMemberPropertiesStatusSyncStateDeProvisioned = SyncMemberPropertiesStatusSyncState("DeProvisioned") + SyncMemberPropertiesStatusSyncStateDeProvisioning = SyncMemberPropertiesStatusSyncState("DeProvisioning") + SyncMemberPropertiesStatusSyncStateDisabledBackupRestore = SyncMemberPropertiesStatusSyncState("DisabledBackupRestore") + SyncMemberPropertiesStatusSyncStateDisabledTombstoneCleanup = SyncMemberPropertiesStatusSyncState("DisabledTombstoneCleanup") + SyncMemberPropertiesStatusSyncStateProvisionFailed = SyncMemberPropertiesStatusSyncState("ProvisionFailed") + SyncMemberPropertiesStatusSyncStateProvisioned = SyncMemberPropertiesStatusSyncState("Provisioned") + SyncMemberPropertiesStatusSyncStateProvisioning = SyncMemberPropertiesStatusSyncState("Provisioning") + SyncMemberPropertiesStatusSyncStateReprovisionFailed = SyncMemberPropertiesStatusSyncState("ReprovisionFailed") + SyncMemberPropertiesStatusSyncStateReprovisioning = SyncMemberPropertiesStatusSyncState("Reprovisioning") + SyncMemberPropertiesStatusSyncStateSyncCancelled = SyncMemberPropertiesStatusSyncState("SyncCancelled") + SyncMemberPropertiesStatusSyncStateSyncCancelling = SyncMemberPropertiesStatusSyncState("SyncCancelling") + SyncMemberPropertiesStatusSyncStateSyncFailed = SyncMemberPropertiesStatusSyncState("SyncFailed") + SyncMemberPropertiesStatusSyncStateSyncInProgress = SyncMemberPropertiesStatusSyncState("SyncInProgress") + SyncMemberPropertiesStatusSyncStateSyncSucceeded = SyncMemberPropertiesStatusSyncState("SyncSucceeded") + SyncMemberPropertiesStatusSyncStateSyncSucceededWithWarnings = SyncMemberPropertiesStatusSyncState("SyncSucceededWithWarnings") + SyncMemberPropertiesStatusSyncStateUnProvisioned = SyncMemberPropertiesStatusSyncState("UnProvisioned") + SyncMemberPropertiesStatusSyncStateUnReprovisioned = SyncMemberPropertiesStatusSyncState("UnReprovisioned") +) + +// +kubebuilder:validation:Enum={"Bidirectional","OneWayHubToMember","OneWayMemberToHub"} +type SyncMemberPropertiesSyncDirection string + +const ( + SyncMemberPropertiesSyncDirectionBidirectional = SyncMemberPropertiesSyncDirection("Bidirectional") + SyncMemberPropertiesSyncDirectionOneWayHubToMember = SyncMemberPropertiesSyncDirection("OneWayHubToMember") + SyncMemberPropertiesSyncDirectionOneWayMemberToHub = SyncMemberPropertiesSyncDirection("OneWayMemberToHub") +) + +func init() { + SchemeBuilder.Register(&ServersDatabasesSyncGroupsSyncMembers{}, &ServersDatabasesSyncGroupsSyncMembersList{}) +} diff --git a/apis/generated/microsoft.sql/v20150501preview/servers_databases_sync_groups_types_gen.go b/apis/generated/microsoft.sql/v20150501preview/servers_databases_sync_groups_types_gen.go new file mode 100644 index 00000000..b26ad145 --- /dev/null +++ b/apis/generated/microsoft.sql/v20150501preview/servers_databases_sync_groups_types_gen.go @@ -0,0 +1,236 @@ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT license. +// Code generated by k8s-infra-gen. DO NOT EDIT. +package v20150501preview + +import ( + "github.com/crossplane/crossplane-runtime/apis/core/v1alpha1" + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" +) + +// +kubebuilder:object:root=true +// +kubebuilder:subresource:status +type ServersDatabasesSyncGroups struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec ServersDatabasesSyncGroups_Spec `json:"spec,omitempty"` + Status SyncGroup_Status `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true +type ServersDatabasesSyncGroupsList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []ServersDatabasesSyncGroups `json:"items"` +} + +type ServersDatabasesSyncGroups_Spec struct { + v1alpha1.ResourceSpec `json:",inline"` + ForProvider ServersDatabasesSyncGroupsParameters `json:"forProvider"` +} + +type SyncGroup_Status struct { + v1alpha1.ResourceStatus `json:",inline"` + AtProvider ServersDatabasesSyncGroupsObservation `json:"atProvider"` +} + +type ServersDatabasesSyncGroupsObservation struct { + + //Id: Resource ID. + Id *string `json:"id,omitempty"` + + //Name: Resource name. + Name *string `json:"name,omitempty"` + + //Properties: Resource properties. + Properties *SyncGroupProperties_Status `json:"properties,omitempty"` + + //Type: Resource type. + Type *string `json:"type,omitempty"` +} + +type ServersDatabasesSyncGroupsParameters struct { + + // +kubebuilder:validation:Required + //ApiVersion: API Version of the resource type, optional when apiProfile is used + //on the template + ApiVersion ServersDatabasesSyncGroupsSpecApiVersion `json:"apiVersion"` + + //Location: Location to deploy resource to + Location *string `json:"location,omitempty"` + + // +kubebuilder:validation:Required + //Name: Name of the resource + Name string `json:"name"` + + // +kubebuilder:validation:Required + //Properties: Properties of a sync group. + Properties SyncGroupProperties `json:"properties"` + ResourceGroupName string `json:"resourceGroupName"` + ResourceGroupNameRef *v1alpha1.Reference `json:"resourceGroupNameRef,omitempty"` + ResourceGroupNameSelector *v1alpha1.Selector `json:"resourceGroupNameSelector,omitempty"` + + //Tags: Name-value pairs to add to the resource + Tags map[string]string `json:"tags,omitempty"` + + // +kubebuilder:validation:Required + //Type: Resource type + Type ServersDatabasesSyncGroupsSpecType `json:"type"` +} + +// +kubebuilder:validation:Enum={"2015-05-01-preview"} +type ServersDatabasesSyncGroupsSpecApiVersion string + +const ServersDatabasesSyncGroupsSpecApiVersion20150501Preview = ServersDatabasesSyncGroupsSpecApiVersion("2015-05-01-preview") + +// +kubebuilder:validation:Enum={"Microsoft.Sql/servers/databases/syncGroups"} +type ServersDatabasesSyncGroupsSpecType string + +const ServersDatabasesSyncGroupsSpecTypeMicrosoftSqlServersDatabasesSyncGroups = ServersDatabasesSyncGroupsSpecType("Microsoft.Sql/servers/databases/syncGroups") + +//Generated from: https://schema.management.azure.com/schemas/2015-05-01-preview/Microsoft.Sql.json#/definitions/SyncGroupProperties +type SyncGroupProperties struct { + + //ConflictResolutionPolicy: Conflict resolution policy of the sync group. + ConflictResolutionPolicy *SyncGroupPropertiesConflictResolutionPolicy `json:"conflictResolutionPolicy,omitempty"` + + //HubDatabasePassword: Password for the sync group hub database credential. + HubDatabasePassword *string `json:"hubDatabasePassword,omitempty"` + + //HubDatabaseUserName: User name for the sync group hub database credential. + HubDatabaseUserName *string `json:"hubDatabaseUserName,omitempty"` + + //Interval: Sync interval of the sync group. + Interval *int `json:"interval,omitempty"` + + //Schema: Properties of sync group schema. + Schema *SyncGroupSchema `json:"schema,omitempty"` + + //SyncDatabaseId: ARM resource id of the sync database in the sync group. + SyncDatabaseId *string `json:"syncDatabaseId,omitempty"` +} + +//Generated from: +type SyncGroupProperties_Status struct { + + //ConflictResolutionPolicy: Conflict resolution policy of the sync group. + ConflictResolutionPolicy *SyncGroupPropertiesStatusConflictResolutionPolicy `json:"conflictResolutionPolicy,omitempty"` + + //HubDatabasePassword: Password for the sync group hub database credential. + HubDatabasePassword *string `json:"hubDatabasePassword,omitempty"` + + //HubDatabaseUserName: User name for the sync group hub database credential. + HubDatabaseUserName *string `json:"hubDatabaseUserName,omitempty"` + + //Interval: Sync interval of the sync group. + Interval *int `json:"interval,omitempty"` + + //LastSyncTime: Last sync time of the sync group. + LastSyncTime *string `json:"lastSyncTime,omitempty"` + + //Schema: Sync schema of the sync group. + Schema *SyncGroupSchema_Status `json:"schema,omitempty"` + + //SyncDatabaseId: ARM resource id of the sync database in the sync group. + SyncDatabaseId *string `json:"syncDatabaseId,omitempty"` + + //SyncState: Sync state of the sync group. + SyncState *SyncGroupPropertiesStatusSyncState `json:"syncState,omitempty"` +} + +// +kubebuilder:validation:Enum={"HubWin","MemberWin"} +type SyncGroupPropertiesConflictResolutionPolicy string + +const ( + SyncGroupPropertiesConflictResolutionPolicyHubWin = SyncGroupPropertiesConflictResolutionPolicy("HubWin") + SyncGroupPropertiesConflictResolutionPolicyMemberWin = SyncGroupPropertiesConflictResolutionPolicy("MemberWin") +) + +// +kubebuilder:validation:Enum={"HubWin","MemberWin"} +type SyncGroupPropertiesStatusConflictResolutionPolicy string + +const ( + SyncGroupPropertiesStatusConflictResolutionPolicyHubWin = SyncGroupPropertiesStatusConflictResolutionPolicy("HubWin") + SyncGroupPropertiesStatusConflictResolutionPolicyMemberWin = SyncGroupPropertiesStatusConflictResolutionPolicy("MemberWin") +) + +// +kubebuilder:validation:Enum={"Error","Good","NotReady","Progressing","Warning"} +type SyncGroupPropertiesStatusSyncState string + +const ( + SyncGroupPropertiesStatusSyncStateError = SyncGroupPropertiesStatusSyncState("Error") + SyncGroupPropertiesStatusSyncStateGood = SyncGroupPropertiesStatusSyncState("Good") + SyncGroupPropertiesStatusSyncStateNotReady = SyncGroupPropertiesStatusSyncState("NotReady") + SyncGroupPropertiesStatusSyncStateProgressing = SyncGroupPropertiesStatusSyncState("Progressing") + SyncGroupPropertiesStatusSyncStateWarning = SyncGroupPropertiesStatusSyncState("Warning") +) + +//Generated from: https://schema.management.azure.com/schemas/2015-05-01-preview/Microsoft.Sql.json#/definitions/SyncGroupSchema +type SyncGroupSchema struct { + + //MasterSyncMemberName: Name of master sync member where the schema is from. + MasterSyncMemberName *string `json:"masterSyncMemberName,omitempty"` + + //Tables: List of tables in sync group schema. + Tables []SyncGroupSchemaTable `json:"tables,omitempty"` +} + +//Generated from: +type SyncGroupSchema_Status struct { + + //MasterSyncMemberName: Name of master sync member where the schema is from. + MasterSyncMemberName *string `json:"masterSyncMemberName,omitempty"` + + //Tables: List of tables in sync group schema. + Tables []SyncGroupSchemaTable_Status `json:"tables,omitempty"` +} + +//Generated from: https://schema.management.azure.com/schemas/2015-05-01-preview/Microsoft.Sql.json#/definitions/SyncGroupSchemaTable +type SyncGroupSchemaTable struct { + + //Columns: List of columns in sync group schema. + Columns []SyncGroupSchemaTableColumn `json:"columns,omitempty"` + + //QuotedName: Quoted name of sync group schema table. + QuotedName *string `json:"quotedName,omitempty"` +} + +//Generated from: +type SyncGroupSchemaTable_Status struct { + + //Columns: List of columns in sync group schema. + Columns []SyncGroupSchemaTableColumn_Status `json:"columns,omitempty"` + + //QuotedName: Quoted name of sync group schema table. + QuotedName *string `json:"quotedName,omitempty"` +} + +//Generated from: https://schema.management.azure.com/schemas/2015-05-01-preview/Microsoft.Sql.json#/definitions/SyncGroupSchemaTableColumn +type SyncGroupSchemaTableColumn struct { + + //DataSize: Data size of the column. + DataSize *string `json:"dataSize,omitempty"` + + //DataType: Data type of the column. + DataType *string `json:"dataType,omitempty"` + + //QuotedName: Quoted name of sync group table column. + QuotedName *string `json:"quotedName,omitempty"` +} + +//Generated from: +type SyncGroupSchemaTableColumn_Status struct { + + //DataSize: Data size of the column. + DataSize *string `json:"dataSize,omitempty"` + + //DataType: Data type of the column. + DataType *string `json:"dataType,omitempty"` + + //QuotedName: Quoted name of sync group table column. + QuotedName *string `json:"quotedName,omitempty"` +} + +func init() { + SchemeBuilder.Register(&ServersDatabasesSyncGroups{}, &ServersDatabasesSyncGroupsList{}) +} diff --git a/apis/generated/microsoft.sql/v20150501preview/servers_encryption_protector_types_gen.go b/apis/generated/microsoft.sql/v20150501preview/servers_encryption_protector_types_gen.go new file mode 100644 index 00000000..2824f30b --- /dev/null +++ b/apis/generated/microsoft.sql/v20150501preview/servers_encryption_protector_types_gen.go @@ -0,0 +1,96 @@ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT license. +// Code generated by k8s-infra-gen. DO NOT EDIT. +package v20150501preview + +import ( + "github.com/crossplane/crossplane-runtime/apis/core/v1alpha1" + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" +) + +// +kubebuilder:object:root=true +//Generated from: https://schema.management.azure.com/schemas/2015-05-01-preview/Microsoft.Sql.json#/resourceDefinitions/servers_encryptionProtector +type ServersEncryptionProtector struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec ServersEncryptionProtector_Spec `json:"spec,omitempty"` +} + +// +kubebuilder:object:root=true +//Generated from: https://schema.management.azure.com/schemas/2015-05-01-preview/Microsoft.Sql.json#/resourceDefinitions/servers_encryptionProtector +type ServersEncryptionProtectorList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []ServersEncryptionProtector `json:"items"` +} + +type ServersEncryptionProtector_Spec struct { + v1alpha1.ResourceSpec `json:",inline"` + ForProvider ServersEncryptionProtectorParameters `json:"forProvider"` +} + +type ServersEncryptionProtectorParameters struct { + + // +kubebuilder:validation:Required + //ApiVersion: API Version of the resource type, optional when apiProfile is used + //on the template + ApiVersion ServersEncryptionProtectorSpecApiVersion `json:"apiVersion"` + + //Location: Location to deploy resource to + Location *string `json:"location,omitempty"` + + // +kubebuilder:validation:Required + //Name: Name of the resource + Name string `json:"name"` + + // +kubebuilder:validation:Required + //Properties: Properties for an encryption protector execution. + Properties EncryptionProtectorProperties `json:"properties"` + ResourceGroupName string `json:"resourceGroupName"` + ResourceGroupNameRef *v1alpha1.Reference `json:"resourceGroupNameRef,omitempty"` + ResourceGroupNameSelector *v1alpha1.Selector `json:"resourceGroupNameSelector,omitempty"` + ServersName string `json:"serversName"` + ServersNameRef *v1alpha1.Reference `json:"serversNameRef,omitempty"` + ServersNameSelector *v1alpha1.Selector `json:"serversNameSelector,omitempty"` + + //Tags: Name-value pairs to add to the resource + Tags map[string]string `json:"tags,omitempty"` + + // +kubebuilder:validation:Required + //Type: Resource type + Type ServersEncryptionProtectorSpecType `json:"type"` +} + +//Generated from: https://schema.management.azure.com/schemas/2015-05-01-preview/Microsoft.Sql.json#/definitions/EncryptionProtectorProperties +type EncryptionProtectorProperties struct { + + //ServerKeyName: The name of the server key. + ServerKeyName *string `json:"serverKeyName,omitempty"` + + // +kubebuilder:validation:Required + //ServerKeyType: The encryption protector type like 'ServiceManaged', + //'AzureKeyVault'. + ServerKeyType EncryptionProtectorPropertiesServerKeyType `json:"serverKeyType"` +} + +// +kubebuilder:validation:Enum={"2015-05-01-preview"} +type ServersEncryptionProtectorSpecApiVersion string + +const ServersEncryptionProtectorSpecApiVersion20150501Preview = ServersEncryptionProtectorSpecApiVersion("2015-05-01-preview") + +// +kubebuilder:validation:Enum={"Microsoft.Sql/servers/encryptionProtector"} +type ServersEncryptionProtectorSpecType string + +const ServersEncryptionProtectorSpecTypeMicrosoftSqlServersEncryptionProtector = ServersEncryptionProtectorSpecType("Microsoft.Sql/servers/encryptionProtector") + +// +kubebuilder:validation:Enum={"AzureKeyVault","ServiceManaged"} +type EncryptionProtectorPropertiesServerKeyType string + +const ( + EncryptionProtectorPropertiesServerKeyTypeAzureKeyVault = EncryptionProtectorPropertiesServerKeyType("AzureKeyVault") + EncryptionProtectorPropertiesServerKeyTypeServiceManaged = EncryptionProtectorPropertiesServerKeyType("ServiceManaged") +) + +func init() { + SchemeBuilder.Register(&ServersEncryptionProtector{}, &ServersEncryptionProtectorList{}) +} diff --git a/apis/generated/microsoft.sql/v20150501preview/servers_failover_groups_types_gen.go b/apis/generated/microsoft.sql/v20150501preview/servers_failover_groups_types_gen.go new file mode 100644 index 00000000..d28f6c58 --- /dev/null +++ b/apis/generated/microsoft.sql/v20150501preview/servers_failover_groups_types_gen.go @@ -0,0 +1,258 @@ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT license. +// Code generated by k8s-infra-gen. DO NOT EDIT. +package v20150501preview + +import ( + "github.com/crossplane/crossplane-runtime/apis/core/v1alpha1" + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" +) + +// +kubebuilder:object:root=true +// +kubebuilder:subresource:status +type ServersFailoverGroups struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec ServersFailoverGroups_Spec `json:"spec,omitempty"` + Status FailoverGroup_Status `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true +type ServersFailoverGroupsList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []ServersFailoverGroups `json:"items"` +} + +type FailoverGroup_Status struct { + v1alpha1.ResourceStatus `json:",inline"` + AtProvider ServersFailoverGroupsObservation `json:"atProvider"` +} + +type ServersFailoverGroups_Spec struct { + v1alpha1.ResourceSpec `json:",inline"` + ForProvider ServersFailoverGroupsParameters `json:"forProvider"` +} + +type ServersFailoverGroupsObservation struct { + + //Id: Resource ID. + Id *string `json:"id,omitempty"` + + //Location: Resource location. + Location *string `json:"location,omitempty"` + + //Name: Resource name. + Name *string `json:"name,omitempty"` + + //Properties: Resource properties. + Properties *FailoverGroupProperties_Status `json:"properties,omitempty"` + + //Tags: Resource tags. + Tags map[string]string `json:"tags,omitempty"` + + //Type: Resource type. + Type *string `json:"type,omitempty"` +} + +type ServersFailoverGroupsParameters struct { + + // +kubebuilder:validation:Required + //ApiVersion: API Version of the resource type, optional when apiProfile is used + //on the template + ApiVersion ServersFailoverGroupsSpecApiVersion `json:"apiVersion"` + + //Location: Location to deploy resource to + Location *string `json:"location,omitempty"` + + // +kubebuilder:validation:Required + //Name: Name of the resource + Name string `json:"name"` + + // +kubebuilder:validation:Required + //Properties: Properties of a failover group. + Properties FailoverGroupProperties `json:"properties"` + ResourceGroupName string `json:"resourceGroupName"` + ResourceGroupNameRef *v1alpha1.Reference `json:"resourceGroupNameRef,omitempty"` + ResourceGroupNameSelector *v1alpha1.Selector `json:"resourceGroupNameSelector,omitempty"` + ServersName string `json:"serversName"` + ServersNameRef *v1alpha1.Reference `json:"serversNameRef,omitempty"` + ServersNameSelector *v1alpha1.Selector `json:"serversNameSelector,omitempty"` + + //Tags: Name-value pairs to add to the resource + Tags map[string]string `json:"tags,omitempty"` + + // +kubebuilder:validation:Required + //Type: Resource type + Type ServersFailoverGroupsSpecType `json:"type"` +} + +//Generated from: https://schema.management.azure.com/schemas/2015-05-01-preview/Microsoft.Sql.json#/definitions/FailoverGroupProperties +type FailoverGroupProperties struct { + + //Databases: List of databases in the failover group. + Databases []string `json:"databases,omitempty"` + + // +kubebuilder:validation:Required + //PartnerServers: List of partner server information for the failover group. + PartnerServers []PartnerInfo `json:"partnerServers"` + + //ReadOnlyEndpoint: Read-only endpoint of the failover group instance. + ReadOnlyEndpoint *FailoverGroupReadOnlyEndpoint `json:"readOnlyEndpoint,omitempty"` + + // +kubebuilder:validation:Required + //ReadWriteEndpoint: Read-write endpoint of the failover group instance. + ReadWriteEndpoint FailoverGroupReadWriteEndpoint `json:"readWriteEndpoint"` +} + +//Generated from: +type FailoverGroupProperties_Status struct { + + //Databases: List of databases in the failover group. + Databases []string `json:"databases,omitempty"` + + // +kubebuilder:validation:Required + //PartnerServers: List of partner server information for the failover group. + PartnerServers []PartnerInfo_Status `json:"partnerServers"` + + //ReadOnlyEndpoint: Read-only endpoint of the failover group instance. + ReadOnlyEndpoint *FailoverGroupReadOnlyEndpoint_Status `json:"readOnlyEndpoint,omitempty"` + + // +kubebuilder:validation:Required + //ReadWriteEndpoint: Read-write endpoint of the failover group instance. + ReadWriteEndpoint FailoverGroupReadWriteEndpoint_Status `json:"readWriteEndpoint"` + + //ReplicationRole: Local replication role of the failover group instance. + ReplicationRole *FailoverGroupPropertiesStatusReplicationRole `json:"replicationRole,omitempty"` + + //ReplicationState: Replication state of the failover group instance. + ReplicationState *string `json:"replicationState,omitempty"` +} + +// +kubebuilder:validation:Enum={"2015-05-01-preview"} +type ServersFailoverGroupsSpecApiVersion string + +const ServersFailoverGroupsSpecApiVersion20150501Preview = ServersFailoverGroupsSpecApiVersion("2015-05-01-preview") + +// +kubebuilder:validation:Enum={"Microsoft.Sql/servers/failoverGroups"} +type ServersFailoverGroupsSpecType string + +const ServersFailoverGroupsSpecTypeMicrosoftSqlServersFailoverGroups = ServersFailoverGroupsSpecType("Microsoft.Sql/servers/failoverGroups") + +// +kubebuilder:validation:Enum={"Primary","Secondary"} +type FailoverGroupPropertiesStatusReplicationRole string + +const ( + FailoverGroupPropertiesStatusReplicationRolePrimary = FailoverGroupPropertiesStatusReplicationRole("Primary") + FailoverGroupPropertiesStatusReplicationRoleSecondary = FailoverGroupPropertiesStatusReplicationRole("Secondary") +) + +//Generated from: https://schema.management.azure.com/schemas/2015-05-01-preview/Microsoft.Sql.json#/definitions/FailoverGroupReadOnlyEndpoint +type FailoverGroupReadOnlyEndpoint struct { + + //FailoverPolicy: Failover policy of the read-only endpoint for the failover group. + FailoverPolicy *FailoverGroupReadOnlyEndpointFailoverPolicy `json:"failoverPolicy,omitempty"` +} + +//Generated from: +type FailoverGroupReadOnlyEndpoint_Status struct { + + //FailoverPolicy: Failover policy of the read-only endpoint for the failover group. + FailoverPolicy *FailoverGroupReadOnlyEndpointStatusFailoverPolicy `json:"failoverPolicy,omitempty"` +} + +//Generated from: https://schema.management.azure.com/schemas/2015-05-01-preview/Microsoft.Sql.json#/definitions/FailoverGroupReadWriteEndpoint +type FailoverGroupReadWriteEndpoint struct { + + // +kubebuilder:validation:Required + //FailoverPolicy: Failover policy of the read-write endpoint for the failover + //group. If failoverPolicy is Automatic then + //failoverWithDataLossGracePeriodMinutes is required. + FailoverPolicy FailoverGroupReadWriteEndpointFailoverPolicy `json:"failoverPolicy"` + + //FailoverWithDataLossGracePeriodMinutes: Grace period before failover with data + //loss is attempted for the read-write endpoint. If failoverPolicy is Automatic + //then failoverWithDataLossGracePeriodMinutes is required. + FailoverWithDataLossGracePeriodMinutes *int `json:"failoverWithDataLossGracePeriodMinutes,omitempty"` +} + +//Generated from: +type FailoverGroupReadWriteEndpoint_Status struct { + + // +kubebuilder:validation:Required + //FailoverPolicy: Failover policy of the read-write endpoint for the failover + //group. If failoverPolicy is Automatic then + //failoverWithDataLossGracePeriodMinutes is required. + FailoverPolicy FailoverGroupReadWriteEndpointStatusFailoverPolicy `json:"failoverPolicy"` + + //FailoverWithDataLossGracePeriodMinutes: Grace period before failover with data + //loss is attempted for the read-write endpoint. If failoverPolicy is Automatic + //then failoverWithDataLossGracePeriodMinutes is required. + FailoverWithDataLossGracePeriodMinutes *int `json:"failoverWithDataLossGracePeriodMinutes,omitempty"` +} + +//Generated from: https://schema.management.azure.com/schemas/2015-05-01-preview/Microsoft.Sql.json#/definitions/PartnerInfo +type PartnerInfo struct { + + // +kubebuilder:validation:Required + //Id: Resource identifier of the partner server. + Id string `json:"id"` +} + +//Generated from: +type PartnerInfo_Status struct { + + // +kubebuilder:validation:Required + //Id: Resource identifier of the partner server. + Id string `json:"id"` + + //Location: Geo location of the partner server. + Location *string `json:"location,omitempty"` + + //ReplicationRole: Replication role of the partner server. + ReplicationRole *PartnerInfoStatusReplicationRole `json:"replicationRole,omitempty"` +} + +// +kubebuilder:validation:Enum={"Disabled","Enabled"} +type FailoverGroupReadOnlyEndpointFailoverPolicy string + +const ( + FailoverGroupReadOnlyEndpointFailoverPolicyDisabled = FailoverGroupReadOnlyEndpointFailoverPolicy("Disabled") + FailoverGroupReadOnlyEndpointFailoverPolicyEnabled = FailoverGroupReadOnlyEndpointFailoverPolicy("Enabled") +) + +// +kubebuilder:validation:Enum={"Disabled","Enabled"} +type FailoverGroupReadOnlyEndpointStatusFailoverPolicy string + +const ( + FailoverGroupReadOnlyEndpointStatusFailoverPolicyDisabled = FailoverGroupReadOnlyEndpointStatusFailoverPolicy("Disabled") + FailoverGroupReadOnlyEndpointStatusFailoverPolicyEnabled = FailoverGroupReadOnlyEndpointStatusFailoverPolicy("Enabled") +) + +// +kubebuilder:validation:Enum={"Automatic","Manual"} +type FailoverGroupReadWriteEndpointFailoverPolicy string + +const ( + FailoverGroupReadWriteEndpointFailoverPolicyAutomatic = FailoverGroupReadWriteEndpointFailoverPolicy("Automatic") + FailoverGroupReadWriteEndpointFailoverPolicyManual = FailoverGroupReadWriteEndpointFailoverPolicy("Manual") +) + +// +kubebuilder:validation:Enum={"Automatic","Manual"} +type FailoverGroupReadWriteEndpointStatusFailoverPolicy string + +const ( + FailoverGroupReadWriteEndpointStatusFailoverPolicyAutomatic = FailoverGroupReadWriteEndpointStatusFailoverPolicy("Automatic") + FailoverGroupReadWriteEndpointStatusFailoverPolicyManual = FailoverGroupReadWriteEndpointStatusFailoverPolicy("Manual") +) + +// +kubebuilder:validation:Enum={"Primary","Secondary"} +type PartnerInfoStatusReplicationRole string + +const ( + PartnerInfoStatusReplicationRolePrimary = PartnerInfoStatusReplicationRole("Primary") + PartnerInfoStatusReplicationRoleSecondary = PartnerInfoStatusReplicationRole("Secondary") +) + +func init() { + SchemeBuilder.Register(&ServersFailoverGroups{}, &ServersFailoverGroupsList{}) +} diff --git a/apis/generated/microsoft.sql/v20150501preview/servers_firewall_rules_types_gen.go b/apis/generated/microsoft.sql/v20150501preview/servers_firewall_rules_types_gen.go new file mode 100644 index 00000000..bd5c4682 --- /dev/null +++ b/apis/generated/microsoft.sql/v20150501preview/servers_firewall_rules_types_gen.go @@ -0,0 +1,122 @@ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT license. +// Code generated by k8s-infra-gen. DO NOT EDIT. +package v20150501preview + +import ( + "github.com/crossplane/crossplane-runtime/apis/core/v1alpha1" + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" +) + +// +kubebuilder:object:root=true +// +kubebuilder:subresource:status +type ServersFirewallRules struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec ServersFirewallRules_Spec `json:"spec,omitempty"` + Status FirewallRule_Status `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true +type ServersFirewallRulesList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []ServersFirewallRules `json:"items"` +} + +type FirewallRule_Status struct { + v1alpha1.ResourceStatus `json:",inline"` + AtProvider ServersFirewallRulesObservation `json:"atProvider"` +} + +type ServersFirewallRules_Spec struct { + v1alpha1.ResourceSpec `json:",inline"` + ForProvider ServersFirewallRulesParameters `json:"forProvider"` +} + +type ServersFirewallRulesObservation struct { + + //Id: Resource ID. + Id *string `json:"id,omitempty"` + + //Name: Resource name. + Name *string `json:"name,omitempty"` + + //Properties: Resource properties. + Properties *ServerFirewallRuleProperties_Status `json:"properties,omitempty"` + + //Type: Resource type. + Type *string `json:"type,omitempty"` +} + +type ServersFirewallRulesParameters struct { + + // +kubebuilder:validation:Required + //ApiVersion: API Version of the resource type, optional when apiProfile is used + //on the template + ApiVersion ServersFirewallRulesSpecApiVersion `json:"apiVersion"` + + //Location: Location to deploy resource to + Location *string `json:"location,omitempty"` + + // +kubebuilder:validation:Required + //Name: Name of the resource + Name string `json:"name"` + + // +kubebuilder:validation:Required + //Properties: The properties of a server firewall rule. + Properties ServerFirewallRuleProperties `json:"properties"` + ResourceGroupName string `json:"resourceGroupName"` + ResourceGroupNameRef *v1alpha1.Reference `json:"resourceGroupNameRef,omitempty"` + ResourceGroupNameSelector *v1alpha1.Selector `json:"resourceGroupNameSelector,omitempty"` + ServersName string `json:"serversName"` + ServersNameRef *v1alpha1.Reference `json:"serversNameRef,omitempty"` + ServersNameSelector *v1alpha1.Selector `json:"serversNameSelector,omitempty"` + + //Tags: Name-value pairs to add to the resource + Tags map[string]string `json:"tags,omitempty"` + + // +kubebuilder:validation:Required + //Type: Resource type + Type ServersFirewallRulesSpecType `json:"type"` +} + +//Generated from: https://schema.management.azure.com/schemas/2015-05-01-preview/Microsoft.Sql.json#/definitions/ServerFirewallRuleProperties +type ServerFirewallRuleProperties struct { + + //EndIpAddress: The end IP address of the firewall rule. Must be IPv4 format. Must + //be greater than or equal to startIpAddress. Use value '0.0.0.0' for all + //Azure-internal IP addresses. + EndIpAddress *string `json:"endIpAddress,omitempty"` + + //StartIpAddress: The start IP address of the firewall rule. Must be IPv4 format. + //Use value '0.0.0.0' for all Azure-internal IP addresses. + StartIpAddress *string `json:"startIpAddress,omitempty"` +} + +//Generated from: +type ServerFirewallRuleProperties_Status struct { + + //EndIpAddress: The end IP address of the firewall rule. Must be IPv4 format. Must + //be greater than or equal to startIpAddress. Use value '0.0.0.0' for all + //Azure-internal IP addresses. + EndIpAddress *string `json:"endIpAddress,omitempty"` + + //StartIpAddress: The start IP address of the firewall rule. Must be IPv4 format. + //Use value '0.0.0.0' for all Azure-internal IP addresses. + StartIpAddress *string `json:"startIpAddress,omitempty"` +} + +// +kubebuilder:validation:Enum={"2015-05-01-preview"} +type ServersFirewallRulesSpecApiVersion string + +const ServersFirewallRulesSpecApiVersion20150501Preview = ServersFirewallRulesSpecApiVersion("2015-05-01-preview") + +// +kubebuilder:validation:Enum={"Microsoft.Sql/servers/firewallRules"} +type ServersFirewallRulesSpecType string + +const ServersFirewallRulesSpecTypeMicrosoftSqlServersFirewallRules = ServersFirewallRulesSpecType("Microsoft.Sql/servers/firewallRules") + +func init() { + SchemeBuilder.Register(&ServersFirewallRules{}, &ServersFirewallRulesList{}) +} diff --git a/apis/generated/microsoft.sql/v20150501preview/servers_keys_types_gen.go b/apis/generated/microsoft.sql/v20150501preview/servers_keys_types_gen.go new file mode 100644 index 00000000..745518dd --- /dev/null +++ b/apis/generated/microsoft.sql/v20150501preview/servers_keys_types_gen.go @@ -0,0 +1,160 @@ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT license. +// Code generated by k8s-infra-gen. DO NOT EDIT. +package v20150501preview + +import ( + "github.com/crossplane/crossplane-runtime/apis/core/v1alpha1" + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" +) + +// +kubebuilder:object:root=true +// +kubebuilder:subresource:status +type ServersKeys struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec ServersKeys_Spec `json:"spec,omitempty"` + Status ServerKey_Status `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true +type ServersKeysList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []ServersKeys `json:"items"` +} + +type ServerKey_Status struct { + v1alpha1.ResourceStatus `json:",inline"` + AtProvider ServersKeysObservation `json:"atProvider"` +} + +type ServersKeys_Spec struct { + v1alpha1.ResourceSpec `json:",inline"` + ForProvider ServersKeysParameters `json:"forProvider"` +} + +type ServersKeysObservation struct { + + //Id: Resource ID. + Id *string `json:"id,omitempty"` + + //Kind: Kind of encryption protector. This is metadata used for the Azure portal + //experience. + Kind *string `json:"kind,omitempty"` + + //Location: Resource location. + Location *string `json:"location,omitempty"` + + //Name: Resource name. + Name *string `json:"name,omitempty"` + + //Properties: Resource properties. + Properties *ServerKeyProperties_Status `json:"properties,omitempty"` + + //Type: Resource type. + Type *string `json:"type,omitempty"` +} + +type ServersKeysParameters struct { + + // +kubebuilder:validation:Required + //ApiVersion: API Version of the resource type, optional when apiProfile is used + //on the template + ApiVersion ServersKeysSpecApiVersion `json:"apiVersion"` + + //Kind: Kind of encryption protector. This is metadata used for the Azure portal + //experience. + Kind *string `json:"kind,omitempty"` + + //Location: Location to deploy resource to + Location *string `json:"location,omitempty"` + + // +kubebuilder:validation:Required + //Name: Name of the resource + Name string `json:"name"` + + // +kubebuilder:validation:Required + //Properties: Properties for a server key execution. + Properties ServerKeyProperties `json:"properties"` + ResourceGroupName string `json:"resourceGroupName"` + ResourceGroupNameRef *v1alpha1.Reference `json:"resourceGroupNameRef,omitempty"` + ResourceGroupNameSelector *v1alpha1.Selector `json:"resourceGroupNameSelector,omitempty"` + ServersName string `json:"serversName"` + ServersNameRef *v1alpha1.Reference `json:"serversNameRef,omitempty"` + ServersNameSelector *v1alpha1.Selector `json:"serversNameSelector,omitempty"` + + //Tags: Name-value pairs to add to the resource + Tags map[string]string `json:"tags,omitempty"` + + // +kubebuilder:validation:Required + //Type: Resource type + Type ServersKeysSpecType `json:"type"` +} + +//Generated from: https://schema.management.azure.com/schemas/2015-05-01-preview/Microsoft.Sql.json#/definitions/ServerKeyProperties +type ServerKeyProperties struct { + + //CreationDate: The server key creation date. + CreationDate *string `json:"creationDate,omitempty"` + + // +kubebuilder:validation:Required + //ServerKeyType: The server key type like 'ServiceManaged', 'AzureKeyVault'. + ServerKeyType ServerKeyPropertiesServerKeyType `json:"serverKeyType"` + + //Thumbprint: Thumbprint of the server key. + Thumbprint *string `json:"thumbprint,omitempty"` + + //Uri: The URI of the server key. + Uri *string `json:"uri,omitempty"` +} + +//Generated from: +type ServerKeyProperties_Status struct { + + //CreationDate: The server key creation date. + CreationDate *string `json:"creationDate,omitempty"` + + // +kubebuilder:validation:Required + //ServerKeyType: The server key type like 'ServiceManaged', 'AzureKeyVault'. + ServerKeyType ServerKeyPropertiesStatusServerKeyType `json:"serverKeyType"` + + //Subregion: Subregion of the server key. + Subregion *string `json:"subregion,omitempty"` + + //Thumbprint: Thumbprint of the server key. + Thumbprint *string `json:"thumbprint,omitempty"` + + //Uri: The URI of the server key. + Uri *string `json:"uri,omitempty"` +} + +// +kubebuilder:validation:Enum={"2015-05-01-preview"} +type ServersKeysSpecApiVersion string + +const ServersKeysSpecApiVersion20150501Preview = ServersKeysSpecApiVersion("2015-05-01-preview") + +// +kubebuilder:validation:Enum={"Microsoft.Sql/servers/keys"} +type ServersKeysSpecType string + +const ServersKeysSpecTypeMicrosoftSqlServersKeys = ServersKeysSpecType("Microsoft.Sql/servers/keys") + +// +kubebuilder:validation:Enum={"AzureKeyVault","ServiceManaged"} +type ServerKeyPropertiesServerKeyType string + +const ( + ServerKeyPropertiesServerKeyTypeAzureKeyVault = ServerKeyPropertiesServerKeyType("AzureKeyVault") + ServerKeyPropertiesServerKeyTypeServiceManaged = ServerKeyPropertiesServerKeyType("ServiceManaged") +) + +// +kubebuilder:validation:Enum={"AzureKeyVault","ServiceManaged"} +type ServerKeyPropertiesStatusServerKeyType string + +const ( + ServerKeyPropertiesStatusServerKeyTypeAzureKeyVault = ServerKeyPropertiesStatusServerKeyType("AzureKeyVault") + ServerKeyPropertiesStatusServerKeyTypeServiceManaged = ServerKeyPropertiesStatusServerKeyType("ServiceManaged") +) + +func init() { + SchemeBuilder.Register(&ServersKeys{}, &ServersKeysList{}) +} diff --git a/apis/generated/microsoft.sql/v20150501preview/servers_sync_agents_types_gen.go b/apis/generated/microsoft.sql/v20150501preview/servers_sync_agents_types_gen.go new file mode 100644 index 00000000..93c857b3 --- /dev/null +++ b/apis/generated/microsoft.sql/v20150501preview/servers_sync_agents_types_gen.go @@ -0,0 +1,137 @@ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT license. +// Code generated by k8s-infra-gen. DO NOT EDIT. +package v20150501preview + +import ( + "github.com/crossplane/crossplane-runtime/apis/core/v1alpha1" + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" +) + +// +kubebuilder:object:root=true +// +kubebuilder:subresource:status +type ServersSyncAgents struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec ServersSyncAgents_Spec `json:"spec,omitempty"` + Status SyncAgent_Status `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true +type ServersSyncAgentsList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []ServersSyncAgents `json:"items"` +} + +type ServersSyncAgents_Spec struct { + v1alpha1.ResourceSpec `json:",inline"` + ForProvider ServersSyncAgentsParameters `json:"forProvider"` +} + +type SyncAgent_Status struct { + v1alpha1.ResourceStatus `json:",inline"` + AtProvider ServersSyncAgentsObservation `json:"atProvider"` +} + +type ServersSyncAgentsObservation struct { + + //Id: Resource ID. + Id *string `json:"id,omitempty"` + + //Name: Resource name. + Name *string `json:"name,omitempty"` + + //Properties: Resource properties. + Properties *SyncAgentProperties_Status `json:"properties,omitempty"` + + //Type: Resource type. + Type *string `json:"type,omitempty"` +} + +type ServersSyncAgentsParameters struct { + + // +kubebuilder:validation:Required + //ApiVersion: API Version of the resource type, optional when apiProfile is used + //on the template + ApiVersion ServersSyncAgentsSpecApiVersion `json:"apiVersion"` + + //Location: Location to deploy resource to + Location *string `json:"location,omitempty"` + + // +kubebuilder:validation:Required + //Name: Name of the resource + Name string `json:"name"` + + // +kubebuilder:validation:Required + //Properties: Properties of an Azure SQL Database sync agent. + Properties SyncAgentProperties `json:"properties"` + ResourceGroupName string `json:"resourceGroupName"` + ResourceGroupNameRef *v1alpha1.Reference `json:"resourceGroupNameRef,omitempty"` + ResourceGroupNameSelector *v1alpha1.Selector `json:"resourceGroupNameSelector,omitempty"` + ServersName string `json:"serversName"` + ServersNameRef *v1alpha1.Reference `json:"serversNameRef,omitempty"` + ServersNameSelector *v1alpha1.Selector `json:"serversNameSelector,omitempty"` + + //Tags: Name-value pairs to add to the resource + Tags map[string]string `json:"tags,omitempty"` + + // +kubebuilder:validation:Required + //Type: Resource type + Type ServersSyncAgentsSpecType `json:"type"` +} + +// +kubebuilder:validation:Enum={"2015-05-01-preview"} +type ServersSyncAgentsSpecApiVersion string + +const ServersSyncAgentsSpecApiVersion20150501Preview = ServersSyncAgentsSpecApiVersion("2015-05-01-preview") + +// +kubebuilder:validation:Enum={"Microsoft.Sql/servers/syncAgents"} +type ServersSyncAgentsSpecType string + +const ServersSyncAgentsSpecTypeMicrosoftSqlServersSyncAgents = ServersSyncAgentsSpecType("Microsoft.Sql/servers/syncAgents") + +//Generated from: https://schema.management.azure.com/schemas/2015-05-01-preview/Microsoft.Sql.json#/definitions/SyncAgentProperties +type SyncAgentProperties struct { + + //SyncDatabaseId: ARM resource id of the sync database in the sync agent. + SyncDatabaseId *string `json:"syncDatabaseId,omitempty"` +} + +//Generated from: +type SyncAgentProperties_Status struct { + + //ExpiryTime: Expiration time of the sync agent version. + ExpiryTime *string `json:"expiryTime,omitempty"` + + //IsUpToDate: If the sync agent version is up to date. + IsUpToDate *bool `json:"isUpToDate,omitempty"` + + //LastAliveTime: Last alive time of the sync agent. + LastAliveTime *string `json:"lastAliveTime,omitempty"` + + //Name: Name of the sync agent. + Name *string `json:"name,omitempty"` + + //State: State of the sync agent. + State *SyncAgentPropertiesStatusState `json:"state,omitempty"` + + //SyncDatabaseId: ARM resource id of the sync database in the sync agent. + SyncDatabaseId *string `json:"syncDatabaseId,omitempty"` + + //Version: Version of the sync agent. + Version *string `json:"version,omitempty"` +} + +// +kubebuilder:validation:Enum={"NeverConnected","Offline","Online"} +type SyncAgentPropertiesStatusState string + +const ( + SyncAgentPropertiesStatusStateNeverConnected = SyncAgentPropertiesStatusState("NeverConnected") + SyncAgentPropertiesStatusStateOffline = SyncAgentPropertiesStatusState("Offline") + SyncAgentPropertiesStatusStateOnline = SyncAgentPropertiesStatusState("Online") +) + +func init() { + SchemeBuilder.Register(&ServersSyncAgents{}, &ServersSyncAgentsList{}) +} diff --git a/apis/generated/microsoft.sql/v20150501preview/servers_types_gen.go b/apis/generated/microsoft.sql/v20150501preview/servers_types_gen.go new file mode 100644 index 00000000..86a8a25d --- /dev/null +++ b/apis/generated/microsoft.sql/v20150501preview/servers_types_gen.go @@ -0,0 +1,145 @@ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT license. +// Code generated by k8s-infra-gen. DO NOT EDIT. +package v20150501preview + +import ( + "github.com/crossplane/crossplane-runtime/apis/core/v1alpha1" + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" +) + +// +kubebuilder:object:root=true +// +kubebuilder:subresource:status +type Servers struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec Servers_Spec `json:"spec,omitempty"` + Status Server_Status `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true +type ServersList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []Servers `json:"items"` +} + +type Server_Status struct { + v1alpha1.ResourceStatus `json:",inline"` + AtProvider ServersObservation `json:"atProvider"` +} + +type Servers_Spec struct { + v1alpha1.ResourceSpec `json:",inline"` + ForProvider ServersParameters `json:"forProvider"` +} + +type ServersObservation struct { + + //Id: Resource ID. + Id *string `json:"id,omitempty"` + + //Identity: The Azure Active Directory identity of the server. + Identity *ResourceIdentity_Status `json:"identity,omitempty"` + + //Kind: Kind of sql server. This is metadata used for the Azure portal experience. + Kind *string `json:"kind,omitempty"` + + // +kubebuilder:validation:Required + //Location: Resource location. + Location string `json:"location"` + + //Name: Resource name. + Name *string `json:"name,omitempty"` + + //Properties: Resource properties. + Properties *ServerProperties_Status `json:"properties,omitempty"` + + //Tags: Resource tags. + Tags map[string]string `json:"tags,omitempty"` + + //Type: Resource type. + Type *string `json:"type,omitempty"` +} + +type ServersParameters struct { + + // +kubebuilder:validation:Required + //ApiVersion: API Version of the resource type, optional when apiProfile is used + //on the template + ApiVersion ServersSpecApiVersion `json:"apiVersion"` + + //Identity: Azure Active Directory identity configuration for a resource. + Identity *ResourceIdentity `json:"identity,omitempty"` + + //Location: Location to deploy resource to + Location string `json:"location,omitempty"` + + // +kubebuilder:validation:Required + //Name: Name of the resource + Name string `json:"name"` + + // +kubebuilder:validation:Required + //Properties: The properties of a server. + Properties ServerProperties `json:"properties"` + ResourceGroupName string `json:"resourceGroupName"` + ResourceGroupNameRef *v1alpha1.Reference `json:"resourceGroupNameRef,omitempty"` + ResourceGroupNameSelector *v1alpha1.Selector `json:"resourceGroupNameSelector,omitempty"` + + //Tags: Name-value pairs to add to the resource + Tags map[string]string `json:"tags,omitempty"` + + // +kubebuilder:validation:Required + //Type: Resource type + Type ServersSpecType `json:"type"` +} + +//Generated from: https://schema.management.azure.com/schemas/2015-05-01-preview/Microsoft.Sql.json#/definitions/ServerProperties +type ServerProperties struct { + + //AdministratorLogin: Administrator username for the server. Once created it + //cannot be changed. + AdministratorLogin *string `json:"administratorLogin,omitempty"` + + //AdministratorLoginPassword: The administrator login password (required for + //server creation). + AdministratorLoginPassword *string `json:"administratorLoginPassword,omitempty"` + + //Version: The version of the server. + Version *string `json:"version,omitempty"` +} + +//Generated from: +type ServerProperties_Status struct { + + //AdministratorLogin: Administrator username for the server. Once created it + //cannot be changed. + AdministratorLogin *string `json:"administratorLogin,omitempty"` + + //AdministratorLoginPassword: The administrator login password (required for + //server creation). + AdministratorLoginPassword *string `json:"administratorLoginPassword,omitempty"` + + //FullyQualifiedDomainName: The fully qualified domain name of the server. + FullyQualifiedDomainName *string `json:"fullyQualifiedDomainName,omitempty"` + + //State: The state of the server. + State *string `json:"state,omitempty"` + + //Version: The version of the server. + Version *string `json:"version,omitempty"` +} + +// +kubebuilder:validation:Enum={"2015-05-01-preview"} +type ServersSpecApiVersion string + +const ServersSpecApiVersion20150501Preview = ServersSpecApiVersion("2015-05-01-preview") + +// +kubebuilder:validation:Enum={"Microsoft.Sql/servers"} +type ServersSpecType string + +const ServersSpecTypeMicrosoftSqlServers = ServersSpecType("Microsoft.Sql/servers") + +func init() { + SchemeBuilder.Register(&Servers{}, &ServersList{}) +} diff --git a/apis/generated/microsoft.sql/v20150501preview/servers_virtual_network_rules_types_gen.go b/apis/generated/microsoft.sql/v20150501preview/servers_virtual_network_rules_types_gen.go new file mode 100644 index 00000000..fa05e972 --- /dev/null +++ b/apis/generated/microsoft.sql/v20150501preview/servers_virtual_network_rules_types_gen.go @@ -0,0 +1,134 @@ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT license. +// Code generated by k8s-infra-gen. DO NOT EDIT. +package v20150501preview + +import ( + "github.com/crossplane/crossplane-runtime/apis/core/v1alpha1" + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" +) + +// +kubebuilder:object:root=true +// +kubebuilder:subresource:status +type ServersVirtualNetworkRules struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec ServersVirtualNetworkRules_Spec `json:"spec,omitempty"` + Status VirtualNetworkRule_Status `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true +type ServersVirtualNetworkRulesList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []ServersVirtualNetworkRules `json:"items"` +} + +type ServersVirtualNetworkRules_Spec struct { + v1alpha1.ResourceSpec `json:",inline"` + ForProvider ServersVirtualNetworkRulesParameters `json:"forProvider"` +} + +type VirtualNetworkRule_Status struct { + v1alpha1.ResourceStatus `json:",inline"` + AtProvider ServersVirtualNetworkRulesObservation `json:"atProvider"` +} + +type ServersVirtualNetworkRulesObservation struct { + + //Id: Resource ID. + Id *string `json:"id,omitempty"` + + //Name: Resource name. + Name *string `json:"name,omitempty"` + + //Properties: Resource properties. + Properties *VirtualNetworkRuleProperties_Status `json:"properties,omitempty"` + + //Type: Resource type. + Type *string `json:"type,omitempty"` +} + +type ServersVirtualNetworkRulesParameters struct { + + // +kubebuilder:validation:Required + //ApiVersion: API Version of the resource type, optional when apiProfile is used + //on the template + ApiVersion ServersVirtualNetworkRulesSpecApiVersion `json:"apiVersion"` + + //Location: Location to deploy resource to + Location *string `json:"location,omitempty"` + + // +kubebuilder:validation:Required + //Name: Name of the resource + Name string `json:"name"` + + // +kubebuilder:validation:Required + //Properties: Properties of a virtual network rule. + Properties VirtualNetworkRuleProperties `json:"properties"` + ResourceGroupName string `json:"resourceGroupName"` + ResourceGroupNameRef *v1alpha1.Reference `json:"resourceGroupNameRef,omitempty"` + ResourceGroupNameSelector *v1alpha1.Selector `json:"resourceGroupNameSelector,omitempty"` + ServersName string `json:"serversName"` + ServersNameRef *v1alpha1.Reference `json:"serversNameRef,omitempty"` + ServersNameSelector *v1alpha1.Selector `json:"serversNameSelector,omitempty"` + + //Tags: Name-value pairs to add to the resource + Tags map[string]string `json:"tags,omitempty"` + + // +kubebuilder:validation:Required + //Type: Resource type + Type ServersVirtualNetworkRulesSpecType `json:"type"` +} + +// +kubebuilder:validation:Enum={"2015-05-01-preview"} +type ServersVirtualNetworkRulesSpecApiVersion string + +const ServersVirtualNetworkRulesSpecApiVersion20150501Preview = ServersVirtualNetworkRulesSpecApiVersion("2015-05-01-preview") + +// +kubebuilder:validation:Enum={"Microsoft.Sql/servers/virtualNetworkRules"} +type ServersVirtualNetworkRulesSpecType string + +const ServersVirtualNetworkRulesSpecTypeMicrosoftSqlServersVirtualNetworkRules = ServersVirtualNetworkRulesSpecType("Microsoft.Sql/servers/virtualNetworkRules") + +//Generated from: https://schema.management.azure.com/schemas/2015-05-01-preview/Microsoft.Sql.json#/definitions/VirtualNetworkRuleProperties +type VirtualNetworkRuleProperties struct { + + //IgnoreMissingVnetServiceEndpoint: Create firewall rule before the virtual + //network has vnet service endpoint enabled. + IgnoreMissingVnetServiceEndpoint *bool `json:"ignoreMissingVnetServiceEndpoint,omitempty"` + + // +kubebuilder:validation:Required + //VirtualNetworkSubnetId: The ARM resource id of the virtual network subnet. + VirtualNetworkSubnetId string `json:"virtualNetworkSubnetId"` +} + +//Generated from: +type VirtualNetworkRuleProperties_Status struct { + + //IgnoreMissingVnetServiceEndpoint: Create firewall rule before the virtual + //network has vnet service endpoint enabled. + IgnoreMissingVnetServiceEndpoint *bool `json:"ignoreMissingVnetServiceEndpoint,omitempty"` + + //State: Virtual Network Rule State + State *VirtualNetworkRulePropertiesStatusState `json:"state,omitempty"` + + // +kubebuilder:validation:Required + //VirtualNetworkSubnetId: The ARM resource id of the virtual network subnet. + VirtualNetworkSubnetId string `json:"virtualNetworkSubnetId"` +} + +// +kubebuilder:validation:Enum={"Deleting","InProgress","Initializing","Ready","Unknown"} +type VirtualNetworkRulePropertiesStatusState string + +const ( + VirtualNetworkRulePropertiesStatusStateDeleting = VirtualNetworkRulePropertiesStatusState("Deleting") + VirtualNetworkRulePropertiesStatusStateInProgress = VirtualNetworkRulePropertiesStatusState("InProgress") + VirtualNetworkRulePropertiesStatusStateInitializing = VirtualNetworkRulePropertiesStatusState("Initializing") + VirtualNetworkRulePropertiesStatusStateReady = VirtualNetworkRulePropertiesStatusState("Ready") + VirtualNetworkRulePropertiesStatusStateUnknown = VirtualNetworkRulePropertiesStatusState("Unknown") +) + +func init() { + SchemeBuilder.Register(&ServersVirtualNetworkRules{}, &ServersVirtualNetworkRulesList{}) +} diff --git a/apis/generated/microsoft.sql/v20150501preview/zz_generated.deepcopy.go b/apis/generated/microsoft.sql/v20150501preview/zz_generated.deepcopy.go new file mode 100644 index 00000000..fc6d19f7 --- /dev/null +++ b/apis/generated/microsoft.sql/v20150501preview/zz_generated.deepcopy.go @@ -0,0 +1,3261 @@ +// +build !ignore_autogenerated + +/* +Copyright (c) Microsoft Corporation. +Licensed under the MIT license. +*/ + +// Code generated by controller-gen. DO NOT EDIT. + +package v20150501preview + +import ( + "github.com/crossplane/crossplane-runtime/apis/core/v1alpha1" + 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 *DatabaseBlobAuditingPolicyProperties) DeepCopyInto(out *DatabaseBlobAuditingPolicyProperties) { + *out = *in + if in.AuditActionsAndGroups != nil { + in, out := &in.AuditActionsAndGroups, &out.AuditActionsAndGroups + *out = make([]string, len(*in)) + copy(*out, *in) + } + if in.IsAzureMonitorTargetEnabled != nil { + in, out := &in.IsAzureMonitorTargetEnabled, &out.IsAzureMonitorTargetEnabled + *out = new(bool) + **out = **in + } + if in.IsStorageSecondaryKeyInUse != nil { + in, out := &in.IsStorageSecondaryKeyInUse, &out.IsStorageSecondaryKeyInUse + *out = new(bool) + **out = **in + } + if in.QueueDelayMs != nil { + in, out := &in.QueueDelayMs, &out.QueueDelayMs + *out = new(int) + **out = **in + } + if in.RetentionDays != nil { + in, out := &in.RetentionDays, &out.RetentionDays + *out = new(int) + **out = **in + } + if in.StorageAccountAccessKey != nil { + in, out := &in.StorageAccountAccessKey, &out.StorageAccountAccessKey + *out = new(string) + **out = **in + } + if in.StorageAccountSubscriptionId != nil { + in, out := &in.StorageAccountSubscriptionId, &out.StorageAccountSubscriptionId + *out = new(string) + **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 DatabaseBlobAuditingPolicyProperties. +func (in *DatabaseBlobAuditingPolicyProperties) DeepCopy() *DatabaseBlobAuditingPolicyProperties { + if in == nil { + return nil + } + out := new(DatabaseBlobAuditingPolicyProperties) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *DatabaseBlobAuditingPolicyProperties_Status) DeepCopyInto(out *DatabaseBlobAuditingPolicyProperties_Status) { + *out = *in + if in.AuditActionsAndGroups != nil { + in, out := &in.AuditActionsAndGroups, &out.AuditActionsAndGroups + *out = make([]string, len(*in)) + copy(*out, *in) + } + if in.IsStorageSecondaryKeyInUse != nil { + in, out := &in.IsStorageSecondaryKeyInUse, &out.IsStorageSecondaryKeyInUse + *out = new(bool) + **out = **in + } + if in.RetentionDays != nil { + in, out := &in.RetentionDays, &out.RetentionDays + *out = new(int) + **out = **in + } + if in.StorageAccountAccessKey != nil { + in, out := &in.StorageAccountAccessKey, &out.StorageAccountAccessKey + *out = new(string) + **out = **in + } + if in.StorageAccountSubscriptionId != nil { + in, out := &in.StorageAccountSubscriptionId, &out.StorageAccountSubscriptionId + *out = new(string) + **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 DatabaseBlobAuditingPolicyProperties_Status. +func (in *DatabaseBlobAuditingPolicyProperties_Status) DeepCopy() *DatabaseBlobAuditingPolicyProperties_Status { + if in == nil { + return nil + } + out := new(DatabaseBlobAuditingPolicyProperties_Status) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *DatabaseBlobAuditingPolicy_Status) DeepCopyInto(out *DatabaseBlobAuditingPolicy_Status) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + in.AtProvider.DeepCopyInto(&out.AtProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DatabaseBlobAuditingPolicy_Status. +func (in *DatabaseBlobAuditingPolicy_Status) DeepCopy() *DatabaseBlobAuditingPolicy_Status { + if in == nil { + return nil + } + out := new(DatabaseBlobAuditingPolicy_Status) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *EncryptionProtectorProperties) DeepCopyInto(out *EncryptionProtectorProperties) { + *out = *in + if in.ServerKeyName != nil { + in, out := &in.ServerKeyName, &out.ServerKeyName + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EncryptionProtectorProperties. +func (in *EncryptionProtectorProperties) DeepCopy() *EncryptionProtectorProperties { + if in == nil { + return nil + } + out := new(EncryptionProtectorProperties) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FailoverGroupProperties) DeepCopyInto(out *FailoverGroupProperties) { + *out = *in + if in.Databases != nil { + in, out := &in.Databases, &out.Databases + *out = make([]string, len(*in)) + copy(*out, *in) + } + if in.PartnerServers != nil { + in, out := &in.PartnerServers, &out.PartnerServers + *out = make([]PartnerInfo, len(*in)) + copy(*out, *in) + } + if in.ReadOnlyEndpoint != nil { + in, out := &in.ReadOnlyEndpoint, &out.ReadOnlyEndpoint + *out = new(FailoverGroupReadOnlyEndpoint) + (*in).DeepCopyInto(*out) + } + in.ReadWriteEndpoint.DeepCopyInto(&out.ReadWriteEndpoint) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FailoverGroupProperties. +func (in *FailoverGroupProperties) DeepCopy() *FailoverGroupProperties { + if in == nil { + return nil + } + out := new(FailoverGroupProperties) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FailoverGroupProperties_Status) DeepCopyInto(out *FailoverGroupProperties_Status) { + *out = *in + if in.Databases != nil { + in, out := &in.Databases, &out.Databases + *out = make([]string, len(*in)) + copy(*out, *in) + } + if in.PartnerServers != nil { + in, out := &in.PartnerServers, &out.PartnerServers + *out = make([]PartnerInfo_Status, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.ReadOnlyEndpoint != nil { + in, out := &in.ReadOnlyEndpoint, &out.ReadOnlyEndpoint + *out = new(FailoverGroupReadOnlyEndpoint_Status) + (*in).DeepCopyInto(*out) + } + in.ReadWriteEndpoint.DeepCopyInto(&out.ReadWriteEndpoint) + if in.ReplicationRole != nil { + in, out := &in.ReplicationRole, &out.ReplicationRole + *out = new(FailoverGroupPropertiesStatusReplicationRole) + **out = **in + } + if in.ReplicationState != nil { + in, out := &in.ReplicationState, &out.ReplicationState + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FailoverGroupProperties_Status. +func (in *FailoverGroupProperties_Status) DeepCopy() *FailoverGroupProperties_Status { + if in == nil { + return nil + } + out := new(FailoverGroupProperties_Status) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FailoverGroupReadOnlyEndpoint) DeepCopyInto(out *FailoverGroupReadOnlyEndpoint) { + *out = *in + if in.FailoverPolicy != nil { + in, out := &in.FailoverPolicy, &out.FailoverPolicy + *out = new(FailoverGroupReadOnlyEndpointFailoverPolicy) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FailoverGroupReadOnlyEndpoint. +func (in *FailoverGroupReadOnlyEndpoint) DeepCopy() *FailoverGroupReadOnlyEndpoint { + if in == nil { + return nil + } + out := new(FailoverGroupReadOnlyEndpoint) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FailoverGroupReadOnlyEndpoint_Status) DeepCopyInto(out *FailoverGroupReadOnlyEndpoint_Status) { + *out = *in + if in.FailoverPolicy != nil { + in, out := &in.FailoverPolicy, &out.FailoverPolicy + *out = new(FailoverGroupReadOnlyEndpointStatusFailoverPolicy) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FailoverGroupReadOnlyEndpoint_Status. +func (in *FailoverGroupReadOnlyEndpoint_Status) DeepCopy() *FailoverGroupReadOnlyEndpoint_Status { + if in == nil { + return nil + } + out := new(FailoverGroupReadOnlyEndpoint_Status) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FailoverGroupReadWriteEndpoint) DeepCopyInto(out *FailoverGroupReadWriteEndpoint) { + *out = *in + if in.FailoverWithDataLossGracePeriodMinutes != nil { + in, out := &in.FailoverWithDataLossGracePeriodMinutes, &out.FailoverWithDataLossGracePeriodMinutes + *out = new(int) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FailoverGroupReadWriteEndpoint. +func (in *FailoverGroupReadWriteEndpoint) DeepCopy() *FailoverGroupReadWriteEndpoint { + if in == nil { + return nil + } + out := new(FailoverGroupReadWriteEndpoint) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FailoverGroupReadWriteEndpoint_Status) DeepCopyInto(out *FailoverGroupReadWriteEndpoint_Status) { + *out = *in + if in.FailoverWithDataLossGracePeriodMinutes != nil { + in, out := &in.FailoverWithDataLossGracePeriodMinutes, &out.FailoverWithDataLossGracePeriodMinutes + *out = new(int) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FailoverGroupReadWriteEndpoint_Status. +func (in *FailoverGroupReadWriteEndpoint_Status) DeepCopy() *FailoverGroupReadWriteEndpoint_Status { + if in == nil { + return nil + } + out := new(FailoverGroupReadWriteEndpoint_Status) + 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_Status) DeepCopyInto(out *FailoverGroup_Status) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + in.AtProvider.DeepCopyInto(&out.AtProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FailoverGroup_Status. +func (in *FailoverGroup_Status) DeepCopy() *FailoverGroup_Status { + if in == nil { + return nil + } + out := new(FailoverGroup_Status) + 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_Status) DeepCopyInto(out *FirewallRule_Status) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + in.AtProvider.DeepCopyInto(&out.AtProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FirewallRule_Status. +func (in *FirewallRule_Status) DeepCopy() *FirewallRule_Status { + if in == nil { + return nil + } + out := new(FirewallRule_Status) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ManagedInstanceProperties) DeepCopyInto(out *ManagedInstanceProperties) { + *out = *in + if in.AdministratorLogin != nil { + in, out := &in.AdministratorLogin, &out.AdministratorLogin + *out = new(string) + **out = **in + } + if in.AdministratorLoginPassword != nil { + in, out := &in.AdministratorLoginPassword, &out.AdministratorLoginPassword + *out = new(string) + **out = **in + } + if in.Collation != nil { + in, out := &in.Collation, &out.Collation + *out = new(string) + **out = **in + } + if in.DnsZonePartner != nil { + in, out := &in.DnsZonePartner, &out.DnsZonePartner + *out = new(string) + **out = **in + } + if in.InstancePoolId != nil { + in, out := &in.InstancePoolId, &out.InstancePoolId + *out = new(string) + **out = **in + } + if in.LicenseType != nil { + in, out := &in.LicenseType, &out.LicenseType + *out = new(ManagedInstancePropertiesLicenseType) + **out = **in + } + if in.MaintenanceConfigurationId != nil { + in, out := &in.MaintenanceConfigurationId, &out.MaintenanceConfigurationId + *out = new(string) + **out = **in + } + if in.ManagedInstanceCreateMode != nil { + in, out := &in.ManagedInstanceCreateMode, &out.ManagedInstanceCreateMode + *out = new(ManagedInstancePropertiesManagedInstanceCreateMode) + **out = **in + } + if in.MinimalTlsVersion != nil { + in, out := &in.MinimalTlsVersion, &out.MinimalTlsVersion + *out = new(string) + **out = **in + } + if in.ProxyOverride != nil { + in, out := &in.ProxyOverride, &out.ProxyOverride + *out = new(ManagedInstancePropertiesProxyOverride) + **out = **in + } + if in.PublicDataEndpointEnabled != nil { + in, out := &in.PublicDataEndpointEnabled, &out.PublicDataEndpointEnabled + *out = new(bool) + **out = **in + } + if in.RestorePointInTime != nil { + in, out := &in.RestorePointInTime, &out.RestorePointInTime + *out = new(string) + **out = **in + } + if in.SourceManagedInstanceId != nil { + in, out := &in.SourceManagedInstanceId, &out.SourceManagedInstanceId + *out = new(string) + **out = **in + } + if in.StorageSizeInGB != nil { + in, out := &in.StorageSizeInGB, &out.StorageSizeInGB + *out = new(int) + **out = **in + } + if in.SubnetId != nil { + in, out := &in.SubnetId, &out.SubnetId + *out = new(string) + **out = **in + } + 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(int) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedInstanceProperties. +func (in *ManagedInstanceProperties) DeepCopy() *ManagedInstanceProperties { + if in == nil { + return nil + } + out := new(ManagedInstanceProperties) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ManagedInstanceProperties_Status) DeepCopyInto(out *ManagedInstanceProperties_Status) { + *out = *in + if in.AdministratorLogin != nil { + in, out := &in.AdministratorLogin, &out.AdministratorLogin + *out = new(string) + **out = **in + } + if in.AdministratorLoginPassword != nil { + in, out := &in.AdministratorLoginPassword, &out.AdministratorLoginPassword + *out = new(string) + **out = **in + } + if in.Collation != nil { + in, out := &in.Collation, &out.Collation + *out = new(string) + **out = **in + } + if in.DnsZone != nil { + in, out := &in.DnsZone, &out.DnsZone + *out = new(string) + **out = **in + } + if in.DnsZonePartner != nil { + in, out := &in.DnsZonePartner, &out.DnsZonePartner + *out = new(string) + **out = **in + } + if in.FullyQualifiedDomainName != nil { + in, out := &in.FullyQualifiedDomainName, &out.FullyQualifiedDomainName + *out = new(string) + **out = **in + } + if in.InstancePoolId != nil { + in, out := &in.InstancePoolId, &out.InstancePoolId + *out = new(string) + **out = **in + } + if in.LicenseType != nil { + in, out := &in.LicenseType, &out.LicenseType + *out = new(ManagedInstancePropertiesStatusLicenseType) + **out = **in + } + if in.MaintenanceConfigurationId != nil { + in, out := &in.MaintenanceConfigurationId, &out.MaintenanceConfigurationId + *out = new(string) + **out = **in + } + if in.ManagedInstanceCreateMode != nil { + in, out := &in.ManagedInstanceCreateMode, &out.ManagedInstanceCreateMode + *out = new(ManagedInstancePropertiesStatusManagedInstanceCreateMode) + **out = **in + } + if in.MinimalTlsVersion != nil { + in, out := &in.MinimalTlsVersion, &out.MinimalTlsVersion + *out = new(string) + **out = **in + } + if in.ProxyOverride != nil { + in, out := &in.ProxyOverride, &out.ProxyOverride + *out = new(ManagedInstancePropertiesStatusProxyOverride) + **out = **in + } + if in.PublicDataEndpointEnabled != nil { + in, out := &in.PublicDataEndpointEnabled, &out.PublicDataEndpointEnabled + *out = new(bool) + **out = **in + } + if in.RestorePointInTime != nil { + in, out := &in.RestorePointInTime, &out.RestorePointInTime + *out = new(string) + **out = **in + } + if in.SourceManagedInstanceId != nil { + in, out := &in.SourceManagedInstanceId, &out.SourceManagedInstanceId + *out = new(string) + **out = **in + } + if in.State != nil { + in, out := &in.State, &out.State + *out = new(string) + **out = **in + } + if in.StorageSizeInGB != nil { + in, out := &in.StorageSizeInGB, &out.StorageSizeInGB + *out = new(int) + **out = **in + } + if in.SubnetId != nil { + in, out := &in.SubnetId, &out.SubnetId + *out = new(string) + **out = **in + } + 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(int) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedInstanceProperties_Status. +func (in *ManagedInstanceProperties_Status) DeepCopy() *ManagedInstanceProperties_Status { + if in == nil { + return nil + } + out := new(ManagedInstanceProperties_Status) + 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_Status) DeepCopyInto(out *ManagedInstance_Status) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + in.AtProvider.DeepCopyInto(&out.AtProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedInstance_Status. +func (in *ManagedInstance_Status) DeepCopy() *ManagedInstance_Status { + if in == nil { + return nil + } + out := new(ManagedInstance_Status) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ManagedInstances) DeepCopyInto(out *ManagedInstances) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedInstances. +func (in *ManagedInstances) DeepCopy() *ManagedInstances { + if in == nil { + return nil + } + out := new(ManagedInstances) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *ManagedInstances) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ManagedInstancesList) DeepCopyInto(out *ManagedInstancesList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]ManagedInstances, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedInstancesList. +func (in *ManagedInstancesList) DeepCopy() *ManagedInstancesList { + if in == nil { + return nil + } + out := new(ManagedInstancesList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *ManagedInstancesList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ManagedInstancesObservation) DeepCopyInto(out *ManagedInstancesObservation) { + *out = *in + if in.Id != nil { + in, out := &in.Id, &out.Id + *out = new(string) + **out = **in + } + if in.Identity != nil { + in, out := &in.Identity, &out.Identity + *out = new(ResourceIdentity_Status) + (*in).DeepCopyInto(*out) + } + 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 = new(ManagedInstanceProperties_Status) + (*in).DeepCopyInto(*out) + } + if in.Sku != nil { + in, out := &in.Sku, &out.Sku + *out = new(Sku_Status) + (*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 { + (*out)[key] = val + } + } + 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 ManagedInstancesObservation. +func (in *ManagedInstancesObservation) DeepCopy() *ManagedInstancesObservation { + if in == nil { + return nil + } + out := new(ManagedInstancesObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ManagedInstancesParameters) DeepCopyInto(out *ManagedInstancesParameters) { + *out = *in + if in.Identity != nil { + in, out := &in.Identity, &out.Identity + *out = new(ResourceIdentity) + (*in).DeepCopyInto(*out) + } + in.Properties.DeepCopyInto(&out.Properties) + if in.ResourceGroupNameRef != nil { + in, out := &in.ResourceGroupNameRef, &out.ResourceGroupNameRef + *out = new(v1alpha1.Reference) + **out = **in + } + if in.ResourceGroupNameSelector != nil { + in, out := &in.ResourceGroupNameSelector, &out.ResourceGroupNameSelector + *out = new(v1alpha1.Selector) + (*in).DeepCopyInto(*out) + } + if in.Sku != nil { + in, out := &in.Sku, &out.Sku + *out = new(Sku) + (*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 { + (*out)[key] = val + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedInstancesParameters. +func (in *ManagedInstancesParameters) DeepCopy() *ManagedInstancesParameters { + if in == nil { + return nil + } + out := new(ManagedInstancesParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ManagedInstances_Spec) DeepCopyInto(out *ManagedInstances_Spec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedInstances_Spec. +func (in *ManagedInstances_Spec) DeepCopy() *ManagedInstances_Spec { + if in == nil { + return nil + } + out := new(ManagedInstances_Spec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *PartnerInfo) DeepCopyInto(out *PartnerInfo) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PartnerInfo. +func (in *PartnerInfo) DeepCopy() *PartnerInfo { + if in == nil { + return nil + } + out := new(PartnerInfo) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *PartnerInfo_Status) DeepCopyInto(out *PartnerInfo_Status) { + *out = *in + if in.Location != nil { + in, out := &in.Location, &out.Location + *out = new(string) + **out = **in + } + if in.ReplicationRole != nil { + in, out := &in.ReplicationRole, &out.ReplicationRole + *out = new(PartnerInfoStatusReplicationRole) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PartnerInfo_Status. +func (in *PartnerInfo_Status) DeepCopy() *PartnerInfo_Status { + if in == nil { + return nil + } + out := new(PartnerInfo_Status) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ResourceIdentity) DeepCopyInto(out *ResourceIdentity) { + *out = *in + if in.Type != nil { + in, out := &in.Type, &out.Type + *out = new(ResourceIdentityType) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceIdentity. +func (in *ResourceIdentity) DeepCopy() *ResourceIdentity { + if in == nil { + return nil + } + out := new(ResourceIdentity) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ResourceIdentity_Status) DeepCopyInto(out *ResourceIdentity_Status) { + *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(ResourceIdentityStatusType) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceIdentity_Status. +func (in *ResourceIdentity_Status) DeepCopy() *ResourceIdentity_Status { + if in == nil { + return nil + } + out := new(ResourceIdentity_Status) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ServerFirewallRuleProperties) DeepCopyInto(out *ServerFirewallRuleProperties) { + *out = *in + if in.EndIpAddress != nil { + in, out := &in.EndIpAddress, &out.EndIpAddress + *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 ServerFirewallRuleProperties. +func (in *ServerFirewallRuleProperties) DeepCopy() *ServerFirewallRuleProperties { + if in == nil { + return nil + } + out := new(ServerFirewallRuleProperties) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ServerFirewallRuleProperties_Status) DeepCopyInto(out *ServerFirewallRuleProperties_Status) { + *out = *in + if in.EndIpAddress != nil { + in, out := &in.EndIpAddress, &out.EndIpAddress + *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 ServerFirewallRuleProperties_Status. +func (in *ServerFirewallRuleProperties_Status) DeepCopy() *ServerFirewallRuleProperties_Status { + if in == nil { + return nil + } + out := new(ServerFirewallRuleProperties_Status) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ServerKeyProperties) DeepCopyInto(out *ServerKeyProperties) { + *out = *in + if in.CreationDate != nil { + in, out := &in.CreationDate, &out.CreationDate + *out = new(string) + **out = **in + } + if in.Thumbprint != nil { + in, out := &in.Thumbprint, &out.Thumbprint + *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 ServerKeyProperties. +func (in *ServerKeyProperties) DeepCopy() *ServerKeyProperties { + if in == nil { + return nil + } + out := new(ServerKeyProperties) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ServerKeyProperties_Status) DeepCopyInto(out *ServerKeyProperties_Status) { + *out = *in + if in.CreationDate != nil { + in, out := &in.CreationDate, &out.CreationDate + *out = new(string) + **out = **in + } + if in.Subregion != nil { + in, out := &in.Subregion, &out.Subregion + *out = new(string) + **out = **in + } + if in.Thumbprint != nil { + in, out := &in.Thumbprint, &out.Thumbprint + *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 ServerKeyProperties_Status. +func (in *ServerKeyProperties_Status) DeepCopy() *ServerKeyProperties_Status { + if in == nil { + return nil + } + out := new(ServerKeyProperties_Status) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ServerKey_Status) DeepCopyInto(out *ServerKey_Status) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + in.AtProvider.DeepCopyInto(&out.AtProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServerKey_Status. +func (in *ServerKey_Status) DeepCopy() *ServerKey_Status { + if in == nil { + return nil + } + out := new(ServerKey_Status) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ServerProperties) DeepCopyInto(out *ServerProperties) { + *out = *in + if in.AdministratorLogin != nil { + in, out := &in.AdministratorLogin, &out.AdministratorLogin + *out = new(string) + **out = **in + } + if in.AdministratorLoginPassword != nil { + in, out := &in.AdministratorLoginPassword, &out.AdministratorLoginPassword + *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 ServerProperties. +func (in *ServerProperties) DeepCopy() *ServerProperties { + if in == nil { + return nil + } + out := new(ServerProperties) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ServerProperties_Status) DeepCopyInto(out *ServerProperties_Status) { + *out = *in + if in.AdministratorLogin != nil { + in, out := &in.AdministratorLogin, &out.AdministratorLogin + *out = new(string) + **out = **in + } + if in.AdministratorLoginPassword != nil { + in, out := &in.AdministratorLoginPassword, &out.AdministratorLoginPassword + *out = new(string) + **out = **in + } + if in.FullyQualifiedDomainName != nil { + in, out := &in.FullyQualifiedDomainName, &out.FullyQualifiedDomainName + *out = new(string) + **out = **in + } + if in.State != nil { + in, out := &in.State, &out.State + *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 ServerProperties_Status. +func (in *ServerProperties_Status) DeepCopy() *ServerProperties_Status { + if in == nil { + return nil + } + out := new(ServerProperties_Status) + 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_Status) DeepCopyInto(out *Server_Status) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + in.AtProvider.DeepCopyInto(&out.AtProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Server_Status. +func (in *Server_Status) DeepCopy() *Server_Status { + if in == nil { + return nil + } + out := new(Server_Status) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *Servers) DeepCopyInto(out *Servers) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Servers. +func (in *Servers) DeepCopy() *Servers { + if in == nil { + return nil + } + out := new(Servers) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *Servers) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ServersDatabasesAuditingSettings) DeepCopyInto(out *ServersDatabasesAuditingSettings) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServersDatabasesAuditingSettings. +func (in *ServersDatabasesAuditingSettings) DeepCopy() *ServersDatabasesAuditingSettings { + if in == nil { + return nil + } + out := new(ServersDatabasesAuditingSettings) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *ServersDatabasesAuditingSettings) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ServersDatabasesAuditingSettingsList) DeepCopyInto(out *ServersDatabasesAuditingSettingsList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]ServersDatabasesAuditingSettings, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServersDatabasesAuditingSettingsList. +func (in *ServersDatabasesAuditingSettingsList) DeepCopy() *ServersDatabasesAuditingSettingsList { + if in == nil { + return nil + } + out := new(ServersDatabasesAuditingSettingsList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *ServersDatabasesAuditingSettingsList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ServersDatabasesAuditingSettingsObservation) DeepCopyInto(out *ServersDatabasesAuditingSettingsObservation) { + *out = *in + if in.Id != nil { + in, out := &in.Id, &out.Id + *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.Properties != nil { + in, out := &in.Properties, &out.Properties + *out = new(DatabaseBlobAuditingPolicyProperties_Status) + (*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 ServersDatabasesAuditingSettingsObservation. +func (in *ServersDatabasesAuditingSettingsObservation) DeepCopy() *ServersDatabasesAuditingSettingsObservation { + if in == nil { + return nil + } + out := new(ServersDatabasesAuditingSettingsObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ServersDatabasesAuditingSettingsParameters) DeepCopyInto(out *ServersDatabasesAuditingSettingsParameters) { + *out = *in + if in.Location != nil { + in, out := &in.Location, &out.Location + *out = new(string) + **out = **in + } + in.Properties.DeepCopyInto(&out.Properties) + if in.ResourceGroupNameRef != nil { + in, out := &in.ResourceGroupNameRef, &out.ResourceGroupNameRef + *out = new(v1alpha1.Reference) + **out = **in + } + if in.ResourceGroupNameSelector != nil { + in, out := &in.ResourceGroupNameSelector, &out.ResourceGroupNameSelector + *out = new(v1alpha1.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 { + (*out)[key] = val + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServersDatabasesAuditingSettingsParameters. +func (in *ServersDatabasesAuditingSettingsParameters) DeepCopy() *ServersDatabasesAuditingSettingsParameters { + if in == nil { + return nil + } + out := new(ServersDatabasesAuditingSettingsParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ServersDatabasesAuditingSettings_Spec) DeepCopyInto(out *ServersDatabasesAuditingSettings_Spec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServersDatabasesAuditingSettings_Spec. +func (in *ServersDatabasesAuditingSettings_Spec) DeepCopy() *ServersDatabasesAuditingSettings_Spec { + if in == nil { + return nil + } + out := new(ServersDatabasesAuditingSettings_Spec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ServersDatabasesSyncGroups) DeepCopyInto(out *ServersDatabasesSyncGroups) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServersDatabasesSyncGroups. +func (in *ServersDatabasesSyncGroups) DeepCopy() *ServersDatabasesSyncGroups { + if in == nil { + return nil + } + out := new(ServersDatabasesSyncGroups) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *ServersDatabasesSyncGroups) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ServersDatabasesSyncGroupsList) DeepCopyInto(out *ServersDatabasesSyncGroupsList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]ServersDatabasesSyncGroups, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServersDatabasesSyncGroupsList. +func (in *ServersDatabasesSyncGroupsList) DeepCopy() *ServersDatabasesSyncGroupsList { + if in == nil { + return nil + } + out := new(ServersDatabasesSyncGroupsList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *ServersDatabasesSyncGroupsList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ServersDatabasesSyncGroupsObservation) DeepCopyInto(out *ServersDatabasesSyncGroupsObservation) { + *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.Properties != nil { + in, out := &in.Properties, &out.Properties + *out = new(SyncGroupProperties_Status) + (*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 ServersDatabasesSyncGroupsObservation. +func (in *ServersDatabasesSyncGroupsObservation) DeepCopy() *ServersDatabasesSyncGroupsObservation { + if in == nil { + return nil + } + out := new(ServersDatabasesSyncGroupsObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ServersDatabasesSyncGroupsParameters) DeepCopyInto(out *ServersDatabasesSyncGroupsParameters) { + *out = *in + if in.Location != nil { + in, out := &in.Location, &out.Location + *out = new(string) + **out = **in + } + in.Properties.DeepCopyInto(&out.Properties) + if in.ResourceGroupNameRef != nil { + in, out := &in.ResourceGroupNameRef, &out.ResourceGroupNameRef + *out = new(v1alpha1.Reference) + **out = **in + } + if in.ResourceGroupNameSelector != nil { + in, out := &in.ResourceGroupNameSelector, &out.ResourceGroupNameSelector + *out = new(v1alpha1.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 { + (*out)[key] = val + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServersDatabasesSyncGroupsParameters. +func (in *ServersDatabasesSyncGroupsParameters) DeepCopy() *ServersDatabasesSyncGroupsParameters { + if in == nil { + return nil + } + out := new(ServersDatabasesSyncGroupsParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ServersDatabasesSyncGroupsSyncMembers) DeepCopyInto(out *ServersDatabasesSyncGroupsSyncMembers) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServersDatabasesSyncGroupsSyncMembers. +func (in *ServersDatabasesSyncGroupsSyncMembers) DeepCopy() *ServersDatabasesSyncGroupsSyncMembers { + if in == nil { + return nil + } + out := new(ServersDatabasesSyncGroupsSyncMembers) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *ServersDatabasesSyncGroupsSyncMembers) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ServersDatabasesSyncGroupsSyncMembersList) DeepCopyInto(out *ServersDatabasesSyncGroupsSyncMembersList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]ServersDatabasesSyncGroupsSyncMembers, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServersDatabasesSyncGroupsSyncMembersList. +func (in *ServersDatabasesSyncGroupsSyncMembersList) DeepCopy() *ServersDatabasesSyncGroupsSyncMembersList { + if in == nil { + return nil + } + out := new(ServersDatabasesSyncGroupsSyncMembersList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *ServersDatabasesSyncGroupsSyncMembersList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ServersDatabasesSyncGroupsSyncMembersObservation) DeepCopyInto(out *ServersDatabasesSyncGroupsSyncMembersObservation) { + *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.Properties != nil { + in, out := &in.Properties, &out.Properties + *out = new(SyncMemberProperties_Status) + (*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 ServersDatabasesSyncGroupsSyncMembersObservation. +func (in *ServersDatabasesSyncGroupsSyncMembersObservation) DeepCopy() *ServersDatabasesSyncGroupsSyncMembersObservation { + if in == nil { + return nil + } + out := new(ServersDatabasesSyncGroupsSyncMembersObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ServersDatabasesSyncGroupsSyncMembersParameters) DeepCopyInto(out *ServersDatabasesSyncGroupsSyncMembersParameters) { + *out = *in + if in.Location != nil { + in, out := &in.Location, &out.Location + *out = new(string) + **out = **in + } + in.Properties.DeepCopyInto(&out.Properties) + if in.ResourceGroupNameRef != nil { + in, out := &in.ResourceGroupNameRef, &out.ResourceGroupNameRef + *out = new(v1alpha1.Reference) + **out = **in + } + if in.ResourceGroupNameSelector != nil { + in, out := &in.ResourceGroupNameSelector, &out.ResourceGroupNameSelector + *out = new(v1alpha1.Selector) + (*in).DeepCopyInto(*out) + } + if in.ServersDatabasesSyncGroupsNameRef != nil { + in, out := &in.ServersDatabasesSyncGroupsNameRef, &out.ServersDatabasesSyncGroupsNameRef + *out = new(v1alpha1.Reference) + **out = **in + } + if in.ServersDatabasesSyncGroupsNameSelector != nil { + in, out := &in.ServersDatabasesSyncGroupsNameSelector, &out.ServersDatabasesSyncGroupsNameSelector + *out = new(v1alpha1.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 { + (*out)[key] = val + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServersDatabasesSyncGroupsSyncMembersParameters. +func (in *ServersDatabasesSyncGroupsSyncMembersParameters) DeepCopy() *ServersDatabasesSyncGroupsSyncMembersParameters { + if in == nil { + return nil + } + out := new(ServersDatabasesSyncGroupsSyncMembersParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ServersDatabasesSyncGroupsSyncMembers_Spec) DeepCopyInto(out *ServersDatabasesSyncGroupsSyncMembers_Spec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServersDatabasesSyncGroupsSyncMembers_Spec. +func (in *ServersDatabasesSyncGroupsSyncMembers_Spec) DeepCopy() *ServersDatabasesSyncGroupsSyncMembers_Spec { + if in == nil { + return nil + } + out := new(ServersDatabasesSyncGroupsSyncMembers_Spec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ServersDatabasesSyncGroups_Spec) DeepCopyInto(out *ServersDatabasesSyncGroups_Spec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServersDatabasesSyncGroups_Spec. +func (in *ServersDatabasesSyncGroups_Spec) DeepCopy() *ServersDatabasesSyncGroups_Spec { + if in == nil { + return nil + } + out := new(ServersDatabasesSyncGroups_Spec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ServersEncryptionProtector) DeepCopyInto(out *ServersEncryptionProtector) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServersEncryptionProtector. +func (in *ServersEncryptionProtector) DeepCopy() *ServersEncryptionProtector { + if in == nil { + return nil + } + out := new(ServersEncryptionProtector) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *ServersEncryptionProtector) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ServersEncryptionProtectorList) DeepCopyInto(out *ServersEncryptionProtectorList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]ServersEncryptionProtector, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServersEncryptionProtectorList. +func (in *ServersEncryptionProtectorList) DeepCopy() *ServersEncryptionProtectorList { + if in == nil { + return nil + } + out := new(ServersEncryptionProtectorList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *ServersEncryptionProtectorList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ServersEncryptionProtectorParameters) DeepCopyInto(out *ServersEncryptionProtectorParameters) { + *out = *in + if in.Location != nil { + in, out := &in.Location, &out.Location + *out = new(string) + **out = **in + } + in.Properties.DeepCopyInto(&out.Properties) + if in.ResourceGroupNameRef != nil { + in, out := &in.ResourceGroupNameRef, &out.ResourceGroupNameRef + *out = new(v1alpha1.Reference) + **out = **in + } + if in.ResourceGroupNameSelector != nil { + in, out := &in.ResourceGroupNameSelector, &out.ResourceGroupNameSelector + *out = new(v1alpha1.Selector) + (*in).DeepCopyInto(*out) + } + if in.ServersNameRef != nil { + in, out := &in.ServersNameRef, &out.ServersNameRef + *out = new(v1alpha1.Reference) + **out = **in + } + if in.ServersNameSelector != nil { + in, out := &in.ServersNameSelector, &out.ServersNameSelector + *out = new(v1alpha1.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 { + (*out)[key] = val + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServersEncryptionProtectorParameters. +func (in *ServersEncryptionProtectorParameters) DeepCopy() *ServersEncryptionProtectorParameters { + if in == nil { + return nil + } + out := new(ServersEncryptionProtectorParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ServersEncryptionProtector_Spec) DeepCopyInto(out *ServersEncryptionProtector_Spec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServersEncryptionProtector_Spec. +func (in *ServersEncryptionProtector_Spec) DeepCopy() *ServersEncryptionProtector_Spec { + if in == nil { + return nil + } + out := new(ServersEncryptionProtector_Spec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ServersFailoverGroups) DeepCopyInto(out *ServersFailoverGroups) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServersFailoverGroups. +func (in *ServersFailoverGroups) DeepCopy() *ServersFailoverGroups { + if in == nil { + return nil + } + out := new(ServersFailoverGroups) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *ServersFailoverGroups) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ServersFailoverGroupsList) DeepCopyInto(out *ServersFailoverGroupsList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]ServersFailoverGroups, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServersFailoverGroupsList. +func (in *ServersFailoverGroupsList) DeepCopy() *ServersFailoverGroupsList { + if in == nil { + return nil + } + out := new(ServersFailoverGroupsList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *ServersFailoverGroupsList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ServersFailoverGroupsObservation) DeepCopyInto(out *ServersFailoverGroupsObservation) { + *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.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.Properties != nil { + in, out := &in.Properties, &out.Properties + *out = new(FailoverGroupProperties_Status) + (*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 { + (*out)[key] = val + } + } + 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 ServersFailoverGroupsObservation. +func (in *ServersFailoverGroupsObservation) DeepCopy() *ServersFailoverGroupsObservation { + if in == nil { + return nil + } + out := new(ServersFailoverGroupsObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ServersFailoverGroupsParameters) DeepCopyInto(out *ServersFailoverGroupsParameters) { + *out = *in + if in.Location != nil { + in, out := &in.Location, &out.Location + *out = new(string) + **out = **in + } + in.Properties.DeepCopyInto(&out.Properties) + if in.ResourceGroupNameRef != nil { + in, out := &in.ResourceGroupNameRef, &out.ResourceGroupNameRef + *out = new(v1alpha1.Reference) + **out = **in + } + if in.ResourceGroupNameSelector != nil { + in, out := &in.ResourceGroupNameSelector, &out.ResourceGroupNameSelector + *out = new(v1alpha1.Selector) + (*in).DeepCopyInto(*out) + } + if in.ServersNameRef != nil { + in, out := &in.ServersNameRef, &out.ServersNameRef + *out = new(v1alpha1.Reference) + **out = **in + } + if in.ServersNameSelector != nil { + in, out := &in.ServersNameSelector, &out.ServersNameSelector + *out = new(v1alpha1.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 { + (*out)[key] = val + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServersFailoverGroupsParameters. +func (in *ServersFailoverGroupsParameters) DeepCopy() *ServersFailoverGroupsParameters { + if in == nil { + return nil + } + out := new(ServersFailoverGroupsParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ServersFailoverGroups_Spec) DeepCopyInto(out *ServersFailoverGroups_Spec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServersFailoverGroups_Spec. +func (in *ServersFailoverGroups_Spec) DeepCopy() *ServersFailoverGroups_Spec { + if in == nil { + return nil + } + out := new(ServersFailoverGroups_Spec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ServersFirewallRules) DeepCopyInto(out *ServersFirewallRules) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServersFirewallRules. +func (in *ServersFirewallRules) DeepCopy() *ServersFirewallRules { + if in == nil { + return nil + } + out := new(ServersFirewallRules) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *ServersFirewallRules) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ServersFirewallRulesList) DeepCopyInto(out *ServersFirewallRulesList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]ServersFirewallRules, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServersFirewallRulesList. +func (in *ServersFirewallRulesList) DeepCopy() *ServersFirewallRulesList { + if in == nil { + return nil + } + out := new(ServersFirewallRulesList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *ServersFirewallRulesList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ServersFirewallRulesObservation) DeepCopyInto(out *ServersFirewallRulesObservation) { + *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.Properties != nil { + in, out := &in.Properties, &out.Properties + *out = new(ServerFirewallRuleProperties_Status) + (*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 ServersFirewallRulesObservation. +func (in *ServersFirewallRulesObservation) DeepCopy() *ServersFirewallRulesObservation { + if in == nil { + return nil + } + out := new(ServersFirewallRulesObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ServersFirewallRulesParameters) DeepCopyInto(out *ServersFirewallRulesParameters) { + *out = *in + if in.Location != nil { + in, out := &in.Location, &out.Location + *out = new(string) + **out = **in + } + in.Properties.DeepCopyInto(&out.Properties) + if in.ResourceGroupNameRef != nil { + in, out := &in.ResourceGroupNameRef, &out.ResourceGroupNameRef + *out = new(v1alpha1.Reference) + **out = **in + } + if in.ResourceGroupNameSelector != nil { + in, out := &in.ResourceGroupNameSelector, &out.ResourceGroupNameSelector + *out = new(v1alpha1.Selector) + (*in).DeepCopyInto(*out) + } + if in.ServersNameRef != nil { + in, out := &in.ServersNameRef, &out.ServersNameRef + *out = new(v1alpha1.Reference) + **out = **in + } + if in.ServersNameSelector != nil { + in, out := &in.ServersNameSelector, &out.ServersNameSelector + *out = new(v1alpha1.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 { + (*out)[key] = val + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServersFirewallRulesParameters. +func (in *ServersFirewallRulesParameters) DeepCopy() *ServersFirewallRulesParameters { + if in == nil { + return nil + } + out := new(ServersFirewallRulesParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ServersFirewallRules_Spec) DeepCopyInto(out *ServersFirewallRules_Spec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServersFirewallRules_Spec. +func (in *ServersFirewallRules_Spec) DeepCopy() *ServersFirewallRules_Spec { + if in == nil { + return nil + } + out := new(ServersFirewallRules_Spec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ServersKeys) DeepCopyInto(out *ServersKeys) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServersKeys. +func (in *ServersKeys) DeepCopy() *ServersKeys { + if in == nil { + return nil + } + out := new(ServersKeys) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *ServersKeys) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ServersKeysList) DeepCopyInto(out *ServersKeysList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]ServersKeys, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServersKeysList. +func (in *ServersKeysList) DeepCopy() *ServersKeysList { + if in == nil { + return nil + } + out := new(ServersKeysList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *ServersKeysList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ServersKeysObservation) DeepCopyInto(out *ServersKeysObservation) { + *out = *in + if in.Id != nil { + in, out := &in.Id, &out.Id + *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.Properties != nil { + in, out := &in.Properties, &out.Properties + *out = new(ServerKeyProperties_Status) + (*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 ServersKeysObservation. +func (in *ServersKeysObservation) DeepCopy() *ServersKeysObservation { + if in == nil { + return nil + } + out := new(ServersKeysObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ServersKeysParameters) DeepCopyInto(out *ServersKeysParameters) { + *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 + } + in.Properties.DeepCopyInto(&out.Properties) + if in.ResourceGroupNameRef != nil { + in, out := &in.ResourceGroupNameRef, &out.ResourceGroupNameRef + *out = new(v1alpha1.Reference) + **out = **in + } + if in.ResourceGroupNameSelector != nil { + in, out := &in.ResourceGroupNameSelector, &out.ResourceGroupNameSelector + *out = new(v1alpha1.Selector) + (*in).DeepCopyInto(*out) + } + if in.ServersNameRef != nil { + in, out := &in.ServersNameRef, &out.ServersNameRef + *out = new(v1alpha1.Reference) + **out = **in + } + if in.ServersNameSelector != nil { + in, out := &in.ServersNameSelector, &out.ServersNameSelector + *out = new(v1alpha1.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 { + (*out)[key] = val + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServersKeysParameters. +func (in *ServersKeysParameters) DeepCopy() *ServersKeysParameters { + if in == nil { + return nil + } + out := new(ServersKeysParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ServersKeys_Spec) DeepCopyInto(out *ServersKeys_Spec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServersKeys_Spec. +func (in *ServersKeys_Spec) DeepCopy() *ServersKeys_Spec { + if in == nil { + return nil + } + out := new(ServersKeys_Spec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ServersList) DeepCopyInto(out *ServersList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]Servers, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServersList. +func (in *ServersList) DeepCopy() *ServersList { + if in == nil { + return nil + } + out := new(ServersList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *ServersList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ServersObservation) DeepCopyInto(out *ServersObservation) { + *out = *in + if in.Id != nil { + in, out := &in.Id, &out.Id + *out = new(string) + **out = **in + } + if in.Identity != nil { + in, out := &in.Identity, &out.Identity + *out = new(ResourceIdentity_Status) + (*in).DeepCopyInto(*out) + } + 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.Properties != nil { + in, out := &in.Properties, &out.Properties + *out = new(ServerProperties_Status) + (*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 { + (*out)[key] = val + } + } + 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 ServersObservation. +func (in *ServersObservation) DeepCopy() *ServersObservation { + if in == nil { + return nil + } + out := new(ServersObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ServersParameters) DeepCopyInto(out *ServersParameters) { + *out = *in + if in.Identity != nil { + in, out := &in.Identity, &out.Identity + *out = new(ResourceIdentity) + (*in).DeepCopyInto(*out) + } + in.Properties.DeepCopyInto(&out.Properties) + if in.ResourceGroupNameRef != nil { + in, out := &in.ResourceGroupNameRef, &out.ResourceGroupNameRef + *out = new(v1alpha1.Reference) + **out = **in + } + if in.ResourceGroupNameSelector != nil { + in, out := &in.ResourceGroupNameSelector, &out.ResourceGroupNameSelector + *out = new(v1alpha1.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 { + (*out)[key] = val + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServersParameters. +func (in *ServersParameters) DeepCopy() *ServersParameters { + if in == nil { + return nil + } + out := new(ServersParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ServersSyncAgents) DeepCopyInto(out *ServersSyncAgents) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServersSyncAgents. +func (in *ServersSyncAgents) DeepCopy() *ServersSyncAgents { + if in == nil { + return nil + } + out := new(ServersSyncAgents) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *ServersSyncAgents) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ServersSyncAgentsList) DeepCopyInto(out *ServersSyncAgentsList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]ServersSyncAgents, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServersSyncAgentsList. +func (in *ServersSyncAgentsList) DeepCopy() *ServersSyncAgentsList { + if in == nil { + return nil + } + out := new(ServersSyncAgentsList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *ServersSyncAgentsList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ServersSyncAgentsObservation) DeepCopyInto(out *ServersSyncAgentsObservation) { + *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.Properties != nil { + in, out := &in.Properties, &out.Properties + *out = new(SyncAgentProperties_Status) + (*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 ServersSyncAgentsObservation. +func (in *ServersSyncAgentsObservation) DeepCopy() *ServersSyncAgentsObservation { + if in == nil { + return nil + } + out := new(ServersSyncAgentsObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ServersSyncAgentsParameters) DeepCopyInto(out *ServersSyncAgentsParameters) { + *out = *in + if in.Location != nil { + in, out := &in.Location, &out.Location + *out = new(string) + **out = **in + } + in.Properties.DeepCopyInto(&out.Properties) + if in.ResourceGroupNameRef != nil { + in, out := &in.ResourceGroupNameRef, &out.ResourceGroupNameRef + *out = new(v1alpha1.Reference) + **out = **in + } + if in.ResourceGroupNameSelector != nil { + in, out := &in.ResourceGroupNameSelector, &out.ResourceGroupNameSelector + *out = new(v1alpha1.Selector) + (*in).DeepCopyInto(*out) + } + if in.ServersNameRef != nil { + in, out := &in.ServersNameRef, &out.ServersNameRef + *out = new(v1alpha1.Reference) + **out = **in + } + if in.ServersNameSelector != nil { + in, out := &in.ServersNameSelector, &out.ServersNameSelector + *out = new(v1alpha1.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 { + (*out)[key] = val + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServersSyncAgentsParameters. +func (in *ServersSyncAgentsParameters) DeepCopy() *ServersSyncAgentsParameters { + if in == nil { + return nil + } + out := new(ServersSyncAgentsParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ServersSyncAgents_Spec) DeepCopyInto(out *ServersSyncAgents_Spec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServersSyncAgents_Spec. +func (in *ServersSyncAgents_Spec) DeepCopy() *ServersSyncAgents_Spec { + if in == nil { + return nil + } + out := new(ServersSyncAgents_Spec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ServersVirtualNetworkRules) DeepCopyInto(out *ServersVirtualNetworkRules) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServersVirtualNetworkRules. +func (in *ServersVirtualNetworkRules) DeepCopy() *ServersVirtualNetworkRules { + if in == nil { + return nil + } + out := new(ServersVirtualNetworkRules) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *ServersVirtualNetworkRules) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ServersVirtualNetworkRulesList) DeepCopyInto(out *ServersVirtualNetworkRulesList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]ServersVirtualNetworkRules, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServersVirtualNetworkRulesList. +func (in *ServersVirtualNetworkRulesList) DeepCopy() *ServersVirtualNetworkRulesList { + if in == nil { + return nil + } + out := new(ServersVirtualNetworkRulesList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *ServersVirtualNetworkRulesList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ServersVirtualNetworkRulesObservation) DeepCopyInto(out *ServersVirtualNetworkRulesObservation) { + *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.Properties != nil { + in, out := &in.Properties, &out.Properties + *out = new(VirtualNetworkRuleProperties_Status) + (*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 ServersVirtualNetworkRulesObservation. +func (in *ServersVirtualNetworkRulesObservation) DeepCopy() *ServersVirtualNetworkRulesObservation { + if in == nil { + return nil + } + out := new(ServersVirtualNetworkRulesObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ServersVirtualNetworkRulesParameters) DeepCopyInto(out *ServersVirtualNetworkRulesParameters) { + *out = *in + if in.Location != nil { + in, out := &in.Location, &out.Location + *out = new(string) + **out = **in + } + in.Properties.DeepCopyInto(&out.Properties) + if in.ResourceGroupNameRef != nil { + in, out := &in.ResourceGroupNameRef, &out.ResourceGroupNameRef + *out = new(v1alpha1.Reference) + **out = **in + } + if in.ResourceGroupNameSelector != nil { + in, out := &in.ResourceGroupNameSelector, &out.ResourceGroupNameSelector + *out = new(v1alpha1.Selector) + (*in).DeepCopyInto(*out) + } + if in.ServersNameRef != nil { + in, out := &in.ServersNameRef, &out.ServersNameRef + *out = new(v1alpha1.Reference) + **out = **in + } + if in.ServersNameSelector != nil { + in, out := &in.ServersNameSelector, &out.ServersNameSelector + *out = new(v1alpha1.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 { + (*out)[key] = val + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServersVirtualNetworkRulesParameters. +func (in *ServersVirtualNetworkRulesParameters) DeepCopy() *ServersVirtualNetworkRulesParameters { + if in == nil { + return nil + } + out := new(ServersVirtualNetworkRulesParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ServersVirtualNetworkRules_Spec) DeepCopyInto(out *ServersVirtualNetworkRules_Spec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServersVirtualNetworkRules_Spec. +func (in *ServersVirtualNetworkRules_Spec) DeepCopy() *ServersVirtualNetworkRules_Spec { + if in == nil { + return nil + } + out := new(ServersVirtualNetworkRules_Spec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *Servers_Spec) DeepCopyInto(out *Servers_Spec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Servers_Spec. +func (in *Servers_Spec) DeepCopy() *Servers_Spec { + if in == nil { + return nil + } + out := new(Servers_Spec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *Sku) DeepCopyInto(out *Sku) { + *out = *in + if in.Capacity != nil { + in, out := &in.Capacity, &out.Capacity + *out = new(int) + **out = **in + } + if in.Family != nil { + in, out := &in.Family, &out.Family + *out = new(string) + **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 Sku. +func (in *Sku) DeepCopy() *Sku { + if in == nil { + return nil + } + out := new(Sku) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *Sku_Status) DeepCopyInto(out *Sku_Status) { + *out = *in + if in.Capacity != nil { + in, out := &in.Capacity, &out.Capacity + *out = new(int) + **out = **in + } + if in.Family != nil { + in, out := &in.Family, &out.Family + *out = new(string) + **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 Sku_Status. +func (in *Sku_Status) DeepCopy() *Sku_Status { + if in == nil { + return nil + } + out := new(Sku_Status) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SyncAgentProperties) DeepCopyInto(out *SyncAgentProperties) { + *out = *in + if in.SyncDatabaseId != nil { + in, out := &in.SyncDatabaseId, &out.SyncDatabaseId + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SyncAgentProperties. +func (in *SyncAgentProperties) DeepCopy() *SyncAgentProperties { + if in == nil { + return nil + } + out := new(SyncAgentProperties) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SyncAgentProperties_Status) DeepCopyInto(out *SyncAgentProperties_Status) { + *out = *in + if in.ExpiryTime != nil { + in, out := &in.ExpiryTime, &out.ExpiryTime + *out = new(string) + **out = **in + } + if in.IsUpToDate != nil { + in, out := &in.IsUpToDate, &out.IsUpToDate + *out = new(bool) + **out = **in + } + if in.LastAliveTime != nil { + in, out := &in.LastAliveTime, &out.LastAliveTime + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.State != nil { + in, out := &in.State, &out.State + *out = new(SyncAgentPropertiesStatusState) + **out = **in + } + if in.SyncDatabaseId != nil { + in, out := &in.SyncDatabaseId, &out.SyncDatabaseId + *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 SyncAgentProperties_Status. +func (in *SyncAgentProperties_Status) DeepCopy() *SyncAgentProperties_Status { + if in == nil { + return nil + } + out := new(SyncAgentProperties_Status) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SyncAgent_Status) DeepCopyInto(out *SyncAgent_Status) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + in.AtProvider.DeepCopyInto(&out.AtProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SyncAgent_Status. +func (in *SyncAgent_Status) DeepCopy() *SyncAgent_Status { + if in == nil { + return nil + } + out := new(SyncAgent_Status) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SyncGroupProperties) DeepCopyInto(out *SyncGroupProperties) { + *out = *in + if in.ConflictResolutionPolicy != nil { + in, out := &in.ConflictResolutionPolicy, &out.ConflictResolutionPolicy + *out = new(SyncGroupPropertiesConflictResolutionPolicy) + **out = **in + } + if in.HubDatabasePassword != nil { + in, out := &in.HubDatabasePassword, &out.HubDatabasePassword + *out = new(string) + **out = **in + } + if in.HubDatabaseUserName != nil { + in, out := &in.HubDatabaseUserName, &out.HubDatabaseUserName + *out = new(string) + **out = **in + } + if in.Interval != nil { + in, out := &in.Interval, &out.Interval + *out = new(int) + **out = **in + } + if in.Schema != nil { + in, out := &in.Schema, &out.Schema + *out = new(SyncGroupSchema) + (*in).DeepCopyInto(*out) + } + if in.SyncDatabaseId != nil { + in, out := &in.SyncDatabaseId, &out.SyncDatabaseId + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SyncGroupProperties. +func (in *SyncGroupProperties) DeepCopy() *SyncGroupProperties { + if in == nil { + return nil + } + out := new(SyncGroupProperties) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SyncGroupProperties_Status) DeepCopyInto(out *SyncGroupProperties_Status) { + *out = *in + if in.ConflictResolutionPolicy != nil { + in, out := &in.ConflictResolutionPolicy, &out.ConflictResolutionPolicy + *out = new(SyncGroupPropertiesStatusConflictResolutionPolicy) + **out = **in + } + if in.HubDatabasePassword != nil { + in, out := &in.HubDatabasePassword, &out.HubDatabasePassword + *out = new(string) + **out = **in + } + if in.HubDatabaseUserName != nil { + in, out := &in.HubDatabaseUserName, &out.HubDatabaseUserName + *out = new(string) + **out = **in + } + if in.Interval != nil { + in, out := &in.Interval, &out.Interval + *out = new(int) + **out = **in + } + if in.LastSyncTime != nil { + in, out := &in.LastSyncTime, &out.LastSyncTime + *out = new(string) + **out = **in + } + if in.Schema != nil { + in, out := &in.Schema, &out.Schema + *out = new(SyncGroupSchema_Status) + (*in).DeepCopyInto(*out) + } + if in.SyncDatabaseId != nil { + in, out := &in.SyncDatabaseId, &out.SyncDatabaseId + *out = new(string) + **out = **in + } + if in.SyncState != nil { + in, out := &in.SyncState, &out.SyncState + *out = new(SyncGroupPropertiesStatusSyncState) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SyncGroupProperties_Status. +func (in *SyncGroupProperties_Status) DeepCopy() *SyncGroupProperties_Status { + if in == nil { + return nil + } + out := new(SyncGroupProperties_Status) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SyncGroupSchema) DeepCopyInto(out *SyncGroupSchema) { + *out = *in + if in.MasterSyncMemberName != nil { + in, out := &in.MasterSyncMemberName, &out.MasterSyncMemberName + *out = new(string) + **out = **in + } + if in.Tables != nil { + in, out := &in.Tables, &out.Tables + *out = make([]SyncGroupSchemaTable, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SyncGroupSchema. +func (in *SyncGroupSchema) DeepCopy() *SyncGroupSchema { + if in == nil { + return nil + } + out := new(SyncGroupSchema) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SyncGroupSchemaTable) DeepCopyInto(out *SyncGroupSchemaTable) { + *out = *in + if in.Columns != nil { + in, out := &in.Columns, &out.Columns + *out = make([]SyncGroupSchemaTableColumn, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.QuotedName != nil { + in, out := &in.QuotedName, &out.QuotedName + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SyncGroupSchemaTable. +func (in *SyncGroupSchemaTable) DeepCopy() *SyncGroupSchemaTable { + if in == nil { + return nil + } + out := new(SyncGroupSchemaTable) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SyncGroupSchemaTableColumn) DeepCopyInto(out *SyncGroupSchemaTableColumn) { + *out = *in + if in.DataSize != nil { + in, out := &in.DataSize, &out.DataSize + *out = new(string) + **out = **in + } + if in.DataType != nil { + in, out := &in.DataType, &out.DataType + *out = new(string) + **out = **in + } + if in.QuotedName != nil { + in, out := &in.QuotedName, &out.QuotedName + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SyncGroupSchemaTableColumn. +func (in *SyncGroupSchemaTableColumn) DeepCopy() *SyncGroupSchemaTableColumn { + if in == nil { + return nil + } + out := new(SyncGroupSchemaTableColumn) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SyncGroupSchemaTableColumn_Status) DeepCopyInto(out *SyncGroupSchemaTableColumn_Status) { + *out = *in + if in.DataSize != nil { + in, out := &in.DataSize, &out.DataSize + *out = new(string) + **out = **in + } + if in.DataType != nil { + in, out := &in.DataType, &out.DataType + *out = new(string) + **out = **in + } + if in.QuotedName != nil { + in, out := &in.QuotedName, &out.QuotedName + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SyncGroupSchemaTableColumn_Status. +func (in *SyncGroupSchemaTableColumn_Status) DeepCopy() *SyncGroupSchemaTableColumn_Status { + if in == nil { + return nil + } + out := new(SyncGroupSchemaTableColumn_Status) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SyncGroupSchemaTable_Status) DeepCopyInto(out *SyncGroupSchemaTable_Status) { + *out = *in + if in.Columns != nil { + in, out := &in.Columns, &out.Columns + *out = make([]SyncGroupSchemaTableColumn_Status, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.QuotedName != nil { + in, out := &in.QuotedName, &out.QuotedName + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SyncGroupSchemaTable_Status. +func (in *SyncGroupSchemaTable_Status) DeepCopy() *SyncGroupSchemaTable_Status { + if in == nil { + return nil + } + out := new(SyncGroupSchemaTable_Status) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SyncGroupSchema_Status) DeepCopyInto(out *SyncGroupSchema_Status) { + *out = *in + if in.MasterSyncMemberName != nil { + in, out := &in.MasterSyncMemberName, &out.MasterSyncMemberName + *out = new(string) + **out = **in + } + if in.Tables != nil { + in, out := &in.Tables, &out.Tables + *out = make([]SyncGroupSchemaTable_Status, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SyncGroupSchema_Status. +func (in *SyncGroupSchema_Status) DeepCopy() *SyncGroupSchema_Status { + if in == nil { + return nil + } + out := new(SyncGroupSchema_Status) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SyncGroup_Status) DeepCopyInto(out *SyncGroup_Status) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + in.AtProvider.DeepCopyInto(&out.AtProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SyncGroup_Status. +func (in *SyncGroup_Status) DeepCopy() *SyncGroup_Status { + if in == nil { + return nil + } + out := new(SyncGroup_Status) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SyncMemberProperties) DeepCopyInto(out *SyncMemberProperties) { + *out = *in + if in.DatabaseName != nil { + in, out := &in.DatabaseName, &out.DatabaseName + *out = new(string) + **out = **in + } + if in.DatabaseType != nil { + in, out := &in.DatabaseType, &out.DatabaseType + *out = new(SyncMemberPropertiesDatabaseType) + **out = **in + } + if in.Password != nil { + in, out := &in.Password, &out.Password + *out = new(string) + **out = **in + } + if in.ServerName != nil { + in, out := &in.ServerName, &out.ServerName + *out = new(string) + **out = **in + } + if in.SqlServerDatabaseId != nil { + in, out := &in.SqlServerDatabaseId, &out.SqlServerDatabaseId + *out = new(string) + **out = **in + } + if in.SyncAgentId != nil { + in, out := &in.SyncAgentId, &out.SyncAgentId + *out = new(string) + **out = **in + } + if in.SyncDirection != nil { + in, out := &in.SyncDirection, &out.SyncDirection + *out = new(SyncMemberPropertiesSyncDirection) + **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 SyncMemberProperties. +func (in *SyncMemberProperties) DeepCopy() *SyncMemberProperties { + if in == nil { + return nil + } + out := new(SyncMemberProperties) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SyncMemberProperties_Status) DeepCopyInto(out *SyncMemberProperties_Status) { + *out = *in + if in.DatabaseName != nil { + in, out := &in.DatabaseName, &out.DatabaseName + *out = new(string) + **out = **in + } + if in.DatabaseType != nil { + in, out := &in.DatabaseType, &out.DatabaseType + *out = new(SyncMemberPropertiesStatusDatabaseType) + **out = **in + } + if in.Password != nil { + in, out := &in.Password, &out.Password + *out = new(string) + **out = **in + } + if in.ServerName != nil { + in, out := &in.ServerName, &out.ServerName + *out = new(string) + **out = **in + } + if in.SqlServerDatabaseId != nil { + in, out := &in.SqlServerDatabaseId, &out.SqlServerDatabaseId + *out = new(string) + **out = **in + } + if in.SyncAgentId != nil { + in, out := &in.SyncAgentId, &out.SyncAgentId + *out = new(string) + **out = **in + } + if in.SyncDirection != nil { + in, out := &in.SyncDirection, &out.SyncDirection + *out = new(SyncMemberPropertiesStatusSyncDirection) + **out = **in + } + if in.SyncState != nil { + in, out := &in.SyncState, &out.SyncState + *out = new(SyncMemberPropertiesStatusSyncState) + **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 SyncMemberProperties_Status. +func (in *SyncMemberProperties_Status) DeepCopy() *SyncMemberProperties_Status { + if in == nil { + return nil + } + out := new(SyncMemberProperties_Status) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SyncMember_Status) DeepCopyInto(out *SyncMember_Status) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + in.AtProvider.DeepCopyInto(&out.AtProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SyncMember_Status. +func (in *SyncMember_Status) DeepCopy() *SyncMember_Status { + if in == nil { + return nil + } + out := new(SyncMember_Status) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *VirtualNetworkRuleProperties) DeepCopyInto(out *VirtualNetworkRuleProperties) { + *out = *in + if in.IgnoreMissingVnetServiceEndpoint != nil { + in, out := &in.IgnoreMissingVnetServiceEndpoint, &out.IgnoreMissingVnetServiceEndpoint + *out = new(bool) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualNetworkRuleProperties. +func (in *VirtualNetworkRuleProperties) DeepCopy() *VirtualNetworkRuleProperties { + if in == nil { + return nil + } + out := new(VirtualNetworkRuleProperties) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *VirtualNetworkRuleProperties_Status) DeepCopyInto(out *VirtualNetworkRuleProperties_Status) { + *out = *in + if in.IgnoreMissingVnetServiceEndpoint != nil { + in, out := &in.IgnoreMissingVnetServiceEndpoint, &out.IgnoreMissingVnetServiceEndpoint + *out = new(bool) + **out = **in + } + if in.State != nil { + in, out := &in.State, &out.State + *out = new(VirtualNetworkRulePropertiesStatusState) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualNetworkRuleProperties_Status. +func (in *VirtualNetworkRuleProperties_Status) DeepCopy() *VirtualNetworkRuleProperties_Status { + if in == nil { + return nil + } + out := new(VirtualNetworkRuleProperties_Status) + 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_Status) DeepCopyInto(out *VirtualNetworkRule_Status) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + in.AtProvider.DeepCopyInto(&out.AtProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualNetworkRule_Status. +func (in *VirtualNetworkRule_Status) DeepCopy() *VirtualNetworkRule_Status { + if in == nil { + return nil + } + out := new(VirtualNetworkRule_Status) + in.DeepCopyInto(out) + return out +}