Skip to content

Commit

Permalink
Add basic compute cluster resource
Browse files Browse the repository at this point in the history
  • Loading branch information
gro1m committed May 12, 2021
1 parent 057c68e commit cbb8010
Show file tree
Hide file tree
Showing 10 changed files with 1,129 additions and 0 deletions.
5 changes: 5 additions & 0 deletions azurerm/internal/services/machinelearning/client/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,18 @@ import (

type Client struct {
WorkspacesClient *machinelearningservices.WorkspacesClient
MachineLearningComputeClient *machinelearningservices.MachineLearningComputeClient
}

func NewClient(o *common.ClientOptions) *Client {
WorkspacesClient := machinelearningservices.NewWorkspacesClientWithBaseURI(o.ResourceManagerEndpoint, o.SubscriptionId)
o.ConfigureClient(&WorkspacesClient.Client, o.ResourceManagerAuthorizer)

MachineLearningComputeClient := machinelearningservices.NewMachineLearningComputeClientWithBaseURI(o.ResourceManagerEndpoint, o.SubscriptionId)
o.ConfigureClient(&MachineLearningComputeClient.Client, o.ResourceManagerAuthorizer)

return &Client{
WorkspacesClient: &WorkspacesClient,
MachineLearningComputeClient: &MachineLearningComputeClient,
}
}
Loading

0 comments on commit cbb8010

Please sign in to comment.