Skip to content

Commit

Permalink
add res provider azurerm_dev_test_lab_schedule
Browse files Browse the repository at this point in the history
  • Loading branch information
maniSbindra committed May 30, 2019
1 parent bc99f1a commit ec1a948
Show file tree
Hide file tree
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
Expand Up @@ -201,6 +201,7 @@ type ArmClient struct {

// DevTestLabs
devTestLabsClient dtl.LabsClient
devTestLabSchedulesClient dtl.SchedulesClient
devTestPoliciesClient dtl.PoliciesClient
devTestVirtualMachinesClient dtl.VirtualMachinesClient
devTestVirtualNetworksClient dtl.VirtualNetworksClient
Expand Down Expand Up @@ -970,6 +971,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) {
Expand Down
1 change: 1 addition & 0 deletions azurerm/provider.go
Original file line number Diff line number Diff line change
Expand Up @@ -258,6 +258,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(),
Expand Down
Loading

0 comments on commit ec1a948

Please sign in to comment.