-
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.
update dataprotection sdk to 2021-01-01
- Loading branch information
Showing
20 changed files
with
9,458 additions
and
0 deletions.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
package client | ||
|
||
import ( | ||
"github.com/terraform-providers/terraform-provider-azurerm/azurerm/internal/common" | ||
"github.com/terraform-providers/terraform-provider-azurerm/azurerm/internal/services/dataprotection/legacysdk/dataprotection" | ||
) | ||
|
||
type Client struct { | ||
BackupVaultClient *dataprotection.BackupVaultsClient | ||
} | ||
|
||
func NewClient(o *common.ClientOptions) *Client { | ||
backupVaultClient := dataprotection.NewBackupVaultsClientWithBaseURI(o.ResourceManagerEndpoint, o.SubscriptionId) | ||
o.ConfigureClient(&backupVaultClient.Client, o.ResourceManagerAuthorizer) | ||
|
||
return &Client{ | ||
BackupVaultClient: &backupVaultClient, | ||
} | ||
} |
865 changes: 865 additions & 0 deletions
865
azurerm/internal/services/dataprotection/legacysdk/dataprotection/backupinstances.go
Large diffs are not rendered by default.
Oops, something went wrong.
Oops, something went wrong.