Skip to content

Commit

Permalink
New data source for azurerm_compute_resource_skus
Browse files Browse the repository at this point in the history
  • Loading branch information
MattMencel committed Jul 5, 2019
1 parent 1917292 commit 4fe4b93
Show file tree
Hide file tree
Showing 6 changed files with 358 additions and 152 deletions.
16 changes: 0 additions & 16 deletions azurerm/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -175,11 +175,7 @@ type ArmClient struct {
galleriesClient compute.GalleriesClient
galleryImagesClient compute.GalleryImagesClient
galleryImageVersionsClient compute.GalleryImageVersionsClient
<<<<<<< HEAD
resourceSkusClient compute.ResourceSkusClient
=======
resourceSkusClient compute.ResourceSkusClient
>>>>>>> 5acb4dc0bc503b9c171c6ed56c510cea389c047e
snapshotsClient compute.SnapshotsClient
usageOpsClient compute.UsageClient
vmExtensionImageClient compute.VirtualMachineExtensionImagesClient
Expand Down Expand Up @@ -532,18 +528,6 @@ func (c *ArmClient) registerComputeClients(endpoint, subscriptionId string, auth
galleryImageVersionsClient := compute.NewGalleryImageVersionsClientWithBaseURI(endpoint, subscriptionId)
c.configureClient(&galleryImageVersionsClient.Client, auth)
c.galleryImageVersionsClient = galleryImageVersionsClient
<<<<<<< HEAD

resourceSkusClient := compute.NewResourceSkusClientWithBaseURI(endpoint, subscriptionId)
c.configureClient(&resourceSkusClient.Client, auth)
c.resourceSkusClient = resourceSkusClient
}

func (c *ArmClient) registerDatabricksClients(endpoint, subscriptionId string, auth autorest.Authorizer) {
workspacesClient := databricksSvc.NewWorkspacesClientWithBaseURI(endpoint, subscriptionId)
c.configureClient(&workspacesClient.Client, auth)
=======
>>>>>>> 5acb4dc0bc503b9c171c6ed56c510cea389c047e

resourceSkusClient := compute.NewResourceSkusClientWithBaseURI(endpoint, subscriptionId)
c.configureClient(&resourceSkusClient.Client, auth)
Expand Down
Loading

0 comments on commit 4fe4b93

Please sign in to comment.