-
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 & data source: azurerm_managed_application_definit… (#6211)
This PR is the implement of the issue #5294
- Loading branch information
Neil Ye
authored
Mar 28, 2020
1 parent
63e1613
commit ae23b1a
Showing
25 changed files
with
5,790 additions
and
66 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
19 changes: 19 additions & 0 deletions
19
azurerm/internal/services/managedapplications/client/client.go
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/Azure/azure-sdk-for-go/services/resources/mgmt/2019-07-01/managedapplications" | ||
"github.com/terraform-providers/terraform-provider-azurerm/azurerm/internal/common" | ||
) | ||
|
||
type Client struct { | ||
ApplicationDefinitionClient *managedapplications.ApplicationDefinitionsClient | ||
} | ||
|
||
func NewClient(o *common.ClientOptions) *Client { | ||
applicationDefinitionClient := managedapplications.NewApplicationDefinitionsClientWithBaseURI(o.ResourceManagerEndpoint, o.SubscriptionId) | ||
o.ConfigureClient(&applicationDefinitionClient.Client, o.ResourceManagerAuthorizer) | ||
|
||
return &Client{ | ||
ApplicationDefinitionClient: &applicationDefinitionClient, | ||
} | ||
} |
Oops, something went wrong.