Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add res provider azurerm_dev_test_lab_schedule
Browse files Browse the repository at this point in the history
maniSbindra committed May 30, 2019
1 parent d66f52a commit 251ff1a
Showing 5 changed files with 1,175 additions and 0 deletions.
5 changes: 5 additions & 0 deletions azurerm/config.go
Original file line number Diff line number Diff line change
@@ -171,6 +171,7 @@ type ArmClient struct {

// DevTestLabs
devTestLabsClient dtl.LabsClient
devTestLabSchedulesClient dtl.SchedulesClient
devTestPoliciesClient dtl.PoliciesClient
devTestVirtualMachinesClient dtl.VirtualMachinesClient
devTestVirtualNetworksClient dtl.VirtualNetworksClient
@@ -930,6 +931,10 @@ func (c *ArmClient) registerDevTestClients(endpoint, subscriptionId string, auth
devTestVirtualNetworksClient := dtl.NewVirtualNetworksClientWithBaseURI(endpoint, subscriptionId)
c.configureClient(&devTestVirtualNetworksClient.Client, auth)
c.devTestVirtualNetworksClient = devTestVirtualNetworksClient

devTestLabSchedulesClient := dtl.NewSchedulesClientWithBaseURI(endpoint, subscriptionId)
c.configureClient(&devTestLabSchedulesClient.Client, auth)
c.devTestLabSchedulesClient = devTestLabSchedulesClient
}

func (c *ArmClient) registerDevSpaceClients(endpoint, subscriptionId string, auth autorest.Authorizer) {
1 change: 1 addition & 0 deletions azurerm/provider.go
Original file line number Diff line number Diff line change
@@ -260,6 +260,7 @@ func Provider() terraform.ResourceProvider {
"azurerm_databricks_workspace": resourceArmDatabricksWorkspace(),
"azurerm_ddos_protection_plan": resourceArmDDoSProtectionPlan(),
"azurerm_dev_test_lab": resourceArmDevTestLab(),
"azurerm_dev_test_lab_schedule": resourceArmDevTestLabSchedules(),
"azurerm_dev_test_linux_virtual_machine": resourceArmDevTestLinuxVirtualMachine(),
"azurerm_dev_test_policy": resourceArmDevTestPolicy(),
"azurerm_dev_test_virtual_network": resourceArmDevTestVirtualNetwork(),
Loading

0 comments on commit 251ff1a

Please sign in to comment.