diff --git a/apis/alertsmanagement/v1beta2/zz_generated.resolvers.go b/apis/alertsmanagement/v1beta2/zz_generated.resolvers.go index be1482026..10a5cbd2b 100644 --- a/apis/alertsmanagement/v1beta2/zz_generated.resolvers.go +++ b/apis/alertsmanagement/v1beta2/zz_generated.resolvers.go @@ -128,7 +128,7 @@ func (mg *MonitorAlertProcessingRuleActionGroup) ResolveReferences(ctx context.C var mrsp reference.MultiResolutionResponse var err error { - m, l, err = apisresolver.GetManagedResource("insights.azure.upbound.io", "v1beta1", "MonitorActionGroup", "MonitorActionGroupList") + m, l, err = apisresolver.GetManagedResource("insights.azure.upbound.io", "v1beta2", "MonitorActionGroup", "MonitorActionGroupList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } @@ -185,7 +185,7 @@ func (mg *MonitorAlertProcessingRuleActionGroup) ResolveReferences(ctx context.C mg.Spec.ForProvider.Scopes = reference.ToPtrValues(mrsp.ResolvedValues) mg.Spec.ForProvider.ScopesRefs = mrsp.ResolvedReferences { - m, l, err = apisresolver.GetManagedResource("insights.azure.upbound.io", "v1beta1", "MonitorActionGroup", "MonitorActionGroupList") + m, l, err = apisresolver.GetManagedResource("insights.azure.upbound.io", "v1beta2", "MonitorActionGroup", "MonitorActionGroupList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } @@ -308,7 +308,7 @@ func (mg *MonitorSmartDetectorAlertRule) ResolveReferences(ctx context.Context, if mg.Spec.ForProvider.ActionGroup != nil { { - m, l, err = apisresolver.GetManagedResource("insights.azure.upbound.io", "v1beta1", "MonitorActionGroup", "MonitorActionGroupList") + m, l, err = apisresolver.GetManagedResource("insights.azure.upbound.io", "v1beta2", "MonitorActionGroup", "MonitorActionGroupList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } @@ -367,7 +367,7 @@ func (mg *MonitorSmartDetectorAlertRule) ResolveReferences(ctx context.Context, if mg.Spec.InitProvider.ActionGroup != nil { { - m, l, err = apisresolver.GetManagedResource("insights.azure.upbound.io", "v1beta1", "MonitorActionGroup", "MonitorActionGroupList") + m, l, err = apisresolver.GetManagedResource("insights.azure.upbound.io", "v1beta2", "MonitorActionGroup", "MonitorActionGroupList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } diff --git a/apis/alertsmanagement/v1beta2/zz_monitoralertprocessingruleactiongroup_types.go b/apis/alertsmanagement/v1beta2/zz_monitoralertprocessingruleactiongroup_types.go index 93adcb33c..f95f632ce 100755 --- a/apis/alertsmanagement/v1beta2/zz_monitoralertprocessingruleactiongroup_types.go +++ b/apis/alertsmanagement/v1beta2/zz_monitoralertprocessingruleactiongroup_types.go @@ -367,7 +367,7 @@ type MonitorAlertProcessingRuleActionGroupConditionTargetResourceTypeParameters type MonitorAlertProcessingRuleActionGroupInitParameters struct { // Specifies a list of Action Group IDs. - // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/insights/v1beta1.MonitorActionGroup + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/insights/v1beta2.MonitorActionGroup // +crossplane:generate:reference:extractor=github.com/upbound/provider-azure/apis/rconfig.ExtractResourceID() AddActionGroupIds []*string `json:"addActionGroupIds,omitempty" tf:"add_action_group_ids,omitempty"` @@ -443,7 +443,7 @@ type MonitorAlertProcessingRuleActionGroupObservation struct { type MonitorAlertProcessingRuleActionGroupParameters struct { // Specifies a list of Action Group IDs. - // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/insights/v1beta1.MonitorActionGroup + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/insights/v1beta2.MonitorActionGroup // +crossplane:generate:reference:extractor=github.com/upbound/provider-azure/apis/rconfig.ExtractResourceID() // +kubebuilder:validation:Optional AddActionGroupIds []*string `json:"addActionGroupIds,omitempty" tf:"add_action_group_ids,omitempty"` diff --git a/apis/alertsmanagement/v1beta2/zz_monitorsmartdetectoralertrule_types.go b/apis/alertsmanagement/v1beta2/zz_monitorsmartdetectoralertrule_types.go index d3c7c5de9..bdf8734b9 100755 --- a/apis/alertsmanagement/v1beta2/zz_monitorsmartdetectoralertrule_types.go +++ b/apis/alertsmanagement/v1beta2/zz_monitorsmartdetectoralertrule_types.go @@ -19,7 +19,7 @@ type ActionGroupInitParameters struct { EmailSubject *string `json:"emailSubject,omitempty" tf:"email_subject,omitempty"` // Specifies the action group ids. - // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/insights/v1beta1.MonitorActionGroup + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/insights/v1beta2.MonitorActionGroup // +crossplane:generate:reference:extractor=github.com/upbound/provider-azure/apis/rconfig.ExtractResourceID() // +listType=set Ids []*string `json:"ids,omitempty" tf:"ids,omitempty"` @@ -56,7 +56,7 @@ type ActionGroupParameters struct { EmailSubject *string `json:"emailSubject,omitempty" tf:"email_subject,omitempty"` // Specifies the action group ids. - // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/insights/v1beta1.MonitorActionGroup + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/insights/v1beta2.MonitorActionGroup // +crossplane:generate:reference:extractor=github.com/upbound/provider-azure/apis/rconfig.ExtractResourceID() // +kubebuilder:validation:Optional // +listType=set diff --git a/apis/apimanagement/v1beta1/zz_apipolicy_types.go b/apis/apimanagement/v1beta1/zz_apipolicy_types.go index af21843d7..faf101daa 100755 --- a/apis/apimanagement/v1beta1/zz_apipolicy_types.go +++ b/apis/apimanagement/v1beta1/zz_apipolicy_types.go @@ -46,7 +46,7 @@ type APIPolicyObservation struct { type APIPolicyParameters struct { // The name of the API Management Service. Changing this forces a new resource to be created. - // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/apimanagement/v1beta1.Management + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/apimanagement/v1beta2.Management // +kubebuilder:validation:Optional APIManagementName *string `json:"apiManagementName,omitempty" tf:"api_management_name,omitempty"` @@ -59,7 +59,7 @@ type APIPolicyParameters struct { APIManagementNameSelector *v1.Selector `json:"apiManagementNameSelector,omitempty" tf:"-"` // The ID of the API Management API within the API Management Service. Changing this forces a new resource to be created. - // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/apimanagement/v1beta1.API + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/apimanagement/v1beta2.API // +kubebuilder:validation:Optional APIName *string `json:"apiName,omitempty" tf:"api_name,omitempty"` diff --git a/apis/apimanagement/v1beta1/zz_apischema_types.go b/apis/apimanagement/v1beta1/zz_apischema_types.go index b9a8d324c..f5876b5dd 100755 --- a/apis/apimanagement/v1beta1/zz_apischema_types.go +++ b/apis/apimanagement/v1beta1/zz_apischema_types.go @@ -58,7 +58,7 @@ type APISchemaObservation struct { type APISchemaParameters struct { // The Name of the API Management Service where the API exists. Changing this forces a new resource to be created. - // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/apimanagement/v1beta1.Management + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/apimanagement/v1beta2.Management // +kubebuilder:validation:Optional APIManagementName *string `json:"apiManagementName,omitempty" tf:"api_management_name,omitempty"` @@ -71,7 +71,7 @@ type APISchemaParameters struct { APIManagementNameSelector *v1.Selector `json:"apiManagementNameSelector,omitempty" tf:"-"` // The name of the API within the API Management Service where this API Schema should be created. Changing this forces a new resource to be created. - // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/apimanagement/v1beta1.API + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/apimanagement/v1beta2.API // +kubebuilder:validation:Optional APIName *string `json:"apiName,omitempty" tf:"api_name,omitempty"` diff --git a/apis/apimanagement/v1beta1/zz_authorizationserver_types.go b/apis/apimanagement/v1beta1/zz_authorizationserver_types.go index dddd58141..02de11767 100755 --- a/apis/apimanagement/v1beta1/zz_authorizationserver_types.go +++ b/apis/apimanagement/v1beta1/zz_authorizationserver_types.go @@ -123,7 +123,7 @@ type AuthorizationServerObservation struct { type AuthorizationServerParameters struct { // The name of the API Management Service in which this Authorization Server should be created. Changing this forces a new resource to be created. - // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/apimanagement/v1beta1.Management + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/apimanagement/v1beta2.Management // +kubebuilder:validation:Optional APIManagementName *string `json:"apiManagementName,omitempty" tf:"api_management_name,omitempty"` diff --git a/apis/apimanagement/v1beta1/zz_gatewayapi_types.go b/apis/apimanagement/v1beta1/zz_gatewayapi_types.go index 76c445d90..f97fb5451 100755 --- a/apis/apimanagement/v1beta1/zz_gatewayapi_types.go +++ b/apis/apimanagement/v1beta1/zz_gatewayapi_types.go @@ -16,7 +16,7 @@ import ( type GatewayAPIInitParameters struct { // The Identifier of the API Management API within the API Management Service. Changing this forces a new API Management Gateway API to be created. - // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/apimanagement/v1beta1.API + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/apimanagement/v1beta2.API // +crossplane:generate:reference:extractor=github.com/upbound/provider-azure/apis/rconfig.ExtractResourceID() APIID *string `json:"apiId,omitempty" tf:"api_id,omitempty"` @@ -29,7 +29,7 @@ type GatewayAPIInitParameters struct { APIIDSelector *v1.Selector `json:"apiIdSelector,omitempty" tf:"-"` // The Identifier for the API Management Gateway. Changing this forces a new API Management Gateway API to be created. - // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/apimanagement/v1beta1.Gateway + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/apimanagement/v1beta2.Gateway // +crossplane:generate:reference:extractor=github.com/upbound/provider-azure/apis/rconfig.ExtractResourceID() GatewayID *string `json:"gatewayId,omitempty" tf:"gateway_id,omitempty"` @@ -57,7 +57,7 @@ type GatewayAPIObservation struct { type GatewayAPIParameters struct { // The Identifier of the API Management API within the API Management Service. Changing this forces a new API Management Gateway API to be created. - // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/apimanagement/v1beta1.API + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/apimanagement/v1beta2.API // +crossplane:generate:reference:extractor=github.com/upbound/provider-azure/apis/rconfig.ExtractResourceID() // +kubebuilder:validation:Optional APIID *string `json:"apiId,omitempty" tf:"api_id,omitempty"` @@ -71,7 +71,7 @@ type GatewayAPIParameters struct { APIIDSelector *v1.Selector `json:"apiIdSelector,omitempty" tf:"-"` // The Identifier for the API Management Gateway. Changing this forces a new API Management Gateway API to be created. - // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/apimanagement/v1beta1.Gateway + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/apimanagement/v1beta2.Gateway // +crossplane:generate:reference:extractor=github.com/upbound/provider-azure/apis/rconfig.ExtractResourceID() // +kubebuilder:validation:Optional GatewayID *string `json:"gatewayId,omitempty" tf:"gateway_id,omitempty"` diff --git a/apis/apimanagement/v1beta1/zz_generated.resolvers.go b/apis/apimanagement/v1beta1/zz_generated.resolvers.go index dc37f6f9e..1f52875f4 100644 --- a/apis/apimanagement/v1beta1/zz_generated.resolvers.go +++ b/apis/apimanagement/v1beta1/zz_generated.resolvers.go @@ -373,7 +373,7 @@ func (mg *APIPolicy) ResolveReferences(ctx context.Context, c client.Reader) err var rsp reference.ResolutionResponse var err error { - m, l, err = apisresolver.GetManagedResource("apimanagement.azure.upbound.io", "v1beta1", "Management", "ManagementList") + m, l, err = apisresolver.GetManagedResource("apimanagement.azure.upbound.io", "v1beta2", "Management", "ManagementList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } @@ -392,7 +392,7 @@ func (mg *APIPolicy) ResolveReferences(ctx context.Context, c client.Reader) err mg.Spec.ForProvider.APIManagementName = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.APIManagementNameRef = rsp.ResolvedReference { - m, l, err = apisresolver.GetManagedResource("apimanagement.azure.upbound.io", "v1beta1", "API", "APIList") + m, l, err = apisresolver.GetManagedResource("apimanagement.azure.upbound.io", "v1beta2", "API", "APIList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } @@ -473,7 +473,7 @@ func (mg *APISchema) ResolveReferences(ctx context.Context, c client.Reader) err var rsp reference.ResolutionResponse var err error { - m, l, err = apisresolver.GetManagedResource("apimanagement.azure.upbound.io", "v1beta1", "Management", "ManagementList") + m, l, err = apisresolver.GetManagedResource("apimanagement.azure.upbound.io", "v1beta2", "Management", "ManagementList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } @@ -492,7 +492,7 @@ func (mg *APISchema) ResolveReferences(ctx context.Context, c client.Reader) err mg.Spec.ForProvider.APIManagementName = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.APIManagementNameRef = rsp.ResolvedReference { - m, l, err = apisresolver.GetManagedResource("apimanagement.azure.upbound.io", "v1beta1", "API", "APIList") + m, l, err = apisresolver.GetManagedResource("apimanagement.azure.upbound.io", "v1beta2", "API", "APIList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } @@ -623,7 +623,7 @@ func (mg *AuthorizationServer) ResolveReferences(ctx context.Context, c client.R var rsp reference.ResolutionResponse var err error { - m, l, err = apisresolver.GetManagedResource("apimanagement.azure.upbound.io", "v1beta1", "Management", "ManagementList") + m, l, err = apisresolver.GetManagedResource("apimanagement.azure.upbound.io", "v1beta2", "Management", "ManagementList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } @@ -1115,7 +1115,7 @@ func (mg *GatewayAPI) ResolveReferences(ctx context.Context, c client.Reader) er var rsp reference.ResolutionResponse var err error { - m, l, err = apisresolver.GetManagedResource("apimanagement.azure.upbound.io", "v1beta1", "API", "APIList") + m, l, err = apisresolver.GetManagedResource("apimanagement.azure.upbound.io", "v1beta2", "API", "APIList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } @@ -1134,7 +1134,7 @@ func (mg *GatewayAPI) ResolveReferences(ctx context.Context, c client.Reader) er mg.Spec.ForProvider.APIID = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.APIIDRef = rsp.ResolvedReference { - m, l, err = apisresolver.GetManagedResource("apimanagement.azure.upbound.io", "v1beta1", "Gateway", "GatewayList") + m, l, err = apisresolver.GetManagedResource("apimanagement.azure.upbound.io", "v1beta2", "Gateway", "GatewayList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } @@ -1153,7 +1153,7 @@ func (mg *GatewayAPI) ResolveReferences(ctx context.Context, c client.Reader) er mg.Spec.ForProvider.GatewayID = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.GatewayIDRef = rsp.ResolvedReference { - m, l, err = apisresolver.GetManagedResource("apimanagement.azure.upbound.io", "v1beta1", "API", "APIList") + m, l, err = apisresolver.GetManagedResource("apimanagement.azure.upbound.io", "v1beta2", "API", "APIList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } @@ -1172,7 +1172,7 @@ func (mg *GatewayAPI) ResolveReferences(ctx context.Context, c client.Reader) er mg.Spec.InitProvider.APIID = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.InitProvider.APIIDRef = rsp.ResolvedReference { - m, l, err = apisresolver.GetManagedResource("apimanagement.azure.upbound.io", "v1beta1", "Gateway", "GatewayList") + m, l, err = apisresolver.GetManagedResource("apimanagement.azure.upbound.io", "v1beta2", "Gateway", "GatewayList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } @@ -2163,7 +2163,7 @@ func (mg *ProductAPI) ResolveReferences(ctx context.Context, c client.Reader) er var rsp reference.ResolutionResponse var err error { - m, l, err = apisresolver.GetManagedResource("apimanagement.azure.upbound.io", "v1beta1", "Management", "ManagementList") + m, l, err = apisresolver.GetManagedResource("apimanagement.azure.upbound.io", "v1beta2", "Management", "ManagementList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } @@ -2182,7 +2182,7 @@ func (mg *ProductAPI) ResolveReferences(ctx context.Context, c client.Reader) er mg.Spec.ForProvider.APIManagementName = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.APIManagementNameRef = rsp.ResolvedReference { - m, l, err = apisresolver.GetManagedResource("apimanagement.azure.upbound.io", "v1beta1", "API", "APIList") + m, l, err = apisresolver.GetManagedResource("apimanagement.azure.upbound.io", "v1beta2", "API", "APIList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } @@ -2251,7 +2251,7 @@ func (mg *ProductPolicy) ResolveReferences(ctx context.Context, c client.Reader) var rsp reference.ResolutionResponse var err error { - m, l, err = apisresolver.GetManagedResource("apimanagement.azure.upbound.io", "v1beta1", "Management", "ManagementList") + m, l, err = apisresolver.GetManagedResource("apimanagement.azure.upbound.io", "v1beta2", "Management", "ManagementList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } @@ -2553,7 +2553,7 @@ func (mg *Subscription) ResolveReferences(ctx context.Context, c client.Reader) var rsp reference.ResolutionResponse var err error { - m, l, err = apisresolver.GetManagedResource("apimanagement.azure.upbound.io", "v1beta1", "Management", "ManagementList") + m, l, err = apisresolver.GetManagedResource("apimanagement.azure.upbound.io", "v1beta2", "Management", "ManagementList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } diff --git a/apis/apimanagement/v1beta1/zz_productapi_types.go b/apis/apimanagement/v1beta1/zz_productapi_types.go index 32ce6e075..7b2c803a0 100755 --- a/apis/apimanagement/v1beta1/zz_productapi_types.go +++ b/apis/apimanagement/v1beta1/zz_productapi_types.go @@ -37,7 +37,7 @@ type ProductAPIObservation struct { type ProductAPIParameters struct { // The name of the API Management Service. Changing this forces a new resource to be created. - // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/apimanagement/v1beta1.Management + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/apimanagement/v1beta2.Management // +kubebuilder:validation:Optional APIManagementName *string `json:"apiManagementName,omitempty" tf:"api_management_name,omitempty"` @@ -50,7 +50,7 @@ type ProductAPIParameters struct { APIManagementNameSelector *v1.Selector `json:"apiManagementNameSelector,omitempty" tf:"-"` // The Name of the API Management API within the API Management Service. Changing this forces a new resource to be created. - // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/apimanagement/v1beta1.API + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/apimanagement/v1beta2.API // +kubebuilder:validation:Optional APIName *string `json:"apiName,omitempty" tf:"api_name,omitempty"` diff --git a/apis/apimanagement/v1beta1/zz_productpolicy_types.go b/apis/apimanagement/v1beta1/zz_productpolicy_types.go index 72d361b3c..b065c157e 100755 --- a/apis/apimanagement/v1beta1/zz_productpolicy_types.go +++ b/apis/apimanagement/v1beta1/zz_productpolicy_types.go @@ -46,7 +46,7 @@ type ProductPolicyObservation struct { type ProductPolicyParameters struct { // The name of the API Management Service. Changing this forces a new resource to be created. - // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/apimanagement/v1beta1.Management + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/apimanagement/v1beta2.Management // +kubebuilder:validation:Optional APIManagementName *string `json:"apiManagementName,omitempty" tf:"api_management_name,omitempty"` diff --git a/apis/apimanagement/v1beta1/zz_subscription_types.go b/apis/apimanagement/v1beta1/zz_subscription_types.go index b3f69051d..5bcefdf8e 100755 --- a/apis/apimanagement/v1beta1/zz_subscription_types.go +++ b/apis/apimanagement/v1beta1/zz_subscription_types.go @@ -91,7 +91,7 @@ type SubscriptionParameters struct { APIID *string `json:"apiId,omitempty" tf:"api_id,omitempty"` // The name of the API Management Service where this Subscription should be created. Changing this forces a new resource to be created. - // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/apimanagement/v1beta1.Management + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/apimanagement/v1beta2.Management // +kubebuilder:validation:Optional APIManagementName *string `json:"apiManagementName,omitempty" tf:"api_management_name,omitempty"` diff --git a/apis/apimanagement/v1beta2/zz_apioperation_types.go b/apis/apimanagement/v1beta2/zz_apioperation_types.go index 1fe07cb83..18e3a1b03 100755 --- a/apis/apimanagement/v1beta2/zz_apioperation_types.go +++ b/apis/apimanagement/v1beta2/zz_apioperation_types.go @@ -76,28 +76,28 @@ type APIOperationObservation struct { type APIOperationParameters struct { // The Name of the API Management Service where the API exists. Changing this forces a new resource to be created. - // +crossplane:generate:reference:type=Management + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/apimanagement/v1beta2.Management // +kubebuilder:validation:Optional APIManagementName *string `json:"apiManagementName,omitempty" tf:"api_management_name,omitempty"` - // Reference to a Management to populate apiManagementName. + // Reference to a Management in apimanagement to populate apiManagementName. // +kubebuilder:validation:Optional APIManagementNameRef *v1.Reference `json:"apiManagementNameRef,omitempty" tf:"-"` - // Selector for a Management to populate apiManagementName. + // Selector for a Management in apimanagement to populate apiManagementName. // +kubebuilder:validation:Optional APIManagementNameSelector *v1.Selector `json:"apiManagementNameSelector,omitempty" tf:"-"` // The name of the API within the API Management Service where this API Operation should be created. Changing this forces a new resource to be created. - // +crossplane:generate:reference:type=API + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/apimanagement/v1beta2.API // +kubebuilder:validation:Optional APIName *string `json:"apiName,omitempty" tf:"api_name,omitempty"` - // Reference to a API to populate apiName. + // Reference to a API in apimanagement to populate apiName. // +kubebuilder:validation:Optional APINameRef *v1.Reference `json:"apiNameRef,omitempty" tf:"-"` - // Selector for a API to populate apiName. + // Selector for a API in apimanagement to populate apiName. // +kubebuilder:validation:Optional APINameSelector *v1.Selector `json:"apiNameSelector,omitempty" tf:"-"` diff --git a/apis/apimanagement/v1beta2/zz_generated.resolvers.go b/apis/apimanagement/v1beta2/zz_generated.resolvers.go index bb7b8bd5e..3f3b4bd03 100644 --- a/apis/apimanagement/v1beta2/zz_generated.resolvers.go +++ b/apis/apimanagement/v1beta2/zz_generated.resolvers.go @@ -533,7 +533,7 @@ func (mg *Management) ResolveReferences(ctx context.Context, c client.Reader) er for i3 := 0; i3 < len(mg.Spec.ForProvider.AdditionalLocation); i3++ { if mg.Spec.ForProvider.AdditionalLocation[i3].VirtualNetworkConfiguration != nil { { - m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta1", "Subnet", "SubnetList") + m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta2", "Subnet", "SubnetList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } @@ -574,7 +574,7 @@ func (mg *Management) ResolveReferences(ctx context.Context, c client.Reader) er if mg.Spec.ForProvider.VirtualNetworkConfiguration != nil { { - m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta1", "Subnet", "SubnetList") + m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta2", "Subnet", "SubnetList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } @@ -596,7 +596,7 @@ func (mg *Management) ResolveReferences(ctx context.Context, c client.Reader) er for i3 := 0; i3 < len(mg.Spec.InitProvider.AdditionalLocation); i3++ { if mg.Spec.InitProvider.AdditionalLocation[i3].VirtualNetworkConfiguration != nil { { - m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta1", "Subnet", "SubnetList") + m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta2", "Subnet", "SubnetList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } @@ -618,7 +618,7 @@ func (mg *Management) ResolveReferences(ctx context.Context, c client.Reader) er } if mg.Spec.InitProvider.VirtualNetworkConfiguration != nil { { - m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta1", "Subnet", "SubnetList") + m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta2", "Subnet", "SubnetList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } diff --git a/apis/apimanagement/v1beta2/zz_management_types.go b/apis/apimanagement/v1beta2/zz_management_types.go index 9ce8604ff..8161ffda4 100755 --- a/apis/apimanagement/v1beta2/zz_management_types.go +++ b/apis/apimanagement/v1beta2/zz_management_types.go @@ -611,7 +611,7 @@ type ManagementParameters struct { type ManagementVirtualNetworkConfigurationInitParameters struct { // The id of the subnet that will be used for the API Management. - // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta1.Subnet + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta2.Subnet // +crossplane:generate:reference:extractor=github.com/upbound/provider-azure/apis/rconfig.ExtractResourceID() SubnetID *string `json:"subnetId,omitempty" tf:"subnet_id,omitempty"` @@ -633,7 +633,7 @@ type ManagementVirtualNetworkConfigurationObservation struct { type ManagementVirtualNetworkConfigurationParameters struct { // The id of the subnet that will be used for the API Management. - // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta1.Subnet + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta2.Subnet // +crossplane:generate:reference:extractor=github.com/upbound/provider-azure/apis/rconfig.ExtractResourceID() // +kubebuilder:validation:Optional SubnetID *string `json:"subnetId,omitempty" tf:"subnet_id,omitempty"` @@ -1097,7 +1097,7 @@ type TermsOfServiceParameters struct { type VirtualNetworkConfigurationInitParameters struct { // The id of the subnet that will be used for the API Management. - // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta1.Subnet + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta2.Subnet // +crossplane:generate:reference:extractor=github.com/upbound/provider-azure/apis/rconfig.ExtractResourceID() SubnetID *string `json:"subnetId,omitempty" tf:"subnet_id,omitempty"` @@ -1119,7 +1119,7 @@ type VirtualNetworkConfigurationObservation struct { type VirtualNetworkConfigurationParameters struct { // The id of the subnet that will be used for the API Management. - // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta1.Subnet + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta2.Subnet // +crossplane:generate:reference:extractor=github.com/upbound/provider-azure/apis/rconfig.ExtractResourceID() // +kubebuilder:validation:Optional SubnetID *string `json:"subnetId,omitempty" tf:"subnet_id,omitempty"` diff --git a/apis/appplatform/v1beta2/zz_generated.resolvers.go b/apis/appplatform/v1beta2/zz_generated.resolvers.go index 46ab1fa88..c0d349908 100644 --- a/apis/appplatform/v1beta2/zz_generated.resolvers.go +++ b/apis/appplatform/v1beta2/zz_generated.resolvers.go @@ -28,7 +28,7 @@ func (mg *SpringCloudAPIPortal) ResolveReferences( // ResolveReferences of this var mrsp reference.MultiResolutionResponse var err error { - m, l, err = apisresolver.GetManagedResource("appplatform.azure.upbound.io", "v1beta1", "SpringCloudGateway", "SpringCloudGatewayList") + m, l, err = apisresolver.GetManagedResource("appplatform.azure.upbound.io", "v1beta2", "SpringCloudGateway", "SpringCloudGatewayList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } @@ -66,7 +66,7 @@ func (mg *SpringCloudAPIPortal) ResolveReferences( // ResolveReferences of this mg.Spec.ForProvider.SpringCloudServiceID = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.SpringCloudServiceIDRef = rsp.ResolvedReference { - m, l, err = apisresolver.GetManagedResource("appplatform.azure.upbound.io", "v1beta1", "SpringCloudGateway", "SpringCloudGatewayList") + m, l, err = apisresolver.GetManagedResource("appplatform.azure.upbound.io", "v1beta2", "SpringCloudGateway", "SpringCloudGatewayList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } @@ -435,7 +435,7 @@ func (mg *SpringCloudService) ResolveReferences(ctx context.Context, c client.Re if mg.Spec.ForProvider.Network != nil { { - m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta1", "Subnet", "SubnetList") + m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta2", "Subnet", "SubnetList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } @@ -456,7 +456,7 @@ func (mg *SpringCloudService) ResolveReferences(ctx context.Context, c client.Re } if mg.Spec.ForProvider.Network != nil { { - m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta1", "Subnet", "SubnetList") + m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta2", "Subnet", "SubnetList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } @@ -517,7 +517,7 @@ func (mg *SpringCloudService) ResolveReferences(ctx context.Context, c client.Re } if mg.Spec.InitProvider.Network != nil { { - m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta1", "Subnet", "SubnetList") + m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta2", "Subnet", "SubnetList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } @@ -538,7 +538,7 @@ func (mg *SpringCloudService) ResolveReferences(ctx context.Context, c client.Re } if mg.Spec.InitProvider.Network != nil { { - m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta1", "Subnet", "SubnetList") + m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta2", "Subnet", "SubnetList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } diff --git a/apis/appplatform/v1beta2/zz_springcloudapiportal_types.go b/apis/appplatform/v1beta2/zz_springcloudapiportal_types.go index 8337f9a7f..918eeee64 100755 --- a/apis/appplatform/v1beta2/zz_springcloudapiportal_types.go +++ b/apis/appplatform/v1beta2/zz_springcloudapiportal_types.go @@ -19,7 +19,7 @@ type SpringCloudAPIPortalInitParameters struct { APITryOutEnabled *bool `json:"apiTryOutEnabled,omitempty" tf:"api_try_out_enabled,omitempty"` // Specifies a list of Spring Cloud Gateway. - // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/appplatform/v1beta1.SpringCloudGateway + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/appplatform/v1beta2.SpringCloudGateway // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID() // +listType=set GatewayIds []*string `json:"gatewayIds,omitempty" tf:"gateway_ids,omitempty"` @@ -83,7 +83,7 @@ type SpringCloudAPIPortalParameters struct { APITryOutEnabled *bool `json:"apiTryOutEnabled,omitempty" tf:"api_try_out_enabled,omitempty"` // Specifies a list of Spring Cloud Gateway. - // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/appplatform/v1beta1.SpringCloudGateway + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/appplatform/v1beta2.SpringCloudGateway // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID() // +kubebuilder:validation:Optional // +listType=set diff --git a/apis/appplatform/v1beta2/zz_springcloudservice_types.go b/apis/appplatform/v1beta2/zz_springcloudservice_types.go index dfdb5b332..4cce973c4 100755 --- a/apis/appplatform/v1beta2/zz_springcloudservice_types.go +++ b/apis/appplatform/v1beta2/zz_springcloudservice_types.go @@ -249,7 +249,7 @@ type NetworkInitParameters struct { AppNetworkResourceGroup *string `json:"appNetworkResourceGroup,omitempty" tf:"app_network_resource_group,omitempty"` // Specifies the ID of the Subnet which should host the Spring Boot Applications deployed in this Spring Cloud Service. Changing this forces a new resource to be created. - // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta1.Subnet + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta2.Subnet // +crossplane:generate:reference:extractor=github.com/upbound/provider-azure/apis/rconfig.ExtractResourceID() AppSubnetID *string `json:"appSubnetId,omitempty" tf:"app_subnet_id,omitempty"` @@ -274,7 +274,7 @@ type NetworkInitParameters struct { ServiceRuntimeNetworkResourceGroup *string `json:"serviceRuntimeNetworkResourceGroup,omitempty" tf:"service_runtime_network_resource_group,omitempty"` // Specifies the ID of the Subnet where the Service Runtime components of the Spring Cloud Service will exist. Changing this forces a new resource to be created. - // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta1.Subnet + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta2.Subnet // +crossplane:generate:reference:extractor=github.com/upbound/provider-azure/apis/rconfig.ExtractResourceID() ServiceRuntimeSubnetID *string `json:"serviceRuntimeSubnetId,omitempty" tf:"service_runtime_subnet_id,omitempty"` @@ -318,7 +318,7 @@ type NetworkParameters struct { AppNetworkResourceGroup *string `json:"appNetworkResourceGroup,omitempty" tf:"app_network_resource_group,omitempty"` // Specifies the ID of the Subnet which should host the Spring Boot Applications deployed in this Spring Cloud Service. Changing this forces a new resource to be created. - // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta1.Subnet + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta2.Subnet // +crossplane:generate:reference:extractor=github.com/upbound/provider-azure/apis/rconfig.ExtractResourceID() // +kubebuilder:validation:Optional AppSubnetID *string `json:"appSubnetId,omitempty" tf:"app_subnet_id,omitempty"` @@ -348,7 +348,7 @@ type NetworkParameters struct { ServiceRuntimeNetworkResourceGroup *string `json:"serviceRuntimeNetworkResourceGroup,omitempty" tf:"service_runtime_network_resource_group,omitempty"` // Specifies the ID of the Subnet where the Service Runtime components of the Spring Cloud Service will exist. Changing this forces a new resource to be created. - // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta1.Subnet + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta2.Subnet // +crossplane:generate:reference:extractor=github.com/upbound/provider-azure/apis/rconfig.ExtractResourceID() // +kubebuilder:validation:Optional ServiceRuntimeSubnetID *string `json:"serviceRuntimeSubnetId,omitempty" tf:"service_runtime_subnet_id,omitempty"` diff --git a/apis/cache/v1beta1/zz_generated.resolvers.go b/apis/cache/v1beta1/zz_generated.resolvers.go index f90669f09..d0ffe8d63 100644 --- a/apis/cache/v1beta1/zz_generated.resolvers.go +++ b/apis/cache/v1beta1/zz_generated.resolvers.go @@ -246,7 +246,7 @@ func (mg *RedisLinkedServer) ResolveReferences(ctx context.Context, c client.Rea var rsp reference.ResolutionResponse var err error { - m, l, err = apisresolver.GetManagedResource("cache.azure.upbound.io", "v1beta1", "RedisCache", "RedisCacheList") + m, l, err = apisresolver.GetManagedResource("cache.azure.upbound.io", "v1beta2", "RedisCache", "RedisCacheList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } @@ -284,7 +284,7 @@ func (mg *RedisLinkedServer) ResolveReferences(ctx context.Context, c client.Rea mg.Spec.ForProvider.ResourceGroupName = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.ResourceGroupNameRef = rsp.ResolvedReference { - m, l, err = apisresolver.GetManagedResource("cache.azure.upbound.io", "v1beta1", "RedisCache", "RedisCacheList") + m, l, err = apisresolver.GetManagedResource("cache.azure.upbound.io", "v1beta2", "RedisCache", "RedisCacheList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } @@ -303,7 +303,7 @@ func (mg *RedisLinkedServer) ResolveReferences(ctx context.Context, c client.Rea mg.Spec.ForProvider.TargetRedisCacheName = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.TargetRedisCacheNameRef = rsp.ResolvedReference { - m, l, err = apisresolver.GetManagedResource("cache.azure.upbound.io", "v1beta1", "RedisCache", "RedisCacheList") + m, l, err = apisresolver.GetManagedResource("cache.azure.upbound.io", "v1beta2", "RedisCache", "RedisCacheList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } diff --git a/apis/cache/v1beta1/zz_redislinkedserver_types.go b/apis/cache/v1beta1/zz_redislinkedserver_types.go index b2a5d147f..5d90fce7b 100755 --- a/apis/cache/v1beta1/zz_redislinkedserver_types.go +++ b/apis/cache/v1beta1/zz_redislinkedserver_types.go @@ -16,7 +16,7 @@ import ( type RedisLinkedServerInitParameters struct { // The ID of the linked Redis cache. Changing this forces a new Redis to be created. - // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/cache/v1beta1.RedisCache + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/cache/v1beta2.RedisCache // +crossplane:generate:reference:extractor=github.com/upbound/provider-azure/apis/rconfig.ExtractResourceID() LinkedRedisCacheID *string `json:"linkedRedisCacheId,omitempty" tf:"linked_redis_cache_id,omitempty"` @@ -65,7 +65,7 @@ type RedisLinkedServerObservation struct { type RedisLinkedServerParameters struct { // The ID of the linked Redis cache. Changing this forces a new Redis to be created. - // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/cache/v1beta1.RedisCache + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/cache/v1beta2.RedisCache // +crossplane:generate:reference:extractor=github.com/upbound/provider-azure/apis/rconfig.ExtractResourceID() // +kubebuilder:validation:Optional LinkedRedisCacheID *string `json:"linkedRedisCacheId,omitempty" tf:"linked_redis_cache_id,omitempty"` @@ -100,7 +100,7 @@ type RedisLinkedServerParameters struct { ServerRole *string `json:"serverRole,omitempty" tf:"server_role,omitempty"` // The name of Redis cache to link with. Changing this forces a new Redis to be created. (eg The primary role) - // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/cache/v1beta1.RedisCache + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/cache/v1beta2.RedisCache // +kubebuilder:validation:Optional TargetRedisCacheName *string `json:"targetRedisCacheName,omitempty" tf:"target_redis_cache_name,omitempty"` diff --git a/apis/cache/v1beta2/zz_generated.resolvers.go b/apis/cache/v1beta2/zz_generated.resolvers.go index eb8f85121..bbb059e9a 100644 --- a/apis/cache/v1beta2/zz_generated.resolvers.go +++ b/apis/cache/v1beta2/zz_generated.resolvers.go @@ -45,7 +45,7 @@ func (mg *RedisCache) ResolveReferences( // ResolveReferences of this RedisCache mg.Spec.ForProvider.ResourceGroupName = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.ResourceGroupNameRef = rsp.ResolvedReference { - m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta1", "Subnet", "SubnetList") + m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta2", "Subnet", "SubnetList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } @@ -64,7 +64,7 @@ func (mg *RedisCache) ResolveReferences( // ResolveReferences of this RedisCache mg.Spec.ForProvider.SubnetID = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.SubnetIDRef = rsp.ResolvedReference { - m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta1", "Subnet", "SubnetList") + m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta2", "Subnet", "SubnetList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } diff --git a/apis/cache/v1beta2/zz_rediscache_types.go b/apis/cache/v1beta2/zz_rediscache_types.go index ae83593e7..175f8901a 100755 --- a/apis/cache/v1beta2/zz_rediscache_types.go +++ b/apis/cache/v1beta2/zz_rediscache_types.go @@ -138,7 +138,7 @@ type RedisCacheInitParameters struct { SkuName *string `json:"skuName,omitempty" tf:"sku_name,omitempty"` // Only available when using the Premium SKU The ID of the Subnet within which the Redis Cache should be deployed. This Subnet must only contain Azure Cache for Redis instances without any other type of resources. Changing this forces a new resource to be created. - // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta1.Subnet + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta2.Subnet // +crossplane:generate:reference:extractor=github.com/upbound/provider-azure/apis/rconfig.ExtractResourceID() SubnetID *string `json:"subnetId,omitempty" tf:"subnet_id,omitempty"` @@ -317,7 +317,7 @@ type RedisCacheParameters struct { SkuName *string `json:"skuName,omitempty" tf:"sku_name,omitempty"` // Only available when using the Premium SKU The ID of the Subnet within which the Redis Cache should be deployed. This Subnet must only contain Azure Cache for Redis instances without any other type of resources. Changing this forces a new resource to be created. - // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta1.Subnet + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta2.Subnet // +crossplane:generate:reference:extractor=github.com/upbound/provider-azure/apis/rconfig.ExtractResourceID() // +kubebuilder:validation:Optional SubnetID *string `json:"subnetId,omitempty" tf:"subnet_id,omitempty"` diff --git a/apis/cdn/v1beta1/zz_frontdoorcustomdomainassociation_types.go b/apis/cdn/v1beta1/zz_frontdoorcustomdomainassociation_types.go index e2e95db73..2d394d9d0 100755 --- a/apis/cdn/v1beta1/zz_frontdoorcustomdomainassociation_types.go +++ b/apis/cdn/v1beta1/zz_frontdoorcustomdomainassociation_types.go @@ -29,7 +29,7 @@ type FrontdoorCustomDomainAssociationInitParameters struct { CdnFrontdoorCustomDomainIDSelector *v1.Selector `json:"cdnFrontdoorCustomDomainIdSelector,omitempty" tf:"-"` // One or more IDs of the Front Door Route to which the Front Door Custom Domain is associated with. - // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/cdn/v1beta1.FrontdoorRoute + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/cdn/v1beta2.FrontdoorRoute // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID() CdnFrontdoorRouteIds []*string `json:"cdnFrontdoorRouteIds,omitempty" tf:"cdn_frontdoor_route_ids,omitempty"` @@ -71,7 +71,7 @@ type FrontdoorCustomDomainAssociationParameters struct { CdnFrontdoorCustomDomainIDSelector *v1.Selector `json:"cdnFrontdoorCustomDomainIdSelector,omitempty" tf:"-"` // One or more IDs of the Front Door Route to which the Front Door Custom Domain is associated with. - // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/cdn/v1beta1.FrontdoorRoute + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/cdn/v1beta2.FrontdoorRoute // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID() // +kubebuilder:validation:Optional CdnFrontdoorRouteIds []*string `json:"cdnFrontdoorRouteIds,omitempty" tf:"cdn_frontdoor_route_ids,omitempty"` diff --git a/apis/cdn/v1beta1/zz_generated.resolvers.go b/apis/cdn/v1beta1/zz_generated.resolvers.go index e990d0874..aba893130 100644 --- a/apis/cdn/v1beta1/zz_generated.resolvers.go +++ b/apis/cdn/v1beta1/zz_generated.resolvers.go @@ -166,7 +166,7 @@ func (mg *FrontdoorCustomDomainAssociation) ResolveReferences(ctx context.Contex mg.Spec.ForProvider.CdnFrontdoorCustomDomainID = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.CdnFrontdoorCustomDomainIDRef = rsp.ResolvedReference { - m, l, err = apisresolver.GetManagedResource("cdn.azure.upbound.io", "v1beta1", "FrontdoorRoute", "FrontdoorRouteList") + m, l, err = apisresolver.GetManagedResource("cdn.azure.upbound.io", "v1beta2", "FrontdoorRoute", "FrontdoorRouteList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } @@ -204,7 +204,7 @@ func (mg *FrontdoorCustomDomainAssociation) ResolveReferences(ctx context.Contex mg.Spec.InitProvider.CdnFrontdoorCustomDomainID = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.InitProvider.CdnFrontdoorCustomDomainIDRef = rsp.ResolvedReference { - m, l, err = apisresolver.GetManagedResource("cdn.azure.upbound.io", "v1beta1", "FrontdoorRoute", "FrontdoorRouteList") + m, l, err = apisresolver.GetManagedResource("cdn.azure.upbound.io", "v1beta2", "FrontdoorRoute", "FrontdoorRouteList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } diff --git a/apis/cdn/v1beta2/zz_frontdoorroute_types.go b/apis/cdn/v1beta2/zz_frontdoorroute_types.go index f5f73527a..a3e3a1c8e 100755 --- a/apis/cdn/v1beta2/zz_frontdoorroute_types.go +++ b/apis/cdn/v1beta2/zz_frontdoorroute_types.go @@ -68,7 +68,7 @@ type FrontdoorRouteInitParameters struct { Cache *CacheInitParameters `json:"cache,omitempty" tf:"cache,omitempty"` // The IDs of the Front Door Custom Domains which are associated with this Front Door Route. - // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/cdn/v1beta1.FrontdoorCustomDomain + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/cdn/v1beta2.FrontdoorCustomDomain // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID() // +listType=set CdnFrontdoorCustomDomainIds []*string `json:"cdnFrontdoorCustomDomainIds,omitempty" tf:"cdn_frontdoor_custom_domain_ids,omitempty"` @@ -95,7 +95,7 @@ type FrontdoorRouteInitParameters struct { CdnFrontdoorOriginGroupIDSelector *v1.Selector `json:"cdnFrontdoorOriginGroupIdSelector,omitempty" tf:"-"` // One or more Front Door Origin resource IDs that this Front Door Route will link to. - // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/cdn/v1beta1.FrontdoorOrigin + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/cdn/v1beta2.FrontdoorOrigin // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID() CdnFrontdoorOriginIds []*string `json:"cdnFrontdoorOriginIds,omitempty" tf:"cdn_frontdoor_origin_ids,omitempty"` @@ -199,7 +199,7 @@ type FrontdoorRouteParameters struct { Cache *CacheParameters `json:"cache,omitempty" tf:"cache,omitempty"` // The IDs of the Front Door Custom Domains which are associated with this Front Door Route. - // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/cdn/v1beta1.FrontdoorCustomDomain + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/cdn/v1beta2.FrontdoorCustomDomain // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID() // +kubebuilder:validation:Optional // +listType=set @@ -242,7 +242,7 @@ type FrontdoorRouteParameters struct { CdnFrontdoorOriginGroupIDSelector *v1.Selector `json:"cdnFrontdoorOriginGroupIdSelector,omitempty" tf:"-"` // One or more Front Door Origin resource IDs that this Front Door Route will link to. - // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/cdn/v1beta1.FrontdoorOrigin + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/cdn/v1beta2.FrontdoorOrigin // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID() // +kubebuilder:validation:Optional CdnFrontdoorOriginIds []*string `json:"cdnFrontdoorOriginIds,omitempty" tf:"cdn_frontdoor_origin_ids,omitempty"` diff --git a/apis/cdn/v1beta2/zz_generated.resolvers.go b/apis/cdn/v1beta2/zz_generated.resolvers.go index 33fefcae0..6e566390b 100644 --- a/apis/cdn/v1beta2/zz_generated.resolvers.go +++ b/apis/cdn/v1beta2/zz_generated.resolvers.go @@ -370,7 +370,7 @@ func (mg *FrontdoorRoute) ResolveReferences(ctx context.Context, c client.Reader var mrsp reference.MultiResolutionResponse var err error { - m, l, err = apisresolver.GetManagedResource("cdn.azure.upbound.io", "v1beta1", "FrontdoorCustomDomain", "FrontdoorCustomDomainList") + m, l, err = apisresolver.GetManagedResource("cdn.azure.upbound.io", "v1beta2", "FrontdoorCustomDomain", "FrontdoorCustomDomainList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } @@ -427,7 +427,7 @@ func (mg *FrontdoorRoute) ResolveReferences(ctx context.Context, c client.Reader mg.Spec.ForProvider.CdnFrontdoorOriginGroupID = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.CdnFrontdoorOriginGroupIDRef = rsp.ResolvedReference { - m, l, err = apisresolver.GetManagedResource("cdn.azure.upbound.io", "v1beta1", "FrontdoorOrigin", "FrontdoorOriginList") + m, l, err = apisresolver.GetManagedResource("cdn.azure.upbound.io", "v1beta2", "FrontdoorOrigin", "FrontdoorOriginList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } @@ -465,7 +465,7 @@ func (mg *FrontdoorRoute) ResolveReferences(ctx context.Context, c client.Reader mg.Spec.ForProvider.CdnFrontdoorRuleSetIds = reference.ToPtrValues(mrsp.ResolvedValues) mg.Spec.ForProvider.CdnFrontdoorRuleSetIdsRefs = mrsp.ResolvedReferences { - m, l, err = apisresolver.GetManagedResource("cdn.azure.upbound.io", "v1beta1", "FrontdoorCustomDomain", "FrontdoorCustomDomainList") + m, l, err = apisresolver.GetManagedResource("cdn.azure.upbound.io", "v1beta2", "FrontdoorCustomDomain", "FrontdoorCustomDomainList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } @@ -503,7 +503,7 @@ func (mg *FrontdoorRoute) ResolveReferences(ctx context.Context, c client.Reader mg.Spec.InitProvider.CdnFrontdoorOriginGroupID = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.InitProvider.CdnFrontdoorOriginGroupIDRef = rsp.ResolvedReference { - m, l, err = apisresolver.GetManagedResource("cdn.azure.upbound.io", "v1beta1", "FrontdoorOrigin", "FrontdoorOriginList") + m, l, err = apisresolver.GetManagedResource("cdn.azure.upbound.io", "v1beta2", "FrontdoorOrigin", "FrontdoorOriginList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } diff --git a/apis/cognitiveservices/v1beta2/zz_account_types.go b/apis/cognitiveservices/v1beta2/zz_account_types.go index 26e4cbf82..36beaa33e 100755 --- a/apis/cognitiveservices/v1beta2/zz_account_types.go +++ b/apis/cognitiveservices/v1beta2/zz_account_types.go @@ -395,7 +395,7 @@ type VirtualNetworkRulesInitParameters struct { IgnoreMissingVnetServiceEndpoint *bool `json:"ignoreMissingVnetServiceEndpoint,omitempty" tf:"ignore_missing_vnet_service_endpoint,omitempty"` // The ID of the subnet which should be able to access this Cognitive Account. - // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta1.Subnet + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta2.Subnet // +crossplane:generate:reference:extractor=github.com/upbound/provider-azure/apis/rconfig.ExtractResourceID() SubnetID *string `json:"subnetId,omitempty" tf:"subnet_id,omitempty"` @@ -424,7 +424,7 @@ type VirtualNetworkRulesParameters struct { IgnoreMissingVnetServiceEndpoint *bool `json:"ignoreMissingVnetServiceEndpoint,omitempty" tf:"ignore_missing_vnet_service_endpoint,omitempty"` // The ID of the subnet which should be able to access this Cognitive Account. - // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta1.Subnet + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta2.Subnet // +crossplane:generate:reference:extractor=github.com/upbound/provider-azure/apis/rconfig.ExtractResourceID() // +kubebuilder:validation:Optional SubnetID *string `json:"subnetId,omitempty" tf:"subnet_id,omitempty"` diff --git a/apis/cognitiveservices/v1beta2/zz_generated.resolvers.go b/apis/cognitiveservices/v1beta2/zz_generated.resolvers.go index d97674853..4284a678f 100644 --- a/apis/cognitiveservices/v1beta2/zz_generated.resolvers.go +++ b/apis/cognitiveservices/v1beta2/zz_generated.resolvers.go @@ -31,7 +31,7 @@ func (mg *Account) ResolveReferences(ctx context.Context, c client.Reader) error if mg.Spec.ForProvider.NetworkAcls != nil { for i4 := 0; i4 < len(mg.Spec.ForProvider.NetworkAcls.VirtualNetworkRules); i4++ { { - m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta1", "Subnet", "SubnetList") + m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta2", "Subnet", "SubnetList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } @@ -73,7 +73,7 @@ func (mg *Account) ResolveReferences(ctx context.Context, c client.Reader) error if mg.Spec.InitProvider.NetworkAcls != nil { for i4 := 0; i4 < len(mg.Spec.InitProvider.NetworkAcls.VirtualNetworkRules); i4++ { { - m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta1", "Subnet", "SubnetList") + m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta2", "Subnet", "SubnetList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } diff --git a/apis/compute/v1beta2/zz_generated.resolvers.go b/apis/compute/v1beta2/zz_generated.resolvers.go index f30f02b3e..aca9ccda6 100644 --- a/apis/compute/v1beta2/zz_generated.resolvers.go +++ b/apis/compute/v1beta2/zz_generated.resolvers.go @@ -514,7 +514,7 @@ func (mg *OrchestratedVirtualMachineScaleSet) ResolveReferences(ctx context.Cont for i3 := 0; i3 < len(mg.Spec.ForProvider.NetworkInterface); i3++ { for i4 := 0; i4 < len(mg.Spec.ForProvider.NetworkInterface[i3].IPConfiguration); i4++ { { - m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta1", "Subnet", "SubnetList") + m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta2", "Subnet", "SubnetList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } @@ -556,7 +556,7 @@ func (mg *OrchestratedVirtualMachineScaleSet) ResolveReferences(ctx context.Cont for i3 := 0; i3 < len(mg.Spec.InitProvider.NetworkInterface); i3++ { for i4 := 0; i4 < len(mg.Spec.InitProvider.NetworkInterface[i3].IPConfiguration); i4++ { { - m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta1", "Subnet", "SubnetList") + m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta2", "Subnet", "SubnetList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } diff --git a/apis/compute/v1beta2/zz_orchestratedvirtualmachinescaleset_types.go b/apis/compute/v1beta2/zz_orchestratedvirtualmachinescaleset_types.go index 7105e95fe..55177f64e 100755 --- a/apis/compute/v1beta2/zz_orchestratedvirtualmachinescaleset_types.go +++ b/apis/compute/v1beta2/zz_orchestratedvirtualmachinescaleset_types.go @@ -338,7 +338,7 @@ type NetworkInterfaceIPConfigurationInitParameters struct { PublicIPAddress []IPConfigurationPublicIPAddressInitParameters `json:"publicIpAddress,omitempty" tf:"public_ip_address,omitempty"` // The ID of the Subnet which this IP Configuration should be connected to. - // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta1.Subnet + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta2.Subnet // +crossplane:generate:reference:extractor=github.com/upbound/provider-azure/apis/rconfig.ExtractResourceID() SubnetID *string `json:"subnetId,omitempty" tf:"subnet_id,omitempty"` @@ -414,7 +414,7 @@ type NetworkInterfaceIPConfigurationParameters struct { PublicIPAddress []IPConfigurationPublicIPAddressParameters `json:"publicIpAddress,omitempty" tf:"public_ip_address,omitempty"` // The ID of the Subnet which this IP Configuration should be connected to. - // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta1.Subnet + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta2.Subnet // +crossplane:generate:reference:extractor=github.com/upbound/provider-azure/apis/rconfig.ExtractResourceID() // +kubebuilder:validation:Optional SubnetID *string `json:"subnetId,omitempty" tf:"subnet_id,omitempty"` diff --git a/apis/consumption/v1beta2/zz_budgetsubscription_types.go b/apis/consumption/v1beta2/zz_budgetsubscription_types.go index 9367affe4..6b499881a 100755 --- a/apis/consumption/v1beta2/zz_budgetsubscription_types.go +++ b/apis/consumption/v1beta2/zz_budgetsubscription_types.go @@ -228,7 +228,7 @@ type BudgetSubscriptionNotificationInitParameters struct { ContactEmails []*string `json:"contactEmails,omitempty" tf:"contact_emails,omitempty"` // Specifies a list of Action Group IDs to send the budget notification to when the threshold is exceeded. - // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/insights/v1beta1.MonitorActionGroup + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/insights/v1beta2.MonitorActionGroup // +crossplane:generate:reference:extractor=github.com/upbound/provider-azure/apis/rconfig.ExtractResourceID() ContactGroups []*string `json:"contactGroups,omitempty" tf:"contact_groups,omitempty"` @@ -287,7 +287,7 @@ type BudgetSubscriptionNotificationParameters struct { ContactEmails []*string `json:"contactEmails,omitempty" tf:"contact_emails,omitempty"` // Specifies a list of Action Group IDs to send the budget notification to when the threshold is exceeded. - // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/insights/v1beta1.MonitorActionGroup + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/insights/v1beta2.MonitorActionGroup // +crossplane:generate:reference:extractor=github.com/upbound/provider-azure/apis/rconfig.ExtractResourceID() // +kubebuilder:validation:Optional ContactGroups []*string `json:"contactGroups,omitempty" tf:"contact_groups,omitempty"` diff --git a/apis/consumption/v1beta2/zz_generated.resolvers.go b/apis/consumption/v1beta2/zz_generated.resolvers.go index 4853a888f..a1a10b696 100644 --- a/apis/consumption/v1beta2/zz_generated.resolvers.go +++ b/apis/consumption/v1beta2/zz_generated.resolvers.go @@ -129,7 +129,7 @@ func (mg *BudgetSubscription) ResolveReferences(ctx context.Context, c client.Re for i3 := 0; i3 < len(mg.Spec.ForProvider.Notification); i3++ { { - m, l, err = apisresolver.GetManagedResource("insights.azure.upbound.io", "v1beta1", "MonitorActionGroup", "MonitorActionGroupList") + m, l, err = apisresolver.GetManagedResource("insights.azure.upbound.io", "v1beta2", "MonitorActionGroup", "MonitorActionGroupList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } @@ -150,7 +150,7 @@ func (mg *BudgetSubscription) ResolveReferences(ctx context.Context, c client.Re } for i3 := 0; i3 < len(mg.Spec.InitProvider.Notification); i3++ { { - m, l, err = apisresolver.GetManagedResource("insights.azure.upbound.io", "v1beta1", "MonitorActionGroup", "MonitorActionGroupList") + m, l, err = apisresolver.GetManagedResource("insights.azure.upbound.io", "v1beta2", "MonitorActionGroup", "MonitorActionGroupList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } diff --git a/apis/containerapp/v1beta1/zz_environment_types.go b/apis/containerapp/v1beta1/zz_environment_types.go index a2866fc47..76bd2ed89 100755 --- a/apis/containerapp/v1beta1/zz_environment_types.go +++ b/apis/containerapp/v1beta1/zz_environment_types.go @@ -30,7 +30,7 @@ type EnvironmentInitParameters struct { // The existing Subnet to use for the Container Apps Control Plane. Changing this forces a new resource to be created. // The existing Subnet to use for the Container Apps Control Plane. **NOTE:** The Subnet must have a `/21` or larger address space. - // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta1.Subnet + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta2.Subnet // +crossplane:generate:reference:extractor=github.com/upbound/provider-azure/apis/rconfig.ExtractResourceID() InfrastructureSubnetID *string `json:"infrastructureSubnetId,omitempty" tf:"infrastructure_subnet_id,omitempty"` @@ -155,7 +155,7 @@ type EnvironmentParameters struct { // The existing Subnet to use for the Container Apps Control Plane. Changing this forces a new resource to be created. // The existing Subnet to use for the Container Apps Control Plane. **NOTE:** The Subnet must have a `/21` or larger address space. - // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta1.Subnet + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta2.Subnet // +crossplane:generate:reference:extractor=github.com/upbound/provider-azure/apis/rconfig.ExtractResourceID() // +kubebuilder:validation:Optional InfrastructureSubnetID *string `json:"infrastructureSubnetId,omitempty" tf:"infrastructure_subnet_id,omitempty"` diff --git a/apis/containerapp/v1beta1/zz_generated.resolvers.go b/apis/containerapp/v1beta1/zz_generated.resolvers.go index e0108843a..99f280b59 100644 --- a/apis/containerapp/v1beta1/zz_generated.resolvers.go +++ b/apis/containerapp/v1beta1/zz_generated.resolvers.go @@ -115,7 +115,7 @@ func (mg *Environment) ResolveReferences(ctx context.Context, c client.Reader) e mg.Spec.ForProvider.InfrastructureResourceGroupName = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.InfrastructureResourceGroupNameRef = rsp.ResolvedReference { - m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta1", "Subnet", "SubnetList") + m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta2", "Subnet", "SubnetList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } @@ -191,7 +191,7 @@ func (mg *Environment) ResolveReferences(ctx context.Context, c client.Reader) e mg.Spec.InitProvider.InfrastructureResourceGroupName = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.InitProvider.InfrastructureResourceGroupNameRef = rsp.ResolvedReference { - m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta1", "Subnet", "SubnetList") + m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta2", "Subnet", "SubnetList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } diff --git a/apis/containerregistry/v1beta1/zz_agentpool_types.go b/apis/containerregistry/v1beta1/zz_agentpool_types.go index 7cf1a5cba..cdb2d3127 100755 --- a/apis/containerregistry/v1beta1/zz_agentpool_types.go +++ b/apis/containerregistry/v1beta1/zz_agentpool_types.go @@ -29,7 +29,7 @@ type AgentPoolInitParameters struct { Tier *string `json:"tier,omitempty" tf:"tier,omitempty"` // The ID of the Virtual Network Subnet Resource where the agent machines will be running. Changing this forces a new Azure Container Registry Agent Pool to be created. - // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta1.Subnet + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta2.Subnet // +crossplane:generate:reference:extractor=github.com/upbound/provider-azure/apis/rconfig.ExtractResourceID() VirtualNetworkSubnetID *string `json:"virtualNetworkSubnetId,omitempty" tf:"virtual_network_subnet_id,omitempty"` @@ -116,7 +116,7 @@ type AgentPoolParameters struct { Tier *string `json:"tier,omitempty" tf:"tier,omitempty"` // The ID of the Virtual Network Subnet Resource where the agent machines will be running. Changing this forces a new Azure Container Registry Agent Pool to be created. - // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta1.Subnet + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta2.Subnet // +crossplane:generate:reference:extractor=github.com/upbound/provider-azure/apis/rconfig.ExtractResourceID() // +kubebuilder:validation:Optional VirtualNetworkSubnetID *string `json:"virtualNetworkSubnetId,omitempty" tf:"virtual_network_subnet_id,omitempty"` diff --git a/apis/containerregistry/v1beta1/zz_containerconnectedregistry_types.go b/apis/containerregistry/v1beta1/zz_containerconnectedregistry_types.go index 2df6131de..9517937fe 100755 --- a/apis/containerregistry/v1beta1/zz_containerconnectedregistry_types.go +++ b/apis/containerregistry/v1beta1/zz_containerconnectedregistry_types.go @@ -22,7 +22,7 @@ type ContainerConnectedRegistryInitParameters struct { ClientTokenIds []*string `json:"clientTokenIds,omitempty" tf:"client_token_ids,omitempty"` // The ID of the Container Registry that this Connected Registry will reside in. Changing this forces a new Container Connected Registry to be created. - // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/containerregistry/v1beta1.Registry + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/containerregistry/v1beta2.Registry // +crossplane:generate:reference:extractor=github.com/upbound/provider-azure/apis/rconfig.ExtractResourceID() ContainerRegistryID *string `json:"containerRegistryId,omitempty" tf:"container_registry_id,omitempty"` @@ -119,7 +119,7 @@ type ContainerConnectedRegistryParameters struct { ClientTokenIds []*string `json:"clientTokenIds,omitempty" tf:"client_token_ids,omitempty"` // The ID of the Container Registry that this Connected Registry will reside in. Changing this forces a new Container Connected Registry to be created. - // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/containerregistry/v1beta1.Registry + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/containerregistry/v1beta2.Registry // +crossplane:generate:reference:extractor=github.com/upbound/provider-azure/apis/rconfig.ExtractResourceID() // +kubebuilder:validation:Optional ContainerRegistryID *string `json:"containerRegistryId,omitempty" tf:"container_registry_id,omitempty"` diff --git a/apis/containerregistry/v1beta1/zz_generated.resolvers.go b/apis/containerregistry/v1beta1/zz_generated.resolvers.go index a4f9a2f4b..a88474b9b 100644 --- a/apis/containerregistry/v1beta1/zz_generated.resolvers.go +++ b/apis/containerregistry/v1beta1/zz_generated.resolvers.go @@ -65,7 +65,7 @@ func (mg *AgentPool) ResolveReferences( // ResolveReferences of this AgentPool. mg.Spec.ForProvider.ResourceGroupName = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.ResourceGroupNameRef = rsp.ResolvedReference { - m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta1", "Subnet", "SubnetList") + m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta2", "Subnet", "SubnetList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } @@ -84,7 +84,7 @@ func (mg *AgentPool) ResolveReferences( // ResolveReferences of this AgentPool. mg.Spec.ForProvider.VirtualNetworkSubnetID = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.VirtualNetworkSubnetIDRef = rsp.ResolvedReference { - m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta1", "Subnet", "SubnetList") + m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta2", "Subnet", "SubnetList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } @@ -115,7 +115,7 @@ func (mg *ContainerConnectedRegistry) ResolveReferences(ctx context.Context, c c var rsp reference.ResolutionResponse var err error { - m, l, err = apisresolver.GetManagedResource("containerregistry.azure.upbound.io", "v1beta1", "Registry", "RegistryList") + m, l, err = apisresolver.GetManagedResource("containerregistry.azure.upbound.io", "v1beta2", "Registry", "RegistryList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } @@ -153,7 +153,7 @@ func (mg *ContainerConnectedRegistry) ResolveReferences(ctx context.Context, c c mg.Spec.ForProvider.SyncTokenID = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.SyncTokenIDRef = rsp.ResolvedReference { - m, l, err = apisresolver.GetManagedResource("containerregistry.azure.upbound.io", "v1beta1", "Registry", "RegistryList") + m, l, err = apisresolver.GetManagedResource("containerregistry.azure.upbound.io", "v1beta2", "Registry", "RegistryList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } diff --git a/apis/containerregistry/v1beta2/zz_generated.resolvers.go b/apis/containerregistry/v1beta2/zz_generated.resolvers.go index 49c679c4e..6328629ed 100644 --- a/apis/containerregistry/v1beta2/zz_generated.resolvers.go +++ b/apis/containerregistry/v1beta2/zz_generated.resolvers.go @@ -52,7 +52,7 @@ func (mg *Registry) ResolveReferences(ctx context.Context, c client.Reader) erro for i3 := 0; i3 < len(mg.Spec.ForProvider.NetworkRuleSet); i3++ { for i4 := 0; i4 < len(mg.Spec.ForProvider.NetworkRuleSet[i3].VirtualNetwork); i4++ { { - m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta1", "Subnet", "SubnetList") + m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta2", "Subnet", "SubnetList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } @@ -115,7 +115,7 @@ func (mg *Registry) ResolveReferences(ctx context.Context, c client.Reader) erro for i3 := 0; i3 < len(mg.Spec.InitProvider.NetworkRuleSet); i3++ { for i4 := 0; i4 < len(mg.Spec.InitProvider.NetworkRuleSet[i3].VirtualNetwork); i4++ { { - m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta1", "Subnet", "SubnetList") + m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta2", "Subnet", "SubnetList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } diff --git a/apis/containerregistry/v1beta2/zz_registry_types.go b/apis/containerregistry/v1beta2/zz_registry_types.go index 9aedc6f0c..cf861f940 100755 --- a/apis/containerregistry/v1beta2/zz_registry_types.go +++ b/apis/containerregistry/v1beta2/zz_registry_types.go @@ -488,7 +488,7 @@ type VirtualNetworkInitParameters struct { Action *string `json:"action,omitempty" tf:"action"` // The ID of the Container Registry. - // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta1.Subnet + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta2.Subnet // +crossplane:generate:reference:extractor=github.com/upbound/provider-azure/apis/rconfig.ExtractResourceID() SubnetID *string `json:"subnetId,omitempty" tf:"subnet_id"` @@ -517,7 +517,7 @@ type VirtualNetworkParameters struct { Action *string `json:"action,omitempty" tf:"action"` // The ID of the Container Registry. - // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta1.Subnet + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta2.Subnet // +crossplane:generate:reference:extractor=github.com/upbound/provider-azure/apis/rconfig.ExtractResourceID() // +kubebuilder:validation:Optional SubnetID *string `json:"subnetId,omitempty" tf:"subnet_id"` diff --git a/apis/containerservice/v1beta2/zz_generated.resolvers.go b/apis/containerservice/v1beta2/zz_generated.resolvers.go index 04f8e4b3e..e656516d7 100644 --- a/apis/containerservice/v1beta2/zz_generated.resolvers.go +++ b/apis/containerservice/v1beta2/zz_generated.resolvers.go @@ -29,7 +29,7 @@ func (mg *KubernetesCluster) ResolveReferences( // ResolveReferences of this Kub if mg.Spec.ForProvider.APIServerAccessProfile != nil { { - m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta1", "Subnet", "SubnetList") + m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta2", "Subnet", "SubnetList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } @@ -50,7 +50,7 @@ func (mg *KubernetesCluster) ResolveReferences( // ResolveReferences of this Kub } if mg.Spec.ForProvider.AciConnectorLinux != nil { { - m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta1", "Subnet", "SubnetList") + m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta2", "Subnet", "SubnetList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } @@ -71,7 +71,7 @@ func (mg *KubernetesCluster) ResolveReferences( // ResolveReferences of this Kub } if mg.Spec.ForProvider.DefaultNodePool != nil { { - m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta1", "Subnet", "SubnetList") + m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta2", "Subnet", "SubnetList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } @@ -92,7 +92,7 @@ func (mg *KubernetesCluster) ResolveReferences( // ResolveReferences of this Kub } if mg.Spec.ForProvider.DefaultNodePool != nil { { - m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta1", "Subnet", "SubnetList") + m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta2", "Subnet", "SubnetList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } @@ -113,7 +113,7 @@ func (mg *KubernetesCluster) ResolveReferences( // ResolveReferences of this Kub } if mg.Spec.ForProvider.IngressApplicationGateway != nil { { - m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta1", "Subnet", "SubnetList") + m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta2", "Subnet", "SubnetList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } @@ -172,7 +172,7 @@ func (mg *KubernetesCluster) ResolveReferences( // ResolveReferences of this Kub if mg.Spec.InitProvider.APIServerAccessProfile != nil { { - m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta1", "Subnet", "SubnetList") + m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta2", "Subnet", "SubnetList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } @@ -193,7 +193,7 @@ func (mg *KubernetesCluster) ResolveReferences( // ResolveReferences of this Kub } if mg.Spec.InitProvider.AciConnectorLinux != nil { { - m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta1", "Subnet", "SubnetList") + m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta2", "Subnet", "SubnetList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } @@ -214,7 +214,7 @@ func (mg *KubernetesCluster) ResolveReferences( // ResolveReferences of this Kub } if mg.Spec.InitProvider.DefaultNodePool != nil { { - m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta1", "Subnet", "SubnetList") + m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta2", "Subnet", "SubnetList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } @@ -235,7 +235,7 @@ func (mg *KubernetesCluster) ResolveReferences( // ResolveReferences of this Kub } if mg.Spec.InitProvider.DefaultNodePool != nil { { - m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta1", "Subnet", "SubnetList") + m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta2", "Subnet", "SubnetList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } @@ -256,7 +256,7 @@ func (mg *KubernetesCluster) ResolveReferences( // ResolveReferences of this Kub } if mg.Spec.InitProvider.IngressApplicationGateway != nil { { - m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta1", "Subnet", "SubnetList") + m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta2", "Subnet", "SubnetList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } @@ -325,7 +325,7 @@ func (mg *KubernetesClusterNodePool) ResolveReferences(ctx context.Context, c cl mg.Spec.ForProvider.KubernetesClusterID = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.KubernetesClusterIDRef = rsp.ResolvedReference { - m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta1", "Subnet", "SubnetList") + m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta2", "Subnet", "SubnetList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } @@ -344,7 +344,7 @@ func (mg *KubernetesClusterNodePool) ResolveReferences(ctx context.Context, c cl mg.Spec.ForProvider.PodSubnetID = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.PodSubnetIDRef = rsp.ResolvedReference { - m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta1", "Subnet", "SubnetList") + m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta2", "Subnet", "SubnetList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } @@ -363,7 +363,7 @@ func (mg *KubernetesClusterNodePool) ResolveReferences(ctx context.Context, c cl mg.Spec.ForProvider.VnetSubnetID = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.VnetSubnetIDRef = rsp.ResolvedReference { - m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta1", "Subnet", "SubnetList") + m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta2", "Subnet", "SubnetList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } @@ -382,7 +382,7 @@ func (mg *KubernetesClusterNodePool) ResolveReferences(ctx context.Context, c cl mg.Spec.InitProvider.PodSubnetID = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.InitProvider.PodSubnetIDRef = rsp.ResolvedReference { - m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta1", "Subnet", "SubnetList") + m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta2", "Subnet", "SubnetList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } diff --git a/apis/containerservice/v1beta2/zz_kubernetescluster_types.go b/apis/containerservice/v1beta2/zz_kubernetescluster_types.go index 70d1aae46..a4705bd80 100755 --- a/apis/containerservice/v1beta2/zz_kubernetescluster_types.go +++ b/apis/containerservice/v1beta2/zz_kubernetescluster_types.go @@ -20,7 +20,7 @@ type APIServerAccessProfileInitParameters struct { AuthorizedIPRanges []*string `json:"authorizedIpRanges,omitempty" tf:"authorized_ip_ranges,omitempty"` // The ID of the Subnet where the API server endpoint is delegated to. - // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta1.Subnet + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta2.Subnet // +crossplane:generate:reference:extractor=github.com/upbound/provider-azure/apis/rconfig.ExtractResourceID() SubnetID *string `json:"subnetId,omitempty" tf:"subnet_id,omitempty"` @@ -57,7 +57,7 @@ type APIServerAccessProfileParameters struct { AuthorizedIPRanges []*string `json:"authorizedIpRanges,omitempty" tf:"authorized_ip_ranges,omitempty"` // The ID of the Subnet where the API server endpoint is delegated to. - // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta1.Subnet + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta2.Subnet // +crossplane:generate:reference:extractor=github.com/upbound/provider-azure/apis/rconfig.ExtractResourceID() // +kubebuilder:validation:Optional SubnetID *string `json:"subnetId,omitempty" tf:"subnet_id,omitempty"` @@ -78,7 +78,7 @@ type APIServerAccessProfileParameters struct { type AciConnectorLinuxInitParameters struct { // The subnet name for the virtual nodes to run. - // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta1.Subnet + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta2.Subnet SubnetName *string `json:"subnetName,omitempty" tf:"subnet_name,omitempty"` // Reference to a Subnet in network to populate subnetName. @@ -102,7 +102,7 @@ type AciConnectorLinuxObservation struct { type AciConnectorLinuxParameters struct { // The subnet name for the virtual nodes to run. - // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta1.Subnet + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta2.Subnet // +kubebuilder:validation:Optional SubnetName *string `json:"subnetName,omitempty" tf:"subnet_name,omitempty"` @@ -556,7 +556,7 @@ type DefaultNodePoolInitParameters struct { OsSku *string `json:"osSku,omitempty" tf:"os_sku,omitempty"` // The ID of the Subnet where the pods in the default Node Pool should exist. - // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta1.Subnet + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta2.Subnet // +crossplane:generate:reference:extractor=github.com/upbound/provider-azure/apis/rconfig.ExtractResourceID() PodSubnetID *string `json:"podSubnetId,omitempty" tf:"pod_subnet_id,omitempty"` @@ -597,7 +597,7 @@ type DefaultNodePoolInitParameters struct { VMSize *string `json:"vmSize,omitempty" tf:"vm_size,omitempty"` // The ID of a Subnet where the Kubernetes Node Pool should exist. - // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta1.Subnet + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta2.Subnet // +crossplane:generate:reference:extractor=github.com/upbound/provider-azure/apis/rconfig.ExtractResourceID() VnetSubnetID *string `json:"vnetSubnetId,omitempty" tf:"vnet_subnet_id,omitempty"` @@ -846,7 +846,7 @@ type DefaultNodePoolParameters struct { OsSku *string `json:"osSku,omitempty" tf:"os_sku,omitempty"` // The ID of the Subnet where the pods in the default Node Pool should exist. - // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta1.Subnet + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta2.Subnet // +crossplane:generate:reference:extractor=github.com/upbound/provider-azure/apis/rconfig.ExtractResourceID() // +kubebuilder:validation:Optional PodSubnetID *string `json:"podSubnetId,omitempty" tf:"pod_subnet_id,omitempty"` @@ -897,7 +897,7 @@ type DefaultNodePoolParameters struct { VMSize *string `json:"vmSize" tf:"vm_size,omitempty"` // The ID of a Subnet where the Kubernetes Node Pool should exist. - // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta1.Subnet + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta2.Subnet // +crossplane:generate:reference:extractor=github.com/upbound/provider-azure/apis/rconfig.ExtractResourceID() // +kubebuilder:validation:Optional VnetSubnetID *string `json:"vnetSubnetId,omitempty" tf:"vnet_subnet_id,omitempty"` @@ -1063,7 +1063,7 @@ type IngressApplicationGatewayInitParameters struct { SubnetCidr *string `json:"subnetCidr,omitempty" tf:"subnet_cidr,omitempty"` // The ID of the subnet on which to create an Application Gateway, which in turn will be integrated with the ingress controller of this Kubernetes Cluster. See this page for further details. - // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta1.Subnet + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta2.Subnet // +crossplane:generate:reference:extractor=github.com/upbound/provider-azure/apis/rconfig.ExtractResourceID() SubnetID *string `json:"subnetId,omitempty" tf:"subnet_id,omitempty"` @@ -1112,7 +1112,7 @@ type IngressApplicationGatewayParameters struct { SubnetCidr *string `json:"subnetCidr,omitempty" tf:"subnet_cidr,omitempty"` // The ID of the subnet on which to create an Application Gateway, which in turn will be integrated with the ingress controller of this Kubernetes Cluster. See this page for further details. - // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta1.Subnet + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta2.Subnet // +crossplane:generate:reference:extractor=github.com/upbound/provider-azure/apis/rconfig.ExtractResourceID() // +kubebuilder:validation:Optional SubnetID *string `json:"subnetId,omitempty" tf:"subnet_id,omitempty"` diff --git a/apis/containerservice/v1beta2/zz_kubernetesclusternodepool_types.go b/apis/containerservice/v1beta2/zz_kubernetesclusternodepool_types.go index 767143fdf..585d4abf3 100755 --- a/apis/containerservice/v1beta2/zz_kubernetesclusternodepool_types.go +++ b/apis/containerservice/v1beta2/zz_kubernetesclusternodepool_types.go @@ -98,7 +98,7 @@ type KubernetesClusterNodePoolInitParameters struct { OsType *string `json:"osType,omitempty" tf:"os_type,omitempty"` // The ID of the Subnet where the pods in the Node Pool should exist. Changing this forces a new resource to be created. - // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta1.Subnet + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta2.Subnet // +crossplane:generate:reference:extractor=github.com/upbound/provider-azure/apis/rconfig.ExtractResourceID() PodSubnetID *string `json:"podSubnetId,omitempty" tf:"pod_subnet_id,omitempty"` @@ -139,7 +139,7 @@ type KubernetesClusterNodePoolInitParameters struct { VMSize *string `json:"vmSize,omitempty" tf:"vm_size,omitempty"` // The ID of the Subnet where this Node Pool should exist. Changing this forces a new resource to be created. - // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta1.Subnet + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta2.Subnet // +crossplane:generate:reference:extractor=github.com/upbound/provider-azure/apis/rconfig.ExtractResourceID() VnetSubnetID *string `json:"vnetSubnetId,omitempty" tf:"vnet_subnet_id,omitempty"` @@ -547,16 +547,16 @@ type KubernetesClusterNodePoolParameters struct { KubeletDiskType *string `json:"kubeletDiskType,omitempty" tf:"kubelet_disk_type,omitempty"` // The ID of the Kubernetes Cluster where this Node Pool should exist. Changing this forces a new resource to be created. - // +crossplane:generate:reference:type=KubernetesCluster + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/containerservice/v1beta2.KubernetesCluster // +crossplane:generate:reference:extractor=github.com/upbound/provider-azure/apis/rconfig.ExtractResourceID() // +kubebuilder:validation:Optional KubernetesClusterID *string `json:"kubernetesClusterId,omitempty" tf:"kubernetes_cluster_id,omitempty"` - // Reference to a KubernetesCluster to populate kubernetesClusterId. + // Reference to a KubernetesCluster in containerservice to populate kubernetesClusterId. // +kubebuilder:validation:Optional KubernetesClusterIDRef *v1.Reference `json:"kubernetesClusterIdRef,omitempty" tf:"-"` - // Selector for a KubernetesCluster to populate kubernetesClusterId. + // Selector for a KubernetesCluster in containerservice to populate kubernetesClusterId. // +kubebuilder:validation:Optional KubernetesClusterIDSelector *v1.Selector `json:"kubernetesClusterIdSelector,omitempty" tf:"-"` @@ -626,7 +626,7 @@ type KubernetesClusterNodePoolParameters struct { OsType *string `json:"osType,omitempty" tf:"os_type,omitempty"` // The ID of the Subnet where the pods in the Node Pool should exist. Changing this forces a new resource to be created. - // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta1.Subnet + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta2.Subnet // +crossplane:generate:reference:extractor=github.com/upbound/provider-azure/apis/rconfig.ExtractResourceID() // +kubebuilder:validation:Optional PodSubnetID *string `json:"podSubnetId,omitempty" tf:"pod_subnet_id,omitempty"` @@ -677,7 +677,7 @@ type KubernetesClusterNodePoolParameters struct { VMSize *string `json:"vmSize,omitempty" tf:"vm_size,omitempty"` // The ID of the Subnet where this Node Pool should exist. Changing this forces a new resource to be created. - // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta1.Subnet + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta2.Subnet // +crossplane:generate:reference:extractor=github.com/upbound/provider-azure/apis/rconfig.ExtractResourceID() // +kubebuilder:validation:Optional VnetSubnetID *string `json:"vnetSubnetId,omitempty" tf:"vnet_subnet_id,omitempty"` diff --git a/apis/cosmosdb/v1beta1/zz_generated.resolvers.go b/apis/cosmosdb/v1beta1/zz_generated.resolvers.go index 2cef8eb0b..c81b03444 100644 --- a/apis/cosmosdb/v1beta1/zz_generated.resolvers.go +++ b/apis/cosmosdb/v1beta1/zz_generated.resolvers.go @@ -709,7 +709,7 @@ func (mg *SQLFunction) ResolveReferences(ctx context.Context, c client.Reader) e var rsp reference.ResolutionResponse var err error { - m, l, err = apisresolver.GetManagedResource("cosmosdb.azure.upbound.io", "v1beta1", "SQLContainer", "SQLContainerList") + m, l, err = apisresolver.GetManagedResource("cosmosdb.azure.upbound.io", "v1beta2", "SQLContainer", "SQLContainerList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } @@ -992,7 +992,7 @@ func (mg *SQLStoredProcedure) ResolveReferences(ctx context.Context, c client.Re var rsp reference.ResolutionResponse var err error { - m, l, err = apisresolver.GetManagedResource("cosmosdb.azure.upbound.io", "v1beta1", "Account", "AccountList") + m, l, err = apisresolver.GetManagedResource("cosmosdb.azure.upbound.io", "v1beta2", "Account", "AccountList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } @@ -1011,7 +1011,7 @@ func (mg *SQLStoredProcedure) ResolveReferences(ctx context.Context, c client.Re mg.Spec.ForProvider.AccountName = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.AccountNameRef = rsp.ResolvedReference { - m, l, err = apisresolver.GetManagedResource("cosmosdb.azure.upbound.io", "v1beta1", "SQLContainer", "SQLContainerList") + m, l, err = apisresolver.GetManagedResource("cosmosdb.azure.upbound.io", "v1beta2", "SQLContainer", "SQLContainerList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } @@ -1030,7 +1030,7 @@ func (mg *SQLStoredProcedure) ResolveReferences(ctx context.Context, c client.Re mg.Spec.ForProvider.ContainerName = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.ContainerNameRef = rsp.ResolvedReference { - m, l, err = apisresolver.GetManagedResource("cosmosdb.azure.upbound.io", "v1beta1", "SQLDatabase", "SQLDatabaseList") + m, l, err = apisresolver.GetManagedResource("cosmosdb.azure.upbound.io", "v1beta2", "SQLDatabase", "SQLDatabaseList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } @@ -1080,7 +1080,7 @@ func (mg *SQLTrigger) ResolveReferences(ctx context.Context, c client.Reader) er var rsp reference.ResolutionResponse var err error { - m, l, err = apisresolver.GetManagedResource("cosmosdb.azure.upbound.io", "v1beta1", "SQLContainer", "SQLContainerList") + m, l, err = apisresolver.GetManagedResource("cosmosdb.azure.upbound.io", "v1beta2", "SQLContainer", "SQLContainerList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } diff --git a/apis/cosmosdb/v1beta1/zz_sqlfunction_types.go b/apis/cosmosdb/v1beta1/zz_sqlfunction_types.go index 21bdc343a..89167d967 100755 --- a/apis/cosmosdb/v1beta1/zz_sqlfunction_types.go +++ b/apis/cosmosdb/v1beta1/zz_sqlfunction_types.go @@ -38,7 +38,7 @@ type SQLFunctionParameters struct { Body *string `json:"body,omitempty" tf:"body,omitempty"` // The id of the Cosmos DB SQL Container to create the SQL User Defined Function within. Changing this forces a new SQL User Defined Function to be created. - // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/cosmosdb/v1beta1.SQLContainer + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/cosmosdb/v1beta2.SQLContainer // +crossplane:generate:reference:extractor=github.com/upbound/provider-azure/apis/rconfig.ExtractResourceID() // +kubebuilder:validation:Optional ContainerID *string `json:"containerId,omitempty" tf:"container_id,omitempty"` diff --git a/apis/cosmosdb/v1beta1/zz_sqlstoredprocedure_types.go b/apis/cosmosdb/v1beta1/zz_sqlstoredprocedure_types.go index a15970095..c56592ae6 100755 --- a/apis/cosmosdb/v1beta1/zz_sqlstoredprocedure_types.go +++ b/apis/cosmosdb/v1beta1/zz_sqlstoredprocedure_types.go @@ -43,7 +43,7 @@ type SQLStoredProcedureObservation struct { type SQLStoredProcedureParameters struct { // The name of the Cosmos DB Account to create the stored procedure within. Changing this forces a new resource to be created. - // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/cosmosdb/v1beta1.Account + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/cosmosdb/v1beta2.Account // +kubebuilder:validation:Optional AccountName *string `json:"accountName,omitempty" tf:"account_name,omitempty"` @@ -60,7 +60,7 @@ type SQLStoredProcedureParameters struct { Body *string `json:"body,omitempty" tf:"body,omitempty"` // The name of the Cosmos DB SQL Container to create the stored procedure within. Changing this forces a new resource to be created. - // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/cosmosdb/v1beta1.SQLContainer + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/cosmosdb/v1beta2.SQLContainer // +kubebuilder:validation:Optional ContainerName *string `json:"containerName,omitempty" tf:"container_name,omitempty"` @@ -73,7 +73,7 @@ type SQLStoredProcedureParameters struct { ContainerNameSelector *v1.Selector `json:"containerNameSelector,omitempty" tf:"-"` // The name of the Cosmos DB SQL Database to create the stored procedure within. Changing this forces a new resource to be created. - // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/cosmosdb/v1beta1.SQLDatabase + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/cosmosdb/v1beta2.SQLDatabase // +kubebuilder:validation:Optional DatabaseName *string `json:"databaseName,omitempty" tf:"database_name,omitempty"` diff --git a/apis/cosmosdb/v1beta1/zz_sqltrigger_types.go b/apis/cosmosdb/v1beta1/zz_sqltrigger_types.go index 835f0e0de..443d9b719 100755 --- a/apis/cosmosdb/v1beta1/zz_sqltrigger_types.go +++ b/apis/cosmosdb/v1beta1/zz_sqltrigger_types.go @@ -50,7 +50,7 @@ type SQLTriggerParameters struct { Body *string `json:"body,omitempty" tf:"body,omitempty"` // The id of the Cosmos DB SQL Container to create the SQL Trigger within. Changing this forces a new SQL Trigger to be created. - // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/cosmosdb/v1beta1.SQLContainer + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/cosmosdb/v1beta2.SQLContainer // +crossplane:generate:reference:extractor=github.com/upbound/provider-azure/apis/rconfig.ExtractResourceID() // +kubebuilder:validation:Optional ContainerID *string `json:"containerId,omitempty" tf:"container_id,omitempty"` diff --git a/apis/cosmosdb/v1beta2/zz_account_types.go b/apis/cosmosdb/v1beta2/zz_account_types.go index 1f4bf9e6c..101e402ba 100755 --- a/apis/cosmosdb/v1beta2/zz_account_types.go +++ b/apis/cosmosdb/v1beta2/zz_account_types.go @@ -730,7 +730,7 @@ type RestoreInitParameters struct { RestoreTimestampInUtc *string `json:"restoreTimestampInUtc,omitempty" tf:"restore_timestamp_in_utc,omitempty"` // The resource ID of the restorable database account from which the restore has to be initiated. The example is /subscriptions/{subscriptionId}/providers/Microsoft.DocumentDB/locations/{location}/restorableDatabaseAccounts/{restorableDatabaseAccountName}. Changing this forces a new resource to be created. - // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/cosmosdb/v1beta1.Account + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/cosmosdb/v1beta2.Account // +crossplane:generate:reference:extractor=github.com/upbound/provider-azure/apis/rconfig.ExtractResourceID() SourceCosmosDBAccountID *string `json:"sourceCosmosdbAccountId,omitempty" tf:"source_cosmosdb_account_id,omitempty"` @@ -779,7 +779,7 @@ type RestoreParameters struct { RestoreTimestampInUtc *string `json:"restoreTimestampInUtc" tf:"restore_timestamp_in_utc,omitempty"` // The resource ID of the restorable database account from which the restore has to be initiated. The example is /subscriptions/{subscriptionId}/providers/Microsoft.DocumentDB/locations/{location}/restorableDatabaseAccounts/{restorableDatabaseAccountName}. Changing this forces a new resource to be created. - // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/cosmosdb/v1beta1.Account + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/cosmosdb/v1beta2.Account // +crossplane:generate:reference:extractor=github.com/upbound/provider-azure/apis/rconfig.ExtractResourceID() // +kubebuilder:validation:Optional SourceCosmosDBAccountID *string `json:"sourceCosmosdbAccountId,omitempty" tf:"source_cosmosdb_account_id,omitempty"` diff --git a/apis/cosmosdb/v1beta2/zz_cassandratable_types.go b/apis/cosmosdb/v1beta2/zz_cassandratable_types.go index a735f1638..0dea80479 100755 --- a/apis/cosmosdb/v1beta2/zz_cassandratable_types.go +++ b/apis/cosmosdb/v1beta2/zz_cassandratable_types.go @@ -85,16 +85,16 @@ type CassandraTableParameters struct { AutoscaleSettings *CassandraTableAutoscaleSettingsParameters `json:"autoscaleSettings,omitempty" tf:"autoscale_settings,omitempty"` // The ID of the Cosmos DB Cassandra Keyspace to create the table within. Changing this forces a new resource to be created. - // +crossplane:generate:reference:type=CassandraKeySpace + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/cosmosdb/v1beta2.CassandraKeySpace // +crossplane:generate:reference:extractor=github.com/upbound/provider-azure/apis/rconfig.ExtractResourceID() // +kubebuilder:validation:Optional CassandraKeySpaceID *string `json:"cassandraKeyspaceId,omitempty" tf:"cassandra_keyspace_id,omitempty"` - // Reference to a CassandraKeySpace to populate cassandraKeyspaceId. + // Reference to a CassandraKeySpace in cosmosdb to populate cassandraKeyspaceId. // +kubebuilder:validation:Optional CassandraKeySpaceIDRef *v1.Reference `json:"cassandraKeyspaceIdRef,omitempty" tf:"-"` - // Selector for a CassandraKeySpace to populate cassandraKeyspaceId. + // Selector for a CassandraKeySpace in cosmosdb to populate cassandraKeyspaceId. // +kubebuilder:validation:Optional CassandraKeySpaceIDSelector *v1.Selector `json:"cassandraKeyspaceIdSelector,omitempty" tf:"-"` diff --git a/apis/cosmosdb/v1beta2/zz_generated.resolvers.go b/apis/cosmosdb/v1beta2/zz_generated.resolvers.go index a63b70bac..21c4a4f22 100644 --- a/apis/cosmosdb/v1beta2/zz_generated.resolvers.go +++ b/apis/cosmosdb/v1beta2/zz_generated.resolvers.go @@ -49,7 +49,7 @@ func (mg *Account) ResolveReferences(ctx context.Context, c client.Reader) error if mg.Spec.ForProvider.Restore != nil { { - m, l, err = apisresolver.GetManagedResource("cosmosdb.azure.upbound.io", "v1beta1", "Account", "AccountList") + m, l, err = apisresolver.GetManagedResource("cosmosdb.azure.upbound.io", "v1beta2", "Account", "AccountList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } @@ -70,7 +70,7 @@ func (mg *Account) ResolveReferences(ctx context.Context, c client.Reader) error } if mg.Spec.InitProvider.Restore != nil { { - m, l, err = apisresolver.GetManagedResource("cosmosdb.azure.upbound.io", "v1beta1", "Account", "AccountList") + m, l, err = apisresolver.GetManagedResource("cosmosdb.azure.upbound.io", "v1beta2", "Account", "AccountList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } @@ -252,7 +252,7 @@ func (mg *GremlinDatabase) ResolveReferences(ctx context.Context, c client.Reade var rsp reference.ResolutionResponse var err error { - m, l, err = apisresolver.GetManagedResource("cosmosdb.azure.upbound.io", "v1beta1", "Account", "AccountList") + m, l, err = apisresolver.GetManagedResource("cosmosdb.azure.upbound.io", "v1beta2", "Account", "AccountList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } @@ -302,7 +302,7 @@ func (mg *GremlinGraph) ResolveReferences(ctx context.Context, c client.Reader) var rsp reference.ResolutionResponse var err error { - m, l, err = apisresolver.GetManagedResource("cosmosdb.azure.upbound.io", "v1beta1", "Account", "AccountList") + m, l, err = apisresolver.GetManagedResource("cosmosdb.azure.upbound.io", "v1beta2", "Account", "AccountList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } @@ -371,7 +371,7 @@ func (mg *MongoCollection) ResolveReferences(ctx context.Context, c client.Reade var rsp reference.ResolutionResponse var err error { - m, l, err = apisresolver.GetManagedResource("cosmosdb.azure.upbound.io", "v1beta1", "Account", "AccountList") + m, l, err = apisresolver.GetManagedResource("cosmosdb.azure.upbound.io", "v1beta2", "Account", "AccountList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } @@ -440,7 +440,7 @@ func (mg *MongoDatabase) ResolveReferences(ctx context.Context, c client.Reader) var rsp reference.ResolutionResponse var err error { - m, l, err = apisresolver.GetManagedResource("cosmosdb.azure.upbound.io", "v1beta1", "Account", "AccountList") + m, l, err = apisresolver.GetManagedResource("cosmosdb.azure.upbound.io", "v1beta2", "Account", "AccountList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } @@ -490,7 +490,7 @@ func (mg *SQLContainer) ResolveReferences(ctx context.Context, c client.Reader) var rsp reference.ResolutionResponse var err error { - m, l, err = apisresolver.GetManagedResource("cosmosdb.azure.upbound.io", "v1beta1", "Account", "AccountList") + m, l, err = apisresolver.GetManagedResource("cosmosdb.azure.upbound.io", "v1beta2", "Account", "AccountList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } @@ -559,7 +559,7 @@ func (mg *SQLDatabase) ResolveReferences(ctx context.Context, c client.Reader) e var rsp reference.ResolutionResponse var err error { - m, l, err = apisresolver.GetManagedResource("cosmosdb.azure.upbound.io", "v1beta1", "Account", "AccountList") + m, l, err = apisresolver.GetManagedResource("cosmosdb.azure.upbound.io", "v1beta2", "Account", "AccountList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } @@ -609,7 +609,7 @@ func (mg *Table) ResolveReferences(ctx context.Context, c client.Reader) error { var rsp reference.ResolutionResponse var err error { - m, l, err = apisresolver.GetManagedResource("cosmosdb.azure.upbound.io", "v1beta1", "Account", "AccountList") + m, l, err = apisresolver.GetManagedResource("cosmosdb.azure.upbound.io", "v1beta2", "Account", "AccountList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } diff --git a/apis/cosmosdb/v1beta2/zz_gremlindatabase_types.go b/apis/cosmosdb/v1beta2/zz_gremlindatabase_types.go index 22c1b1332..1e8da6fb4 100755 --- a/apis/cosmosdb/v1beta2/zz_gremlindatabase_types.go +++ b/apis/cosmosdb/v1beta2/zz_gremlindatabase_types.go @@ -62,7 +62,7 @@ type GremlinDatabaseObservation_2 struct { type GremlinDatabaseParameters_2 struct { // The name of the CosmosDB Account to create the Gremlin Database within. Changing this forces a new resource to be created. - // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/cosmosdb/v1beta1.Account + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/cosmosdb/v1beta2.Account // +kubebuilder:validation:Optional AccountName *string `json:"accountName,omitempty" tf:"account_name,omitempty"` diff --git a/apis/cosmosdb/v1beta2/zz_gremlingraph_types.go b/apis/cosmosdb/v1beta2/zz_gremlingraph_types.go index 04b894f4a..c0460bdd7 100755 --- a/apis/cosmosdb/v1beta2/zz_gremlingraph_types.go +++ b/apis/cosmosdb/v1beta2/zz_gremlingraph_types.go @@ -165,7 +165,7 @@ type GremlinGraphObservation struct { type GremlinGraphParameters struct { // The name of the CosmosDB Account to create the Gremlin Graph within. Changing this forces a new resource to be created. - // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/cosmosdb/v1beta1.Account + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/cosmosdb/v1beta2.Account // +kubebuilder:validation:Optional AccountName *string `json:"accountName,omitempty" tf:"account_name,omitempty"` @@ -190,15 +190,15 @@ type GremlinGraphParameters struct { ConflictResolutionPolicy *ConflictResolutionPolicyParameters `json:"conflictResolutionPolicy,omitempty" tf:"conflict_resolution_policy,omitempty"` // The name of the Cosmos DB Graph Database in which the Cosmos DB Gremlin Graph is created. Changing this forces a new resource to be created. - // +crossplane:generate:reference:type=GremlinDatabase + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/cosmosdb/v1beta2.GremlinDatabase // +kubebuilder:validation:Optional DatabaseName *string `json:"databaseName,omitempty" tf:"database_name,omitempty"` - // Reference to a GremlinDatabase to populate databaseName. + // Reference to a GremlinDatabase in cosmosdb to populate databaseName. // +kubebuilder:validation:Optional DatabaseNameRef *v1.Reference `json:"databaseNameRef,omitempty" tf:"-"` - // Selector for a GremlinDatabase to populate databaseName. + // Selector for a GremlinDatabase in cosmosdb to populate databaseName. // +kubebuilder:validation:Optional DatabaseNameSelector *v1.Selector `json:"databaseNameSelector,omitempty" tf:"-"` diff --git a/apis/cosmosdb/v1beta2/zz_mongocollection_types.go b/apis/cosmosdb/v1beta2/zz_mongocollection_types.go index 34cff72d1..3aeda099c 100755 --- a/apis/cosmosdb/v1beta2/zz_mongocollection_types.go +++ b/apis/cosmosdb/v1beta2/zz_mongocollection_types.go @@ -121,7 +121,7 @@ type MongoCollectionObservation struct { type MongoCollectionParameters struct { // The name of the Cosmos DB Account in which the Cosmos DB Mongo Collection is created. Changing this forces a new resource to be created. - // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/cosmosdb/v1beta1.Account + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/cosmosdb/v1beta2.Account // +kubebuilder:validation:Optional AccountName *string `json:"accountName,omitempty" tf:"account_name,omitempty"` @@ -142,15 +142,15 @@ type MongoCollectionParameters struct { AutoscaleSettings *MongoCollectionAutoscaleSettingsParameters `json:"autoscaleSettings,omitempty" tf:"autoscale_settings,omitempty"` // The name of the Cosmos DB Mongo Database in which the Cosmos DB Mongo Collection is created. Changing this forces a new resource to be created. - // +crossplane:generate:reference:type=MongoDatabase + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/cosmosdb/v1beta2.MongoDatabase // +kubebuilder:validation:Optional DatabaseName *string `json:"databaseName,omitempty" tf:"database_name,omitempty"` - // Reference to a MongoDatabase to populate databaseName. + // Reference to a MongoDatabase in cosmosdb to populate databaseName. // +kubebuilder:validation:Optional DatabaseNameRef *v1.Reference `json:"databaseNameRef,omitempty" tf:"-"` - // Selector for a MongoDatabase to populate databaseName. + // Selector for a MongoDatabase in cosmosdb to populate databaseName. // +kubebuilder:validation:Optional DatabaseNameSelector *v1.Selector `json:"databaseNameSelector,omitempty" tf:"-"` diff --git a/apis/cosmosdb/v1beta2/zz_mongodatabase_types.go b/apis/cosmosdb/v1beta2/zz_mongodatabase_types.go index ff4be4207..167eaccb3 100755 --- a/apis/cosmosdb/v1beta2/zz_mongodatabase_types.go +++ b/apis/cosmosdb/v1beta2/zz_mongodatabase_types.go @@ -62,7 +62,7 @@ type MongoDatabaseObservation struct { type MongoDatabaseParameters struct { // The name of the Cosmos DB Mongo Database to create the table within. Changing this forces a new resource to be created. - // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/cosmosdb/v1beta1.Account + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/cosmosdb/v1beta2.Account // +kubebuilder:validation:Optional AccountName *string `json:"accountName,omitempty" tf:"account_name,omitempty"` diff --git a/apis/cosmosdb/v1beta2/zz_sqlcontainer_types.go b/apis/cosmosdb/v1beta2/zz_sqlcontainer_types.go index 5a9029eed..6465efd59 100755 --- a/apis/cosmosdb/v1beta2/zz_sqlcontainer_types.go +++ b/apis/cosmosdb/v1beta2/zz_sqlcontainer_types.go @@ -314,7 +314,7 @@ type SQLContainerObservation struct { type SQLContainerParameters struct { // The name of the Cosmos DB Account to create the container within. Changing this forces a new resource to be created. - // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/cosmosdb/v1beta1.Account + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/cosmosdb/v1beta2.Account // +kubebuilder:validation:Optional AccountName *string `json:"accountName,omitempty" tf:"account_name,omitempty"` @@ -339,15 +339,15 @@ type SQLContainerParameters struct { ConflictResolutionPolicy *SQLContainerConflictResolutionPolicyParameters `json:"conflictResolutionPolicy,omitempty" tf:"conflict_resolution_policy,omitempty"` // The name of the Cosmos DB SQL Database to create the container within. Changing this forces a new resource to be created. - // +crossplane:generate:reference:type=SQLDatabase + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/cosmosdb/v1beta2.SQLDatabase // +kubebuilder:validation:Optional DatabaseName *string `json:"databaseName,omitempty" tf:"database_name,omitempty"` - // Reference to a SQLDatabase to populate databaseName. + // Reference to a SQLDatabase in cosmosdb to populate databaseName. // +kubebuilder:validation:Optional DatabaseNameRef *v1.Reference `json:"databaseNameRef,omitempty" tf:"-"` - // Selector for a SQLDatabase to populate databaseName. + // Selector for a SQLDatabase in cosmosdb to populate databaseName. // +kubebuilder:validation:Optional DatabaseNameSelector *v1.Selector `json:"databaseNameSelector,omitempty" tf:"-"` diff --git a/apis/cosmosdb/v1beta2/zz_sqldatabase_types.go b/apis/cosmosdb/v1beta2/zz_sqldatabase_types.go index 049a1db93..285ebad87 100755 --- a/apis/cosmosdb/v1beta2/zz_sqldatabase_types.go +++ b/apis/cosmosdb/v1beta2/zz_sqldatabase_types.go @@ -62,7 +62,7 @@ type SQLDatabaseObservation struct { type SQLDatabaseParameters struct { // The name of the Cosmos DB SQL Database to create the table within. Changing this forces a new resource to be created. - // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/cosmosdb/v1beta1.Account + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/cosmosdb/v1beta2.Account // +kubebuilder:validation:Optional AccountName *string `json:"accountName,omitempty" tf:"account_name,omitempty"` diff --git a/apis/cosmosdb/v1beta2/zz_table_types.go b/apis/cosmosdb/v1beta2/zz_table_types.go index 4fd6b47f7..8daeb7632 100755 --- a/apis/cosmosdb/v1beta2/zz_table_types.go +++ b/apis/cosmosdb/v1beta2/zz_table_types.go @@ -62,7 +62,7 @@ type TableObservation struct { type TableParameters struct { // The name of the Cosmos DB Table to create the table within. Changing this forces a new resource to be created. - // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/cosmosdb/v1beta1.Account + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/cosmosdb/v1beta2.Account // +kubebuilder:validation:Optional AccountName *string `json:"accountName,omitempty" tf:"account_name,omitempty"` diff --git a/apis/databricks/v1beta2/zz_generated.resolvers.go b/apis/databricks/v1beta2/zz_generated.resolvers.go index e1d2131c4..9f8edd036 100644 --- a/apis/databricks/v1beta2/zz_generated.resolvers.go +++ b/apis/databricks/v1beta2/zz_generated.resolvers.go @@ -58,7 +58,7 @@ func (mg *Workspace) ResolveReferences(ctx context.Context, c client.Reader) err if mg.Spec.ForProvider.CustomParameters != nil { { - m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta1", "Subnet", "SubnetList") + m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta2", "Subnet", "SubnetList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } @@ -79,7 +79,7 @@ func (mg *Workspace) ResolveReferences(ctx context.Context, c client.Reader) err } if mg.Spec.ForProvider.CustomParameters != nil { { - m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta1", "Subnet", "SubnetList") + m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta2", "Subnet", "SubnetList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } @@ -138,7 +138,7 @@ func (mg *Workspace) ResolveReferences(ctx context.Context, c client.Reader) err if mg.Spec.InitProvider.CustomParameters != nil { { - m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta1", "Subnet", "SubnetList") + m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta2", "Subnet", "SubnetList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } @@ -159,7 +159,7 @@ func (mg *Workspace) ResolveReferences(ctx context.Context, c client.Reader) err } if mg.Spec.InitProvider.CustomParameters != nil { { - m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta1", "Subnet", "SubnetList") + m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta2", "Subnet", "SubnetList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } diff --git a/apis/databricks/v1beta2/zz_workspace_types.go b/apis/databricks/v1beta2/zz_workspace_types.go index 9f745b280..34b2e5b45 100755 --- a/apis/databricks/v1beta2/zz_workspace_types.go +++ b/apis/databricks/v1beta2/zz_workspace_types.go @@ -25,7 +25,7 @@ type CustomParametersInitParameters struct { NoPublicIP *bool `json:"noPublicIp,omitempty" tf:"no_public_ip,omitempty"` // The name of the Private Subnet within the Virtual Network. Required if virtual_network_id is set. Changing this forces a new resource to be created. - // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta1.Subnet + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta2.Subnet PrivateSubnetName *string `json:"privateSubnetName,omitempty" tf:"private_subnet_name,omitempty"` // Reference to a Subnet in network to populate privateSubnetName. @@ -43,7 +43,7 @@ type CustomParametersInitParameters struct { PublicIPName *string `json:"publicIpName,omitempty" tf:"public_ip_name,omitempty"` // The name of the Public Subnet within the Virtual Network. Required if virtual_network_id is set. Changing this forces a new resource to be created. - // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta1.Subnet + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta2.Subnet PublicSubnetName *string `json:"publicSubnetName,omitempty" tf:"public_subnet_name,omitempty"` // Reference to a Subnet in network to populate publicSubnetName. @@ -124,7 +124,7 @@ type CustomParametersParameters struct { NoPublicIP *bool `json:"noPublicIp,omitempty" tf:"no_public_ip,omitempty"` // The name of the Private Subnet within the Virtual Network. Required if virtual_network_id is set. Changing this forces a new resource to be created. - // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta1.Subnet + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta2.Subnet // +kubebuilder:validation:Optional PrivateSubnetName *string `json:"privateSubnetName,omitempty" tf:"private_subnet_name,omitempty"` @@ -145,7 +145,7 @@ type CustomParametersParameters struct { PublicIPName *string `json:"publicIpName,omitempty" tf:"public_ip_name,omitempty"` // The name of the Public Subnet within the Virtual Network. Required if virtual_network_id is set. Changing this forces a new resource to be created. - // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta1.Subnet + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta2.Subnet // +kubebuilder:validation:Optional PublicSubnetName *string `json:"publicSubnetName,omitempty" tf:"public_subnet_name,omitempty"` diff --git a/apis/datafactory/v1beta2/zz_generated.resolvers.go b/apis/datafactory/v1beta2/zz_generated.resolvers.go index b45e2bb73..caff5bcd3 100644 --- a/apis/datafactory/v1beta2/zz_generated.resolvers.go +++ b/apis/datafactory/v1beta2/zz_generated.resolvers.go @@ -553,7 +553,7 @@ func (mg *IntegrationRuntimeAzureSSIS) ResolveReferences(ctx context.Context, c if mg.Spec.ForProvider.ExpressVnetIntegration != nil { { - m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta1", "Subnet", "SubnetList") + m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta2", "Subnet", "SubnetList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } @@ -574,7 +574,7 @@ func (mg *IntegrationRuntimeAzureSSIS) ResolveReferences(ctx context.Context, c } if mg.Spec.ForProvider.VnetIntegration != nil { { - m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta1", "Subnet", "SubnetList") + m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta2", "Subnet", "SubnetList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } @@ -595,7 +595,7 @@ func (mg *IntegrationRuntimeAzureSSIS) ResolveReferences(ctx context.Context, c } if mg.Spec.ForProvider.VnetIntegration != nil { { - m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta1", "Subnet", "SubnetList") + m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta2", "Subnet", "SubnetList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } @@ -616,7 +616,7 @@ func (mg *IntegrationRuntimeAzureSSIS) ResolveReferences(ctx context.Context, c } if mg.Spec.InitProvider.ExpressVnetIntegration != nil { { - m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta1", "Subnet", "SubnetList") + m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta2", "Subnet", "SubnetList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } @@ -637,7 +637,7 @@ func (mg *IntegrationRuntimeAzureSSIS) ResolveReferences(ctx context.Context, c } if mg.Spec.InitProvider.VnetIntegration != nil { { - m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta1", "Subnet", "SubnetList") + m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta2", "Subnet", "SubnetList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } @@ -658,7 +658,7 @@ func (mg *IntegrationRuntimeAzureSSIS) ResolveReferences(ctx context.Context, c } if mg.Spec.InitProvider.VnetIntegration != nil { { - m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta1", "Subnet", "SubnetList") + m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta2", "Subnet", "SubnetList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } @@ -711,7 +711,7 @@ func (mg *IntegrationRuntimeManaged) ResolveReferences(ctx context.Context, c cl if mg.Spec.ForProvider.VnetIntegration != nil { { - m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta1", "Subnet", "SubnetList") + m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta2", "Subnet", "SubnetList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } @@ -732,7 +732,7 @@ func (mg *IntegrationRuntimeManaged) ResolveReferences(ctx context.Context, c cl } if mg.Spec.InitProvider.VnetIntegration != nil { { - m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta1", "Subnet", "SubnetList") + m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta2", "Subnet", "SubnetList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } diff --git a/apis/datafactory/v1beta2/zz_integrationruntimeazuressis_types.go b/apis/datafactory/v1beta2/zz_integrationruntimeazuressis_types.go index aa1205ce0..02a8cfd74 100755 --- a/apis/datafactory/v1beta2/zz_integrationruntimeazuressis_types.go +++ b/apis/datafactory/v1beta2/zz_integrationruntimeazuressis_types.go @@ -230,7 +230,7 @@ type ExpressCustomSetupParameters struct { type ExpressVnetIntegrationInitParameters struct { // id of the subnet to which the nodes of the Azure-SSIS Integration Runtime will be added. - // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta1.Subnet + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta2.Subnet // +crossplane:generate:reference:extractor=github.com/upbound/provider-azure/apis/rconfig.ExtractResourceID() SubnetID *string `json:"subnetId,omitempty" tf:"subnet_id,omitempty"` @@ -252,7 +252,7 @@ type ExpressVnetIntegrationObservation struct { type ExpressVnetIntegrationParameters struct { // id of the subnet to which the nodes of the Azure-SSIS Integration Runtime will be added. - // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta1.Subnet + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta2.Subnet // +crossplane:generate:reference:extractor=github.com/upbound/provider-azure/apis/rconfig.ExtractResourceID() // +kubebuilder:validation:Optional SubnetID *string `json:"subnetId,omitempty" tf:"subnet_id,omitempty"` @@ -623,7 +623,7 @@ type VnetIntegrationInitParameters struct { PublicIps []*string `json:"publicIps,omitempty" tf:"public_ips,omitempty"` // id of the subnet to which the nodes of the Azure-SSIS Integration Runtime will be added. - // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta1.Subnet + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta2.Subnet // +crossplane:generate:reference:extractor=github.com/upbound/provider-azure/apis/rconfig.ExtractResourceID() SubnetID *string `json:"subnetId,omitempty" tf:"subnet_id,omitempty"` @@ -636,7 +636,7 @@ type VnetIntegrationInitParameters struct { SubnetIDSelector *v1.Selector `json:"subnetIdSelector,omitempty" tf:"-"` // Name of the subnet to which the nodes of the Azure-SSIS Integration Runtime will be added. - // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta1.Subnet + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta2.Subnet SubnetName *string `json:"subnetName,omitempty" tf:"subnet_name,omitempty"` // Reference to a Subnet in network to populate subnetName. @@ -673,7 +673,7 @@ type VnetIntegrationParameters struct { PublicIps []*string `json:"publicIps,omitempty" tf:"public_ips,omitempty"` // id of the subnet to which the nodes of the Azure-SSIS Integration Runtime will be added. - // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta1.Subnet + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta2.Subnet // +crossplane:generate:reference:extractor=github.com/upbound/provider-azure/apis/rconfig.ExtractResourceID() // +kubebuilder:validation:Optional SubnetID *string `json:"subnetId,omitempty" tf:"subnet_id,omitempty"` @@ -687,7 +687,7 @@ type VnetIntegrationParameters struct { SubnetIDSelector *v1.Selector `json:"subnetIdSelector,omitempty" tf:"-"` // Name of the subnet to which the nodes of the Azure-SSIS Integration Runtime will be added. - // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta1.Subnet + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta2.Subnet // +kubebuilder:validation:Optional SubnetName *string `json:"subnetName,omitempty" tf:"subnet_name,omitempty"` diff --git a/apis/datafactory/v1beta2/zz_integrationruntimemanaged_types.go b/apis/datafactory/v1beta2/zz_integrationruntimemanaged_types.go index 9e3c16c2a..e7495a223 100755 --- a/apis/datafactory/v1beta2/zz_integrationruntimemanaged_types.go +++ b/apis/datafactory/v1beta2/zz_integrationruntimemanaged_types.go @@ -221,7 +221,7 @@ type IntegrationRuntimeManagedParameters struct { type IntegrationRuntimeManagedVnetIntegrationInitParameters struct { // Name of the subnet to which the nodes of the Managed Integration Runtime will be added. - // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta1.Subnet + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta2.Subnet SubnetName *string `json:"subnetName,omitempty" tf:"subnet_name,omitempty"` // Reference to a Subnet in network to populate subnetName. @@ -248,7 +248,7 @@ type IntegrationRuntimeManagedVnetIntegrationObservation struct { type IntegrationRuntimeManagedVnetIntegrationParameters struct { // Name of the subnet to which the nodes of the Managed Integration Runtime will be added. - // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta1.Subnet + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta2.Subnet // +kubebuilder:validation:Optional SubnetName *string `json:"subnetName,omitempty" tf:"subnet_name,omitempty"` diff --git a/apis/dataprotection/v1beta1/zz_backuppolicyblobstorage_types.go b/apis/dataprotection/v1beta1/zz_backuppolicyblobstorage_types.go index 1ab878bcd..efaa0f226 100755 --- a/apis/dataprotection/v1beta1/zz_backuppolicyblobstorage_types.go +++ b/apis/dataprotection/v1beta1/zz_backuppolicyblobstorage_types.go @@ -38,7 +38,7 @@ type BackupPolicyBlobStorageParameters struct { RetentionDuration *string `json:"retentionDuration,omitempty" tf:"retention_duration,omitempty"` // The ID of the Backup Vault within which the Backup Policy Blob Storage should exist. Changing this forces a new Backup Policy Blob Storage to be created. - // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/dataprotection/v1beta1.BackupVault + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/dataprotection/v1beta2.BackupVault // +crossplane:generate:reference:extractor=github.com/upbound/provider-azure/apis/rconfig.ExtractResourceID() // +kubebuilder:validation:Optional VaultID *string `json:"vaultId,omitempty" tf:"vault_id,omitempty"` diff --git a/apis/dataprotection/v1beta1/zz_generated.resolvers.go b/apis/dataprotection/v1beta1/zz_generated.resolvers.go index 6da44d78e..746d3a874 100644 --- a/apis/dataprotection/v1beta1/zz_generated.resolvers.go +++ b/apis/dataprotection/v1beta1/zz_generated.resolvers.go @@ -425,7 +425,7 @@ func (mg *BackupPolicyBlobStorage) ResolveReferences(ctx context.Context, c clie var rsp reference.ResolutionResponse var err error { - m, l, err = apisresolver.GetManagedResource("dataprotection.azure.upbound.io", "v1beta1", "BackupVault", "BackupVaultList") + m, l, err = apisresolver.GetManagedResource("dataprotection.azure.upbound.io", "v1beta2", "BackupVault", "BackupVaultList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } diff --git a/apis/dataprotection/v1beta2/zz_backuppolicydisk_types.go b/apis/dataprotection/v1beta2/zz_backuppolicydisk_types.go index 6445ffd21..885c513f8 100755 --- a/apis/dataprotection/v1beta2/zz_backuppolicydisk_types.go +++ b/apis/dataprotection/v1beta2/zz_backuppolicydisk_types.go @@ -68,16 +68,16 @@ type BackupPolicyDiskParameters struct { TimeZone *string `json:"timeZone,omitempty" tf:"time_zone,omitempty"` // The ID of the Backup Vault within which the Backup Policy Disk should exist. Changing this forces a new Backup Policy Disk to be created. - // +crossplane:generate:reference:type=BackupVault + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/dataprotection/v1beta2.BackupVault // +crossplane:generate:reference:extractor=github.com/upbound/provider-azure/apis/rconfig.ExtractResourceID() // +kubebuilder:validation:Optional VaultID *string `json:"vaultId,omitempty" tf:"vault_id,omitempty"` - // Reference to a BackupVault to populate vaultId. + // Reference to a BackupVault in dataprotection to populate vaultId. // +kubebuilder:validation:Optional VaultIDRef *v1.Reference `json:"vaultIdRef,omitempty" tf:"-"` - // Selector for a BackupVault to populate vaultId. + // Selector for a BackupVault in dataprotection to populate vaultId. // +kubebuilder:validation:Optional VaultIDSelector *v1.Selector `json:"vaultIdSelector,omitempty" tf:"-"` } diff --git a/apis/dataprotection/v1beta2/zz_backuppolicypostgresql_types.go b/apis/dataprotection/v1beta2/zz_backuppolicypostgresql_types.go index d6af4b142..2adac6606 100755 --- a/apis/dataprotection/v1beta2/zz_backuppolicypostgresql_types.go +++ b/apis/dataprotection/v1beta2/zz_backuppolicypostgresql_types.go @@ -84,15 +84,15 @@ type BackupPolicyPostgreSQLParameters struct { TimeZone *string `json:"timeZone,omitempty" tf:"time_zone,omitempty"` // The name of the Backup Vault where the Backup Policy PostgreSQL should exist. Changing this forces a new Backup Policy PostgreSQL to be created. - // +crossplane:generate:reference:type=BackupVault + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/dataprotection/v1beta2.BackupVault // +kubebuilder:validation:Optional VaultName *string `json:"vaultName,omitempty" tf:"vault_name,omitempty"` - // Reference to a BackupVault to populate vaultName. + // Reference to a BackupVault in dataprotection to populate vaultName. // +kubebuilder:validation:Optional VaultNameRef *v1.Reference `json:"vaultNameRef,omitempty" tf:"-"` - // Selector for a BackupVault to populate vaultName. + // Selector for a BackupVault in dataprotection to populate vaultName. // +kubebuilder:validation:Optional VaultNameSelector *v1.Selector `json:"vaultNameSelector,omitempty" tf:"-"` } diff --git a/apis/datashare/v1beta1/zz_datasetdatalakegen2_types.go b/apis/datashare/v1beta1/zz_datasetdatalakegen2_types.go index 53303f460..a8905bf2e 100755 --- a/apis/datashare/v1beta1/zz_datasetdatalakegen2_types.go +++ b/apis/datashare/v1beta1/zz_datasetdatalakegen2_types.go @@ -34,7 +34,7 @@ type DataSetDataLakeGen2InitParameters struct { FolderPath *string `json:"folderPath,omitempty" tf:"folder_path,omitempty"` // The resource id of the storage account of the data lake file system to be shared with the receiver. Changing this forces a new Data Share Data Lake Gen2 Dataset to be created. - // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/storage/v1beta1.Account + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/storage/v1beta2.Account // +crossplane:generate:reference:extractor=github.com/upbound/provider-azure/apis/rconfig.ExtractResourceID() StorageAccountID *string `json:"storageAccountId,omitempty" tf:"storage_account_id,omitempty"` @@ -95,7 +95,7 @@ type DataSetDataLakeGen2Parameters struct { FolderPath *string `json:"folderPath,omitempty" tf:"folder_path,omitempty"` // The resource ID of the Data Share where this Data Share Data Lake Gen2 Dataset should be created. Changing this forces a new Data Share Data Lake Gen2 Dataset to be created. - // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/datashare/v1beta1.DataShare + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/datashare/v1beta2.DataShare // +crossplane:generate:reference:extractor=github.com/upbound/provider-azure/apis/rconfig.ExtractResourceID() // +kubebuilder:validation:Optional ShareID *string `json:"shareId,omitempty" tf:"share_id,omitempty"` @@ -109,7 +109,7 @@ type DataSetDataLakeGen2Parameters struct { ShareIDSelector *v1.Selector `json:"shareIdSelector,omitempty" tf:"-"` // The resource id of the storage account of the data lake file system to be shared with the receiver. Changing this forces a new Data Share Data Lake Gen2 Dataset to be created. - // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/storage/v1beta1.Account + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/storage/v1beta2.Account // +crossplane:generate:reference:extractor=github.com/upbound/provider-azure/apis/rconfig.ExtractResourceID() // +kubebuilder:validation:Optional StorageAccountID *string `json:"storageAccountId,omitempty" tf:"storage_account_id,omitempty"` diff --git a/apis/datashare/v1beta1/zz_datasetkustocluster_types.go b/apis/datashare/v1beta1/zz_datasetkustocluster_types.go index 82eef3787..898a36add 100755 --- a/apis/datashare/v1beta1/zz_datasetkustocluster_types.go +++ b/apis/datashare/v1beta1/zz_datasetkustocluster_types.go @@ -16,7 +16,7 @@ import ( type DataSetKustoClusterInitParameters struct { // The resource ID of the Kusto Cluster to be shared with the receiver. Changing this forces a new Data Share Kusto Cluster Dataset to be created. - // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/kusto/v1beta1.Cluster + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/kusto/v1beta2.Cluster // +crossplane:generate:reference:extractor=github.com/upbound/provider-azure/apis/rconfig.ExtractResourceID() KustoClusterID *string `json:"kustoClusterId,omitempty" tf:"kusto_cluster_id,omitempty"` @@ -50,7 +50,7 @@ type DataSetKustoClusterObservation struct { type DataSetKustoClusterParameters struct { // The resource ID of the Kusto Cluster to be shared with the receiver. Changing this forces a new Data Share Kusto Cluster Dataset to be created. - // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/kusto/v1beta1.Cluster + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/kusto/v1beta2.Cluster // +crossplane:generate:reference:extractor=github.com/upbound/provider-azure/apis/rconfig.ExtractResourceID() // +kubebuilder:validation:Optional KustoClusterID *string `json:"kustoClusterId,omitempty" tf:"kusto_cluster_id,omitempty"` @@ -64,7 +64,7 @@ type DataSetKustoClusterParameters struct { KustoClusterIDSelector *v1.Selector `json:"kustoClusterIdSelector,omitempty" tf:"-"` // The resource ID of the Data Share where this Data Share Kusto Cluster Dataset should be created. Changing this forces a new Data Share Kusto Cluster Dataset to be created. - // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/datashare/v1beta1.DataShare + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/datashare/v1beta2.DataShare // +crossplane:generate:reference:extractor=github.com/upbound/provider-azure/apis/rconfig.ExtractResourceID() // +kubebuilder:validation:Optional ShareID *string `json:"shareId,omitempty" tf:"share_id,omitempty"` diff --git a/apis/datashare/v1beta1/zz_datasetkustodatabase_types.go b/apis/datashare/v1beta1/zz_datasetkustodatabase_types.go index c1c18fc19..c1c10ea7d 100755 --- a/apis/datashare/v1beta1/zz_datasetkustodatabase_types.go +++ b/apis/datashare/v1beta1/zz_datasetkustodatabase_types.go @@ -64,7 +64,7 @@ type DataSetKustoDatabaseParameters struct { KustoDatabaseIDSelector *v1.Selector `json:"kustoDatabaseIdSelector,omitempty" tf:"-"` // The resource ID of the Data Share where this Data Share Kusto Database Dataset should be created. Changing this forces a new Data Share Kusto Database Dataset to be created. - // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/datashare/v1beta1.DataShare + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/datashare/v1beta2.DataShare // +crossplane:generate:reference:extractor=github.com/upbound/provider-azure/apis/rconfig.ExtractResourceID() // +kubebuilder:validation:Optional ShareID *string `json:"shareId,omitempty" tf:"share_id,omitempty"` diff --git a/apis/datashare/v1beta1/zz_generated.resolvers.go b/apis/datashare/v1beta1/zz_generated.resolvers.go index c97dcca3f..de5e0aaf2 100644 --- a/apis/datashare/v1beta1/zz_generated.resolvers.go +++ b/apis/datashare/v1beta1/zz_generated.resolvers.go @@ -232,7 +232,7 @@ func (mg *DataSetDataLakeGen2) ResolveReferences(ctx context.Context, c client.R mg.Spec.ForProvider.FileSystemName = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.FileSystemNameRef = rsp.ResolvedReference { - m, l, err = apisresolver.GetManagedResource("datashare.azure.upbound.io", "v1beta1", "DataShare", "DataShareList") + m, l, err = apisresolver.GetManagedResource("datashare.azure.upbound.io", "v1beta2", "DataShare", "DataShareList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } @@ -251,7 +251,7 @@ func (mg *DataSetDataLakeGen2) ResolveReferences(ctx context.Context, c client.R mg.Spec.ForProvider.ShareID = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.ShareIDRef = rsp.ResolvedReference { - m, l, err = apisresolver.GetManagedResource("storage.azure.upbound.io", "v1beta1", "Account", "AccountList") + m, l, err = apisresolver.GetManagedResource("storage.azure.upbound.io", "v1beta2", "Account", "AccountList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } @@ -289,7 +289,7 @@ func (mg *DataSetDataLakeGen2) ResolveReferences(ctx context.Context, c client.R mg.Spec.InitProvider.FileSystemName = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.InitProvider.FileSystemNameRef = rsp.ResolvedReference { - m, l, err = apisresolver.GetManagedResource("storage.azure.upbound.io", "v1beta1", "Account", "AccountList") + m, l, err = apisresolver.GetManagedResource("storage.azure.upbound.io", "v1beta2", "Account", "AccountList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } @@ -320,7 +320,7 @@ func (mg *DataSetKustoCluster) ResolveReferences(ctx context.Context, c client.R var rsp reference.ResolutionResponse var err error { - m, l, err = apisresolver.GetManagedResource("kusto.azure.upbound.io", "v1beta1", "Cluster", "ClusterList") + m, l, err = apisresolver.GetManagedResource("kusto.azure.upbound.io", "v1beta2", "Cluster", "ClusterList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } @@ -339,7 +339,7 @@ func (mg *DataSetKustoCluster) ResolveReferences(ctx context.Context, c client.R mg.Spec.ForProvider.KustoClusterID = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.KustoClusterIDRef = rsp.ResolvedReference { - m, l, err = apisresolver.GetManagedResource("datashare.azure.upbound.io", "v1beta1", "DataShare", "DataShareList") + m, l, err = apisresolver.GetManagedResource("datashare.azure.upbound.io", "v1beta2", "DataShare", "DataShareList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } @@ -358,7 +358,7 @@ func (mg *DataSetKustoCluster) ResolveReferences(ctx context.Context, c client.R mg.Spec.ForProvider.ShareID = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.ShareIDRef = rsp.ResolvedReference { - m, l, err = apisresolver.GetManagedResource("kusto.azure.upbound.io", "v1beta1", "Cluster", "ClusterList") + m, l, err = apisresolver.GetManagedResource("kusto.azure.upbound.io", "v1beta2", "Cluster", "ClusterList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } @@ -408,7 +408,7 @@ func (mg *DataSetKustoDatabase) ResolveReferences(ctx context.Context, c client. mg.Spec.ForProvider.KustoDatabaseID = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.KustoDatabaseIDRef = rsp.ResolvedReference { - m, l, err = apisresolver.GetManagedResource("datashare.azure.upbound.io", "v1beta1", "DataShare", "DataShareList") + m, l, err = apisresolver.GetManagedResource("datashare.azure.upbound.io", "v1beta2", "DataShare", "DataShareList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } diff --git a/apis/datashare/v1beta2/zz_datasetblobstorage_types.go b/apis/datashare/v1beta2/zz_datasetblobstorage_types.go index 3bb292ce3..436bc498a 100755 --- a/apis/datashare/v1beta2/zz_datasetblobstorage_types.go +++ b/apis/datashare/v1beta2/zz_datasetblobstorage_types.go @@ -77,16 +77,16 @@ type DataSetBlobStorageParameters struct { ContainerNameSelector *v1.Selector `json:"containerNameSelector,omitempty" tf:"-"` // The ID of the Data Share in which this Data Share Blob Storage Dataset should be created. Changing this forces a new Data Share Blob Storage Dataset to be created. - // +crossplane:generate:reference:type=DataShare + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/datashare/v1beta2.DataShare // +crossplane:generate:reference:extractor=github.com/upbound/provider-azure/apis/rconfig.ExtractResourceID() // +kubebuilder:validation:Optional DataShareID *string `json:"dataShareId,omitempty" tf:"data_share_id,omitempty"` - // Reference to a DataShare to populate dataShareId. + // Reference to a DataShare in datashare to populate dataShareId. // +kubebuilder:validation:Optional DataShareIDRef *v1.Reference `json:"dataShareIdRef,omitempty" tf:"-"` - // Selector for a DataShare to populate dataShareId. + // Selector for a DataShare in datashare to populate dataShareId. // +kubebuilder:validation:Optional DataShareIDSelector *v1.Selector `json:"dataShareIdSelector,omitempty" tf:"-"` @@ -106,7 +106,7 @@ type DataSetBlobStorageParameters struct { type StorageAccountInitParameters struct { // The name of the storage account to be shared with the receiver. Changing this forces a new Data Share Blob Storage Dataset to be created. - // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/storage/v1beta1.Account + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/storage/v1beta2.Account Name *string `json:"name,omitempty" tf:"name,omitempty"` // Reference to a Account in storage to populate name. @@ -148,7 +148,7 @@ type StorageAccountObservation struct { type StorageAccountParameters struct { // The name of the storage account to be shared with the receiver. Changing this forces a new Data Share Blob Storage Dataset to be created. - // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/storage/v1beta1.Account + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/storage/v1beta2.Account // +kubebuilder:validation:Optional Name *string `json:"name,omitempty" tf:"name,omitempty"` diff --git a/apis/datashare/v1beta2/zz_datashare_types.go b/apis/datashare/v1beta2/zz_datashare_types.go index b1c500c0c..906c8ca5f 100755 --- a/apis/datashare/v1beta2/zz_datashare_types.go +++ b/apis/datashare/v1beta2/zz_datashare_types.go @@ -52,16 +52,16 @@ type DataShareObservation struct { type DataShareParameters struct { // The ID of the Data Share account in which the Data Share is created. Changing this forces a new Data Share to be created. - // +crossplane:generate:reference:type=Account + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/datashare/v1beta2.Account // +crossplane:generate:reference:extractor=github.com/upbound/provider-azure/apis/rconfig.ExtractResourceID() // +kubebuilder:validation:Optional AccountID *string `json:"accountId,omitempty" tf:"account_id,omitempty"` - // Reference to a Account to populate accountId. + // Reference to a Account in datashare to populate accountId. // +kubebuilder:validation:Optional AccountIDRef *v1.Reference `json:"accountIdRef,omitempty" tf:"-"` - // Selector for a Account to populate accountId. + // Selector for a Account in datashare to populate accountId. // +kubebuilder:validation:Optional AccountIDSelector *v1.Selector `json:"accountIdSelector,omitempty" tf:"-"` diff --git a/apis/datashare/v1beta2/zz_generated.resolvers.go b/apis/datashare/v1beta2/zz_generated.resolvers.go index 1953f2733..e67603c02 100644 --- a/apis/datashare/v1beta2/zz_generated.resolvers.go +++ b/apis/datashare/v1beta2/zz_generated.resolvers.go @@ -99,7 +99,7 @@ func (mg *DataSetBlobStorage) ResolveReferences(ctx context.Context, c client.Re if mg.Spec.ForProvider.StorageAccount != nil { { - m, l, err = apisresolver.GetManagedResource("storage.azure.upbound.io", "v1beta1", "Account", "AccountList") + m, l, err = apisresolver.GetManagedResource("storage.azure.upbound.io", "v1beta2", "Account", "AccountList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } @@ -160,7 +160,7 @@ func (mg *DataSetBlobStorage) ResolveReferences(ctx context.Context, c client.Re if mg.Spec.InitProvider.StorageAccount != nil { { - m, l, err = apisresolver.GetManagedResource("storage.azure.upbound.io", "v1beta1", "Account", "AccountList") + m, l, err = apisresolver.GetManagedResource("storage.azure.upbound.io", "v1beta2", "Account", "AccountList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } diff --git a/apis/dbformysql/v1beta1/zz_flexibledatabase_types.go b/apis/dbformysql/v1beta1/zz_flexibledatabase_types.go index 2b332d9a1..7156458b4 100755 --- a/apis/dbformysql/v1beta1/zz_flexibledatabase_types.go +++ b/apis/dbformysql/v1beta1/zz_flexibledatabase_types.go @@ -64,7 +64,7 @@ type FlexibleDatabaseParameters struct { ResourceGroupNameSelector *v1.Selector `json:"resourceGroupNameSelector,omitempty" tf:"-"` // Specifies the name of the MySQL Flexible Server. Changing this forces a new resource to be created. - // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/dbformysql/v1beta1.FlexibleServer + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/dbformysql/v1beta2.FlexibleServer // +kubebuilder:validation:Optional ServerName *string `json:"serverName,omitempty" tf:"server_name,omitempty"` diff --git a/apis/dbformysql/v1beta1/zz_flexibleserverconfiguration_types.go b/apis/dbformysql/v1beta1/zz_flexibleserverconfiguration_types.go index d0d63b581..2b9a6c849 100755 --- a/apis/dbformysql/v1beta1/zz_flexibleserverconfiguration_types.go +++ b/apis/dbformysql/v1beta1/zz_flexibleserverconfiguration_types.go @@ -50,7 +50,7 @@ type FlexibleServerConfigurationParameters struct { ResourceGroupNameSelector *v1.Selector `json:"resourceGroupNameSelector,omitempty" tf:"-"` // Specifies the name of the MySQL Flexible Server. Changing this forces a new resource to be created. - // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/dbformysql/v1beta1.FlexibleServer + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/dbformysql/v1beta2.FlexibleServer // +kubebuilder:validation:Optional ServerName *string `json:"serverName,omitempty" tf:"server_name,omitempty"` diff --git a/apis/dbformysql/v1beta1/zz_flexibleserverfirewallrule_types.go b/apis/dbformysql/v1beta1/zz_flexibleserverfirewallrule_types.go index 55a458e81..4f4b7fbd6 100755 --- a/apis/dbformysql/v1beta1/zz_flexibleserverfirewallrule_types.go +++ b/apis/dbformysql/v1beta1/zz_flexibleserverfirewallrule_types.go @@ -60,7 +60,7 @@ type FlexibleServerFirewallRuleParameters struct { ResourceGroupNameSelector *v1.Selector `json:"resourceGroupNameSelector,omitempty" tf:"-"` // Specifies the name of the MySQL Flexible Server. Changing this forces a new resource to be created. - // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/dbformysql/v1beta1.FlexibleServer + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/dbformysql/v1beta2.FlexibleServer // +kubebuilder:validation:Optional ServerName *string `json:"serverName,omitempty" tf:"server_name,omitempty"` diff --git a/apis/dbformysql/v1beta1/zz_generated.resolvers.go b/apis/dbformysql/v1beta1/zz_generated.resolvers.go index 75495a5f3..bbe896ff1 100644 --- a/apis/dbformysql/v1beta1/zz_generated.resolvers.go +++ b/apis/dbformysql/v1beta1/zz_generated.resolvers.go @@ -322,7 +322,7 @@ func (mg *FlexibleDatabase) ResolveReferences(ctx context.Context, c client.Read mg.Spec.ForProvider.ResourceGroupName = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.ResourceGroupNameRef = rsp.ResolvedReference { - m, l, err = apisresolver.GetManagedResource("dbformysql.azure.upbound.io", "v1beta1", "FlexibleServer", "FlexibleServerList") + m, l, err = apisresolver.GetManagedResource("dbformysql.azure.upbound.io", "v1beta2", "FlexibleServer", "FlexibleServerList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } @@ -479,7 +479,7 @@ func (mg *FlexibleServerConfiguration) ResolveReferences(ctx context.Context, c mg.Spec.ForProvider.ResourceGroupName = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.ResourceGroupNameRef = rsp.ResolvedReference { - m, l, err = apisresolver.GetManagedResource("dbformysql.azure.upbound.io", "v1beta1", "FlexibleServer", "FlexibleServerList") + m, l, err = apisresolver.GetManagedResource("dbformysql.azure.upbound.io", "v1beta2", "FlexibleServer", "FlexibleServerList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } @@ -529,7 +529,7 @@ func (mg *FlexibleServerFirewallRule) ResolveReferences(ctx context.Context, c c mg.Spec.ForProvider.ResourceGroupName = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.ResourceGroupNameRef = rsp.ResolvedReference { - m, l, err = apisresolver.GetManagedResource("dbformysql.azure.upbound.io", "v1beta1", "FlexibleServer", "FlexibleServerList") + m, l, err = apisresolver.GetManagedResource("dbformysql.azure.upbound.io", "v1beta2", "FlexibleServer", "FlexibleServerList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } diff --git a/apis/dbformysql/v1beta2/zz_flexibleserver_types.go b/apis/dbformysql/v1beta2/zz_flexibleserver_types.go index c277cac40..97d47395e 100755 --- a/apis/dbformysql/v1beta2/zz_flexibleserver_types.go +++ b/apis/dbformysql/v1beta2/zz_flexibleserver_types.go @@ -108,7 +108,7 @@ type FlexibleServerInitParameters struct { PointInTimeRestoreTimeInUtc *string `json:"pointInTimeRestoreTimeInUtc,omitempty" tf:"point_in_time_restore_time_in_utc,omitempty"` // The ID of the private DNS zone to create the MySQL Flexible Server. Changing this forces a new MySQL Flexible Server to be created. - // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta1.PrivateDNSZone + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta2.PrivateDNSZone // +crossplane:generate:reference:extractor=github.com/upbound/provider-azure/apis/rconfig.ExtractResourceID() PrivateDNSZoneID *string `json:"privateDnsZoneId,omitempty" tf:"private_dns_zone_id,omitempty"` @@ -280,7 +280,7 @@ type FlexibleServerParameters struct { PointInTimeRestoreTimeInUtc *string `json:"pointInTimeRestoreTimeInUtc,omitempty" tf:"point_in_time_restore_time_in_utc,omitempty"` // The ID of the private DNS zone to create the MySQL Flexible Server. Changing this forces a new MySQL Flexible Server to be created. - // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta1.PrivateDNSZone + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta2.PrivateDNSZone // +crossplane:generate:reference:extractor=github.com/upbound/provider-azure/apis/rconfig.ExtractResourceID() // +kubebuilder:validation:Optional PrivateDNSZoneID *string `json:"privateDnsZoneId,omitempty" tf:"private_dns_zone_id,omitempty"` diff --git a/apis/dbformysql/v1beta2/zz_generated.resolvers.go b/apis/dbformysql/v1beta2/zz_generated.resolvers.go index 68c22239b..84cc0d525 100644 --- a/apis/dbformysql/v1beta2/zz_generated.resolvers.go +++ b/apis/dbformysql/v1beta2/zz_generated.resolvers.go @@ -46,7 +46,7 @@ func (mg *FlexibleServer) ResolveReferences( // ResolveReferences of this Flexib mg.Spec.ForProvider.DelegatedSubnetID = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.DelegatedSubnetIDRef = rsp.ResolvedReference { - m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta1", "PrivateDNSZone", "PrivateDNSZoneList") + m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta2", "PrivateDNSZone", "PrivateDNSZoneList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } @@ -103,7 +103,7 @@ func (mg *FlexibleServer) ResolveReferences( // ResolveReferences of this Flexib mg.Spec.InitProvider.DelegatedSubnetID = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.InitProvider.DelegatedSubnetIDRef = rsp.ResolvedReference { - m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta1", "PrivateDNSZone", "PrivateDNSZoneList") + m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta2", "PrivateDNSZone", "PrivateDNSZoneList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } diff --git a/apis/dbforpostgresql/v1beta1/zz_activedirectoryadministrator_types.go b/apis/dbforpostgresql/v1beta1/zz_activedirectoryadministrator_types.go index 88448d772..d755dc6cb 100755 --- a/apis/dbforpostgresql/v1beta1/zz_activedirectoryadministrator_types.go +++ b/apis/dbforpostgresql/v1beta1/zz_activedirectoryadministrator_types.go @@ -70,7 +70,7 @@ type ActiveDirectoryAdministratorParameters struct { ResourceGroupNameSelector *v1.Selector `json:"resourceGroupNameSelector,omitempty" tf:"-"` // The name of the PostgreSQL Server on which to set the administrator. Changing this forces a new resource to be created. - // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/dbforpostgresql/v1beta1.Server + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/dbforpostgresql/v1beta2.Server // +kubebuilder:validation:Optional ServerName *string `json:"serverName,omitempty" tf:"server_name,omitempty"` diff --git a/apis/dbforpostgresql/v1beta1/zz_configuration_types.go b/apis/dbforpostgresql/v1beta1/zz_configuration_types.go index 3a6a783f1..8ab7dc3dd 100755 --- a/apis/dbforpostgresql/v1beta1/zz_configuration_types.go +++ b/apis/dbforpostgresql/v1beta1/zz_configuration_types.go @@ -31,7 +31,7 @@ type ConfigurationInitParameters struct { ResourceGroupNameSelector *v1.Selector `json:"resourceGroupNameSelector,omitempty" tf:"-"` // Specifies the name of the PostgreSQL Server. Changing this forces a new resource to be created. - // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/dbforpostgresql/v1beta1.Server + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/dbforpostgresql/v1beta2.Server ServerName *string `json:"serverName,omitempty" tf:"server_name,omitempty"` // Reference to a Server in dbforpostgresql to populate serverName. @@ -84,7 +84,7 @@ type ConfigurationParameters struct { ResourceGroupNameSelector *v1.Selector `json:"resourceGroupNameSelector,omitempty" tf:"-"` // Specifies the name of the PostgreSQL Server. Changing this forces a new resource to be created. - // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/dbforpostgresql/v1beta1.Server + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/dbforpostgresql/v1beta2.Server // +kubebuilder:validation:Optional ServerName *string `json:"serverName,omitempty" tf:"server_name,omitempty"` diff --git a/apis/dbforpostgresql/v1beta1/zz_database_types.go b/apis/dbforpostgresql/v1beta1/zz_database_types.go index d74dd4ea7..1a5770097 100755 --- a/apis/dbforpostgresql/v1beta1/zz_database_types.go +++ b/apis/dbforpostgresql/v1beta1/zz_database_types.go @@ -64,7 +64,7 @@ type DatabaseParameters struct { ResourceGroupNameSelector *v1.Selector `json:"resourceGroupNameSelector,omitempty" tf:"-"` // Specifies the name of the PostgreSQL Server. Changing this forces a new resource to be created. - // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/dbforpostgresql/v1beta1.Server + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/dbforpostgresql/v1beta2.Server // +kubebuilder:validation:Optional ServerName *string `json:"serverName,omitempty" tf:"server_name,omitempty"` diff --git a/apis/dbforpostgresql/v1beta1/zz_firewallrule_types.go b/apis/dbforpostgresql/v1beta1/zz_firewallrule_types.go index 1bc65f477..099830112 100755 --- a/apis/dbforpostgresql/v1beta1/zz_firewallrule_types.go +++ b/apis/dbforpostgresql/v1beta1/zz_firewallrule_types.go @@ -60,7 +60,7 @@ type FirewallRuleParameters struct { ResourceGroupNameSelector *v1.Selector `json:"resourceGroupNameSelector,omitempty" tf:"-"` // Specifies the name of the PostgreSQL Server. Changing this forces a new resource to be created. - // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/dbforpostgresql/v1beta1.Server + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/dbforpostgresql/v1beta2.Server // +kubebuilder:validation:Optional ServerName *string `json:"serverName,omitempty" tf:"server_name,omitempty"` diff --git a/apis/dbforpostgresql/v1beta1/zz_flexibleserveractivedirectoryadministrator_types.go b/apis/dbforpostgresql/v1beta1/zz_flexibleserveractivedirectoryadministrator_types.go index e8f168aa0..a1f318700 100755 --- a/apis/dbforpostgresql/v1beta1/zz_flexibleserveractivedirectoryadministrator_types.go +++ b/apis/dbforpostgresql/v1beta1/zz_flexibleserveractivedirectoryadministrator_types.go @@ -77,7 +77,7 @@ type FlexibleServerActiveDirectoryAdministratorParameters struct { ResourceGroupNameSelector *v1.Selector `json:"resourceGroupNameSelector,omitempty" tf:"-"` // The name of the PostgreSQL Flexible Server on which to set the administrator. Changing this forces a new resource to be created. - // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/dbforpostgresql/v1beta1.FlexibleServer + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/dbforpostgresql/v1beta2.FlexibleServer // +kubebuilder:validation:Optional ServerName *string `json:"serverName,omitempty" tf:"server_name,omitempty"` diff --git a/apis/dbforpostgresql/v1beta1/zz_flexibleserverconfiguration_types.go b/apis/dbforpostgresql/v1beta1/zz_flexibleserverconfiguration_types.go index dbce52d21..5e8498d76 100755 --- a/apis/dbforpostgresql/v1beta1/zz_flexibleserverconfiguration_types.go +++ b/apis/dbforpostgresql/v1beta1/zz_flexibleserverconfiguration_types.go @@ -19,7 +19,7 @@ type FlexibleServerConfigurationInitParameters struct { Name *string `json:"name,omitempty" tf:"name,omitempty"` // The ID of the PostgreSQL Flexible Server where we want to change configuration. Changing this forces a new PostgreSQL Flexible Server Configuration resource. - // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/dbforpostgresql/v1beta1.FlexibleServer + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/dbforpostgresql/v1beta2.FlexibleServer // +crossplane:generate:reference:extractor=github.com/upbound/provider-azure/apis/rconfig.ExtractResourceID() ServerID *string `json:"serverId,omitempty" tf:"server_id,omitempty"` @@ -57,7 +57,7 @@ type FlexibleServerConfigurationParameters struct { Name *string `json:"name,omitempty" tf:"name,omitempty"` // The ID of the PostgreSQL Flexible Server where we want to change configuration. Changing this forces a new PostgreSQL Flexible Server Configuration resource. - // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/dbforpostgresql/v1beta1.FlexibleServer + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/dbforpostgresql/v1beta2.FlexibleServer // +crossplane:generate:reference:extractor=github.com/upbound/provider-azure/apis/rconfig.ExtractResourceID() // +kubebuilder:validation:Optional ServerID *string `json:"serverId,omitempty" tf:"server_id,omitempty"` diff --git a/apis/dbforpostgresql/v1beta1/zz_flexibleserverdatabase_types.go b/apis/dbforpostgresql/v1beta1/zz_flexibleserverdatabase_types.go index a2298137d..53590863c 100755 --- a/apis/dbforpostgresql/v1beta1/zz_flexibleserverdatabase_types.go +++ b/apis/dbforpostgresql/v1beta1/zz_flexibleserverdatabase_types.go @@ -48,7 +48,7 @@ type FlexibleServerDatabaseParameters struct { Collation *string `json:"collation,omitempty" tf:"collation,omitempty"` // The ID of the Azure PostgreSQL Flexible Server from which to create this PostgreSQL Flexible Server Database. Changing this forces a new Azure PostgreSQL Flexible Server Database to be created. - // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/dbforpostgresql/v1beta1.FlexibleServer + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/dbforpostgresql/v1beta2.FlexibleServer // +crossplane:generate:reference:extractor=github.com/upbound/provider-azure/apis/rconfig.ExtractResourceID() // +kubebuilder:validation:Optional ServerID *string `json:"serverId,omitempty" tf:"server_id,omitempty"` diff --git a/apis/dbforpostgresql/v1beta1/zz_flexibleserverfirewallrule_types.go b/apis/dbforpostgresql/v1beta1/zz_flexibleserverfirewallrule_types.go index d92060b1a..bea91845c 100755 --- a/apis/dbforpostgresql/v1beta1/zz_flexibleserverfirewallrule_types.go +++ b/apis/dbforpostgresql/v1beta1/zz_flexibleserverfirewallrule_types.go @@ -44,7 +44,7 @@ type FlexibleServerFirewallRuleParameters struct { EndIPAddress *string `json:"endIpAddress,omitempty" tf:"end_ip_address,omitempty"` // The ID of the PostgreSQL Flexible Server from which to create this PostgreSQL Flexible Server Firewall Rule. Changing this forces a new PostgreSQL Flexible Server Firewall Rule to be created. - // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/dbforpostgresql/v1beta1.FlexibleServer + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/dbforpostgresql/v1beta2.FlexibleServer // +crossplane:generate:reference:extractor=github.com/upbound/provider-azure/apis/rconfig.ExtractResourceID() // +kubebuilder:validation:Optional ServerID *string `json:"serverId,omitempty" tf:"server_id,omitempty"` diff --git a/apis/dbforpostgresql/v1beta1/zz_generated.resolvers.go b/apis/dbforpostgresql/v1beta1/zz_generated.resolvers.go index 6818d6822..41f97eff1 100644 --- a/apis/dbforpostgresql/v1beta1/zz_generated.resolvers.go +++ b/apis/dbforpostgresql/v1beta1/zz_generated.resolvers.go @@ -46,7 +46,7 @@ func (mg *ActiveDirectoryAdministrator) ResolveReferences( // ResolveReferences mg.Spec.ForProvider.ResourceGroupName = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.ResourceGroupNameRef = rsp.ResolvedReference { - m, l, err = apisresolver.GetManagedResource("dbforpostgresql.azure.upbound.io", "v1beta1", "Server", "ServerList") + m, l, err = apisresolver.GetManagedResource("dbforpostgresql.azure.upbound.io", "v1beta2", "Server", "ServerList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } @@ -96,7 +96,7 @@ func (mg *Configuration) ResolveReferences(ctx context.Context, c client.Reader) mg.Spec.ForProvider.ResourceGroupName = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.ResourceGroupNameRef = rsp.ResolvedReference { - m, l, err = apisresolver.GetManagedResource("dbforpostgresql.azure.upbound.io", "v1beta1", "Server", "ServerList") + m, l, err = apisresolver.GetManagedResource("dbforpostgresql.azure.upbound.io", "v1beta2", "Server", "ServerList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } @@ -134,7 +134,7 @@ func (mg *Configuration) ResolveReferences(ctx context.Context, c client.Reader) mg.Spec.InitProvider.ResourceGroupName = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.InitProvider.ResourceGroupNameRef = rsp.ResolvedReference { - m, l, err = apisresolver.GetManagedResource("dbforpostgresql.azure.upbound.io", "v1beta1", "Server", "ServerList") + m, l, err = apisresolver.GetManagedResource("dbforpostgresql.azure.upbound.io", "v1beta2", "Server", "ServerList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } @@ -184,7 +184,7 @@ func (mg *Database) ResolveReferences(ctx context.Context, c client.Reader) erro mg.Spec.ForProvider.ResourceGroupName = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.ResourceGroupNameRef = rsp.ResolvedReference { - m, l, err = apisresolver.GetManagedResource("dbforpostgresql.azure.upbound.io", "v1beta1", "Server", "ServerList") + m, l, err = apisresolver.GetManagedResource("dbforpostgresql.azure.upbound.io", "v1beta2", "Server", "ServerList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } @@ -234,7 +234,7 @@ func (mg *FirewallRule) ResolveReferences(ctx context.Context, c client.Reader) mg.Spec.ForProvider.ResourceGroupName = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.ResourceGroupNameRef = rsp.ResolvedReference { - m, l, err = apisresolver.GetManagedResource("dbforpostgresql.azure.upbound.io", "v1beta1", "Server", "ServerList") + m, l, err = apisresolver.GetManagedResource("dbforpostgresql.azure.upbound.io", "v1beta2", "Server", "ServerList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } @@ -391,7 +391,7 @@ func (mg *FlexibleServerActiveDirectoryAdministrator) ResolveReferences(ctx cont mg.Spec.ForProvider.ResourceGroupName = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.ResourceGroupNameRef = rsp.ResolvedReference { - m, l, err = apisresolver.GetManagedResource("dbforpostgresql.azure.upbound.io", "v1beta1", "FlexibleServer", "FlexibleServerList") + m, l, err = apisresolver.GetManagedResource("dbforpostgresql.azure.upbound.io", "v1beta2", "FlexibleServer", "FlexibleServerList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } @@ -422,7 +422,7 @@ func (mg *FlexibleServerConfiguration) ResolveReferences(ctx context.Context, c var rsp reference.ResolutionResponse var err error { - m, l, err = apisresolver.GetManagedResource("dbforpostgresql.azure.upbound.io", "v1beta1", "FlexibleServer", "FlexibleServerList") + m, l, err = apisresolver.GetManagedResource("dbforpostgresql.azure.upbound.io", "v1beta2", "FlexibleServer", "FlexibleServerList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } @@ -441,7 +441,7 @@ func (mg *FlexibleServerConfiguration) ResolveReferences(ctx context.Context, c mg.Spec.ForProvider.ServerID = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.ServerIDRef = rsp.ResolvedReference { - m, l, err = apisresolver.GetManagedResource("dbforpostgresql.azure.upbound.io", "v1beta1", "FlexibleServer", "FlexibleServerList") + m, l, err = apisresolver.GetManagedResource("dbforpostgresql.azure.upbound.io", "v1beta2", "FlexibleServer", "FlexibleServerList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } @@ -472,7 +472,7 @@ func (mg *FlexibleServerDatabase) ResolveReferences(ctx context.Context, c clien var rsp reference.ResolutionResponse var err error { - m, l, err = apisresolver.GetManagedResource("dbforpostgresql.azure.upbound.io", "v1beta1", "FlexibleServer", "FlexibleServerList") + m, l, err = apisresolver.GetManagedResource("dbforpostgresql.azure.upbound.io", "v1beta2", "FlexibleServer", "FlexibleServerList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } @@ -503,7 +503,7 @@ func (mg *FlexibleServerFirewallRule) ResolveReferences(ctx context.Context, c c var rsp reference.ResolutionResponse var err error { - m, l, err = apisresolver.GetManagedResource("dbforpostgresql.azure.upbound.io", "v1beta1", "FlexibleServer", "FlexibleServerList") + m, l, err = apisresolver.GetManagedResource("dbforpostgresql.azure.upbound.io", "v1beta2", "FlexibleServer", "FlexibleServerList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } @@ -565,7 +565,7 @@ func (mg *ServerKey) ResolveReferences(ctx context.Context, c client.Reader) err var rsp reference.ResolutionResponse var err error { - m, l, err = apisresolver.GetManagedResource("keyvault.azure.upbound.io", "v1beta1", "Key", "KeyList") + m, l, err = apisresolver.GetManagedResource("keyvault.azure.upbound.io", "v1beta2", "Key", "KeyList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } @@ -584,7 +584,7 @@ func (mg *ServerKey) ResolveReferences(ctx context.Context, c client.Reader) err mg.Spec.ForProvider.KeyVaultKeyID = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.KeyVaultKeyIDRef = rsp.ResolvedReference { - m, l, err = apisresolver.GetManagedResource("dbforpostgresql.azure.upbound.io", "v1beta1", "Server", "ServerList") + m, l, err = apisresolver.GetManagedResource("dbforpostgresql.azure.upbound.io", "v1beta2", "Server", "ServerList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } @@ -603,7 +603,7 @@ func (mg *ServerKey) ResolveReferences(ctx context.Context, c client.Reader) err mg.Spec.ForProvider.ServerID = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.ServerIDRef = rsp.ResolvedReference { - m, l, err = apisresolver.GetManagedResource("keyvault.azure.upbound.io", "v1beta1", "Key", "KeyList") + m, l, err = apisresolver.GetManagedResource("keyvault.azure.upbound.io", "v1beta2", "Key", "KeyList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } @@ -622,7 +622,7 @@ func (mg *ServerKey) ResolveReferences(ctx context.Context, c client.Reader) err mg.Spec.InitProvider.KeyVaultKeyID = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.InitProvider.KeyVaultKeyIDRef = rsp.ResolvedReference { - m, l, err = apisresolver.GetManagedResource("dbforpostgresql.azure.upbound.io", "v1beta1", "Server", "ServerList") + m, l, err = apisresolver.GetManagedResource("dbforpostgresql.azure.upbound.io", "v1beta2", "Server", "ServerList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } @@ -672,7 +672,7 @@ func (mg *VirtualNetworkRule) ResolveReferences(ctx context.Context, c client.Re mg.Spec.ForProvider.ResourceGroupName = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.ResourceGroupNameRef = rsp.ResolvedReference { - m, l, err = apisresolver.GetManagedResource("dbforpostgresql.azure.upbound.io", "v1beta1", "Server", "ServerList") + m, l, err = apisresolver.GetManagedResource("dbforpostgresql.azure.upbound.io", "v1beta2", "Server", "ServerList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } diff --git a/apis/dbforpostgresql/v1beta1/zz_serverkey_types.go b/apis/dbforpostgresql/v1beta1/zz_serverkey_types.go index 3264db3c6..961374613 100755 --- a/apis/dbforpostgresql/v1beta1/zz_serverkey_types.go +++ b/apis/dbforpostgresql/v1beta1/zz_serverkey_types.go @@ -16,7 +16,7 @@ import ( type ServerKeyInitParameters struct { // The URL to a Key Vault Key. - // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/keyvault/v1beta1.Key + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/keyvault/v1beta2.Key // +crossplane:generate:reference:extractor=github.com/upbound/provider-azure/apis/rconfig.ExtractResourceID() KeyVaultKeyID *string `json:"keyVaultKeyId,omitempty" tf:"key_vault_key_id,omitempty"` @@ -29,7 +29,7 @@ type ServerKeyInitParameters struct { KeyVaultKeyIDSelector *v1.Selector `json:"keyVaultKeyIdSelector,omitempty" tf:"-"` // The ID of the PostgreSQL Server. Changing this forces a new resource to be created. - // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/dbforpostgresql/v1beta1.Server + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/dbforpostgresql/v1beta2.Server // +crossplane:generate:reference:extractor=github.com/upbound/provider-azure/apis/rconfig.ExtractResourceID() ServerID *string `json:"serverId,omitempty" tf:"server_id,omitempty"` @@ -57,7 +57,7 @@ type ServerKeyObservation struct { type ServerKeyParameters struct { // The URL to a Key Vault Key. - // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/keyvault/v1beta1.Key + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/keyvault/v1beta2.Key // +crossplane:generate:reference:extractor=github.com/upbound/provider-azure/apis/rconfig.ExtractResourceID() // +kubebuilder:validation:Optional KeyVaultKeyID *string `json:"keyVaultKeyId,omitempty" tf:"key_vault_key_id,omitempty"` @@ -71,7 +71,7 @@ type ServerKeyParameters struct { KeyVaultKeyIDSelector *v1.Selector `json:"keyVaultKeyIdSelector,omitempty" tf:"-"` // The ID of the PostgreSQL Server. Changing this forces a new resource to be created. - // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/dbforpostgresql/v1beta1.Server + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/dbforpostgresql/v1beta2.Server // +crossplane:generate:reference:extractor=github.com/upbound/provider-azure/apis/rconfig.ExtractResourceID() // +kubebuilder:validation:Optional ServerID *string `json:"serverId,omitempty" tf:"server_id,omitempty"` diff --git a/apis/dbforpostgresql/v1beta1/zz_virtualnetworkrule_types.go b/apis/dbforpostgresql/v1beta1/zz_virtualnetworkrule_types.go index 55775a767..e74ff0b22 100755 --- a/apis/dbforpostgresql/v1beta1/zz_virtualnetworkrule_types.go +++ b/apis/dbforpostgresql/v1beta1/zz_virtualnetworkrule_types.go @@ -70,7 +70,7 @@ type VirtualNetworkRuleParameters struct { ResourceGroupNameSelector *v1.Selector `json:"resourceGroupNameSelector,omitempty" tf:"-"` // The name of the SQL Server to which this PostgreSQL virtual network rule will be applied to. Changing this forces a new resource to be created. - // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/dbforpostgresql/v1beta1.Server + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/dbforpostgresql/v1beta2.Server // +kubebuilder:validation:Optional ServerName *string `json:"serverName,omitempty" tf:"server_name,omitempty"` diff --git a/apis/devices/v1beta1/zz_generated.resolvers.go b/apis/devices/v1beta1/zz_generated.resolvers.go index e03c5505f..a5bceb92e 100644 --- a/apis/devices/v1beta1/zz_generated.resolvers.go +++ b/apis/devices/v1beta1/zz_generated.resolvers.go @@ -108,7 +108,7 @@ func (mg *IOTHubConsumerGroup) ResolveReferences(ctx context.Context, c client.R var rsp reference.ResolutionResponse var err error { - m, l, err = apisresolver.GetManagedResource("devices.azure.upbound.io", "v1beta1", "IOTHub", "IOTHubList") + m, l, err = apisresolver.GetManagedResource("devices.azure.upbound.io", "v1beta2", "IOTHub", "IOTHubList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } @@ -189,7 +189,7 @@ func (mg *IOTHubDPSCertificate) ResolveReferences(ctx context.Context, c client. var rsp reference.ResolutionResponse var err error { - m, l, err = apisresolver.GetManagedResource("devices.azure.upbound.io", "v1beta1", "IOTHubDPS", "IOTHubDPSList") + m, l, err = apisresolver.GetManagedResource("devices.azure.upbound.io", "v1beta2", "IOTHubDPS", "IOTHubDPSList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } @@ -227,7 +227,7 @@ func (mg *IOTHubDPSCertificate) ResolveReferences(ctx context.Context, c client. mg.Spec.ForProvider.ResourceGroupName = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.ResourceGroupNameRef = rsp.ResolvedReference { - m, l, err = apisresolver.GetManagedResource("devices.azure.upbound.io", "v1beta1", "IOTHubDPS", "IOTHubDPSList") + m, l, err = apisresolver.GetManagedResource("devices.azure.upbound.io", "v1beta2", "IOTHubDPS", "IOTHubDPSList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } @@ -730,7 +730,7 @@ func (mg *IOTHubFallbackRoute) ResolveReferences(ctx context.Context, c client.R mg.Spec.ForProvider.EndpointNames = reference.ToPtrValues(mrsp.ResolvedValues) mg.Spec.ForProvider.EndpointNamesRefs = mrsp.ResolvedReferences { - m, l, err = apisresolver.GetManagedResource("devices.azure.upbound.io", "v1beta1", "IOTHub", "IOTHubList") + m, l, err = apisresolver.GetManagedResource("devices.azure.upbound.io", "v1beta2", "IOTHub", "IOTHubList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } diff --git a/apis/devices/v1beta1/zz_iothubconsumergroup_types.go b/apis/devices/v1beta1/zz_iothubconsumergroup_types.go index 2c4c46683..5cfe4ac5d 100755 --- a/apis/devices/v1beta1/zz_iothubconsumergroup_types.go +++ b/apis/devices/v1beta1/zz_iothubconsumergroup_types.go @@ -38,7 +38,7 @@ type IOTHubConsumerGroupParameters struct { EventHubEndpointName *string `json:"eventhubEndpointName" tf:"eventhub_endpoint_name,omitempty"` // The name of the IoT Hub. Changing this forces a new resource to be created. - // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/devices/v1beta1.IOTHub + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/devices/v1beta2.IOTHub // +kubebuilder:validation:Optional IOTHubName *string `json:"iothubName,omitempty" tf:"iothub_name,omitempty"` diff --git a/apis/devices/v1beta1/zz_iothubdpscertificate_types.go b/apis/devices/v1beta1/zz_iothubdpscertificate_types.go index 6f488eb0a..c2133b5c8 100755 --- a/apis/devices/v1beta1/zz_iothubdpscertificate_types.go +++ b/apis/devices/v1beta1/zz_iothubdpscertificate_types.go @@ -16,7 +16,7 @@ import ( type IOTHubDPSCertificateInitParameters struct { // The name of the IoT Device Provisioning Service that this certificate will be attached to. Changing this forces a new resource to be created. - // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/devices/v1beta1.IOTHubDPS + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/devices/v1beta2.IOTHubDPS IOTDPSName *string `json:"iotDpsName,omitempty" tf:"iot_dps_name,omitempty"` // Reference to a IOTHubDPS in devices to populate iotDpsName. @@ -53,7 +53,7 @@ type IOTHubDPSCertificateParameters struct { CertificateContentSecretRef v1.SecretKeySelector `json:"certificateContentSecretRef" tf:"-"` // The name of the IoT Device Provisioning Service that this certificate will be attached to. Changing this forces a new resource to be created. - // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/devices/v1beta1.IOTHubDPS + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/devices/v1beta2.IOTHubDPS // +kubebuilder:validation:Optional IOTDPSName *string `json:"iotDpsName,omitempty" tf:"iot_dps_name,omitempty"` diff --git a/apis/devices/v1beta1/zz_iothubfallbackroute_types.go b/apis/devices/v1beta1/zz_iothubfallbackroute_types.go index 67d0ad91e..0dbf56e7d 100755 --- a/apis/devices/v1beta1/zz_iothubfallbackroute_types.go +++ b/apis/devices/v1beta1/zz_iothubfallbackroute_types.go @@ -85,7 +85,7 @@ type IOTHubFallbackRouteParameters struct { EndpointNamesSelector *v1.Selector `json:"endpointNamesSelector,omitempty" tf:"-"` // The name of the IoTHub to which this Fallback Route belongs. Changing this forces a new resource to be created. - // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/devices/v1beta1.IOTHub + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/devices/v1beta2.IOTHub // +kubebuilder:validation:Optional IOTHubName *string `json:"iothubName,omitempty" tf:"iothub_name,omitempty"` diff --git a/apis/devtestlab/v1beta2/zz_generated.resolvers.go b/apis/devtestlab/v1beta2/zz_generated.resolvers.go index 3476c4327..9bcd614c9 100644 --- a/apis/devtestlab/v1beta2/zz_generated.resolvers.go +++ b/apis/devtestlab/v1beta2/zz_generated.resolvers.go @@ -95,7 +95,7 @@ func (mg *LinuxVirtualMachine) ResolveReferences(ctx context.Context, c client.R mg.Spec.ForProvider.LabName = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.LabNameRef = rsp.ResolvedReference { - m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta1", "Subnet", "SubnetList") + m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta2", "Subnet", "SubnetList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } @@ -171,7 +171,7 @@ func (mg *LinuxVirtualMachine) ResolveReferences(ctx context.Context, c client.R mg.Spec.InitProvider.LabName = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.InitProvider.LabNameRef = rsp.ResolvedReference { - m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta1", "Subnet", "SubnetList") + m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta2", "Subnet", "SubnetList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } @@ -397,7 +397,7 @@ func (mg *WindowsVirtualMachine) ResolveReferences(ctx context.Context, c client mg.Spec.ForProvider.LabName = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.LabNameRef = rsp.ResolvedReference { - m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta1", "Subnet", "SubnetList") + m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta2", "Subnet", "SubnetList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } @@ -473,7 +473,7 @@ func (mg *WindowsVirtualMachine) ResolveReferences(ctx context.Context, c client mg.Spec.InitProvider.LabName = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.InitProvider.LabNameRef = rsp.ResolvedReference { - m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta1", "Subnet", "SubnetList") + m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta2", "Subnet", "SubnetList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } diff --git a/apis/devtestlab/v1beta2/zz_linuxvirtualmachine_types.go b/apis/devtestlab/v1beta2/zz_linuxvirtualmachine_types.go index 0c9614d57..a36d42bba 100755 --- a/apis/devtestlab/v1beta2/zz_linuxvirtualmachine_types.go +++ b/apis/devtestlab/v1beta2/zz_linuxvirtualmachine_types.go @@ -121,7 +121,7 @@ type LinuxVirtualMachineInitParameters struct { LabNameSelector *v1.Selector `json:"labNameSelector,omitempty" tf:"-"` // The name of a Subnet within the Dev Test Virtual Network where this machine should exist. Changing this forces a new resource to be created. - // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta1.Subnet + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta2.Subnet LabSubnetName *string `json:"labSubnetName,omitempty" tf:"lab_subnet_name,omitempty"` // Reference to a Subnet in network to populate labSubnetName. @@ -276,7 +276,7 @@ type LinuxVirtualMachineParameters struct { LabNameSelector *v1.Selector `json:"labNameSelector,omitempty" tf:"-"` // The name of a Subnet within the Dev Test Virtual Network where this machine should exist. Changing this forces a new resource to be created. - // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta1.Subnet + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta2.Subnet // +kubebuilder:validation:Optional LabSubnetName *string `json:"labSubnetName,omitempty" tf:"lab_subnet_name,omitempty"` diff --git a/apis/devtestlab/v1beta2/zz_windowsvirtualmachine_types.go b/apis/devtestlab/v1beta2/zz_windowsvirtualmachine_types.go index 4b44ae2dc..b5b055c79 100755 --- a/apis/devtestlab/v1beta2/zz_windowsvirtualmachine_types.go +++ b/apis/devtestlab/v1beta2/zz_windowsvirtualmachine_types.go @@ -121,7 +121,7 @@ type WindowsVirtualMachineInitParameters struct { LabNameSelector *v1.Selector `json:"labNameSelector,omitempty" tf:"-"` // The name of a Subnet within the Dev Test Virtual Network where this machine should exist. Changing this forces a new resource to be created. - // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta1.Subnet + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta2.Subnet LabSubnetName *string `json:"labSubnetName,omitempty" tf:"lab_subnet_name,omitempty"` // Reference to a Subnet in network to populate labSubnetName. @@ -270,7 +270,7 @@ type WindowsVirtualMachineParameters struct { LabNameSelector *v1.Selector `json:"labNameSelector,omitempty" tf:"-"` // The name of a Subnet within the Dev Test Virtual Network where this machine should exist. Changing this forces a new resource to be created. - // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta1.Subnet + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta2.Subnet // +kubebuilder:validation:Optional LabSubnetName *string `json:"labSubnetName,omitempty" tf:"lab_subnet_name,omitempty"` diff --git a/apis/eventhub/v1beta1/zz_authorizationrule_types.go b/apis/eventhub/v1beta1/zz_authorizationrule_types.go index da0441f1a..1f36fa651 100755 --- a/apis/eventhub/v1beta1/zz_authorizationrule_types.go +++ b/apis/eventhub/v1beta1/zz_authorizationrule_types.go @@ -52,7 +52,7 @@ type AuthorizationRuleObservation struct { type AuthorizationRuleParameters struct { // Specifies the name of the EventHub. Changing this forces a new resource to be created. - // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/eventhub/v1beta1.EventHub + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/eventhub/v1beta2.EventHub // +kubebuilder:validation:Optional EventHubName *string `json:"eventhubName,omitempty" tf:"eventhub_name,omitempty"` @@ -73,7 +73,7 @@ type AuthorizationRuleParameters struct { Manage *bool `json:"manage,omitempty" tf:"manage,omitempty"` // Specifies the name of the grandparent EventHub Namespace. Changing this forces a new resource to be created. - // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/eventhub/v1beta1.EventHubNamespace + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/eventhub/v1beta2.EventHubNamespace // +kubebuilder:validation:Optional NamespaceName *string `json:"namespaceName,omitempty" tf:"namespace_name,omitempty"` diff --git a/apis/eventhub/v1beta1/zz_consumergroup_types.go b/apis/eventhub/v1beta1/zz_consumergroup_types.go index 001147317..2507e0bb1 100755 --- a/apis/eventhub/v1beta1/zz_consumergroup_types.go +++ b/apis/eventhub/v1beta1/zz_consumergroup_types.go @@ -40,7 +40,7 @@ type ConsumerGroupObservation struct { type ConsumerGroupParameters struct { // Specifies the name of the EventHub. Changing this forces a new resource to be created. - // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/eventhub/v1beta1.EventHub + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/eventhub/v1beta2.EventHub // +kubebuilder:validation:Optional EventHubName *string `json:"eventhubName,omitempty" tf:"eventhub_name,omitempty"` @@ -53,7 +53,7 @@ type ConsumerGroupParameters struct { EventHubNameSelector *v1.Selector `json:"eventhubNameSelector,omitempty" tf:"-"` // Specifies the name of the grandparent EventHub Namespace. Changing this forces a new resource to be created. - // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/eventhub/v1beta1.EventHubNamespace + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/eventhub/v1beta2.EventHubNamespace // +kubebuilder:validation:Optional NamespaceName *string `json:"namespaceName,omitempty" tf:"namespace_name,omitempty"` diff --git a/apis/eventhub/v1beta1/zz_generated.resolvers.go b/apis/eventhub/v1beta1/zz_generated.resolvers.go index 555559a97..310d88380 100644 --- a/apis/eventhub/v1beta1/zz_generated.resolvers.go +++ b/apis/eventhub/v1beta1/zz_generated.resolvers.go @@ -27,7 +27,7 @@ func (mg *AuthorizationRule) ResolveReferences( // ResolveReferences of this Aut var rsp reference.ResolutionResponse var err error { - m, l, err = apisresolver.GetManagedResource("eventhub.azure.upbound.io", "v1beta1", "EventHub", "EventHubList") + m, l, err = apisresolver.GetManagedResource("eventhub.azure.upbound.io", "v1beta2", "EventHub", "EventHubList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } @@ -46,7 +46,7 @@ func (mg *AuthorizationRule) ResolveReferences( // ResolveReferences of this Aut mg.Spec.ForProvider.EventHubName = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.EventHubNameRef = rsp.ResolvedReference { - m, l, err = apisresolver.GetManagedResource("eventhub.azure.upbound.io", "v1beta1", "EventHubNamespace", "EventHubNamespaceList") + m, l, err = apisresolver.GetManagedResource("eventhub.azure.upbound.io", "v1beta2", "EventHubNamespace", "EventHubNamespaceList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } @@ -96,7 +96,7 @@ func (mg *ConsumerGroup) ResolveReferences(ctx context.Context, c client.Reader) var rsp reference.ResolutionResponse var err error { - m, l, err = apisresolver.GetManagedResource("eventhub.azure.upbound.io", "v1beta1", "EventHub", "EventHubList") + m, l, err = apisresolver.GetManagedResource("eventhub.azure.upbound.io", "v1beta2", "EventHub", "EventHubList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } @@ -115,7 +115,7 @@ func (mg *ConsumerGroup) ResolveReferences(ctx context.Context, c client.Reader) mg.Spec.ForProvider.EventHubName = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.EventHubNameRef = rsp.ResolvedReference { - m, l, err = apisresolver.GetManagedResource("eventhub.azure.upbound.io", "v1beta1", "EventHubNamespace", "EventHubNamespaceList") + m, l, err = apisresolver.GetManagedResource("eventhub.azure.upbound.io", "v1beta2", "EventHubNamespace", "EventHubNamespaceList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } diff --git a/apis/eventhub/v1beta2/zz_eventhub_types.go b/apis/eventhub/v1beta2/zz_eventhub_types.go index ad407931c..ee1a036e1 100755 --- a/apis/eventhub/v1beta2/zz_eventhub_types.go +++ b/apis/eventhub/v1beta2/zz_eventhub_types.go @@ -185,15 +185,15 @@ type EventHubParameters struct { MessageRetention *float64 `json:"messageRetention,omitempty" tf:"message_retention,omitempty"` // Specifies the name of the EventHub Namespace. Changing this forces a new resource to be created. - // +crossplane:generate:reference:type=EventHubNamespace + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/eventhub/v1beta2.EventHubNamespace // +kubebuilder:validation:Optional NamespaceName *string `json:"namespaceName,omitempty" tf:"namespace_name,omitempty"` - // Reference to a EventHubNamespace to populate namespaceName. + // Reference to a EventHubNamespace in eventhub to populate namespaceName. // +kubebuilder:validation:Optional NamespaceNameRef *v1.Reference `json:"namespaceNameRef,omitempty" tf:"-"` - // Selector for a EventHubNamespace to populate namespaceName. + // Selector for a EventHubNamespace in eventhub to populate namespaceName. // +kubebuilder:validation:Optional NamespaceNameSelector *v1.Selector `json:"namespaceNameSelector,omitempty" tf:"-"` diff --git a/apis/eventhub/v1beta2/zz_eventhubnamespace_types.go b/apis/eventhub/v1beta2/zz_eventhubnamespace_types.go index 23c6b3aa6..e87646a32 100755 --- a/apis/eventhub/v1beta2/zz_eventhubnamespace_types.go +++ b/apis/eventhub/v1beta2/zz_eventhubnamespace_types.go @@ -306,7 +306,7 @@ type VirtualNetworkRuleInitParameters struct { IgnoreMissingVirtualNetworkServiceEndpoint *bool `json:"ignoreMissingVirtualNetworkServiceEndpoint,omitempty" tf:"ignore_missing_virtual_network_service_endpoint"` // The id of the subnet to match on. - // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta1.Subnet + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta2.Subnet // +crossplane:generate:reference:extractor=github.com/upbound/provider-azure/apis/rconfig.ExtractResourceID() SubnetID *string `json:"subnetId,omitempty" tf:"subnet_id"` @@ -335,7 +335,7 @@ type VirtualNetworkRuleParameters struct { IgnoreMissingVirtualNetworkServiceEndpoint *bool `json:"ignoreMissingVirtualNetworkServiceEndpoint,omitempty" tf:"ignore_missing_virtual_network_service_endpoint"` // The id of the subnet to match on. - // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta1.Subnet + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta2.Subnet // +crossplane:generate:reference:extractor=github.com/upbound/provider-azure/apis/rconfig.ExtractResourceID() // +kubebuilder:validation:Optional SubnetID *string `json:"subnetId,omitempty" tf:"subnet_id"` diff --git a/apis/eventhub/v1beta2/zz_generated.resolvers.go b/apis/eventhub/v1beta2/zz_generated.resolvers.go index 009258357..c63c279a3 100644 --- a/apis/eventhub/v1beta2/zz_generated.resolvers.go +++ b/apis/eventhub/v1beta2/zz_generated.resolvers.go @@ -80,7 +80,7 @@ func (mg *EventHubNamespace) ResolveReferences(ctx context.Context, c client.Rea for i3 := 0; i3 < len(mg.Spec.ForProvider.NetworkRulesets); i3++ { for i4 := 0; i4 < len(mg.Spec.ForProvider.NetworkRulesets[i3].VirtualNetworkRule); i4++ { { - m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta1", "Subnet", "SubnetList") + m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta2", "Subnet", "SubnetList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } @@ -122,7 +122,7 @@ func (mg *EventHubNamespace) ResolveReferences(ctx context.Context, c client.Rea for i3 := 0; i3 < len(mg.Spec.InitProvider.NetworkRulesets); i3++ { for i4 := 0; i4 < len(mg.Spec.InitProvider.NetworkRulesets[i3].VirtualNetworkRule); i4++ { { - m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta1", "Subnet", "SubnetList") + m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta2", "Subnet", "SubnetList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } diff --git a/apis/hdinsight/v1beta2/zz_generated.resolvers.go b/apis/hdinsight/v1beta2/zz_generated.resolvers.go index 6065fb709..245a73a52 100644 --- a/apis/hdinsight/v1beta2/zz_generated.resolvers.go +++ b/apis/hdinsight/v1beta2/zz_generated.resolvers.go @@ -50,7 +50,7 @@ func (mg *HBaseCluster) ResolveReferences( // ResolveReferences of this HBaseClu if mg.Spec.ForProvider.Roles != nil { if mg.Spec.ForProvider.Roles.HeadNode != nil { { - m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta1", "Subnet", "SubnetList") + m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta2", "Subnet", "SubnetList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } @@ -73,7 +73,7 @@ func (mg *HBaseCluster) ResolveReferences( // ResolveReferences of this HBaseClu if mg.Spec.ForProvider.Roles != nil { if mg.Spec.ForProvider.Roles.WorkerNode != nil { { - m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta1", "Subnet", "SubnetList") + m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta2", "Subnet", "SubnetList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } @@ -96,7 +96,7 @@ func (mg *HBaseCluster) ResolveReferences( // ResolveReferences of this HBaseClu if mg.Spec.ForProvider.Roles != nil { if mg.Spec.ForProvider.Roles.ZookeeperNode != nil { { - m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta1", "Subnet", "SubnetList") + m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta2", "Subnet", "SubnetList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } @@ -140,7 +140,7 @@ func (mg *HBaseCluster) ResolveReferences( // ResolveReferences of this HBaseClu if mg.Spec.InitProvider.Roles != nil { if mg.Spec.InitProvider.Roles.HeadNode != nil { { - m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta1", "Subnet", "SubnetList") + m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta2", "Subnet", "SubnetList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } @@ -163,7 +163,7 @@ func (mg *HBaseCluster) ResolveReferences( // ResolveReferences of this HBaseClu if mg.Spec.InitProvider.Roles != nil { if mg.Spec.InitProvider.Roles.WorkerNode != nil { { - m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta1", "Subnet", "SubnetList") + m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta2", "Subnet", "SubnetList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } @@ -186,7 +186,7 @@ func (mg *HBaseCluster) ResolveReferences( // ResolveReferences of this HBaseClu if mg.Spec.InitProvider.Roles != nil { if mg.Spec.InitProvider.Roles.ZookeeperNode != nil { { - m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta1", "Subnet", "SubnetList") + m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta2", "Subnet", "SubnetList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } @@ -262,7 +262,7 @@ func (mg *HadoopCluster) ResolveReferences(ctx context.Context, c client.Reader) if mg.Spec.ForProvider.Roles != nil { if mg.Spec.ForProvider.Roles.HeadNode != nil { { - m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta1", "Subnet", "SubnetList") + m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta2", "Subnet", "SubnetList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } @@ -285,7 +285,7 @@ func (mg *HadoopCluster) ResolveReferences(ctx context.Context, c client.Reader) if mg.Spec.ForProvider.Roles != nil { if mg.Spec.ForProvider.Roles.WorkerNode != nil { { - m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta1", "Subnet", "SubnetList") + m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta2", "Subnet", "SubnetList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } @@ -308,7 +308,7 @@ func (mg *HadoopCluster) ResolveReferences(ctx context.Context, c client.Reader) if mg.Spec.ForProvider.Roles != nil { if mg.Spec.ForProvider.Roles.ZookeeperNode != nil { { - m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta1", "Subnet", "SubnetList") + m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta2", "Subnet", "SubnetList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } @@ -352,7 +352,7 @@ func (mg *HadoopCluster) ResolveReferences(ctx context.Context, c client.Reader) if mg.Spec.InitProvider.Roles != nil { if mg.Spec.InitProvider.Roles.HeadNode != nil { { - m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta1", "Subnet", "SubnetList") + m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta2", "Subnet", "SubnetList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } @@ -375,7 +375,7 @@ func (mg *HadoopCluster) ResolveReferences(ctx context.Context, c client.Reader) if mg.Spec.InitProvider.Roles != nil { if mg.Spec.InitProvider.Roles.WorkerNode != nil { { - m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta1", "Subnet", "SubnetList") + m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta2", "Subnet", "SubnetList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } @@ -398,7 +398,7 @@ func (mg *HadoopCluster) ResolveReferences(ctx context.Context, c client.Reader) if mg.Spec.InitProvider.Roles != nil { if mg.Spec.InitProvider.Roles.ZookeeperNode != nil { { - m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta1", "Subnet", "SubnetList") + m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta2", "Subnet", "SubnetList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } @@ -474,7 +474,7 @@ func (mg *InteractiveQueryCluster) ResolveReferences(ctx context.Context, c clie if mg.Spec.ForProvider.Roles != nil { if mg.Spec.ForProvider.Roles.HeadNode != nil { { - m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta1", "Subnet", "SubnetList") + m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta2", "Subnet", "SubnetList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } @@ -497,7 +497,7 @@ func (mg *InteractiveQueryCluster) ResolveReferences(ctx context.Context, c clie if mg.Spec.ForProvider.Roles != nil { if mg.Spec.ForProvider.Roles.WorkerNode != nil { { - m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta1", "Subnet", "SubnetList") + m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta2", "Subnet", "SubnetList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } @@ -520,7 +520,7 @@ func (mg *InteractiveQueryCluster) ResolveReferences(ctx context.Context, c clie if mg.Spec.ForProvider.Roles != nil { if mg.Spec.ForProvider.Roles.ZookeeperNode != nil { { - m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta1", "Subnet", "SubnetList") + m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta2", "Subnet", "SubnetList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } @@ -564,7 +564,7 @@ func (mg *InteractiveQueryCluster) ResolveReferences(ctx context.Context, c clie if mg.Spec.InitProvider.Roles != nil { if mg.Spec.InitProvider.Roles.HeadNode != nil { { - m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta1", "Subnet", "SubnetList") + m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta2", "Subnet", "SubnetList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } @@ -587,7 +587,7 @@ func (mg *InteractiveQueryCluster) ResolveReferences(ctx context.Context, c clie if mg.Spec.InitProvider.Roles != nil { if mg.Spec.InitProvider.Roles.WorkerNode != nil { { - m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta1", "Subnet", "SubnetList") + m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta2", "Subnet", "SubnetList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } @@ -610,7 +610,7 @@ func (mg *InteractiveQueryCluster) ResolveReferences(ctx context.Context, c clie if mg.Spec.InitProvider.Roles != nil { if mg.Spec.InitProvider.Roles.ZookeeperNode != nil { { - m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta1", "Subnet", "SubnetList") + m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta2", "Subnet", "SubnetList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } @@ -686,7 +686,7 @@ func (mg *KafkaCluster) ResolveReferences(ctx context.Context, c client.Reader) if mg.Spec.ForProvider.Roles != nil { if mg.Spec.ForProvider.Roles.HeadNode != nil { { - m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta1", "Subnet", "SubnetList") + m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta2", "Subnet", "SubnetList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } @@ -709,7 +709,7 @@ func (mg *KafkaCluster) ResolveReferences(ctx context.Context, c client.Reader) if mg.Spec.ForProvider.Roles != nil { if mg.Spec.ForProvider.Roles.KafkaManagementNode != nil { { - m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta1", "Subnet", "SubnetList") + m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta2", "Subnet", "SubnetList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } @@ -732,7 +732,7 @@ func (mg *KafkaCluster) ResolveReferences(ctx context.Context, c client.Reader) if mg.Spec.ForProvider.Roles != nil { if mg.Spec.ForProvider.Roles.WorkerNode != nil { { - m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta1", "Subnet", "SubnetList") + m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta2", "Subnet", "SubnetList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } @@ -755,7 +755,7 @@ func (mg *KafkaCluster) ResolveReferences(ctx context.Context, c client.Reader) if mg.Spec.ForProvider.Roles != nil { if mg.Spec.ForProvider.Roles.ZookeeperNode != nil { { - m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta1", "Subnet", "SubnetList") + m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta2", "Subnet", "SubnetList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } @@ -799,7 +799,7 @@ func (mg *KafkaCluster) ResolveReferences(ctx context.Context, c client.Reader) if mg.Spec.InitProvider.Roles != nil { if mg.Spec.InitProvider.Roles.HeadNode != nil { { - m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta1", "Subnet", "SubnetList") + m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta2", "Subnet", "SubnetList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } @@ -822,7 +822,7 @@ func (mg *KafkaCluster) ResolveReferences(ctx context.Context, c client.Reader) if mg.Spec.InitProvider.Roles != nil { if mg.Spec.InitProvider.Roles.KafkaManagementNode != nil { { - m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta1", "Subnet", "SubnetList") + m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta2", "Subnet", "SubnetList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } @@ -845,7 +845,7 @@ func (mg *KafkaCluster) ResolveReferences(ctx context.Context, c client.Reader) if mg.Spec.InitProvider.Roles != nil { if mg.Spec.InitProvider.Roles.WorkerNode != nil { { - m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta1", "Subnet", "SubnetList") + m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta2", "Subnet", "SubnetList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } @@ -868,7 +868,7 @@ func (mg *KafkaCluster) ResolveReferences(ctx context.Context, c client.Reader) if mg.Spec.InitProvider.Roles != nil { if mg.Spec.InitProvider.Roles.ZookeeperNode != nil { { - m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta1", "Subnet", "SubnetList") + m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta2", "Subnet", "SubnetList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } @@ -944,7 +944,7 @@ func (mg *SparkCluster) ResolveReferences(ctx context.Context, c client.Reader) if mg.Spec.ForProvider.Roles != nil { if mg.Spec.ForProvider.Roles.HeadNode != nil { { - m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta1", "Subnet", "SubnetList") + m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta2", "Subnet", "SubnetList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } @@ -967,7 +967,7 @@ func (mg *SparkCluster) ResolveReferences(ctx context.Context, c client.Reader) if mg.Spec.ForProvider.Roles != nil { if mg.Spec.ForProvider.Roles.WorkerNode != nil { { - m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta1", "Subnet", "SubnetList") + m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta2", "Subnet", "SubnetList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } @@ -990,7 +990,7 @@ func (mg *SparkCluster) ResolveReferences(ctx context.Context, c client.Reader) if mg.Spec.ForProvider.Roles != nil { if mg.Spec.ForProvider.Roles.ZookeeperNode != nil { { - m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta1", "Subnet", "SubnetList") + m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta2", "Subnet", "SubnetList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } @@ -1034,7 +1034,7 @@ func (mg *SparkCluster) ResolveReferences(ctx context.Context, c client.Reader) if mg.Spec.InitProvider.Roles != nil { if mg.Spec.InitProvider.Roles.HeadNode != nil { { - m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta1", "Subnet", "SubnetList") + m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta2", "Subnet", "SubnetList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } @@ -1057,7 +1057,7 @@ func (mg *SparkCluster) ResolveReferences(ctx context.Context, c client.Reader) if mg.Spec.InitProvider.Roles != nil { if mg.Spec.InitProvider.Roles.WorkerNode != nil { { - m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta1", "Subnet", "SubnetList") + m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta2", "Subnet", "SubnetList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } @@ -1080,7 +1080,7 @@ func (mg *SparkCluster) ResolveReferences(ctx context.Context, c client.Reader) if mg.Spec.InitProvider.Roles != nil { if mg.Spec.InitProvider.Roles.ZookeeperNode != nil { { - m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta1", "Subnet", "SubnetList") + m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta2", "Subnet", "SubnetList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } diff --git a/apis/hdinsight/v1beta2/zz_hadoopcluster_types.go b/apis/hdinsight/v1beta2/zz_hadoopcluster_types.go index 8bf27ca26..e0c20c0af 100755 --- a/apis/hdinsight/v1beta2/zz_hadoopcluster_types.go +++ b/apis/hdinsight/v1beta2/zz_hadoopcluster_types.go @@ -592,7 +592,7 @@ type HeadNodeInitParameters struct { ScriptActions []ScriptActionsInitParameters `json:"scriptActions,omitempty" tf:"script_actions,omitempty"` // The ID of the Subnet within the Virtual Network where the Zookeeper Nodes should be provisioned within. Changing this forces a new resource to be created. - // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta1.Subnet + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta2.Subnet // +crossplane:generate:reference:extractor=github.com/upbound/provider-azure/apis/rconfig.ExtractResourceID() SubnetID *string `json:"subnetId,omitempty" tf:"subnet_id,omitempty"` @@ -652,7 +652,7 @@ type HeadNodeParameters struct { ScriptActions []ScriptActionsParameters `json:"scriptActions,omitempty" tf:"script_actions,omitempty"` // The ID of the Subnet within the Virtual Network where the Zookeeper Nodes should be provisioned within. Changing this forces a new resource to be created. - // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta1.Subnet + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta2.Subnet // +crossplane:generate:reference:extractor=github.com/upbound/provider-azure/apis/rconfig.ExtractResourceID() // +kubebuilder:validation:Optional SubnetID *string `json:"subnetId,omitempty" tf:"subnet_id,omitempty"` @@ -1293,7 +1293,7 @@ type WorkerNodeInitParameters struct { ScriptActions []WorkerNodeScriptActionsInitParameters `json:"scriptActions,omitempty" tf:"script_actions,omitempty"` // The ID of the Subnet within the Virtual Network where the Zookeeper Nodes should be provisioned within. Changing this forces a new resource to be created. - // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta1.Subnet + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta2.Subnet // +crossplane:generate:reference:extractor=github.com/upbound/provider-azure/apis/rconfig.ExtractResourceID() SubnetID *string `json:"subnetId,omitempty" tf:"subnet_id,omitempty"` @@ -1366,7 +1366,7 @@ type WorkerNodeParameters struct { ScriptActions []WorkerNodeScriptActionsParameters `json:"scriptActions,omitempty" tf:"script_actions,omitempty"` // The ID of the Subnet within the Virtual Network where the Zookeeper Nodes should be provisioned within. Changing this forces a new resource to be created. - // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta1.Subnet + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta2.Subnet // +crossplane:generate:reference:extractor=github.com/upbound/provider-azure/apis/rconfig.ExtractResourceID() // +kubebuilder:validation:Optional SubnetID *string `json:"subnetId,omitempty" tf:"subnet_id,omitempty"` @@ -1445,7 +1445,7 @@ type ZookeeperNodeInitParameters struct { ScriptActions []ZookeeperNodeScriptActionsInitParameters `json:"scriptActions,omitempty" tf:"script_actions,omitempty"` // The ID of the Subnet within the Virtual Network where the Zookeeper Nodes should be provisioned within. Changing this forces a new resource to be created. - // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta1.Subnet + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta2.Subnet // +crossplane:generate:reference:extractor=github.com/upbound/provider-azure/apis/rconfig.ExtractResourceID() SubnetID *string `json:"subnetId,omitempty" tf:"subnet_id,omitempty"` @@ -1505,7 +1505,7 @@ type ZookeeperNodeParameters struct { ScriptActions []ZookeeperNodeScriptActionsParameters `json:"scriptActions,omitempty" tf:"script_actions,omitempty"` // The ID of the Subnet within the Virtual Network where the Zookeeper Nodes should be provisioned within. Changing this forces a new resource to be created. - // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta1.Subnet + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta2.Subnet // +crossplane:generate:reference:extractor=github.com/upbound/provider-azure/apis/rconfig.ExtractResourceID() // +kubebuilder:validation:Optional SubnetID *string `json:"subnetId,omitempty" tf:"subnet_id,omitempty"` diff --git a/apis/hdinsight/v1beta2/zz_hbasecluster_types.go b/apis/hdinsight/v1beta2/zz_hbasecluster_types.go index d4cab5146..2ef05e457 100755 --- a/apis/hdinsight/v1beta2/zz_hbasecluster_types.go +++ b/apis/hdinsight/v1beta2/zz_hbasecluster_types.go @@ -930,7 +930,7 @@ type RolesHeadNodeInitParameters struct { ScriptActions []HeadNodeScriptActionsInitParameters `json:"scriptActions,omitempty" tf:"script_actions,omitempty"` // The ID of the Subnet within the Virtual Network where the Zookeeper Nodes should be provisioned within. Changing this forces a new resource to be created. - // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta1.Subnet + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta2.Subnet // +crossplane:generate:reference:extractor=github.com/upbound/provider-azure/apis/rconfig.ExtractResourceID() SubnetID *string `json:"subnetId,omitempty" tf:"subnet_id,omitempty"` @@ -990,7 +990,7 @@ type RolesHeadNodeParameters struct { ScriptActions []HeadNodeScriptActionsParameters `json:"scriptActions,omitempty" tf:"script_actions,omitempty"` // The ID of the Subnet within the Virtual Network where the Zookeeper Nodes should be provisioned within. Changing this forces a new resource to be created. - // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta1.Subnet + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta2.Subnet // +crossplane:generate:reference:extractor=github.com/upbound/provider-azure/apis/rconfig.ExtractResourceID() // +kubebuilder:validation:Optional SubnetID *string `json:"subnetId,omitempty" tf:"subnet_id,omitempty"` @@ -1029,7 +1029,7 @@ type RolesWorkerNodeInitParameters struct { ScriptActions []RolesWorkerNodeScriptActionsInitParameters `json:"scriptActions,omitempty" tf:"script_actions,omitempty"` // The ID of the Subnet within the Virtual Network where the Zookeeper Nodes should be provisioned within. Changing this forces a new resource to be created. - // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta1.Subnet + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta2.Subnet // +crossplane:generate:reference:extractor=github.com/upbound/provider-azure/apis/rconfig.ExtractResourceID() SubnetID *string `json:"subnetId,omitempty" tf:"subnet_id,omitempty"` @@ -1102,7 +1102,7 @@ type RolesWorkerNodeParameters struct { ScriptActions []RolesWorkerNodeScriptActionsParameters `json:"scriptActions,omitempty" tf:"script_actions,omitempty"` // The ID of the Subnet within the Virtual Network where the Zookeeper Nodes should be provisioned within. Changing this forces a new resource to be created. - // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta1.Subnet + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta2.Subnet // +crossplane:generate:reference:extractor=github.com/upbound/provider-azure/apis/rconfig.ExtractResourceID() // +kubebuilder:validation:Optional SubnetID *string `json:"subnetId,omitempty" tf:"subnet_id,omitempty"` @@ -1181,7 +1181,7 @@ type RolesZookeeperNodeInitParameters struct { ScriptActions []RolesZookeeperNodeScriptActionsInitParameters `json:"scriptActions,omitempty" tf:"script_actions,omitempty"` // The ID of the Subnet within the Virtual Network where the Zookeeper Nodes should be provisioned within. Changing this forces a new resource to be created. - // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta1.Subnet + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta2.Subnet // +crossplane:generate:reference:extractor=github.com/upbound/provider-azure/apis/rconfig.ExtractResourceID() SubnetID *string `json:"subnetId,omitempty" tf:"subnet_id,omitempty"` @@ -1241,7 +1241,7 @@ type RolesZookeeperNodeParameters struct { ScriptActions []RolesZookeeperNodeScriptActionsParameters `json:"scriptActions,omitempty" tf:"script_actions,omitempty"` // The ID of the Subnet within the Virtual Network where the Zookeeper Nodes should be provisioned within. Changing this forces a new resource to be created. - // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta1.Subnet + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta2.Subnet // +crossplane:generate:reference:extractor=github.com/upbound/provider-azure/apis/rconfig.ExtractResourceID() // +kubebuilder:validation:Optional SubnetID *string `json:"subnetId,omitempty" tf:"subnet_id,omitempty"` diff --git a/apis/hdinsight/v1beta2/zz_interactivequerycluster_types.go b/apis/hdinsight/v1beta2/zz_interactivequerycluster_types.go index bdd2346fd..4e2c08443 100755 --- a/apis/hdinsight/v1beta2/zz_interactivequerycluster_types.go +++ b/apis/hdinsight/v1beta2/zz_interactivequerycluster_types.go @@ -663,7 +663,7 @@ type InteractiveQueryClusterRolesHeadNodeInitParameters struct { ScriptActions []RolesHeadNodeScriptActionsInitParameters `json:"scriptActions,omitempty" tf:"script_actions,omitempty"` // The ID of the Subnet within the Virtual Network where the Zookeeper Nodes should be provisioned within. Changing this forces a new resource to be created. - // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta1.Subnet + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta2.Subnet // +crossplane:generate:reference:extractor=github.com/upbound/provider-azure/apis/rconfig.ExtractResourceID() SubnetID *string `json:"subnetId,omitempty" tf:"subnet_id,omitempty"` @@ -723,7 +723,7 @@ type InteractiveQueryClusterRolesHeadNodeParameters struct { ScriptActions []RolesHeadNodeScriptActionsParameters `json:"scriptActions,omitempty" tf:"script_actions,omitempty"` // The ID of the Subnet within the Virtual Network where the Zookeeper Nodes should be provisioned within. Changing this forces a new resource to be created. - // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta1.Subnet + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta2.Subnet // +crossplane:generate:reference:extractor=github.com/upbound/provider-azure/apis/rconfig.ExtractResourceID() // +kubebuilder:validation:Optional SubnetID *string `json:"subnetId,omitempty" tf:"subnet_id,omitempty"` @@ -801,7 +801,7 @@ type InteractiveQueryClusterRolesWorkerNodeInitParameters struct { ScriptActions []InteractiveQueryClusterRolesWorkerNodeScriptActionsInitParameters `json:"scriptActions,omitempty" tf:"script_actions,omitempty"` // The ID of the Subnet within the Virtual Network where the Zookeeper Nodes should be provisioned within. Changing this forces a new resource to be created. - // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta1.Subnet + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta2.Subnet // +crossplane:generate:reference:extractor=github.com/upbound/provider-azure/apis/rconfig.ExtractResourceID() SubnetID *string `json:"subnetId,omitempty" tf:"subnet_id,omitempty"` @@ -874,7 +874,7 @@ type InteractiveQueryClusterRolesWorkerNodeParameters struct { ScriptActions []InteractiveQueryClusterRolesWorkerNodeScriptActionsParameters `json:"scriptActions,omitempty" tf:"script_actions,omitempty"` // The ID of the Subnet within the Virtual Network where the Zookeeper Nodes should be provisioned within. Changing this forces a new resource to be created. - // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta1.Subnet + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta2.Subnet // +crossplane:generate:reference:extractor=github.com/upbound/provider-azure/apis/rconfig.ExtractResourceID() // +kubebuilder:validation:Optional SubnetID *string `json:"subnetId,omitempty" tf:"subnet_id,omitempty"` @@ -953,7 +953,7 @@ type InteractiveQueryClusterRolesZookeeperNodeInitParameters struct { ScriptActions []InteractiveQueryClusterRolesZookeeperNodeScriptActionsInitParameters `json:"scriptActions,omitempty" tf:"script_actions,omitempty"` // The ID of the Subnet within the Virtual Network where the Zookeeper Nodes should be provisioned within. Changing this forces a new resource to be created. - // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta1.Subnet + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta2.Subnet // +crossplane:generate:reference:extractor=github.com/upbound/provider-azure/apis/rconfig.ExtractResourceID() SubnetID *string `json:"subnetId,omitempty" tf:"subnet_id,omitempty"` @@ -1013,7 +1013,7 @@ type InteractiveQueryClusterRolesZookeeperNodeParameters struct { ScriptActions []InteractiveQueryClusterRolesZookeeperNodeScriptActionsParameters `json:"scriptActions,omitempty" tf:"script_actions,omitempty"` // The ID of the Subnet within the Virtual Network where the Zookeeper Nodes should be provisioned within. Changing this forces a new resource to be created. - // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta1.Subnet + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta2.Subnet // +crossplane:generate:reference:extractor=github.com/upbound/provider-azure/apis/rconfig.ExtractResourceID() // +kubebuilder:validation:Optional SubnetID *string `json:"subnetId,omitempty" tf:"subnet_id,omitempty"` diff --git a/apis/hdinsight/v1beta2/zz_kafkacluster_types.go b/apis/hdinsight/v1beta2/zz_kafkacluster_types.go index f8cc3ffcc..917f5c642 100755 --- a/apis/hdinsight/v1beta2/zz_kafkacluster_types.go +++ b/apis/hdinsight/v1beta2/zz_kafkacluster_types.go @@ -616,7 +616,7 @@ type KafkaClusterRolesHeadNodeInitParameters struct { ScriptActions []KafkaClusterRolesHeadNodeScriptActionsInitParameters `json:"scriptActions,omitempty" tf:"script_actions,omitempty"` // The ID of the Subnet within the Virtual Network where the Zookeeper Nodes should be provisioned within. Changing this forces a new resource to be created. - // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta1.Subnet + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta2.Subnet // +crossplane:generate:reference:extractor=github.com/upbound/provider-azure/apis/rconfig.ExtractResourceID() SubnetID *string `json:"subnetId,omitempty" tf:"subnet_id,omitempty"` @@ -676,7 +676,7 @@ type KafkaClusterRolesHeadNodeParameters struct { ScriptActions []KafkaClusterRolesHeadNodeScriptActionsParameters `json:"scriptActions,omitempty" tf:"script_actions,omitempty"` // The ID of the Subnet within the Virtual Network where the Zookeeper Nodes should be provisioned within. Changing this forces a new resource to be created. - // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta1.Subnet + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta2.Subnet // +crossplane:generate:reference:extractor=github.com/upbound/provider-azure/apis/rconfig.ExtractResourceID() // +kubebuilder:validation:Optional SubnetID *string `json:"subnetId,omitempty" tf:"subnet_id,omitempty"` @@ -803,7 +803,7 @@ type KafkaClusterRolesWorkerNodeInitParameters struct { ScriptActions []KafkaClusterRolesWorkerNodeScriptActionsInitParameters `json:"scriptActions,omitempty" tf:"script_actions,omitempty"` // The ID of the Subnet within the Virtual Network where the Zookeeper Nodes should be provisioned within. Changing this forces a new resource to be created. - // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta1.Subnet + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta2.Subnet // +crossplane:generate:reference:extractor=github.com/upbound/provider-azure/apis/rconfig.ExtractResourceID() SubnetID *string `json:"subnetId,omitempty" tf:"subnet_id,omitempty"` @@ -876,7 +876,7 @@ type KafkaClusterRolesWorkerNodeParameters struct { ScriptActions []KafkaClusterRolesWorkerNodeScriptActionsParameters `json:"scriptActions,omitempty" tf:"script_actions,omitempty"` // The ID of the Subnet within the Virtual Network where the Zookeeper Nodes should be provisioned within. Changing this forces a new resource to be created. - // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta1.Subnet + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta2.Subnet // +crossplane:generate:reference:extractor=github.com/upbound/provider-azure/apis/rconfig.ExtractResourceID() // +kubebuilder:validation:Optional SubnetID *string `json:"subnetId,omitempty" tf:"subnet_id,omitempty"` @@ -955,7 +955,7 @@ type KafkaClusterRolesZookeeperNodeInitParameters struct { ScriptActions []KafkaClusterRolesZookeeperNodeScriptActionsInitParameters `json:"scriptActions,omitempty" tf:"script_actions,omitempty"` // The ID of the Subnet within the Virtual Network where the Zookeeper Nodes should be provisioned within. Changing this forces a new resource to be created. - // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta1.Subnet + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta2.Subnet // +crossplane:generate:reference:extractor=github.com/upbound/provider-azure/apis/rconfig.ExtractResourceID() SubnetID *string `json:"subnetId,omitempty" tf:"subnet_id,omitempty"` @@ -1015,7 +1015,7 @@ type KafkaClusterRolesZookeeperNodeParameters struct { ScriptActions []KafkaClusterRolesZookeeperNodeScriptActionsParameters `json:"scriptActions,omitempty" tf:"script_actions,omitempty"` // The ID of the Subnet within the Virtual Network where the Zookeeper Nodes should be provisioned within. Changing this forces a new resource to be created. - // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta1.Subnet + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta2.Subnet // +crossplane:generate:reference:extractor=github.com/upbound/provider-azure/apis/rconfig.ExtractResourceID() // +kubebuilder:validation:Optional SubnetID *string `json:"subnetId,omitempty" tf:"subnet_id,omitempty"` @@ -1281,7 +1281,7 @@ type KafkaManagementNodeInitParameters struct { ScriptActions []KafkaManagementNodeScriptActionsInitParameters `json:"scriptActions,omitempty" tf:"script_actions,omitempty"` // The ID of the Subnet within the Virtual Network where the Zookeeper Nodes should be provisioned within. Changing this forces a new resource to be created. - // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta1.Subnet + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta2.Subnet // +crossplane:generate:reference:extractor=github.com/upbound/provider-azure/apis/rconfig.ExtractResourceID() SubnetID *string `json:"subnetId,omitempty" tf:"subnet_id,omitempty"` @@ -1341,7 +1341,7 @@ type KafkaManagementNodeParameters struct { ScriptActions []KafkaManagementNodeScriptActionsParameters `json:"scriptActions,omitempty" tf:"script_actions,omitempty"` // The ID of the Subnet within the Virtual Network where the Zookeeper Nodes should be provisioned within. Changing this forces a new resource to be created. - // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta1.Subnet + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta2.Subnet // +crossplane:generate:reference:extractor=github.com/upbound/provider-azure/apis/rconfig.ExtractResourceID() // +kubebuilder:validation:Optional SubnetID *string `json:"subnetId,omitempty" tf:"subnet_id,omitempty"` diff --git a/apis/hdinsight/v1beta2/zz_sparkcluster_types.go b/apis/hdinsight/v1beta2/zz_sparkcluster_types.go index 82c97aecb..3b97a2a44 100755 --- a/apis/hdinsight/v1beta2/zz_sparkcluster_types.go +++ b/apis/hdinsight/v1beta2/zz_sparkcluster_types.go @@ -632,7 +632,7 @@ type SparkClusterRolesHeadNodeInitParameters struct { ScriptActions []SparkClusterRolesHeadNodeScriptActionsInitParameters `json:"scriptActions,omitempty" tf:"script_actions,omitempty"` // The ID of the Subnet within the Virtual Network where the Zookeeper Nodes should be provisioned within. Changing this forces a new resource to be created. - // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta1.Subnet + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta2.Subnet // +crossplane:generate:reference:extractor=github.com/upbound/provider-azure/apis/rconfig.ExtractResourceID() SubnetID *string `json:"subnetId,omitempty" tf:"subnet_id,omitempty"` @@ -692,7 +692,7 @@ type SparkClusterRolesHeadNodeParameters struct { ScriptActions []SparkClusterRolesHeadNodeScriptActionsParameters `json:"scriptActions,omitempty" tf:"script_actions,omitempty"` // The ID of the Subnet within the Virtual Network where the Zookeeper Nodes should be provisioned within. Changing this forces a new resource to be created. - // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta1.Subnet + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta2.Subnet // +crossplane:generate:reference:extractor=github.com/upbound/provider-azure/apis/rconfig.ExtractResourceID() // +kubebuilder:validation:Optional SubnetID *string `json:"subnetId,omitempty" tf:"subnet_id,omitempty"` @@ -838,7 +838,7 @@ type SparkClusterRolesWorkerNodeInitParameters struct { ScriptActions []SparkClusterRolesWorkerNodeScriptActionsInitParameters `json:"scriptActions,omitempty" tf:"script_actions,omitempty"` // The ID of the Subnet within the Virtual Network where the Zookeeper Nodes should be provisioned within. Changing this forces a new resource to be created. - // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta1.Subnet + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta2.Subnet // +crossplane:generate:reference:extractor=github.com/upbound/provider-azure/apis/rconfig.ExtractResourceID() SubnetID *string `json:"subnetId,omitempty" tf:"subnet_id,omitempty"` @@ -911,7 +911,7 @@ type SparkClusterRolesWorkerNodeParameters struct { ScriptActions []SparkClusterRolesWorkerNodeScriptActionsParameters `json:"scriptActions,omitempty" tf:"script_actions,omitempty"` // The ID of the Subnet within the Virtual Network where the Zookeeper Nodes should be provisioned within. Changing this forces a new resource to be created. - // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta1.Subnet + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta2.Subnet // +crossplane:generate:reference:extractor=github.com/upbound/provider-azure/apis/rconfig.ExtractResourceID() // +kubebuilder:validation:Optional SubnetID *string `json:"subnetId,omitempty" tf:"subnet_id,omitempty"` @@ -990,7 +990,7 @@ type SparkClusterRolesZookeeperNodeInitParameters struct { ScriptActions []SparkClusterRolesZookeeperNodeScriptActionsInitParameters `json:"scriptActions,omitempty" tf:"script_actions,omitempty"` // The ID of the Subnet within the Virtual Network where the Zookeeper Nodes should be provisioned within. Changing this forces a new resource to be created. - // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta1.Subnet + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta2.Subnet // +crossplane:generate:reference:extractor=github.com/upbound/provider-azure/apis/rconfig.ExtractResourceID() SubnetID *string `json:"subnetId,omitempty" tf:"subnet_id,omitempty"` @@ -1050,7 +1050,7 @@ type SparkClusterRolesZookeeperNodeParameters struct { ScriptActions []SparkClusterRolesZookeeperNodeScriptActionsParameters `json:"scriptActions,omitempty" tf:"script_actions,omitempty"` // The ID of the Subnet within the Virtual Network where the Zookeeper Nodes should be provisioned within. Changing this forces a new resource to be created. - // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta1.Subnet + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta2.Subnet // +crossplane:generate:reference:extractor=github.com/upbound/provider-azure/apis/rconfig.ExtractResourceID() // +kubebuilder:validation:Optional SubnetID *string `json:"subnetId,omitempty" tf:"subnet_id,omitempty"` diff --git a/apis/healthcareapis/v1beta1/zz_generated.resolvers.go b/apis/healthcareapis/v1beta1/zz_generated.resolvers.go index 8fbdd9c11..bea66483a 100644 --- a/apis/healthcareapis/v1beta1/zz_generated.resolvers.go +++ b/apis/healthcareapis/v1beta1/zz_generated.resolvers.go @@ -272,7 +272,7 @@ func (mg *HealthcareMedtechServiceFHIRDestination) ResolveReferences(ctx context var rsp reference.ResolutionResponse var err error { - m, l, err = apisresolver.GetManagedResource("healthcareapis.azure.upbound.io", "v1beta1", "HealthcareFHIRService", "HealthcareFHIRServiceList") + m, l, err = apisresolver.GetManagedResource("healthcareapis.azure.upbound.io", "v1beta2", "HealthcareFHIRService", "HealthcareFHIRServiceList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } @@ -291,7 +291,7 @@ func (mg *HealthcareMedtechServiceFHIRDestination) ResolveReferences(ctx context mg.Spec.ForProvider.DestinationFHIRServiceID = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.DestinationFHIRServiceIDRef = rsp.ResolvedReference { - m, l, err = apisresolver.GetManagedResource("healthcareapis.azure.upbound.io", "v1beta1", "HealthcareMedtechService", "HealthcareMedtechServiceList") + m, l, err = apisresolver.GetManagedResource("healthcareapis.azure.upbound.io", "v1beta2", "HealthcareMedtechService", "HealthcareMedtechServiceList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } @@ -310,7 +310,7 @@ func (mg *HealthcareMedtechServiceFHIRDestination) ResolveReferences(ctx context mg.Spec.ForProvider.MedtechServiceID = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.MedtechServiceIDRef = rsp.ResolvedReference { - m, l, err = apisresolver.GetManagedResource("healthcareapis.azure.upbound.io", "v1beta1", "HealthcareFHIRService", "HealthcareFHIRServiceList") + m, l, err = apisresolver.GetManagedResource("healthcareapis.azure.upbound.io", "v1beta2", "HealthcareFHIRService", "HealthcareFHIRServiceList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } diff --git a/apis/healthcareapis/v1beta1/zz_healthcaremedtechservicefhirdestination_types.go b/apis/healthcareapis/v1beta1/zz_healthcaremedtechservicefhirdestination_types.go index 53183da6e..b8140ef45 100755 --- a/apis/healthcareapis/v1beta1/zz_healthcaremedtechservicefhirdestination_types.go +++ b/apis/healthcareapis/v1beta1/zz_healthcaremedtechservicefhirdestination_types.go @@ -19,7 +19,7 @@ type HealthcareMedtechServiceFHIRDestinationInitParameters struct { DestinationFHIRMappingJSON *string `json:"destinationFhirMappingJson,omitempty" tf:"destination_fhir_mapping_json,omitempty"` // Specifies the destination fhir service id of the Med Tech Service Fhir Destination. - // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/healthcareapis/v1beta1.HealthcareFHIRService + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/healthcareapis/v1beta2.HealthcareFHIRService // +crossplane:generate:reference:extractor=github.com/upbound/provider-azure/apis/rconfig.ExtractResourceID() DestinationFHIRServiceID *string `json:"destinationFhirServiceId,omitempty" tf:"destination_fhir_service_id,omitempty"` @@ -66,7 +66,7 @@ type HealthcareMedtechServiceFHIRDestinationParameters struct { DestinationFHIRMappingJSON *string `json:"destinationFhirMappingJson,omitempty" tf:"destination_fhir_mapping_json,omitempty"` // Specifies the destination fhir service id of the Med Tech Service Fhir Destination. - // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/healthcareapis/v1beta1.HealthcareFHIRService + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/healthcareapis/v1beta2.HealthcareFHIRService // +crossplane:generate:reference:extractor=github.com/upbound/provider-azure/apis/rconfig.ExtractResourceID() // +kubebuilder:validation:Optional DestinationFHIRServiceID *string `json:"destinationFhirServiceId,omitempty" tf:"destination_fhir_service_id,omitempty"` @@ -88,7 +88,7 @@ type HealthcareMedtechServiceFHIRDestinationParameters struct { Location *string `json:"location,omitempty" tf:"location,omitempty"` // Specifies the name of the Healthcare Med Tech Service where the Healthcare Med Tech Service Fhir Destination should exist. Changing this forces a new Healthcare Med Tech Service Fhir Destination to be created. - // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/healthcareapis/v1beta1.HealthcareMedtechService + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/healthcareapis/v1beta2.HealthcareMedtechService // +crossplane:generate:reference:extractor=github.com/upbound/provider-azure/apis/rconfig.ExtractResourceID() // +kubebuilder:validation:Optional MedtechServiceID *string `json:"medtechServiceId,omitempty" tf:"medtech_service_id,omitempty"` diff --git a/apis/healthcareapis/v1beta2/zz_generated.resolvers.go b/apis/healthcareapis/v1beta2/zz_generated.resolvers.go index 59eb7536f..f5053ab9e 100644 --- a/apis/healthcareapis/v1beta2/zz_generated.resolvers.go +++ b/apis/healthcareapis/v1beta2/zz_generated.resolvers.go @@ -146,7 +146,7 @@ func (mg *HealthcareMedtechService) ResolveReferences(ctx context.Context, c cli mg.Spec.ForProvider.EventHubConsumerGroupName = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.EventHubConsumerGroupNameRef = rsp.ResolvedReference { - m, l, err = apisresolver.GetManagedResource("eventhub.azure.upbound.io", "v1beta1", "EventHub", "EventHubList") + m, l, err = apisresolver.GetManagedResource("eventhub.azure.upbound.io", "v1beta2", "EventHub", "EventHubList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } @@ -165,7 +165,7 @@ func (mg *HealthcareMedtechService) ResolveReferences(ctx context.Context, c cli mg.Spec.ForProvider.EventHubName = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.EventHubNameRef = rsp.ResolvedReference { - m, l, err = apisresolver.GetManagedResource("eventhub.azure.upbound.io", "v1beta1", "EventHubNamespace", "EventHubNamespaceList") + m, l, err = apisresolver.GetManagedResource("eventhub.azure.upbound.io", "v1beta2", "EventHubNamespace", "EventHubNamespaceList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } @@ -184,7 +184,7 @@ func (mg *HealthcareMedtechService) ResolveReferences(ctx context.Context, c cli mg.Spec.ForProvider.EventHubNamespaceName = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.EventHubNamespaceNameRef = rsp.ResolvedReference { - m, l, err = apisresolver.GetManagedResource("healthcareapis.azure.upbound.io", "v1beta2", "HealthcareWorkspace", "HealthcareWorkspaceList") + m, l, err = apisresolver.GetManagedResource("healthcareapis.azure.upbound.io", "v1beta1", "HealthcareWorkspace", "HealthcareWorkspaceList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } @@ -222,7 +222,7 @@ func (mg *HealthcareMedtechService) ResolveReferences(ctx context.Context, c cli mg.Spec.InitProvider.EventHubConsumerGroupName = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.InitProvider.EventHubConsumerGroupNameRef = rsp.ResolvedReference { - m, l, err = apisresolver.GetManagedResource("eventhub.azure.upbound.io", "v1beta1", "EventHub", "EventHubList") + m, l, err = apisresolver.GetManagedResource("eventhub.azure.upbound.io", "v1beta2", "EventHub", "EventHubList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } @@ -241,7 +241,7 @@ func (mg *HealthcareMedtechService) ResolveReferences(ctx context.Context, c cli mg.Spec.InitProvider.EventHubName = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.InitProvider.EventHubNameRef = rsp.ResolvedReference { - m, l, err = apisresolver.GetManagedResource("eventhub.azure.upbound.io", "v1beta1", "EventHubNamespace", "EventHubNamespaceList") + m, l, err = apisresolver.GetManagedResource("eventhub.azure.upbound.io", "v1beta2", "EventHubNamespace", "EventHubNamespaceList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } diff --git a/apis/healthcareapis/v1beta2/zz_healthcaremedtechservice_types.go b/apis/healthcareapis/v1beta2/zz_healthcaremedtechservice_types.go index ccf31889f..404457bd6 100755 --- a/apis/healthcareapis/v1beta2/zz_healthcaremedtechservice_types.go +++ b/apis/healthcareapis/v1beta2/zz_healthcaremedtechservice_types.go @@ -69,7 +69,7 @@ type HealthcareMedtechServiceInitParameters struct { EventHubConsumerGroupNameSelector *v1.Selector `json:"eventhubConsumerGroupNameSelector,omitempty" tf:"-"` // Specifies the name of the Event Hub to connect to. - // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/eventhub/v1beta1.EventHub + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/eventhub/v1beta2.EventHub EventHubName *string `json:"eventhubName,omitempty" tf:"eventhub_name,omitempty"` // Reference to a EventHub in eventhub to populate eventhubName. @@ -81,7 +81,7 @@ type HealthcareMedtechServiceInitParameters struct { EventHubNameSelector *v1.Selector `json:"eventhubNameSelector,omitempty" tf:"-"` // Specifies the namespace name of the Event Hub to connect to. - // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/eventhub/v1beta1.EventHubNamespace + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/eventhub/v1beta2.EventHubNamespace EventHubNamespaceName *string `json:"eventhubNamespaceName,omitempty" tf:"eventhub_namespace_name,omitempty"` // Reference to a EventHubNamespace in eventhub to populate eventhubNamespaceName. @@ -154,7 +154,7 @@ type HealthcareMedtechServiceParameters struct { EventHubConsumerGroupNameSelector *v1.Selector `json:"eventhubConsumerGroupNameSelector,omitempty" tf:"-"` // Specifies the name of the Event Hub to connect to. - // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/eventhub/v1beta1.EventHub + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/eventhub/v1beta2.EventHub // +kubebuilder:validation:Optional EventHubName *string `json:"eventhubName,omitempty" tf:"eventhub_name,omitempty"` @@ -167,7 +167,7 @@ type HealthcareMedtechServiceParameters struct { EventHubNameSelector *v1.Selector `json:"eventhubNameSelector,omitempty" tf:"-"` // Specifies the namespace name of the Event Hub to connect to. - // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/eventhub/v1beta1.EventHubNamespace + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/eventhub/v1beta2.EventHubNamespace // +kubebuilder:validation:Optional EventHubNamespaceName *string `json:"eventhubNamespaceName,omitempty" tf:"eventhub_namespace_name,omitempty"` @@ -193,16 +193,16 @@ type HealthcareMedtechServiceParameters struct { Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` // Specifies the id of the Healthcare Workspace where the Healthcare Med Tech Service should exist. Changing this forces a new Healthcare Med Tech Service to be created. - // +crossplane:generate:reference:type=HealthcareWorkspace + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/healthcareapis/v1beta1.HealthcareWorkspace // +crossplane:generate:reference:extractor=github.com/upbound/provider-azure/apis/rconfig.ExtractResourceID() // +kubebuilder:validation:Optional WorkspaceID *string `json:"workspaceId,omitempty" tf:"workspace_id,omitempty"` - // Reference to a HealthcareWorkspace to populate workspaceId. + // Reference to a HealthcareWorkspace in healthcareapis to populate workspaceId. // +kubebuilder:validation:Optional WorkspaceIDRef *v1.Reference `json:"workspaceIdRef,omitempty" tf:"-"` - // Selector for a HealthcareWorkspace to populate workspaceId. + // Selector for a HealthcareWorkspace in healthcareapis to populate workspaceId. // +kubebuilder:validation:Optional WorkspaceIDSelector *v1.Selector `json:"workspaceIdSelector,omitempty" tf:"-"` } diff --git a/apis/insights/v1beta2/zz_generated.resolvers.go b/apis/insights/v1beta2/zz_generated.resolvers.go index b35b0e9d1..d1eaf8f0d 100644 --- a/apis/insights/v1beta2/zz_generated.resolvers.go +++ b/apis/insights/v1beta2/zz_generated.resolvers.go @@ -834,7 +834,7 @@ func (mg *MonitorMetricAlert) ResolveReferences(ctx context.Context, c client.Re mg.Spec.ForProvider.ResourceGroupName = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.ResourceGroupNameRef = rsp.ResolvedReference { - m, l, err = apisresolver.GetManagedResource("storage.azure.upbound.io", "v1beta1", "Account", "AccountList") + m, l, err = apisresolver.GetManagedResource("storage.azure.upbound.io", "v1beta2", "Account", "AccountList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } @@ -875,7 +875,7 @@ func (mg *MonitorMetricAlert) ResolveReferences(ctx context.Context, c client.Re } { - m, l, err = apisresolver.GetManagedResource("storage.azure.upbound.io", "v1beta1", "Account", "AccountList") + m, l, err = apisresolver.GetManagedResource("storage.azure.upbound.io", "v1beta2", "Account", "AccountList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } @@ -1056,7 +1056,7 @@ func (mg *MonitorScheduledQueryRulesAlertV2) ResolveReferences(ctx context.Conte mg.Spec.ForProvider.ResourceGroupName = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.ResourceGroupNameRef = rsp.ResolvedReference { - m, l, err = apisresolver.GetManagedResource("insights.azure.upbound.io", "v1beta2", "ApplicationInsights", "ApplicationInsightsList") + m, l, err = apisresolver.GetManagedResource("insights.azure.upbound.io", "v1beta1", "ApplicationInsights", "ApplicationInsightsList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } @@ -1075,7 +1075,7 @@ func (mg *MonitorScheduledQueryRulesAlertV2) ResolveReferences(ctx context.Conte mg.Spec.ForProvider.Scopes = reference.ToPtrValues(mrsp.ResolvedValues) mg.Spec.ForProvider.ScopesRefs = mrsp.ResolvedReferences { - m, l, err = apisresolver.GetManagedResource("insights.azure.upbound.io", "v1beta2", "ApplicationInsights", "ApplicationInsightsList") + m, l, err = apisresolver.GetManagedResource("insights.azure.upbound.io", "v1beta1", "ApplicationInsights", "ApplicationInsightsList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } diff --git a/apis/insights/v1beta2/zz_monitormetricalert_types.go b/apis/insights/v1beta2/zz_monitormetricalert_types.go index 95de2a92e..dba94936c 100755 --- a/apis/insights/v1beta2/zz_monitormetricalert_types.go +++ b/apis/insights/v1beta2/zz_monitormetricalert_types.go @@ -242,15 +242,15 @@ type DynamicCriteriaParameters struct { type MonitorMetricAlertActionInitParameters struct { // The ID of the Action Group can be sourced from the - // +crossplane:generate:reference:type=MonitorActionGroup + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/insights/v1beta2.MonitorActionGroup // +crossplane:generate:reference:extractor=github.com/upbound/provider-azure/apis/rconfig.ExtractResourceID() ActionGroupID *string `json:"actionGroupId,omitempty" tf:"action_group_id,omitempty"` - // Reference to a MonitorActionGroup to populate actionGroupId. + // Reference to a MonitorActionGroup in insights to populate actionGroupId. // +kubebuilder:validation:Optional ActionGroupIDRef *v1.Reference `json:"actionGroupIdRef,omitempty" tf:"-"` - // Selector for a MonitorActionGroup to populate actionGroupId. + // Selector for a MonitorActionGroup in insights to populate actionGroupId. // +kubebuilder:validation:Optional ActionGroupIDSelector *v1.Selector `json:"actionGroupIdSelector,omitempty" tf:"-"` @@ -272,16 +272,16 @@ type MonitorMetricAlertActionObservation struct { type MonitorMetricAlertActionParameters struct { // The ID of the Action Group can be sourced from the - // +crossplane:generate:reference:type=MonitorActionGroup + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/insights/v1beta2.MonitorActionGroup // +crossplane:generate:reference:extractor=github.com/upbound/provider-azure/apis/rconfig.ExtractResourceID() // +kubebuilder:validation:Optional ActionGroupID *string `json:"actionGroupId,omitempty" tf:"action_group_id,omitempty"` - // Reference to a MonitorActionGroup to populate actionGroupId. + // Reference to a MonitorActionGroup in insights to populate actionGroupId. // +kubebuilder:validation:Optional ActionGroupIDRef *v1.Reference `json:"actionGroupIdRef,omitempty" tf:"-"` - // Selector for a MonitorActionGroup to populate actionGroupId. + // Selector for a MonitorActionGroup in insights to populate actionGroupId. // +kubebuilder:validation:Optional ActionGroupIDSelector *v1.Selector `json:"actionGroupIdSelector,omitempty" tf:"-"` @@ -397,7 +397,7 @@ type MonitorMetricAlertInitParameters struct { Frequency *string `json:"frequency,omitempty" tf:"frequency,omitempty"` // A set of strings of resource IDs at which the metric criteria should be applied. - // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/storage/v1beta1.Account + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/storage/v1beta2.Account // +crossplane:generate:reference:extractor=github.com/upbound/provider-azure/apis/rconfig.ExtractResourceID() // +listType=set Scopes []*string `json:"scopes,omitempty" tf:"scopes,omitempty"` @@ -532,7 +532,7 @@ type MonitorMetricAlertParameters struct { ResourceGroupNameSelector *v1.Selector `json:"resourceGroupNameSelector,omitempty" tf:"-"` // A set of strings of resource IDs at which the metric criteria should be applied. - // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/storage/v1beta1.Account + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/storage/v1beta2.Account // +crossplane:generate:reference:extractor=github.com/upbound/provider-azure/apis/rconfig.ExtractResourceID() // +kubebuilder:validation:Optional // +listType=set diff --git a/apis/insights/v1beta2/zz_monitorscheduledqueryrulesalert_types.go b/apis/insights/v1beta2/zz_monitorscheduledqueryrulesalert_types.go index faa657344..f0a12c2ec 100755 --- a/apis/insights/v1beta2/zz_monitorscheduledqueryrulesalert_types.go +++ b/apis/insights/v1beta2/zz_monitorscheduledqueryrulesalert_types.go @@ -16,16 +16,16 @@ import ( type MonitorScheduledQueryRulesAlertActionInitParameters struct { // List of action group reference resource IDs. - // +crossplane:generate:reference:type=MonitorActionGroup + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/insights/v1beta2.MonitorActionGroup // +crossplane:generate:reference:extractor=github.com/upbound/provider-azure/apis/rconfig.ExtractResourceID() // +listType=set ActionGroup []*string `json:"actionGroup,omitempty" tf:"action_group,omitempty"` - // References to MonitorActionGroup to populate actionGroup. + // References to MonitorActionGroup in insights to populate actionGroup. // +kubebuilder:validation:Optional ActionGroupRefs []v1.Reference `json:"actionGroupRefs,omitempty" tf:"-"` - // Selector for a list of MonitorActionGroup to populate actionGroup. + // Selector for a list of MonitorActionGroup in insights to populate actionGroup. // +kubebuilder:validation:Optional ActionGroupSelector *v1.Selector `json:"actionGroupSelector,omitempty" tf:"-"` @@ -52,17 +52,17 @@ type MonitorScheduledQueryRulesAlertActionObservation struct { type MonitorScheduledQueryRulesAlertActionParameters struct { // List of action group reference resource IDs. - // +crossplane:generate:reference:type=MonitorActionGroup + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/insights/v1beta2.MonitorActionGroup // +crossplane:generate:reference:extractor=github.com/upbound/provider-azure/apis/rconfig.ExtractResourceID() // +kubebuilder:validation:Optional // +listType=set ActionGroup []*string `json:"actionGroup,omitempty" tf:"action_group,omitempty"` - // References to MonitorActionGroup to populate actionGroup. + // References to MonitorActionGroup in insights to populate actionGroup. // +kubebuilder:validation:Optional ActionGroupRefs []v1.Reference `json:"actionGroupRefs,omitempty" tf:"-"` - // Selector for a list of MonitorActionGroup to populate actionGroup. + // Selector for a list of MonitorActionGroup in insights to populate actionGroup. // +kubebuilder:validation:Optional ActionGroupSelector *v1.Selector `json:"actionGroupSelector,omitempty" tf:"-"` diff --git a/apis/insights/v1beta2/zz_monitorscheduledqueryrulesalertv2_types.go b/apis/insights/v1beta2/zz_monitorscheduledqueryrulesalertv2_types.go index 313482f7c..2e6a79459 100755 --- a/apis/insights/v1beta2/zz_monitorscheduledqueryrulesalertv2_types.go +++ b/apis/insights/v1beta2/zz_monitorscheduledqueryrulesalertv2_types.go @@ -235,15 +235,15 @@ type MonitorScheduledQueryRulesAlertV2InitParameters struct { QueryTimeRangeOverride *string `json:"queryTimeRangeOverride,omitempty" tf:"query_time_range_override,omitempty"` // Specifies the list of resource IDs that this scheduled query rule is scoped to. Changing this forces a new resource to be created. Currently, the API supports exactly 1 resource ID in the scopes list. - // +crossplane:generate:reference:type=ApplicationInsights + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/insights/v1beta1.ApplicationInsights // +crossplane:generate:reference:extractor=github.com/upbound/provider-azure/apis/rconfig.ExtractResourceID() Scopes []*string `json:"scopes,omitempty" tf:"scopes,omitempty"` - // References to ApplicationInsights to populate scopes. + // References to ApplicationInsights in insights to populate scopes. // +kubebuilder:validation:Optional ScopesRefs []v1.Reference `json:"scopesRefs,omitempty" tf:"-"` - // Selector for a list of ApplicationInsights to populate scopes. + // Selector for a list of ApplicationInsights in insights to populate scopes. // +kubebuilder:validation:Optional ScopesSelector *v1.Selector `json:"scopesSelector,omitempty" tf:"-"` @@ -393,16 +393,16 @@ type MonitorScheduledQueryRulesAlertV2Parameters struct { ResourceGroupNameSelector *v1.Selector `json:"resourceGroupNameSelector,omitempty" tf:"-"` // Specifies the list of resource IDs that this scheduled query rule is scoped to. Changing this forces a new resource to be created. Currently, the API supports exactly 1 resource ID in the scopes list. - // +crossplane:generate:reference:type=ApplicationInsights + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/insights/v1beta1.ApplicationInsights // +crossplane:generate:reference:extractor=github.com/upbound/provider-azure/apis/rconfig.ExtractResourceID() // +kubebuilder:validation:Optional Scopes []*string `json:"scopes,omitempty" tf:"scopes,omitempty"` - // References to ApplicationInsights to populate scopes. + // References to ApplicationInsights in insights to populate scopes. // +kubebuilder:validation:Optional ScopesRefs []v1.Reference `json:"scopesRefs,omitempty" tf:"-"` - // Selector for a list of ApplicationInsights to populate scopes. + // Selector for a list of ApplicationInsights in insights to populate scopes. // +kubebuilder:validation:Optional ScopesSelector *v1.Selector `json:"scopesSelector,omitempty" tf:"-"` diff --git a/apis/keyvault/v1beta1/zz_accesspolicy_types.go b/apis/keyvault/v1beta1/zz_accesspolicy_types.go index e1cd9a2ac..923f25fe7 100755 --- a/apis/keyvault/v1beta1/zz_accesspolicy_types.go +++ b/apis/keyvault/v1beta1/zz_accesspolicy_types.go @@ -25,7 +25,7 @@ type AccessPolicyInitParameters_2 struct { KeyPermissions []*string `json:"keyPermissions,omitempty" tf:"key_permissions,omitempty"` // Specifies the id of the Key Vault resource. Changing this forces a new resource to be created. - // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/keyvault/v1beta1.Vault + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/keyvault/v1beta2.Vault // +crossplane:generate:reference:extractor=github.com/upbound/provider-azure/apis/rconfig.ExtractResourceID() KeyVaultID *string `json:"keyVaultId,omitempty" tf:"key_vault_id,omitempty"` @@ -95,7 +95,7 @@ type AccessPolicyParameters_2 struct { KeyPermissions []*string `json:"keyPermissions,omitempty" tf:"key_permissions,omitempty"` // Specifies the id of the Key Vault resource. Changing this forces a new resource to be created. - // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/keyvault/v1beta1.Vault + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/keyvault/v1beta2.Vault // +crossplane:generate:reference:extractor=github.com/upbound/provider-azure/apis/rconfig.ExtractResourceID() // +kubebuilder:validation:Optional KeyVaultID *string `json:"keyVaultId,omitempty" tf:"key_vault_id,omitempty"` diff --git a/apis/keyvault/v1beta1/zz_certificateissuer_types.go b/apis/keyvault/v1beta1/zz_certificateissuer_types.go index 449060e8f..e1350da47 100755 --- a/apis/keyvault/v1beta1/zz_certificateissuer_types.go +++ b/apis/keyvault/v1beta1/zz_certificateissuer_types.go @@ -71,7 +71,7 @@ type CertificateIssuerInitParameters struct { Admin []AdminInitParameters `json:"admin,omitempty" tf:"admin,omitempty"` // The ID of the Key Vault in which to create the Certificate Issuer. Changing this forces a new resource to be created. - // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/keyvault/v1beta1.Vault + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/keyvault/v1beta2.Vault // +crossplane:generate:reference:extractor=github.com/upbound/provider-azure/apis/rconfig.ExtractResourceID() KeyVaultID *string `json:"keyVaultId,omitempty" tf:"key_vault_id,omitempty"` @@ -122,7 +122,7 @@ type CertificateIssuerParameters struct { Admin []AdminParameters `json:"admin,omitempty" tf:"admin,omitempty"` // The ID of the Key Vault in which to create the Certificate Issuer. Changing this forces a new resource to be created. - // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/keyvault/v1beta1.Vault + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/keyvault/v1beta2.Vault // +crossplane:generate:reference:extractor=github.com/upbound/provider-azure/apis/rconfig.ExtractResourceID() // +kubebuilder:validation:Optional KeyVaultID *string `json:"keyVaultId,omitempty" tf:"key_vault_id,omitempty"` diff --git a/apis/keyvault/v1beta1/zz_generated.resolvers.go b/apis/keyvault/v1beta1/zz_generated.resolvers.go index f323b1ed1..634ac17e4 100644 --- a/apis/keyvault/v1beta1/zz_generated.resolvers.go +++ b/apis/keyvault/v1beta1/zz_generated.resolvers.go @@ -28,7 +28,7 @@ func (mg *AccessPolicy) ResolveReferences( // ResolveReferences of this AccessPo var rsp reference.ResolutionResponse var err error { - m, l, err = apisresolver.GetManagedResource("keyvault.azure.upbound.io", "v1beta1", "Vault", "VaultList") + m, l, err = apisresolver.GetManagedResource("keyvault.azure.upbound.io", "v1beta2", "Vault", "VaultList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } @@ -47,7 +47,7 @@ func (mg *AccessPolicy) ResolveReferences( // ResolveReferences of this AccessPo mg.Spec.ForProvider.KeyVaultID = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.KeyVaultIDRef = rsp.ResolvedReference { - m, l, err = apisresolver.GetManagedResource("keyvault.azure.upbound.io", "v1beta1", "Vault", "VaultList") + m, l, err = apisresolver.GetManagedResource("keyvault.azure.upbound.io", "v1beta2", "Vault", "VaultList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } @@ -178,7 +178,7 @@ func (mg *CertificateIssuer) ResolveReferences(ctx context.Context, c client.Rea var rsp reference.ResolutionResponse var err error { - m, l, err = apisresolver.GetManagedResource("keyvault.azure.upbound.io", "v1beta1", "Vault", "VaultList") + m, l, err = apisresolver.GetManagedResource("keyvault.azure.upbound.io", "v1beta2", "Vault", "VaultList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } @@ -197,7 +197,7 @@ func (mg *CertificateIssuer) ResolveReferences(ctx context.Context, c client.Rea mg.Spec.ForProvider.KeyVaultID = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.KeyVaultIDRef = rsp.ResolvedReference { - m, l, err = apisresolver.GetManagedResource("keyvault.azure.upbound.io", "v1beta1", "Vault", "VaultList") + m, l, err = apisresolver.GetManagedResource("keyvault.azure.upbound.io", "v1beta2", "Vault", "VaultList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } @@ -309,7 +309,7 @@ func (mg *ManagedStorageAccount) ResolveReferences(ctx context.Context, c client var rsp reference.ResolutionResponse var err error { - m, l, err = apisresolver.GetManagedResource("keyvault.azure.upbound.io", "v1beta1", "Vault", "VaultList") + m, l, err = apisresolver.GetManagedResource("keyvault.azure.upbound.io", "v1beta2", "Vault", "VaultList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } @@ -328,7 +328,7 @@ func (mg *ManagedStorageAccount) ResolveReferences(ctx context.Context, c client mg.Spec.ForProvider.KeyVaultID = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.KeyVaultIDRef = rsp.ResolvedReference { - m, l, err = apisresolver.GetManagedResource("storage.azure.upbound.io", "v1beta1", "Account", "AccountList") + m, l, err = apisresolver.GetManagedResource("storage.azure.upbound.io", "v1beta2", "Account", "AccountList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } @@ -347,7 +347,7 @@ func (mg *ManagedStorageAccount) ResolveReferences(ctx context.Context, c client mg.Spec.ForProvider.StorageAccountID = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.StorageAccountIDRef = rsp.ResolvedReference { - m, l, err = apisresolver.GetManagedResource("keyvault.azure.upbound.io", "v1beta1", "Vault", "VaultList") + m, l, err = apisresolver.GetManagedResource("keyvault.azure.upbound.io", "v1beta2", "Vault", "VaultList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } @@ -366,7 +366,7 @@ func (mg *ManagedStorageAccount) ResolveReferences(ctx context.Context, c client mg.Spec.InitProvider.KeyVaultID = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.InitProvider.KeyVaultIDRef = rsp.ResolvedReference { - m, l, err = apisresolver.GetManagedResource("storage.azure.upbound.io", "v1beta1", "Account", "AccountList") + m, l, err = apisresolver.GetManagedResource("storage.azure.upbound.io", "v1beta2", "Account", "AccountList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } @@ -428,7 +428,7 @@ func (mg *Secret) ResolveReferences(ctx context.Context, c client.Reader) error var rsp reference.ResolutionResponse var err error { - m, l, err = apisresolver.GetManagedResource("keyvault.azure.upbound.io", "v1beta1", "Vault", "VaultList") + m, l, err = apisresolver.GetManagedResource("keyvault.azure.upbound.io", "v1beta2", "Vault", "VaultList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } @@ -447,7 +447,7 @@ func (mg *Secret) ResolveReferences(ctx context.Context, c client.Reader) error mg.Spec.ForProvider.KeyVaultID = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.KeyVaultIDRef = rsp.ResolvedReference { - m, l, err = apisresolver.GetManagedResource("keyvault.azure.upbound.io", "v1beta1", "Vault", "VaultList") + m, l, err = apisresolver.GetManagedResource("keyvault.azure.upbound.io", "v1beta2", "Vault", "VaultList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } diff --git a/apis/keyvault/v1beta1/zz_managedstorageaccount_types.go b/apis/keyvault/v1beta1/zz_managedstorageaccount_types.go index 06e95376b..61b916fb4 100755 --- a/apis/keyvault/v1beta1/zz_managedstorageaccount_types.go +++ b/apis/keyvault/v1beta1/zz_managedstorageaccount_types.go @@ -16,7 +16,7 @@ import ( type ManagedStorageAccountInitParameters struct { // The ID of the Key Vault where the Managed Storage Account should be created. Changing this forces a new resource to be created. - // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/keyvault/v1beta1.Vault + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/keyvault/v1beta2.Vault // +crossplane:generate:reference:extractor=github.com/upbound/provider-azure/apis/rconfig.ExtractResourceID() KeyVaultID *string `json:"keyVaultId,omitempty" tf:"key_vault_id,omitempty"` @@ -35,7 +35,7 @@ type ManagedStorageAccountInitParameters struct { RegenerationPeriod *string `json:"regenerationPeriod,omitempty" tf:"regeneration_period,omitempty"` // The ID of the Storage Account. - // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/storage/v1beta1.Account + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/storage/v1beta2.Account // +crossplane:generate:reference:extractor=github.com/upbound/provider-azure/apis/rconfig.ExtractResourceID() StorageAccountID *string `json:"storageAccountId,omitempty" tf:"storage_account_id,omitempty"` @@ -83,7 +83,7 @@ type ManagedStorageAccountObservation struct { type ManagedStorageAccountParameters struct { // The ID of the Key Vault where the Managed Storage Account should be created. Changing this forces a new resource to be created. - // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/keyvault/v1beta1.Vault + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/keyvault/v1beta2.Vault // +crossplane:generate:reference:extractor=github.com/upbound/provider-azure/apis/rconfig.ExtractResourceID() // +kubebuilder:validation:Optional KeyVaultID *string `json:"keyVaultId,omitempty" tf:"key_vault_id,omitempty"` @@ -105,7 +105,7 @@ type ManagedStorageAccountParameters struct { RegenerationPeriod *string `json:"regenerationPeriod,omitempty" tf:"regeneration_period,omitempty"` // The ID of the Storage Account. - // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/storage/v1beta1.Account + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/storage/v1beta2.Account // +crossplane:generate:reference:extractor=github.com/upbound/provider-azure/apis/rconfig.ExtractResourceID() // +kubebuilder:validation:Optional StorageAccountID *string `json:"storageAccountId,omitempty" tf:"storage_account_id,omitempty"` diff --git a/apis/keyvault/v1beta1/zz_secret_types.go b/apis/keyvault/v1beta1/zz_secret_types.go index bf59b19ab..2b142ac01 100755 --- a/apis/keyvault/v1beta1/zz_secret_types.go +++ b/apis/keyvault/v1beta1/zz_secret_types.go @@ -22,7 +22,7 @@ type SecretInitParameters struct { ExpirationDate *string `json:"expirationDate,omitempty" tf:"expiration_date,omitempty"` // The ID of the Key Vault where the Secret should be created. Changing this forces a new resource to be created. - // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/keyvault/v1beta1.Vault + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/keyvault/v1beta2.Vault // +crossplane:generate:reference:extractor=github.com/upbound/provider-azure/apis/rconfig.ExtractResourceID() KeyVaultID *string `json:"keyVaultId,omitempty" tf:"key_vault_id,omitempty"` @@ -93,7 +93,7 @@ type SecretParameters struct { ExpirationDate *string `json:"expirationDate,omitempty" tf:"expiration_date,omitempty"` // The ID of the Key Vault where the Secret should be created. Changing this forces a new resource to be created. - // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/keyvault/v1beta1.Vault + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/keyvault/v1beta2.Vault // +crossplane:generate:reference:extractor=github.com/upbound/provider-azure/apis/rconfig.ExtractResourceID() // +kubebuilder:validation:Optional KeyVaultID *string `json:"keyVaultId,omitempty" tf:"key_vault_id,omitempty"` diff --git a/apis/keyvault/v1beta2/zz_certificate_types.go b/apis/keyvault/v1beta2/zz_certificate_types.go index 7adeec62c..4a77970d8 100755 --- a/apis/keyvault/v1beta2/zz_certificate_types.go +++ b/apis/keyvault/v1beta2/zz_certificate_types.go @@ -85,15 +85,15 @@ type CertificateInitParameters struct { CertificatePolicy *CertificatePolicyInitParameters `json:"certificatePolicy,omitempty" tf:"certificate_policy,omitempty"` // The ID of the Key Vault where the Certificate should be created. Changing this forces a new resource to be created. - // +crossplane:generate:reference:type=Vault + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/keyvault/v1beta2.Vault // +crossplane:generate:reference:extractor=github.com/upbound/provider-azure/apis/rconfig.ExtractResourceID() KeyVaultID *string `json:"keyVaultId,omitempty" tf:"key_vault_id,omitempty"` - // Reference to a Vault to populate keyVaultId. + // Reference to a Vault in keyvault to populate keyVaultId. // +kubebuilder:validation:Optional KeyVaultIDRef *v1.Reference `json:"keyVaultIdRef,omitempty" tf:"-"` - // Selector for a Vault to populate keyVaultId. + // Selector for a Vault in keyvault to populate keyVaultId. // +kubebuilder:validation:Optional KeyVaultIDSelector *v1.Selector `json:"keyVaultIdSelector,omitempty" tf:"-"` @@ -168,16 +168,16 @@ type CertificateParameters struct { CertificatePolicy *CertificatePolicyParameters `json:"certificatePolicy,omitempty" tf:"certificate_policy,omitempty"` // The ID of the Key Vault where the Certificate should be created. Changing this forces a new resource to be created. - // +crossplane:generate:reference:type=Vault + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/keyvault/v1beta2.Vault // +crossplane:generate:reference:extractor=github.com/upbound/provider-azure/apis/rconfig.ExtractResourceID() // +kubebuilder:validation:Optional KeyVaultID *string `json:"keyVaultId,omitempty" tf:"key_vault_id,omitempty"` - // Reference to a Vault to populate keyVaultId. + // Reference to a Vault in keyvault to populate keyVaultId. // +kubebuilder:validation:Optional KeyVaultIDRef *v1.Reference `json:"keyVaultIdRef,omitempty" tf:"-"` - // Selector for a Vault to populate keyVaultId. + // Selector for a Vault in keyvault to populate keyVaultId. // +kubebuilder:validation:Optional KeyVaultIDSelector *v1.Selector `json:"keyVaultIdSelector,omitempty" tf:"-"` diff --git a/apis/keyvault/v1beta2/zz_key_types.go b/apis/keyvault/v1beta2/zz_key_types.go index 4e112db91..a3ed3e26b 100755 --- a/apis/keyvault/v1beta2/zz_key_types.go +++ b/apis/keyvault/v1beta2/zz_key_types.go @@ -60,15 +60,15 @@ type KeyInitParameters struct { KeyType *string `json:"keyType,omitempty" tf:"key_type,omitempty"` // The ID of the Key Vault where the Key should be created. Changing this forces a new resource to be created. - // +crossplane:generate:reference:type=Vault + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/keyvault/v1beta2.Vault // +crossplane:generate:reference:extractor=github.com/upbound/provider-azure/apis/rconfig.ExtractResourceID() KeyVaultID *string `json:"keyVaultId,omitempty" tf:"key_vault_id,omitempty"` - // Reference to a Vault to populate keyVaultId. + // Reference to a Vault in keyvault to populate keyVaultId. // +kubebuilder:validation:Optional KeyVaultIDRef *v1.Reference `json:"keyVaultIdRef,omitempty" tf:"-"` - // Selector for a Vault to populate keyVaultId. + // Selector for a Vault in keyvault to populate keyVaultId. // +kubebuilder:validation:Optional KeyVaultIDSelector *v1.Selector `json:"keyVaultIdSelector,omitempty" tf:"-"` @@ -176,16 +176,16 @@ type KeyParameters struct { KeyType *string `json:"keyType,omitempty" tf:"key_type,omitempty"` // The ID of the Key Vault where the Key should be created. Changing this forces a new resource to be created. - // +crossplane:generate:reference:type=Vault + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/keyvault/v1beta2.Vault // +crossplane:generate:reference:extractor=github.com/upbound/provider-azure/apis/rconfig.ExtractResourceID() // +kubebuilder:validation:Optional KeyVaultID *string `json:"keyVaultId,omitempty" tf:"key_vault_id,omitempty"` - // Reference to a Vault to populate keyVaultId. + // Reference to a Vault in keyvault to populate keyVaultId. // +kubebuilder:validation:Optional KeyVaultIDRef *v1.Reference `json:"keyVaultIdRef,omitempty" tf:"-"` - // Selector for a Vault to populate keyVaultId. + // Selector for a Vault in keyvault to populate keyVaultId. // +kubebuilder:validation:Optional KeyVaultIDSelector *v1.Selector `json:"keyVaultIdSelector,omitempty" tf:"-"` diff --git a/apis/kusto/v1beta1/zz_database_types.go b/apis/kusto/v1beta1/zz_database_types.go index 64bd005a8..05f533c12 100755 --- a/apis/kusto/v1beta1/zz_database_types.go +++ b/apis/kusto/v1beta1/zz_database_types.go @@ -52,7 +52,7 @@ type DatabaseObservation struct { type DatabaseParameters struct { // Specifies the name of the Kusto Cluster this database will be added to. Changing this forces a new resource to be created. - // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/kusto/v1beta1.Cluster + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/kusto/v1beta2.Cluster // +kubebuilder:validation:Optional ClusterName *string `json:"clusterName,omitempty" tf:"cluster_name,omitempty"` diff --git a/apis/kusto/v1beta1/zz_generated.resolvers.go b/apis/kusto/v1beta1/zz_generated.resolvers.go index 58812a18d..8a338df49 100644 --- a/apis/kusto/v1beta1/zz_generated.resolvers.go +++ b/apis/kusto/v1beta1/zz_generated.resolvers.go @@ -442,7 +442,7 @@ func (mg *Database) ResolveReferences(ctx context.Context, c client.Reader) erro var rsp reference.ResolutionResponse var err error { - m, l, err = apisresolver.GetManagedResource("kusto.azure.upbound.io", "v1beta1", "Cluster", "ClusterList") + m, l, err = apisresolver.GetManagedResource("kusto.azure.upbound.io", "v1beta2", "Cluster", "ClusterList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } diff --git a/apis/kusto/v1beta2/zz_cluster_types.go b/apis/kusto/v1beta2/zz_cluster_types.go index 12e90dbaa..12e312cd6 100755 --- a/apis/kusto/v1beta2/zz_cluster_types.go +++ b/apis/kusto/v1beta2/zz_cluster_types.go @@ -358,7 +358,7 @@ type VirtualNetworkConfigurationInitParameters struct { EnginePublicIPID *string `json:"enginePublicIpId,omitempty" tf:"engine_public_ip_id,omitempty"` // The subnet resource id. - // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta1.Subnet + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta2.Subnet // +crossplane:generate:reference:extractor=github.com/upbound/provider-azure/apis/rconfig.ExtractResourceID() SubnetID *string `json:"subnetId,omitempty" tf:"subnet_id,omitempty"` @@ -394,7 +394,7 @@ type VirtualNetworkConfigurationParameters struct { EnginePublicIPID *string `json:"enginePublicIpId" tf:"engine_public_ip_id,omitempty"` // The subnet resource id. - // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta1.Subnet + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta2.Subnet // +crossplane:generate:reference:extractor=github.com/upbound/provider-azure/apis/rconfig.ExtractResourceID() // +kubebuilder:validation:Optional SubnetID *string `json:"subnetId,omitempty" tf:"subnet_id,omitempty"` diff --git a/apis/kusto/v1beta2/zz_generated.resolvers.go b/apis/kusto/v1beta2/zz_generated.resolvers.go index b00f84a51..b18cee939 100644 --- a/apis/kusto/v1beta2/zz_generated.resolvers.go +++ b/apis/kusto/v1beta2/zz_generated.resolvers.go @@ -212,7 +212,7 @@ func (mg *Cluster) ResolveReferences(ctx context.Context, c client.Reader) error if mg.Spec.ForProvider.VirtualNetworkConfiguration != nil { { - m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta1", "Subnet", "SubnetList") + m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta2", "Subnet", "SubnetList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } @@ -233,7 +233,7 @@ func (mg *Cluster) ResolveReferences(ctx context.Context, c client.Reader) error } if mg.Spec.InitProvider.VirtualNetworkConfiguration != nil { { - m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta1", "Subnet", "SubnetList") + m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta2", "Subnet", "SubnetList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } diff --git a/apis/labservices/v1beta2/zz_generated.resolvers.go b/apis/labservices/v1beta2/zz_generated.resolvers.go index 98d061eeb..c31217a72 100644 --- a/apis/labservices/v1beta2/zz_generated.resolvers.go +++ b/apis/labservices/v1beta2/zz_generated.resolvers.go @@ -28,7 +28,7 @@ func (mg *LabServiceLab) ResolveReferences( // ResolveReferences of this LabServ if mg.Spec.ForProvider.Network != nil { { - m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta1", "Subnet", "SubnetList") + m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta2", "Subnet", "SubnetList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } @@ -68,7 +68,7 @@ func (mg *LabServiceLab) ResolveReferences( // ResolveReferences of this LabServ if mg.Spec.InitProvider.Network != nil { { - m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta1", "Subnet", "SubnetList") + m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta2", "Subnet", "SubnetList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } @@ -100,7 +100,7 @@ func (mg *LabServicePlan) ResolveReferences(ctx context.Context, c client.Reader var rsp reference.ResolutionResponse var err error { - m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta1", "Subnet", "SubnetList") + m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta2", "Subnet", "SubnetList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } @@ -138,7 +138,7 @@ func (mg *LabServicePlan) ResolveReferences(ctx context.Context, c client.Reader mg.Spec.ForProvider.ResourceGroupName = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.ResourceGroupNameRef = rsp.ResolvedReference { - m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta1", "Subnet", "SubnetList") + m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta2", "Subnet", "SubnetList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } diff --git a/apis/labservices/v1beta2/zz_labservicelab_types.go b/apis/labservices/v1beta2/zz_labservicelab_types.go index 83145eb51..2889c8064 100755 --- a/apis/labservices/v1beta2/zz_labservicelab_types.go +++ b/apis/labservices/v1beta2/zz_labservicelab_types.go @@ -317,7 +317,7 @@ type LabServiceLabParameters struct { type NetworkInitParameters struct { // The resource ID of the Subnet for the network profile of the Lab Service Lab. - // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta1.Subnet + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta2.Subnet // +crossplane:generate:reference:extractor=github.com/upbound/provider-azure/apis/rconfig.ExtractResourceID() SubnetID *string `json:"subnetId,omitempty" tf:"subnet_id,omitempty"` @@ -345,7 +345,7 @@ type NetworkObservation struct { type NetworkParameters struct { // The resource ID of the Subnet for the network profile of the Lab Service Lab. - // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta1.Subnet + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta2.Subnet // +crossplane:generate:reference:extractor=github.com/upbound/provider-azure/apis/rconfig.ExtractResourceID() // +kubebuilder:validation:Optional SubnetID *string `json:"subnetId,omitempty" tf:"subnet_id,omitempty"` diff --git a/apis/labservices/v1beta2/zz_labserviceplan_types.go b/apis/labservices/v1beta2/zz_labserviceplan_types.go index 22e3d1bbb..6f76a665a 100755 --- a/apis/labservices/v1beta2/zz_labserviceplan_types.go +++ b/apis/labservices/v1beta2/zz_labserviceplan_types.go @@ -123,7 +123,7 @@ type LabServicePlanInitParameters struct { DefaultConnection *DefaultConnectionInitParameters `json:"defaultConnection,omitempty" tf:"default_connection,omitempty"` // The resource ID of the Subnet for the Lab Service Plan network profile. - // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta1.Subnet + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta2.Subnet // +crossplane:generate:reference:extractor=github.com/upbound/provider-azure/apis/rconfig.ExtractResourceID() DefaultNetworkSubnetID *string `json:"defaultNetworkSubnetId,omitempty" tf:"default_network_subnet_id,omitempty"` @@ -198,7 +198,7 @@ type LabServicePlanParameters struct { DefaultConnection *DefaultConnectionParameters `json:"defaultConnection,omitempty" tf:"default_connection,omitempty"` // The resource ID of the Subnet for the Lab Service Plan network profile. - // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta1.Subnet + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta2.Subnet // +crossplane:generate:reference:extractor=github.com/upbound/provider-azure/apis/rconfig.ExtractResourceID() // +kubebuilder:validation:Optional DefaultNetworkSubnetID *string `json:"defaultNetworkSubnetId,omitempty" tf:"default_network_subnet_id,omitempty"` diff --git a/apis/logic/v1beta1/zz_generated.resolvers.go b/apis/logic/v1beta1/zz_generated.resolvers.go index fbffe156b..a9974509d 100644 --- a/apis/logic/v1beta1/zz_generated.resolvers.go +++ b/apis/logic/v1beta1/zz_generated.resolvers.go @@ -520,7 +520,7 @@ func (mg *IntegrationServiceEnvironment) ResolveReferences(ctx context.Context, mg.Spec.ForProvider.ResourceGroupName = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.ResourceGroupNameRef = rsp.ResolvedReference { - m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta1", "Subnet", "SubnetList") + m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta2", "Subnet", "SubnetList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } @@ -539,7 +539,7 @@ func (mg *IntegrationServiceEnvironment) ResolveReferences(ctx context.Context, mg.Spec.ForProvider.VirtualNetworkSubnetIds = reference.ToPtrValues(mrsp.ResolvedValues) mg.Spec.ForProvider.VirtualNetworkSubnetIdsRefs = mrsp.ResolvedReferences { - m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta1", "Subnet", "SubnetList") + m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta2", "Subnet", "SubnetList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } diff --git a/apis/logic/v1beta1/zz_integrationserviceenvironment_types.go b/apis/logic/v1beta1/zz_integrationserviceenvironment_types.go index 2fbf6ccbb..fcfb706e7 100755 --- a/apis/logic/v1beta1/zz_integrationserviceenvironment_types.go +++ b/apis/logic/v1beta1/zz_integrationserviceenvironment_types.go @@ -29,7 +29,7 @@ type IntegrationServiceEnvironmentInitParameters struct { Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` // A list of virtual network subnet ids to be used by Integration Service Environment. Exactly four distinct ids to /27 subnets must be provided. Changing this forces a new Integration Service Environment to be created. - // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta1.Subnet + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta2.Subnet // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("id",true) // +listType=set VirtualNetworkSubnetIds []*string `json:"virtualNetworkSubnetIds,omitempty" tf:"virtual_network_subnet_ids,omitempty"` @@ -114,7 +114,7 @@ type IntegrationServiceEnvironmentParameters struct { Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` // A list of virtual network subnet ids to be used by Integration Service Environment. Exactly four distinct ids to /27 subnets must be provided. Changing this forces a new Integration Service Environment to be created. - // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta1.Subnet + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta2.Subnet // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("id",true) // +kubebuilder:validation:Optional // +listType=set diff --git a/apis/media/v1beta1/zz_asset_types.go b/apis/media/v1beta1/zz_asset_types.go index 44526ca9e..64982ed03 100755 --- a/apis/media/v1beta1/zz_asset_types.go +++ b/apis/media/v1beta1/zz_asset_types.go @@ -67,7 +67,7 @@ type AssetParameters struct { Description *string `json:"description,omitempty" tf:"description,omitempty"` // Specifies the name of the Media Services Account. Changing this forces a new Media Asset to be created. - // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/media/v1beta1.ServicesAccount + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/media/v1beta2.ServicesAccount // +kubebuilder:validation:Optional MediaServicesAccountName *string `json:"mediaServicesAccountName,omitempty" tf:"media_services_account_name,omitempty"` diff --git a/apis/media/v1beta1/zz_generated.resolvers.go b/apis/media/v1beta1/zz_generated.resolvers.go index 4ddae4382..038a4b972 100644 --- a/apis/media/v1beta1/zz_generated.resolvers.go +++ b/apis/media/v1beta1/zz_generated.resolvers.go @@ -29,7 +29,7 @@ func (mg *Asset) ResolveReferences(ctx context.Context, c client.Reader) error { var rsp reference.ResolutionResponse var err error { - m, l, err = apisresolver.GetManagedResource("media.azure.upbound.io", "v1beta1", "ServicesAccount", "ServicesAccountList") + m, l, err = apisresolver.GetManagedResource("media.azure.upbound.io", "v1beta2", "ServicesAccount", "ServicesAccountList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } @@ -383,7 +383,7 @@ func (mg *LiveEventOutput) ResolveReferences(ctx context.Context, c client.Reade mg.Spec.ForProvider.AssetName = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.AssetNameRef = rsp.ResolvedReference { - m, l, err = apisresolver.GetManagedResource("media.azure.upbound.io", "v1beta1", "LiveEvent", "LiveEventList") + m, l, err = apisresolver.GetManagedResource("media.azure.upbound.io", "v1beta2", "LiveEvent", "LiveEventList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } @@ -626,7 +626,7 @@ func (mg *StreamingLocator) ResolveReferences(ctx context.Context, c client.Read mg.Spec.ForProvider.AssetName = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.AssetNameRef = rsp.ResolvedReference { - m, l, err = apisresolver.GetManagedResource("media.azure.upbound.io", "v1beta1", "ServicesAccount", "ServicesAccountList") + m, l, err = apisresolver.GetManagedResource("media.azure.upbound.io", "v1beta2", "ServicesAccount", "ServicesAccountList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } diff --git a/apis/media/v1beta1/zz_liveeventoutput_types.go b/apis/media/v1beta1/zz_liveeventoutput_types.go index 72c9ff956..7396b551c 100755 --- a/apis/media/v1beta1/zz_liveeventoutput_types.go +++ b/apis/media/v1beta1/zz_liveeventoutput_types.go @@ -104,7 +104,7 @@ type LiveEventOutputParameters struct { HlsFragmentsPerTSSegment *float64 `json:"hlsFragmentsPerTsSegment,omitempty" tf:"hls_fragments_per_ts_segment,omitempty"` // The id of the live event. Changing this forces a new Live Output to be created. - // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/media/v1beta1.LiveEvent + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/media/v1beta2.LiveEvent // +crossplane:generate:reference:extractor=github.com/upbound/provider-azure/apis/rconfig.ExtractResourceID() // +kubebuilder:validation:Optional LiveEventID *string `json:"liveEventId,omitempty" tf:"live_event_id,omitempty"` diff --git a/apis/media/v1beta1/zz_streaminglocator_types.go b/apis/media/v1beta1/zz_streaminglocator_types.go index 803d62667..e4a3d6923 100755 --- a/apis/media/v1beta1/zz_streaminglocator_types.go +++ b/apis/media/v1beta1/zz_streaminglocator_types.go @@ -186,7 +186,7 @@ type StreamingLocatorParameters struct { FilterNames []*string `json:"filterNames,omitempty" tf:"filter_names,omitempty"` // The Media Services account name. Changing this forces a new Streaming Locator to be created. - // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/media/v1beta1.ServicesAccount + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/media/v1beta2.ServicesAccount // +kubebuilder:validation:Optional MediaServicesAccountName *string `json:"mediaServicesAccountName,omitempty" tf:"media_services_account_name,omitempty"` diff --git a/apis/media/v1beta2/zz_generated.resolvers.go b/apis/media/v1beta2/zz_generated.resolvers.go index 742a49e2c..174bddd52 100644 --- a/apis/media/v1beta2/zz_generated.resolvers.go +++ b/apis/media/v1beta2/zz_generated.resolvers.go @@ -334,7 +334,7 @@ func (mg *ServicesAccount) ResolveReferences(ctx context.Context, c client.Reade for i3 := 0; i3 < len(mg.Spec.ForProvider.StorageAccount); i3++ { { - m, l, err = apisresolver.GetManagedResource("storage.azure.upbound.io", "v1beta1", "Account", "AccountList") + m, l, err = apisresolver.GetManagedResource("storage.azure.upbound.io", "v1beta2", "Account", "AccountList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } @@ -355,7 +355,7 @@ func (mg *ServicesAccount) ResolveReferences(ctx context.Context, c client.Reade } for i3 := 0; i3 < len(mg.Spec.InitProvider.StorageAccount); i3++ { { - m, l, err = apisresolver.GetManagedResource("storage.azure.upbound.io", "v1beta1", "Account", "AccountList") + m, l, err = apisresolver.GetManagedResource("storage.azure.upbound.io", "v1beta2", "Account", "AccountList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } diff --git a/apis/media/v1beta2/zz_liveevent_types.go b/apis/media/v1beta2/zz_liveevent_types.go index 217312c6a..1c84fdfb0 100755 --- a/apis/media/v1beta2/zz_liveevent_types.go +++ b/apis/media/v1beta2/zz_liveevent_types.go @@ -313,15 +313,15 @@ type LiveEventParameters struct { Location *string `json:"location,omitempty" tf:"location,omitempty"` // The Media Services account name. Changing this forces a new Live Event to be created. - // +crossplane:generate:reference:type=ServicesAccount + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/media/v1beta2.ServicesAccount // +kubebuilder:validation:Optional MediaServicesAccountName *string `json:"mediaServicesAccountName,omitempty" tf:"media_services_account_name,omitempty"` - // Reference to a ServicesAccount to populate mediaServicesAccountName. + // Reference to a ServicesAccount in media to populate mediaServicesAccountName. // +kubebuilder:validation:Optional MediaServicesAccountNameRef *v1.Reference `json:"mediaServicesAccountNameRef,omitempty" tf:"-"` - // Selector for a ServicesAccount to populate mediaServicesAccountName. + // Selector for a ServicesAccount in media to populate mediaServicesAccountName. // +kubebuilder:validation:Optional MediaServicesAccountNameSelector *v1.Selector `json:"mediaServicesAccountNameSelector,omitempty" tf:"-"` diff --git a/apis/media/v1beta2/zz_servicesaccount_types.go b/apis/media/v1beta2/zz_servicesaccount_types.go index 1326d4bef..169682e4a 100755 --- a/apis/media/v1beta2/zz_servicesaccount_types.go +++ b/apis/media/v1beta2/zz_servicesaccount_types.go @@ -268,7 +268,7 @@ type ServicesAccountParameters struct { type StorageAccountInitParameters struct { // Specifies the ID of the Storage Account that will be associated with the Media Services instance. - // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/storage/v1beta1.Account + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/storage/v1beta2.Account // +crossplane:generate:reference:extractor=github.com/upbound/provider-azure/apis/rconfig.ExtractResourceID() ID *string `json:"id,omitempty" tf:"id,omitempty"` @@ -331,7 +331,7 @@ type StorageAccountObservation struct { type StorageAccountParameters struct { // Specifies the ID of the Storage Account that will be associated with the Media Services instance. - // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/storage/v1beta1.Account + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/storage/v1beta2.Account // +crossplane:generate:reference:extractor=github.com/upbound/provider-azure/apis/rconfig.ExtractResourceID() // +kubebuilder:validation:Optional ID *string `json:"id,omitempty" tf:"id,omitempty"` diff --git a/apis/media/v1beta2/zz_servicesaccountfilter_types.go b/apis/media/v1beta2/zz_servicesaccountfilter_types.go index 37e8e6f4f..4a9cd5533 100755 --- a/apis/media/v1beta2/zz_servicesaccountfilter_types.go +++ b/apis/media/v1beta2/zz_servicesaccountfilter_types.go @@ -53,15 +53,15 @@ type ServicesAccountFilterParameters struct { FirstQualityBitrate *float64 `json:"firstQualityBitrate,omitempty" tf:"first_quality_bitrate,omitempty"` // The Media Services account name. Changing this forces a new Account Filter to be created. - // +crossplane:generate:reference:type=ServicesAccount + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/media/v1beta2.ServicesAccount // +kubebuilder:validation:Optional MediaServicesAccountName *string `json:"mediaServicesAccountName,omitempty" tf:"media_services_account_name,omitempty"` - // Reference to a ServicesAccount to populate mediaServicesAccountName. + // Reference to a ServicesAccount in media to populate mediaServicesAccountName. // +kubebuilder:validation:Optional MediaServicesAccountNameRef *v1.Reference `json:"mediaServicesAccountNameRef,omitempty" tf:"-"` - // Selector for a ServicesAccount to populate mediaServicesAccountName. + // Selector for a ServicesAccount in media to populate mediaServicesAccountName. // +kubebuilder:validation:Optional MediaServicesAccountNameSelector *v1.Selector `json:"mediaServicesAccountNameSelector,omitempty" tf:"-"` diff --git a/apis/media/v1beta2/zz_streamingendpoint_types.go b/apis/media/v1beta2/zz_streamingendpoint_types.go index 00e7a54d4..919c2e698 100755 --- a/apis/media/v1beta2/zz_streamingendpoint_types.go +++ b/apis/media/v1beta2/zz_streamingendpoint_types.go @@ -305,15 +305,15 @@ type StreamingEndpointParameters struct { MaxCacheAgeSeconds *float64 `json:"maxCacheAgeSeconds,omitempty" tf:"max_cache_age_seconds,omitempty"` // The Media Services account name. Changing this forces a new Streaming Endpoint to be created. - // +crossplane:generate:reference:type=ServicesAccount + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/media/v1beta2.ServicesAccount // +kubebuilder:validation:Optional MediaServicesAccountName *string `json:"mediaServicesAccountName,omitempty" tf:"media_services_account_name,omitempty"` - // Reference to a ServicesAccount to populate mediaServicesAccountName. + // Reference to a ServicesAccount in media to populate mediaServicesAccountName. // +kubebuilder:validation:Optional MediaServicesAccountNameRef *v1.Reference `json:"mediaServicesAccountNameRef,omitempty" tf:"-"` - // Selector for a ServicesAccount to populate mediaServicesAccountName. + // Selector for a ServicesAccount in media to populate mediaServicesAccountName. // +kubebuilder:validation:Optional MediaServicesAccountNameSelector *v1.Selector `json:"mediaServicesAccountNameSelector,omitempty" tf:"-"` diff --git a/apis/media/v1beta2/zz_streamingpolicy_types.go b/apis/media/v1beta2/zz_streamingpolicy_types.go index abddbab7b..da07affe8 100755 --- a/apis/media/v1beta2/zz_streamingpolicy_types.go +++ b/apis/media/v1beta2/zz_streamingpolicy_types.go @@ -738,15 +738,15 @@ type StreamingPolicyParameters struct { EnvelopeEncryption *EnvelopeEncryptionParameters `json:"envelopeEncryption,omitempty" tf:"envelope_encryption,omitempty"` // The Media Services account name. Changing this forces a new Streaming Policy to be created. - // +crossplane:generate:reference:type=ServicesAccount + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/media/v1beta2.ServicesAccount // +kubebuilder:validation:Optional MediaServicesAccountName *string `json:"mediaServicesAccountName,omitempty" tf:"media_services_account_name,omitempty"` - // Reference to a ServicesAccount to populate mediaServicesAccountName. + // Reference to a ServicesAccount in media to populate mediaServicesAccountName. // +kubebuilder:validation:Optional MediaServicesAccountNameRef *v1.Reference `json:"mediaServicesAccountNameRef,omitempty" tf:"-"` - // Selector for a ServicesAccount to populate mediaServicesAccountName. + // Selector for a ServicesAccount in media to populate mediaServicesAccountName. // +kubebuilder:validation:Optional MediaServicesAccountNameSelector *v1.Selector `json:"mediaServicesAccountNameSelector,omitempty" tf:"-"` diff --git a/apis/media/v1beta2/zz_transform_types.go b/apis/media/v1beta2/zz_transform_types.go index 48ccbe94f..36cc4baee 100755 --- a/apis/media/v1beta2/zz_transform_types.go +++ b/apis/media/v1beta2/zz_transform_types.go @@ -1884,15 +1884,15 @@ type TransformParameters struct { Description *string `json:"description,omitempty" tf:"description,omitempty"` // The Media Services account name. Changing this forces a new Transform to be created. - // +crossplane:generate:reference:type=ServicesAccount + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/media/v1beta2.ServicesAccount // +kubebuilder:validation:Optional MediaServicesAccountName *string `json:"mediaServicesAccountName,omitempty" tf:"media_services_account_name,omitempty"` - // Reference to a ServicesAccount to populate mediaServicesAccountName. + // Reference to a ServicesAccount in media to populate mediaServicesAccountName. // +kubebuilder:validation:Optional MediaServicesAccountNameRef *v1.Reference `json:"mediaServicesAccountNameRef,omitempty" tf:"-"` - // Selector for a ServicesAccount to populate mediaServicesAccountName. + // Selector for a ServicesAccount in media to populate mediaServicesAccountName. // +kubebuilder:validation:Optional MediaServicesAccountNameSelector *v1.Selector `json:"mediaServicesAccountNameSelector,omitempty" tf:"-"` diff --git a/apis/netapp/v1beta1/zz_generated.resolvers.go b/apis/netapp/v1beta1/zz_generated.resolvers.go index f3e0a44c2..20ae5b648 100644 --- a/apis/netapp/v1beta1/zz_generated.resolvers.go +++ b/apis/netapp/v1beta1/zz_generated.resolvers.go @@ -59,7 +59,7 @@ func (mg *Pool) ResolveReferences(ctx context.Context, c client.Reader) error { var rsp reference.ResolutionResponse var err error { - m, l, err = apisresolver.GetManagedResource("netapp.azure.upbound.io", "v1beta1", "Account", "AccountList") + m, l, err = apisresolver.GetManagedResource("netapp.azure.upbound.io", "v1beta2", "Account", "AccountList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } @@ -109,7 +109,7 @@ func (mg *Snapshot) ResolveReferences(ctx context.Context, c client.Reader) erro var rsp reference.ResolutionResponse var err error { - m, l, err = apisresolver.GetManagedResource("netapp.azure.upbound.io", "v1beta1", "Account", "AccountList") + m, l, err = apisresolver.GetManagedResource("netapp.azure.upbound.io", "v1beta2", "Account", "AccountList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } @@ -166,7 +166,7 @@ func (mg *Snapshot) ResolveReferences(ctx context.Context, c client.Reader) erro mg.Spec.ForProvider.ResourceGroupName = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.ResourceGroupNameRef = rsp.ResolvedReference { - m, l, err = apisresolver.GetManagedResource("netapp.azure.upbound.io", "v1beta1", "Volume", "VolumeList") + m, l, err = apisresolver.GetManagedResource("netapp.azure.upbound.io", "v1beta2", "Volume", "VolumeList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } diff --git a/apis/netapp/v1beta1/zz_pool_types.go b/apis/netapp/v1beta1/zz_pool_types.go index cf268d9fb..6f26b3fd3 100755 --- a/apis/netapp/v1beta1/zz_pool_types.go +++ b/apis/netapp/v1beta1/zz_pool_types.go @@ -69,7 +69,7 @@ type PoolObservation struct { type PoolParameters struct { // The name of the NetApp account in which the NetApp Pool should be created. Changing this forces a new resource to be created. - // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/netapp/v1beta1.Account + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/netapp/v1beta2.Account // +kubebuilder:validation:Optional AccountName *string `json:"accountName,omitempty" tf:"account_name,omitempty"` diff --git a/apis/netapp/v1beta1/zz_snapshot_types.go b/apis/netapp/v1beta1/zz_snapshot_types.go index 0f6bd024e..3440b65fb 100755 --- a/apis/netapp/v1beta1/zz_snapshot_types.go +++ b/apis/netapp/v1beta1/zz_snapshot_types.go @@ -43,7 +43,7 @@ type SnapshotObservation struct { type SnapshotParameters struct { // The name of the NetApp account in which the NetApp Pool should be created. Changing this forces a new resource to be created. - // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/netapp/v1beta1.Account + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/netapp/v1beta2.Account // +kubebuilder:validation:Optional AccountName *string `json:"accountName,omitempty" tf:"account_name,omitempty"` @@ -86,7 +86,7 @@ type SnapshotParameters struct { ResourceGroupNameSelector *v1.Selector `json:"resourceGroupNameSelector,omitempty" tf:"-"` // The name of the NetApp volume in which the NetApp Snapshot should be created. Changing this forces a new resource to be created. - // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/netapp/v1beta1.Volume + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/netapp/v1beta2.Volume // +kubebuilder:validation:Optional VolumeName *string `json:"volumeName,omitempty" tf:"volume_name,omitempty"` diff --git a/apis/netapp/v1beta2/zz_generated.resolvers.go b/apis/netapp/v1beta2/zz_generated.resolvers.go index 93cc008da..b135b5f64 100644 --- a/apis/netapp/v1beta2/zz_generated.resolvers.go +++ b/apis/netapp/v1beta2/zz_generated.resolvers.go @@ -128,7 +128,7 @@ func (mg *Volume) ResolveReferences(ctx context.Context, c client.Reader) error mg.Spec.ForProvider.AccountName = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.AccountNameRef = rsp.ResolvedReference { - m, l, err = apisresolver.GetManagedResource("netapp.azure.upbound.io", "v1beta2", "Snapshot", "SnapshotList") + m, l, err = apisresolver.GetManagedResource("netapp.azure.upbound.io", "v1beta1", "Snapshot", "SnapshotList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } @@ -190,7 +190,7 @@ func (mg *Volume) ResolveReferences(ctx context.Context, c client.Reader) error } { - m, l, err = apisresolver.GetManagedResource("netapp.azure.upbound.io", "v1beta2", "Pool", "PoolList") + m, l, err = apisresolver.GetManagedResource("netapp.azure.upbound.io", "v1beta1", "Pool", "PoolList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } @@ -246,7 +246,7 @@ func (mg *Volume) ResolveReferences(ctx context.Context, c client.Reader) error mg.Spec.ForProvider.SubnetID = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.SubnetIDRef = rsp.ResolvedReference { - m, l, err = apisresolver.GetManagedResource("netapp.azure.upbound.io", "v1beta2", "Snapshot", "SnapshotList") + m, l, err = apisresolver.GetManagedResource("netapp.azure.upbound.io", "v1beta1", "Snapshot", "SnapshotList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } diff --git a/apis/netapp/v1beta2/zz_snapshotpolicy_types.go b/apis/netapp/v1beta2/zz_snapshotpolicy_types.go index dcf4c9a7d..f7c50893c 100755 --- a/apis/netapp/v1beta2/zz_snapshotpolicy_types.go +++ b/apis/netapp/v1beta2/zz_snapshotpolicy_types.go @@ -195,15 +195,15 @@ type SnapshotPolicyObservation struct { type SnapshotPolicyParameters struct { // The name of the NetApp Account in which the NetApp Snapshot Policy should be created. Changing this forces a new resource to be created. - // +crossplane:generate:reference:type=Account + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/netapp/v1beta2.Account // +kubebuilder:validation:Optional AccountName *string `json:"accountName,omitempty" tf:"account_name,omitempty"` - // Reference to a Account to populate accountName. + // Reference to a Account in netapp to populate accountName. // +kubebuilder:validation:Optional AccountNameRef *v1.Reference `json:"accountNameRef,omitempty" tf:"-"` - // Selector for a Account to populate accountName. + // Selector for a Account in netapp to populate accountName. // +kubebuilder:validation:Optional AccountNameSelector *v1.Selector `json:"accountNameSelector,omitempty" tf:"-"` diff --git a/apis/netapp/v1beta2/zz_volume_types.go b/apis/netapp/v1beta2/zz_volume_types.go index 0073a9578..a6b125d0c 100755 --- a/apis/netapp/v1beta2/zz_volume_types.go +++ b/apis/netapp/v1beta2/zz_volume_types.go @@ -22,15 +22,15 @@ type DataProtectionReplicationInitParameters struct { RemoteVolumeLocation *string `json:"remoteVolumeLocation,omitempty" tf:"remote_volume_location,omitempty"` // Resource ID of the primary volume. - // +crossplane:generate:reference:type=Volume + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/netapp/v1beta2.Volume // +crossplane:generate:reference:extractor=github.com/upbound/provider-azure/apis/rconfig.ExtractResourceID() RemoteVolumeResourceID *string `json:"remoteVolumeResourceId,omitempty" tf:"remote_volume_resource_id,omitempty"` - // Reference to a Volume to populate remoteVolumeResourceId. + // Reference to a Volume in netapp to populate remoteVolumeResourceId. // +kubebuilder:validation:Optional RemoteVolumeResourceIDRef *v1.Reference `json:"remoteVolumeResourceIdRef,omitempty" tf:"-"` - // Selector for a Volume to populate remoteVolumeResourceId. + // Selector for a Volume in netapp to populate remoteVolumeResourceId. // +kubebuilder:validation:Optional RemoteVolumeResourceIDSelector *v1.Selector `json:"remoteVolumeResourceIdSelector,omitempty" tf:"-"` @@ -64,16 +64,16 @@ type DataProtectionReplicationParameters struct { RemoteVolumeLocation *string `json:"remoteVolumeLocation" tf:"remote_volume_location,omitempty"` // Resource ID of the primary volume. - // +crossplane:generate:reference:type=Volume + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/netapp/v1beta2.Volume // +crossplane:generate:reference:extractor=github.com/upbound/provider-azure/apis/rconfig.ExtractResourceID() // +kubebuilder:validation:Optional RemoteVolumeResourceID *string `json:"remoteVolumeResourceId,omitempty" tf:"remote_volume_resource_id,omitempty"` - // Reference to a Volume to populate remoteVolumeResourceId. + // Reference to a Volume in netapp to populate remoteVolumeResourceId. // +kubebuilder:validation:Optional RemoteVolumeResourceIDRef *v1.Reference `json:"remoteVolumeResourceIdRef,omitempty" tf:"-"` - // Selector for a Volume to populate remoteVolumeResourceId. + // Selector for a Volume in netapp to populate remoteVolumeResourceId. // +kubebuilder:validation:Optional RemoteVolumeResourceIDSelector *v1.Selector `json:"remoteVolumeResourceIdSelector,omitempty" tf:"-"` @@ -85,15 +85,15 @@ type DataProtectionReplicationParameters struct { type DataProtectionSnapshotPolicyInitParameters struct { // Resource ID of the snapshot policy to apply to the volume. - // +crossplane:generate:reference:type=SnapshotPolicy + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/netapp/v1beta2.SnapshotPolicy // +crossplane:generate:reference:extractor=github.com/upbound/provider-azure/apis/rconfig.ExtractResourceID() SnapshotPolicyID *string `json:"snapshotPolicyId,omitempty" tf:"snapshot_policy_id,omitempty"` - // Reference to a SnapshotPolicy to populate snapshotPolicyId. + // Reference to a SnapshotPolicy in netapp to populate snapshotPolicyId. // +kubebuilder:validation:Optional SnapshotPolicyIDRef *v1.Reference `json:"snapshotPolicyIdRef,omitempty" tf:"-"` - // Selector for a SnapshotPolicy to populate snapshotPolicyId. + // Selector for a SnapshotPolicy in netapp to populate snapshotPolicyId. // +kubebuilder:validation:Optional SnapshotPolicyIDSelector *v1.Selector `json:"snapshotPolicyIdSelector,omitempty" tf:"-"` } @@ -107,16 +107,16 @@ type DataProtectionSnapshotPolicyObservation struct { type DataProtectionSnapshotPolicyParameters struct { // Resource ID of the snapshot policy to apply to the volume. - // +crossplane:generate:reference:type=SnapshotPolicy + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/netapp/v1beta2.SnapshotPolicy // +crossplane:generate:reference:extractor=github.com/upbound/provider-azure/apis/rconfig.ExtractResourceID() // +kubebuilder:validation:Optional SnapshotPolicyID *string `json:"snapshotPolicyId,omitempty" tf:"snapshot_policy_id,omitempty"` - // Reference to a SnapshotPolicy to populate snapshotPolicyId. + // Reference to a SnapshotPolicy in netapp to populate snapshotPolicyId. // +kubebuilder:validation:Optional SnapshotPolicyIDRef *v1.Reference `json:"snapshotPolicyIdRef,omitempty" tf:"-"` - // Selector for a SnapshotPolicy to populate snapshotPolicyId. + // Selector for a SnapshotPolicy in netapp to populate snapshotPolicyId. // +kubebuilder:validation:Optional SnapshotPolicyIDSelector *v1.Selector `json:"snapshotPolicyIdSelector,omitempty" tf:"-"` } @@ -199,15 +199,15 @@ type VolumeInitParameters struct { AzureVMwareDataStoreEnabled *bool `json:"azureVmwareDataStoreEnabled,omitempty" tf:"azure_vmware_data_store_enabled,omitempty"` // Creates volume from snapshot. Following properties must be the same as the original volume where the snapshot was taken from: protocols, subnet_id, location, service_level, resource_group_name, account_name and pool_name. Changing this forces a new resource to be created. - // +crossplane:generate:reference:type=Snapshot + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/netapp/v1beta1.Snapshot // +crossplane:generate:reference:extractor=github.com/upbound/provider-azure/apis/rconfig.ExtractResourceID() CreateFromSnapshotResourceID *string `json:"createFromSnapshotResourceId,omitempty" tf:"create_from_snapshot_resource_id,omitempty"` - // Reference to a Snapshot to populate createFromSnapshotResourceId. + // Reference to a Snapshot in netapp to populate createFromSnapshotResourceId. // +kubebuilder:validation:Optional CreateFromSnapshotResourceIDRef *v1.Reference `json:"createFromSnapshotResourceIdRef,omitempty" tf:"-"` - // Selector for a Snapshot to populate createFromSnapshotResourceId. + // Selector for a Snapshot in netapp to populate createFromSnapshotResourceId. // +kubebuilder:validation:Optional CreateFromSnapshotResourceIDSelector *v1.Selector `json:"createFromSnapshotResourceIdSelector,omitempty" tf:"-"` @@ -367,15 +367,15 @@ type VolumeObservation struct { type VolumeParameters struct { // The name of the NetApp account in which the NetApp Pool should be created. Changing this forces a new resource to be created. - // +crossplane:generate:reference:type=Account + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/netapp/v1beta2.Account // +kubebuilder:validation:Optional AccountName *string `json:"accountName,omitempty" tf:"account_name,omitempty"` - // Reference to a Account to populate accountName. + // Reference to a Account in netapp to populate accountName. // +kubebuilder:validation:Optional AccountNameRef *v1.Reference `json:"accountNameRef,omitempty" tf:"-"` - // Selector for a Account to populate accountName. + // Selector for a Account in netapp to populate accountName. // +kubebuilder:validation:Optional AccountNameSelector *v1.Selector `json:"accountNameSelector,omitempty" tf:"-"` @@ -384,16 +384,16 @@ type VolumeParameters struct { AzureVMwareDataStoreEnabled *bool `json:"azureVmwareDataStoreEnabled,omitempty" tf:"azure_vmware_data_store_enabled,omitempty"` // Creates volume from snapshot. Following properties must be the same as the original volume where the snapshot was taken from: protocols, subnet_id, location, service_level, resource_group_name, account_name and pool_name. Changing this forces a new resource to be created. - // +crossplane:generate:reference:type=Snapshot + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/netapp/v1beta1.Snapshot // +crossplane:generate:reference:extractor=github.com/upbound/provider-azure/apis/rconfig.ExtractResourceID() // +kubebuilder:validation:Optional CreateFromSnapshotResourceID *string `json:"createFromSnapshotResourceId,omitempty" tf:"create_from_snapshot_resource_id,omitempty"` - // Reference to a Snapshot to populate createFromSnapshotResourceId. + // Reference to a Snapshot in netapp to populate createFromSnapshotResourceId. // +kubebuilder:validation:Optional CreateFromSnapshotResourceIDRef *v1.Reference `json:"createFromSnapshotResourceIdRef,omitempty" tf:"-"` - // Selector for a Snapshot to populate createFromSnapshotResourceId. + // Selector for a Snapshot in netapp to populate createFromSnapshotResourceId. // +kubebuilder:validation:Optional CreateFromSnapshotResourceIDSelector *v1.Selector `json:"createFromSnapshotResourceIdSelector,omitempty" tf:"-"` @@ -426,15 +426,15 @@ type VolumeParameters struct { NetworkFeatures *string `json:"networkFeatures,omitempty" tf:"network_features,omitempty"` // The name of the NetApp pool in which the NetApp Volume should be created. Changing this forces a new resource to be created. - // +crossplane:generate:reference:type=Pool + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/netapp/v1beta1.Pool // +kubebuilder:validation:Optional PoolName *string `json:"poolName,omitempty" tf:"pool_name,omitempty"` - // Reference to a Pool to populate poolName. + // Reference to a Pool in netapp to populate poolName. // +kubebuilder:validation:Optional PoolNameRef *v1.Reference `json:"poolNameRef,omitempty" tf:"-"` - // Selector for a Pool to populate poolName. + // Selector for a Pool in netapp to populate poolName. // +kubebuilder:validation:Optional PoolNameSelector *v1.Selector `json:"poolNameSelector,omitempty" tf:"-"` diff --git a/apis/network/v1beta1/zz_dnsaaaarecord_types.go b/apis/network/v1beta1/zz_dnsaaaarecord_types.go index 5768b34ec..d60468d46 100755 --- a/apis/network/v1beta1/zz_dnsaaaarecord_types.go +++ b/apis/network/v1beta1/zz_dnsaaaarecord_types.go @@ -113,7 +113,7 @@ type DNSAAAARecordParameters struct { TargetResourceIDSelector *v1.Selector `json:"targetResourceIdSelector,omitempty" tf:"-"` // Specifies the DNS Zone where the resource exists. Changing this forces a new resource to be created. - // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta1.DNSZone + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta2.DNSZone // +kubebuilder:validation:Optional ZoneName *string `json:"zoneName,omitempty" tf:"zone_name,omitempty"` diff --git a/apis/network/v1beta1/zz_dnsarecord_types.go b/apis/network/v1beta1/zz_dnsarecord_types.go index a4a3bf560..bb9c6af4e 100755 --- a/apis/network/v1beta1/zz_dnsarecord_types.go +++ b/apis/network/v1beta1/zz_dnsarecord_types.go @@ -113,7 +113,7 @@ type DNSARecordParameters struct { TargetResourceIDSelector *v1.Selector `json:"targetResourceIdSelector,omitempty" tf:"-"` // Specifies the DNS Zone where the resource exists. Changing this forces a new resource to be created. - // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta1.DNSZone + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta2.DNSZone // +kubebuilder:validation:Optional ZoneName *string `json:"zoneName,omitempty" tf:"zone_name,omitempty"` diff --git a/apis/network/v1beta1/zz_dnscaarecord_types.go b/apis/network/v1beta1/zz_dnscaarecord_types.go index 3aac3e604..fe96bf01e 100755 --- a/apis/network/v1beta1/zz_dnscaarecord_types.go +++ b/apis/network/v1beta1/zz_dnscaarecord_types.go @@ -80,7 +80,7 @@ type DNSCAARecordParameters struct { Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` // Specifies the DNS Zone where the resource exists. Changing this forces a new resource to be created. - // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta1.DNSZone + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta2.DNSZone // +kubebuilder:validation:Optional ZoneName *string `json:"zoneName,omitempty" tf:"zone_name,omitempty"` diff --git a/apis/network/v1beta1/zz_dnscnamerecord_types.go b/apis/network/v1beta1/zz_dnscnamerecord_types.go index bf6e5c657..d6d7fbeaf 100755 --- a/apis/network/v1beta1/zz_dnscnamerecord_types.go +++ b/apis/network/v1beta1/zz_dnscnamerecord_types.go @@ -110,7 +110,7 @@ type DNSCNAMERecordParameters struct { TargetResourceIDSelector *v1.Selector `json:"targetResourceIdSelector,omitempty" tf:"-"` // Specifies the DNS Zone where the resource exists. Changing this forces a new resource to be created. - // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta1.DNSZone + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta2.DNSZone // +kubebuilder:validation:Optional ZoneName *string `json:"zoneName,omitempty" tf:"zone_name,omitempty"` diff --git a/apis/network/v1beta1/zz_dnsmxrecord_types.go b/apis/network/v1beta1/zz_dnsmxrecord_types.go index 60cabb3c5..3e5600130 100755 --- a/apis/network/v1beta1/zz_dnsmxrecord_types.go +++ b/apis/network/v1beta1/zz_dnsmxrecord_types.go @@ -80,7 +80,7 @@ type DNSMXRecordParameters struct { Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` // Specifies the DNS Zone where the resource exists. Changing this forces a new resource to be created. - // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta1.DNSZone + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta2.DNSZone // +kubebuilder:validation:Optional ZoneName *string `json:"zoneName,omitempty" tf:"zone_name,omitempty"` diff --git a/apis/network/v1beta1/zz_dnsnsrecord_types.go b/apis/network/v1beta1/zz_dnsnsrecord_types.go index eccafd342..8a6484409 100755 --- a/apis/network/v1beta1/zz_dnsnsrecord_types.go +++ b/apis/network/v1beta1/zz_dnsnsrecord_types.go @@ -80,7 +80,7 @@ type DNSNSRecordParameters struct { Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` // Specifies the DNS Zone where the resource exists. Changing this forces a new resource to be created. - // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta1.DNSZone + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta2.DNSZone // +kubebuilder:validation:Optional ZoneName *string `json:"zoneName,omitempty" tf:"zone_name,omitempty"` diff --git a/apis/network/v1beta1/zz_dnsptrrecord_types.go b/apis/network/v1beta1/zz_dnsptrrecord_types.go index 5bcdc46da..5b45bb8e6 100755 --- a/apis/network/v1beta1/zz_dnsptrrecord_types.go +++ b/apis/network/v1beta1/zz_dnsptrrecord_types.go @@ -83,7 +83,7 @@ type DNSPTRRecordParameters struct { Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` // Specifies the DNS Zone where the resource exists. Changing this forces a new resource to be created. - // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta1.DNSZone + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta2.DNSZone // +kubebuilder:validation:Optional ZoneName *string `json:"zoneName,omitempty" tf:"zone_name,omitempty"` diff --git a/apis/network/v1beta1/zz_dnssrvrecord_types.go b/apis/network/v1beta1/zz_dnssrvrecord_types.go index ccca04ce8..4bb98f4b0 100755 --- a/apis/network/v1beta1/zz_dnssrvrecord_types.go +++ b/apis/network/v1beta1/zz_dnssrvrecord_types.go @@ -80,7 +80,7 @@ type DNSSRVRecordParameters struct { Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` // Specifies the DNS Zone where the resource exists. Changing this forces a new resource to be created. - // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta1.DNSZone + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta2.DNSZone // +kubebuilder:validation:Optional ZoneName *string `json:"zoneName,omitempty" tf:"zone_name,omitempty"` diff --git a/apis/network/v1beta1/zz_dnstxtrecord_types.go b/apis/network/v1beta1/zz_dnstxtrecord_types.go index 1a9d1e49f..4798fe657 100755 --- a/apis/network/v1beta1/zz_dnstxtrecord_types.go +++ b/apis/network/v1beta1/zz_dnstxtrecord_types.go @@ -80,7 +80,7 @@ type DNSTXTRecordParameters struct { Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` // Specifies the DNS Zone where the resource exists. Changing this forces a new resource to be created. - // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta1.DNSZone + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta2.DNSZone // +kubebuilder:validation:Optional ZoneName *string `json:"zoneName,omitempty" tf:"zone_name,omitempty"` diff --git a/apis/network/v1beta1/zz_expressroutecircuitauthorization_types.go b/apis/network/v1beta1/zz_expressroutecircuitauthorization_types.go index e3cd8d0ef..afe088b34 100755 --- a/apis/network/v1beta1/zz_expressroutecircuitauthorization_types.go +++ b/apis/network/v1beta1/zz_expressroutecircuitauthorization_types.go @@ -34,7 +34,7 @@ type ExpressRouteCircuitAuthorizationObservation struct { type ExpressRouteCircuitAuthorizationParameters struct { // The name of the Express Route Circuit in which to create the Authorization. Changing this forces a new resource to be created. - // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta1.ExpressRouteCircuit + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta2.ExpressRouteCircuit // +kubebuilder:validation:Optional ExpressRouteCircuitName *string `json:"expressRouteCircuitName,omitempty" tf:"express_route_circuit_name,omitempty"` diff --git a/apis/network/v1beta1/zz_expressroutecircuitconnection_types.go b/apis/network/v1beta1/zz_expressroutecircuitconnection_types.go index a7621a435..c5baa30c9 100755 --- a/apis/network/v1beta1/zz_expressroutecircuitconnection_types.go +++ b/apis/network/v1beta1/zz_expressroutecircuitconnection_types.go @@ -22,7 +22,7 @@ type ExpressRouteCircuitConnectionInitParameters struct { AddressPrefixIPv6 *string `json:"addressPrefixIpv6,omitempty" tf:"address_prefix_ipv6,omitempty"` // The ID of the peered Express Route Circuit Private Peering. Changing this forces a new Express Route Circuit Connection to be created. - // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta1.ExpressRouteCircuitPeering + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta2.ExpressRouteCircuitPeering // +crossplane:generate:reference:extractor=github.com/upbound/provider-azure/apis/rconfig.ExtractResourceID() PeerPeeringID *string `json:"peerPeeringId,omitempty" tf:"peer_peering_id,omitempty"` @@ -68,7 +68,7 @@ type ExpressRouteCircuitConnectionParameters struct { AuthorizationKeySecretRef *v1.SecretKeySelector `json:"authorizationKeySecretRef,omitempty" tf:"-"` // The ID of the peered Express Route Circuit Private Peering. Changing this forces a new Express Route Circuit Connection to be created. - // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta1.ExpressRouteCircuitPeering + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta2.ExpressRouteCircuitPeering // +crossplane:generate:reference:extractor=github.com/upbound/provider-azure/apis/rconfig.ExtractResourceID() // +kubebuilder:validation:Optional PeerPeeringID *string `json:"peerPeeringId,omitempty" tf:"peer_peering_id,omitempty"` @@ -82,7 +82,7 @@ type ExpressRouteCircuitConnectionParameters struct { PeerPeeringIDSelector *v1.Selector `json:"peerPeeringIdSelector,omitempty" tf:"-"` // The ID of the Express Route Circuit Private Peering that this Express Route Circuit Connection connects with. Changing this forces a new Express Route Circuit Connection to be created. - // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta1.ExpressRouteCircuitPeering + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta2.ExpressRouteCircuitPeering // +crossplane:generate:reference:extractor=github.com/upbound/provider-azure/apis/rconfig.ExtractResourceID() // +kubebuilder:validation:Optional PeeringID *string `json:"peeringId,omitempty" tf:"peering_id,omitempty"` diff --git a/apis/network/v1beta1/zz_firewallapplicationrulecollection_types.go b/apis/network/v1beta1/zz_firewallapplicationrulecollection_types.go index 3e862eedb..73e92c2cd 100755 --- a/apis/network/v1beta1/zz_firewallapplicationrulecollection_types.go +++ b/apis/network/v1beta1/zz_firewallapplicationrulecollection_types.go @@ -52,7 +52,7 @@ type FirewallApplicationRuleCollectionParameters struct { Action *string `json:"action,omitempty" tf:"action,omitempty"` // Specifies the name of the Firewall in which the Application Rule Collection should be created. Changing this forces a new resource to be created. - // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta1.Firewall + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta2.Firewall // +kubebuilder:validation:Optional AzureFirewallName *string `json:"azureFirewallName,omitempty" tf:"azure_firewall_name,omitempty"` diff --git a/apis/network/v1beta1/zz_firewallnatrulecollection_types.go b/apis/network/v1beta1/zz_firewallnatrulecollection_types.go index 9dca75f76..7026d7b68 100755 --- a/apis/network/v1beta1/zz_firewallnatrulecollection_types.go +++ b/apis/network/v1beta1/zz_firewallnatrulecollection_types.go @@ -52,7 +52,7 @@ type FirewallNATRuleCollectionParameters struct { Action *string `json:"action,omitempty" tf:"action,omitempty"` // Specifies the name of the Firewall in which the NAT Rule Collection should be created. Changing this forces a new resource to be created. - // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta1.Firewall + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta2.Firewall // +kubebuilder:validation:Optional AzureFirewallName *string `json:"azureFirewallName,omitempty" tf:"azure_firewall_name,omitempty"` diff --git a/apis/network/v1beta1/zz_firewallnetworkrulecollection_types.go b/apis/network/v1beta1/zz_firewallnetworkrulecollection_types.go index 29b3a83d4..ffdc4c8df 100755 --- a/apis/network/v1beta1/zz_firewallnetworkrulecollection_types.go +++ b/apis/network/v1beta1/zz_firewallnetworkrulecollection_types.go @@ -52,7 +52,7 @@ type FirewallNetworkRuleCollectionParameters struct { Action *string `json:"action,omitempty" tf:"action,omitempty"` // Specifies the name of the Firewall in which the Network Rule Collection should be created. Changing this forces a new resource to be created. - // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta1.Firewall + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta2.Firewall // +kubebuilder:validation:Optional AzureFirewallName *string `json:"azureFirewallName,omitempty" tf:"azure_firewall_name,omitempty"` diff --git a/apis/network/v1beta1/zz_firewallpolicyrulecollectiongroup_types.go b/apis/network/v1beta1/zz_firewallpolicyrulecollectiongroup_types.go index 21d45c068..54f206299 100755 --- a/apis/network/v1beta1/zz_firewallpolicyrulecollectiongroup_types.go +++ b/apis/network/v1beta1/zz_firewallpolicyrulecollectiongroup_types.go @@ -234,7 +234,7 @@ type FirewallPolicyRuleCollectionGroupParameters struct { ApplicationRuleCollection []ApplicationRuleCollectionParameters `json:"applicationRuleCollection,omitempty" tf:"application_rule_collection,omitempty"` // The ID of the Firewall Policy where the Firewall Policy Rule Collection Group should exist. Changing this forces a new Firewall Policy Rule Collection Group to be created. - // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta1.FirewallPolicy + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta2.FirewallPolicy // +crossplane:generate:reference:extractor=github.com/upbound/provider-azure/apis/rconfig.ExtractResourceID() // +kubebuilder:validation:Optional FirewallPolicyID *string `json:"firewallPolicyId,omitempty" tf:"firewall_policy_id,omitempty"` diff --git a/apis/network/v1beta1/zz_generated.resolvers.go b/apis/network/v1beta1/zz_generated.resolvers.go index 89977f2d4..f8e00f34a 100644 --- a/apis/network/v1beta1/zz_generated.resolvers.go +++ b/apis/network/v1beta1/zz_generated.resolvers.go @@ -363,7 +363,7 @@ func (mg *DNSAAAARecord) ResolveReferences(ctx context.Context, c client.Reader) mg.Spec.ForProvider.TargetResourceID = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.TargetResourceIDRef = rsp.ResolvedReference { - m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta1", "DNSZone", "DNSZoneList") + m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta2", "DNSZone", "DNSZoneList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } @@ -451,7 +451,7 @@ func (mg *DNSARecord) ResolveReferences(ctx context.Context, c client.Reader) er mg.Spec.ForProvider.TargetResourceID = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.TargetResourceIDRef = rsp.ResolvedReference { - m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta1", "DNSZone", "DNSZoneList") + m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta2", "DNSZone", "DNSZoneList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } @@ -520,7 +520,7 @@ func (mg *DNSCAARecord) ResolveReferences(ctx context.Context, c client.Reader) mg.Spec.ForProvider.ResourceGroupName = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.ResourceGroupNameRef = rsp.ResolvedReference { - m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta1", "DNSZone", "DNSZoneList") + m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta2", "DNSZone", "DNSZoneList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } @@ -589,7 +589,7 @@ func (mg *DNSCNAMERecord) ResolveReferences(ctx context.Context, c client.Reader mg.Spec.ForProvider.TargetResourceID = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.TargetResourceIDRef = rsp.ResolvedReference { - m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta1", "DNSZone", "DNSZoneList") + m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta2", "DNSZone", "DNSZoneList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } @@ -658,7 +658,7 @@ func (mg *DNSMXRecord) ResolveReferences(ctx context.Context, c client.Reader) e mg.Spec.ForProvider.ResourceGroupName = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.ResourceGroupNameRef = rsp.ResolvedReference { - m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta1", "DNSZone", "DNSZoneList") + m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta2", "DNSZone", "DNSZoneList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } @@ -708,7 +708,7 @@ func (mg *DNSNSRecord) ResolveReferences(ctx context.Context, c client.Reader) e mg.Spec.ForProvider.ResourceGroupName = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.ResourceGroupNameRef = rsp.ResolvedReference { - m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta1", "DNSZone", "DNSZoneList") + m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta2", "DNSZone", "DNSZoneList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } @@ -758,7 +758,7 @@ func (mg *DNSPTRRecord) ResolveReferences(ctx context.Context, c client.Reader) mg.Spec.ForProvider.ResourceGroupName = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.ResourceGroupNameRef = rsp.ResolvedReference { - m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta1", "DNSZone", "DNSZoneList") + m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta2", "DNSZone", "DNSZoneList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } @@ -808,7 +808,7 @@ func (mg *DNSSRVRecord) ResolveReferences(ctx context.Context, c client.Reader) mg.Spec.ForProvider.ResourceGroupName = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.ResourceGroupNameRef = rsp.ResolvedReference { - m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta1", "DNSZone", "DNSZoneList") + m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta2", "DNSZone", "DNSZoneList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } @@ -858,7 +858,7 @@ func (mg *DNSTXTRecord) ResolveReferences(ctx context.Context, c client.Reader) mg.Spec.ForProvider.ResourceGroupName = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.ResourceGroupNameRef = rsp.ResolvedReference { - m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta1", "DNSZone", "DNSZoneList") + m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta2", "DNSZone", "DNSZoneList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } @@ -951,7 +951,7 @@ func (mg *ExpressRouteCircuitAuthorization) ResolveReferences(ctx context.Contex var rsp reference.ResolutionResponse var err error { - m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta1", "ExpressRouteCircuit", "ExpressRouteCircuitList") + m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta2", "ExpressRouteCircuit", "ExpressRouteCircuitList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } @@ -1001,7 +1001,7 @@ func (mg *ExpressRouteCircuitConnection) ResolveReferences(ctx context.Context, var rsp reference.ResolutionResponse var err error { - m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta1", "ExpressRouteCircuitPeering", "ExpressRouteCircuitPeeringList") + m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta2", "ExpressRouteCircuitPeering", "ExpressRouteCircuitPeeringList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } @@ -1020,7 +1020,7 @@ func (mg *ExpressRouteCircuitConnection) ResolveReferences(ctx context.Context, mg.Spec.ForProvider.PeerPeeringID = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.PeerPeeringIDRef = rsp.ResolvedReference { - m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta1", "ExpressRouteCircuitPeering", "ExpressRouteCircuitPeeringList") + m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta2", "ExpressRouteCircuitPeering", "ExpressRouteCircuitPeeringList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } @@ -1039,7 +1039,7 @@ func (mg *ExpressRouteCircuitConnection) ResolveReferences(ctx context.Context, mg.Spec.ForProvider.PeeringID = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.PeeringIDRef = rsp.ResolvedReference { - m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta1", "ExpressRouteCircuitPeering", "ExpressRouteCircuitPeeringList") + m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta2", "ExpressRouteCircuitPeering", "ExpressRouteCircuitPeeringList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } @@ -1447,7 +1447,7 @@ func (mg *FirewallApplicationRuleCollection) ResolveReferences(ctx context.Conte var rsp reference.ResolutionResponse var err error { - m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta1", "Firewall", "FirewallList") + m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta2", "Firewall", "FirewallList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } @@ -1497,7 +1497,7 @@ func (mg *FirewallNATRuleCollection) ResolveReferences(ctx context.Context, c cl var rsp reference.ResolutionResponse var err error { - m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta1", "Firewall", "FirewallList") + m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta2", "Firewall", "FirewallList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } @@ -1547,7 +1547,7 @@ func (mg *FirewallNetworkRuleCollection) ResolveReferences(ctx context.Context, var rsp reference.ResolutionResponse var err error { - m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta1", "Firewall", "FirewallList") + m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta2", "Firewall", "FirewallList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } @@ -1628,7 +1628,7 @@ func (mg *FirewallPolicyRuleCollectionGroup) ResolveReferences(ctx context.Conte var rsp reference.ResolutionResponse var err error { - m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta1", "FirewallPolicy", "FirewallPolicyList") + m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta2", "FirewallPolicy", "FirewallPolicyList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } @@ -1880,7 +1880,7 @@ func (mg *LoadBalancer) ResolveReferences(ctx context.Context, c client.Reader) } for i3 := 0; i3 < len(mg.Spec.ForProvider.FrontendIPConfiguration); i3++ { { - m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta1", "Subnet", "SubnetList") + m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta2", "Subnet", "SubnetList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } @@ -1941,7 +1941,7 @@ func (mg *LoadBalancer) ResolveReferences(ctx context.Context, c client.Reader) } for i3 := 0; i3 < len(mg.Spec.InitProvider.FrontendIPConfiguration); i3++ { { - m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta1", "Subnet", "SubnetList") + m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta2", "Subnet", "SubnetList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } @@ -2023,7 +2023,7 @@ func (mg *LoadBalancerBackendAddressPoolAddress) ResolveReferences(ctx context.C mg.Spec.ForProvider.BackendAddressPoolID = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.BackendAddressPoolIDRef = rsp.ResolvedReference { - m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta1", "VirtualNetwork", "VirtualNetworkList") + m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta2", "VirtualNetwork", "VirtualNetworkList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } @@ -2042,7 +2042,7 @@ func (mg *LoadBalancerBackendAddressPoolAddress) ResolveReferences(ctx context.C mg.Spec.ForProvider.VirtualNetworkID = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.VirtualNetworkIDRef = rsp.ResolvedReference { - m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta1", "VirtualNetwork", "VirtualNetworkList") + m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta2", "VirtualNetwork", "VirtualNetworkList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } @@ -2561,7 +2561,7 @@ func (mg *ManagerStaticMember) ResolveReferences(ctx context.Context, c client.R mg.Spec.ForProvider.NetworkGroupID = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.NetworkGroupIDRef = rsp.ResolvedReference { - m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta1", "VirtualNetwork", "VirtualNetworkList") + m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta2", "VirtualNetwork", "VirtualNetworkList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } @@ -2580,7 +2580,7 @@ func (mg *ManagerStaticMember) ResolveReferences(ctx context.Context, c client.R mg.Spec.ForProvider.TargetVirtualNetworkID = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.TargetVirtualNetworkIDRef = rsp.ResolvedReference { - m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta1", "VirtualNetwork", "VirtualNetworkList") + m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta2", "VirtualNetwork", "VirtualNetworkList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } @@ -3555,7 +3555,7 @@ func (mg *PrivateDNSAAAARecord) ResolveReferences(ctx context.Context, c client. mg.Spec.ForProvider.ResourceGroupName = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.ResourceGroupNameRef = rsp.ResolvedReference { - m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta1", "PrivateDNSZone", "PrivateDNSZoneList") + m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta2", "PrivateDNSZone", "PrivateDNSZoneList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } @@ -3605,7 +3605,7 @@ func (mg *PrivateDNSARecord) ResolveReferences(ctx context.Context, c client.Rea mg.Spec.ForProvider.ResourceGroupName = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.ResourceGroupNameRef = rsp.ResolvedReference { - m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta1", "PrivateDNSZone", "PrivateDNSZoneList") + m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta2", "PrivateDNSZone", "PrivateDNSZoneList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } @@ -3655,7 +3655,7 @@ func (mg *PrivateDNSCNAMERecord) ResolveReferences(ctx context.Context, c client mg.Spec.ForProvider.ResourceGroupName = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.ResourceGroupNameRef = rsp.ResolvedReference { - m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta1", "PrivateDNSZone", "PrivateDNSZoneList") + m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta2", "PrivateDNSZone", "PrivateDNSZoneList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } @@ -3705,7 +3705,7 @@ func (mg *PrivateDNSMXRecord) ResolveReferences(ctx context.Context, c client.Re mg.Spec.ForProvider.ResourceGroupName = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.ResourceGroupNameRef = rsp.ResolvedReference { - m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta1", "PrivateDNSZone", "PrivateDNSZoneList") + m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta2", "PrivateDNSZone", "PrivateDNSZoneList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } @@ -3755,7 +3755,7 @@ func (mg *PrivateDNSPTRRecord) ResolveReferences(ctx context.Context, c client.R mg.Spec.ForProvider.ResourceGroupName = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.ResourceGroupNameRef = rsp.ResolvedReference { - m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta1", "PrivateDNSZone", "PrivateDNSZoneList") + m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta2", "PrivateDNSZone", "PrivateDNSZoneList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } @@ -3874,7 +3874,7 @@ func (mg *PrivateDNSSRVRecord) ResolveReferences(ctx context.Context, c client.R mg.Spec.ForProvider.ResourceGroupName = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.ResourceGroupNameRef = rsp.ResolvedReference { - m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta1", "PrivateDNSZone", "PrivateDNSZoneList") + m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta2", "PrivateDNSZone", "PrivateDNSZoneList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } @@ -3924,7 +3924,7 @@ func (mg *PrivateDNSTXTRecord) ResolveReferences(ctx context.Context, c client.R mg.Spec.ForProvider.ResourceGroupName = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.ResourceGroupNameRef = rsp.ResolvedReference { - m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta1", "PrivateDNSZone", "PrivateDNSZoneList") + m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta2", "PrivateDNSZone", "PrivateDNSZoneList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } @@ -3986,7 +3986,7 @@ func (mg *PrivateDNSZoneVirtualNetworkLink) ResolveReferences(ctx context.Contex var rsp reference.ResolutionResponse var err error { - m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta1", "PrivateDNSZone", "PrivateDNSZoneList") + m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta2", "PrivateDNSZone", "PrivateDNSZoneList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } @@ -4024,7 +4024,7 @@ func (mg *PrivateDNSZoneVirtualNetworkLink) ResolveReferences(ctx context.Contex mg.Spec.ForProvider.ResourceGroupName = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.ResourceGroupNameRef = rsp.ResolvedReference { - m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta1", "VirtualNetwork", "VirtualNetworkList") + m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta2", "VirtualNetwork", "VirtualNetworkList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } @@ -4043,7 +4043,7 @@ func (mg *PrivateDNSZoneVirtualNetworkLink) ResolveReferences(ctx context.Contex mg.Spec.ForProvider.VirtualNetworkID = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.VirtualNetworkIDRef = rsp.ResolvedReference { - m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta1", "VirtualNetwork", "VirtualNetworkList") + m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta2", "VirtualNetwork", "VirtualNetworkList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } @@ -4276,7 +4276,7 @@ func (mg *PrivateLinkService) ResolveReferences(ctx context.Context, c client.Re for i3 := 0; i3 < len(mg.Spec.ForProvider.NATIPConfiguration); i3++ { { - m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta1", "Subnet", "SubnetList") + m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta2", "Subnet", "SubnetList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } @@ -4316,7 +4316,7 @@ func (mg *PrivateLinkService) ResolveReferences(ctx context.Context, c client.Re for i3 := 0; i3 < len(mg.Spec.InitProvider.NATIPConfiguration); i3++ { { - m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta1", "Subnet", "SubnetList") + m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta2", "Subnet", "SubnetList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } @@ -4919,7 +4919,7 @@ func (mg *SubnetNATGatewayAssociation) ResolveReferences(ctx context.Context, c mg.Spec.ForProvider.NATGatewayID = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.NATGatewayIDRef = rsp.ResolvedReference { - m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta1", "Subnet", "SubnetList") + m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta2", "Subnet", "SubnetList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } @@ -4957,7 +4957,7 @@ func (mg *SubnetNATGatewayAssociation) ResolveReferences(ctx context.Context, c mg.Spec.InitProvider.NATGatewayID = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.InitProvider.NATGatewayIDRef = rsp.ResolvedReference { - m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta1", "Subnet", "SubnetList") + m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta2", "Subnet", "SubnetList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } @@ -5007,7 +5007,7 @@ func (mg *SubnetNetworkSecurityGroupAssociation) ResolveReferences(ctx context.C mg.Spec.ForProvider.NetworkSecurityGroupID = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.NetworkSecurityGroupIDRef = rsp.ResolvedReference { - m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta1", "Subnet", "SubnetList") + m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta2", "Subnet", "SubnetList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } @@ -5045,7 +5045,7 @@ func (mg *SubnetNetworkSecurityGroupAssociation) ResolveReferences(ctx context.C mg.Spec.InitProvider.NetworkSecurityGroupID = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.InitProvider.NetworkSecurityGroupIDRef = rsp.ResolvedReference { - m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta1", "Subnet", "SubnetList") + m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta2", "Subnet", "SubnetList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } @@ -5095,7 +5095,7 @@ func (mg *SubnetRouteTableAssociation) ResolveReferences(ctx context.Context, c mg.Spec.ForProvider.RouteTableID = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.RouteTableIDRef = rsp.ResolvedReference { - m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta1", "Subnet", "SubnetList") + m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta2", "Subnet", "SubnetList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } @@ -5133,7 +5133,7 @@ func (mg *SubnetRouteTableAssociation) ResolveReferences(ctx context.Context, c mg.Spec.InitProvider.RouteTableID = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.InitProvider.RouteTableIDRef = rsp.ResolvedReference { - m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta1", "Subnet", "SubnetList") + m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta2", "Subnet", "SubnetList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } @@ -6456,7 +6456,7 @@ func (mg *VirtualNetworkPeering) ResolveReferences(ctx context.Context, c client var rsp reference.ResolutionResponse var err error { - m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta1", "VirtualNetwork", "VirtualNetworkList") + m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta2", "VirtualNetwork", "VirtualNetworkList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } @@ -6494,7 +6494,7 @@ func (mg *VirtualNetworkPeering) ResolveReferences(ctx context.Context, c client mg.Spec.ForProvider.ResourceGroupName = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.ResourceGroupNameRef = rsp.ResolvedReference { - m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta1", "VirtualNetwork", "VirtualNetworkList") + m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta2", "VirtualNetwork", "VirtualNetworkList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } @@ -6513,7 +6513,7 @@ func (mg *VirtualNetworkPeering) ResolveReferences(ctx context.Context, c client mg.Spec.ForProvider.VirtualNetworkName = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.VirtualNetworkNameRef = rsp.ResolvedReference { - m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta1", "VirtualNetwork", "VirtualNetworkList") + m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta2", "VirtualNetwork", "VirtualNetworkList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } diff --git a/apis/network/v1beta1/zz_loadbalancer_types.go b/apis/network/v1beta1/zz_loadbalancer_types.go index fce00a36e..11ff7ccae 100755 --- a/apis/network/v1beta1/zz_loadbalancer_types.go +++ b/apis/network/v1beta1/zz_loadbalancer_types.go @@ -47,7 +47,7 @@ type LoadBalancerFrontendIPConfigurationInitParameters struct { PublicIPPrefixID *string `json:"publicIpPrefixId,omitempty" tf:"public_ip_prefix_id,omitempty"` // The ID of the Subnet which should be associated with the IP Configuration. - // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta1.Subnet + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta2.Subnet // +crossplane:generate:reference:extractor=github.com/upbound/provider-azure/apis/rconfig.ExtractResourceID() SubnetID *string `json:"subnetId,omitempty" tf:"subnet_id,omitempty"` @@ -151,7 +151,7 @@ type LoadBalancerFrontendIPConfigurationParameters struct { PublicIPPrefixID *string `json:"publicIpPrefixId,omitempty" tf:"public_ip_prefix_id,omitempty"` // The ID of the Subnet which should be associated with the IP Configuration. - // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta1.Subnet + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta2.Subnet // +crossplane:generate:reference:extractor=github.com/upbound/provider-azure/apis/rconfig.ExtractResourceID() // +kubebuilder:validation:Optional SubnetID *string `json:"subnetId,omitempty" tf:"subnet_id,omitempty"` diff --git a/apis/network/v1beta1/zz_loadbalancerbackendaddresspooladdress_types.go b/apis/network/v1beta1/zz_loadbalancerbackendaddresspooladdress_types.go index c5d44b0d8..2f0d7a1bc 100755 --- a/apis/network/v1beta1/zz_loadbalancerbackendaddresspooladdress_types.go +++ b/apis/network/v1beta1/zz_loadbalancerbackendaddresspooladdress_types.go @@ -42,7 +42,7 @@ type LoadBalancerBackendAddressPoolAddressInitParameters struct { // The ID of the Virtual Network within which the Backend Address Pool should exist. // For regional load balancer, user needs to specify `virtual_network_id` and `ip_address` - // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta1.VirtualNetwork + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta2.VirtualNetwork // +crossplane:generate:reference:extractor=github.com/upbound/provider-azure/apis/rconfig.ExtractResourceID() VirtualNetworkID *string `json:"virtualNetworkId,omitempty" tf:"virtual_network_id,omitempty"` @@ -105,7 +105,7 @@ type LoadBalancerBackendAddressPoolAddressParameters struct { // The ID of the Virtual Network within which the Backend Address Pool should exist. // For regional load balancer, user needs to specify `virtual_network_id` and `ip_address` - // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta1.VirtualNetwork + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta2.VirtualNetwork // +crossplane:generate:reference:extractor=github.com/upbound/provider-azure/apis/rconfig.ExtractResourceID() // +kubebuilder:validation:Optional VirtualNetworkID *string `json:"virtualNetworkId,omitempty" tf:"virtual_network_id,omitempty"` diff --git a/apis/network/v1beta1/zz_managerstaticmember_types.go b/apis/network/v1beta1/zz_managerstaticmember_types.go index 51bdf4a86..4f2cd0484 100755 --- a/apis/network/v1beta1/zz_managerstaticmember_types.go +++ b/apis/network/v1beta1/zz_managerstaticmember_types.go @@ -16,7 +16,7 @@ import ( type ManagerStaticMemberInitParameters struct { // Specifies the Resource ID of the Virtual Network using as the Static Member. Changing this forces a new Network Manager Static Member to be created. - // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta1.VirtualNetwork + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta2.VirtualNetwork // +crossplane:generate:reference:extractor=github.com/upbound/provider-azure/apis/rconfig.ExtractResourceID() TargetVirtualNetworkID *string `json:"targetVirtualNetworkId,omitempty" tf:"target_virtual_network_id,omitempty"` @@ -61,7 +61,7 @@ type ManagerStaticMemberParameters struct { NetworkGroupIDSelector *v1.Selector `json:"networkGroupIdSelector,omitempty" tf:"-"` // Specifies the Resource ID of the Virtual Network using as the Static Member. Changing this forces a new Network Manager Static Member to be created. - // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta1.VirtualNetwork + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta2.VirtualNetwork // +crossplane:generate:reference:extractor=github.com/upbound/provider-azure/apis/rconfig.ExtractResourceID() // +kubebuilder:validation:Optional TargetVirtualNetworkID *string `json:"targetVirtualNetworkId,omitempty" tf:"target_virtual_network_id,omitempty"` diff --git a/apis/network/v1beta1/zz_privatednsaaaarecord_types.go b/apis/network/v1beta1/zz_privatednsaaaarecord_types.go index 6feece3f9..ae51323e9 100755 --- a/apis/network/v1beta1/zz_privatednsaaaarecord_types.go +++ b/apis/network/v1beta1/zz_privatednsaaaarecord_types.go @@ -83,7 +83,7 @@ type PrivateDNSAAAARecordParameters struct { Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` // Specifies the Private DNS Zone where the resource exists. Changing this forces a new resource to be created. - // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta1.PrivateDNSZone + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta2.PrivateDNSZone // +kubebuilder:validation:Optional ZoneName *string `json:"zoneName,omitempty" tf:"zone_name,omitempty"` diff --git a/apis/network/v1beta1/zz_privatednsarecord_types.go b/apis/network/v1beta1/zz_privatednsarecord_types.go index 590a832ba..860b32017 100755 --- a/apis/network/v1beta1/zz_privatednsarecord_types.go +++ b/apis/network/v1beta1/zz_privatednsarecord_types.go @@ -83,7 +83,7 @@ type PrivateDNSARecordParameters struct { Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` // Specifies the Private DNS Zone where the resource exists. Changing this forces a new resource to be created. - // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta1.PrivateDNSZone + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta2.PrivateDNSZone // +kubebuilder:validation:Optional ZoneName *string `json:"zoneName,omitempty" tf:"zone_name,omitempty"` diff --git a/apis/network/v1beta1/zz_privatednscnamerecord_types.go b/apis/network/v1beta1/zz_privatednscnamerecord_types.go index 86e1ddec7..d63af55c6 100755 --- a/apis/network/v1beta1/zz_privatednscnamerecord_types.go +++ b/apis/network/v1beta1/zz_privatednscnamerecord_types.go @@ -80,7 +80,7 @@ type PrivateDNSCNAMERecordParameters struct { Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` // Specifies the Private DNS Zone where the resource exists. Changing this forces a new resource to be created. - // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta1.PrivateDNSZone + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta2.PrivateDNSZone // +kubebuilder:validation:Optional ZoneName *string `json:"zoneName,omitempty" tf:"zone_name,omitempty"` diff --git a/apis/network/v1beta1/zz_privatednsmxrecord_types.go b/apis/network/v1beta1/zz_privatednsmxrecord_types.go index ed2613d7a..eed0780fd 100755 --- a/apis/network/v1beta1/zz_privatednsmxrecord_types.go +++ b/apis/network/v1beta1/zz_privatednsmxrecord_types.go @@ -80,7 +80,7 @@ type PrivateDNSMXRecordParameters struct { Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` // Specifies the Private DNS Zone where the resource exists. Changing this forces a new resource to be created. - // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta1.PrivateDNSZone + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta2.PrivateDNSZone // +kubebuilder:validation:Optional ZoneName *string `json:"zoneName,omitempty" tf:"zone_name,omitempty"` diff --git a/apis/network/v1beta1/zz_privatednsptrrecord_types.go b/apis/network/v1beta1/zz_privatednsptrrecord_types.go index 056825d07..d66106f61 100755 --- a/apis/network/v1beta1/zz_privatednsptrrecord_types.go +++ b/apis/network/v1beta1/zz_privatednsptrrecord_types.go @@ -83,7 +83,7 @@ type PrivateDNSPTRRecordParameters struct { Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` // Specifies the Private DNS Zone where the resource exists. Changing this forces a new resource to be created. - // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta1.PrivateDNSZone + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta2.PrivateDNSZone // +kubebuilder:validation:Optional ZoneName *string `json:"zoneName,omitempty" tf:"zone_name,omitempty"` diff --git a/apis/network/v1beta1/zz_privatednssrvrecord_types.go b/apis/network/v1beta1/zz_privatednssrvrecord_types.go index 62f820238..7d3621759 100755 --- a/apis/network/v1beta1/zz_privatednssrvrecord_types.go +++ b/apis/network/v1beta1/zz_privatednssrvrecord_types.go @@ -80,7 +80,7 @@ type PrivateDNSSRVRecordParameters struct { Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` // Specifies the Private DNS Zone where the resource exists. Changing this forces a new resource to be created. - // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta1.PrivateDNSZone + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta2.PrivateDNSZone // +kubebuilder:validation:Optional ZoneName *string `json:"zoneName,omitempty" tf:"zone_name,omitempty"` diff --git a/apis/network/v1beta1/zz_privatednstxtrecord_types.go b/apis/network/v1beta1/zz_privatednstxtrecord_types.go index 8fab409c3..d74cf9a61 100755 --- a/apis/network/v1beta1/zz_privatednstxtrecord_types.go +++ b/apis/network/v1beta1/zz_privatednstxtrecord_types.go @@ -80,7 +80,7 @@ type PrivateDNSTXTRecordParameters struct { Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` // Specifies the Private DNS Zone where the resource exists. Changing this forces a new resource to be created. - // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta1.PrivateDNSZone + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta2.PrivateDNSZone // +kubebuilder:validation:Optional ZoneName *string `json:"zoneName,omitempty" tf:"zone_name,omitempty"` diff --git a/apis/network/v1beta1/zz_privatednszonevirtualnetworklink_types.go b/apis/network/v1beta1/zz_privatednszonevirtualnetworklink_types.go index be4781fb5..faa637333 100755 --- a/apis/network/v1beta1/zz_privatednszonevirtualnetworklink_types.go +++ b/apis/network/v1beta1/zz_privatednszonevirtualnetworklink_types.go @@ -23,7 +23,7 @@ type PrivateDNSZoneVirtualNetworkLinkInitParameters struct { Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` // The ID of the Virtual Network that should be linked to the DNS Zone. Changing this forces a new resource to be created. - // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta1.VirtualNetwork + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta2.VirtualNetwork // +crossplane:generate:reference:extractor=github.com/upbound/provider-azure/apis/rconfig.ExtractResourceID() VirtualNetworkID *string `json:"virtualNetworkId,omitempty" tf:"virtual_network_id,omitempty"` @@ -61,7 +61,7 @@ type PrivateDNSZoneVirtualNetworkLinkObservation struct { type PrivateDNSZoneVirtualNetworkLinkParameters struct { // The name of the Private DNS zone (without a terminating dot). Changing this forces a new resource to be created. - // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta1.PrivateDNSZone + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta2.PrivateDNSZone // +kubebuilder:validation:Optional PrivateDNSZoneName *string `json:"privateDnsZoneName,omitempty" tf:"private_dns_zone_name,omitempty"` @@ -96,7 +96,7 @@ type PrivateDNSZoneVirtualNetworkLinkParameters struct { Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` // The ID of the Virtual Network that should be linked to the DNS Zone. Changing this forces a new resource to be created. - // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta1.VirtualNetwork + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta2.VirtualNetwork // +crossplane:generate:reference:extractor=github.com/upbound/provider-azure/apis/rconfig.ExtractResourceID() // +kubebuilder:validation:Optional VirtualNetworkID *string `json:"virtualNetworkId,omitempty" tf:"virtual_network_id,omitempty"` diff --git a/apis/network/v1beta1/zz_privatelinkservice_types.go b/apis/network/v1beta1/zz_privatelinkservice_types.go index 807fd245c..ff2671ee9 100755 --- a/apis/network/v1beta1/zz_privatelinkservice_types.go +++ b/apis/network/v1beta1/zz_privatelinkservice_types.go @@ -28,7 +28,7 @@ type NATIPConfigurationInitParameters struct { PrivateIPAddressVersion *string `json:"privateIpAddressVersion,omitempty" tf:"private_ip_address_version,omitempty"` // Specifies the ID of the Subnet which should be used for the Private Link Service. - // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta1.Subnet + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta2.Subnet // +crossplane:generate:reference:extractor=github.com/upbound/provider-azure/apis/rconfig.ExtractResourceID() SubnetID *string `json:"subnetId,omitempty" tf:"subnet_id,omitempty"` @@ -78,7 +78,7 @@ type NATIPConfigurationParameters struct { PrivateIPAddressVersion *string `json:"privateIpAddressVersion,omitempty" tf:"private_ip_address_version,omitempty"` // Specifies the ID of the Subnet which should be used for the Private Link Service. - // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta1.Subnet + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta2.Subnet // +crossplane:generate:reference:extractor=github.com/upbound/provider-azure/apis/rconfig.ExtractResourceID() // +kubebuilder:validation:Optional SubnetID *string `json:"subnetId,omitempty" tf:"subnet_id,omitempty"` diff --git a/apis/network/v1beta1/zz_subnetnatgatewayassociation_types.go b/apis/network/v1beta1/zz_subnetnatgatewayassociation_types.go index fb06dd96f..515757bbe 100755 --- a/apis/network/v1beta1/zz_subnetnatgatewayassociation_types.go +++ b/apis/network/v1beta1/zz_subnetnatgatewayassociation_types.go @@ -29,7 +29,7 @@ type SubnetNATGatewayAssociationInitParameters struct { NATGatewayIDSelector *v1.Selector `json:"natGatewayIdSelector,omitempty" tf:"-"` // The ID of the Subnet. Changing this forces a new resource to be created. - // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta1.Subnet + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta2.Subnet // +crossplane:generate:reference:extractor=github.com/upbound/provider-azure/apis/rconfig.ExtractResourceID() SubnetID *string `json:"subnetId,omitempty" tf:"subnet_id,omitempty"` @@ -71,7 +71,7 @@ type SubnetNATGatewayAssociationParameters struct { NATGatewayIDSelector *v1.Selector `json:"natGatewayIdSelector,omitempty" tf:"-"` // The ID of the Subnet. Changing this forces a new resource to be created. - // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta1.Subnet + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta2.Subnet // +crossplane:generate:reference:extractor=github.com/upbound/provider-azure/apis/rconfig.ExtractResourceID() // +kubebuilder:validation:Optional SubnetID *string `json:"subnetId,omitempty" tf:"subnet_id,omitempty"` diff --git a/apis/network/v1beta1/zz_subnetnetworksecuritygroupassociation_types.go b/apis/network/v1beta1/zz_subnetnetworksecuritygroupassociation_types.go index 4ecb15660..aad9a8d8b 100755 --- a/apis/network/v1beta1/zz_subnetnetworksecuritygroupassociation_types.go +++ b/apis/network/v1beta1/zz_subnetnetworksecuritygroupassociation_types.go @@ -29,7 +29,7 @@ type SubnetNetworkSecurityGroupAssociationInitParameters struct { NetworkSecurityGroupIDSelector *v1.Selector `json:"networkSecurityGroupIdSelector,omitempty" tf:"-"` // The ID of the Subnet. Changing this forces a new resource to be created. - // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta1.Subnet + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta2.Subnet // +crossplane:generate:reference:extractor=github.com/upbound/provider-azure/apis/rconfig.ExtractResourceID() SubnetID *string `json:"subnetId,omitempty" tf:"subnet_id,omitempty"` @@ -71,7 +71,7 @@ type SubnetNetworkSecurityGroupAssociationParameters struct { NetworkSecurityGroupIDSelector *v1.Selector `json:"networkSecurityGroupIdSelector,omitempty" tf:"-"` // The ID of the Subnet. Changing this forces a new resource to be created. - // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta1.Subnet + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta2.Subnet // +crossplane:generate:reference:extractor=github.com/upbound/provider-azure/apis/rconfig.ExtractResourceID() // +kubebuilder:validation:Optional SubnetID *string `json:"subnetId,omitempty" tf:"subnet_id,omitempty"` diff --git a/apis/network/v1beta1/zz_subnetroutetableassociation_types.go b/apis/network/v1beta1/zz_subnetroutetableassociation_types.go index d8f58e24f..31f64aa17 100755 --- a/apis/network/v1beta1/zz_subnetroutetableassociation_types.go +++ b/apis/network/v1beta1/zz_subnetroutetableassociation_types.go @@ -29,7 +29,7 @@ type SubnetRouteTableAssociationInitParameters struct { RouteTableIDSelector *v1.Selector `json:"routeTableIdSelector,omitempty" tf:"-"` // The ID of the Subnet. Changing this forces a new resource to be created. - // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta1.Subnet + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta2.Subnet // +crossplane:generate:reference:extractor=github.com/upbound/provider-azure/apis/rconfig.ExtractResourceID() SubnetID *string `json:"subnetId,omitempty" tf:"subnet_id,omitempty"` @@ -71,7 +71,7 @@ type SubnetRouteTableAssociationParameters struct { RouteTableIDSelector *v1.Selector `json:"routeTableIdSelector,omitempty" tf:"-"` // The ID of the Subnet. Changing this forces a new resource to be created. - // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta1.Subnet + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta2.Subnet // +crossplane:generate:reference:extractor=github.com/upbound/provider-azure/apis/rconfig.ExtractResourceID() // +kubebuilder:validation:Optional SubnetID *string `json:"subnetId,omitempty" tf:"subnet_id,omitempty"` diff --git a/apis/network/v1beta1/zz_virtualnetworkpeering_types.go b/apis/network/v1beta1/zz_virtualnetworkpeering_types.go index ab33fbe00..87ce1f48c 100755 --- a/apis/network/v1beta1/zz_virtualnetworkpeering_types.go +++ b/apis/network/v1beta1/zz_virtualnetworkpeering_types.go @@ -25,7 +25,7 @@ type VirtualNetworkPeeringInitParameters struct { AllowVirtualNetworkAccess *bool `json:"allowVirtualNetworkAccess,omitempty" tf:"allow_virtual_network_access,omitempty"` // The full Azure resource ID of the remote virtual network. Changing this forces a new resource to be created. - // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta1.VirtualNetwork + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta2.VirtualNetwork // +crossplane:generate:reference:extractor=github.com/upbound/provider-azure/apis/rconfig.ExtractResourceID() RemoteVirtualNetworkID *string `json:"remoteVirtualNetworkId,omitempty" tf:"remote_virtual_network_id,omitempty"` @@ -91,7 +91,7 @@ type VirtualNetworkPeeringParameters struct { AllowVirtualNetworkAccess *bool `json:"allowVirtualNetworkAccess,omitempty" tf:"allow_virtual_network_access,omitempty"` // The full Azure resource ID of the remote virtual network. Changing this forces a new resource to be created. - // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta1.VirtualNetwork + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta2.VirtualNetwork // +crossplane:generate:reference:extractor=github.com/upbound/provider-azure/apis/rconfig.ExtractResourceID() // +kubebuilder:validation:Optional RemoteVirtualNetworkID *string `json:"remoteVirtualNetworkId,omitempty" tf:"remote_virtual_network_id,omitempty"` @@ -127,7 +127,7 @@ type VirtualNetworkPeeringParameters struct { UseRemoteGateways *bool `json:"useRemoteGateways,omitempty" tf:"use_remote_gateways,omitempty"` // The name of the virtual network. Changing this forces a new resource to be created. - // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta1.VirtualNetwork + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta2.VirtualNetwork // +kubebuilder:validation:Optional VirtualNetworkName *string `json:"virtualNetworkName,omitempty" tf:"virtual_network_name,omitempty"` diff --git a/apis/network/v1beta2/zz_applicationgateway_types.go b/apis/network/v1beta2/zz_applicationgateway_types.go index 107ef6c32..90f335102 100755 --- a/apis/network/v1beta2/zz_applicationgateway_types.go +++ b/apis/network/v1beta2/zz_applicationgateway_types.go @@ -823,20 +823,20 @@ type FrontendIPConfigurationInitParameters struct { PrivateLinkConfigurationName *string `json:"privateLinkConfigurationName,omitempty" tf:"private_link_configuration_name,omitempty"` // The ID of a Public IP Address which the Application Gateway should use. The allocation method for the Public IP Address depends on the sku of this Application Gateway. Please refer to the Azure documentation for public IP addresses for details. - // +crossplane:generate:reference:type=PublicIP + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta1.PublicIP // +crossplane:generate:reference:extractor=github.com/upbound/provider-azure/apis/rconfig.ExtractResourceID() PublicIPAddressID *string `json:"publicIpAddressId,omitempty" tf:"public_ip_address_id,omitempty"` - // Reference to a PublicIP to populate publicIpAddressId. + // Reference to a PublicIP in network to populate publicIpAddressId. // +kubebuilder:validation:Optional PublicIPAddressIDRef *v1.Reference `json:"publicIpAddressIdRef,omitempty" tf:"-"` - // Selector for a PublicIP to populate publicIpAddressId. + // Selector for a PublicIP in network to populate publicIpAddressId. // +kubebuilder:validation:Optional PublicIPAddressIDSelector *v1.Selector `json:"publicIpAddressIdSelector,omitempty" tf:"-"` // The ID of the Subnet. - // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta1.Subnet + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta2.Subnet // +crossplane:generate:reference:extractor=github.com/upbound/provider-azure/apis/rconfig.ExtractResourceID() SubnetID *string `json:"subnetId,omitempty" tf:"subnet_id,omitempty"` @@ -895,21 +895,21 @@ type FrontendIPConfigurationParameters struct { PrivateLinkConfigurationName *string `json:"privateLinkConfigurationName,omitempty" tf:"private_link_configuration_name,omitempty"` // The ID of a Public IP Address which the Application Gateway should use. The allocation method for the Public IP Address depends on the sku of this Application Gateway. Please refer to the Azure documentation for public IP addresses for details. - // +crossplane:generate:reference:type=PublicIP + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta1.PublicIP // +crossplane:generate:reference:extractor=github.com/upbound/provider-azure/apis/rconfig.ExtractResourceID() // +kubebuilder:validation:Optional PublicIPAddressID *string `json:"publicIpAddressId,omitempty" tf:"public_ip_address_id,omitempty"` - // Reference to a PublicIP to populate publicIpAddressId. + // Reference to a PublicIP in network to populate publicIpAddressId. // +kubebuilder:validation:Optional PublicIPAddressIDRef *v1.Reference `json:"publicIpAddressIdRef,omitempty" tf:"-"` - // Selector for a PublicIP to populate publicIpAddressId. + // Selector for a PublicIP in network to populate publicIpAddressId. // +kubebuilder:validation:Optional PublicIPAddressIDSelector *v1.Selector `json:"publicIpAddressIdSelector,omitempty" tf:"-"` // The ID of the Subnet. - // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta1.Subnet + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta2.Subnet // +crossplane:generate:reference:extractor=github.com/upbound/provider-azure/apis/rconfig.ExtractResourceID() // +kubebuilder:validation:Optional SubnetID *string `json:"subnetId,omitempty" tf:"subnet_id,omitempty"` @@ -1220,7 +1220,7 @@ type IPConfigurationInitParameters struct { PrivateIPAddressAllocation *string `json:"privateIpAddressAllocation,omitempty" tf:"private_ip_address_allocation,omitempty"` // The ID of the subnet the private link configuration should connect to. - // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta1.Subnet + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta2.Subnet // +crossplane:generate:reference:extractor=github.com/upbound/provider-azure/apis/rconfig.ExtractResourceID() SubnetID *string `json:"subnetId,omitempty" tf:"subnet_id,omitempty"` @@ -1270,7 +1270,7 @@ type IPConfigurationParameters struct { PrivateIPAddressAllocation *string `json:"privateIpAddressAllocation" tf:"private_ip_address_allocation,omitempty"` // The ID of the subnet the private link configuration should connect to. - // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta1.Subnet + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta2.Subnet // +crossplane:generate:reference:extractor=github.com/upbound/provider-azure/apis/rconfig.ExtractResourceID() // +kubebuilder:validation:Optional SubnetID *string `json:"subnetId,omitempty" tf:"subnet_id,omitempty"` diff --git a/apis/network/v1beta2/zz_connectionmonitor_types.go b/apis/network/v1beta2/zz_connectionmonitor_types.go index 7306376d4..9c27dd9bf 100755 --- a/apis/network/v1beta2/zz_connectionmonitor_types.go +++ b/apis/network/v1beta2/zz_connectionmonitor_types.go @@ -82,16 +82,16 @@ type ConnectionMonitorParameters struct { Location *string `json:"location,omitempty" tf:"location,omitempty"` // The ID of the Network Watcher. Changing this forces a new resource to be created. - // +crossplane:generate:reference:type=Watcher + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta1.Watcher // +crossplane:generate:reference:extractor=github.com/upbound/provider-azure/apis/rconfig.ExtractResourceID() // +kubebuilder:validation:Optional NetworkWatcherID *string `json:"networkWatcherId,omitempty" tf:"network_watcher_id,omitempty"` - // Reference to a Watcher to populate networkWatcherId. + // Reference to a Watcher in network to populate networkWatcherId. // +kubebuilder:validation:Optional NetworkWatcherIDRef *v1.Reference `json:"networkWatcherIdRef,omitempty" tf:"-"` - // Selector for a Watcher to populate networkWatcherId. + // Selector for a Watcher in network to populate networkWatcherId. // +kubebuilder:validation:Optional NetworkWatcherIDSelector *v1.Selector `json:"networkWatcherIdSelector,omitempty" tf:"-"` diff --git a/apis/network/v1beta2/zz_expressroutecircuitpeering_types.go b/apis/network/v1beta2/zz_expressroutecircuitpeering_types.go index be68f05eb..9781223c4 100755 --- a/apis/network/v1beta2/zz_expressroutecircuitpeering_types.go +++ b/apis/network/v1beta2/zz_expressroutecircuitpeering_types.go @@ -90,15 +90,15 @@ type ExpressRouteCircuitPeeringObservation struct { type ExpressRouteCircuitPeeringParameters struct { // The name of the ExpressRoute Circuit in which to create the Peering. Changing this forces a new resource to be created. - // +crossplane:generate:reference:type=ExpressRouteCircuit + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta2.ExpressRouteCircuit // +kubebuilder:validation:Optional ExpressRouteCircuitName *string `json:"expressRouteCircuitName,omitempty" tf:"express_route_circuit_name,omitempty"` - // Reference to a ExpressRouteCircuit to populate expressRouteCircuitName. + // Reference to a ExpressRouteCircuit in network to populate expressRouteCircuitName. // +kubebuilder:validation:Optional ExpressRouteCircuitNameRef *v1.Reference `json:"expressRouteCircuitNameRef,omitempty" tf:"-"` - // Selector for a ExpressRouteCircuit to populate expressRouteCircuitName. + // Selector for a ExpressRouteCircuit in network to populate expressRouteCircuitName. // +kubebuilder:validation:Optional ExpressRouteCircuitNameSelector *v1.Selector `json:"expressRouteCircuitNameSelector,omitempty" tf:"-"` diff --git a/apis/network/v1beta2/zz_expressrouteconnection_types.go b/apis/network/v1beta2/zz_expressrouteconnection_types.go index 60f07ff1d..0d869cafa 100755 --- a/apis/network/v1beta2/zz_expressrouteconnection_types.go +++ b/apis/network/v1beta2/zz_expressrouteconnection_types.go @@ -22,15 +22,15 @@ type ExpressRouteConnectionInitParameters struct { EnableInternetSecurity *bool `json:"enableInternetSecurity,omitempty" tf:"enable_internet_security,omitempty"` // The ID of the Express Route Circuit Peering that this Express Route Connection connects with. Changing this forces a new resource to be created. - // +crossplane:generate:reference:type=ExpressRouteCircuitPeering + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta2.ExpressRouteCircuitPeering // +crossplane:generate:reference:extractor=github.com/upbound/provider-azure/apis/rconfig.ExtractResourceID() ExpressRouteCircuitPeeringID *string `json:"expressRouteCircuitPeeringId,omitempty" tf:"express_route_circuit_peering_id,omitempty"` - // Reference to a ExpressRouteCircuitPeering to populate expressRouteCircuitPeeringId. + // Reference to a ExpressRouteCircuitPeering in network to populate expressRouteCircuitPeeringId. // +kubebuilder:validation:Optional ExpressRouteCircuitPeeringIDRef *v1.Reference `json:"expressRouteCircuitPeeringIdRef,omitempty" tf:"-"` - // Selector for a ExpressRouteCircuitPeering to populate expressRouteCircuitPeeringId. + // Selector for a ExpressRouteCircuitPeering in network to populate expressRouteCircuitPeeringId. // +kubebuilder:validation:Optional ExpressRouteCircuitPeeringIDSelector *v1.Selector `json:"expressRouteCircuitPeeringIdSelector,omitempty" tf:"-"` @@ -82,16 +82,16 @@ type ExpressRouteConnectionParameters struct { EnableInternetSecurity *bool `json:"enableInternetSecurity,omitempty" tf:"enable_internet_security,omitempty"` // The ID of the Express Route Circuit Peering that this Express Route Connection connects with. Changing this forces a new resource to be created. - // +crossplane:generate:reference:type=ExpressRouteCircuitPeering + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta2.ExpressRouteCircuitPeering // +crossplane:generate:reference:extractor=github.com/upbound/provider-azure/apis/rconfig.ExtractResourceID() // +kubebuilder:validation:Optional ExpressRouteCircuitPeeringID *string `json:"expressRouteCircuitPeeringId,omitempty" tf:"express_route_circuit_peering_id,omitempty"` - // Reference to a ExpressRouteCircuitPeering to populate expressRouteCircuitPeeringId. + // Reference to a ExpressRouteCircuitPeering in network to populate expressRouteCircuitPeeringId. // +kubebuilder:validation:Optional ExpressRouteCircuitPeeringIDRef *v1.Reference `json:"expressRouteCircuitPeeringIdRef,omitempty" tf:"-"` - // Selector for a ExpressRouteCircuitPeering to populate expressRouteCircuitPeeringId. + // Selector for a ExpressRouteCircuitPeering in network to populate expressRouteCircuitPeeringId. // +kubebuilder:validation:Optional ExpressRouteCircuitPeeringIDSelector *v1.Selector `json:"expressRouteCircuitPeeringIdSelector,omitempty" tf:"-"` @@ -100,16 +100,16 @@ type ExpressRouteConnectionParameters struct { ExpressRouteGatewayBypassEnabled *bool `json:"expressRouteGatewayBypassEnabled,omitempty" tf:"express_route_gateway_bypass_enabled,omitempty"` // The ID of the Express Route Gateway that this Express Route Connection connects with. Changing this forces a new resource to be created. - // +crossplane:generate:reference:type=ExpressRouteGateway + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta1.ExpressRouteGateway // +crossplane:generate:reference:extractor=github.com/upbound/provider-azure/apis/rconfig.ExtractResourceID() // +kubebuilder:validation:Optional ExpressRouteGatewayID *string `json:"expressRouteGatewayId,omitempty" tf:"express_route_gateway_id,omitempty"` - // Reference to a ExpressRouteGateway to populate expressRouteGatewayId. + // Reference to a ExpressRouteGateway in network to populate expressRouteGatewayId. // +kubebuilder:validation:Optional ExpressRouteGatewayIDRef *v1.Reference `json:"expressRouteGatewayIdRef,omitempty" tf:"-"` - // Selector for a ExpressRouteGateway to populate expressRouteGatewayId. + // Selector for a ExpressRouteGateway in network to populate expressRouteGatewayId. // +kubebuilder:validation:Optional ExpressRouteGatewayIDSelector *v1.Selector `json:"expressRouteGatewayIdSelector,omitempty" tf:"-"` diff --git a/apis/network/v1beta2/zz_firewall_types.go b/apis/network/v1beta2/zz_firewall_types.go index c98e1cf68..807b73266 100755 --- a/apis/network/v1beta2/zz_firewall_types.go +++ b/apis/network/v1beta2/zz_firewall_types.go @@ -19,28 +19,28 @@ type FirewallIPConfigurationInitParameters struct { Name *string `json:"name,omitempty" tf:"name,omitempty"` // The ID of the Public IP Address associated with the firewall. - // +crossplane:generate:reference:type=PublicIP + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta1.PublicIP // +crossplane:generate:reference:extractor=github.com/upbound/provider-azure/apis/rconfig.ExtractResourceID() PublicIPAddressID *string `json:"publicIpAddressId,omitempty" tf:"public_ip_address_id,omitempty"` - // Reference to a PublicIP to populate publicIpAddressId. + // Reference to a PublicIP in network to populate publicIpAddressId. // +kubebuilder:validation:Optional PublicIPAddressIDRef *v1.Reference `json:"publicIpAddressIdRef,omitempty" tf:"-"` - // Selector for a PublicIP to populate publicIpAddressId. + // Selector for a PublicIP in network to populate publicIpAddressId. // +kubebuilder:validation:Optional PublicIPAddressIDSelector *v1.Selector `json:"publicIpAddressIdSelector,omitempty" tf:"-"` // Reference to the subnet associated with the IP Configuration. Changing this forces a new resource to be created. - // +crossplane:generate:reference:type=Subnet + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta2.Subnet // +crossplane:generate:reference:extractor=github.com/upbound/provider-azure/apis/rconfig.ExtractResourceID() SubnetID *string `json:"subnetId,omitempty" tf:"subnet_id,omitempty"` - // Reference to a Subnet to populate subnetId. + // Reference to a Subnet in network to populate subnetId. // +kubebuilder:validation:Optional SubnetIDRef *v1.Reference `json:"subnetIdRef,omitempty" tf:"-"` - // Selector for a Subnet to populate subnetId. + // Selector for a Subnet in network to populate subnetId. // +kubebuilder:validation:Optional SubnetIDSelector *v1.Selector `json:"subnetIdSelector,omitempty" tf:"-"` } @@ -67,30 +67,30 @@ type FirewallIPConfigurationParameters struct { Name *string `json:"name" tf:"name,omitempty"` // The ID of the Public IP Address associated with the firewall. - // +crossplane:generate:reference:type=PublicIP + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta1.PublicIP // +crossplane:generate:reference:extractor=github.com/upbound/provider-azure/apis/rconfig.ExtractResourceID() // +kubebuilder:validation:Optional PublicIPAddressID *string `json:"publicIpAddressId,omitempty" tf:"public_ip_address_id,omitempty"` - // Reference to a PublicIP to populate publicIpAddressId. + // Reference to a PublicIP in network to populate publicIpAddressId. // +kubebuilder:validation:Optional PublicIPAddressIDRef *v1.Reference `json:"publicIpAddressIdRef,omitempty" tf:"-"` - // Selector for a PublicIP to populate publicIpAddressId. + // Selector for a PublicIP in network to populate publicIpAddressId. // +kubebuilder:validation:Optional PublicIPAddressIDSelector *v1.Selector `json:"publicIpAddressIdSelector,omitempty" tf:"-"` // Reference to the subnet associated with the IP Configuration. Changing this forces a new resource to be created. - // +crossplane:generate:reference:type=Subnet + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta2.Subnet // +crossplane:generate:reference:extractor=github.com/upbound/provider-azure/apis/rconfig.ExtractResourceID() // +kubebuilder:validation:Optional SubnetID *string `json:"subnetId,omitempty" tf:"subnet_id,omitempty"` - // Reference to a Subnet to populate subnetId. + // Reference to a Subnet in network to populate subnetId. // +kubebuilder:validation:Optional SubnetIDRef *v1.Reference `json:"subnetIdRef,omitempty" tf:"-"` - // Selector for a Subnet to populate subnetId. + // Selector for a Subnet in network to populate subnetId. // +kubebuilder:validation:Optional SubnetIDSelector *v1.Selector `json:"subnetIdSelector,omitempty" tf:"-"` } @@ -271,7 +271,7 @@ type ManagementIPConfigurationInitParameters struct { PublicIPAddressID *string `json:"publicIpAddressId,omitempty" tf:"public_ip_address_id,omitempty"` // Reference to the subnet associated with the IP Configuration. Changing this forces a new resource to be created. - // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta1.Subnet + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta2.Subnet // +crossplane:generate:reference:extractor=github.com/upbound/provider-azure/apis/rconfig.ExtractResourceID() SubnetID *string `json:"subnetId,omitempty" tf:"subnet_id,omitempty"` @@ -310,7 +310,7 @@ type ManagementIPConfigurationParameters struct { PublicIPAddressID *string `json:"publicIpAddressId" tf:"public_ip_address_id,omitempty"` // Reference to the subnet associated with the IP Configuration. Changing this forces a new resource to be created. - // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta1.Subnet + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta2.Subnet // +crossplane:generate:reference:extractor=github.com/upbound/provider-azure/apis/rconfig.ExtractResourceID() // +kubebuilder:validation:Optional SubnetID *string `json:"subnetId,omitempty" tf:"subnet_id,omitempty"` diff --git a/apis/network/v1beta2/zz_frontdoorcustomhttpsconfiguration_types.go b/apis/network/v1beta2/zz_frontdoorcustomhttpsconfiguration_types.go index 6021b5c44..94a944f29 100755 --- a/apis/network/v1beta2/zz_frontdoorcustomhttpsconfiguration_types.go +++ b/apis/network/v1beta2/zz_frontdoorcustomhttpsconfiguration_types.go @@ -22,7 +22,7 @@ type CustomHTTPSConfigurationInitParameters struct { AzureKeyVaultCertificateSecretVersion *string `json:"azureKeyVaultCertificateSecretVersion,omitempty" tf:"azure_key_vault_certificate_secret_version,omitempty"` // The ID of the Key Vault containing the SSL certificate. - // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/keyvault/v1beta1.Key + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/keyvault/v1beta2.Key // +crossplane:generate:reference:extractor=github.com/upbound/provider-azure/apis/rconfig.ExtractResourceID() AzureKeyVaultCertificateVaultID *string `json:"azureKeyVaultCertificateVaultId,omitempty" tf:"azure_key_vault_certificate_vault_id,omitempty"` @@ -71,7 +71,7 @@ type CustomHTTPSConfigurationParameters struct { AzureKeyVaultCertificateSecretVersion *string `json:"azureKeyVaultCertificateSecretVersion,omitempty" tf:"azure_key_vault_certificate_secret_version,omitempty"` // The ID of the Key Vault containing the SSL certificate. - // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/keyvault/v1beta1.Key + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/keyvault/v1beta2.Key // +crossplane:generate:reference:extractor=github.com/upbound/provider-azure/apis/rconfig.ExtractResourceID() // +kubebuilder:validation:Optional AzureKeyVaultCertificateVaultID *string `json:"azureKeyVaultCertificateVaultId,omitempty" tf:"azure_key_vault_certificate_vault_id,omitempty"` diff --git a/apis/network/v1beta2/zz_frontdoorrulesengine_types.go b/apis/network/v1beta2/zz_frontdoorrulesengine_types.go index 23a8152ba..6ba575e38 100755 --- a/apis/network/v1beta2/zz_frontdoorrulesengine_types.go +++ b/apis/network/v1beta2/zz_frontdoorrulesengine_types.go @@ -77,15 +77,15 @@ type FrontdoorRulesEngineParameters struct { Enabled *bool `json:"enabled,omitempty" tf:"enabled,omitempty"` // The name of the Front Door instance. Changing this forces a new resource to be created. - // +crossplane:generate:reference:type=FrontDoor + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta2.FrontDoor // +kubebuilder:validation:Optional FrontdoorName *string `json:"frontdoorName,omitempty" tf:"frontdoor_name,omitempty"` - // Reference to a FrontDoor to populate frontdoorName. + // Reference to a FrontDoor in network to populate frontdoorName. // +kubebuilder:validation:Optional FrontdoorNameRef *v1.Reference `json:"frontdoorNameRef,omitempty" tf:"-"` - // Selector for a FrontDoor to populate frontdoorName. + // Selector for a FrontDoor in network to populate frontdoorName. // +kubebuilder:validation:Optional FrontdoorNameSelector *v1.Selector `json:"frontdoorNameSelector,omitempty" tf:"-"` diff --git a/apis/network/v1beta2/zz_generated.resolvers.go b/apis/network/v1beta2/zz_generated.resolvers.go index f946524b8..9f8a0d4b7 100644 --- a/apis/network/v1beta2/zz_generated.resolvers.go +++ b/apis/network/v1beta2/zz_generated.resolvers.go @@ -30,7 +30,7 @@ func (mg *ApplicationGateway) ResolveReferences( // ResolveReferences of this Ap for i3 := 0; i3 < len(mg.Spec.ForProvider.FrontendIPConfiguration); i3++ { { - m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta2", "PublicIP", "PublicIPList") + m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta1", "PublicIP", "PublicIPList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } @@ -51,7 +51,7 @@ func (mg *ApplicationGateway) ResolveReferences( // ResolveReferences of this Ap } for i3 := 0; i3 < len(mg.Spec.ForProvider.FrontendIPConfiguration); i3++ { { - m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta1", "Subnet", "SubnetList") + m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta2", "Subnet", "SubnetList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } @@ -94,7 +94,7 @@ func (mg *ApplicationGateway) ResolveReferences( // ResolveReferences of this Ap for i3 := 0; i3 < len(mg.Spec.ForProvider.PrivateLinkConfiguration); i3++ { for i4 := 0; i4 < len(mg.Spec.ForProvider.PrivateLinkConfiguration[i3].IPConfiguration); i4++ { { - m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta1", "Subnet", "SubnetList") + m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta2", "Subnet", "SubnetList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } @@ -135,7 +135,7 @@ func (mg *ApplicationGateway) ResolveReferences( // ResolveReferences of this Ap for i3 := 0; i3 < len(mg.Spec.InitProvider.FrontendIPConfiguration); i3++ { { - m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta2", "PublicIP", "PublicIPList") + m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta1", "PublicIP", "PublicIPList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } @@ -156,7 +156,7 @@ func (mg *ApplicationGateway) ResolveReferences( // ResolveReferences of this Ap } for i3 := 0; i3 < len(mg.Spec.InitProvider.FrontendIPConfiguration); i3++ { { - m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta1", "Subnet", "SubnetList") + m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta2", "Subnet", "SubnetList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } @@ -199,7 +199,7 @@ func (mg *ApplicationGateway) ResolveReferences( // ResolveReferences of this Ap for i3 := 0; i3 < len(mg.Spec.InitProvider.PrivateLinkConfiguration); i3++ { for i4 := 0; i4 < len(mg.Spec.InitProvider.PrivateLinkConfiguration[i3].IPConfiguration); i4++ { { - m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta1", "Subnet", "SubnetList") + m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta2", "Subnet", "SubnetList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } @@ -232,7 +232,7 @@ func (mg *ConnectionMonitor) ResolveReferences(ctx context.Context, c client.Rea var rsp reference.ResolutionResponse var err error { - m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta2", "Watcher", "WatcherList") + m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta1", "Watcher", "WatcherList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } @@ -394,7 +394,7 @@ func (mg *ExpressRouteConnection) ResolveReferences(ctx context.Context, c clien mg.Spec.ForProvider.ExpressRouteCircuitPeeringID = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.ExpressRouteCircuitPeeringIDRef = rsp.ResolvedReference { - m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta2", "ExpressRouteGateway", "ExpressRouteGatewayList") + m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta1", "ExpressRouteGateway", "ExpressRouteGatewayList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } @@ -477,7 +477,7 @@ func (mg *Firewall) ResolveReferences(ctx context.Context, c client.Reader) erro for i3 := 0; i3 < len(mg.Spec.ForProvider.IPConfiguration); i3++ { { - m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta2", "PublicIP", "PublicIPList") + m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta1", "PublicIP", "PublicIPList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } @@ -519,7 +519,7 @@ func (mg *Firewall) ResolveReferences(ctx context.Context, c client.Reader) erro } if mg.Spec.ForProvider.ManagementIPConfiguration != nil { { - m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta1", "Subnet", "SubnetList") + m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta2", "Subnet", "SubnetList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } @@ -559,7 +559,7 @@ func (mg *Firewall) ResolveReferences(ctx context.Context, c client.Reader) erro for i3 := 0; i3 < len(mg.Spec.InitProvider.IPConfiguration); i3++ { { - m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta2", "PublicIP", "PublicIPList") + m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta1", "PublicIP", "PublicIPList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } @@ -601,7 +601,7 @@ func (mg *Firewall) ResolveReferences(ctx context.Context, c client.Reader) erro } if mg.Spec.InitProvider.ManagementIPConfiguration != nil { { - m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta1", "Subnet", "SubnetList") + m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta2", "Subnet", "SubnetList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } @@ -697,7 +697,7 @@ func (mg *FrontdoorCustomHTTPSConfiguration) ResolveReferences(ctx context.Conte if mg.Spec.ForProvider.CustomHTTPSConfiguration != nil { { - m, l, err = apisresolver.GetManagedResource("keyvault.azure.upbound.io", "v1beta1", "Key", "KeyList") + m, l, err = apisresolver.GetManagedResource("keyvault.azure.upbound.io", "v1beta2", "Key", "KeyList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } @@ -718,7 +718,7 @@ func (mg *FrontdoorCustomHTTPSConfiguration) ResolveReferences(ctx context.Conte } if mg.Spec.InitProvider.CustomHTTPSConfiguration != nil { { - m, l, err = apisresolver.GetManagedResource("keyvault.azure.upbound.io", "v1beta1", "Key", "KeyList") + m, l, err = apisresolver.GetManagedResource("keyvault.azure.upbound.io", "v1beta2", "Key", "KeyList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } @@ -862,7 +862,7 @@ func (mg *PacketCapture) ResolveReferences(ctx context.Context, c client.Reader) var rsp reference.ResolutionResponse var err error { - m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta2", "Watcher", "WatcherList") + m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta1", "Watcher", "WatcherList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } @@ -902,7 +902,7 @@ func (mg *PacketCapture) ResolveReferences(ctx context.Context, c client.Reader) if mg.Spec.ForProvider.StorageLocation != nil { { - m, l, err = apisresolver.GetManagedResource("storage.azure.upbound.io", "v1beta1", "Account", "AccountList") + m, l, err = apisresolver.GetManagedResource("storage.azure.upbound.io", "v1beta2", "Account", "AccountList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } @@ -923,7 +923,7 @@ func (mg *PacketCapture) ResolveReferences(ctx context.Context, c client.Reader) } if mg.Spec.InitProvider.StorageLocation != nil { { - m, l, err = apisresolver.GetManagedResource("storage.azure.upbound.io", "v1beta1", "Account", "AccountList") + m, l, err = apisresolver.GetManagedResource("storage.azure.upbound.io", "v1beta2", "Account", "AccountList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } @@ -993,7 +993,7 @@ func (mg *PointToSiteVPNGateway) ResolveReferences(ctx context.Context, c client mg.Spec.ForProvider.VPNServerConfigurationID = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.VPNServerConfigurationIDRef = rsp.ResolvedReference { - m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta2", "VirtualHub", "VirtualHubList") + m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta1", "VirtualHub", "VirtualHubList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } @@ -1031,7 +1031,7 @@ func (mg *PointToSiteVPNGateway) ResolveReferences(ctx context.Context, c client mg.Spec.InitProvider.VPNServerConfigurationID = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.InitProvider.VPNServerConfigurationIDRef = rsp.ResolvedReference { - m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta2", "VirtualHub", "VirtualHubList") + m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta1", "VirtualHub", "VirtualHubList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } @@ -2006,7 +2006,7 @@ func (mg *WatcherFlowLog) ResolveReferences(ctx context.Context, c client.Reader var rsp reference.ResolutionResponse var err error { - m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta2", "SecurityGroup", "SecurityGroupList") + m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta1", "SecurityGroup", "SecurityGroupList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } @@ -2025,7 +2025,7 @@ func (mg *WatcherFlowLog) ResolveReferences(ctx context.Context, c client.Reader mg.Spec.ForProvider.NetworkSecurityGroupID = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.NetworkSecurityGroupIDRef = rsp.ResolvedReference { - m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta2", "Watcher", "WatcherList") + m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta1", "Watcher", "WatcherList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } @@ -2063,7 +2063,7 @@ func (mg *WatcherFlowLog) ResolveReferences(ctx context.Context, c client.Reader mg.Spec.ForProvider.ResourceGroupName = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.ResourceGroupNameRef = rsp.ResolvedReference { - m, l, err = apisresolver.GetManagedResource("storage.azure.upbound.io", "v1beta1", "Account", "AccountList") + m, l, err = apisresolver.GetManagedResource("storage.azure.upbound.io", "v1beta2", "Account", "AccountList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } @@ -2125,7 +2125,7 @@ func (mg *WatcherFlowLog) ResolveReferences(ctx context.Context, c client.Reader } { - m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta2", "SecurityGroup", "SecurityGroupList") + m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta1", "SecurityGroup", "SecurityGroupList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } @@ -2143,7 +2143,7 @@ func (mg *WatcherFlowLog) ResolveReferences(ctx context.Context, c client.Reader mg.Spec.InitProvider.NetworkSecurityGroupID = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.InitProvider.NetworkSecurityGroupIDRef = rsp.ResolvedReference { - m, l, err = apisresolver.GetManagedResource("storage.azure.upbound.io", "v1beta1", "Account", "AccountList") + m, l, err = apisresolver.GetManagedResource("storage.azure.upbound.io", "v1beta2", "Account", "AccountList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } diff --git a/apis/network/v1beta2/zz_packetcapture_types.go b/apis/network/v1beta2/zz_packetcapture_types.go index 6b80314c4..e80acc056 100755 --- a/apis/network/v1beta2/zz_packetcapture_types.go +++ b/apis/network/v1beta2/zz_packetcapture_types.go @@ -142,15 +142,15 @@ type PacketCaptureParameters struct { MaximumCaptureDuration *float64 `json:"maximumCaptureDuration,omitempty" tf:"maximum_capture_duration,omitempty"` // The name of the Network Watcher. Changing this forces a new resource to be created. - // +crossplane:generate:reference:type=Watcher + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta1.Watcher // +kubebuilder:validation:Optional NetworkWatcherName *string `json:"networkWatcherName,omitempty" tf:"network_watcher_name,omitempty"` - // Reference to a Watcher to populate networkWatcherName. + // Reference to a Watcher in network to populate networkWatcherName. // +kubebuilder:validation:Optional NetworkWatcherNameRef *v1.Reference `json:"networkWatcherNameRef,omitempty" tf:"-"` - // Selector for a Watcher to populate networkWatcherName. + // Selector for a Watcher in network to populate networkWatcherName. // +kubebuilder:validation:Optional NetworkWatcherNameSelector *v1.Selector `json:"networkWatcherNameSelector,omitempty" tf:"-"` @@ -182,7 +182,7 @@ type StorageLocationInitParameters struct { FilePath *string `json:"filePath,omitempty" tf:"file_path,omitempty"` // The ID of the storage account to save the packet capture session - // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/storage/v1beta1.Account + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/storage/v1beta2.Account // +crossplane:generate:reference:extractor=github.com/upbound/provider-azure/apis/rconfig.ExtractResourceID() StorageAccountID *string `json:"storageAccountId,omitempty" tf:"storage_account_id,omitempty"` @@ -214,7 +214,7 @@ type StorageLocationParameters struct { FilePath *string `json:"filePath,omitempty" tf:"file_path,omitempty"` // The ID of the storage account to save the packet capture session - // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/storage/v1beta1.Account + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/storage/v1beta2.Account // +crossplane:generate:reference:extractor=github.com/upbound/provider-azure/apis/rconfig.ExtractResourceID() // +kubebuilder:validation:Optional StorageAccountID *string `json:"storageAccountId,omitempty" tf:"storage_account_id,omitempty"` diff --git a/apis/network/v1beta2/zz_pointtositevpngateway_types.go b/apis/network/v1beta2/zz_pointtositevpngateway_types.go index a85bdc703..a45d6a98a 100755 --- a/apis/network/v1beta2/zz_pointtositevpngateway_types.go +++ b/apis/network/v1beta2/zz_pointtositevpngateway_types.go @@ -84,28 +84,28 @@ type PointToSiteVPNGatewayInitParameters struct { Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` // The ID of the VPN Server Configuration which this Point-to-Site VPN Gateway should use. Changing this forces a new resource to be created. - // +crossplane:generate:reference:type=VPNServerConfiguration + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta2.VPNServerConfiguration // +crossplane:generate:reference:extractor=github.com/upbound/provider-azure/apis/rconfig.ExtractResourceID() VPNServerConfigurationID *string `json:"vpnServerConfigurationId,omitempty" tf:"vpn_server_configuration_id,omitempty"` - // Reference to a VPNServerConfiguration to populate vpnServerConfigurationId. + // Reference to a VPNServerConfiguration in network to populate vpnServerConfigurationId. // +kubebuilder:validation:Optional VPNServerConfigurationIDRef *v1.Reference `json:"vpnServerConfigurationIdRef,omitempty" tf:"-"` - // Selector for a VPNServerConfiguration to populate vpnServerConfigurationId. + // Selector for a VPNServerConfiguration in network to populate vpnServerConfigurationId. // +kubebuilder:validation:Optional VPNServerConfigurationIDSelector *v1.Selector `json:"vpnServerConfigurationIdSelector,omitempty" tf:"-"` // The ID of the Virtual Hub where this Point-to-Site VPN Gateway should exist. Changing this forces a new resource to be created. - // +crossplane:generate:reference:type=VirtualHub + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta1.VirtualHub // +crossplane:generate:reference:extractor=github.com/upbound/provider-azure/apis/rconfig.ExtractResourceID() VirtualHubID *string `json:"virtualHubId,omitempty" tf:"virtual_hub_id,omitempty"` - // Reference to a VirtualHub to populate virtualHubId. + // Reference to a VirtualHub in network to populate virtualHubId. // +kubebuilder:validation:Optional VirtualHubIDRef *v1.Reference `json:"virtualHubIdRef,omitempty" tf:"-"` - // Selector for a VirtualHub to populate virtualHubId. + // Selector for a VirtualHub in network to populate virtualHubId. // +kubebuilder:validation:Optional VirtualHubIDSelector *v1.Selector `json:"virtualHubIdSelector,omitempty" tf:"-"` } @@ -185,30 +185,30 @@ type PointToSiteVPNGatewayParameters struct { Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` // The ID of the VPN Server Configuration which this Point-to-Site VPN Gateway should use. Changing this forces a new resource to be created. - // +crossplane:generate:reference:type=VPNServerConfiguration + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta2.VPNServerConfiguration // +crossplane:generate:reference:extractor=github.com/upbound/provider-azure/apis/rconfig.ExtractResourceID() // +kubebuilder:validation:Optional VPNServerConfigurationID *string `json:"vpnServerConfigurationId,omitempty" tf:"vpn_server_configuration_id,omitempty"` - // Reference to a VPNServerConfiguration to populate vpnServerConfigurationId. + // Reference to a VPNServerConfiguration in network to populate vpnServerConfigurationId. // +kubebuilder:validation:Optional VPNServerConfigurationIDRef *v1.Reference `json:"vpnServerConfigurationIdRef,omitempty" tf:"-"` - // Selector for a VPNServerConfiguration to populate vpnServerConfigurationId. + // Selector for a VPNServerConfiguration in network to populate vpnServerConfigurationId. // +kubebuilder:validation:Optional VPNServerConfigurationIDSelector *v1.Selector `json:"vpnServerConfigurationIdSelector,omitempty" tf:"-"` // The ID of the Virtual Hub where this Point-to-Site VPN Gateway should exist. Changing this forces a new resource to be created. - // +crossplane:generate:reference:type=VirtualHub + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta1.VirtualHub // +crossplane:generate:reference:extractor=github.com/upbound/provider-azure/apis/rconfig.ExtractResourceID() // +kubebuilder:validation:Optional VirtualHubID *string `json:"virtualHubId,omitempty" tf:"virtual_hub_id,omitempty"` - // Reference to a VirtualHub to populate virtualHubId. + // Reference to a VirtualHub in network to populate virtualHubId. // +kubebuilder:validation:Optional VirtualHubIDRef *v1.Reference `json:"virtualHubIdRef,omitempty" tf:"-"` - // Selector for a VirtualHub to populate virtualHubId. + // Selector for a VirtualHub in network to populate virtualHubId. // +kubebuilder:validation:Optional VirtualHubIDSelector *v1.Selector `json:"virtualHubIdSelector,omitempty" tf:"-"` } diff --git a/apis/network/v1beta2/zz_privateendpoint_types.go b/apis/network/v1beta2/zz_privateendpoint_types.go index fc8655c14..85fb5b100 100755 --- a/apis/network/v1beta2/zz_privateendpoint_types.go +++ b/apis/network/v1beta2/zz_privateendpoint_types.go @@ -70,15 +70,15 @@ type PrivateDNSZoneGroupInitParameters struct { Name *string `json:"name,omitempty" tf:"name,omitempty"` // Specifies the list of Private DNS Zones to include within the private_dns_zone_group. - // +crossplane:generate:reference:type=PrivateDNSZone + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta2.PrivateDNSZone // +crossplane:generate:reference:extractor=github.com/upbound/provider-azure/apis/rconfig.ExtractResourceID() PrivateDNSZoneIds []*string `json:"privateDnsZoneIds,omitempty" tf:"private_dns_zone_ids,omitempty"` - // References to PrivateDNSZone to populate privateDnsZoneIds. + // References to PrivateDNSZone in network to populate privateDnsZoneIds. // +kubebuilder:validation:Optional PrivateDNSZoneIdsRefs []v1.Reference `json:"privateDnsZoneIdsRefs,omitempty" tf:"-"` - // Selector for a list of PrivateDNSZone to populate privateDnsZoneIds. + // Selector for a list of PrivateDNSZone in network to populate privateDnsZoneIds. // +kubebuilder:validation:Optional PrivateDNSZoneIdsSelector *v1.Selector `json:"privateDnsZoneIdsSelector,omitempty" tf:"-"` } @@ -102,16 +102,16 @@ type PrivateDNSZoneGroupParameters struct { Name *string `json:"name" tf:"name,omitempty"` // Specifies the list of Private DNS Zones to include within the private_dns_zone_group. - // +crossplane:generate:reference:type=PrivateDNSZone + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta2.PrivateDNSZone // +crossplane:generate:reference:extractor=github.com/upbound/provider-azure/apis/rconfig.ExtractResourceID() // +kubebuilder:validation:Optional PrivateDNSZoneIds []*string `json:"privateDnsZoneIds,omitempty" tf:"private_dns_zone_ids,omitempty"` - // References to PrivateDNSZone to populate privateDnsZoneIds. + // References to PrivateDNSZone in network to populate privateDnsZoneIds. // +kubebuilder:validation:Optional PrivateDNSZoneIdsRefs []v1.Reference `json:"privateDnsZoneIdsRefs,omitempty" tf:"-"` - // Selector for a list of PrivateDNSZone to populate privateDnsZoneIds. + // Selector for a list of PrivateDNSZone in network to populate privateDnsZoneIds. // +kubebuilder:validation:Optional PrivateDNSZoneIdsSelector *v1.Selector `json:"privateDnsZoneIdsSelector,omitempty" tf:"-"` } diff --git a/apis/network/v1beta2/zz_profile_types.go b/apis/network/v1beta2/zz_profile_types.go index 551bf920b..6b99aa387 100755 --- a/apis/network/v1beta2/zz_profile_types.go +++ b/apis/network/v1beta2/zz_profile_types.go @@ -19,15 +19,15 @@ type ContainerNetworkInterfaceIPConfigurationInitParameters struct { Name *string `json:"name,omitempty" tf:"name,omitempty"` // Reference to the subnet associated with the IP Configuration. - // +crossplane:generate:reference:type=Subnet + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta2.Subnet // +crossplane:generate:reference:extractor=github.com/upbound/provider-azure/apis/rconfig.ExtractResourceID() SubnetID *string `json:"subnetId,omitempty" tf:"subnet_id,omitempty"` - // Reference to a Subnet to populate subnetId. + // Reference to a Subnet in network to populate subnetId. // +kubebuilder:validation:Optional SubnetIDRef *v1.Reference `json:"subnetIdRef,omitempty" tf:"-"` - // Selector for a Subnet to populate subnetId. + // Selector for a Subnet in network to populate subnetId. // +kubebuilder:validation:Optional SubnetIDSelector *v1.Selector `json:"subnetIdSelector,omitempty" tf:"-"` } @@ -48,16 +48,16 @@ type ContainerNetworkInterfaceIPConfigurationParameters struct { Name *string `json:"name" tf:"name,omitempty"` // Reference to the subnet associated with the IP Configuration. - // +crossplane:generate:reference:type=Subnet + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta2.Subnet // +crossplane:generate:reference:extractor=github.com/upbound/provider-azure/apis/rconfig.ExtractResourceID() // +kubebuilder:validation:Optional SubnetID *string `json:"subnetId,omitempty" tf:"subnet_id,omitempty"` - // Reference to a Subnet to populate subnetId. + // Reference to a Subnet in network to populate subnetId. // +kubebuilder:validation:Optional SubnetIDRef *v1.Reference `json:"subnetIdRef,omitempty" tf:"-"` - // Selector for a Subnet to populate subnetId. + // Selector for a Subnet in network to populate subnetId. // +kubebuilder:validation:Optional SubnetIDSelector *v1.Selector `json:"subnetIdSelector,omitempty" tf:"-"` } diff --git a/apis/network/v1beta2/zz_subnet_types.go b/apis/network/v1beta2/zz_subnet_types.go index c08c1b6ee..8b26104ea 100755 --- a/apis/network/v1beta2/zz_subnet_types.go +++ b/apis/network/v1beta2/zz_subnet_types.go @@ -182,15 +182,15 @@ type SubnetParameters struct { ServiceEndpoints []*string `json:"serviceEndpoints,omitempty" tf:"service_endpoints,omitempty"` // The name of the virtual network to which to attach the subnet. Changing this forces a new resource to be created. - // +crossplane:generate:reference:type=VirtualNetwork + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta2.VirtualNetwork // +kubebuilder:validation:Optional VirtualNetworkName *string `json:"virtualNetworkName,omitempty" tf:"virtual_network_name,omitempty"` - // Reference to a VirtualNetwork to populate virtualNetworkName. + // Reference to a VirtualNetwork in network to populate virtualNetworkName. // +kubebuilder:validation:Optional VirtualNetworkNameRef *v1.Reference `json:"virtualNetworkNameRef,omitempty" tf:"-"` - // Selector for a VirtualNetwork to populate virtualNetworkName. + // Selector for a VirtualNetwork in network to populate virtualNetworkName. // +kubebuilder:validation:Optional VirtualNetworkNameSelector *v1.Selector `json:"virtualNetworkNameSelector,omitempty" tf:"-"` } diff --git a/apis/network/v1beta2/zz_virtualnetworkgateway_types.go b/apis/network/v1beta2/zz_virtualnetworkgateway_types.go index 56ce43c1d..34a153ffb 100755 --- a/apis/network/v1beta2/zz_virtualnetworkgateway_types.go +++ b/apis/network/v1beta2/zz_virtualnetworkgateway_types.go @@ -598,15 +598,15 @@ type VirtualNetworkGatewayIPConfigurationInitParameters struct { PublicIPAddressIDSelector *v1.Selector `json:"publicIpAddressIdSelector,omitempty" tf:"-"` // The ID of the gateway subnet of a virtual network in which the virtual network gateway will be created. It is mandatory that the associated subnet is named GatewaySubnet. Therefore, each virtual network can contain at most a single Virtual Network Gateway. - // +crossplane:generate:reference:type=Subnet + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta2.Subnet // +crossplane:generate:reference:extractor=github.com/upbound/provider-azure/apis/rconfig.ExtractResourceID() SubnetID *string `json:"subnetId,omitempty" tf:"subnet_id,omitempty"` - // Reference to a Subnet to populate subnetId. + // Reference to a Subnet in network to populate subnetId. // +kubebuilder:validation:Optional SubnetIDRef *v1.Reference `json:"subnetIdRef,omitempty" tf:"-"` - // Selector for a Subnet to populate subnetId. + // Selector for a Subnet in network to populate subnetId. // +kubebuilder:validation:Optional SubnetIDSelector *v1.Selector `json:"subnetIdSelector,omitempty" tf:"-"` } @@ -651,16 +651,16 @@ type VirtualNetworkGatewayIPConfigurationParameters struct { PublicIPAddressIDSelector *v1.Selector `json:"publicIpAddressIdSelector,omitempty" tf:"-"` // The ID of the gateway subnet of a virtual network in which the virtual network gateway will be created. It is mandatory that the associated subnet is named GatewaySubnet. Therefore, each virtual network can contain at most a single Virtual Network Gateway. - // +crossplane:generate:reference:type=Subnet + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta2.Subnet // +crossplane:generate:reference:extractor=github.com/upbound/provider-azure/apis/rconfig.ExtractResourceID() // +kubebuilder:validation:Optional SubnetID *string `json:"subnetId,omitempty" tf:"subnet_id,omitempty"` - // Reference to a Subnet to populate subnetId. + // Reference to a Subnet in network to populate subnetId. // +kubebuilder:validation:Optional SubnetIDRef *v1.Reference `json:"subnetIdRef,omitempty" tf:"-"` - // Selector for a Subnet to populate subnetId. + // Selector for a Subnet in network to populate subnetId. // +kubebuilder:validation:Optional SubnetIDSelector *v1.Selector `json:"subnetIdSelector,omitempty" tf:"-"` } diff --git a/apis/network/v1beta2/zz_virtualnetworkgatewayconnection_types.go b/apis/network/v1beta2/zz_virtualnetworkgatewayconnection_types.go index e89259c57..299b20669 100755 --- a/apis/network/v1beta2/zz_virtualnetworkgatewayconnection_types.go +++ b/apis/network/v1beta2/zz_virtualnetworkgatewayconnection_types.go @@ -130,15 +130,15 @@ type VirtualNetworkGatewayConnectionInitParameters struct { Location *string `json:"location,omitempty" tf:"location,omitempty"` // The ID of the peer virtual network gateway when creating a VNet-to-VNet connection (i.e. when type is Vnet2Vnet). The peer Virtual Network Gateway can be in the same or in a different subscription. Changing this forces a new resource to be created. - // +crossplane:generate:reference:type=VirtualNetworkGateway + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta2.VirtualNetworkGateway // +crossplane:generate:reference:extractor=github.com/upbound/provider-azure/apis/rconfig.ExtractResourceID() PeerVirtualNetworkGatewayID *string `json:"peerVirtualNetworkGatewayId,omitempty" tf:"peer_virtual_network_gateway_id,omitempty"` - // Reference to a VirtualNetworkGateway to populate peerVirtualNetworkGatewayId. + // Reference to a VirtualNetworkGateway in network to populate peerVirtualNetworkGatewayId. // +kubebuilder:validation:Optional PeerVirtualNetworkGatewayIDRef *v1.Reference `json:"peerVirtualNetworkGatewayIdRef,omitempty" tf:"-"` - // Selector for a VirtualNetworkGateway to populate peerVirtualNetworkGatewayId. + // Selector for a VirtualNetworkGateway in network to populate peerVirtualNetworkGatewayId. // +kubebuilder:validation:Optional PeerVirtualNetworkGatewayIDSelector *v1.Selector `json:"peerVirtualNetworkGatewayIdSelector,omitempty" tf:"-"` @@ -161,15 +161,15 @@ type VirtualNetworkGatewayConnectionInitParameters struct { UsePolicyBasedTrafficSelectors *bool `json:"usePolicyBasedTrafficSelectors,omitempty" tf:"use_policy_based_traffic_selectors,omitempty"` // The ID of the Virtual Network Gateway in which the connection will be created. Changing this forces a new resource to be created. - // +crossplane:generate:reference:type=VirtualNetworkGateway + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta2.VirtualNetworkGateway // +crossplane:generate:reference:extractor=github.com/upbound/provider-azure/apis/rconfig.ExtractResourceID() VirtualNetworkGatewayID *string `json:"virtualNetworkGatewayId,omitempty" tf:"virtual_network_gateway_id,omitempty"` - // Reference to a VirtualNetworkGateway to populate virtualNetworkGatewayId. + // Reference to a VirtualNetworkGateway in network to populate virtualNetworkGatewayId. // +kubebuilder:validation:Optional VirtualNetworkGatewayIDRef *v1.Reference `json:"virtualNetworkGatewayIdRef,omitempty" tf:"-"` - // Selector for a VirtualNetworkGateway to populate virtualNetworkGatewayId. + // Selector for a VirtualNetworkGateway in network to populate virtualNetworkGatewayId. // +kubebuilder:validation:Optional VirtualNetworkGatewayIDSelector *v1.Selector `json:"virtualNetworkGatewayIdSelector,omitempty" tf:"-"` } @@ -424,16 +424,16 @@ type VirtualNetworkGatewayConnectionParameters struct { Location *string `json:"location,omitempty" tf:"location,omitempty"` // The ID of the peer virtual network gateway when creating a VNet-to-VNet connection (i.e. when type is Vnet2Vnet). The peer Virtual Network Gateway can be in the same or in a different subscription. Changing this forces a new resource to be created. - // +crossplane:generate:reference:type=VirtualNetworkGateway + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta2.VirtualNetworkGateway // +crossplane:generate:reference:extractor=github.com/upbound/provider-azure/apis/rconfig.ExtractResourceID() // +kubebuilder:validation:Optional PeerVirtualNetworkGatewayID *string `json:"peerVirtualNetworkGatewayId,omitempty" tf:"peer_virtual_network_gateway_id,omitempty"` - // Reference to a VirtualNetworkGateway to populate peerVirtualNetworkGatewayId. + // Reference to a VirtualNetworkGateway in network to populate peerVirtualNetworkGatewayId. // +kubebuilder:validation:Optional PeerVirtualNetworkGatewayIDRef *v1.Reference `json:"peerVirtualNetworkGatewayIdRef,omitempty" tf:"-"` - // Selector for a VirtualNetworkGateway to populate peerVirtualNetworkGatewayId. + // Selector for a VirtualNetworkGateway in network to populate peerVirtualNetworkGatewayId. // +kubebuilder:validation:Optional PeerVirtualNetworkGatewayIDSelector *v1.Selector `json:"peerVirtualNetworkGatewayIdSelector,omitempty" tf:"-"` @@ -478,16 +478,16 @@ type VirtualNetworkGatewayConnectionParameters struct { UsePolicyBasedTrafficSelectors *bool `json:"usePolicyBasedTrafficSelectors,omitempty" tf:"use_policy_based_traffic_selectors,omitempty"` // The ID of the Virtual Network Gateway in which the connection will be created. Changing this forces a new resource to be created. - // +crossplane:generate:reference:type=VirtualNetworkGateway + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta2.VirtualNetworkGateway // +crossplane:generate:reference:extractor=github.com/upbound/provider-azure/apis/rconfig.ExtractResourceID() // +kubebuilder:validation:Optional VirtualNetworkGatewayID *string `json:"virtualNetworkGatewayId,omitempty" tf:"virtual_network_gateway_id,omitempty"` - // Reference to a VirtualNetworkGateway to populate virtualNetworkGatewayId. + // Reference to a VirtualNetworkGateway in network to populate virtualNetworkGatewayId. // +kubebuilder:validation:Optional VirtualNetworkGatewayIDRef *v1.Reference `json:"virtualNetworkGatewayIdRef,omitempty" tf:"-"` - // Selector for a VirtualNetworkGateway to populate virtualNetworkGatewayId. + // Selector for a VirtualNetworkGateway in network to populate virtualNetworkGatewayId. // +kubebuilder:validation:Optional VirtualNetworkGatewayIDSelector *v1.Selector `json:"virtualNetworkGatewayIdSelector,omitempty" tf:"-"` } diff --git a/apis/network/v1beta2/zz_watcherflowlog_types.go b/apis/network/v1beta2/zz_watcherflowlog_types.go index e6cb67989..dc2b23f2e 100755 --- a/apis/network/v1beta2/zz_watcherflowlog_types.go +++ b/apis/network/v1beta2/zz_watcherflowlog_types.go @@ -150,15 +150,15 @@ type WatcherFlowLogInitParameters struct { Location *string `json:"location,omitempty" tf:"location,omitempty"` // The ID of the Network Security Group for which to enable flow logs for. Changing this forces a new resource to be created. - // +crossplane:generate:reference:type=SecurityGroup + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta1.SecurityGroup // +crossplane:generate:reference:extractor=github.com/upbound/provider-azure/apis/rconfig.ExtractResourceID() NetworkSecurityGroupID *string `json:"networkSecurityGroupId,omitempty" tf:"network_security_group_id,omitempty"` - // Reference to a SecurityGroup to populate networkSecurityGroupId. + // Reference to a SecurityGroup in network to populate networkSecurityGroupId. // +kubebuilder:validation:Optional NetworkSecurityGroupIDRef *v1.Reference `json:"networkSecurityGroupIdRef,omitempty" tf:"-"` - // Selector for a SecurityGroup to populate networkSecurityGroupId. + // Selector for a SecurityGroup in network to populate networkSecurityGroupId. // +kubebuilder:validation:Optional NetworkSecurityGroupIDSelector *v1.Selector `json:"networkSecurityGroupIdSelector,omitempty" tf:"-"` @@ -166,7 +166,7 @@ type WatcherFlowLogInitParameters struct { RetentionPolicy *RetentionPolicyInitParameters `json:"retentionPolicy,omitempty" tf:"retention_policy,omitempty"` // The ID of the Storage Account where flow logs are stored. - // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/storage/v1beta1.Account + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/storage/v1beta2.Account // +crossplane:generate:reference:extractor=github.com/upbound/provider-azure/apis/rconfig.ExtractResourceID() StorageAccountID *string `json:"storageAccountId,omitempty" tf:"storage_account_id,omitempty"` @@ -237,29 +237,29 @@ type WatcherFlowLogParameters struct { Location *string `json:"location,omitempty" tf:"location,omitempty"` // The ID of the Network Security Group for which to enable flow logs for. Changing this forces a new resource to be created. - // +crossplane:generate:reference:type=SecurityGroup + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta1.SecurityGroup // +crossplane:generate:reference:extractor=github.com/upbound/provider-azure/apis/rconfig.ExtractResourceID() // +kubebuilder:validation:Optional NetworkSecurityGroupID *string `json:"networkSecurityGroupId,omitempty" tf:"network_security_group_id,omitempty"` - // Reference to a SecurityGroup to populate networkSecurityGroupId. + // Reference to a SecurityGroup in network to populate networkSecurityGroupId. // +kubebuilder:validation:Optional NetworkSecurityGroupIDRef *v1.Reference `json:"networkSecurityGroupIdRef,omitempty" tf:"-"` - // Selector for a SecurityGroup to populate networkSecurityGroupId. + // Selector for a SecurityGroup in network to populate networkSecurityGroupId. // +kubebuilder:validation:Optional NetworkSecurityGroupIDSelector *v1.Selector `json:"networkSecurityGroupIdSelector,omitempty" tf:"-"` // The name of the Network Watcher. Changing this forces a new resource to be created. - // +crossplane:generate:reference:type=Watcher + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta1.Watcher // +kubebuilder:validation:Optional NetworkWatcherName *string `json:"networkWatcherName,omitempty" tf:"network_watcher_name,omitempty"` - // Reference to a Watcher to populate networkWatcherName. + // Reference to a Watcher in network to populate networkWatcherName. // +kubebuilder:validation:Optional NetworkWatcherNameRef *v1.Reference `json:"networkWatcherNameRef,omitempty" tf:"-"` - // Selector for a Watcher to populate networkWatcherName. + // Selector for a Watcher in network to populate networkWatcherName. // +kubebuilder:validation:Optional NetworkWatcherNameSelector *v1.Selector `json:"networkWatcherNameSelector,omitempty" tf:"-"` @@ -281,7 +281,7 @@ type WatcherFlowLogParameters struct { RetentionPolicy *RetentionPolicyParameters `json:"retentionPolicy,omitempty" tf:"retention_policy,omitempty"` // The ID of the Storage Account where flow logs are stored. - // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/storage/v1beta1.Account + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/storage/v1beta2.Account // +crossplane:generate:reference:extractor=github.com/upbound/provider-azure/apis/rconfig.ExtractResourceID() // +kubebuilder:validation:Optional StorageAccountID *string `json:"storageAccountId,omitempty" tf:"storage_account_id,omitempty"` diff --git a/apis/operationalinsights/v1beta1/zz_generated.resolvers.go b/apis/operationalinsights/v1beta1/zz_generated.resolvers.go index b6c6e7072..048e10488 100644 --- a/apis/operationalinsights/v1beta1/zz_generated.resolvers.go +++ b/apis/operationalinsights/v1beta1/zz_generated.resolvers.go @@ -362,7 +362,7 @@ func (mg *LogAnalyticsLinkedStorageAccount) ResolveReferences(ctx context.Contex mg.Spec.ForProvider.ResourceGroupName = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.ResourceGroupNameRef = rsp.ResolvedReference { - m, l, err = apisresolver.GetManagedResource("storage.azure.upbound.io", "v1beta1", "Account", "AccountList") + m, l, err = apisresolver.GetManagedResource("storage.azure.upbound.io", "v1beta2", "Account", "AccountList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } @@ -419,7 +419,7 @@ func (mg *LogAnalyticsLinkedStorageAccount) ResolveReferences(ctx context.Contex mg.Spec.InitProvider.ResourceGroupName = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.InitProvider.ResourceGroupNameRef = rsp.ResolvedReference { - m, l, err = apisresolver.GetManagedResource("storage.azure.upbound.io", "v1beta1", "Account", "AccountList") + m, l, err = apisresolver.GetManagedResource("storage.azure.upbound.io", "v1beta2", "Account", "AccountList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } diff --git a/apis/operationalinsights/v1beta1/zz_loganalyticslinkedstorageaccount_types.go b/apis/operationalinsights/v1beta1/zz_loganalyticslinkedstorageaccount_types.go index 8e82d5f40..da3d0db59 100755 --- a/apis/operationalinsights/v1beta1/zz_loganalyticslinkedstorageaccount_types.go +++ b/apis/operationalinsights/v1beta1/zz_loganalyticslinkedstorageaccount_types.go @@ -31,7 +31,7 @@ type LogAnalyticsLinkedStorageAccountInitParameters struct { ResourceGroupNameSelector *v1.Selector `json:"resourceGroupNameSelector,omitempty" tf:"-"` // The storage account resource ids to be linked. - // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/storage/v1beta1.Account + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/storage/v1beta2.Account // +crossplane:generate:reference:extractor=github.com/upbound/provider-azure/apis/rconfig.ExtractResourceID() // +listType=set StorageAccountIds []*string `json:"storageAccountIds,omitempty" tf:"storage_account_ids,omitempty"` @@ -97,7 +97,7 @@ type LogAnalyticsLinkedStorageAccountParameters struct { ResourceGroupNameSelector *v1.Selector `json:"resourceGroupNameSelector,omitempty" tf:"-"` // The storage account resource ids to be linked. - // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/storage/v1beta1.Account + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/storage/v1beta2.Account // +crossplane:generate:reference:extractor=github.com/upbound/provider-azure/apis/rconfig.ExtractResourceID() // +kubebuilder:validation:Optional // +listType=set diff --git a/apis/security/v1beta2/zz_generated.resolvers.go b/apis/security/v1beta2/zz_generated.resolvers.go index cf9b5bad2..d6d6e11bd 100644 --- a/apis/security/v1beta2/zz_generated.resolvers.go +++ b/apis/security/v1beta2/zz_generated.resolvers.go @@ -77,7 +77,7 @@ func (mg *IOTSecuritySolution) ResolveReferences(ctx context.Context, c client.R var mrsp reference.MultiResolutionResponse var err error { - m, l, err = apisresolver.GetManagedResource("devices.azure.upbound.io", "v1beta1", "IOTHub", "IOTHubList") + m, l, err = apisresolver.GetManagedResource("devices.azure.upbound.io", "v1beta2", "IOTHub", "IOTHubList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } @@ -115,7 +115,7 @@ func (mg *IOTSecuritySolution) ResolveReferences(ctx context.Context, c client.R mg.Spec.ForProvider.ResourceGroupName = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.ResourceGroupNameRef = rsp.ResolvedReference { - m, l, err = apisresolver.GetManagedResource("devices.azure.upbound.io", "v1beta1", "IOTHub", "IOTHubList") + m, l, err = apisresolver.GetManagedResource("devices.azure.upbound.io", "v1beta2", "IOTHub", "IOTHubList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } diff --git a/apis/security/v1beta2/zz_iotsecuritysolution_types.go b/apis/security/v1beta2/zz_iotsecuritysolution_types.go index c6b303e8b..ab9a80dcd 100755 --- a/apis/security/v1beta2/zz_iotsecuritysolution_types.go +++ b/apis/security/v1beta2/zz_iotsecuritysolution_types.go @@ -65,7 +65,7 @@ type IOTSecuritySolutionInitParameters struct { EventsToExport []*string `json:"eventsToExport,omitempty" tf:"events_to_export,omitempty"` // Specifies the IoT Hub resource IDs to which this Iot Security Solution is applied. - // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/devices/v1beta1.IOTHub + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/devices/v1beta2.IOTHub // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("id",true) // +listType=set IOTHubIds []*string `json:"iothubIds,omitempty" tf:"iothub_ids,omitempty"` @@ -186,7 +186,7 @@ type IOTSecuritySolutionParameters struct { EventsToExport []*string `json:"eventsToExport,omitempty" tf:"events_to_export,omitempty"` // Specifies the IoT Hub resource IDs to which this Iot Security Solution is applied. - // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/devices/v1beta1.IOTHub + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/devices/v1beta2.IOTHub // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("id",true) // +kubebuilder:validation:Optional // +listType=set diff --git a/apis/servicebus/v1beta2/zz_generated.resolvers.go b/apis/servicebus/v1beta2/zz_generated.resolvers.go index def3196ff..0551676cf 100644 --- a/apis/servicebus/v1beta2/zz_generated.resolvers.go +++ b/apis/servicebus/v1beta2/zz_generated.resolvers.go @@ -31,7 +31,7 @@ func (mg *ServiceBusNamespace) ResolveReferences( // ResolveReferences of this S if mg.Spec.ForProvider.NetworkRuleSet != nil { for i4 := 0; i4 < len(mg.Spec.ForProvider.NetworkRuleSet.NetworkRules); i4++ { { - m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta1", "Subnet", "SubnetList") + m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta2", "Subnet", "SubnetList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } @@ -73,7 +73,7 @@ func (mg *ServiceBusNamespace) ResolveReferences( // ResolveReferences of this S if mg.Spec.InitProvider.NetworkRuleSet != nil { for i4 := 0; i4 < len(mg.Spec.InitProvider.NetworkRuleSet.NetworkRules); i4++ { { - m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta1", "Subnet", "SubnetList") + m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta2", "Subnet", "SubnetList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } diff --git a/apis/servicebus/v1beta2/zz_servicebusnamespace_types.go b/apis/servicebus/v1beta2/zz_servicebusnamespace_types.go index 7f6386737..ca1d302fd 100755 --- a/apis/servicebus/v1beta2/zz_servicebusnamespace_types.go +++ b/apis/servicebus/v1beta2/zz_servicebusnamespace_types.go @@ -158,7 +158,7 @@ type NetworkRulesInitParameters struct { IgnoreMissingVnetServiceEndpoint *bool `json:"ignoreMissingVnetServiceEndpoint,omitempty" tf:"ignore_missing_vnet_service_endpoint,omitempty"` // The Subnet ID which should be able to access this ServiceBus Namespace. - // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta1.Subnet + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta2.Subnet // +crossplane:generate:reference:extractor=github.com/upbound/provider-azure/apis/rconfig.ExtractResourceID() SubnetID *string `json:"subnetId,omitempty" tf:"subnet_id,omitempty"` @@ -187,7 +187,7 @@ type NetworkRulesParameters struct { IgnoreMissingVnetServiceEndpoint *bool `json:"ignoreMissingVnetServiceEndpoint,omitempty" tf:"ignore_missing_vnet_service_endpoint,omitempty"` // The Subnet ID which should be able to access this ServiceBus Namespace. - // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta1.Subnet + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta2.Subnet // +crossplane:generate:reference:extractor=github.com/upbound/provider-azure/apis/rconfig.ExtractResourceID() // +kubebuilder:validation:Optional SubnetID *string `json:"subnetId,omitempty" tf:"subnet_id,omitempty"` diff --git a/apis/sql/v1beta1/zz_generated.resolvers.go b/apis/sql/v1beta1/zz_generated.resolvers.go index c52998ee5..04a392dc4 100644 --- a/apis/sql/v1beta1/zz_generated.resolvers.go +++ b/apis/sql/v1beta1/zz_generated.resolvers.go @@ -166,7 +166,7 @@ func (mg *MSSQLDatabaseVulnerabilityAssessmentRuleBaseline) ResolveReferences(ct var rsp reference.ResolutionResponse var err error { - m, l, err = apisresolver.GetManagedResource("sql.azure.upbound.io", "v1beta1", "MSSQLDatabase", "MSSQLDatabaseList") + m, l, err = apisresolver.GetManagedResource("sql.azure.upbound.io", "v1beta2", "MSSQLDatabase", "MSSQLDatabaseList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } @@ -204,7 +204,7 @@ func (mg *MSSQLDatabaseVulnerabilityAssessmentRuleBaseline) ResolveReferences(ct mg.Spec.ForProvider.ServerVulnerabilityAssessmentID = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.ServerVulnerabilityAssessmentIDRef = rsp.ResolvedReference { - m, l, err = apisresolver.GetManagedResource("sql.azure.upbound.io", "v1beta1", "MSSQLDatabase", "MSSQLDatabaseList") + m, l, err = apisresolver.GetManagedResource("sql.azure.upbound.io", "v1beta2", "MSSQLDatabase", "MSSQLDatabaseList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } @@ -667,7 +667,7 @@ func (mg *MSSQLManagedInstanceActiveDirectoryAdministrator) ResolveReferences(ct var rsp reference.ResolutionResponse var err error { - m, l, err = apisresolver.GetManagedResource("sql.azure.upbound.io", "v1beta1", "MSSQLManagedInstance", "MSSQLManagedInstanceList") + m, l, err = apisresolver.GetManagedResource("sql.azure.upbound.io", "v1beta2", "MSSQLManagedInstance", "MSSQLManagedInstanceList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } @@ -817,7 +817,7 @@ func (mg *MSSQLOutboundFirewallRule) ResolveReferences(ctx context.Context, c cl var rsp reference.ResolutionResponse var err error { - m, l, err = apisresolver.GetManagedResource("sql.azure.upbound.io", "v1beta1", "MSSQLServer", "MSSQLServerList") + m, l, err = apisresolver.GetManagedResource("sql.azure.upbound.io", "v1beta2", "MSSQLServer", "MSSQLServerList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } @@ -1039,7 +1039,7 @@ func (mg *MSSQLServerDNSAlias) ResolveReferences(ctx context.Context, c client.R var rsp reference.ResolutionResponse var err error { - m, l, err = apisresolver.GetManagedResource("sql.azure.upbound.io", "v1beta1", "MSSQLServer", "MSSQLServerList") + m, l, err = apisresolver.GetManagedResource("sql.azure.upbound.io", "v1beta2", "MSSQLServer", "MSSQLServerList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } @@ -1158,7 +1158,7 @@ func (mg *MSSQLServerSecurityAlertPolicy) ResolveReferences(ctx context.Context, mg.Spec.ForProvider.ResourceGroupName = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.ResourceGroupNameRef = rsp.ResolvedReference { - m, l, err = apisresolver.GetManagedResource("sql.azure.upbound.io", "v1beta1", "MSSQLServer", "MSSQLServerList") + m, l, err = apisresolver.GetManagedResource("sql.azure.upbound.io", "v1beta2", "MSSQLServer", "MSSQLServerList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } @@ -1227,7 +1227,7 @@ func (mg *MSSQLServerTransparentDataEncryption) ResolveReferences(ctx context.Co var rsp reference.ResolutionResponse var err error { - m, l, err = apisresolver.GetManagedResource("keyvault.azure.upbound.io", "v1beta1", "Key", "KeyList") + m, l, err = apisresolver.GetManagedResource("keyvault.azure.upbound.io", "v1beta2", "Key", "KeyList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } @@ -1246,7 +1246,7 @@ func (mg *MSSQLServerTransparentDataEncryption) ResolveReferences(ctx context.Co mg.Spec.ForProvider.KeyVaultKeyID = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.KeyVaultKeyIDRef = rsp.ResolvedReference { - m, l, err = apisresolver.GetManagedResource("sql.azure.upbound.io", "v1beta1", "MSSQLServer", "MSSQLServerList") + m, l, err = apisresolver.GetManagedResource("sql.azure.upbound.io", "v1beta2", "MSSQLServer", "MSSQLServerList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } @@ -1265,7 +1265,7 @@ func (mg *MSSQLServerTransparentDataEncryption) ResolveReferences(ctx context.Co mg.Spec.ForProvider.ServerID = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.ServerIDRef = rsp.ResolvedReference { - m, l, err = apisresolver.GetManagedResource("keyvault.azure.upbound.io", "v1beta1", "Key", "KeyList") + m, l, err = apisresolver.GetManagedResource("keyvault.azure.upbound.io", "v1beta2", "Key", "KeyList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } @@ -1346,7 +1346,7 @@ func (mg *MSSQLVirtualNetworkRule) ResolveReferences(ctx context.Context, c clie var rsp reference.ResolutionResponse var err error { - m, l, err = apisresolver.GetManagedResource("sql.azure.upbound.io", "v1beta1", "MSSQLServer", "MSSQLServerList") + m, l, err = apisresolver.GetManagedResource("sql.azure.upbound.io", "v1beta2", "MSSQLServer", "MSSQLServerList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } diff --git a/apis/sql/v1beta1/zz_mssqldatabasevulnerabilityassessmentrulebaseline_types.go b/apis/sql/v1beta1/zz_mssqldatabasevulnerabilityassessmentrulebaseline_types.go index 14fc99743..952699c2e 100755 --- a/apis/sql/v1beta1/zz_mssqldatabasevulnerabilityassessmentrulebaseline_types.go +++ b/apis/sql/v1beta1/zz_mssqldatabasevulnerabilityassessmentrulebaseline_types.go @@ -41,7 +41,7 @@ type MSSQLDatabaseVulnerabilityAssessmentRuleBaselineInitParameters struct { BaselineResult []BaselineResultInitParameters `json:"baselineResult,omitempty" tf:"baseline_result,omitempty"` // Specifies the name of the MS SQL Database. Changing this forces a new resource to be created. - // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/sql/v1beta1.MSSQLDatabase + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/sql/v1beta2.MSSQLDatabase DatabaseName *string `json:"databaseName,omitempty" tf:"database_name,omitempty"` // Reference to a MSSQLDatabase in sql to populate databaseName. @@ -101,7 +101,7 @@ type MSSQLDatabaseVulnerabilityAssessmentRuleBaselineParameters struct { BaselineResult []BaselineResultParameters `json:"baselineResult,omitempty" tf:"baseline_result,omitempty"` // Specifies the name of the MS SQL Database. Changing this forces a new resource to be created. - // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/sql/v1beta1.MSSQLDatabase + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/sql/v1beta2.MSSQLDatabase // +kubebuilder:validation:Optional DatabaseName *string `json:"databaseName,omitempty" tf:"database_name,omitempty"` diff --git a/apis/sql/v1beta1/zz_mssqlmanagedinstanceactivedirectoryadministrator_types.go b/apis/sql/v1beta1/zz_mssqlmanagedinstanceactivedirectoryadministrator_types.go index f3758546a..a1f334a5e 100755 --- a/apis/sql/v1beta1/zz_mssqlmanagedinstanceactivedirectoryadministrator_types.go +++ b/apis/sql/v1beta1/zz_mssqlmanagedinstanceactivedirectoryadministrator_types.go @@ -60,7 +60,7 @@ type MSSQLManagedInstanceActiveDirectoryAdministratorParameters struct { LoginUsername *string `json:"loginUsername,omitempty" tf:"login_username,omitempty"` // The ID of the Azure SQL Managed Instance for which to set the administrator. Changing this forces a new resource to be created. - // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/sql/v1beta1.MSSQLManagedInstance + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/sql/v1beta2.MSSQLManagedInstance // +crossplane:generate:reference:extractor=github.com/upbound/provider-azure/apis/rconfig.ExtractResourceID() // +kubebuilder:validation:Optional ManagedInstanceID *string `json:"managedInstanceId,omitempty" tf:"managed_instance_id,omitempty"` diff --git a/apis/sql/v1beta1/zz_mssqloutboundfirewallrule_types.go b/apis/sql/v1beta1/zz_mssqloutboundfirewallrule_types.go index 0e3ca15c0..66c8286c0 100755 --- a/apis/sql/v1beta1/zz_mssqloutboundfirewallrule_types.go +++ b/apis/sql/v1beta1/zz_mssqloutboundfirewallrule_types.go @@ -28,7 +28,7 @@ type MSSQLOutboundFirewallRuleObservation struct { type MSSQLOutboundFirewallRuleParameters struct { // The resource ID of the SQL Server on which to create the Outbound Firewall Rule. Changing this forces a new resource to be created. - // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/sql/v1beta1.MSSQLServer + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/sql/v1beta2.MSSQLServer // +crossplane:generate:reference:extractor=github.com/upbound/provider-azure/apis/rconfig.ExtractResourceID() // +kubebuilder:validation:Optional ServerID *string `json:"serverId,omitempty" tf:"server_id,omitempty"` diff --git a/apis/sql/v1beta1/zz_mssqlserverdnsalias_types.go b/apis/sql/v1beta1/zz_mssqlserverdnsalias_types.go index 909fc76f7..ba7d51565 100755 --- a/apis/sql/v1beta1/zz_mssqlserverdnsalias_types.go +++ b/apis/sql/v1beta1/zz_mssqlserverdnsalias_types.go @@ -31,7 +31,7 @@ type MSSQLServerDNSAliasObservation struct { type MSSQLServerDNSAliasParameters struct { // The ID of the mssql server. Changing this forces a new MSSQL Server DNS Alias to be created. - // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/sql/v1beta1.MSSQLServer + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/sql/v1beta2.MSSQLServer // +crossplane:generate:reference:extractor=github.com/upbound/provider-azure/apis/rconfig.ExtractResourceID() // +kubebuilder:validation:Optional MSSQLServerID *string `json:"mssqlServerId,omitempty" tf:"mssql_server_id,omitempty"` diff --git a/apis/sql/v1beta1/zz_mssqlserversecurityalertpolicy_types.go b/apis/sql/v1beta1/zz_mssqlserversecurityalertpolicy_types.go index 46c609bee..74d77f706 100755 --- a/apis/sql/v1beta1/zz_mssqlserversecurityalertpolicy_types.go +++ b/apis/sql/v1beta1/zz_mssqlserversecurityalertpolicy_types.go @@ -112,7 +112,7 @@ type MSSQLServerSecurityAlertPolicyParameters struct { RetentionDays *float64 `json:"retentionDays,omitempty" tf:"retention_days,omitempty"` // Specifies the name of the MS SQL Server. Changing this forces a new resource to be created. - // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/sql/v1beta1.MSSQLServer + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/sql/v1beta2.MSSQLServer // +kubebuilder:validation:Optional ServerName *string `json:"serverName,omitempty" tf:"server_name,omitempty"` diff --git a/apis/sql/v1beta1/zz_mssqlservertransparentdataencryption_types.go b/apis/sql/v1beta1/zz_mssqlservertransparentdataencryption_types.go index ad3f07b0e..2b85999e8 100755 --- a/apis/sql/v1beta1/zz_mssqlservertransparentdataencryption_types.go +++ b/apis/sql/v1beta1/zz_mssqlservertransparentdataencryption_types.go @@ -19,7 +19,7 @@ type MSSQLServerTransparentDataEncryptionInitParameters struct { AutoRotationEnabled *bool `json:"autoRotationEnabled,omitempty" tf:"auto_rotation_enabled,omitempty"` // To use customer managed keys from Azure Key Vault, provide the AKV Key ID. To use service managed keys, omit this field. - // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/keyvault/v1beta1.Key + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/keyvault/v1beta2.Key // +crossplane:generate:reference:extractor=github.com/upbound/provider-azure/apis/rconfig.ExtractResourceID() KeyVaultKeyID *string `json:"keyVaultKeyId,omitempty" tf:"key_vault_key_id,omitempty"` @@ -54,7 +54,7 @@ type MSSQLServerTransparentDataEncryptionParameters struct { AutoRotationEnabled *bool `json:"autoRotationEnabled,omitempty" tf:"auto_rotation_enabled,omitempty"` // To use customer managed keys from Azure Key Vault, provide the AKV Key ID. To use service managed keys, omit this field. - // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/keyvault/v1beta1.Key + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/keyvault/v1beta2.Key // +crossplane:generate:reference:extractor=github.com/upbound/provider-azure/apis/rconfig.ExtractResourceID() // +kubebuilder:validation:Optional KeyVaultKeyID *string `json:"keyVaultKeyId,omitempty" tf:"key_vault_key_id,omitempty"` @@ -68,7 +68,7 @@ type MSSQLServerTransparentDataEncryptionParameters struct { KeyVaultKeyIDSelector *v1.Selector `json:"keyVaultKeyIdSelector,omitempty" tf:"-"` // Specifies the name of the MS SQL Server. Changing this forces a new resource to be created. - // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/sql/v1beta1.MSSQLServer + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/sql/v1beta2.MSSQLServer // +crossplane:generate:reference:extractor=github.com/upbound/provider-azure/apis/rconfig.ExtractResourceID() // +kubebuilder:validation:Optional ServerID *string `json:"serverId,omitempty" tf:"server_id,omitempty"` diff --git a/apis/sql/v1beta1/zz_mssqlvirtualnetworkrule_types.go b/apis/sql/v1beta1/zz_mssqlvirtualnetworkrule_types.go index 7704bb505..ed23558d9 100755 --- a/apis/sql/v1beta1/zz_mssqlvirtualnetworkrule_types.go +++ b/apis/sql/v1beta1/zz_mssqlvirtualnetworkrule_types.go @@ -54,7 +54,7 @@ type MSSQLVirtualNetworkRuleParameters struct { IgnoreMissingVnetServiceEndpoint *bool `json:"ignoreMissingVnetServiceEndpoint,omitempty" tf:"ignore_missing_vnet_service_endpoint,omitempty"` // The resource ID of the SQL Server to which this SQL virtual network rule will be applied. Changing this forces a new resource to be created. - // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/sql/v1beta1.MSSQLServer + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/sql/v1beta2.MSSQLServer // +crossplane:generate:reference:extractor=github.com/upbound/provider-azure/apis/rconfig.ExtractResourceID() // +kubebuilder:validation:Optional ServerID *string `json:"serverId,omitempty" tf:"server_id,omitempty"` diff --git a/apis/sql/v1beta2/zz_mssqldatabase_types.go b/apis/sql/v1beta2/zz_mssqldatabase_types.go index 128db8c4a..3358237e7 100755 --- a/apis/sql/v1beta2/zz_mssqldatabase_types.go +++ b/apis/sql/v1beta2/zz_mssqldatabase_types.go @@ -482,16 +482,16 @@ type MSSQLDatabaseParameters struct { SampleName *string `json:"sampleName,omitempty" tf:"sample_name,omitempty"` // The id of the MS SQL Server on which to create the database. Changing this forces a new resource to be created. - // +crossplane:generate:reference:type=MSSQLServer + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/sql/v1beta2.MSSQLServer // +crossplane:generate:reference:extractor=github.com/upbound/provider-azure/apis/rconfig.ExtractResourceID() // +kubebuilder:validation:Optional ServerID *string `json:"serverId,omitempty" tf:"server_id,omitempty"` - // Reference to a MSSQLServer to populate serverId. + // Reference to a MSSQLServer in sql to populate serverId. // +kubebuilder:validation:Optional ServerIDRef *v1.Reference `json:"serverIdRef,omitempty" tf:"-"` - // Selector for a MSSQLServer to populate serverId. + // Selector for a MSSQLServer in sql to populate serverId. // +kubebuilder:validation:Optional ServerIDSelector *v1.Selector `json:"serverIdSelector,omitempty" tf:"-"` diff --git a/apis/sql/v1beta2/zz_mssqlelasticpool_types.go b/apis/sql/v1beta2/zz_mssqlelasticpool_types.go index ac898c72a..d0bbcb1cc 100755 --- a/apis/sql/v1beta2/zz_mssqlelasticpool_types.go +++ b/apis/sql/v1beta2/zz_mssqlelasticpool_types.go @@ -134,15 +134,15 @@ type MSSQLElasticPoolParameters struct { ResourceGroupNameSelector *v1.Selector `json:"resourceGroupNameSelector,omitempty" tf:"-"` // The name of the SQL Server on which to create the elastic pool. Changing this forces a new resource to be created. - // +crossplane:generate:reference:type=MSSQLServer + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/sql/v1beta2.MSSQLServer // +kubebuilder:validation:Optional ServerName *string `json:"serverName,omitempty" tf:"server_name,omitempty"` - // Reference to a MSSQLServer to populate serverName. + // Reference to a MSSQLServer in sql to populate serverName. // +kubebuilder:validation:Optional ServerNameRef *v1.Reference `json:"serverNameRef,omitempty" tf:"-"` - // Selector for a MSSQLServer to populate serverName. + // Selector for a MSSQLServer in sql to populate serverName. // +kubebuilder:validation:Optional ServerNameSelector *v1.Selector `json:"serverNameSelector,omitempty" tf:"-"` diff --git a/apis/sql/v1beta2/zz_mssqlfailovergroup_types.go b/apis/sql/v1beta2/zz_mssqlfailovergroup_types.go index b251a171b..eb6653fb8 100755 --- a/apis/sql/v1beta2/zz_mssqlfailovergroup_types.go +++ b/apis/sql/v1beta2/zz_mssqlfailovergroup_types.go @@ -16,16 +16,16 @@ import ( type MSSQLFailoverGroupInitParameters struct { // A set of database names to include in the failover group. - // +crossplane:generate:reference:type=MSSQLDatabase + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/sql/v1beta2.MSSQLDatabase // +crossplane:generate:reference:extractor=github.com/upbound/provider-azure/apis/rconfig.ExtractResourceID() // +listType=set Databases []*string `json:"databases,omitempty" tf:"databases,omitempty"` - // References to MSSQLDatabase to populate databases. + // References to MSSQLDatabase in sql to populate databases. // +kubebuilder:validation:Optional DatabasesRefs []v1.Reference `json:"databasesRefs,omitempty" tf:"-"` - // Selector for a list of MSSQLDatabase to populate databases. + // Selector for a list of MSSQLDatabase in sql to populate databases. // +kubebuilder:validation:Optional DatabasesSelector *v1.Selector `json:"databasesSelector,omitempty" tf:"-"` @@ -72,17 +72,17 @@ type MSSQLFailoverGroupObservation struct { type MSSQLFailoverGroupParameters struct { // A set of database names to include in the failover group. - // +crossplane:generate:reference:type=MSSQLDatabase + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/sql/v1beta2.MSSQLDatabase // +crossplane:generate:reference:extractor=github.com/upbound/provider-azure/apis/rconfig.ExtractResourceID() // +kubebuilder:validation:Optional // +listType=set Databases []*string `json:"databases,omitempty" tf:"databases,omitempty"` - // References to MSSQLDatabase to populate databases. + // References to MSSQLDatabase in sql to populate databases. // +kubebuilder:validation:Optional DatabasesRefs []v1.Reference `json:"databasesRefs,omitempty" tf:"-"` - // Selector for a list of MSSQLDatabase to populate databases. + // Selector for a list of MSSQLDatabase in sql to populate databases. // +kubebuilder:validation:Optional DatabasesSelector *v1.Selector `json:"databasesSelector,omitempty" tf:"-"` @@ -99,16 +99,16 @@ type MSSQLFailoverGroupParameters struct { ReadonlyEndpointFailoverPolicyEnabled *bool `json:"readonlyEndpointFailoverPolicyEnabled,omitempty" tf:"readonly_endpoint_failover_policy_enabled,omitempty"` // The ID of the primary SQL Server on which to create the failover group. Changing this forces a new resource to be created. - // +crossplane:generate:reference:type=MSSQLServer + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/sql/v1beta2.MSSQLServer // +crossplane:generate:reference:extractor=github.com/upbound/provider-azure/apis/rconfig.ExtractResourceID() // +kubebuilder:validation:Optional ServerID *string `json:"serverId,omitempty" tf:"server_id,omitempty"` - // Reference to a MSSQLServer to populate serverId. + // Reference to a MSSQLServer in sql to populate serverId. // +kubebuilder:validation:Optional ServerIDRef *v1.Reference `json:"serverIdRef,omitempty" tf:"-"` - // Selector for a MSSQLServer to populate serverId. + // Selector for a MSSQLServer in sql to populate serverId. // +kubebuilder:validation:Optional ServerIDSelector *v1.Selector `json:"serverIdSelector,omitempty" tf:"-"` @@ -121,15 +121,15 @@ type MSSQLFailoverGroupParameters struct { type PartnerServerInitParameters struct { // The ID of a partner SQL server to include in the failover group. - // +crossplane:generate:reference:type=MSSQLServer + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/sql/v1beta2.MSSQLServer // +crossplane:generate:reference:extractor=github.com/upbound/provider-azure/apis/rconfig.ExtractResourceID() ID *string `json:"id,omitempty" tf:"id,omitempty"` - // Reference to a MSSQLServer to populate id. + // Reference to a MSSQLServer in sql to populate id. // +kubebuilder:validation:Optional IDRef *v1.Reference `json:"idRef,omitempty" tf:"-"` - // Selector for a MSSQLServer to populate id. + // Selector for a MSSQLServer in sql to populate id. // +kubebuilder:validation:Optional IDSelector *v1.Selector `json:"idSelector,omitempty" tf:"-"` } @@ -149,16 +149,16 @@ type PartnerServerObservation struct { type PartnerServerParameters struct { // The ID of a partner SQL server to include in the failover group. - // +crossplane:generate:reference:type=MSSQLServer + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/sql/v1beta2.MSSQLServer // +crossplane:generate:reference:extractor=github.com/upbound/provider-azure/apis/rconfig.ExtractResourceID() // +kubebuilder:validation:Optional ID *string `json:"id,omitempty" tf:"id,omitempty"` - // Reference to a MSSQLServer to populate id. + // Reference to a MSSQLServer in sql to populate id. // +kubebuilder:validation:Optional IDRef *v1.Reference `json:"idRef,omitempty" tf:"-"` - // Selector for a MSSQLServer to populate id. + // Selector for a MSSQLServer in sql to populate id. // +kubebuilder:validation:Optional IDSelector *v1.Selector `json:"idSelector,omitempty" tf:"-"` } diff --git a/apis/sql/v1beta2/zz_mssqlmanageddatabase_types.go b/apis/sql/v1beta2/zz_mssqlmanageddatabase_types.go index d4fa92548..bb424bf72 100755 --- a/apis/sql/v1beta2/zz_mssqlmanageddatabase_types.go +++ b/apis/sql/v1beta2/zz_mssqlmanageddatabase_types.go @@ -109,16 +109,16 @@ type MSSQLManagedDatabaseParameters struct { LongTermRetentionPolicy *MSSQLManagedDatabaseLongTermRetentionPolicyParameters `json:"longTermRetentionPolicy,omitempty" tf:"long_term_retention_policy,omitempty"` // The ID of the Azure SQL Managed Instance on which to create this Managed Database. Changing this forces a new resource to be created. - // +crossplane:generate:reference:type=MSSQLManagedInstance + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/sql/v1beta2.MSSQLManagedInstance // +crossplane:generate:reference:extractor=github.com/upbound/provider-azure/apis/rconfig.ExtractResourceID() // +kubebuilder:validation:Optional ManagedInstanceID *string `json:"managedInstanceId,omitempty" tf:"managed_instance_id,omitempty"` - // Reference to a MSSQLManagedInstance to populate managedInstanceId. + // Reference to a MSSQLManagedInstance in sql to populate managedInstanceId. // +kubebuilder:validation:Optional ManagedInstanceIDRef *v1.Reference `json:"managedInstanceIdRef,omitempty" tf:"-"` - // Selector for a MSSQLManagedInstance to populate managedInstanceId. + // Selector for a MSSQLManagedInstance in sql to populate managedInstanceId. // +kubebuilder:validation:Optional ManagedInstanceIDSelector *v1.Selector `json:"managedInstanceIdSelector,omitempty" tf:"-"` diff --git a/apis/sql/v1beta2/zz_mssqlmanagedinstance_types.go b/apis/sql/v1beta2/zz_mssqlmanagedinstance_types.go index 719fa339c..d4928c3bf 100755 --- a/apis/sql/v1beta2/zz_mssqlmanagedinstance_types.go +++ b/apis/sql/v1beta2/zz_mssqlmanagedinstance_types.go @@ -60,15 +60,15 @@ type MSSQLManagedInstanceInitParameters struct { Collation *string `json:"collation,omitempty" tf:"collation,omitempty"` // The ID of the SQL Managed Instance which will share the DNS zone. This is a prerequisite for creating an azurerm_sql_managed_instance_failover_group. Setting this after creation forces a new resource to be created. - // +crossplane:generate:reference:type=MSSQLManagedInstance + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/sql/v1beta2.MSSQLManagedInstance // +crossplane:generate:reference:extractor=github.com/upbound/provider-azure/apis/rconfig.ExtractResourceID() DNSZonePartnerID *string `json:"dnsZonePartnerId,omitempty" tf:"dns_zone_partner_id,omitempty"` - // Reference to a MSSQLManagedInstance to populate dnsZonePartnerId. + // Reference to a MSSQLManagedInstance in sql to populate dnsZonePartnerId. // +kubebuilder:validation:Optional DNSZonePartnerIDRef *v1.Reference `json:"dnsZonePartnerIdRef,omitempty" tf:"-"` - // Selector for a MSSQLManagedInstance to populate dnsZonePartnerId. + // Selector for a MSSQLManagedInstance in sql to populate dnsZonePartnerId. // +kubebuilder:validation:Optional DNSZonePartnerIDSelector *v1.Selector `json:"dnsZonePartnerIdSelector,omitempty" tf:"-"` @@ -214,16 +214,16 @@ type MSSQLManagedInstanceParameters struct { Collation *string `json:"collation,omitempty" tf:"collation,omitempty"` // The ID of the SQL Managed Instance which will share the DNS zone. This is a prerequisite for creating an azurerm_sql_managed_instance_failover_group. Setting this after creation forces a new resource to be created. - // +crossplane:generate:reference:type=MSSQLManagedInstance + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/sql/v1beta2.MSSQLManagedInstance // +crossplane:generate:reference:extractor=github.com/upbound/provider-azure/apis/rconfig.ExtractResourceID() // +kubebuilder:validation:Optional DNSZonePartnerID *string `json:"dnsZonePartnerId,omitempty" tf:"dns_zone_partner_id,omitempty"` - // Reference to a MSSQLManagedInstance to populate dnsZonePartnerId. + // Reference to a MSSQLManagedInstance in sql to populate dnsZonePartnerId. // +kubebuilder:validation:Optional DNSZonePartnerIDRef *v1.Reference `json:"dnsZonePartnerIdRef,omitempty" tf:"-"` - // Selector for a MSSQLManagedInstance to populate dnsZonePartnerId. + // Selector for a MSSQLManagedInstance in sql to populate dnsZonePartnerId. // +kubebuilder:validation:Optional DNSZonePartnerIDSelector *v1.Selector `json:"dnsZonePartnerIdSelector,omitempty" tf:"-"` diff --git a/apis/sql/v1beta2/zz_mssqlmanagedinstancefailovergroup_types.go b/apis/sql/v1beta2/zz_mssqlmanagedinstancefailovergroup_types.go index 619f5c597..c6d99c3ec 100755 --- a/apis/sql/v1beta2/zz_mssqlmanagedinstancefailovergroup_types.go +++ b/apis/sql/v1beta2/zz_mssqlmanagedinstancefailovergroup_types.go @@ -16,28 +16,28 @@ import ( type MSSQLManagedInstanceFailoverGroupInitParameters struct { // The ID of the Azure SQL Managed Instance which will be replicated using a Managed Instance Failover Group. Changing this forces a new resource to be created. - // +crossplane:generate:reference:type=MSSQLManagedInstance + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/sql/v1beta2.MSSQLManagedInstance // +crossplane:generate:reference:extractor=github.com/upbound/provider-azure/apis/rconfig.ExtractResourceID() ManagedInstanceID *string `json:"managedInstanceId,omitempty" tf:"managed_instance_id,omitempty"` - // Reference to a MSSQLManagedInstance to populate managedInstanceId. + // Reference to a MSSQLManagedInstance in sql to populate managedInstanceId. // +kubebuilder:validation:Optional ManagedInstanceIDRef *v1.Reference `json:"managedInstanceIdRef,omitempty" tf:"-"` - // Selector for a MSSQLManagedInstance to populate managedInstanceId. + // Selector for a MSSQLManagedInstance in sql to populate managedInstanceId. // +kubebuilder:validation:Optional ManagedInstanceIDSelector *v1.Selector `json:"managedInstanceIdSelector,omitempty" tf:"-"` // The ID of the Azure SQL Managed Instance which will be replicated to. Changing this forces a new resource to be created. - // +crossplane:generate:reference:type=MSSQLManagedInstance + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/sql/v1beta2.MSSQLManagedInstance // +crossplane:generate:reference:extractor=github.com/upbound/provider-azure/apis/rconfig.ExtractResourceID() PartnerManagedInstanceID *string `json:"partnerManagedInstanceId,omitempty" tf:"partner_managed_instance_id,omitempty"` - // Reference to a MSSQLManagedInstance to populate partnerManagedInstanceId. + // Reference to a MSSQLManagedInstance in sql to populate partnerManagedInstanceId. // +kubebuilder:validation:Optional PartnerManagedInstanceIDRef *v1.Reference `json:"partnerManagedInstanceIdRef,omitempty" tf:"-"` - // Selector for a MSSQLManagedInstance to populate partnerManagedInstanceId. + // Selector for a MSSQLManagedInstance in sql to populate partnerManagedInstanceId. // +kubebuilder:validation:Optional PartnerManagedInstanceIDSelector *v1.Selector `json:"partnerManagedInstanceIdSelector,omitempty" tf:"-"` @@ -82,30 +82,30 @@ type MSSQLManagedInstanceFailoverGroupParameters struct { Location *string `json:"location" tf:"location,omitempty"` // The ID of the Azure SQL Managed Instance which will be replicated using a Managed Instance Failover Group. Changing this forces a new resource to be created. - // +crossplane:generate:reference:type=MSSQLManagedInstance + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/sql/v1beta2.MSSQLManagedInstance // +crossplane:generate:reference:extractor=github.com/upbound/provider-azure/apis/rconfig.ExtractResourceID() // +kubebuilder:validation:Optional ManagedInstanceID *string `json:"managedInstanceId,omitempty" tf:"managed_instance_id,omitempty"` - // Reference to a MSSQLManagedInstance to populate managedInstanceId. + // Reference to a MSSQLManagedInstance in sql to populate managedInstanceId. // +kubebuilder:validation:Optional ManagedInstanceIDRef *v1.Reference `json:"managedInstanceIdRef,omitempty" tf:"-"` - // Selector for a MSSQLManagedInstance to populate managedInstanceId. + // Selector for a MSSQLManagedInstance in sql to populate managedInstanceId. // +kubebuilder:validation:Optional ManagedInstanceIDSelector *v1.Selector `json:"managedInstanceIdSelector,omitempty" tf:"-"` // The ID of the Azure SQL Managed Instance which will be replicated to. Changing this forces a new resource to be created. - // +crossplane:generate:reference:type=MSSQLManagedInstance + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/sql/v1beta2.MSSQLManagedInstance // +crossplane:generate:reference:extractor=github.com/upbound/provider-azure/apis/rconfig.ExtractResourceID() // +kubebuilder:validation:Optional PartnerManagedInstanceID *string `json:"partnerManagedInstanceId,omitempty" tf:"partner_managed_instance_id,omitempty"` - // Reference to a MSSQLManagedInstance to populate partnerManagedInstanceId. + // Reference to a MSSQLManagedInstance in sql to populate partnerManagedInstanceId. // +kubebuilder:validation:Optional PartnerManagedInstanceIDRef *v1.Reference `json:"partnerManagedInstanceIdRef,omitempty" tf:"-"` - // Selector for a MSSQLManagedInstance to populate partnerManagedInstanceId. + // Selector for a MSSQLManagedInstance in sql to populate partnerManagedInstanceId. // +kubebuilder:validation:Optional PartnerManagedInstanceIDSelector *v1.Selector `json:"partnerManagedInstanceIdSelector,omitempty" tf:"-"` diff --git a/apis/sql/v1beta2/zz_mssqlmanagedinstancevulnerabilityassessment_types.go b/apis/sql/v1beta2/zz_mssqlmanagedinstancevulnerabilityassessment_types.go index 68990be43..0821c8e5b 100755 --- a/apis/sql/v1beta2/zz_mssqlmanagedinstancevulnerabilityassessment_types.go +++ b/apis/sql/v1beta2/zz_mssqlmanagedinstancevulnerabilityassessment_types.go @@ -40,16 +40,16 @@ type MSSQLManagedInstanceVulnerabilityAssessmentObservation struct { type MSSQLManagedInstanceVulnerabilityAssessmentParameters struct { // The id of the MS SQL Managed Instance. Changing this forces a new resource to be created. - // +crossplane:generate:reference:type=MSSQLManagedInstance + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/sql/v1beta2.MSSQLManagedInstance // +crossplane:generate:reference:extractor=github.com/upbound/provider-azure/apis/rconfig.ExtractResourceID() // +kubebuilder:validation:Optional ManagedInstanceID *string `json:"managedInstanceId,omitempty" tf:"managed_instance_id,omitempty"` - // Reference to a MSSQLManagedInstance to populate managedInstanceId. + // Reference to a MSSQLManagedInstance in sql to populate managedInstanceId. // +kubebuilder:validation:Optional ManagedInstanceIDRef *v1.Reference `json:"managedInstanceIdRef,omitempty" tf:"-"` - // Selector for a MSSQLManagedInstance to populate managedInstanceId. + // Selector for a MSSQLManagedInstance in sql to populate managedInstanceId. // +kubebuilder:validation:Optional ManagedInstanceIDSelector *v1.Selector `json:"managedInstanceIdSelector,omitempty" tf:"-"` diff --git a/apis/storage/v1beta1/zz_blob_types.go b/apis/storage/v1beta1/zz_blob_types.go index 94cc2f4b6..984978fdb 100755 --- a/apis/storage/v1beta1/zz_blob_types.go +++ b/apis/storage/v1beta1/zz_blob_types.go @@ -143,7 +143,7 @@ type BlobParameters struct { SourceURI *string `json:"sourceUri,omitempty" tf:"source_uri,omitempty"` // Specifies the storage account in which to create the storage container. Changing this forces a new resource to be created. - // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/storage/v1beta1.Account + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/storage/v1beta2.Account // +kubebuilder:validation:Optional StorageAccountName *string `json:"storageAccountName,omitempty" tf:"storage_account_name,omitempty"` diff --git a/apis/storage/v1beta1/zz_container_types.go b/apis/storage/v1beta1/zz_container_types.go index d2287291f..53d9b520e 100755 --- a/apis/storage/v1beta1/zz_container_types.go +++ b/apis/storage/v1beta1/zz_container_types.go @@ -60,7 +60,7 @@ type ContainerParameters struct { Metadata map[string]*string `json:"metadata,omitempty" tf:"metadata,omitempty"` // The name of the Storage Account where the Container should be created. Changing this forces a new resource to be created. - // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/storage/v1beta1.Account + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/storage/v1beta2.Account // +kubebuilder:validation:Optional StorageAccountName *string `json:"storageAccountName,omitempty" tf:"storage_account_name,omitempty"` diff --git a/apis/storage/v1beta1/zz_datalakegen2filesystem_types.go b/apis/storage/v1beta1/zz_datalakegen2filesystem_types.go index 0e95a7f31..bfa400a90 100755 --- a/apis/storage/v1beta1/zz_datalakegen2filesystem_types.go +++ b/apis/storage/v1beta1/zz_datalakegen2filesystem_types.go @@ -78,7 +78,7 @@ type DataLakeGen2FileSystemInitParameters struct { Properties map[string]*string `json:"properties,omitempty" tf:"properties,omitempty"` // Specifies the ID of the Storage Account in which the Data Lake Gen2 File System should exist. Changing this forces a new resource to be created. - // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/storage/v1beta1.Account + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/storage/v1beta2.Account // +crossplane:generate:reference:extractor=github.com/upbound/provider-azure/apis/rconfig.ExtractResourceID() StorageAccountID *string `json:"storageAccountId,omitempty" tf:"storage_account_id,omitempty"` @@ -133,7 +133,7 @@ type DataLakeGen2FileSystemParameters struct { Properties map[string]*string `json:"properties,omitempty" tf:"properties,omitempty"` // Specifies the ID of the Storage Account in which the Data Lake Gen2 File System should exist. Changing this forces a new resource to be created. - // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/storage/v1beta1.Account + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/storage/v1beta2.Account // +crossplane:generate:reference:extractor=github.com/upbound/provider-azure/apis/rconfig.ExtractResourceID() // +kubebuilder:validation:Optional StorageAccountID *string `json:"storageAccountId,omitempty" tf:"storage_account_id,omitempty"` diff --git a/apis/storage/v1beta1/zz_generated.resolvers.go b/apis/storage/v1beta1/zz_generated.resolvers.go index b6146deb7..131f54d2a 100644 --- a/apis/storage/v1beta1/zz_generated.resolvers.go +++ b/apis/storage/v1beta1/zz_generated.resolvers.go @@ -184,7 +184,7 @@ func (mg *Blob) ResolveReferences(ctx context.Context, c client.Reader) error { var rsp reference.ResolutionResponse var err error { - m, l, err = apisresolver.GetManagedResource("storage.azure.upbound.io", "v1beta1", "Account", "AccountList") + m, l, err = apisresolver.GetManagedResource("storage.azure.upbound.io", "v1beta2", "Account", "AccountList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } @@ -326,7 +326,7 @@ func (mg *Container) ResolveReferences(ctx context.Context, c client.Reader) err var rsp reference.ResolutionResponse var err error { - m, l, err = apisresolver.GetManagedResource("storage.azure.upbound.io", "v1beta1", "Account", "AccountList") + m, l, err = apisresolver.GetManagedResource("storage.azure.upbound.io", "v1beta2", "Account", "AccountList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } @@ -357,7 +357,7 @@ func (mg *DataLakeGen2FileSystem) ResolveReferences(ctx context.Context, c clien var rsp reference.ResolutionResponse var err error { - m, l, err = apisresolver.GetManagedResource("storage.azure.upbound.io", "v1beta1", "Account", "AccountList") + m, l, err = apisresolver.GetManagedResource("storage.azure.upbound.io", "v1beta2", "Account", "AccountList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } @@ -376,7 +376,7 @@ func (mg *DataLakeGen2FileSystem) ResolveReferences(ctx context.Context, c clien mg.Spec.ForProvider.StorageAccountID = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.StorageAccountIDRef = rsp.ResolvedReference { - m, l, err = apisresolver.GetManagedResource("storage.azure.upbound.io", "v1beta1", "Account", "AccountList") + m, l, err = apisresolver.GetManagedResource("storage.azure.upbound.io", "v1beta2", "Account", "AccountList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } diff --git a/apis/streamanalytics/v1beta1/zz_generated.resolvers.go b/apis/streamanalytics/v1beta1/zz_generated.resolvers.go index 7c95b461f..4939803c2 100644 --- a/apis/streamanalytics/v1beta1/zz_generated.resolvers.go +++ b/apis/streamanalytics/v1beta1/zz_generated.resolvers.go @@ -607,7 +607,7 @@ func (mg *OutputMSSQL) ResolveReferences(ctx context.Context, c client.Reader) e mg.Spec.ForProvider.ResourceGroupName = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.ResourceGroupNameRef = rsp.ResolvedReference { - m, l, err = apisresolver.GetManagedResource("sql.azure.upbound.io", "v1beta1", "MSSQLServer", "MSSQLServerList") + m, l, err = apisresolver.GetManagedResource("sql.azure.upbound.io", "v1beta2", "MSSQLServer", "MSSQLServerList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } @@ -626,7 +626,7 @@ func (mg *OutputMSSQL) ResolveReferences(ctx context.Context, c client.Reader) e mg.Spec.ForProvider.Server = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.ServerRef = rsp.ResolvedReference { - m, l, err = apisresolver.GetManagedResource("streamanalytics.azure.upbound.io", "v1beta1", "Job", "JobList") + m, l, err = apisresolver.GetManagedResource("streamanalytics.azure.upbound.io", "v1beta2", "Job", "JobList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } @@ -683,7 +683,7 @@ func (mg *OutputMSSQL) ResolveReferences(ctx context.Context, c client.Reader) e mg.Spec.InitProvider.ResourceGroupName = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.InitProvider.ResourceGroupNameRef = rsp.ResolvedReference { - m, l, err = apisresolver.GetManagedResource("sql.azure.upbound.io", "v1beta1", "MSSQLServer", "MSSQLServerList") + m, l, err = apisresolver.GetManagedResource("sql.azure.upbound.io", "v1beta2", "MSSQLServer", "MSSQLServerList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } @@ -702,7 +702,7 @@ func (mg *OutputMSSQL) ResolveReferences(ctx context.Context, c client.Reader) e mg.Spec.InitProvider.Server = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.InitProvider.ServerRef = rsp.ResolvedReference { - m, l, err = apisresolver.GetManagedResource("streamanalytics.azure.upbound.io", "v1beta1", "Job", "JobList") + m, l, err = apisresolver.GetManagedResource("streamanalytics.azure.upbound.io", "v1beta2", "Job", "JobList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } @@ -752,7 +752,7 @@ func (mg *OutputPowerBI) ResolveReferences(ctx context.Context, c client.Reader) var rsp reference.ResolutionResponse var err error { - m, l, err = apisresolver.GetManagedResource("streamanalytics.azure.upbound.io", "v1beta1", "Job", "JobList") + m, l, err = apisresolver.GetManagedResource("streamanalytics.azure.upbound.io", "v1beta2", "Job", "JobList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } @@ -771,7 +771,7 @@ func (mg *OutputPowerBI) ResolveReferences(ctx context.Context, c client.Reader) mg.Spec.ForProvider.StreamAnalyticsJobID = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.StreamAnalyticsJobIDRef = rsp.ResolvedReference { - m, l, err = apisresolver.GetManagedResource("streamanalytics.azure.upbound.io", "v1beta1", "Job", "JobList") + m, l, err = apisresolver.GetManagedResource("streamanalytics.azure.upbound.io", "v1beta2", "Job", "JobList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } @@ -1149,7 +1149,7 @@ func (mg *OutputSynapse) ResolveReferences(ctx context.Context, c client.Reader) mg.Spec.ForProvider.ResourceGroupName = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.ResourceGroupNameRef = rsp.ResolvedReference { - m, l, err = apisresolver.GetManagedResource("streamanalytics.azure.upbound.io", "v1beta1", "Job", "JobList") + m, l, err = apisresolver.GetManagedResource("streamanalytics.azure.upbound.io", "v1beta2", "Job", "JobList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } diff --git a/apis/streamanalytics/v1beta1/zz_outputmssql_types.go b/apis/streamanalytics/v1beta1/zz_outputmssql_types.go index 72f0c911c..1bd4254a9 100755 --- a/apis/streamanalytics/v1beta1/zz_outputmssql_types.go +++ b/apis/streamanalytics/v1beta1/zz_outputmssql_types.go @@ -43,7 +43,7 @@ type OutputMSSQLInitParameters struct { ResourceGroupNameSelector *v1.Selector `json:"resourceGroupNameSelector,omitempty" tf:"-"` // The SQL server url. Changing this forces a new resource to be created. - // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/sql/v1beta1.MSSQLServer + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/sql/v1beta2.MSSQLServer Server *string `json:"server,omitempty" tf:"server,omitempty"` // Reference to a MSSQLServer in sql to populate server. @@ -55,7 +55,7 @@ type OutputMSSQLInitParameters struct { ServerSelector *v1.Selector `json:"serverSelector,omitempty" tf:"-"` // The name of the Stream Analytics Job. Changing this forces a new resource to be created. - // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/streamanalytics/v1beta1.Job + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/streamanalytics/v1beta2.Job StreamAnalyticsJobName *string `json:"streamAnalyticsJobName,omitempty" tf:"stream_analytics_job_name,omitempty"` // Reference to a Job in streamanalytics to populate streamAnalyticsJobName. @@ -158,7 +158,7 @@ type OutputMSSQLParameters struct { ResourceGroupNameSelector *v1.Selector `json:"resourceGroupNameSelector,omitempty" tf:"-"` // The SQL server url. Changing this forces a new resource to be created. - // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/sql/v1beta1.MSSQLServer + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/sql/v1beta2.MSSQLServer // +kubebuilder:validation:Optional Server *string `json:"server,omitempty" tf:"server,omitempty"` @@ -171,7 +171,7 @@ type OutputMSSQLParameters struct { ServerSelector *v1.Selector `json:"serverSelector,omitempty" tf:"-"` // The name of the Stream Analytics Job. Changing this forces a new resource to be created. - // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/streamanalytics/v1beta1.Job + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/streamanalytics/v1beta2.Job // +kubebuilder:validation:Optional StreamAnalyticsJobName *string `json:"streamAnalyticsJobName,omitempty" tf:"stream_analytics_job_name,omitempty"` diff --git a/apis/streamanalytics/v1beta1/zz_outputpowerbi_types.go b/apis/streamanalytics/v1beta1/zz_outputpowerbi_types.go index 5b24bc927..ab764a3d0 100755 --- a/apis/streamanalytics/v1beta1/zz_outputpowerbi_types.go +++ b/apis/streamanalytics/v1beta1/zz_outputpowerbi_types.go @@ -25,7 +25,7 @@ type OutputPowerBIInitParameters struct { GroupName *string `json:"groupName,omitempty" tf:"group_name,omitempty"` // The ID of the Stream Analytics Job. Changing this forces a new resource to be created. - // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/streamanalytics/v1beta1.Job + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/streamanalytics/v1beta2.Job // +crossplane:generate:reference:extractor=github.com/upbound/provider-azure/apis/rconfig.ExtractResourceID() StreamAnalyticsJobID *string `json:"streamAnalyticsJobId,omitempty" tf:"stream_analytics_job_id,omitempty"` @@ -88,7 +88,7 @@ type OutputPowerBIParameters struct { GroupName *string `json:"groupName,omitempty" tf:"group_name,omitempty"` // The ID of the Stream Analytics Job. Changing this forces a new resource to be created. - // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/streamanalytics/v1beta1.Job + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/streamanalytics/v1beta2.Job // +crossplane:generate:reference:extractor=github.com/upbound/provider-azure/apis/rconfig.ExtractResourceID() // +kubebuilder:validation:Optional StreamAnalyticsJobID *string `json:"streamAnalyticsJobId,omitempty" tf:"stream_analytics_job_id,omitempty"` diff --git a/apis/streamanalytics/v1beta1/zz_outputsynapse_types.go b/apis/streamanalytics/v1beta1/zz_outputsynapse_types.go index 4fa2669de..ae2176b31 100755 --- a/apis/streamanalytics/v1beta1/zz_outputsynapse_types.go +++ b/apis/streamanalytics/v1beta1/zz_outputsynapse_types.go @@ -90,7 +90,7 @@ type OutputSynapseParameters struct { Server *string `json:"server,omitempty" tf:"server,omitempty"` // The name of the Stream Analytics Job. Changing this forces a new resource to be created. - // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/streamanalytics/v1beta1.Job + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/streamanalytics/v1beta2.Job // +kubebuilder:validation:Optional StreamAnalyticsJobName *string `json:"streamAnalyticsJobName,omitempty" tf:"stream_analytics_job_name,omitempty"` diff --git a/apis/streamanalytics/v1beta2/zz_functionjavascriptuda_types.go b/apis/streamanalytics/v1beta2/zz_functionjavascriptuda_types.go index 915211556..89de477f5 100755 --- a/apis/streamanalytics/v1beta2/zz_functionjavascriptuda_types.go +++ b/apis/streamanalytics/v1beta2/zz_functionjavascriptuda_types.go @@ -25,15 +25,15 @@ type FunctionJavascriptUdaInitParameters struct { Script *string `json:"script,omitempty" tf:"script,omitempty"` // The resource ID of the Stream Analytics Job where this Function should be created. Changing this forces a new resource to be created. - // +crossplane:generate:reference:type=Job + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/streamanalytics/v1beta2.Job // +crossplane:generate:reference:extractor=github.com/upbound/provider-azure/apis/rconfig.ExtractResourceID() StreamAnalyticsJobID *string `json:"streamAnalyticsJobId,omitempty" tf:"stream_analytics_job_id,omitempty"` - // Reference to a Job to populate streamAnalyticsJobId. + // Reference to a Job in streamanalytics to populate streamAnalyticsJobId. // +kubebuilder:validation:Optional StreamAnalyticsJobIDRef *v1.Reference `json:"streamAnalyticsJobIdRef,omitempty" tf:"-"` - // Selector for a Job to populate streamAnalyticsJobId. + // Selector for a Job in streamanalytics to populate streamAnalyticsJobId. // +kubebuilder:validation:Optional StreamAnalyticsJobIDSelector *v1.Selector `json:"streamAnalyticsJobIdSelector,omitempty" tf:"-"` } @@ -71,16 +71,16 @@ type FunctionJavascriptUdaParameters struct { Script *string `json:"script,omitempty" tf:"script,omitempty"` // The resource ID of the Stream Analytics Job where this Function should be created. Changing this forces a new resource to be created. - // +crossplane:generate:reference:type=Job + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/streamanalytics/v1beta2.Job // +crossplane:generate:reference:extractor=github.com/upbound/provider-azure/apis/rconfig.ExtractResourceID() // +kubebuilder:validation:Optional StreamAnalyticsJobID *string `json:"streamAnalyticsJobId,omitempty" tf:"stream_analytics_job_id,omitempty"` - // Reference to a Job to populate streamAnalyticsJobId. + // Reference to a Job in streamanalytics to populate streamAnalyticsJobId. // +kubebuilder:validation:Optional StreamAnalyticsJobIDRef *v1.Reference `json:"streamAnalyticsJobIdRef,omitempty" tf:"-"` - // Selector for a Job to populate streamAnalyticsJobId. + // Selector for a Job in streamanalytics to populate streamAnalyticsJobId. // +kubebuilder:validation:Optional StreamAnalyticsJobIDSelector *v1.Selector `json:"streamAnalyticsJobIdSelector,omitempty" tf:"-"` } diff --git a/apis/streamanalytics/v1beta2/zz_outputblob_types.go b/apis/streamanalytics/v1beta2/zz_outputblob_types.go index fa31135db..95ad93287 100755 --- a/apis/streamanalytics/v1beta2/zz_outputblob_types.go +++ b/apis/streamanalytics/v1beta2/zz_outputblob_types.go @@ -61,14 +61,14 @@ type OutputBlobInitParameters struct { StorageContainerNameSelector *v1.Selector `json:"storageContainerNameSelector,omitempty" tf:"-"` // The name of the Stream Analytics Job. Changing this forces a new resource to be created. - // +crossplane:generate:reference:type=Job + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/streamanalytics/v1beta2.Job StreamAnalyticsJobName *string `json:"streamAnalyticsJobName,omitempty" tf:"stream_analytics_job_name,omitempty"` - // Reference to a Job to populate streamAnalyticsJobName. + // Reference to a Job in streamanalytics to populate streamAnalyticsJobName. // +kubebuilder:validation:Optional StreamAnalyticsJobNameRef *v1.Reference `json:"streamAnalyticsJobNameRef,omitempty" tf:"-"` - // Selector for a Job to populate streamAnalyticsJobName. + // Selector for a Job in streamanalytics to populate streamAnalyticsJobName. // +kubebuilder:validation:Optional StreamAnalyticsJobNameSelector *v1.Selector `json:"streamAnalyticsJobNameSelector,omitempty" tf:"-"` @@ -192,15 +192,15 @@ type OutputBlobParameters struct { StorageContainerNameSelector *v1.Selector `json:"storageContainerNameSelector,omitempty" tf:"-"` // The name of the Stream Analytics Job. Changing this forces a new resource to be created. - // +crossplane:generate:reference:type=Job + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/streamanalytics/v1beta2.Job // +kubebuilder:validation:Optional StreamAnalyticsJobName *string `json:"streamAnalyticsJobName,omitempty" tf:"stream_analytics_job_name,omitempty"` - // Reference to a Job to populate streamAnalyticsJobName. + // Reference to a Job in streamanalytics to populate streamAnalyticsJobName. // +kubebuilder:validation:Optional StreamAnalyticsJobNameRef *v1.Reference `json:"streamAnalyticsJobNameRef,omitempty" tf:"-"` - // Selector for a Job to populate streamAnalyticsJobName. + // Selector for a Job in streamanalytics to populate streamAnalyticsJobName. // +kubebuilder:validation:Optional StreamAnalyticsJobNameSelector *v1.Selector `json:"streamAnalyticsJobNameSelector,omitempty" tf:"-"` diff --git a/apis/streamanalytics/v1beta2/zz_outputservicebusqueue_types.go b/apis/streamanalytics/v1beta2/zz_outputservicebusqueue_types.go index 34ef370b2..f83d2a854 100755 --- a/apis/streamanalytics/v1beta2/zz_outputservicebusqueue_types.go +++ b/apis/streamanalytics/v1beta2/zz_outputservicebusqueue_types.go @@ -67,14 +67,14 @@ type OutputServiceBusQueueInitParameters struct { SharedAccessPolicyName *string `json:"sharedAccessPolicyName,omitempty" tf:"shared_access_policy_name,omitempty"` // The name of the Stream Analytics Job. Changing this forces a new resource to be created. - // +crossplane:generate:reference:type=Job + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/streamanalytics/v1beta2.Job StreamAnalyticsJobName *string `json:"streamAnalyticsJobName,omitempty" tf:"stream_analytics_job_name,omitempty"` - // Reference to a Job to populate streamAnalyticsJobName. + // Reference to a Job in streamanalytics to populate streamAnalyticsJobName. // +kubebuilder:validation:Optional StreamAnalyticsJobNameRef *v1.Reference `json:"streamAnalyticsJobNameRef,omitempty" tf:"-"` - // Selector for a Job to populate streamAnalyticsJobName. + // Selector for a Job in streamanalytics to populate streamAnalyticsJobName. // +kubebuilder:validation:Optional StreamAnalyticsJobNameSelector *v1.Selector `json:"streamAnalyticsJobNameSelector,omitempty" tf:"-"` @@ -186,15 +186,15 @@ type OutputServiceBusQueueParameters struct { SharedAccessPolicyName *string `json:"sharedAccessPolicyName,omitempty" tf:"shared_access_policy_name,omitempty"` // The name of the Stream Analytics Job. Changing this forces a new resource to be created. - // +crossplane:generate:reference:type=Job + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/streamanalytics/v1beta2.Job // +kubebuilder:validation:Optional StreamAnalyticsJobName *string `json:"streamAnalyticsJobName,omitempty" tf:"stream_analytics_job_name,omitempty"` - // Reference to a Job to populate streamAnalyticsJobName. + // Reference to a Job in streamanalytics to populate streamAnalyticsJobName. // +kubebuilder:validation:Optional StreamAnalyticsJobNameRef *v1.Reference `json:"streamAnalyticsJobNameRef,omitempty" tf:"-"` - // Selector for a Job to populate streamAnalyticsJobName. + // Selector for a Job in streamanalytics to populate streamAnalyticsJobName. // +kubebuilder:validation:Optional StreamAnalyticsJobNameSelector *v1.Selector `json:"streamAnalyticsJobNameSelector,omitempty" tf:"-"` diff --git a/apis/streamanalytics/v1beta2/zz_outputservicebustopic_types.go b/apis/streamanalytics/v1beta2/zz_outputservicebustopic_types.go index e9c37cf10..21f10b47a 100755 --- a/apis/streamanalytics/v1beta2/zz_outputservicebustopic_types.go +++ b/apis/streamanalytics/v1beta2/zz_outputservicebustopic_types.go @@ -55,14 +55,14 @@ type OutputServiceBusTopicInitParameters struct { SharedAccessPolicyName *string `json:"sharedAccessPolicyName,omitempty" tf:"shared_access_policy_name,omitempty"` // The name of the Stream Analytics Job. Changing this forces a new resource to be created. - // +crossplane:generate:reference:type=Job + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/streamanalytics/v1beta2.Job StreamAnalyticsJobName *string `json:"streamAnalyticsJobName,omitempty" tf:"stream_analytics_job_name,omitempty"` - // Reference to a Job to populate streamAnalyticsJobName. + // Reference to a Job in streamanalytics to populate streamAnalyticsJobName. // +kubebuilder:validation:Optional StreamAnalyticsJobNameRef *v1.Reference `json:"streamAnalyticsJobNameRef,omitempty" tf:"-"` - // Selector for a Job to populate streamAnalyticsJobName. + // Selector for a Job in streamanalytics to populate streamAnalyticsJobName. // +kubebuilder:validation:Optional StreamAnalyticsJobNameSelector *v1.Selector `json:"streamAnalyticsJobNameSelector,omitempty" tf:"-"` @@ -173,15 +173,15 @@ type OutputServiceBusTopicParameters struct { SharedAccessPolicyName *string `json:"sharedAccessPolicyName,omitempty" tf:"shared_access_policy_name,omitempty"` // The name of the Stream Analytics Job. Changing this forces a new resource to be created. - // +crossplane:generate:reference:type=Job + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/streamanalytics/v1beta2.Job // +kubebuilder:validation:Optional StreamAnalyticsJobName *string `json:"streamAnalyticsJobName,omitempty" tf:"stream_analytics_job_name,omitempty"` - // Reference to a Job to populate streamAnalyticsJobName. + // Reference to a Job in streamanalytics to populate streamAnalyticsJobName. // +kubebuilder:validation:Optional StreamAnalyticsJobNameRef *v1.Reference `json:"streamAnalyticsJobNameRef,omitempty" tf:"-"` - // Selector for a Job to populate streamAnalyticsJobName. + // Selector for a Job in streamanalytics to populate streamAnalyticsJobName. // +kubebuilder:validation:Optional StreamAnalyticsJobNameSelector *v1.Selector `json:"streamAnalyticsJobNameSelector,omitempty" tf:"-"` diff --git a/apis/streamanalytics/v1beta2/zz_referenceinputblob_types.go b/apis/streamanalytics/v1beta2/zz_referenceinputblob_types.go index 84ebdeeef..3460db99d 100755 --- a/apis/streamanalytics/v1beta2/zz_referenceinputblob_types.go +++ b/apis/streamanalytics/v1beta2/zz_referenceinputblob_types.go @@ -67,14 +67,14 @@ type ReferenceInputBlobInitParameters struct { StorageContainerNameSelector *v1.Selector `json:"storageContainerNameSelector,omitempty" tf:"-"` // The name of the Stream Analytics Job. Changing this forces a new resource to be created. - // +crossplane:generate:reference:type=Job + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/streamanalytics/v1beta2.Job StreamAnalyticsJobName *string `json:"streamAnalyticsJobName,omitempty" tf:"stream_analytics_job_name,omitempty"` - // Reference to a Job to populate streamAnalyticsJobName. + // Reference to a Job in streamanalytics to populate streamAnalyticsJobName. // +kubebuilder:validation:Optional StreamAnalyticsJobNameRef *v1.Reference `json:"streamAnalyticsJobNameRef,omitempty" tf:"-"` - // Selector for a Job to populate streamAnalyticsJobName. + // Selector for a Job in streamanalytics to populate streamAnalyticsJobName. // +kubebuilder:validation:Optional StreamAnalyticsJobNameSelector *v1.Selector `json:"streamAnalyticsJobNameSelector,omitempty" tf:"-"` @@ -184,15 +184,15 @@ type ReferenceInputBlobParameters struct { StorageContainerNameSelector *v1.Selector `json:"storageContainerNameSelector,omitempty" tf:"-"` // The name of the Stream Analytics Job. Changing this forces a new resource to be created. - // +crossplane:generate:reference:type=Job + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/streamanalytics/v1beta2.Job // +kubebuilder:validation:Optional StreamAnalyticsJobName *string `json:"streamAnalyticsJobName,omitempty" tf:"stream_analytics_job_name,omitempty"` - // Reference to a Job to populate streamAnalyticsJobName. + // Reference to a Job in streamanalytics to populate streamAnalyticsJobName. // +kubebuilder:validation:Optional StreamAnalyticsJobNameRef *v1.Reference `json:"streamAnalyticsJobNameRef,omitempty" tf:"-"` - // Selector for a Job to populate streamAnalyticsJobName. + // Selector for a Job in streamanalytics to populate streamAnalyticsJobName. // +kubebuilder:validation:Optional StreamAnalyticsJobNameSelector *v1.Selector `json:"streamAnalyticsJobNameSelector,omitempty" tf:"-"` diff --git a/apis/streamanalytics/v1beta2/zz_streaminputblob_types.go b/apis/streamanalytics/v1beta2/zz_streaminputblob_types.go index ecd578a6d..dfa7e947b 100755 --- a/apis/streamanalytics/v1beta2/zz_streaminputblob_types.go +++ b/apis/streamanalytics/v1beta2/zz_streaminputblob_types.go @@ -64,14 +64,14 @@ type StreamInputBlobInitParameters struct { StorageContainerNameSelector *v1.Selector `json:"storageContainerNameSelector,omitempty" tf:"-"` // The name of the Stream Analytics Job. Changing this forces a new resource to be created. - // +crossplane:generate:reference:type=Job + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/streamanalytics/v1beta2.Job StreamAnalyticsJobName *string `json:"streamAnalyticsJobName,omitempty" tf:"stream_analytics_job_name,omitempty"` - // Reference to a Job to populate streamAnalyticsJobName. + // Reference to a Job in streamanalytics to populate streamAnalyticsJobName. // +kubebuilder:validation:Optional StreamAnalyticsJobNameRef *v1.Reference `json:"streamAnalyticsJobNameRef,omitempty" tf:"-"` - // Selector for a Job to populate streamAnalyticsJobName. + // Selector for a Job in streamanalytics to populate streamAnalyticsJobName. // +kubebuilder:validation:Optional StreamAnalyticsJobNameSelector *v1.Selector `json:"streamAnalyticsJobNameSelector,omitempty" tf:"-"` @@ -174,15 +174,15 @@ type StreamInputBlobParameters struct { StorageContainerNameSelector *v1.Selector `json:"storageContainerNameSelector,omitempty" tf:"-"` // The name of the Stream Analytics Job. Changing this forces a new resource to be created. - // +crossplane:generate:reference:type=Job + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/streamanalytics/v1beta2.Job // +kubebuilder:validation:Optional StreamAnalyticsJobName *string `json:"streamAnalyticsJobName,omitempty" tf:"stream_analytics_job_name,omitempty"` - // Reference to a Job to populate streamAnalyticsJobName. + // Reference to a Job in streamanalytics to populate streamAnalyticsJobName. // +kubebuilder:validation:Optional StreamAnalyticsJobNameRef *v1.Reference `json:"streamAnalyticsJobNameRef,omitempty" tf:"-"` - // Selector for a Job to populate streamAnalyticsJobName. + // Selector for a Job in streamanalytics to populate streamAnalyticsJobName. // +kubebuilder:validation:Optional StreamAnalyticsJobNameSelector *v1.Selector `json:"streamAnalyticsJobNameSelector,omitempty" tf:"-"` diff --git a/apis/streamanalytics/v1beta2/zz_streaminputeventhub_types.go b/apis/streamanalytics/v1beta2/zz_streaminputeventhub_types.go index 1e5026cb5..7dba4b38b 100755 --- a/apis/streamanalytics/v1beta2/zz_streaminputeventhub_types.go +++ b/apis/streamanalytics/v1beta2/zz_streaminputeventhub_types.go @@ -79,14 +79,14 @@ type StreamInputEventHubInitParameters struct { SharedAccessPolicyName *string `json:"sharedAccessPolicyName,omitempty" tf:"shared_access_policy_name,omitempty"` // The name of the Stream Analytics Job. Changing this forces a new resource to be created. - // +crossplane:generate:reference:type=Job + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/streamanalytics/v1beta2.Job StreamAnalyticsJobName *string `json:"streamAnalyticsJobName,omitempty" tf:"stream_analytics_job_name,omitempty"` - // Reference to a Job to populate streamAnalyticsJobName. + // Reference to a Job in streamanalytics to populate streamAnalyticsJobName. // +kubebuilder:validation:Optional StreamAnalyticsJobNameRef *v1.Reference `json:"streamAnalyticsJobNameRef,omitempty" tf:"-"` - // Selector for a Job to populate streamAnalyticsJobName. + // Selector for a Job in streamanalytics to populate streamAnalyticsJobName. // +kubebuilder:validation:Optional StreamAnalyticsJobNameSelector *v1.Selector `json:"streamAnalyticsJobNameSelector,omitempty" tf:"-"` } @@ -206,15 +206,15 @@ type StreamInputEventHubParameters struct { SharedAccessPolicyName *string `json:"sharedAccessPolicyName,omitempty" tf:"shared_access_policy_name,omitempty"` // The name of the Stream Analytics Job. Changing this forces a new resource to be created. - // +crossplane:generate:reference:type=Job + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/streamanalytics/v1beta2.Job // +kubebuilder:validation:Optional StreamAnalyticsJobName *string `json:"streamAnalyticsJobName,omitempty" tf:"stream_analytics_job_name,omitempty"` - // Reference to a Job to populate streamAnalyticsJobName. + // Reference to a Job in streamanalytics to populate streamAnalyticsJobName. // +kubebuilder:validation:Optional StreamAnalyticsJobNameRef *v1.Reference `json:"streamAnalyticsJobNameRef,omitempty" tf:"-"` - // Selector for a Job to populate streamAnalyticsJobName. + // Selector for a Job in streamanalytics to populate streamAnalyticsJobName. // +kubebuilder:validation:Optional StreamAnalyticsJobNameSelector *v1.Selector `json:"streamAnalyticsJobNameSelector,omitempty" tf:"-"` } diff --git a/apis/streamanalytics/v1beta2/zz_streaminputiothub_types.go b/apis/streamanalytics/v1beta2/zz_streaminputiothub_types.go index 490da3d03..c5f5fdadb 100755 --- a/apis/streamanalytics/v1beta2/zz_streaminputiothub_types.go +++ b/apis/streamanalytics/v1beta2/zz_streaminputiothub_types.go @@ -64,14 +64,14 @@ type StreamInputIOTHubInitParameters struct { SharedAccessPolicyName *string `json:"sharedAccessPolicyName,omitempty" tf:"shared_access_policy_name,omitempty"` // The name of the Stream Analytics Job. Changing this forces a new resource to be created. - // +crossplane:generate:reference:type=Job + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/streamanalytics/v1beta2.Job StreamAnalyticsJobName *string `json:"streamAnalyticsJobName,omitempty" tf:"stream_analytics_job_name,omitempty"` - // Reference to a Job to populate streamAnalyticsJobName. + // Reference to a Job in streamanalytics to populate streamAnalyticsJobName. // +kubebuilder:validation:Optional StreamAnalyticsJobNameRef *v1.Reference `json:"streamAnalyticsJobNameRef,omitempty" tf:"-"` - // Selector for a Job to populate streamAnalyticsJobName. + // Selector for a Job in streamanalytics to populate streamAnalyticsJobName. // +kubebuilder:validation:Optional StreamAnalyticsJobNameSelector *v1.Selector `json:"streamAnalyticsJobNameSelector,omitempty" tf:"-"` } @@ -168,15 +168,15 @@ type StreamInputIOTHubParameters struct { SharedAccessPolicyName *string `json:"sharedAccessPolicyName,omitempty" tf:"shared_access_policy_name,omitempty"` // The name of the Stream Analytics Job. Changing this forces a new resource to be created. - // +crossplane:generate:reference:type=Job + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/streamanalytics/v1beta2.Job // +kubebuilder:validation:Optional StreamAnalyticsJobName *string `json:"streamAnalyticsJobName,omitempty" tf:"stream_analytics_job_name,omitempty"` - // Reference to a Job to populate streamAnalyticsJobName. + // Reference to a Job in streamanalytics to populate streamAnalyticsJobName. // +kubebuilder:validation:Optional StreamAnalyticsJobNameRef *v1.Reference `json:"streamAnalyticsJobNameRef,omitempty" tf:"-"` - // Selector for a Job to populate streamAnalyticsJobName. + // Selector for a Job in streamanalytics to populate streamAnalyticsJobName. // +kubebuilder:validation:Optional StreamAnalyticsJobNameSelector *v1.Selector `json:"streamAnalyticsJobNameSelector,omitempty" tf:"-"` } diff --git a/apis/synapse/v1beta2/zz_generated.resolvers.go b/apis/synapse/v1beta2/zz_generated.resolvers.go index b28b6b5c8..7c39756f2 100644 --- a/apis/synapse/v1beta2/zz_generated.resolvers.go +++ b/apis/synapse/v1beta2/zz_generated.resolvers.go @@ -164,7 +164,7 @@ func (mg *Workspace) ResolveReferences(ctx context.Context, c client.Reader) err var rsp reference.ResolutionResponse var err error { - m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta1", "Subnet", "SubnetList") + m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta2", "Subnet", "SubnetList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } @@ -261,7 +261,7 @@ func (mg *Workspace) ResolveReferences(ctx context.Context, c client.Reader) err mg.Spec.ForProvider.StorageDataLakeGen2FileSystemID = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.StorageDataLakeGen2FileSystemIDRef = rsp.ResolvedReference { - m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta1", "Subnet", "SubnetList") + m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta2", "Subnet", "SubnetList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } diff --git a/apis/synapse/v1beta2/zz_workspace_types.go b/apis/synapse/v1beta2/zz_workspace_types.go index 0253d346e..924ddaea2 100755 --- a/apis/synapse/v1beta2/zz_workspace_types.go +++ b/apis/synapse/v1beta2/zz_workspace_types.go @@ -348,7 +348,7 @@ type WorkspaceInitParameters struct { AzureadAuthenticationOnly *bool `json:"azureadAuthenticationOnly,omitempty" tf:"azuread_authentication_only,omitempty"` // Subnet ID used for computes in workspace Changing this forces a new resource to be created. - // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta1.Subnet + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta2.Subnet // +crossplane:generate:reference:extractor=github.com/upbound/provider-azure/apis/rconfig.ExtractResourceID() ComputeSubnetID *string `json:"computeSubnetId,omitempty" tf:"compute_subnet_id,omitempty"` @@ -512,7 +512,7 @@ type WorkspaceParameters struct { AzureadAuthenticationOnly *bool `json:"azureadAuthenticationOnly,omitempty" tf:"azuread_authentication_only,omitempty"` // Subnet ID used for computes in workspace Changing this forces a new resource to be created. - // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta1.Subnet + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta2.Subnet // +crossplane:generate:reference:extractor=github.com/upbound/provider-azure/apis/rconfig.ExtractResourceID() // +kubebuilder:validation:Optional ComputeSubnetID *string `json:"computeSubnetId,omitempty" tf:"compute_subnet_id,omitempty"` diff --git a/apis/web/v1beta2/zz_functionapp_types.go b/apis/web/v1beta2/zz_functionapp_types.go index a3cd5b3f8..4adeeb7f9 100755 --- a/apis/web/v1beta2/zz_functionapp_types.go +++ b/apis/web/v1beta2/zz_functionapp_types.go @@ -707,7 +707,7 @@ type IPRestrictionInitParameters struct { ServiceTag *string `json:"serviceTag,omitempty" tf:"service_tag"` // The Virtual Network Subnet ID used for this IP Restriction. - // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta1.Subnet + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta2.Subnet // +crossplane:generate:reference:extractor=github.com/upbound/provider-azure/apis/rconfig.ExtractResourceID() VirtualNetworkSubnetID *string `json:"virtualNetworkSubnetId,omitempty" tf:"virtual_network_subnet_id"` @@ -771,7 +771,7 @@ type IPRestrictionParameters struct { ServiceTag *string `json:"serviceTag,omitempty" tf:"service_tag"` // The Virtual Network Subnet ID used for this IP Restriction. - // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta1.Subnet + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta2.Subnet // +crossplane:generate:reference:extractor=github.com/upbound/provider-azure/apis/rconfig.ExtractResourceID() // +kubebuilder:validation:Optional VirtualNetworkSubnetID *string `json:"virtualNetworkSubnetId,omitempty" tf:"virtual_network_subnet_id"` @@ -938,7 +938,7 @@ type ScmIPRestrictionInitParameters struct { ServiceTag *string `json:"serviceTag,omitempty" tf:"service_tag"` // The Virtual Network Subnet ID used for this IP Restriction. - // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta1.Subnet + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta2.Subnet // +crossplane:generate:reference:extractor=github.com/upbound/provider-azure/apis/rconfig.ExtractResourceID() VirtualNetworkSubnetID *string `json:"virtualNetworkSubnetId,omitempty" tf:"virtual_network_subnet_id"` @@ -1002,7 +1002,7 @@ type ScmIPRestrictionParameters struct { ServiceTag *string `json:"serviceTag,omitempty" tf:"service_tag"` // The Virtual Network Subnet ID used for this IP Restriction. - // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta1.Subnet + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta2.Subnet // +crossplane:generate:reference:extractor=github.com/upbound/provider-azure/apis/rconfig.ExtractResourceID() // +kubebuilder:validation:Optional VirtualNetworkSubnetID *string `json:"virtualNetworkSubnetId,omitempty" tf:"virtual_network_subnet_id"` diff --git a/apis/web/v1beta2/zz_functionappslot_types.go b/apis/web/v1beta2/zz_functionappslot_types.go index f349d7f1e..cedda9d90 100755 --- a/apis/web/v1beta2/zz_functionappslot_types.go +++ b/apis/web/v1beta2/zz_functionappslot_types.go @@ -997,7 +997,7 @@ type SiteConfigIPRestrictionInitParameters struct { ServiceTag *string `json:"serviceTag,omitempty" tf:"service_tag"` // The Virtual Network Subnet ID used for this IP Restriction. - // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta1.Subnet + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta2.Subnet // +crossplane:generate:reference:extractor=github.com/upbound/provider-azure/apis/rconfig.ExtractResourceID() VirtualNetworkSubnetID *string `json:"virtualNetworkSubnetId,omitempty" tf:"virtual_network_subnet_id"` @@ -1061,7 +1061,7 @@ type SiteConfigIPRestrictionParameters struct { ServiceTag *string `json:"serviceTag,omitempty" tf:"service_tag"` // The Virtual Network Subnet ID used for this IP Restriction. - // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta1.Subnet + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta2.Subnet // +crossplane:generate:reference:extractor=github.com/upbound/provider-azure/apis/rconfig.ExtractResourceID() // +kubebuilder:validation:Optional VirtualNetworkSubnetID *string `json:"virtualNetworkSubnetId,omitempty" tf:"virtual_network_subnet_id"` @@ -1157,7 +1157,7 @@ type SiteConfigScmIPRestrictionInitParameters struct { ServiceTag *string `json:"serviceTag,omitempty" tf:"service_tag"` // The Virtual Network Subnet ID used for this IP Restriction. - // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta1.Subnet + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta2.Subnet // +crossplane:generate:reference:extractor=github.com/upbound/provider-azure/apis/rconfig.ExtractResourceID() VirtualNetworkSubnetID *string `json:"virtualNetworkSubnetId,omitempty" tf:"virtual_network_subnet_id"` @@ -1221,7 +1221,7 @@ type SiteConfigScmIPRestrictionParameters struct { ServiceTag *string `json:"serviceTag,omitempty" tf:"service_tag"` // The Virtual Network Subnet ID used for this IP Restriction. - // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta1.Subnet + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta2.Subnet // +crossplane:generate:reference:extractor=github.com/upbound/provider-azure/apis/rconfig.ExtractResourceID() // +kubebuilder:validation:Optional VirtualNetworkSubnetID *string `json:"virtualNetworkSubnetId,omitempty" tf:"virtual_network_subnet_id"` diff --git a/apis/web/v1beta2/zz_generated.resolvers.go b/apis/web/v1beta2/zz_generated.resolvers.go index a83ff2fb7..17859f946 100644 --- a/apis/web/v1beta2/zz_generated.resolvers.go +++ b/apis/web/v1beta2/zz_generated.resolvers.go @@ -100,7 +100,7 @@ func (mg *FunctionApp) ResolveReferences(ctx context.Context, c client.Reader) e if mg.Spec.ForProvider.SiteConfig != nil { for i4 := 0; i4 < len(mg.Spec.ForProvider.SiteConfig.IPRestriction); i4++ { { - m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta1", "Subnet", "SubnetList") + m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta2", "Subnet", "SubnetList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } @@ -123,7 +123,7 @@ func (mg *FunctionApp) ResolveReferences(ctx context.Context, c client.Reader) e if mg.Spec.ForProvider.SiteConfig != nil { for i4 := 0; i4 < len(mg.Spec.ForProvider.SiteConfig.ScmIPRestriction); i4++ { { - m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta1", "Subnet", "SubnetList") + m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta2", "Subnet", "SubnetList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } @@ -203,7 +203,7 @@ func (mg *FunctionApp) ResolveReferences(ctx context.Context, c client.Reader) e if mg.Spec.InitProvider.SiteConfig != nil { for i4 := 0; i4 < len(mg.Spec.InitProvider.SiteConfig.IPRestriction); i4++ { { - m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta1", "Subnet", "SubnetList") + m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta2", "Subnet", "SubnetList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } @@ -226,7 +226,7 @@ func (mg *FunctionApp) ResolveReferences(ctx context.Context, c client.Reader) e if mg.Spec.InitProvider.SiteConfig != nil { for i4 := 0; i4 < len(mg.Spec.InitProvider.SiteConfig.ScmIPRestriction); i4++ { { - m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta1", "Subnet", "SubnetList") + m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta2", "Subnet", "SubnetList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } @@ -337,7 +337,7 @@ func (mg *FunctionAppSlot) ResolveReferences(ctx context.Context, c client.Reade if mg.Spec.ForProvider.SiteConfig != nil { for i4 := 0; i4 < len(mg.Spec.ForProvider.SiteConfig.IPRestriction); i4++ { { - m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta1", "Subnet", "SubnetList") + m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta2", "Subnet", "SubnetList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } @@ -360,7 +360,7 @@ func (mg *FunctionAppSlot) ResolveReferences(ctx context.Context, c client.Reade if mg.Spec.ForProvider.SiteConfig != nil { for i4 := 0; i4 < len(mg.Spec.ForProvider.SiteConfig.ScmIPRestriction); i4++ { { - m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta1", "Subnet", "SubnetList") + m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta2", "Subnet", "SubnetList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } @@ -421,7 +421,7 @@ func (mg *FunctionAppSlot) ResolveReferences(ctx context.Context, c client.Reade if mg.Spec.InitProvider.SiteConfig != nil { for i4 := 0; i4 < len(mg.Spec.InitProvider.SiteConfig.IPRestriction); i4++ { { - m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta1", "Subnet", "SubnetList") + m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta2", "Subnet", "SubnetList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } @@ -444,7 +444,7 @@ func (mg *FunctionAppSlot) ResolveReferences(ctx context.Context, c client.Reade if mg.Spec.InitProvider.SiteConfig != nil { for i4 := 0; i4 < len(mg.Spec.InitProvider.SiteConfig.ScmIPRestriction); i4++ { { - m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta1", "Subnet", "SubnetList") + m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta2", "Subnet", "SubnetList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } @@ -536,7 +536,7 @@ func (mg *LinuxFunctionApp) ResolveReferences(ctx context.Context, c client.Read if mg.Spec.ForProvider.SiteConfig != nil { for i4 := 0; i4 < len(mg.Spec.ForProvider.SiteConfig.IPRestriction); i4++ { { - m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta1", "Subnet", "SubnetList") + m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta2", "Subnet", "SubnetList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } @@ -559,7 +559,7 @@ func (mg *LinuxFunctionApp) ResolveReferences(ctx context.Context, c client.Read if mg.Spec.ForProvider.SiteConfig != nil { for i4 := 0; i4 < len(mg.Spec.ForProvider.SiteConfig.ScmIPRestriction); i4++ { { - m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta1", "Subnet", "SubnetList") + m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta2", "Subnet", "SubnetList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } @@ -598,7 +598,7 @@ func (mg *LinuxFunctionApp) ResolveReferences(ctx context.Context, c client.Read mg.Spec.ForProvider.StorageAccountName = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.StorageAccountNameRef = rsp.ResolvedReference { - m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta1", "Subnet", "SubnetList") + m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta2", "Subnet", "SubnetList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } @@ -658,7 +658,7 @@ func (mg *LinuxFunctionApp) ResolveReferences(ctx context.Context, c client.Read if mg.Spec.InitProvider.SiteConfig != nil { for i4 := 0; i4 < len(mg.Spec.InitProvider.SiteConfig.IPRestriction); i4++ { { - m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta1", "Subnet", "SubnetList") + m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta2", "Subnet", "SubnetList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } @@ -681,7 +681,7 @@ func (mg *LinuxFunctionApp) ResolveReferences(ctx context.Context, c client.Read if mg.Spec.InitProvider.SiteConfig != nil { for i4 := 0; i4 < len(mg.Spec.InitProvider.SiteConfig.ScmIPRestriction); i4++ { { - m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta1", "Subnet", "SubnetList") + m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta2", "Subnet", "SubnetList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } @@ -720,7 +720,7 @@ func (mg *LinuxFunctionApp) ResolveReferences(ctx context.Context, c client.Read mg.Spec.InitProvider.StorageAccountName = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.InitProvider.StorageAccountNameRef = rsp.ResolvedReference { - m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta1", "Subnet", "SubnetList") + m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta2", "Subnet", "SubnetList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } @@ -773,7 +773,7 @@ func (mg *LinuxFunctionAppSlot) ResolveReferences(ctx context.Context, c client. if mg.Spec.ForProvider.SiteConfig != nil { for i4 := 0; i4 < len(mg.Spec.ForProvider.SiteConfig.IPRestriction); i4++ { { - m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta1", "Subnet", "SubnetList") + m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta2", "Subnet", "SubnetList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } @@ -796,7 +796,7 @@ func (mg *LinuxFunctionAppSlot) ResolveReferences(ctx context.Context, c client. if mg.Spec.ForProvider.SiteConfig != nil { for i4 := 0; i4 < len(mg.Spec.ForProvider.SiteConfig.ScmIPRestriction); i4++ { { - m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta1", "Subnet", "SubnetList") + m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta2", "Subnet", "SubnetList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } @@ -835,7 +835,7 @@ func (mg *LinuxFunctionAppSlot) ResolveReferences(ctx context.Context, c client. mg.Spec.ForProvider.StorageAccountName = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.StorageAccountNameRef = rsp.ResolvedReference { - m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta1", "Subnet", "SubnetList") + m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta2", "Subnet", "SubnetList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } @@ -857,7 +857,7 @@ func (mg *LinuxFunctionAppSlot) ResolveReferences(ctx context.Context, c client. if mg.Spec.InitProvider.SiteConfig != nil { for i4 := 0; i4 < len(mg.Spec.InitProvider.SiteConfig.IPRestriction); i4++ { { - m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta1", "Subnet", "SubnetList") + m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta2", "Subnet", "SubnetList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } @@ -880,7 +880,7 @@ func (mg *LinuxFunctionAppSlot) ResolveReferences(ctx context.Context, c client. if mg.Spec.InitProvider.SiteConfig != nil { for i4 := 0; i4 < len(mg.Spec.InitProvider.SiteConfig.ScmIPRestriction); i4++ { { - m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta1", "Subnet", "SubnetList") + m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta2", "Subnet", "SubnetList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } @@ -919,7 +919,7 @@ func (mg *LinuxFunctionAppSlot) ResolveReferences(ctx context.Context, c client. mg.Spec.InitProvider.StorageAccountName = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.InitProvider.StorageAccountNameRef = rsp.ResolvedReference { - m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta1", "Subnet", "SubnetList") + m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta2", "Subnet", "SubnetList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } @@ -991,7 +991,7 @@ func (mg *LinuxWebApp) ResolveReferences(ctx context.Context, c client.Reader) e if mg.Spec.ForProvider.SiteConfig != nil { for i4 := 0; i4 < len(mg.Spec.ForProvider.SiteConfig.IPRestriction); i4++ { { - m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta1", "Subnet", "SubnetList") + m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta2", "Subnet", "SubnetList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } @@ -1014,7 +1014,7 @@ func (mg *LinuxWebApp) ResolveReferences(ctx context.Context, c client.Reader) e if mg.Spec.ForProvider.SiteConfig != nil { for i4 := 0; i4 < len(mg.Spec.ForProvider.SiteConfig.ScmIPRestriction); i4++ { { - m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta1", "Subnet", "SubnetList") + m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta2", "Subnet", "SubnetList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } @@ -1035,7 +1035,7 @@ func (mg *LinuxWebApp) ResolveReferences(ctx context.Context, c client.Reader) e } } { - m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta1", "Subnet", "SubnetList") + m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta2", "Subnet", "SubnetList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } @@ -1075,7 +1075,7 @@ func (mg *LinuxWebApp) ResolveReferences(ctx context.Context, c client.Reader) e if mg.Spec.InitProvider.SiteConfig != nil { for i4 := 0; i4 < len(mg.Spec.InitProvider.SiteConfig.IPRestriction); i4++ { { - m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta1", "Subnet", "SubnetList") + m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta2", "Subnet", "SubnetList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } @@ -1098,7 +1098,7 @@ func (mg *LinuxWebApp) ResolveReferences(ctx context.Context, c client.Reader) e if mg.Spec.InitProvider.SiteConfig != nil { for i4 := 0; i4 < len(mg.Spec.InitProvider.SiteConfig.ScmIPRestriction); i4++ { { - m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta1", "Subnet", "SubnetList") + m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta2", "Subnet", "SubnetList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } @@ -1119,7 +1119,7 @@ func (mg *LinuxWebApp) ResolveReferences(ctx context.Context, c client.Reader) e } } { - m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta1", "Subnet", "SubnetList") + m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta2", "Subnet", "SubnetList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } @@ -1171,7 +1171,7 @@ func (mg *LinuxWebAppSlot) ResolveReferences(ctx context.Context, c client.Reade if mg.Spec.ForProvider.SiteConfig != nil { for i4 := 0; i4 < len(mg.Spec.ForProvider.SiteConfig.IPRestriction); i4++ { { - m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta1", "Subnet", "SubnetList") + m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta2", "Subnet", "SubnetList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } @@ -1194,7 +1194,7 @@ func (mg *LinuxWebAppSlot) ResolveReferences(ctx context.Context, c client.Reade if mg.Spec.ForProvider.SiteConfig != nil { for i4 := 0; i4 < len(mg.Spec.ForProvider.SiteConfig.ScmIPRestriction); i4++ { { - m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta1", "Subnet", "SubnetList") + m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta2", "Subnet", "SubnetList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } @@ -1215,7 +1215,7 @@ func (mg *LinuxWebAppSlot) ResolveReferences(ctx context.Context, c client.Reade } } { - m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta1", "Subnet", "SubnetList") + m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta2", "Subnet", "SubnetList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } @@ -1255,7 +1255,7 @@ func (mg *LinuxWebAppSlot) ResolveReferences(ctx context.Context, c client.Reade if mg.Spec.InitProvider.SiteConfig != nil { for i4 := 0; i4 < len(mg.Spec.InitProvider.SiteConfig.IPRestriction); i4++ { { - m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta1", "Subnet", "SubnetList") + m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta2", "Subnet", "SubnetList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } @@ -1278,7 +1278,7 @@ func (mg *LinuxWebAppSlot) ResolveReferences(ctx context.Context, c client.Reade if mg.Spec.InitProvider.SiteConfig != nil { for i4 := 0; i4 < len(mg.Spec.InitProvider.SiteConfig.ScmIPRestriction); i4++ { { - m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta1", "Subnet", "SubnetList") + m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta2", "Subnet", "SubnetList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } @@ -1299,7 +1299,7 @@ func (mg *LinuxWebAppSlot) ResolveReferences(ctx context.Context, c client.Reade } } { - m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta1", "Subnet", "SubnetList") + m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta2", "Subnet", "SubnetList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } @@ -1401,7 +1401,7 @@ func (mg *WindowsFunctionApp) ResolveReferences(ctx context.Context, c client.Re if mg.Spec.ForProvider.SiteConfig != nil { for i4 := 0; i4 < len(mg.Spec.ForProvider.SiteConfig.IPRestriction); i4++ { { - m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta1", "Subnet", "SubnetList") + m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta2", "Subnet", "SubnetList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } @@ -1424,7 +1424,7 @@ func (mg *WindowsFunctionApp) ResolveReferences(ctx context.Context, c client.Re if mg.Spec.ForProvider.SiteConfig != nil { for i4 := 0; i4 < len(mg.Spec.ForProvider.SiteConfig.ScmIPRestriction); i4++ { { - m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta1", "Subnet", "SubnetList") + m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta2", "Subnet", "SubnetList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } @@ -1463,7 +1463,7 @@ func (mg *WindowsFunctionApp) ResolveReferences(ctx context.Context, c client.Re mg.Spec.ForProvider.StorageAccountName = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.StorageAccountNameRef = rsp.ResolvedReference { - m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta1", "Subnet", "SubnetList") + m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta2", "Subnet", "SubnetList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } @@ -1504,7 +1504,7 @@ func (mg *WindowsFunctionApp) ResolveReferences(ctx context.Context, c client.Re if mg.Spec.InitProvider.SiteConfig != nil { for i4 := 0; i4 < len(mg.Spec.InitProvider.SiteConfig.IPRestriction); i4++ { { - m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta1", "Subnet", "SubnetList") + m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta2", "Subnet", "SubnetList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } @@ -1527,7 +1527,7 @@ func (mg *WindowsFunctionApp) ResolveReferences(ctx context.Context, c client.Re if mg.Spec.InitProvider.SiteConfig != nil { for i4 := 0; i4 < len(mg.Spec.InitProvider.SiteConfig.ScmIPRestriction); i4++ { { - m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta1", "Subnet", "SubnetList") + m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta2", "Subnet", "SubnetList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } @@ -1566,7 +1566,7 @@ func (mg *WindowsFunctionApp) ResolveReferences(ctx context.Context, c client.Re mg.Spec.InitProvider.StorageAccountName = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.InitProvider.StorageAccountNameRef = rsp.ResolvedReference { - m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta1", "Subnet", "SubnetList") + m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta2", "Subnet", "SubnetList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } @@ -1619,7 +1619,7 @@ func (mg *WindowsFunctionAppSlot) ResolveReferences(ctx context.Context, c clien if mg.Spec.ForProvider.SiteConfig != nil { for i4 := 0; i4 < len(mg.Spec.ForProvider.SiteConfig.IPRestriction); i4++ { { - m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta1", "Subnet", "SubnetList") + m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta2", "Subnet", "SubnetList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } @@ -1642,7 +1642,7 @@ func (mg *WindowsFunctionAppSlot) ResolveReferences(ctx context.Context, c clien if mg.Spec.ForProvider.SiteConfig != nil { for i4 := 0; i4 < len(mg.Spec.ForProvider.SiteConfig.ScmIPRestriction); i4++ { { - m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta1", "Subnet", "SubnetList") + m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta2", "Subnet", "SubnetList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } @@ -1681,7 +1681,7 @@ func (mg *WindowsFunctionAppSlot) ResolveReferences(ctx context.Context, c clien mg.Spec.ForProvider.StorageAccountName = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.StorageAccountNameRef = rsp.ResolvedReference { - m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta1", "Subnet", "SubnetList") + m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta2", "Subnet", "SubnetList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } @@ -1703,7 +1703,7 @@ func (mg *WindowsFunctionAppSlot) ResolveReferences(ctx context.Context, c clien if mg.Spec.InitProvider.SiteConfig != nil { for i4 := 0; i4 < len(mg.Spec.InitProvider.SiteConfig.IPRestriction); i4++ { { - m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta1", "Subnet", "SubnetList") + m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta2", "Subnet", "SubnetList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } @@ -1726,7 +1726,7 @@ func (mg *WindowsFunctionAppSlot) ResolveReferences(ctx context.Context, c clien if mg.Spec.InitProvider.SiteConfig != nil { for i4 := 0; i4 < len(mg.Spec.InitProvider.SiteConfig.ScmIPRestriction); i4++ { { - m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta1", "Subnet", "SubnetList") + m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta2", "Subnet", "SubnetList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } @@ -1765,7 +1765,7 @@ func (mg *WindowsFunctionAppSlot) ResolveReferences(ctx context.Context, c clien mg.Spec.InitProvider.StorageAccountName = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.InitProvider.StorageAccountNameRef = rsp.ResolvedReference { - m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta1", "Subnet", "SubnetList") + m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta2", "Subnet", "SubnetList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } @@ -1837,7 +1837,7 @@ func (mg *WindowsWebApp) ResolveReferences(ctx context.Context, c client.Reader) if mg.Spec.ForProvider.SiteConfig != nil { for i4 := 0; i4 < len(mg.Spec.ForProvider.SiteConfig.IPRestriction); i4++ { { - m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta1", "Subnet", "SubnetList") + m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta2", "Subnet", "SubnetList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } @@ -1860,7 +1860,7 @@ func (mg *WindowsWebApp) ResolveReferences(ctx context.Context, c client.Reader) if mg.Spec.ForProvider.SiteConfig != nil { for i4 := 0; i4 < len(mg.Spec.ForProvider.SiteConfig.ScmIPRestriction); i4++ { { - m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta1", "Subnet", "SubnetList") + m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta2", "Subnet", "SubnetList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } @@ -1881,7 +1881,7 @@ func (mg *WindowsWebApp) ResolveReferences(ctx context.Context, c client.Reader) } } { - m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta1", "Subnet", "SubnetList") + m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta2", "Subnet", "SubnetList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } @@ -1921,7 +1921,7 @@ func (mg *WindowsWebApp) ResolveReferences(ctx context.Context, c client.Reader) if mg.Spec.InitProvider.SiteConfig != nil { for i4 := 0; i4 < len(mg.Spec.InitProvider.SiteConfig.IPRestriction); i4++ { { - m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta1", "Subnet", "SubnetList") + m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta2", "Subnet", "SubnetList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } @@ -1944,7 +1944,7 @@ func (mg *WindowsWebApp) ResolveReferences(ctx context.Context, c client.Reader) if mg.Spec.InitProvider.SiteConfig != nil { for i4 := 0; i4 < len(mg.Spec.InitProvider.SiteConfig.ScmIPRestriction); i4++ { { - m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta1", "Subnet", "SubnetList") + m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta2", "Subnet", "SubnetList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } @@ -1965,7 +1965,7 @@ func (mg *WindowsWebApp) ResolveReferences(ctx context.Context, c client.Reader) } } { - m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta1", "Subnet", "SubnetList") + m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta2", "Subnet", "SubnetList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } @@ -2017,7 +2017,7 @@ func (mg *WindowsWebAppSlot) ResolveReferences(ctx context.Context, c client.Rea if mg.Spec.ForProvider.SiteConfig != nil { for i4 := 0; i4 < len(mg.Spec.ForProvider.SiteConfig.IPRestriction); i4++ { { - m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta1", "Subnet", "SubnetList") + m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta2", "Subnet", "SubnetList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } @@ -2040,7 +2040,7 @@ func (mg *WindowsWebAppSlot) ResolveReferences(ctx context.Context, c client.Rea if mg.Spec.ForProvider.SiteConfig != nil { for i4 := 0; i4 < len(mg.Spec.ForProvider.SiteConfig.ScmIPRestriction); i4++ { { - m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta1", "Subnet", "SubnetList") + m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta2", "Subnet", "SubnetList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } @@ -2061,7 +2061,7 @@ func (mg *WindowsWebAppSlot) ResolveReferences(ctx context.Context, c client.Rea } } { - m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta1", "Subnet", "SubnetList") + m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta2", "Subnet", "SubnetList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } @@ -2082,7 +2082,7 @@ func (mg *WindowsWebAppSlot) ResolveReferences(ctx context.Context, c client.Rea if mg.Spec.InitProvider.SiteConfig != nil { for i4 := 0; i4 < len(mg.Spec.InitProvider.SiteConfig.IPRestriction); i4++ { { - m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta1", "Subnet", "SubnetList") + m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta2", "Subnet", "SubnetList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } @@ -2105,7 +2105,7 @@ func (mg *WindowsWebAppSlot) ResolveReferences(ctx context.Context, c client.Rea if mg.Spec.InitProvider.SiteConfig != nil { for i4 := 0; i4 < len(mg.Spec.InitProvider.SiteConfig.ScmIPRestriction); i4++ { { - m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta1", "Subnet", "SubnetList") + m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta2", "Subnet", "SubnetList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } @@ -2126,7 +2126,7 @@ func (mg *WindowsWebAppSlot) ResolveReferences(ctx context.Context, c client.Rea } } { - m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta1", "Subnet", "SubnetList") + m, l, err = apisresolver.GetManagedResource("network.azure.upbound.io", "v1beta2", "Subnet", "SubnetList") if err != nil { return errors.Wrap(err, "failed to get the reference target managed resource and its list for reference resolution") } diff --git a/apis/web/v1beta2/zz_linuxfunctionapp_types.go b/apis/web/v1beta2/zz_linuxfunctionapp_types.go index 9dbd94de4..fba750124 100755 --- a/apis/web/v1beta2/zz_linuxfunctionapp_types.go +++ b/apis/web/v1beta2/zz_linuxfunctionapp_types.go @@ -1735,7 +1735,7 @@ type LinuxFunctionAppInitParameters struct { Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` // The subnet id which will be used by this Function App for regional virtual network integration. - // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta1.Subnet + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta2.Subnet // +crossplane:generate:reference:extractor=github.com/upbound/provider-azure/apis/rconfig.ExtractResourceID() VirtualNetworkSubnetID *string `json:"virtualNetworkSubnetId,omitempty" tf:"virtual_network_subnet_id,omitempty"` @@ -2067,7 +2067,7 @@ type LinuxFunctionAppParameters struct { Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` // The subnet id which will be used by this Function App for regional virtual network integration. - // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta1.Subnet + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta2.Subnet // +crossplane:generate:reference:extractor=github.com/upbound/provider-azure/apis/rconfig.ExtractResourceID() // +kubebuilder:validation:Optional VirtualNetworkSubnetID *string `json:"virtualNetworkSubnetId,omitempty" tf:"virtual_network_subnet_id,omitempty"` @@ -2159,7 +2159,7 @@ type LinuxFunctionAppSiteConfigIPRestrictionInitParameters struct { // The subnet id which will be used by this Function App for regional virtual network integration. // The Virtual Network Subnet ID used for this IP Restriction. - // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta1.Subnet + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta2.Subnet // +crossplane:generate:reference:extractor=github.com/upbound/provider-azure/apis/rconfig.ExtractResourceID() VirtualNetworkSubnetID *string `json:"virtualNetworkSubnetId,omitempty" tf:"virtual_network_subnet_id,omitempty"` @@ -2244,7 +2244,7 @@ type LinuxFunctionAppSiteConfigIPRestrictionParameters struct { // The subnet id which will be used by this Function App for regional virtual network integration. // The Virtual Network Subnet ID used for this IP Restriction. - // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta1.Subnet + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta2.Subnet // +crossplane:generate:reference:extractor=github.com/upbound/provider-azure/apis/rconfig.ExtractResourceID() // +kubebuilder:validation:Optional VirtualNetworkSubnetID *string `json:"virtualNetworkSubnetId,omitempty" tf:"virtual_network_subnet_id,omitempty"` @@ -2775,7 +2775,7 @@ type LinuxFunctionAppSiteConfigScmIPRestrictionInitParameters struct { // The subnet id which will be used by this Function App for regional virtual network integration. // The Virtual Network Subnet ID used for this IP Restriction. - // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta1.Subnet + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta2.Subnet // +crossplane:generate:reference:extractor=github.com/upbound/provider-azure/apis/rconfig.ExtractResourceID() VirtualNetworkSubnetID *string `json:"virtualNetworkSubnetId,omitempty" tf:"virtual_network_subnet_id,omitempty"` @@ -2860,7 +2860,7 @@ type LinuxFunctionAppSiteConfigScmIPRestrictionParameters struct { // The subnet id which will be used by this Function App for regional virtual network integration. // The Virtual Network Subnet ID used for this IP Restriction. - // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta1.Subnet + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta2.Subnet // +crossplane:generate:reference:extractor=github.com/upbound/provider-azure/apis/rconfig.ExtractResourceID() // +kubebuilder:validation:Optional VirtualNetworkSubnetID *string `json:"virtualNetworkSubnetId,omitempty" tf:"virtual_network_subnet_id,omitempty"` diff --git a/apis/web/v1beta2/zz_linuxfunctionappslot_types.go b/apis/web/v1beta2/zz_linuxfunctionappslot_types.go index 1fae65910..6b737f3e5 100755 --- a/apis/web/v1beta2/zz_linuxfunctionappslot_types.go +++ b/apis/web/v1beta2/zz_linuxfunctionappslot_types.go @@ -1883,7 +1883,7 @@ type LinuxFunctionAppSlotInitParameters struct { Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` // The subnet id which will be used by this Function App Slot for regional virtual network integration. - // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta1.Subnet + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta2.Subnet // +crossplane:generate:reference:extractor=github.com/upbound/provider-azure/apis/rconfig.ExtractResourceID() VirtualNetworkSubnetID *string `json:"virtualNetworkSubnetId,omitempty" tf:"virtual_network_subnet_id,omitempty"` @@ -2175,7 +2175,7 @@ type LinuxFunctionAppSlotParameters struct { Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` // The subnet id which will be used by this Function App Slot for regional virtual network integration. - // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta1.Subnet + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta2.Subnet // +crossplane:generate:reference:extractor=github.com/upbound/provider-azure/apis/rconfig.ExtractResourceID() // +kubebuilder:validation:Optional VirtualNetworkSubnetID *string `json:"virtualNetworkSubnetId,omitempty" tf:"virtual_network_subnet_id,omitempty"` @@ -2311,7 +2311,7 @@ type LinuxFunctionAppSlotSiteConfigIPRestrictionInitParameters struct { // The subnet id which will be used by this Function App Slot for regional virtual network integration. // The Virtual Network Subnet ID used for this IP Restriction. - // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta1.Subnet + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta2.Subnet // +crossplane:generate:reference:extractor=github.com/upbound/provider-azure/apis/rconfig.ExtractResourceID() VirtualNetworkSubnetID *string `json:"virtualNetworkSubnetId,omitempty" tf:"virtual_network_subnet_id,omitempty"` @@ -2396,7 +2396,7 @@ type LinuxFunctionAppSlotSiteConfigIPRestrictionParameters struct { // The subnet id which will be used by this Function App Slot for regional virtual network integration. // The Virtual Network Subnet ID used for this IP Restriction. - // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta1.Subnet + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta2.Subnet // +crossplane:generate:reference:extractor=github.com/upbound/provider-azure/apis/rconfig.ExtractResourceID() // +kubebuilder:validation:Optional VirtualNetworkSubnetID *string `json:"virtualNetworkSubnetId,omitempty" tf:"virtual_network_subnet_id,omitempty"` @@ -2939,7 +2939,7 @@ type LinuxFunctionAppSlotSiteConfigScmIPRestrictionInitParameters struct { // The subnet id which will be used by this Function App Slot for regional virtual network integration. // The Virtual Network Subnet ID used for this IP Restriction. - // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta1.Subnet + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta2.Subnet // +crossplane:generate:reference:extractor=github.com/upbound/provider-azure/apis/rconfig.ExtractResourceID() VirtualNetworkSubnetID *string `json:"virtualNetworkSubnetId,omitempty" tf:"virtual_network_subnet_id,omitempty"` @@ -3024,7 +3024,7 @@ type LinuxFunctionAppSlotSiteConfigScmIPRestrictionParameters struct { // The subnet id which will be used by this Function App Slot for regional virtual network integration. // The Virtual Network Subnet ID used for this IP Restriction. - // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta1.Subnet + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta2.Subnet // +crossplane:generate:reference:extractor=github.com/upbound/provider-azure/apis/rconfig.ExtractResourceID() // +kubebuilder:validation:Optional VirtualNetworkSubnetID *string `json:"virtualNetworkSubnetId,omitempty" tf:"virtual_network_subnet_id,omitempty"` diff --git a/apis/web/v1beta2/zz_linuxwebapp_types.go b/apis/web/v1beta2/zz_linuxwebapp_types.go index 61ceec7c1..a38e9767f 100755 --- a/apis/web/v1beta2/zz_linuxwebapp_types.go +++ b/apis/web/v1beta2/zz_linuxwebapp_types.go @@ -2010,7 +2010,7 @@ type LinuxWebAppInitParameters struct { Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` // The subnet id which will be used by this Web App for regional virtual network integration. - // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta1.Subnet + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta2.Subnet // +crossplane:generate:reference:extractor=github.com/upbound/provider-azure/apis/rconfig.ExtractResourceID() VirtualNetworkSubnetID *string `json:"virtualNetworkSubnetId,omitempty" tf:"virtual_network_subnet_id,omitempty"` @@ -2256,7 +2256,7 @@ type LinuxWebAppParameters struct { Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` // The subnet id which will be used by this Web App for regional virtual network integration. - // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta1.Subnet + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta2.Subnet // +crossplane:generate:reference:extractor=github.com/upbound/provider-azure/apis/rconfig.ExtractResourceID() // +kubebuilder:validation:Optional VirtualNetworkSubnetID *string `json:"virtualNetworkSubnetId,omitempty" tf:"virtual_network_subnet_id,omitempty"` @@ -2542,7 +2542,7 @@ type LinuxWebAppSiteConfigIPRestrictionInitParameters struct { // The subnet id which will be used by this Web App for regional virtual network integration. // The Virtual Network Subnet ID used for this IP Restriction. - // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta1.Subnet + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta2.Subnet // +crossplane:generate:reference:extractor=github.com/upbound/provider-azure/apis/rconfig.ExtractResourceID() VirtualNetworkSubnetID *string `json:"virtualNetworkSubnetId,omitempty" tf:"virtual_network_subnet_id,omitempty"` @@ -2627,7 +2627,7 @@ type LinuxWebAppSiteConfigIPRestrictionParameters struct { // The subnet id which will be used by this Web App for regional virtual network integration. // The Virtual Network Subnet ID used for this IP Restriction. - // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta1.Subnet + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta2.Subnet // +crossplane:generate:reference:extractor=github.com/upbound/provider-azure/apis/rconfig.ExtractResourceID() // +kubebuilder:validation:Optional VirtualNetworkSubnetID *string `json:"virtualNetworkSubnetId,omitempty" tf:"virtual_network_subnet_id,omitempty"` @@ -3053,7 +3053,7 @@ type LinuxWebAppSiteConfigScmIPRestrictionInitParameters struct { // The subnet id which will be used by this Web App for regional virtual network integration. // The Virtual Network Subnet ID used for this IP Restriction. - // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta1.Subnet + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta2.Subnet // +crossplane:generate:reference:extractor=github.com/upbound/provider-azure/apis/rconfig.ExtractResourceID() VirtualNetworkSubnetID *string `json:"virtualNetworkSubnetId,omitempty" tf:"virtual_network_subnet_id,omitempty"` @@ -3138,7 +3138,7 @@ type LinuxWebAppSiteConfigScmIPRestrictionParameters struct { // The subnet id which will be used by this Web App for regional virtual network integration. // The Virtual Network Subnet ID used for this IP Restriction. - // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta1.Subnet + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta2.Subnet // +crossplane:generate:reference:extractor=github.com/upbound/provider-azure/apis/rconfig.ExtractResourceID() // +kubebuilder:validation:Optional VirtualNetworkSubnetID *string `json:"virtualNetworkSubnetId,omitempty" tf:"virtual_network_subnet_id,omitempty"` diff --git a/apis/web/v1beta2/zz_linuxwebappslot_types.go b/apis/web/v1beta2/zz_linuxwebappslot_types.go index 161085e7f..6cbdcbb2b 100755 --- a/apis/web/v1beta2/zz_linuxwebappslot_types.go +++ b/apis/web/v1beta2/zz_linuxwebappslot_types.go @@ -1939,7 +1939,7 @@ type LinuxWebAppSlotInitParameters struct { Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` // The subnet id which will be used by this Web App Slot for regional virtual network integration. - // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta1.Subnet + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta2.Subnet // +crossplane:generate:reference:extractor=github.com/upbound/provider-azure/apis/rconfig.ExtractResourceID() VirtualNetworkSubnetID *string `json:"virtualNetworkSubnetId,omitempty" tf:"virtual_network_subnet_id,omitempty"` @@ -2222,7 +2222,7 @@ type LinuxWebAppSlotParameters struct { Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` // The subnet id which will be used by this Web App Slot for regional virtual network integration. - // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta1.Subnet + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta2.Subnet // +crossplane:generate:reference:extractor=github.com/upbound/provider-azure/apis/rconfig.ExtractResourceID() // +kubebuilder:validation:Optional VirtualNetworkSubnetID *string `json:"virtualNetworkSubnetId,omitempty" tf:"virtual_network_subnet_id,omitempty"` @@ -2508,7 +2508,7 @@ type LinuxWebAppSlotSiteConfigIPRestrictionInitParameters struct { // The subnet id which will be used by this Web App Slot for regional virtual network integration. // The Virtual Network Subnet ID used for this IP Restriction. - // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta1.Subnet + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta2.Subnet // +crossplane:generate:reference:extractor=github.com/upbound/provider-azure/apis/rconfig.ExtractResourceID() VirtualNetworkSubnetID *string `json:"virtualNetworkSubnetId,omitempty" tf:"virtual_network_subnet_id,omitempty"` @@ -2593,7 +2593,7 @@ type LinuxWebAppSlotSiteConfigIPRestrictionParameters struct { // The subnet id which will be used by this Web App Slot for regional virtual network integration. // The Virtual Network Subnet ID used for this IP Restriction. - // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta1.Subnet + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta2.Subnet // +crossplane:generate:reference:extractor=github.com/upbound/provider-azure/apis/rconfig.ExtractResourceID() // +kubebuilder:validation:Optional VirtualNetworkSubnetID *string `json:"virtualNetworkSubnetId,omitempty" tf:"virtual_network_subnet_id,omitempty"` @@ -3029,7 +3029,7 @@ type LinuxWebAppSlotSiteConfigScmIPRestrictionInitParameters struct { // The subnet id which will be used by this Web App Slot for regional virtual network integration. // The Virtual Network Subnet ID used for this IP Restriction. - // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta1.Subnet + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta2.Subnet // +crossplane:generate:reference:extractor=github.com/upbound/provider-azure/apis/rconfig.ExtractResourceID() VirtualNetworkSubnetID *string `json:"virtualNetworkSubnetId,omitempty" tf:"virtual_network_subnet_id,omitempty"` @@ -3114,7 +3114,7 @@ type LinuxWebAppSlotSiteConfigScmIPRestrictionParameters struct { // The subnet id which will be used by this Web App Slot for regional virtual network integration. // The Virtual Network Subnet ID used for this IP Restriction. - // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta1.Subnet + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta2.Subnet // +crossplane:generate:reference:extractor=github.com/upbound/provider-azure/apis/rconfig.ExtractResourceID() // +kubebuilder:validation:Optional VirtualNetworkSubnetID *string `json:"virtualNetworkSubnetId,omitempty" tf:"virtual_network_subnet_id,omitempty"` diff --git a/apis/web/v1beta2/zz_windowsfunctionapp_types.go b/apis/web/v1beta2/zz_windowsfunctionapp_types.go index 0c703b086..e5bfa1e7b 100755 --- a/apis/web/v1beta2/zz_windowsfunctionapp_types.go +++ b/apis/web/v1beta2/zz_windowsfunctionapp_types.go @@ -1841,7 +1841,7 @@ type WindowsFunctionAppInitParameters struct { Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` // The subnet id which will be used by this Function App for regional virtual network integration. - // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta1.Subnet + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta2.Subnet // +crossplane:generate:reference:extractor=github.com/upbound/provider-azure/apis/rconfig.ExtractResourceID() VirtualNetworkSubnetID *string `json:"virtualNetworkSubnetId,omitempty" tf:"virtual_network_subnet_id,omitempty"` @@ -2164,7 +2164,7 @@ type WindowsFunctionAppParameters struct { Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` // The subnet id which will be used by this Function App for regional virtual network integration. - // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta1.Subnet + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta2.Subnet // +crossplane:generate:reference:extractor=github.com/upbound/provider-azure/apis/rconfig.ExtractResourceID() // +kubebuilder:validation:Optional VirtualNetworkSubnetID *string `json:"virtualNetworkSubnetId,omitempty" tf:"virtual_network_subnet_id,omitempty"` @@ -2427,7 +2427,7 @@ type WindowsFunctionAppSiteConfigIPRestrictionInitParameters struct { // The subnet id which will be used by this Function App for regional virtual network integration. // The Virtual Network Subnet ID used for this IP Restriction. - // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta1.Subnet + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta2.Subnet // +crossplane:generate:reference:extractor=github.com/upbound/provider-azure/apis/rconfig.ExtractResourceID() VirtualNetworkSubnetID *string `json:"virtualNetworkSubnetId,omitempty" tf:"virtual_network_subnet_id,omitempty"` @@ -2512,7 +2512,7 @@ type WindowsFunctionAppSiteConfigIPRestrictionParameters struct { // The subnet id which will be used by this Function App for regional virtual network integration. // The Virtual Network Subnet ID used for this IP Restriction. - // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta1.Subnet + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta2.Subnet // +crossplane:generate:reference:extractor=github.com/upbound/provider-azure/apis/rconfig.ExtractResourceID() // +kubebuilder:validation:Optional VirtualNetworkSubnetID *string `json:"virtualNetworkSubnetId,omitempty" tf:"virtual_network_subnet_id,omitempty"` @@ -3017,7 +3017,7 @@ type WindowsFunctionAppSiteConfigScmIPRestrictionInitParameters struct { // The subnet id which will be used by this Function App for regional virtual network integration. // The Virtual Network Subnet ID used for this IP Restriction. - // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta1.Subnet + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta2.Subnet // +crossplane:generate:reference:extractor=github.com/upbound/provider-azure/apis/rconfig.ExtractResourceID() VirtualNetworkSubnetID *string `json:"virtualNetworkSubnetId,omitempty" tf:"virtual_network_subnet_id,omitempty"` @@ -3102,7 +3102,7 @@ type WindowsFunctionAppSiteConfigScmIPRestrictionParameters struct { // The subnet id which will be used by this Function App for regional virtual network integration. // The Virtual Network Subnet ID used for this IP Restriction. - // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta1.Subnet + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta2.Subnet // +crossplane:generate:reference:extractor=github.com/upbound/provider-azure/apis/rconfig.ExtractResourceID() // +kubebuilder:validation:Optional VirtualNetworkSubnetID *string `json:"virtualNetworkSubnetId,omitempty" tf:"virtual_network_subnet_id,omitempty"` diff --git a/apis/web/v1beta2/zz_windowsfunctionappslot_types.go b/apis/web/v1beta2/zz_windowsfunctionappslot_types.go index f21fcfc49..7afea809e 100755 --- a/apis/web/v1beta2/zz_windowsfunctionappslot_types.go +++ b/apis/web/v1beta2/zz_windowsfunctionappslot_types.go @@ -1825,7 +1825,7 @@ type WindowsFunctionAppSlotInitParameters struct { Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` // The subnet id which will be used by this Function App Slot for regional virtual network integration. - // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta1.Subnet + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta2.Subnet // +crossplane:generate:reference:extractor=github.com/upbound/provider-azure/apis/rconfig.ExtractResourceID() VirtualNetworkSubnetID *string `json:"virtualNetworkSubnetId,omitempty" tf:"virtual_network_subnet_id,omitempty"` @@ -2123,7 +2123,7 @@ type WindowsFunctionAppSlotParameters struct { Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` // The subnet id which will be used by this Function App Slot for regional virtual network integration. - // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta1.Subnet + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta2.Subnet // +crossplane:generate:reference:extractor=github.com/upbound/provider-azure/apis/rconfig.ExtractResourceID() // +kubebuilder:validation:Optional VirtualNetworkSubnetID *string `json:"virtualNetworkSubnetId,omitempty" tf:"virtual_network_subnet_id,omitempty"` @@ -2381,7 +2381,7 @@ type WindowsFunctionAppSlotSiteConfigIPRestrictionInitParameters struct { // The subnet id which will be used by this Function App Slot for regional virtual network integration. // The Virtual Network Subnet ID used for this IP Restriction. - // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta1.Subnet + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta2.Subnet // +crossplane:generate:reference:extractor=github.com/upbound/provider-azure/apis/rconfig.ExtractResourceID() VirtualNetworkSubnetID *string `json:"virtualNetworkSubnetId,omitempty" tf:"virtual_network_subnet_id,omitempty"` @@ -2466,7 +2466,7 @@ type WindowsFunctionAppSlotSiteConfigIPRestrictionParameters struct { // The subnet id which will be used by this Function App Slot for regional virtual network integration. // The Virtual Network Subnet ID used for this IP Restriction. - // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta1.Subnet + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta2.Subnet // +crossplane:generate:reference:extractor=github.com/upbound/provider-azure/apis/rconfig.ExtractResourceID() // +kubebuilder:validation:Optional VirtualNetworkSubnetID *string `json:"virtualNetworkSubnetId,omitempty" tf:"virtual_network_subnet_id,omitempty"` @@ -2983,7 +2983,7 @@ type WindowsFunctionAppSlotSiteConfigScmIPRestrictionInitParameters struct { // The subnet id which will be used by this Function App Slot for regional virtual network integration. // The Virtual Network Subnet ID used for this IP Restriction. - // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta1.Subnet + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta2.Subnet // +crossplane:generate:reference:extractor=github.com/upbound/provider-azure/apis/rconfig.ExtractResourceID() VirtualNetworkSubnetID *string `json:"virtualNetworkSubnetId,omitempty" tf:"virtual_network_subnet_id,omitempty"` @@ -3068,7 +3068,7 @@ type WindowsFunctionAppSlotSiteConfigScmIPRestrictionParameters struct { // The subnet id which will be used by this Function App Slot for regional virtual network integration. // The Virtual Network Subnet ID used for this IP Restriction. - // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta1.Subnet + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta2.Subnet // +crossplane:generate:reference:extractor=github.com/upbound/provider-azure/apis/rconfig.ExtractResourceID() // +kubebuilder:validation:Optional VirtualNetworkSubnetID *string `json:"virtualNetworkSubnetId,omitempty" tf:"virtual_network_subnet_id,omitempty"` diff --git a/apis/web/v1beta2/zz_windowswebapp_types.go b/apis/web/v1beta2/zz_windowswebapp_types.go index 67a0cdaea..8dc154bf7 100755 --- a/apis/web/v1beta2/zz_windowswebapp_types.go +++ b/apis/web/v1beta2/zz_windowswebapp_types.go @@ -2213,7 +2213,7 @@ type WindowsWebAppInitParameters struct { Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` // The subnet id which will be used by this Web App for regional virtual network integration. - // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta1.Subnet + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta2.Subnet // +crossplane:generate:reference:extractor=github.com/upbound/provider-azure/apis/rconfig.ExtractResourceID() VirtualNetworkSubnetID *string `json:"virtualNetworkSubnetId,omitempty" tf:"virtual_network_subnet_id,omitempty"` @@ -2589,7 +2589,7 @@ type WindowsWebAppParameters struct { Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` // The subnet id which will be used by this Web App for regional virtual network integration. - // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta1.Subnet + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta2.Subnet // +crossplane:generate:reference:extractor=github.com/upbound/provider-azure/apis/rconfig.ExtractResourceID() // +kubebuilder:validation:Optional VirtualNetworkSubnetID *string `json:"virtualNetworkSubnetId,omitempty" tf:"virtual_network_subnet_id,omitempty"` @@ -2946,7 +2946,7 @@ type WindowsWebAppSiteConfigIPRestrictionInitParameters struct { // The subnet id which will be used by this Web App for regional virtual network integration. // The Virtual Network Subnet ID used for this IP Restriction. - // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta1.Subnet + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta2.Subnet // +crossplane:generate:reference:extractor=github.com/upbound/provider-azure/apis/rconfig.ExtractResourceID() VirtualNetworkSubnetID *string `json:"virtualNetworkSubnetId,omitempty" tf:"virtual_network_subnet_id,omitempty"` @@ -3031,7 +3031,7 @@ type WindowsWebAppSiteConfigIPRestrictionParameters struct { // The subnet id which will be used by this Web App for regional virtual network integration. // The Virtual Network Subnet ID used for this IP Restriction. - // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta1.Subnet + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta2.Subnet // +crossplane:generate:reference:extractor=github.com/upbound/provider-azure/apis/rconfig.ExtractResourceID() // +kubebuilder:validation:Optional VirtualNetworkSubnetID *string `json:"virtualNetworkSubnetId,omitempty" tf:"virtual_network_subnet_id,omitempty"` @@ -3469,7 +3469,7 @@ type WindowsWebAppSiteConfigScmIPRestrictionInitParameters struct { // The subnet id which will be used by this Web App for regional virtual network integration. // The Virtual Network Subnet ID used for this IP Restriction. - // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta1.Subnet + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta2.Subnet // +crossplane:generate:reference:extractor=github.com/upbound/provider-azure/apis/rconfig.ExtractResourceID() VirtualNetworkSubnetID *string `json:"virtualNetworkSubnetId,omitempty" tf:"virtual_network_subnet_id,omitempty"` @@ -3554,7 +3554,7 @@ type WindowsWebAppSiteConfigScmIPRestrictionParameters struct { // The subnet id which will be used by this Web App for regional virtual network integration. // The Virtual Network Subnet ID used for this IP Restriction. - // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta1.Subnet + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta2.Subnet // +crossplane:generate:reference:extractor=github.com/upbound/provider-azure/apis/rconfig.ExtractResourceID() // +kubebuilder:validation:Optional VirtualNetworkSubnetID *string `json:"virtualNetworkSubnetId,omitempty" tf:"virtual_network_subnet_id,omitempty"` diff --git a/apis/web/v1beta2/zz_windowswebappslot_types.go b/apis/web/v1beta2/zz_windowswebappslot_types.go index cc5578856..4fbf2dd61 100755 --- a/apis/web/v1beta2/zz_windowswebappslot_types.go +++ b/apis/web/v1beta2/zz_windowswebappslot_types.go @@ -2041,7 +2041,7 @@ type WindowsWebAppSlotInitParameters struct { Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` // The subnet id which will be used by this Web App Slot for regional virtual network integration. - // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta1.Subnet + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta2.Subnet // +crossplane:generate:reference:extractor=github.com/upbound/provider-azure/apis/rconfig.ExtractResourceID() VirtualNetworkSubnetID *string `json:"virtualNetworkSubnetId,omitempty" tf:"virtual_network_subnet_id,omitempty"` @@ -2462,7 +2462,7 @@ type WindowsWebAppSlotParameters struct { Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` // The subnet id which will be used by this Web App Slot for regional virtual network integration. - // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta1.Subnet + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta2.Subnet // +crossplane:generate:reference:extractor=github.com/upbound/provider-azure/apis/rconfig.ExtractResourceID() // +kubebuilder:validation:Optional VirtualNetworkSubnetID *string `json:"virtualNetworkSubnetId,omitempty" tf:"virtual_network_subnet_id,omitempty"` @@ -2907,7 +2907,7 @@ type WindowsWebAppSlotSiteConfigIPRestrictionInitParameters struct { // The subnet id which will be used by this Web App Slot for regional virtual network integration. // The Virtual Network Subnet ID used for this IP Restriction. - // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta1.Subnet + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta2.Subnet // +crossplane:generate:reference:extractor=github.com/upbound/provider-azure/apis/rconfig.ExtractResourceID() VirtualNetworkSubnetID *string `json:"virtualNetworkSubnetId,omitempty" tf:"virtual_network_subnet_id,omitempty"` @@ -2992,7 +2992,7 @@ type WindowsWebAppSlotSiteConfigIPRestrictionParameters struct { // The subnet id which will be used by this Web App Slot for regional virtual network integration. // The Virtual Network Subnet ID used for this IP Restriction. - // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta1.Subnet + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta2.Subnet // +crossplane:generate:reference:extractor=github.com/upbound/provider-azure/apis/rconfig.ExtractResourceID() // +kubebuilder:validation:Optional VirtualNetworkSubnetID *string `json:"virtualNetworkSubnetId,omitempty" tf:"virtual_network_subnet_id,omitempty"` @@ -3438,7 +3438,7 @@ type WindowsWebAppSlotSiteConfigScmIPRestrictionInitParameters struct { // The subnet id which will be used by this Web App Slot for regional virtual network integration. // The Virtual Network Subnet ID used for this IP Restriction. - // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta1.Subnet + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta2.Subnet // +crossplane:generate:reference:extractor=github.com/upbound/provider-azure/apis/rconfig.ExtractResourceID() VirtualNetworkSubnetID *string `json:"virtualNetworkSubnetId,omitempty" tf:"virtual_network_subnet_id,omitempty"` @@ -3523,7 +3523,7 @@ type WindowsWebAppSlotSiteConfigScmIPRestrictionParameters struct { // The subnet id which will be used by this Web App Slot for regional virtual network integration. // The Virtual Network Subnet ID used for this IP Restriction. - // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta1.Subnet + // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta2.Subnet // +crossplane:generate:reference:extractor=github.com/upbound/provider-azure/apis/rconfig.ExtractResourceID() // +kubebuilder:validation:Optional VirtualNetworkSubnetID *string `json:"virtualNetworkSubnetId,omitempty" tf:"virtual_network_subnet_id,omitempty"` diff --git a/package/crds/apimanagement.azure.upbound.io_apioperations.yaml b/package/crds/apimanagement.azure.upbound.io_apioperations.yaml index db4eedb6a..3a3072471 100644 --- a/package/crds/apimanagement.azure.upbound.io_apioperations.yaml +++ b/package/crds/apimanagement.azure.upbound.io_apioperations.yaml @@ -2099,7 +2099,8 @@ spec: API exists. Changing this forces a new resource to be created. type: string apiManagementNameRef: - description: Reference to a Management to populate apiManagementName. + description: Reference to a Management in apimanagement to populate + apiManagementName. properties: name: description: Name of the referenced object. @@ -2133,7 +2134,8 @@ spec: - name type: object apiManagementNameSelector: - description: Selector for a Management to populate apiManagementName. + description: Selector for a Management in apimanagement to populate + apiManagementName. properties: matchControllerRef: description: |- @@ -2178,7 +2180,7 @@ spec: a new resource to be created. type: string apiNameRef: - description: Reference to a API to populate apiName. + description: Reference to a API in apimanagement to populate apiName. properties: name: description: Name of the referenced object. @@ -2212,7 +2214,7 @@ spec: - name type: object apiNameSelector: - description: Selector for a API to populate apiName. + description: Selector for a API in apimanagement to populate apiName. properties: matchControllerRef: description: |- diff --git a/package/crds/containerservice.azure.upbound.io_kubernetesclusternodepools.yaml b/package/crds/containerservice.azure.upbound.io_kubernetesclusternodepools.yaml index 036d70d26..493a50ab7 100644 --- a/package/crds/containerservice.azure.upbound.io_kubernetesclusternodepools.yaml +++ b/package/crds/containerservice.azure.upbound.io_kubernetesclusternodepools.yaml @@ -2315,7 +2315,8 @@ spec: created. type: string kubernetesClusterIdRef: - description: Reference to a KubernetesCluster to populate kubernetesClusterId. + description: Reference to a KubernetesCluster in containerservice + to populate kubernetesClusterId. properties: name: description: Name of the referenced object. @@ -2349,7 +2350,8 @@ spec: - name type: object kubernetesClusterIdSelector: - description: Selector for a KubernetesCluster to populate kubernetesClusterId. + description: Selector for a KubernetesCluster in containerservice + to populate kubernetesClusterId. properties: matchControllerRef: description: |- diff --git a/package/crds/cosmosdb.azure.upbound.io_cassandratables.yaml b/package/crds/cosmosdb.azure.upbound.io_cassandratables.yaml index a9901863b..1aedcc1bf 100644 --- a/package/crds/cosmosdb.azure.upbound.io_cassandratables.yaml +++ b/package/crds/cosmosdb.azure.upbound.io_cassandratables.yaml @@ -690,7 +690,8 @@ spec: created. type: string cassandraKeyspaceIdRef: - description: Reference to a CassandraKeySpace to populate cassandraKeyspaceId. + description: Reference to a CassandraKeySpace in cosmosdb to populate + cassandraKeyspaceId. properties: name: description: Name of the referenced object. @@ -724,7 +725,8 @@ spec: - name type: object cassandraKeyspaceIdSelector: - description: Selector for a CassandraKeySpace to populate cassandraKeyspaceId. + description: Selector for a CassandraKeySpace in cosmosdb to populate + cassandraKeyspaceId. properties: matchControllerRef: description: |- diff --git a/package/crds/cosmosdb.azure.upbound.io_gremlingraphs.yaml b/package/crds/cosmosdb.azure.upbound.io_gremlingraphs.yaml index cde8a32ec..ec89676c2 100644 --- a/package/crds/cosmosdb.azure.upbound.io_gremlingraphs.yaml +++ b/package/crds/cosmosdb.azure.upbound.io_gremlingraphs.yaml @@ -1163,7 +1163,8 @@ spec: a new resource to be created. type: string databaseNameRef: - description: Reference to a GremlinDatabase to populate databaseName. + description: Reference to a GremlinDatabase in cosmosdb to populate + databaseName. properties: name: description: Name of the referenced object. @@ -1197,7 +1198,8 @@ spec: - name type: object databaseNameSelector: - description: Selector for a GremlinDatabase to populate databaseName. + description: Selector for a GremlinDatabase in cosmosdb to populate + databaseName. properties: matchControllerRef: description: |- diff --git a/package/crds/cosmosdb.azure.upbound.io_mongocollections.yaml b/package/crds/cosmosdb.azure.upbound.io_mongocollections.yaml index f3d4ee49a..4b61df02d 100644 --- a/package/crds/cosmosdb.azure.upbound.io_mongocollections.yaml +++ b/package/crds/cosmosdb.azure.upbound.io_mongocollections.yaml @@ -891,7 +891,8 @@ spec: a new resource to be created. type: string databaseNameRef: - description: Reference to a MongoDatabase to populate databaseName. + description: Reference to a MongoDatabase in cosmosdb to populate + databaseName. properties: name: description: Name of the referenced object. @@ -925,7 +926,8 @@ spec: - name type: object databaseNameSelector: - description: Selector for a MongoDatabase to populate databaseName. + description: Selector for a MongoDatabase in cosmosdb to populate + databaseName. properties: matchControllerRef: description: |- diff --git a/package/crds/cosmosdb.azure.upbound.io_sqlcontainers.yaml b/package/crds/cosmosdb.azure.upbound.io_sqlcontainers.yaml index dffe42cb5..482282e82 100644 --- a/package/crds/cosmosdb.azure.upbound.io_sqlcontainers.yaml +++ b/package/crds/cosmosdb.azure.upbound.io_sqlcontainers.yaml @@ -1204,7 +1204,8 @@ spec: be created. type: string databaseNameRef: - description: Reference to a SQLDatabase to populate databaseName. + description: Reference to a SQLDatabase in cosmosdb to populate + databaseName. properties: name: description: Name of the referenced object. @@ -1238,7 +1239,8 @@ spec: - name type: object databaseNameSelector: - description: Selector for a SQLDatabase to populate databaseName. + description: Selector for a SQLDatabase in cosmosdb to populate + databaseName. properties: matchControllerRef: description: |- diff --git a/package/crds/dataprotection.azure.upbound.io_backuppolicydisks.yaml b/package/crds/dataprotection.azure.upbound.io_backuppolicydisks.yaml index fcec2da31..8d4f7b636 100644 --- a/package/crds/dataprotection.azure.upbound.io_backuppolicydisks.yaml +++ b/package/crds/dataprotection.azure.upbound.io_backuppolicydisks.yaml @@ -680,7 +680,8 @@ spec: Policy Disk to be created. type: string vaultIdRef: - description: Reference to a BackupVault to populate vaultId. + description: Reference to a BackupVault in dataprotection to populate + vaultId. properties: name: description: Name of the referenced object. @@ -714,7 +715,8 @@ spec: - name type: object vaultIdSelector: - description: Selector for a BackupVault to populate vaultId. + description: Selector for a BackupVault in dataprotection to populate + vaultId. properties: matchControllerRef: description: |- diff --git a/package/crds/dataprotection.azure.upbound.io_backuppolicypostgresqls.yaml b/package/crds/dataprotection.azure.upbound.io_backuppolicypostgresqls.yaml index 041dea7f7..46c3bad13 100644 --- a/package/crds/dataprotection.azure.upbound.io_backuppolicypostgresqls.yaml +++ b/package/crds/dataprotection.azure.upbound.io_backuppolicypostgresqls.yaml @@ -999,7 +999,8 @@ spec: PostgreSQL to be created. type: string vaultNameRef: - description: Reference to a BackupVault to populate vaultName. + description: Reference to a BackupVault in dataprotection to populate + vaultName. properties: name: description: Name of the referenced object. @@ -1033,7 +1034,8 @@ spec: - name type: object vaultNameSelector: - description: Selector for a BackupVault to populate vaultName. + description: Selector for a BackupVault in dataprotection to populate + vaultName. properties: matchControllerRef: description: |- diff --git a/package/crds/datashare.azure.upbound.io_datasetblobstorages.yaml b/package/crds/datashare.azure.upbound.io_datasetblobstorages.yaml index 8021215d8..1fe47c2a8 100644 --- a/package/crds/datashare.azure.upbound.io_datasetblobstorages.yaml +++ b/package/crds/datashare.azure.upbound.io_datasetblobstorages.yaml @@ -1122,7 +1122,8 @@ spec: a new Data Share Blob Storage Dataset to be created. type: string dataShareIdRef: - description: Reference to a DataShare to populate dataShareId. + description: Reference to a DataShare in datashare to populate + dataShareId. properties: name: description: Name of the referenced object. @@ -1156,7 +1157,8 @@ spec: - name type: object dataShareIdSelector: - description: Selector for a DataShare to populate dataShareId. + description: Selector for a DataShare in datashare to populate + dataShareId. properties: matchControllerRef: description: |- diff --git a/package/crds/datashare.azure.upbound.io_datashares.yaml b/package/crds/datashare.azure.upbound.io_datashares.yaml index ce8fc3668..35124b9e8 100644 --- a/package/crds/datashare.azure.upbound.io_datashares.yaml +++ b/package/crds/datashare.azure.upbound.io_datashares.yaml @@ -556,7 +556,7 @@ spec: created. type: string accountIdRef: - description: Reference to a Account to populate accountId. + description: Reference to a Account in datashare to populate accountId. properties: name: description: Name of the referenced object. @@ -590,7 +590,7 @@ spec: - name type: object accountIdSelector: - description: Selector for a Account to populate accountId. + description: Selector for a Account in datashare to populate accountId. properties: matchControllerRef: description: |- diff --git a/package/crds/eventhub.azure.upbound.io_eventhubs.yaml b/package/crds/eventhub.azure.upbound.io_eventhubs.yaml index b12444128..68a40f1b7 100644 --- a/package/crds/eventhub.azure.upbound.io_eventhubs.yaml +++ b/package/crds/eventhub.azure.upbound.io_eventhubs.yaml @@ -819,7 +819,8 @@ spec: this forces a new resource to be created. type: string namespaceNameRef: - description: Reference to a EventHubNamespace to populate namespaceName. + description: Reference to a EventHubNamespace in eventhub to populate + namespaceName. properties: name: description: Name of the referenced object. @@ -853,7 +854,8 @@ spec: - name type: object namespaceNameSelector: - description: Selector for a EventHubNamespace to populate namespaceName. + description: Selector for a EventHubNamespace in eventhub to populate + namespaceName. properties: matchControllerRef: description: |- diff --git a/package/crds/healthcareapis.azure.upbound.io_healthcaremedtechservices.yaml b/package/crds/healthcareapis.azure.upbound.io_healthcaremedtechservices.yaml index 12e8df820..1cfec8d8f 100644 --- a/package/crds/healthcareapis.azure.upbound.io_healthcaremedtechservices.yaml +++ b/package/crds/healthcareapis.azure.upbound.io_healthcaremedtechservices.yaml @@ -1344,7 +1344,8 @@ spec: forces a new Healthcare Med Tech Service to be created. type: string workspaceIdRef: - description: Reference to a HealthcareWorkspace to populate workspaceId. + description: Reference to a HealthcareWorkspace in healthcareapis + to populate workspaceId. properties: name: description: Name of the referenced object. @@ -1378,7 +1379,8 @@ spec: - name type: object workspaceIdSelector: - description: Selector for a HealthcareWorkspace to populate workspaceId. + description: Selector for a HealthcareWorkspace in healthcareapis + to populate workspaceId. properties: matchControllerRef: description: |- diff --git a/package/crds/insights.azure.upbound.io_monitormetricalerts.yaml b/package/crds/insights.azure.upbound.io_monitormetricalerts.yaml index bccaaded6..b15419c53 100644 --- a/package/crds/insights.azure.upbound.io_monitormetricalerts.yaml +++ b/package/crds/insights.azure.upbound.io_monitormetricalerts.yaml @@ -1371,8 +1371,8 @@ spec: the type: string actionGroupIdRef: - description: Reference to a MonitorActionGroup to populate - actionGroupId. + description: Reference to a MonitorActionGroup in insights + to populate actionGroupId. properties: name: description: Name of the referenced object. @@ -1406,8 +1406,8 @@ spec: - name type: object actionGroupIdSelector: - description: Selector for a MonitorActionGroup to populate - actionGroupId. + description: Selector for a MonitorActionGroup in insights + to populate actionGroupId. properties: matchControllerRef: description: |- @@ -1812,8 +1812,8 @@ spec: the type: string actionGroupIdRef: - description: Reference to a MonitorActionGroup to populate - actionGroupId. + description: Reference to a MonitorActionGroup in insights + to populate actionGroupId. properties: name: description: Name of the referenced object. @@ -1847,8 +1847,8 @@ spec: - name type: object actionGroupIdSelector: - description: Selector for a MonitorActionGroup to populate - actionGroupId. + description: Selector for a MonitorActionGroup in insights + to populate actionGroupId. properties: matchControllerRef: description: |- diff --git a/package/crds/insights.azure.upbound.io_monitorscheduledqueryrulesalerts.yaml b/package/crds/insights.azure.upbound.io_monitorscheduledqueryrulesalerts.yaml index bca270143..f6509ca06 100644 --- a/package/crds/insights.azure.upbound.io_monitorscheduledqueryrulesalerts.yaml +++ b/package/crds/insights.azure.upbound.io_monitorscheduledqueryrulesalerts.yaml @@ -1267,8 +1267,8 @@ spec: type: array x-kubernetes-list-type: set actionGroupRefs: - description: References to MonitorActionGroup to populate - actionGroup. + description: References to MonitorActionGroup in insights + to populate actionGroup. items: description: A Reference to a named object. properties: @@ -1305,8 +1305,8 @@ spec: type: object type: array actionGroupSelector: - description: Selector for a list of MonitorActionGroup to - populate actionGroup. + description: Selector for a list of MonitorActionGroup in + insights to populate actionGroup. properties: matchControllerRef: description: |- @@ -1631,8 +1631,8 @@ spec: type: array x-kubernetes-list-type: set actionGroupRefs: - description: References to MonitorActionGroup to populate - actionGroup. + description: References to MonitorActionGroup in insights + to populate actionGroup. items: description: A Reference to a named object. properties: @@ -1669,8 +1669,8 @@ spec: type: object type: array actionGroupSelector: - description: Selector for a list of MonitorActionGroup to - populate actionGroup. + description: Selector for a list of MonitorActionGroup in + insights to populate actionGroup. properties: matchControllerRef: description: |- diff --git a/package/crds/insights.azure.upbound.io_monitorscheduledqueryrulesalertv2s.yaml b/package/crds/insights.azure.upbound.io_monitorscheduledqueryrulesalertv2s.yaml index 1a80459cb..431cf20b4 100644 --- a/package/crds/insights.azure.upbound.io_monitorscheduledqueryrulesalertv2s.yaml +++ b/package/crds/insights.azure.upbound.io_monitorscheduledqueryrulesalertv2s.yaml @@ -1404,7 +1404,8 @@ spec: type: string type: array scopesRefs: - description: References to ApplicationInsights to populate scopes. + description: References to ApplicationInsights in insights to + populate scopes. items: description: A Reference to a named object. properties: @@ -1441,8 +1442,8 @@ spec: type: object type: array scopesSelector: - description: Selector for a list of ApplicationInsights to populate - scopes. + description: Selector for a list of ApplicationInsights in insights + to populate scopes. properties: matchControllerRef: description: |- @@ -1668,7 +1669,8 @@ spec: type: string type: array scopesRefs: - description: References to ApplicationInsights to populate scopes. + description: References to ApplicationInsights in insights to + populate scopes. items: description: A Reference to a named object. properties: @@ -1705,8 +1707,8 @@ spec: type: object type: array scopesSelector: - description: Selector for a list of ApplicationInsights to populate - scopes. + description: Selector for a list of ApplicationInsights in insights + to populate scopes. properties: matchControllerRef: description: |- diff --git a/package/crds/keyvault.azure.upbound.io_certificates.yaml b/package/crds/keyvault.azure.upbound.io_certificates.yaml index 790f7b290..97f5ca990 100644 --- a/package/crds/keyvault.azure.upbound.io_certificates.yaml +++ b/package/crds/keyvault.azure.upbound.io_certificates.yaml @@ -1356,7 +1356,7 @@ spec: be created. Changing this forces a new resource to be created. type: string keyVaultIdRef: - description: Reference to a Vault to populate keyVaultId. + description: Reference to a Vault in keyvault to populate keyVaultId. properties: name: description: Name of the referenced object. @@ -1390,7 +1390,7 @@ spec: - name type: object keyVaultIdSelector: - description: Selector for a Vault to populate keyVaultId. + description: Selector for a Vault in keyvault to populate keyVaultId. properties: matchControllerRef: description: |- @@ -1594,7 +1594,7 @@ spec: be created. Changing this forces a new resource to be created. type: string keyVaultIdRef: - description: Reference to a Vault to populate keyVaultId. + description: Reference to a Vault in keyvault to populate keyVaultId. properties: name: description: Name of the referenced object. @@ -1628,7 +1628,7 @@ spec: - name type: object keyVaultIdSelector: - description: Selector for a Vault to populate keyVaultId. + description: Selector for a Vault in keyvault to populate keyVaultId. properties: matchControllerRef: description: |- diff --git a/package/crds/keyvault.azure.upbound.io_keys.yaml b/package/crds/keyvault.azure.upbound.io_keys.yaml index e9e46a862..3756a138f 100644 --- a/package/crds/keyvault.azure.upbound.io_keys.yaml +++ b/package/crds/keyvault.azure.upbound.io_keys.yaml @@ -838,7 +838,7 @@ spec: Changing this forces a new resource to be created. type: string keyVaultIdRef: - description: Reference to a Vault to populate keyVaultId. + description: Reference to a Vault in keyvault to populate keyVaultId. properties: name: description: Name of the referenced object. @@ -872,7 +872,7 @@ spec: - name type: object keyVaultIdSelector: - description: Selector for a Vault to populate keyVaultId. + description: Selector for a Vault in keyvault to populate keyVaultId. properties: matchControllerRef: description: |- @@ -998,7 +998,7 @@ spec: Changing this forces a new resource to be created. type: string keyVaultIdRef: - description: Reference to a Vault to populate keyVaultId. + description: Reference to a Vault in keyvault to populate keyVaultId. properties: name: description: Name of the referenced object. @@ -1032,7 +1032,7 @@ spec: - name type: object keyVaultIdSelector: - description: Selector for a Vault to populate keyVaultId. + description: Selector for a Vault in keyvault to populate keyVaultId. properties: matchControllerRef: description: |- diff --git a/package/crds/media.azure.upbound.io_liveevents.yaml b/package/crds/media.azure.upbound.io_liveevents.yaml index dd51b0365..57f1ba197 100644 --- a/package/crds/media.azure.upbound.io_liveevents.yaml +++ b/package/crds/media.azure.upbound.io_liveevents.yaml @@ -1239,7 +1239,8 @@ spec: a new Live Event to be created. type: string mediaServicesAccountNameRef: - description: Reference to a ServicesAccount to populate mediaServicesAccountName. + description: Reference to a ServicesAccount in media to populate + mediaServicesAccountName. properties: name: description: Name of the referenced object. @@ -1273,7 +1274,8 @@ spec: - name type: object mediaServicesAccountNameSelector: - description: Selector for a ServicesAccount to populate mediaServicesAccountName. + description: Selector for a ServicesAccount in media to populate + mediaServicesAccountName. properties: matchControllerRef: description: |- diff --git a/package/crds/media.azure.upbound.io_servicesaccountfilters.yaml b/package/crds/media.azure.upbound.io_servicesaccountfilters.yaml index c5bae9fc0..f39130abe 100644 --- a/package/crds/media.azure.upbound.io_servicesaccountfilters.yaml +++ b/package/crds/media.azure.upbound.io_servicesaccountfilters.yaml @@ -838,7 +838,8 @@ spec: a new Account Filter to be created. type: string mediaServicesAccountNameRef: - description: Reference to a ServicesAccount to populate mediaServicesAccountName. + description: Reference to a ServicesAccount in media to populate + mediaServicesAccountName. properties: name: description: Name of the referenced object. @@ -872,7 +873,8 @@ spec: - name type: object mediaServicesAccountNameSelector: - description: Selector for a ServicesAccount to populate mediaServicesAccountName. + description: Selector for a ServicesAccount in media to populate + mediaServicesAccountName. properties: matchControllerRef: description: |- diff --git a/package/crds/media.azure.upbound.io_streamingendpoints.yaml b/package/crds/media.azure.upbound.io_streamingendpoints.yaml index e727351b8..5861c9f94 100644 --- a/package/crds/media.azure.upbound.io_streamingendpoints.yaml +++ b/package/crds/media.azure.upbound.io_streamingendpoints.yaml @@ -939,7 +939,8 @@ spec: a new Streaming Endpoint to be created. type: string mediaServicesAccountNameRef: - description: Reference to a ServicesAccount to populate mediaServicesAccountName. + description: Reference to a ServicesAccount in media to populate + mediaServicesAccountName. properties: name: description: Name of the referenced object. @@ -973,7 +974,8 @@ spec: - name type: object mediaServicesAccountNameSelector: - description: Selector for a ServicesAccount to populate mediaServicesAccountName. + description: Selector for a ServicesAccount in media to populate + mediaServicesAccountName. properties: matchControllerRef: description: |- diff --git a/package/crds/media.azure.upbound.io_streamingpolicies.yaml b/package/crds/media.azure.upbound.io_streamingpolicies.yaml index 36843bf67..5fcc1216a 100644 --- a/package/crds/media.azure.upbound.io_streamingpolicies.yaml +++ b/package/crds/media.azure.upbound.io_streamingpolicies.yaml @@ -2021,7 +2021,8 @@ spec: a new Streaming Policy to be created. type: string mediaServicesAccountNameRef: - description: Reference to a ServicesAccount to populate mediaServicesAccountName. + description: Reference to a ServicesAccount in media to populate + mediaServicesAccountName. properties: name: description: Name of the referenced object. @@ -2055,7 +2056,8 @@ spec: - name type: object mediaServicesAccountNameSelector: - description: Selector for a ServicesAccount to populate mediaServicesAccountName. + description: Selector for a ServicesAccount in media to populate + mediaServicesAccountName. properties: matchControllerRef: description: |- diff --git a/package/crds/media.azure.upbound.io_transforms.yaml b/package/crds/media.azure.upbound.io_transforms.yaml index 6681a72ac..33d2593f3 100644 --- a/package/crds/media.azure.upbound.io_transforms.yaml +++ b/package/crds/media.azure.upbound.io_transforms.yaml @@ -4985,7 +4985,8 @@ spec: a new Transform to be created. type: string mediaServicesAccountNameRef: - description: Reference to a ServicesAccount to populate mediaServicesAccountName. + description: Reference to a ServicesAccount in media to populate + mediaServicesAccountName. properties: name: description: Name of the referenced object. @@ -5019,7 +5020,8 @@ spec: - name type: object mediaServicesAccountNameSelector: - description: Selector for a ServicesAccount to populate mediaServicesAccountName. + description: Selector for a ServicesAccount in media to populate + mediaServicesAccountName. properties: matchControllerRef: description: |- diff --git a/package/crds/netapp.azure.upbound.io_snapshotpolicies.yaml b/package/crds/netapp.azure.upbound.io_snapshotpolicies.yaml index 165dcd13e..fe3121ce3 100644 --- a/package/crds/netapp.azure.upbound.io_snapshotpolicies.yaml +++ b/package/crds/netapp.azure.upbound.io_snapshotpolicies.yaml @@ -865,7 +865,7 @@ spec: resource to be created. type: string accountNameRef: - description: Reference to a Account to populate accountName. + description: Reference to a Account in netapp to populate accountName. properties: name: description: Name of the referenced object. @@ -899,7 +899,7 @@ spec: - name type: object accountNameSelector: - description: Selector for a Account to populate accountName. + description: Selector for a Account in netapp to populate accountName. properties: matchControllerRef: description: |- diff --git a/package/crds/netapp.azure.upbound.io_volumes.yaml b/package/crds/netapp.azure.upbound.io_volumes.yaml index 2f1931983..b23d45828 100644 --- a/package/crds/netapp.azure.upbound.io_volumes.yaml +++ b/package/crds/netapp.azure.upbound.io_volumes.yaml @@ -1786,7 +1786,7 @@ spec: to be created. type: string accountNameRef: - description: Reference to a Account to populate accountName. + description: Reference to a Account in netapp to populate accountName. properties: name: description: Name of the referenced object. @@ -1820,7 +1820,7 @@ spec: - name type: object accountNameSelector: - description: Selector for a Account to populate accountName. + description: Selector for a Account in netapp to populate accountName. properties: matchControllerRef: description: |- @@ -1872,7 +1872,7 @@ spec: to be created.' type: string createFromSnapshotResourceIdRef: - description: Reference to a Snapshot to populate createFromSnapshotResourceId. + description: Reference to a Snapshot in netapp to populate createFromSnapshotResourceId. properties: name: description: Name of the referenced object. @@ -1906,7 +1906,7 @@ spec: - name type: object createFromSnapshotResourceIdSelector: - description: Selector for a Snapshot to populate createFromSnapshotResourceId. + description: Selector for a Snapshot in netapp to populate createFromSnapshotResourceId. properties: matchControllerRef: description: |- @@ -1960,7 +1960,7 @@ spec: description: Resource ID of the primary volume. type: string remoteVolumeResourceIdRef: - description: Reference to a Volume to populate remoteVolumeResourceId. + description: Reference to a Volume in netapp to populate remoteVolumeResourceId. properties: name: description: Name of the referenced object. @@ -1994,7 +1994,7 @@ spec: - name type: object remoteVolumeResourceIdSelector: - description: Selector for a Volume to populate remoteVolumeResourceId. + description: Selector for a Volume in netapp to populate remoteVolumeResourceId. properties: matchControllerRef: description: |- @@ -2047,7 +2047,8 @@ spec: the volume. type: string snapshotPolicyIdRef: - description: Reference to a SnapshotPolicy to populate snapshotPolicyId. + description: Reference to a SnapshotPolicy in netapp to populate + snapshotPolicyId. properties: name: description: Name of the referenced object. @@ -2081,7 +2082,8 @@ spec: - name type: object snapshotPolicyIdSelector: - description: Selector for a SnapshotPolicy to populate snapshotPolicyId. + description: Selector for a SnapshotPolicy in netapp to populate + snapshotPolicyId. properties: matchControllerRef: description: |- @@ -2181,7 +2183,7 @@ spec: created. type: string poolNameRef: - description: Reference to a Pool to populate poolName. + description: Reference to a Pool in netapp to populate poolName. properties: name: description: Name of the referenced object. @@ -2215,7 +2217,7 @@ spec: - name type: object poolNameSelector: - description: Selector for a Pool to populate poolName. + description: Selector for a Pool in netapp to populate poolName. properties: matchControllerRef: description: |- @@ -2512,7 +2514,7 @@ spec: to be created.' type: string createFromSnapshotResourceIdRef: - description: Reference to a Snapshot to populate createFromSnapshotResourceId. + description: Reference to a Snapshot in netapp to populate createFromSnapshotResourceId. properties: name: description: Name of the referenced object. @@ -2546,7 +2548,7 @@ spec: - name type: object createFromSnapshotResourceIdSelector: - description: Selector for a Snapshot to populate createFromSnapshotResourceId. + description: Selector for a Snapshot in netapp to populate createFromSnapshotResourceId. properties: matchControllerRef: description: |- @@ -2600,7 +2602,7 @@ spec: description: Resource ID of the primary volume. type: string remoteVolumeResourceIdRef: - description: Reference to a Volume to populate remoteVolumeResourceId. + description: Reference to a Volume in netapp to populate remoteVolumeResourceId. properties: name: description: Name of the referenced object. @@ -2634,7 +2636,7 @@ spec: - name type: object remoteVolumeResourceIdSelector: - description: Selector for a Volume to populate remoteVolumeResourceId. + description: Selector for a Volume in netapp to populate remoteVolumeResourceId. properties: matchControllerRef: description: |- @@ -2687,7 +2689,8 @@ spec: the volume. type: string snapshotPolicyIdRef: - description: Reference to a SnapshotPolicy to populate snapshotPolicyId. + description: Reference to a SnapshotPolicy in netapp to populate + snapshotPolicyId. properties: name: description: Name of the referenced object. @@ -2721,7 +2724,8 @@ spec: - name type: object snapshotPolicyIdSelector: - description: Selector for a SnapshotPolicy to populate snapshotPolicyId. + description: Selector for a SnapshotPolicy in netapp to populate + snapshotPolicyId. properties: matchControllerRef: description: |- diff --git a/package/crds/network.azure.upbound.io_applicationgateways.yaml b/package/crds/network.azure.upbound.io_applicationgateways.yaml index 2caee2adf..b98606139 100644 --- a/package/crds/network.azure.upbound.io_applicationgateways.yaml +++ b/package/crds/network.azure.upbound.io_applicationgateways.yaml @@ -4411,7 +4411,8 @@ spec: addresses for details. type: string publicIpAddressIdRef: - description: Reference to a PublicIP to populate publicIpAddressId. + description: Reference to a PublicIP in network to populate + publicIpAddressId. properties: name: description: Name of the referenced object. @@ -4445,7 +4446,8 @@ spec: - name type: object publicIpAddressIdSelector: - description: Selector for a PublicIP to populate publicIpAddressId. + description: Selector for a PublicIP in network to populate + publicIpAddressId. properties: matchControllerRef: description: |- @@ -5816,7 +5818,8 @@ spec: addresses for details. type: string publicIpAddressIdRef: - description: Reference to a PublicIP to populate publicIpAddressId. + description: Reference to a PublicIP in network to populate + publicIpAddressId. properties: name: description: Name of the referenced object. @@ -5850,7 +5853,8 @@ spec: - name type: object publicIpAddressIdSelector: - description: Selector for a PublicIP to populate publicIpAddressId. + description: Selector for a PublicIP in network to populate + publicIpAddressId. properties: matchControllerRef: description: |- diff --git a/package/crds/network.azure.upbound.io_connectionmonitors.yaml b/package/crds/network.azure.upbound.io_connectionmonitors.yaml index b4d546875..a1453d8dd 100644 --- a/package/crds/network.azure.upbound.io_connectionmonitors.yaml +++ b/package/crds/network.azure.upbound.io_connectionmonitors.yaml @@ -1232,7 +1232,7 @@ spec: a new resource to be created. type: string networkWatcherIdRef: - description: Reference to a Watcher to populate networkWatcherId. + description: Reference to a Watcher in network to populate networkWatcherId. properties: name: description: Name of the referenced object. @@ -1266,7 +1266,7 @@ spec: - name type: object networkWatcherIdSelector: - description: Selector for a Watcher to populate networkWatcherId. + description: Selector for a Watcher in network to populate networkWatcherId. properties: matchControllerRef: description: |- diff --git a/package/crds/network.azure.upbound.io_expressroutecircuitpeerings.yaml b/package/crds/network.azure.upbound.io_expressroutecircuitpeerings.yaml index 7d2de9ce0..314dc68e9 100644 --- a/package/crds/network.azure.upbound.io_expressroutecircuitpeerings.yaml +++ b/package/crds/network.azure.upbound.io_expressroutecircuitpeerings.yaml @@ -885,7 +885,8 @@ spec: created. type: string expressRouteCircuitNameRef: - description: Reference to a ExpressRouteCircuit to populate expressRouteCircuitName. + description: Reference to a ExpressRouteCircuit in network to + populate expressRouteCircuitName. properties: name: description: Name of the referenced object. @@ -919,7 +920,8 @@ spec: - name type: object expressRouteCircuitNameSelector: - description: Selector for a ExpressRouteCircuit to populate expressRouteCircuitName. + description: Selector for a ExpressRouteCircuit in network to + populate expressRouteCircuitName. properties: matchControllerRef: description: |- diff --git a/package/crds/network.azure.upbound.io_expressrouteconnections.yaml b/package/crds/network.azure.upbound.io_expressrouteconnections.yaml index 5ca20a98d..944f01b00 100644 --- a/package/crds/network.azure.upbound.io_expressrouteconnections.yaml +++ b/package/crds/network.azure.upbound.io_expressrouteconnections.yaml @@ -813,8 +813,8 @@ spec: a new resource to be created. type: string expressRouteCircuitPeeringIdRef: - description: Reference to a ExpressRouteCircuitPeering to populate - expressRouteCircuitPeeringId. + description: Reference to a ExpressRouteCircuitPeering in network + to populate expressRouteCircuitPeeringId. properties: name: description: Name of the referenced object. @@ -848,8 +848,8 @@ spec: - name type: object expressRouteCircuitPeeringIdSelector: - description: Selector for a ExpressRouteCircuitPeering to populate - expressRouteCircuitPeeringId. + description: Selector for a ExpressRouteCircuitPeering in network + to populate expressRouteCircuitPeeringId. properties: matchControllerRef: description: |- @@ -898,7 +898,8 @@ spec: to be created. type: string expressRouteGatewayIdRef: - description: Reference to a ExpressRouteGateway to populate expressRouteGatewayId. + description: Reference to a ExpressRouteGateway in network to + populate expressRouteGatewayId. properties: name: description: Name of the referenced object. @@ -932,7 +933,8 @@ spec: - name type: object expressRouteGatewayIdSelector: - description: Selector for a ExpressRouteGateway to populate expressRouteGatewayId. + description: Selector for a ExpressRouteGateway in network to + populate expressRouteGatewayId. properties: matchControllerRef: description: |- @@ -1038,8 +1040,8 @@ spec: a new resource to be created. type: string expressRouteCircuitPeeringIdRef: - description: Reference to a ExpressRouteCircuitPeering to populate - expressRouteCircuitPeeringId. + description: Reference to a ExpressRouteCircuitPeering in network + to populate expressRouteCircuitPeeringId. properties: name: description: Name of the referenced object. @@ -1073,8 +1075,8 @@ spec: - name type: object expressRouteCircuitPeeringIdSelector: - description: Selector for a ExpressRouteCircuitPeering to populate - expressRouteCircuitPeeringId. + description: Selector for a ExpressRouteCircuitPeering in network + to populate expressRouteCircuitPeeringId. properties: matchControllerRef: description: |- diff --git a/package/crds/network.azure.upbound.io_firewalls.yaml b/package/crds/network.azure.upbound.io_firewalls.yaml index 3aa0905ac..6060046fa 100644 --- a/package/crds/network.azure.upbound.io_firewalls.yaml +++ b/package/crds/network.azure.upbound.io_firewalls.yaml @@ -1300,7 +1300,8 @@ spec: with the firewall. type: string publicIpAddressIdRef: - description: Reference to a PublicIP to populate publicIpAddressId. + description: Reference to a PublicIP in network to populate + publicIpAddressId. properties: name: description: Name of the referenced object. @@ -1334,7 +1335,8 @@ spec: - name type: object publicIpAddressIdSelector: - description: Selector for a PublicIP to populate publicIpAddressId. + description: Selector for a PublicIP in network to populate + publicIpAddressId. properties: matchControllerRef: description: |- @@ -1379,7 +1381,8 @@ spec: to be created. type: string subnetIdRef: - description: Reference to a Subnet to populate subnetId. + description: Reference to a Subnet in network to populate + subnetId. properties: name: description: Name of the referenced object. @@ -1413,7 +1416,8 @@ spec: - name type: object subnetIdSelector: - description: Selector for a Subnet to populate subnetId. + description: Selector for a Subnet in network to populate + subnetId. properties: matchControllerRef: description: |- @@ -1722,7 +1726,8 @@ spec: with the firewall. type: string publicIpAddressIdRef: - description: Reference to a PublicIP to populate publicIpAddressId. + description: Reference to a PublicIP in network to populate + publicIpAddressId. properties: name: description: Name of the referenced object. @@ -1756,7 +1761,8 @@ spec: - name type: object publicIpAddressIdSelector: - description: Selector for a PublicIP to populate publicIpAddressId. + description: Selector for a PublicIP in network to populate + publicIpAddressId. properties: matchControllerRef: description: |- @@ -1801,7 +1807,8 @@ spec: to be created. type: string subnetIdRef: - description: Reference to a Subnet to populate subnetId. + description: Reference to a Subnet in network to populate + subnetId. properties: name: description: Name of the referenced object. @@ -1835,7 +1842,8 @@ spec: - name type: object subnetIdSelector: - description: Selector for a Subnet to populate subnetId. + description: Selector for a Subnet in network to populate + subnetId. properties: matchControllerRef: description: |- diff --git a/package/crds/network.azure.upbound.io_frontdoorrulesengines.yaml b/package/crds/network.azure.upbound.io_frontdoorrulesengines.yaml index 023388e10..f5d432b4c 100644 --- a/package/crds/network.azure.upbound.io_frontdoorrulesengines.yaml +++ b/package/crds/network.azure.upbound.io_frontdoorrulesengines.yaml @@ -841,7 +841,7 @@ spec: forces a new resource to be created. type: string frontdoorNameRef: - description: Reference to a FrontDoor to populate frontdoorName. + description: Reference to a FrontDoor in network to populate frontdoorName. properties: name: description: Name of the referenced object. @@ -875,7 +875,7 @@ spec: - name type: object frontdoorNameSelector: - description: Selector for a FrontDoor to populate frontdoorName. + description: Selector for a FrontDoor in network to populate frontdoorName. properties: matchControllerRef: description: |- diff --git a/package/crds/network.azure.upbound.io_packetcaptures.yaml b/package/crds/network.azure.upbound.io_packetcaptures.yaml index 86d8e3713..dcf377663 100644 --- a/package/crds/network.azure.upbound.io_packetcaptures.yaml +++ b/package/crds/network.azure.upbound.io_packetcaptures.yaml @@ -1004,7 +1004,7 @@ spec: a new resource to be created. type: string networkWatcherNameRef: - description: Reference to a Watcher to populate networkWatcherName. + description: Reference to a Watcher in network to populate networkWatcherName. properties: name: description: Name of the referenced object. @@ -1038,7 +1038,7 @@ spec: - name type: object networkWatcherNameSelector: - description: Selector for a Watcher to populate networkWatcherName. + description: Selector for a Watcher in network to populate networkWatcherName. properties: matchControllerRef: description: |- diff --git a/package/crds/network.azure.upbound.io_pointtositevpngateways.yaml b/package/crds/network.azure.upbound.io_pointtositevpngateways.yaml index c5af06fea..06047a9f0 100644 --- a/package/crds/network.azure.upbound.io_pointtositevpngateways.yaml +++ b/package/crds/network.azure.upbound.io_pointtositevpngateways.yaml @@ -1279,7 +1279,8 @@ spec: to be created. type: string virtualHubIdRef: - description: Reference to a VirtualHub to populate virtualHubId. + description: Reference to a VirtualHub in network to populate + virtualHubId. properties: name: description: Name of the referenced object. @@ -1313,7 +1314,8 @@ spec: - name type: object virtualHubIdSelector: - description: Selector for a VirtualHub to populate virtualHubId. + description: Selector for a VirtualHub in network to populate + virtualHubId. properties: matchControllerRef: description: |- @@ -1358,8 +1360,8 @@ spec: new resource to be created. type: string vpnServerConfigurationIdRef: - description: Reference to a VPNServerConfiguration to populate - vpnServerConfigurationId. + description: Reference to a VPNServerConfiguration in network + to populate vpnServerConfigurationId. properties: name: description: Name of the referenced object. @@ -1393,8 +1395,8 @@ spec: - name type: object vpnServerConfigurationIdSelector: - description: Selector for a VPNServerConfiguration to populate - vpnServerConfigurationId. + description: Selector for a VPNServerConfiguration in network + to populate vpnServerConfigurationId. properties: matchControllerRef: description: |- @@ -1543,7 +1545,8 @@ spec: to be created. type: string virtualHubIdRef: - description: Reference to a VirtualHub to populate virtualHubId. + description: Reference to a VirtualHub in network to populate + virtualHubId. properties: name: description: Name of the referenced object. @@ -1577,7 +1580,8 @@ spec: - name type: object virtualHubIdSelector: - description: Selector for a VirtualHub to populate virtualHubId. + description: Selector for a VirtualHub in network to populate + virtualHubId. properties: matchControllerRef: description: |- @@ -1622,8 +1626,8 @@ spec: new resource to be created. type: string vpnServerConfigurationIdRef: - description: Reference to a VPNServerConfiguration to populate - vpnServerConfigurationId. + description: Reference to a VPNServerConfiguration in network + to populate vpnServerConfigurationId. properties: name: description: Name of the referenced object. @@ -1657,8 +1661,8 @@ spec: - name type: object vpnServerConfigurationIdSelector: - description: Selector for a VPNServerConfiguration to populate - vpnServerConfigurationId. + description: Selector for a VPNServerConfiguration in network + to populate vpnServerConfigurationId. properties: matchControllerRef: description: |- diff --git a/package/crds/network.azure.upbound.io_privateendpoints.yaml b/package/crds/network.azure.upbound.io_privateendpoints.yaml index 8da8c254c..d447028aa 100644 --- a/package/crds/network.azure.upbound.io_privateendpoints.yaml +++ b/package/crds/network.azure.upbound.io_privateendpoints.yaml @@ -1241,7 +1241,8 @@ spec: type: string type: array privateDnsZoneIdsRefs: - description: References to PrivateDNSZone to populate privateDnsZoneIds. + description: References to PrivateDNSZone in network to populate + privateDnsZoneIds. items: description: A Reference to a named object. properties: @@ -1278,8 +1279,8 @@ spec: type: object type: array privateDnsZoneIdsSelector: - description: Selector for a list of PrivateDNSZone to populate - privateDnsZoneIds. + description: Selector for a list of PrivateDNSZone in network + to populate privateDnsZoneIds. properties: matchControllerRef: description: |- @@ -1593,7 +1594,8 @@ spec: type: string type: array privateDnsZoneIdsRefs: - description: References to PrivateDNSZone to populate privateDnsZoneIds. + description: References to PrivateDNSZone in network to populate + privateDnsZoneIds. items: description: A Reference to a named object. properties: @@ -1630,8 +1632,8 @@ spec: type: object type: array privateDnsZoneIdsSelector: - description: Selector for a list of PrivateDNSZone to populate - privateDnsZoneIds. + description: Selector for a list of PrivateDNSZone in network + to populate privateDnsZoneIds. properties: matchControllerRef: description: |- diff --git a/package/crds/network.azure.upbound.io_profiles.yaml b/package/crds/network.azure.upbound.io_profiles.yaml index 70d4282c6..f057fcfdf 100644 --- a/package/crds/network.azure.upbound.io_profiles.yaml +++ b/package/crds/network.azure.upbound.io_profiles.yaml @@ -753,7 +753,8 @@ spec: the IP Configuration. type: string subnetIdRef: - description: Reference to a Subnet to populate subnetId. + description: Reference to a Subnet in network to populate + subnetId. properties: name: description: Name of the referenced object. @@ -787,7 +788,8 @@ spec: - name type: object subnetIdSelector: - description: Selector for a Subnet to populate subnetId. + description: Selector for a Subnet in network to populate + subnetId. properties: matchControllerRef: description: |- @@ -954,7 +956,8 @@ spec: the IP Configuration. type: string subnetIdRef: - description: Reference to a Subnet to populate subnetId. + description: Reference to a Subnet in network to populate + subnetId. properties: name: description: Name of the referenced object. @@ -988,7 +991,8 @@ spec: - name type: object subnetIdSelector: - description: Selector for a Subnet to populate subnetId. + description: Selector for a Subnet in network to populate + subnetId. properties: matchControllerRef: description: |- diff --git a/package/crds/network.azure.upbound.io_subnets.yaml b/package/crds/network.azure.upbound.io_subnets.yaml index 80ac2eb70..5f388ba93 100644 --- a/package/crds/network.azure.upbound.io_subnets.yaml +++ b/package/crds/network.azure.upbound.io_subnets.yaml @@ -1042,7 +1042,8 @@ spec: the subnet. Changing this forces a new resource to be created. type: string virtualNetworkNameRef: - description: Reference to a VirtualNetwork to populate virtualNetworkName. + description: Reference to a VirtualNetwork in network to populate + virtualNetworkName. properties: name: description: Name of the referenced object. @@ -1076,7 +1077,8 @@ spec: - name type: object virtualNetworkNameSelector: - description: Selector for a VirtualNetwork to populate virtualNetworkName. + description: Selector for a VirtualNetwork in network to populate + virtualNetworkName. properties: matchControllerRef: description: |- diff --git a/package/crds/network.azure.upbound.io_virtualnetworkgatewayconnections.yaml b/package/crds/network.azure.upbound.io_virtualnetworkgatewayconnections.yaml index 7fdd1c9bb..18a8167f4 100644 --- a/package/crds/network.azure.upbound.io_virtualnetworkgatewayconnections.yaml +++ b/package/crds/network.azure.upbound.io_virtualnetworkgatewayconnections.yaml @@ -1676,8 +1676,8 @@ spec: subscription. Changing this forces a new resource to be created. type: string peerVirtualNetworkGatewayIdRef: - description: Reference to a VirtualNetworkGateway to populate - peerVirtualNetworkGatewayId. + description: Reference to a VirtualNetworkGateway in network to + populate peerVirtualNetworkGatewayId. properties: name: description: Name of the referenced object. @@ -1711,8 +1711,8 @@ spec: - name type: object peerVirtualNetworkGatewayIdSelector: - description: Selector for a VirtualNetworkGateway to populate - peerVirtualNetworkGatewayId. + description: Selector for a VirtualNetworkGateway in network to + populate peerVirtualNetworkGatewayId. properties: matchControllerRef: description: |- @@ -1895,8 +1895,8 @@ spec: to be created. type: string virtualNetworkGatewayIdRef: - description: Reference to a VirtualNetworkGateway to populate - virtualNetworkGatewayId. + description: Reference to a VirtualNetworkGateway in network to + populate virtualNetworkGatewayId. properties: name: description: Name of the referenced object. @@ -1930,8 +1930,8 @@ spec: - name type: object virtualNetworkGatewayIdSelector: - description: Selector for a VirtualNetworkGateway to populate - virtualNetworkGatewayId. + description: Selector for a VirtualNetworkGateway in network to + populate virtualNetworkGatewayId. properties: matchControllerRef: description: |- @@ -2177,8 +2177,8 @@ spec: subscription. Changing this forces a new resource to be created. type: string peerVirtualNetworkGatewayIdRef: - description: Reference to a VirtualNetworkGateway to populate - peerVirtualNetworkGatewayId. + description: Reference to a VirtualNetworkGateway in network to + populate peerVirtualNetworkGatewayId. properties: name: description: Name of the referenced object. @@ -2212,8 +2212,8 @@ spec: - name type: object peerVirtualNetworkGatewayIdSelector: - description: Selector for a VirtualNetworkGateway to populate - peerVirtualNetworkGatewayId. + description: Selector for a VirtualNetworkGateway in network to + populate peerVirtualNetworkGatewayId. properties: matchControllerRef: description: |- @@ -2298,8 +2298,8 @@ spec: to be created. type: string virtualNetworkGatewayIdRef: - description: Reference to a VirtualNetworkGateway to populate - virtualNetworkGatewayId. + description: Reference to a VirtualNetworkGateway in network to + populate virtualNetworkGatewayId. properties: name: description: Name of the referenced object. @@ -2333,8 +2333,8 @@ spec: - name type: object virtualNetworkGatewayIdSelector: - description: Selector for a VirtualNetworkGateway to populate - virtualNetworkGatewayId. + description: Selector for a VirtualNetworkGateway in network to + populate virtualNetworkGatewayId. properties: matchControllerRef: description: |- diff --git a/package/crds/network.azure.upbound.io_virtualnetworkgateways.yaml b/package/crds/network.azure.upbound.io_virtualnetworkgateways.yaml index 4bb37de83..fd9723a20 100644 --- a/package/crds/network.azure.upbound.io_virtualnetworkgateways.yaml +++ b/package/crds/network.azure.upbound.io_virtualnetworkgateways.yaml @@ -2128,7 +2128,8 @@ spec: single Virtual Network Gateway. type: string subnetIdRef: - description: Reference to a Subnet to populate subnetId. + description: Reference to a Subnet in network to populate + subnetId. properties: name: description: Name of the referenced object. @@ -2162,7 +2163,8 @@ spec: - name type: object subnetIdSelector: - description: Selector for a Subnet to populate subnetId. + description: Selector for a Subnet in network to populate + subnetId. properties: matchControllerRef: description: |- @@ -2754,7 +2756,8 @@ spec: single Virtual Network Gateway. type: string subnetIdRef: - description: Reference to a Subnet to populate subnetId. + description: Reference to a Subnet in network to populate + subnetId. properties: name: description: Name of the referenced object. @@ -2788,7 +2791,8 @@ spec: - name type: object subnetIdSelector: - description: Selector for a Subnet to populate subnetId. + description: Selector for a Subnet in network to populate + subnetId. properties: matchControllerRef: description: |- diff --git a/package/crds/network.azure.upbound.io_watcherflowlogs.yaml b/package/crds/network.azure.upbound.io_watcherflowlogs.yaml index 4cc2be9d1..02fc72280 100644 --- a/package/crds/network.azure.upbound.io_watcherflowlogs.yaml +++ b/package/crds/network.azure.upbound.io_watcherflowlogs.yaml @@ -1361,7 +1361,8 @@ spec: be created. type: string networkSecurityGroupIdRef: - description: Reference to a SecurityGroup to populate networkSecurityGroupId. + description: Reference to a SecurityGroup in network to populate + networkSecurityGroupId. properties: name: description: Name of the referenced object. @@ -1395,7 +1396,8 @@ spec: - name type: object networkSecurityGroupIdSelector: - description: Selector for a SecurityGroup to populate networkSecurityGroupId. + description: Selector for a SecurityGroup in network to populate + networkSecurityGroupId. properties: matchControllerRef: description: |- @@ -1439,7 +1441,7 @@ spec: a new resource to be created. type: string networkWatcherNameRef: - description: Reference to a Watcher to populate networkWatcherName. + description: Reference to a Watcher in network to populate networkWatcherName. properties: name: description: Name of the referenced object. @@ -1473,7 +1475,7 @@ spec: - name type: object networkWatcherNameSelector: - description: Selector for a Watcher to populate networkWatcherName. + description: Selector for a Watcher in network to populate networkWatcherName. properties: matchControllerRef: description: |- @@ -1892,7 +1894,8 @@ spec: be created. type: string networkSecurityGroupIdRef: - description: Reference to a SecurityGroup to populate networkSecurityGroupId. + description: Reference to a SecurityGroup in network to populate + networkSecurityGroupId. properties: name: description: Name of the referenced object. @@ -1926,7 +1929,8 @@ spec: - name type: object networkSecurityGroupIdSelector: - description: Selector for a SecurityGroup to populate networkSecurityGroupId. + description: Selector for a SecurityGroup in network to populate + networkSecurityGroupId. properties: matchControllerRef: description: |- diff --git a/package/crds/sql.azure.upbound.io_mssqldatabases.yaml b/package/crds/sql.azure.upbound.io_mssqldatabases.yaml index c2e10593b..766a82f93 100644 --- a/package/crds/sql.azure.upbound.io_mssqldatabases.yaml +++ b/package/crds/sql.azure.upbound.io_mssqldatabases.yaml @@ -1730,7 +1730,7 @@ spec: database. Changing this forces a new resource to be created. type: string serverIdRef: - description: Reference to a MSSQLServer to populate serverId. + description: Reference to a MSSQLServer in sql to populate serverId. properties: name: description: Name of the referenced object. @@ -1764,7 +1764,7 @@ spec: - name type: object serverIdSelector: - description: Selector for a MSSQLServer to populate serverId. + description: Selector for a MSSQLServer in sql to populate serverId. properties: matchControllerRef: description: |- diff --git a/package/crds/sql.azure.upbound.io_mssqlelasticpools.yaml b/package/crds/sql.azure.upbound.io_mssqlelasticpools.yaml index b25e12287..137bf4a44 100644 --- a/package/crds/sql.azure.upbound.io_mssqlelasticpools.yaml +++ b/package/crds/sql.azure.upbound.io_mssqlelasticpools.yaml @@ -985,7 +985,7 @@ spec: elastic pool. Changing this forces a new resource to be created. type: string serverNameRef: - description: Reference to a MSSQLServer to populate serverName. + description: Reference to a MSSQLServer in sql to populate serverName. properties: name: description: Name of the referenced object. @@ -1019,7 +1019,7 @@ spec: - name type: object serverNameSelector: - description: Selector for a MSSQLServer to populate serverName. + description: Selector for a MSSQLServer in sql to populate serverName. properties: matchControllerRef: description: |- diff --git a/package/crds/sql.azure.upbound.io_mssqlfailovergroups.yaml b/package/crds/sql.azure.upbound.io_mssqlfailovergroups.yaml index c067f9bca..009cc6e9d 100644 --- a/package/crds/sql.azure.upbound.io_mssqlfailovergroups.yaml +++ b/package/crds/sql.azure.upbound.io_mssqlfailovergroups.yaml @@ -929,7 +929,7 @@ spec: type: array x-kubernetes-list-type: set databasesRefs: - description: References to MSSQLDatabase to populate databases. + description: References to MSSQLDatabase in sql to populate databases. items: description: A Reference to a named object. properties: @@ -966,7 +966,7 @@ spec: type: object type: array databasesSelector: - description: Selector for a list of MSSQLDatabase to populate + description: Selector for a list of MSSQLDatabase in sql to populate databases. properties: matchControllerRef: @@ -1015,7 +1015,8 @@ spec: the failover group. type: string idRef: - description: Reference to a MSSQLServer to populate id. + description: Reference to a MSSQLServer in sql to populate + id. properties: name: description: Name of the referenced object. @@ -1049,7 +1050,8 @@ spec: - name type: object idSelector: - description: Selector for a MSSQLServer to populate id. + description: Selector for a MSSQLServer in sql to populate + id. properties: matchControllerRef: description: |- @@ -1115,7 +1117,7 @@ spec: created. type: string serverIdRef: - description: Reference to a MSSQLServer to populate serverId. + description: Reference to a MSSQLServer in sql to populate serverId. properties: name: description: Name of the referenced object. @@ -1149,7 +1151,7 @@ spec: - name type: object serverIdSelector: - description: Selector for a MSSQLServer to populate serverId. + description: Selector for a MSSQLServer in sql to populate serverId. properties: matchControllerRef: description: |- @@ -1216,7 +1218,7 @@ spec: type: array x-kubernetes-list-type: set databasesRefs: - description: References to MSSQLDatabase to populate databases. + description: References to MSSQLDatabase in sql to populate databases. items: description: A Reference to a named object. properties: @@ -1253,7 +1255,7 @@ spec: type: object type: array databasesSelector: - description: Selector for a list of MSSQLDatabase to populate + description: Selector for a list of MSSQLDatabase in sql to populate databases. properties: matchControllerRef: @@ -1302,7 +1304,8 @@ spec: the failover group. type: string idRef: - description: Reference to a MSSQLServer to populate id. + description: Reference to a MSSQLServer in sql to populate + id. properties: name: description: Name of the referenced object. @@ -1336,7 +1339,8 @@ spec: - name type: object idSelector: - description: Selector for a MSSQLServer to populate id. + description: Selector for a MSSQLServer in sql to populate + id. properties: matchControllerRef: description: |- diff --git a/package/crds/sql.azure.upbound.io_mssqlmanageddatabases.yaml b/package/crds/sql.azure.upbound.io_mssqlmanageddatabases.yaml index fdb29c17a..c1af46455 100644 --- a/package/crds/sql.azure.upbound.io_mssqlmanageddatabases.yaml +++ b/package/crds/sql.azure.upbound.io_mssqlmanageddatabases.yaml @@ -647,7 +647,8 @@ spec: resource to be created. type: string managedInstanceIdRef: - description: Reference to a MSSQLManagedInstance to populate managedInstanceId. + description: Reference to a MSSQLManagedInstance in sql to populate + managedInstanceId. properties: name: description: Name of the referenced object. @@ -681,7 +682,8 @@ spec: - name type: object managedInstanceIdSelector: - description: Selector for a MSSQLManagedInstance to populate managedInstanceId. + description: Selector for a MSSQLManagedInstance in sql to populate + managedInstanceId. properties: matchControllerRef: description: |- diff --git a/package/crds/sql.azure.upbound.io_mssqlmanagedinstancefailovergroups.yaml b/package/crds/sql.azure.upbound.io_mssqlmanagedinstancefailovergroups.yaml index c64515d15..22db7ab69 100644 --- a/package/crds/sql.azure.upbound.io_mssqlmanagedinstancefailovergroups.yaml +++ b/package/crds/sql.azure.upbound.io_mssqlmanagedinstancefailovergroups.yaml @@ -821,7 +821,8 @@ spec: this forces a new resource to be created. type: string managedInstanceIdRef: - description: Reference to a MSSQLManagedInstance to populate managedInstanceId. + description: Reference to a MSSQLManagedInstance in sql to populate + managedInstanceId. properties: name: description: Name of the referenced object. @@ -855,7 +856,8 @@ spec: - name type: object managedInstanceIdSelector: - description: Selector for a MSSQLManagedInstance to populate managedInstanceId. + description: Selector for a MSSQLManagedInstance in sql to populate + managedInstanceId. properties: matchControllerRef: description: |- @@ -900,7 +902,8 @@ spec: created. type: string partnerManagedInstanceIdRef: - description: Reference to a MSSQLManagedInstance to populate partnerManagedInstanceId. + description: Reference to a MSSQLManagedInstance in sql to populate + partnerManagedInstanceId. properties: name: description: Name of the referenced object. @@ -934,7 +937,8 @@ spec: - name type: object partnerManagedInstanceIdSelector: - description: Selector for a MSSQLManagedInstance to populate partnerManagedInstanceId. + description: Selector for a MSSQLManagedInstance in sql to populate + partnerManagedInstanceId. properties: matchControllerRef: description: |- @@ -1012,7 +1016,8 @@ spec: this forces a new resource to be created. type: string managedInstanceIdRef: - description: Reference to a MSSQLManagedInstance to populate managedInstanceId. + description: Reference to a MSSQLManagedInstance in sql to populate + managedInstanceId. properties: name: description: Name of the referenced object. @@ -1046,7 +1051,8 @@ spec: - name type: object managedInstanceIdSelector: - description: Selector for a MSSQLManagedInstance to populate managedInstanceId. + description: Selector for a MSSQLManagedInstance in sql to populate + managedInstanceId. properties: matchControllerRef: description: |- @@ -1091,7 +1097,8 @@ spec: created. type: string partnerManagedInstanceIdRef: - description: Reference to a MSSQLManagedInstance to populate partnerManagedInstanceId. + description: Reference to a MSSQLManagedInstance in sql to populate + partnerManagedInstanceId. properties: name: description: Name of the referenced object. @@ -1125,7 +1132,8 @@ spec: - name type: object partnerManagedInstanceIdSelector: - description: Selector for a MSSQLManagedInstance to populate partnerManagedInstanceId. + description: Selector for a MSSQLManagedInstance in sql to populate + partnerManagedInstanceId. properties: matchControllerRef: description: |- diff --git a/package/crds/sql.azure.upbound.io_mssqlmanagedinstances.yaml b/package/crds/sql.azure.upbound.io_mssqlmanagedinstances.yaml index c4f7def25..51f13f536 100644 --- a/package/crds/sql.azure.upbound.io_mssqlmanagedinstances.yaml +++ b/package/crds/sql.azure.upbound.io_mssqlmanagedinstances.yaml @@ -1165,7 +1165,8 @@ spec: Setting this after creation forces a new resource to be created. type: string dnsZonePartnerIdRef: - description: Reference to a MSSQLManagedInstance to populate dnsZonePartnerId. + description: Reference to a MSSQLManagedInstance in sql to populate + dnsZonePartnerId. properties: name: description: Name of the referenced object. @@ -1199,7 +1200,8 @@ spec: - name type: object dnsZonePartnerIdSelector: - description: Selector for a MSSQLManagedInstance to populate dnsZonePartnerId. + description: Selector for a MSSQLManagedInstance in sql to populate + dnsZonePartnerId. properties: matchControllerRef: description: |- @@ -1507,7 +1509,8 @@ spec: Setting this after creation forces a new resource to be created. type: string dnsZonePartnerIdRef: - description: Reference to a MSSQLManagedInstance to populate dnsZonePartnerId. + description: Reference to a MSSQLManagedInstance in sql to populate + dnsZonePartnerId. properties: name: description: Name of the referenced object. @@ -1541,7 +1544,8 @@ spec: - name type: object dnsZonePartnerIdSelector: - description: Selector for a MSSQLManagedInstance to populate dnsZonePartnerId. + description: Selector for a MSSQLManagedInstance in sql to populate + dnsZonePartnerId. properties: matchControllerRef: description: |- diff --git a/package/crds/sql.azure.upbound.io_mssqlmanagedinstancevulnerabilityassessments.yaml b/package/crds/sql.azure.upbound.io_mssqlmanagedinstancevulnerabilityassessments.yaml index 840422795..86d365283 100644 --- a/package/crds/sql.azure.upbound.io_mssqlmanagedinstancevulnerabilityassessments.yaml +++ b/package/crds/sql.azure.upbound.io_mssqlmanagedinstancevulnerabilityassessments.yaml @@ -596,7 +596,8 @@ spec: forces a new resource to be created. type: string managedInstanceIdRef: - description: Reference to a MSSQLManagedInstance to populate managedInstanceId. + description: Reference to a MSSQLManagedInstance in sql to populate + managedInstanceId. properties: name: description: Name of the referenced object. @@ -630,7 +631,8 @@ spec: - name type: object managedInstanceIdSelector: - description: Selector for a MSSQLManagedInstance to populate managedInstanceId. + description: Selector for a MSSQLManagedInstance in sql to populate + managedInstanceId. properties: matchControllerRef: description: |- diff --git a/package/crds/streamanalytics.azure.upbound.io_functionjavascriptudas.yaml b/package/crds/streamanalytics.azure.upbound.io_functionjavascriptudas.yaml index d3e8b6f71..ad5c46771 100644 --- a/package/crds/streamanalytics.azure.upbound.io_functionjavascriptudas.yaml +++ b/package/crds/streamanalytics.azure.upbound.io_functionjavascriptudas.yaml @@ -683,7 +683,8 @@ spec: resource to be created. type: string streamAnalyticsJobIdRef: - description: Reference to a Job to populate streamAnalyticsJobId. + description: Reference to a Job in streamanalytics to populate + streamAnalyticsJobId. properties: name: description: Name of the referenced object. @@ -717,7 +718,8 @@ spec: - name type: object streamAnalyticsJobIdSelector: - description: Selector for a Job to populate streamAnalyticsJobId. + description: Selector for a Job in streamanalytics to populate + streamAnalyticsJobId. properties: matchControllerRef: description: |- @@ -803,7 +805,8 @@ spec: resource to be created. type: string streamAnalyticsJobIdRef: - description: Reference to a Job to populate streamAnalyticsJobId. + description: Reference to a Job in streamanalytics to populate + streamAnalyticsJobId. properties: name: description: Name of the referenced object. @@ -837,7 +840,8 @@ spec: - name type: object streamAnalyticsJobIdSelector: - description: Selector for a Job to populate streamAnalyticsJobId. + description: Selector for a Job in streamanalytics to populate + streamAnalyticsJobId. properties: matchControllerRef: description: |- diff --git a/package/crds/streamanalytics.azure.upbound.io_outputblobs.yaml b/package/crds/streamanalytics.azure.upbound.io_outputblobs.yaml index e4c377183..6007556a5 100644 --- a/package/crds/streamanalytics.azure.upbound.io_outputblobs.yaml +++ b/package/crds/streamanalytics.azure.upbound.io_outputblobs.yaml @@ -1451,7 +1451,8 @@ spec: forces a new resource to be created. type: string streamAnalyticsJobNameRef: - description: Reference to a Job to populate streamAnalyticsJobName. + description: Reference to a Job in streamanalytics to populate + streamAnalyticsJobName. properties: name: description: Name of the referenced object. @@ -1485,7 +1486,8 @@ spec: - name type: object streamAnalyticsJobNameSelector: - description: Selector for a Job to populate streamAnalyticsJobName. + description: Selector for a Job in streamanalytics to populate + streamAnalyticsJobName. properties: matchControllerRef: description: |- @@ -1750,7 +1752,8 @@ spec: forces a new resource to be created. type: string streamAnalyticsJobNameRef: - description: Reference to a Job to populate streamAnalyticsJobName. + description: Reference to a Job in streamanalytics to populate + streamAnalyticsJobName. properties: name: description: Name of the referenced object. @@ -1784,7 +1787,8 @@ spec: - name type: object streamAnalyticsJobNameSelector: - description: Selector for a Job to populate streamAnalyticsJobName. + description: Selector for a Job in streamanalytics to populate + streamAnalyticsJobName. properties: matchControllerRef: description: |- diff --git a/package/crds/streamanalytics.azure.upbound.io_outputservicebusqueues.yaml b/package/crds/streamanalytics.azure.upbound.io_outputservicebusqueues.yaml index 85d406a76..65fd674af 100644 --- a/package/crds/streamanalytics.azure.upbound.io_outputservicebusqueues.yaml +++ b/package/crds/streamanalytics.azure.upbound.io_outputservicebusqueues.yaml @@ -1515,7 +1515,8 @@ spec: forces a new resource to be created. type: string streamAnalyticsJobNameRef: - description: Reference to a Job to populate streamAnalyticsJobName. + description: Reference to a Job in streamanalytics to populate + streamAnalyticsJobName. properties: name: description: Name of the referenced object. @@ -1549,7 +1550,8 @@ spec: - name type: object streamAnalyticsJobNameSelector: - description: Selector for a Job to populate streamAnalyticsJobName. + description: Selector for a Job in streamanalytics to populate + streamAnalyticsJobName. properties: matchControllerRef: description: |- @@ -1893,7 +1895,8 @@ spec: forces a new resource to be created. type: string streamAnalyticsJobNameRef: - description: Reference to a Job to populate streamAnalyticsJobName. + description: Reference to a Job in streamanalytics to populate + streamAnalyticsJobName. properties: name: description: Name of the referenced object. @@ -1927,7 +1930,8 @@ spec: - name type: object streamAnalyticsJobNameSelector: - description: Selector for a Job to populate streamAnalyticsJobName. + description: Selector for a Job in streamanalytics to populate + streamAnalyticsJobName. properties: matchControllerRef: description: |- diff --git a/package/crds/streamanalytics.azure.upbound.io_outputservicebustopics.yaml b/package/crds/streamanalytics.azure.upbound.io_outputservicebustopics.yaml index 8ceefc3f5..8d3b523ff 100644 --- a/package/crds/streamanalytics.azure.upbound.io_outputservicebustopics.yaml +++ b/package/crds/streamanalytics.azure.upbound.io_outputservicebustopics.yaml @@ -1438,7 +1438,8 @@ spec: forces a new resource to be created. type: string streamAnalyticsJobNameRef: - description: Reference to a Job to populate streamAnalyticsJobName. + description: Reference to a Job in streamanalytics to populate + streamAnalyticsJobName. properties: name: description: Name of the referenced object. @@ -1472,7 +1473,8 @@ spec: - name type: object streamAnalyticsJobNameSelector: - description: Selector for a Job to populate streamAnalyticsJobName. + description: Selector for a Job in streamanalytics to populate + streamAnalyticsJobName. properties: matchControllerRef: description: |- @@ -1816,7 +1818,8 @@ spec: forces a new resource to be created. type: string streamAnalyticsJobNameRef: - description: Reference to a Job to populate streamAnalyticsJobName. + description: Reference to a Job in streamanalytics to populate + streamAnalyticsJobName. properties: name: description: Name of the referenced object. @@ -1850,7 +1853,8 @@ spec: - name type: object streamAnalyticsJobNameSelector: - description: Selector for a Job to populate streamAnalyticsJobName. + description: Selector for a Job in streamanalytics to populate + streamAnalyticsJobName. properties: matchControllerRef: description: |- diff --git a/package/crds/streamanalytics.azure.upbound.io_referenceinputblobs.yaml b/package/crds/streamanalytics.azure.upbound.io_referenceinputblobs.yaml index bbc670cb1..1e34b29a5 100644 --- a/package/crds/streamanalytics.azure.upbound.io_referenceinputblobs.yaml +++ b/package/crds/streamanalytics.azure.upbound.io_referenceinputblobs.yaml @@ -1488,7 +1488,8 @@ spec: forces a new resource to be created. type: string streamAnalyticsJobNameRef: - description: Reference to a Job to populate streamAnalyticsJobName. + description: Reference to a Job in streamanalytics to populate + streamAnalyticsJobName. properties: name: description: Name of the referenced object. @@ -1522,7 +1523,8 @@ spec: - name type: object streamAnalyticsJobNameSelector: - description: Selector for a Job to populate streamAnalyticsJobName. + description: Selector for a Job in streamanalytics to populate + streamAnalyticsJobName. properties: matchControllerRef: description: |- @@ -1856,7 +1858,8 @@ spec: forces a new resource to be created. type: string streamAnalyticsJobNameRef: - description: Reference to a Job to populate streamAnalyticsJobName. + description: Reference to a Job in streamanalytics to populate + streamAnalyticsJobName. properties: name: description: Name of the referenced object. @@ -1890,7 +1893,8 @@ spec: - name type: object streamAnalyticsJobNameSelector: - description: Selector for a Job to populate streamAnalyticsJobName. + description: Selector for a Job in streamanalytics to populate + streamAnalyticsJobName. properties: matchControllerRef: description: |- diff --git a/package/crds/streamanalytics.azure.upbound.io_streaminputblobs.yaml b/package/crds/streamanalytics.azure.upbound.io_streaminputblobs.yaml index 4e11b522e..64119a8a7 100644 --- a/package/crds/streamanalytics.azure.upbound.io_streaminputblobs.yaml +++ b/package/crds/streamanalytics.azure.upbound.io_streaminputblobs.yaml @@ -1467,7 +1467,8 @@ spec: forces a new resource to be created. type: string streamAnalyticsJobNameRef: - description: Reference to a Job to populate streamAnalyticsJobName. + description: Reference to a Job in streamanalytics to populate + streamAnalyticsJobName. properties: name: description: Name of the referenced object. @@ -1501,7 +1502,8 @@ spec: - name type: object streamAnalyticsJobNameSelector: - description: Selector for a Job to populate streamAnalyticsJobName. + description: Selector for a Job in streamanalytics to populate + streamAnalyticsJobName. properties: matchControllerRef: description: |- @@ -1829,7 +1831,8 @@ spec: forces a new resource to be created. type: string streamAnalyticsJobNameRef: - description: Reference to a Job to populate streamAnalyticsJobName. + description: Reference to a Job in streamanalytics to populate + streamAnalyticsJobName. properties: name: description: Name of the referenced object. @@ -1863,7 +1866,8 @@ spec: - name type: object streamAnalyticsJobNameSelector: - description: Selector for a Job to populate streamAnalyticsJobName. + description: Selector for a Job in streamanalytics to populate + streamAnalyticsJobName. properties: matchControllerRef: description: |- diff --git a/package/crds/streamanalytics.azure.upbound.io_streaminputeventhubs.yaml b/package/crds/streamanalytics.azure.upbound.io_streaminputeventhubs.yaml index 09d8330cf..7fd3700e8 100644 --- a/package/crds/streamanalytics.azure.upbound.io_streaminputeventhubs.yaml +++ b/package/crds/streamanalytics.azure.upbound.io_streaminputeventhubs.yaml @@ -1714,7 +1714,8 @@ spec: forces a new resource to be created. type: string streamAnalyticsJobNameRef: - description: Reference to a Job to populate streamAnalyticsJobName. + description: Reference to a Job in streamanalytics to populate + streamAnalyticsJobName. properties: name: description: Name of the referenced object. @@ -1748,7 +1749,8 @@ spec: - name type: object streamAnalyticsJobNameSelector: - description: Selector for a Job to populate streamAnalyticsJobName. + description: Selector for a Job in streamanalytics to populate + streamAnalyticsJobName. properties: matchControllerRef: description: |- @@ -2160,7 +2162,8 @@ spec: forces a new resource to be created. type: string streamAnalyticsJobNameRef: - description: Reference to a Job to populate streamAnalyticsJobName. + description: Reference to a Job in streamanalytics to populate + streamAnalyticsJobName. properties: name: description: Name of the referenced object. @@ -2194,7 +2197,8 @@ spec: - name type: object streamAnalyticsJobNameSelector: - description: Selector for a Job to populate streamAnalyticsJobName. + description: Selector for a Job in streamanalytics to populate + streamAnalyticsJobName. properties: matchControllerRef: description: |- diff --git a/package/crds/streamanalytics.azure.upbound.io_streaminputiothubs.yaml b/package/crds/streamanalytics.azure.upbound.io_streaminputiothubs.yaml index 1099a2bf6..efd199407 100644 --- a/package/crds/streamanalytics.azure.upbound.io_streaminputiothubs.yaml +++ b/package/crds/streamanalytics.azure.upbound.io_streaminputiothubs.yaml @@ -1462,7 +1462,8 @@ spec: forces a new resource to be created. type: string streamAnalyticsJobNameRef: - description: Reference to a Job to populate streamAnalyticsJobName. + description: Reference to a Job in streamanalytics to populate + streamAnalyticsJobName. properties: name: description: Name of the referenced object. @@ -1496,7 +1497,8 @@ spec: - name type: object streamAnalyticsJobNameSelector: - description: Selector for a Job to populate streamAnalyticsJobName. + description: Selector for a Job in streamanalytics to populate + streamAnalyticsJobName. properties: matchControllerRef: description: |- @@ -1823,7 +1825,8 @@ spec: forces a new resource to be created. type: string streamAnalyticsJobNameRef: - description: Reference to a Job to populate streamAnalyticsJobName. + description: Reference to a Job in streamanalytics to populate + streamAnalyticsJobName. properties: name: description: Name of the referenced object. @@ -1857,7 +1860,8 @@ spec: - name type: object streamAnalyticsJobNameSelector: - description: Selector for a Job to populate streamAnalyticsJobName. + description: Selector for a Job in streamanalytics to populate + streamAnalyticsJobName. properties: matchControllerRef: description: |-