-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
new resource and data source: azurerm_oracle_exadata_infrastructure (#…
…27177) * * Add Exadata Infrastructure files. * * Format. * * Move to bottom. * * Add validators. * * Format blocks. * * Address comments. * Update website/docs/r/oracledatabase_exadata_infrastructure.html.markdown Co-authored-by: kt <[email protected]> * Update website/docs/r/oracledatabase_exadata_infrastructure.html.markdown Co-authored-by: kt <[email protected]> * Update website/docs/r/oracledatabase_exadata_infrastructure.html.markdown Co-authored-by: kt <[email protected]> * * Address comments. * Update internal/services/oracledatabase/exadata_infrastructure_resource_test.go * Update internal/services/oracledatabase/exadata_infrastructure_resource_test.go * * Fix website linter issues. * * Merge from main. * * Update test. * * Remove fields not supported in ODB@A UI. * * Adjust timeouts. * * Rearrange guard and update maintenance window. * * Update. * * Update. * * Update docs. * * Update name. * * Update spec. * * Update spec. --------- Co-authored-by: kt <[email protected]>
- Loading branch information
Showing
265 changed files
with
17,841 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
} |
Oops, something went wrong.