Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

new resource and data source: azurerm_oracle_exadata_infrastructure #27177

Merged
merged 33 commits into from
Oct 11, 2024
Merged
Show file tree
Hide file tree
Changes from 14 commits
Commits
Show all changes
33 commits
Select commit Hold shift + click to select a range
90eb21b
* Add Exadata Infrastructure files.
eelhomsi Aug 9, 2024
9482eba
Merge branch 'main' into introduce-exa-data-and-resource
eelhomsi Aug 12, 2024
d26aada
* Format.
eelhomsi Sep 3, 2024
16a5e92
* Move to bottom.
eelhomsi Sep 9, 2024
61e90b7
* Add validators.
eelhomsi Sep 9, 2024
6f35ff7
* Format blocks.
eelhomsi Sep 9, 2024
19bc88c
* Address comments.
eelhomsi Sep 24, 2024
b3e4f33
Update website/docs/r/oracledatabase_exadata_infrastructure.html.mark…
eelhomsi Sep 25, 2024
76a1f16
Update website/docs/r/oracledatabase_exadata_infrastructure.html.mark…
eelhomsi Sep 25, 2024
4652730
Update website/docs/r/oracledatabase_exadata_infrastructure.html.mark…
eelhomsi Sep 25, 2024
4ab3c70
* Address comments.
eelhomsi Sep 25, 2024
659816a
Merge remote-tracking branch 'origin/introduce-exa-data-and-resource'…
eelhomsi Sep 25, 2024
2253a16
Update internal/services/oracledatabase/exadata_infrastructure_resour…
katbyte Sep 27, 2024
936cd8c
Update internal/services/oracledatabase/exadata_infrastructure_resour…
katbyte Sep 27, 2024
153ec94
* Fix website linter issues.
eelhomsi Oct 2, 2024
aea4588
Merge remote-tracking branch 'refs/remotes/origin/main' into introduc…
eelhomsi Oct 3, 2024
5f7eb7c
* Merge from main.
eelhomsi Oct 3, 2024
a46e0d7
* Update test.
eelhomsi Oct 3, 2024
7442f44
* Remove fields not supported in ODB@A UI.
eelhomsi Oct 4, 2024
4745284
Merge remote-tracking branch 'refs/remotes/origin/main' into introduc…
eelhomsi Oct 4, 2024
a148c3f
* Adjust timeouts.
eelhomsi Oct 4, 2024
40aa9ac
* Rearrange guard and update maintenance window.
eelhomsi Oct 8, 2024
2449ce3
Merge remote-tracking branch 'refs/remotes/origin/main' into introduc…
eelhomsi Oct 8, 2024
6101d90
* Update.
eelhomsi Oct 9, 2024
0868f6b
Merge remote-tracking branch 'refs/remotes/origin/main' into introduc…
eelhomsi Oct 9, 2024
809c7cc
Merge remote-tracking branch 'refs/remotes/origin/main' into introduc…
eelhomsi Oct 10, 2024
2db6d11
* Update.
eelhomsi Oct 10, 2024
50a2a9f
Merge remote-tracking branch 'refs/remotes/origin/main' into introduc…
eelhomsi Oct 11, 2024
3ccf7ba
* Update docs.
eelhomsi Oct 11, 2024
3f0ac5b
Merge remote-tracking branch 'refs/remotes/origin/main' into introduc…
eelhomsi Oct 11, 2024
dbc8fd4
* Update name.
eelhomsi Oct 11, 2024
8da9bc6
* Update spec.
eelhomsi Oct 11, 2024
4634c98
* Update spec.
eelhomsi Oct 11, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .teamcity/components/generated/services.kt
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,7 @@ var services = mapOf(
"newrelic" to "New Relic",
"nginx" to "Nginx",
"notificationhub" to "Notification Hub",
"oracledatabase" to "Oracle Database",
"orbital" to "Orbital",
"paloalto" to "Palo Alto",
"policy" to "Policy",
Expand Down
5 changes: 5 additions & 0 deletions internal/clients/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,7 @@ import (
newrelic "github.com/hashicorp/terraform-provider-azurerm/internal/services/newrelic/client"
nginx "github.com/hashicorp/terraform-provider-azurerm/internal/services/nginx/client"
notificationhub "github.com/hashicorp/terraform-provider-azurerm/internal/services/notificationhub/client"
oracledatabase "github.com/hashicorp/terraform-provider-azurerm/internal/services/oracledatabase/client"
orbital "github.com/hashicorp/terraform-provider-azurerm/internal/services/orbital/client"
paloalto "github.com/hashicorp/terraform-provider-azurerm/internal/services/paloalto/client"
policy "github.com/hashicorp/terraform-provider-azurerm/internal/services/policy/client"
Expand Down Expand Up @@ -249,6 +250,7 @@ type Client struct {
NewRelic *newrelic.Client
Nginx *nginx_2024_01_01_preview.Client
NotificationHubs *notificationhub.Client
OracleDatabase *oracledatabase.Client
Orbital *orbital.Client
PaloAlto *paloalto.Client
Policy *policy.Client
Expand Down Expand Up @@ -558,6 +560,9 @@ func (client *Client) Build(ctx context.Context, o *common.ClientOptions) error
if client.NotificationHubs, err = notificationhub.NewClient(o); err != nil {
return fmt.Errorf("building clients for NotificationHubs: %+v", err)
}
if client.OracleDatabase, err = oracledatabase.NewClient(o); err != nil {
return fmt.Errorf("building clients for OracleDatabase: %+v", err)
}
if client.Orbital, err = orbital.NewClient(o); err != nil {
return fmt.Errorf("building clients for Orbital: %+v", err)
}
Expand Down
2 changes: 2 additions & 0 deletions internal/provider/services.go
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,7 @@ import (
"github.com/hashicorp/terraform-provider-azurerm/internal/services/newrelic"
"github.com/hashicorp/terraform-provider-azurerm/internal/services/nginx"
"github.com/hashicorp/terraform-provider-azurerm/internal/services/notificationhub"
"github.com/hashicorp/terraform-provider-azurerm/internal/services/oracledatabase"
"github.com/hashicorp/terraform-provider-azurerm/internal/services/orbital"
"github.com/hashicorp/terraform-provider-azurerm/internal/services/paloalto"
"github.com/hashicorp/terraform-provider-azurerm/internal/services/policy"
Expand Down Expand Up @@ -196,6 +197,7 @@ func SupportedTypedServices() []sdk.TypedServiceRegistration {
networkfunction.Registration{},
newrelic.Registration{},
nginx.Registration{},
oracledatabase.Registration{},
orbital.Registration{},
paloalto.Registration{},
policy.Registration{},
Expand Down
26 changes: 26 additions & 0 deletions internal/services/oracledatabase/client/client.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
// Copyright © 2024, Oracle and/or its affiliates. All rights reserved

package client

import (
oracedatabase "github.com/hashicorp/go-azure-sdk/resource-manager/oracledatabase/2024-06-01"
"github.com/hashicorp/go-azure-sdk/sdk/client/resourcemanager"
"github.com/hashicorp/terraform-provider-azurerm/internal/common"
)

type Client struct {
OracleDatabaseClient *oracedatabase.Client
}

func NewClient(o *common.ClientOptions) (*Client, error) {
o.DisableCorrelationRequestID = true
oracleDatabaseClient, err := oracedatabase.NewClientWithBaseURI(o.Environment.ResourceManager, func(c *resourcemanager.Client) {
o.Configure(c, o.Authorizers.ResourceManager)
})
if err != nil {
return nil, err
}
return &Client{
OracleDatabaseClient: oracleDatabaseClient,
}, nil
}
Loading
Loading