{"action":"created","comment":{"url":"https://api.github.com/repos/terraform-providers/terraform-provider-azurerm/pulls/comments/203947945","pull_request_review_id":138940396,"id":203947945,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIwMzk0Nzk0NQ==","diff_hunk":"@@ -0,0 +1,887 @@\n+package azurerm\n+\n+import (\n+\t\"fmt\"\n+\t\"strconv\"\n+\t\"time\"\n+\n+\t\"github.com/Azure/azure-sdk-for-go/services/monitor/mgmt/2018-03-01/insights\"\n+\t\"github.com/Azure/go-autorest/autorest/date\"\n+\t\"github.com/hashicorp/terraform/helper/schema\"\n+\t\"github.com/hashicorp/terraform/helper/validation\"\n+\t\"github.com/terraform-providers/terraform-provider-azurerm/azurerm/helpers/azure\"\n+\t\"github.com/terraform-providers/terraform-provider-azurerm/azurerm/utils\"\n+)\n+\n+func resourceArmAutoScaleSetting() *schema.Resource {\n+\treturn &schema.Resource{\n+\t\tCreate: resourceArmAutoscaleSettingCreateOrUpdate,\n+\t\tRead:   resourceArmAutoscaleSettingRead,\n+\t\tUpdate: resourceArmAutoscaleSettingCreateOrUpdate,\n+\t\tDelete: resourceArmAutoscaleSettingDelete,\n+\t\tImporter: &schema.ResourceImporter{\n+\t\t\tState: schema.ImportStatePassthrough,\n+\t\t},\n+\n+\t\tSchema: map[string]*schema.Schema{\n+\t\t\t\"name\": {\n+\t\t\t\tType:         schema.TypeString,\n+\t\t\t\tRequired:     true,\n+\t\t\t\tForceNew:     true,\n+\t\t\t\tValidateFunc: validation.NoZeroValues,\n+\t\t\t},\n+\n+\t\t\t\"resource_group_name\": resourceGroupNameSchema(),\n+\n+\t\t\t\"location\": locationSchema(),\n+\n+\t\t\t\"target_resource_id\": {\n+\t\t\t\tType:         schema.TypeString,\n+\t\t\t\tRequired:     true,\n+\t\t\t\tForceNew:     true,\n+\t\t\t\tValidateFunc: azure.ValidateResourceID,\n+\t\t\t},\n+\n+\t\t\t\"profile\": {\n+\t\t\t\tType:     schema.TypeList,\n+\t\t\t\tRequired: true,\n+\t\t\t\t// https://docs.microsoft.com/en-us/rest/api/monitor/autoscalesettings/createorupdate#default\n+\t\t\t\tMaxItems: 20,\n+\t\t\t\tElem: &schema.Resource{\n+\t\t\t\t\tSchema: map[string]*schema.Schema{\n+\t\t\t\t\t\t\"name\": {\n+\t\t\t\t\t\t\tType:         schema.TypeString,\n+\t\t\t\t\t\t\tRequired:     true,\n+\t\t\t\t\t\t\tValidateFunc: validation.NoZeroValues,\n+\t\t\t\t\t\t},\n+\t\t\t\t\t\t\"capacity\": {\n+\t\t\t\t\t\t\tType:     schema.TypeList,\n+\t\t\t\t\t\t\tRequired: true,\n+\t\t\t\t\t\t\tMaxItems: 1,\n+\t\t\t\t\t\t\tElem: &schema.Resource{\n+\t\t\t\t\t\t\t\tSchema: map[string]*schema.Schema{\n+\t\t\t\t\t\t\t\t\t\"minimum\": {\n+\t\t\t\t\t\t\t\t\t\tType:         schema.TypeInt,\n+\t\t\t\t\t\t\t\t\t\tRequired:     true,\n+\t\t\t\t\t\t\t\t\t\tValidateFunc: validation.IntBetween(1, 40),\n+\t\t\t\t\t\t\t\t\t},\n+\t\t\t\t\t\t\t\t\t\"maximum\": {\n+\t\t\t\t\t\t\t\t\t\tType:         schema.TypeInt,\n+\t\t\t\t\t\t\t\t\t\tRequired:     true,\n+\t\t\t\t\t\t\t\t\t\tValidateFunc: validation.IntBetween(1, 40),\n+\t\t\t\t\t\t\t\t\t},\n+\t\t\t\t\t\t\t\t\t\"default\": {\n+\t\t\t\t\t\t\t\t\t\tType:         schema.TypeInt,\n+\t\t\t\t\t\t\t\t\t\tRequired:     true,\n+\t\t\t\t\t\t\t\t\t\tValidateFunc: validation.IntBetween(1, 40),\n+\t\t\t\t\t\t\t\t\t},\n+\t\t\t\t\t\t\t\t},\n+\t\t\t\t\t\t\t},\n+\t\t\t\t\t\t},\n+\t\t\t\t\t\t\"rule\": {\n+\t\t\t\t\t\t\tType:     schema.TypeList,\n+\t\t\t\t\t\t\tOptional: true,\n+\t\t\t\t\t\t\tMaxItems: 10, // https://docs.microsoft.com/en-us/rest/api/monitor/autoscalesettings/createorupdate#autoscaleprofile\n+\t\t\t\t\t\t\tElem: &schema.Resource{\n+\t\t\t\t\t\t\t\tSchema: map[string]*schema.Schema{\n+\t\t\t\t\t\t\t\t\t\"metric_trigger\": {\n+\t\t\t\t\t\t\t\t\t\tType:     schema.TypeList,\n+\t\t\t\t\t\t\t\t\t\tRequired: true,\n+\t\t\t\t\t\t\t\t\t\tMaxItems: 1,\n+\t\t\t\t\t\t\t\t\t\tElem: &schema.Resource{\n+\t\t\t\t\t\t\t\t\t\t\tSchema: map[string]*schema.Schema{\n+\t\t\t\t\t\t\t\t\t\t\t\t\"metric_name\": {\n+\t\t\t\t\t\t\t\t\t\t\t\t\tType:         schema.TypeString,\n+\t\t\t\t\t\t\t\t\t\t\t\t\tRequired:     true,\n+\t\t\t\t\t\t\t\t\t\t\t\t\tValidateFunc: validation.NoZeroValues,\n+\t\t\t\t\t\t\t\t\t\t\t\t},\n+\t\t\t\t\t\t\t\t\t\t\t\t\"metric_resource_id\": {\n+\t\t\t\t\t\t\t\t\t\t\t\t\tType:         schema.TypeString,\n+\t\t\t\t\t\t\t\t\t\t\t\t\tRequired:     true,\n+\t\t\t\t\t\t\t\t\t\t\t\t\tValidateFunc: azure.ValidateResourceID,\n+\t\t\t\t\t\t\t\t\t\t\t\t},\n+\t\t\t\t\t\t\t\t\t\t\t\t\"time_grain\": {\n+\t\t\t\t\t\t\t\t\t\t\t\t\tType:         schema.TypeString,\n+\t\t\t\t\t\t\t\t\t\t\t\t\tRequired:     true,\n+\t\t\t\t\t\t\t\t\t\t\t\t\tValidateFunc: validateIso8601Duration(),\n+\t\t\t\t\t\t\t\t\t\t\t\t},\n+\t\t\t\t\t\t\t\t\t\t\t\t\"statistic\": {\n+\t\t\t\t\t\t\t\t\t\t\t\t\tType:     schema.TypeString,\n+\t\t\t\t\t\t\t\t\t\t\t\t\tRequired: true,\n+\t\t\t\t\t\t\t\t\t\t\t\t\tValidateFunc: validation.StringInSlice([]string{\n+\t\t\t\t\t\t\t\t\t\t\t\t\t\tstring(insights.MetricStatisticTypeAverage),\n+\t\t\t\t\t\t\t\t\t\t\t\t\t\tstring(insights.MetricStatisticTypeMax),\n+\t\t\t\t\t\t\t\t\t\t\t\t\t\tstring(insights.MetricStatisticTypeMin),\n+\t\t\t\t\t\t\t\t\t\t\t\t\t\tstring(insights.MetricStatisticTypeSum),\n+\t\t\t\t\t\t\t\t\t\t\t\t\t}, true),\n+\t\t\t\t\t\t\t\t\t\t\t\t\tDiffSuppressFunc: ignoreCaseDiffSuppressFunc,\n+\t\t\t\t\t\t\t\t\t\t\t\t},\n+\t\t\t\t\t\t\t\t\t\t\t\t\"time_window\": {\n+\t\t\t\t\t\t\t\t\t\t\t\t\tType:         schema.TypeString,\n+\t\t\t\t\t\t\t\t\t\t\t\t\tRequired:     true,\n+\t\t\t\t\t\t\t\t\t\t\t\t\tValidateFunc: validateIso8601Duration(),\n+\t\t\t\t\t\t\t\t\t\t\t\t},\n+\t\t\t\t\t\t\t\t\t\t\t\t\"time_aggregation\": {\n+\t\t\t\t\t\t\t\t\t\t\t\t\tType:     schema.TypeString,\n+\t\t\t\t\t\t\t\t\t\t\t\t\tRequired: true,\n+\t\t\t\t\t\t\t\t\t\t\t\t\tValidateFunc: validation.StringInSlice([]string{\n+\t\t\t\t\t\t\t\t\t\t\t\t\t\tstring(insights.TimeAggregationTypeAverage),\n+\t\t\t\t\t\t\t\t\t\t\t\t\t\tstring(insights.TimeAggregationTypeCount),\n+\t\t\t\t\t\t\t\t\t\t\t\t\t\tstring(insights.TimeAggregationTypeMaximum),\n+\t\t\t\t\t\t\t\t\t\t\t\t\t\tstring(insights.TimeAggregationTypeMinimum),\n+\t\t\t\t\t\t\t\t\t\t\t\t\t\tstring(insights.TimeAggregationTypeTotal),\n+\t\t\t\t\t\t\t\t\t\t\t\t\t}, true),\n+\t\t\t\t\t\t\t\t\t\t\t\t\tDiffSuppressFunc: ignoreCaseDiffSuppressFunc,\n+\t\t\t\t\t\t\t\t\t\t\t\t},\n+\t\t\t\t\t\t\t\t\t\t\t\t\"operator\": {\n+\t\t\t\t\t\t\t\t\t\t\t\t\tType:     schema.TypeString,\n+\t\t\t\t\t\t\t\t\t\t\t\t\tRequired: true,\n+\t\t\t\t\t\t\t\t\t\t\t\t\tValidateFunc: validation.StringInSlice([]string{\n+\t\t\t\t\t\t\t\t\t\t\t\t\t\tstring(insights.Equals),\n+\t\t\t\t\t\t\t\t\t\t\t\t\t\tstring(insights.GreaterThan),\n+\t\t\t\t\t\t\t\t\t\t\t\t\t\tstring(insights.GreaterThanOrEqual),\n+\t\t\t\t\t\t\t\t\t\t\t\t\t\tstring(insights.LessThan),\n+\t\t\t\t\t\t\t\t\t\t\t\t\t\tstring(insights.LessThanOrEqual),\n+\t\t\t\t\t\t\t\t\t\t\t\t\t\tstring(insights.NotEquals),\n+\t\t\t\t\t\t\t\t\t\t\t\t\t}, true),\n+\t\t\t\t\t\t\t\t\t\t\t\t\tDiffSuppressFunc: ignoreCaseDiffSuppressFunc,\n+\t\t\t\t\t\t\t\t\t\t\t\t},\n+\t\t\t\t\t\t\t\t\t\t\t\t\"threshold\": {\n+\t\t\t\t\t\t\t\t\t\t\t\t\tType:     schema.TypeFloat,\n+\t\t\t\t\t\t\t\t\t\t\t\t\tRequired: true,\n+\t\t\t\t\t\t\t\t\t\t\t\t},\n+\t\t\t\t\t\t\t\t\t\t\t},\n+\t\t\t\t\t\t\t\t\t\t},\n+\t\t\t\t\t\t\t\t\t},\n+\t\t\t\t\t\t\t\t\t\"scale_action\": {\n+\t\t\t\t\t\t\t\t\t\tType:     schema.TypeList,\n+\t\t\t\t\t\t\t\t\t\tRequired: true,\n+\t\t\t\t\t\t\t\t\t\tMaxItems: 1,\n+\t\t\t\t\t\t\t\t\t\tElem: &schema.Resource{\n+\t\t\t\t\t\t\t\t\t\t\tSchema: map[string]*schema.Schema{\n+\t\t\t\t\t\t\t\t\t\t\t\t\"direction\": {\n+\t\t\t\t\t\t\t\t\t\t\t\t\tType:     schema.TypeString,\n+\t\t\t\t\t\t\t\t\t\t\t\t\tRequired: true,\n+\t\t\t\t\t\t\t\t\t\t\t\t\tValidateFunc: validation.StringInSlice([]string{\n+\t\t\t\t\t\t\t\t\t\t\t\t\t\tstring(insights.ScaleDirectionDecrease),\n+\t\t\t\t\t\t\t\t\t\t\t\t\t\tstring(insights.ScaleDirectionIncrease),\n+\t\t\t\t\t\t\t\t\t\t\t\t\t}, true),\n+\t\t\t\t\t\t\t\t\t\t\t\t\tDiffSuppressFunc: ignoreCaseDiffSuppressFunc,\n+\t\t\t\t\t\t\t\t\t\t\t\t},\n+\t\t\t\t\t\t\t\t\t\t\t\t\"type\": {\n+\t\t\t\t\t\t\t\t\t\t\t\t\tType:     schema.TypeString,\n+\t\t\t\t\t\t\t\t\t\t\t\t\tRequired: true,\n+\t\t\t\t\t\t\t\t\t\t\t\t\tValidateFunc: validation.StringInSlice([]string{\n+\t\t\t\t\t\t\t\t\t\t\t\t\t\tstring(insights.ChangeCount),\n+\t\t\t\t\t\t\t\t\t\t\t\t\t\tstring(insights.ExactCount),\n+\t\t\t\t\t\t\t\t\t\t\t\t\t\tstring(insights.PercentChangeCount),\n+\t\t\t\t\t\t\t\t\t\t\t\t\t}, true),\n+\t\t\t\t\t\t\t\t\t\t\t\t\tDiffSuppressFunc: ignoreCaseDiffSuppressFunc,\n+\t\t\t\t\t\t\t\t\t\t\t\t},\n+\t\t\t\t\t\t\t\t\t\t\t\t\"value\": {\n+\t\t\t\t\t\t\t\t\t\t\t\t\tType:         schema.TypeInt,\n+\t\t\t\t\t\t\t\t\t\t\t\t\tRequired:     true,\n+\t\t\t\t\t\t\t\t\t\t\t\t\tValidateFunc: validation.IntAtLeast(0),\n+\t\t\t\t\t\t\t\t\t\t\t\t},\n+\t\t\t\t\t\t\t\t\t\t\t\t\"cooldown\": {\n+\t\t\t\t\t\t\t\t\t\t\t\t\tType:         schema.TypeString,\n+\t\t\t\t\t\t\t\t\t\t\t\t\tRequired:     true,\n+\t\t\t\t\t\t\t\t\t\t\t\t\tValidateFunc: validateIso8601Duration(),\n+\t\t\t\t\t\t\t\t\t\t\t\t},\n+\t\t\t\t\t\t\t\t\t\t\t},\n+\t\t\t\t\t\t\t\t\t\t},\n+\t\t\t\t\t\t\t\t\t},\n+\t\t\t\t\t\t\t\t},\n+\t\t\t\t\t\t\t},\n+\t\t\t\t\t\t},\n+\t\t\t\t\t\t\"fixed_date\": {\n+\t\t\t\t\t\t\tType:     schema.TypeList,\n+\t\t\t\t\t\t\tOptional: true,\n+\t\t\t\t\t\t\tMaxItems: 1,\n+\t\t\t\t\t\t\tElem: &schema.Resource{\n+\t\t\t\t\t\t\t\tSchema: map[string]*schema.Schema{\n+\t\t\t\t\t\t\t\t\t\"time_zone\": {\n+\t\t\t\t\t\t\t\t\t\tType:         schema.TypeString,\n+\t\t\t\t\t\t\t\t\t\tRequired:     true,\n+\t\t\t\t\t\t\t\t\t\tValidateFunc: validateAutoScaleSettingsTimeZone(),\n+\t\t\t\t\t\t\t\t\t},\n+\t\t\t\t\t\t\t\t\t\"start\": {\n+\t\t\t\t\t\t\t\t\t\tType:         schema.TypeString,\n+\t\t\t\t\t\t\t\t\t\tRequired:     true,\n+\t\t\t\t\t\t\t\t\t\tValidateFunc: validateRFC3339Date,\n+\t\t\t\t\t\t\t\t\t},\n+\t\t\t\t\t\t\t\t\t\"end\": {\n+\t\t\t\t\t\t\t\t\t\tType:         schema.TypeString,\n+\t\t\t\t\t\t\t\t\t\tRequired:     true,\n+\t\t\t\t\t\t\t\t\t\tValidateFunc: validateRFC3339Date,\n+\t\t\t\t\t\t\t\t\t},\n+\t\t\t\t\t\t\t\t},\n+\t\t\t\t\t\t\t},\n+\t\t\t\t\t\t},\n+\t\t\t\t\t\t\"recurrence\": {\n+\t\t\t\t\t\t\tType:     schema.TypeList,\n+\t\t\t\t\t\t\tOptional: true,\n+\t\t\t\t\t\t\tMaxItems: 1,\n+\t\t\t\t\t\t\tElem: &schema.Resource{\n+\t\t\t\t\t\t\t\tSchema: map[string]*schema.Schema{\n+\t\t\t\t\t\t\t\t\t\"time_zone\": {\n+\t\t\t\t\t\t\t\t\t\tType:         schema.TypeString,\n+\t\t\t\t\t\t\t\t\t\tRequired:     true,\n+\t\t\t\t\t\t\t\t\t\tValidateFunc: validateAutoScaleSettingsTimeZone(),\n+\t\t\t\t\t\t\t\t\t},\n+\t\t\t\t\t\t\t\t\t\"days\": {\n+\t\t\t\t\t\t\t\t\t\tType:     schema.TypeList,\n+\t\t\t\t\t\t\t\t\t\tRequired: true,\n+\t\t\t\t\t\t\t\t\t\tElem: &schema.Schema{\n+\t\t\t\t\t\t\t\t\t\t\tType: schema.TypeString,\n+\t\t\t\t\t\t\t\t\t\t\tValidateFunc: validation.StringInSlice([]string{\n+\t\t\t\t\t\t\t\t\t\t\t\t\"Monday\",\n+\t\t\t\t\t\t\t\t\t\t\t\t\"Tuesday\",\n+\t\t\t\t\t\t\t\t\t\t\t\t\"Wednesday\",\n+\t\t\t\t\t\t\t\t\t\t\t\t\"Thursday\",\n+\t\t\t\t\t\t\t\t\t\t\t\t\"Friday\",\n+\t\t\t\t\t\t\t\t\t\t\t\t\"Saturday\",\n+\t\t\t\t\t\t\t\t\t\t\t\t\"Sunday\",\n+\t\t\t\t\t\t\t\t\t\t\t}, true),\n+\t\t\t\t\t\t\t\t\t\t\tDiffSuppressFunc: ignoreCaseDiffSuppressFunc,\n+\t\t\t\t\t\t\t\t\t\t},\n+\t\t\t\t\t\t\t\t\t},\n+\t\t\t\t\t\t\t\t\t\"hours\": {\n+\t\t\t\t\t\t\t\t\t\tType:     schema.TypeList,\n+\t\t\t\t\t\t\t\t\t\tRequired: true,\n+\t\t\t\t\t\t\t\t\t\tMinItems: 1,\n+\t\t\t\t\t\t\t\t\t\tElem: &schema.Schema{\n+\t\t\t\t\t\t\t\t\t\t\tType:         schema.TypeInt,\n+\t\t\t\t\t\t\t\t\t\t\tValidateFunc: validation.IntBetween(0, 23),\n+\t\t\t\t\t\t\t\t\t\t},\n+\t\t\t\t\t\t\t\t\t},\n+\t\t\t\t\t\t\t\t\t\"minutes\": {\n+\t\t\t\t\t\t\t\t\t\tType:     schema.TypeList,","path":"azurerm/resource_arm_autoscale_setting.go","position":259,"original_position":259,"commit_id":"d04169f3cdccf720b8f8c8c2d54f87c0fdba9e0f","original_commit_id":"d04169f3cdccf720b8f8c8c2d54f87c0fdba9e0f","user":{"login":"tombuildsstuff","id":666005,"node_id":"MDQ6VXNlcjY2NjAwNQ==","avatar_url":"https://avatars1.githubusercontent.com/u/666005?v=4","gravatar_id":"","url":"https://api.github.com/users/tombuildsstuff","html_url":"https://github.com/tombuildsstuff","followers_url":"https://api.github.com/users/tombuildsstuff/followers","following_url":"https://api.github.com/users/tombuildsstuff/following{/other_user}","gists_url":"https://api.github.com/users/tombuildsstuff/gists{/gist_id}","starred_url":"https://api.github.com/users/tombuildsstuff/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tombuildsstuff/subscriptions","organizations_url":"https://api.github.com/users/tombuildsstuff/orgs","repos_url":"https://api.github.com/users/tombuildsstuff/repos","events_url":"https://api.github.com/users/tombuildsstuff/events{/privacy}","received_events_url":"https://api.github.com/users/tombuildsstuff/received_events","type":"User","site_admin":false},"body":"(as above)","created_at":"2018-07-20T06:24:32Z","updated_at":"2018-07-20T06:24:33Z","html_url":"https://github.com/terraform-providers/terraform-provider-azurerm/pull/1140#discussion_r203947945","pull_request_url":"https://api.github.com/repos/terraform-providers/terraform-provider-azurerm/pulls/1140","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/terraform-providers/terraform-provider-azurerm/pulls/comments/203947945"},"html":{"href":"https://github.com/terraform-providers/terraform-provider-azurerm/pull/1140#discussion_r203947945"},"pull_request":{"href":"https://api.github.com/repos/terraform-providers/terraform-provider-azurerm/pulls/1140"}},"in_reply_to_id":203904178},"pull_request":{"url":"https://api.github.com/repos/terraform-providers/terraform-provider-azurerm/pulls/1140","id":182764908,"node_id":"MDExOlB1bGxSZXF1ZXN0MTgyNzY0OTA4","html_url":"https://github.com/terraform-providers/terraform-provider-azurerm/pull/1140","diff_url":"https://github.com/terraform-providers/terraform-provider-azurerm/pull/1140.diff","patch_url":"https://github.com/terraform-providers/terraform-provider-azurerm/pull/1140.patch","issue_url":"https://api.github.com/repos/terraform-providers/terraform-provider-azurerm/issues/1140","number":1140,"state":"open","locked":false,"title":"New Resource: Autoscale Settings","user":{"login":"YuriyKischenko","id":8523185,"node_id":"MDQ6VXNlcjg1MjMxODU=","avatar_url":"https://avatars2.githubusercontent.com/u/8523185?v=4","gravatar_id":"","url":"https://api.github.com/users/YuriyKischenko","html_url":"https://github.com/YuriyKischenko","followers_url":"https://api.github.com/users/YuriyKischenko/followers","following_url":"https://api.github.com/users/YuriyKischenko/following{/other_user}","gists_url":"https://api.github.com/users/YuriyKischenko/gists{/gist_id}","starred_url":"https://api.github.com/users/YuriyKischenko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/YuriyKischenko/subscriptions","organizations_url":"https://api.github.com/users/YuriyKischenko/orgs","repos_url":"https://api.github.com/users/YuriyKischenko/repos","events_url":"https://api.github.com/users/YuriyKischenko/events{/privacy}","received_events_url":"https://api.github.com/users/YuriyKischenko/received_events","type":"User","site_admin":false},"body":"Updated existing closed PR #135 by @whiskeyjay to build with latest terraform azurerm provider code\r\n\r\n(Fixes #50)","created_at":"2018-04-19T12:48:11Z","updated_at":"2018-07-20T06:24:33Z","closed_at":null,"merged_at":null,"merge_commit_sha":"7a0bd3ad75d6869cc5317b982d7190086b93ae70","assignee":{"login":"tombuildsstuff","id":666005,"node_id":"MDQ6VXNlcjY2NjAwNQ==","avatar_url":"https://avatars1.githubusercontent.com/u/666005?v=4","gravatar_id":"","url":"https://api.github.com/users/tombuildsstuff","html_url":"https://github.com/tombuildsstuff","followers_url":"https://api.github.com/users/tombuildsstuff/followers","following_url":"https://api.github.com/users/tombuildsstuff/following{/other_user}","gists_url":"https://api.github.com/users/tombuildsstuff/gists{/gist_id}","starred_url":"https://api.github.com/users/tombuildsstuff/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tombuildsstuff/subscriptions","organizations_url":"https://api.github.com/users/tombuildsstuff/orgs","repos_url":"https://api.github.com/users/tombuildsstuff/repos","events_url":"https://api.github.com/users/tombuildsstuff/events{/privacy}","received_events_url":"https://api.github.com/users/tombuildsstuff/received_events","type":"User","site_admin":false},"assignees":[{"login":"tombuildsstuff","id":666005,"node_id":"MDQ6VXNlcjY2NjAwNQ==","avatar_url":"https://avatars1.githubusercontent.com/u/666005?v=4","gravatar_id":"","url":"https://api.github.com/users/tombuildsstuff","html_url":"https://github.com/tombuildsstuff","followers_url":"https://api.github.com/users/tombuildsstuff/followers","following_url":"https://api.github.com/users/tombuildsstuff/following{/other_user}","gists_url":"https://api.github.com/users/tombuildsstuff/gists{/gist_id}","starred_url":"https://api.github.com/users/tombuildsstuff/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tombuildsstuff/subscriptions","organizations_url":"https://api.github.com/users/tombuildsstuff/orgs","repos_url":"https://api.github.com/users/tombuildsstuff/repos","events_url":"https://api.github.com/users/tombuildsstuff/events{/privacy}","received_events_url":"https://api.github.com/users/tombuildsstuff/received_events","type":"User","site_admin":false}],"requested_reviewers":[{"login":"tombuildsstuff","id":666005,"node_id":"MDQ6VXNlcjY2NjAwNQ==","avatar_url":"https://avatars1.githubusercontent.com/u/666005?v=4","gravatar_id":"","url":"https://api.github.com/users/tombuildsstuff","html_url":"https://github.com/tombuildsstuff","followers_url":"https://api.github.com/users/tombuildsstuff/followers","following_url":"https://api.github.com/users/tombuildsstuff/following{/other_user}","gists_url":"https://api.github.com/users/tombuildsstuff/gists{/gist_id}","starred_url":"https://api.github.com/users/tombuildsstuff/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tombuildsstuff/subscriptions","organizations_url":"https://api.github.com/users/tombuildsstuff/orgs","repos_url":"https://api.github.com/users/tombuildsstuff/repos","events_url":"https://api.github.com/users/tombuildsstuff/events{/privacy}","received_events_url":"https://api.github.com/users/tombuildsstuff/received_events","type":"User","site_admin":false},{"login":"metacpp","id":1684739,"node_id":"MDQ6VXNlcjE2ODQ3Mzk=","avatar_url":"https://avatars3.githubusercontent.com/u/1684739?v=4","gravatar_id":"","url":"https://api.github.com/users/metacpp","html_url":"https://github.com/metacpp","followers_url":"https://api.github.com/users/metacpp/followers","following_url":"https://api.github.com/users/metacpp/following{/other_user}","gists_url":"https://api.github.com/users/metacpp/gists{/gist_id}","starred_url":"https://api.github.com/users/metacpp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/metacpp/subscriptions","organizations_url":"https://api.github.com/users/metacpp/orgs","repos_url":"https://api.github.com/users/metacpp/repos","events_url":"https://api.github.com/users/metacpp/events{/privacy}","received_events_url":"https://api.github.com/users/metacpp/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[{"id":625925838,"node_id":"MDU6TGFiZWw2MjU5MjU4Mzg=","url":"https://api.github.com/repos/terraform-providers/terraform-provider-azurerm/labels/new-resource","name":"new-resource","color":"07adaf","default":false},{"id":814881484,"node_id":"MDU6TGFiZWw4MTQ4ODE0ODQ=","url":"https://api.github.com/repos/terraform-providers/terraform-provider-azurerm/labels/service/monitor","name":"service/monitor","color":"00CC00","default":false}],"milestone":{"url":"https://api.github.com/repos/terraform-providers/terraform-provider-azurerm/milestones/20","html_url":"https://github.com/terraform-providers/terraform-provider-azurerm/milestone/20","labels_url":"https://api.github.com/repos/terraform-providers/terraform-provider-azurerm/milestones/20/labels","id":3472586,"node_id":"MDk6TWlsZXN0b25lMzQ3MjU4Ng==","number":20,"title":"1.10.0","description":"","creator":{"login":"tombuildsstuff","id":666005,"node_id":"MDQ6VXNlcjY2NjAwNQ==","avatar_url":"https://avatars1.githubusercontent.com/u/666005?v=4","gravatar_id":"","url":"https://api.github.com/users/tombuildsstuff","html_url":"https://github.com/tombuildsstuff","followers_url":"https://api.github.com/users/tombuildsstuff/followers","following_url":"https://api.github.com/users/tombuildsstuff/following{/other_user}","gists_url":"https://api.github.com/users/tombuildsstuff/gists{/gist_id}","starred_url":"https://api.github.com/users/tombuildsstuff/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tombuildsstuff/subscriptions","organizations_url":"https://api.github.com/users/tombuildsstuff/orgs","repos_url":"https://api.github.com/users/tombuildsstuff/repos","events_url":"https://api.github.com/users/tombuildsstuff/events{/privacy}","received_events_url":"https://api.github.com/users/tombuildsstuff/received_events","type":"User","site_admin":false},"open_issues":3,"closed_issues":26,"state":"open","created_at":"2018-07-04T09:28:14Z","updated_at":"2018-07-19T18:17:22Z","due_on":"2018-07-20T07:00:00Z","closed_at":null},"commits_url":"https://api.github.com/repos/terraform-providers/terraform-provider-azurerm/pulls/1140/commits","review_comments_url":"https://api.github.com/repos/terraform-providers/terraform-provider-azurerm/pulls/1140/comments","review_comment_url":"https://api.github.com/repos/terraform-providers/terraform-provider-azurerm/pulls/comments{/number}","comments_url":"https://api.github.com/repos/terraform-providers/terraform-provider-azurerm/issues/1140/comments","statuses_url":"https://api.github.com/repos/terraform-providers/terraform-provider-azurerm/statuses/d04169f3cdccf720b8f8c8c2d54f87c0fdba9e0f","head":{"label":"YuriyKischenko:autoscale","ref":"autoscale","sha":"d04169f3cdccf720b8f8c8c2d54f87c0fdba9e0f","user":{"login":"YuriyKischenko","id":8523185,"node_id":"MDQ6VXNlcjg1MjMxODU=","avatar_url":"https://avatars2.githubusercontent.com/u/8523185?v=4","gravatar_id":"","url":"https://api.github.com/users/YuriyKischenko","html_url":"https://github.com/YuriyKischenko","followers_url":"https://api.github.com/users/YuriyKischenko/followers","following_url":"https://api.github.com/users/YuriyKischenko/following{/other_user}","gists_url":"https://api.github.com/users/YuriyKischenko/gists{/gist_id}","starred_url":"https://api.github.com/users/YuriyKischenko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/YuriyKischenko/subscriptions","organizations_url":"https://api.github.com/users/YuriyKischenko/orgs","repos_url":"https://api.github.com/users/YuriyKischenko/repos","events_url":"https://api.github.com/users/YuriyKischenko/events{/privacy}","received_events_url":"https://api.github.com/users/YuriyKischenko/received_events","type":"User","site_admin":false},"repo":{"id":130205630,"node_id":"MDEwOlJlcG9zaXRvcnkxMzAyMDU2MzA=","name":"terraform-provider-azurerm","full_name":"YuriyKischenko/terraform-provider-azurerm","owner":{"login":"YuriyKischenko","id":8523185,"node_id":"MDQ6VXNlcjg1MjMxODU=","avatar_url":"https://avatars2.githubusercontent.com/u/8523185?v=4","gravatar_id":"","url":"https://api.github.com/users/YuriyKischenko","html_url":"https://github.com/YuriyKischenko","followers_url":"https://api.github.com/users/YuriyKischenko/followers","following_url":"https://api.github.com/users/YuriyKischenko/following{/other_user}","gists_url":"https://api.github.com/users/YuriyKischenko/gists{/gist_id}","starred_url":"https://api.github.com/users/YuriyKischenko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/YuriyKischenko/subscriptions","organizations_url":"https://api.github.com/users/YuriyKischenko/orgs","repos_url":"https://api.github.com/users/YuriyKischenko/repos","events_url":"https://api.github.com/users/YuriyKischenko/events{/privacy}","received_events_url":"https://api.github.com/users/YuriyKischenko/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/YuriyKischenko/terraform-provider-azurerm","description":"Terraform Azure Resource Manager provider","fork":true,"url":"https://api.github.com/repos/YuriyKischenko/terraform-provider-azurerm","forks_url":"https://api.github.com/repos/YuriyKischenko/terraform-provider-azurerm/forks","keys_url":"https://api.github.com/repos/YuriyKischenko/terraform-provider-azurerm/keys{/key_id}","collaborators_url":"https://api.github.com/repos/YuriyKischenko/terraform-provider-azurerm/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/YuriyKischenko/terraform-provider-azurerm/teams","hooks_url":"https://api.github.com/repos/YuriyKischenko/terraform-provider-azurerm/hooks","issue_events_url":"https://api.github.com/repos/YuriyKischenko/terraform-provider-azurerm/issues/events{/number}","events_url":"https://api.github.com/repos/YuriyKischenko/terraform-provider-azurerm/events","assignees_url":"https://api.github.com/repos/YuriyKischenko/terraform-provider-azurerm/assignees{/user}","branches_url":"https://api.github.com/repos/YuriyKischenko/terraform-provider-azurerm/branches{/branch}","tags_url":"https://api.github.com/repos/YuriyKischenko/terraform-provider-azurerm/tags","blobs_url":"https://api.github.com/repos/YuriyKischenko/terraform-provider-azurerm/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/YuriyKischenko/terraform-provider-azurerm/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/YuriyKischenko/terraform-provider-azurerm/git/refs{/sha}","trees_url":"https://api.github.com/repos/YuriyKischenko/terraform-provider-azurerm/git/trees{/sha}","statuses_url":"https://api.github.com/repos/YuriyKischenko/terraform-provider-azurerm/statuses/{sha}","languages_url":"https://api.github.com/repos/YuriyKischenko/terraform-provider-azurerm/languages","stargazers_url":"https://api.github.com/repos/YuriyKischenko/terraform-provider-azurerm/stargazers","contributors_url":"https://api.github.com/repos/YuriyKischenko/terraform-provider-azurerm/contributors","subscribers_url":"https://api.github.com/repos/YuriyKischenko/terraform-provider-azurerm/subscribers","subscription_url":"https://api.github.com/repos/YuriyKischenko/terraform-provider-azurerm/subscription","commits_url":"https://api.github.com/repos/YuriyKischenko/terraform-provider-azurerm/commits{/sha}","git_commits_url":"https://api.github.com/repos/YuriyKischenko/terraform-provider-azurerm/git/commits{/sha}","comments_url":"https://api.github.com/repos/YuriyKischenko/terraform-provider-azurerm/comments{/number}","issue_comment_url":"https://api.github.com/repos/YuriyKischenko/terraform-provider-azurerm/issues/comments{/number}","contents_url":"https://api.github.com/repos/YuriyKischenko/terraform-provider-azurerm/contents/{+path}","compare_url":"https://api.github.com/repos/YuriyKischenko/terraform-provider-azurerm/compare/{base}...{head}","merges_url":"https://api.github.com/repos/YuriyKischenko/terraform-provider-azurerm/merges","archive_url":"https://api.github.com/repos/YuriyKischenko/terraform-provider-azurerm/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/YuriyKischenko/terraform-provider-azurerm/downloads","issues_url":"https://api.github.com/repos/YuriyKischenko/terraform-provider-azurerm/issues{/number}","pulls_url":"https://api.github.com/repos/YuriyKischenko/terraform-provider-azurerm/pulls{/number}","milestones_url":"https://api.github.com/repos/YuriyKischenko/terraform-provider-azurerm/milestones{/number}","notifications_url":"https://api.github.com/repos/YuriyKischenko/terraform-provider-azurerm/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/YuriyKischenko/terraform-provider-azurerm/labels{/name}","releases_url":"https://api.github.com/repos/YuriyKischenko/terraform-provider-azurerm/releases{/id}","deployments_url":"https://api.github.com/repos/YuriyKischenko/terraform-provider-azurerm/deployments","created_at":"2018-04-19T11:28:39Z","updated_at":"2018-04-19T11:28:42Z","pushed_at":"2018-07-19T14:19:14Z","git_url":"git://github.com/YuriyKischenko/terraform-provider-azurerm.git","ssh_url":"git@github.com:YuriyKischenko/terraform-provider-azurerm.git","clone_url":"https://github.com/YuriyKischenko/terraform-provider-azurerm.git","svn_url":"https://github.com/YuriyKischenko/terraform-provider-azurerm","homepage":"https://www.terraform.io/docs/providers/azurerm/","size":17961,"stargazers_count":0,"watchers_count":0,"language":"Go","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"mpl-2.0","name":"Mozilla Public License 2.0","spdx_id":"MPL-2.0","url":"https://api.github.com/licenses/mpl-2.0","node_id":"MDc6TGljZW5zZTE0"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"terraform-providers:master","ref":"master","sha":"1b1f18aac005984162e28bb166aeaef8f6048756","user":{"login":"terraform-providers","id":29154831,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI5MTU0ODMx","avatar_url":"https://avatars0.githubusercontent.com/u/29154831?v=4","gravatar_id":"","url":"https://api.github.com/users/terraform-providers","html_url":"https://github.com/terraform-providers","followers_url":"https://api.github.com/users/terraform-providers/followers","following_url":"https://api.github.com/users/terraform-providers/following{/other_user}","gists_url":"https://api.github.com/users/terraform-providers/gists{/gist_id}","starred_url":"https://api.github.com/users/terraform-providers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/terraform-providers/subscriptions","organizations_url":"https://api.github.com/users/terraform-providers/orgs","repos_url":"https://api.github.com/users/terraform-providers/repos","events_url":"https://api.github.com/users/terraform-providers/events{/privacy}","received_events_url":"https://api.github.com/users/terraform-providers/received_events","type":"Organization","site_admin":false},"repo":{"id":93446042,"node_id":"MDEwOlJlcG9zaXRvcnk5MzQ0NjA0Mg==","name":"terraform-provider-azurerm","full_name":"terraform-providers/terraform-provider-azurerm","owner":{"login":"terraform-providers","id":29154831,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI5MTU0ODMx","avatar_url":"https://avatars0.githubusercontent.com/u/29154831?v=4","gravatar_id":"","url":"https://api.github.com/users/terraform-providers","html_url":"https://github.com/terraform-providers","followers_url":"https://api.github.com/users/terraform-providers/followers","following_url":"https://api.github.com/users/terraform-providers/following{/other_user}","gists_url":"https://api.github.com/users/terraform-providers/gists{/gist_id}","starred_url":"https://api.github.com/users/terraform-providers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/terraform-providers/subscriptions","organizations_url":"https://api.github.com/users/terraform-providers/orgs","repos_url":"https://api.github.com/users/terraform-providers/repos","events_url":"https://api.github.com/users/terraform-providers/events{/privacy}","received_events_url":"https://api.github.com/users/terraform-providers/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/terraform-providers/terraform-provider-azurerm","description":"Terraform Azure Resource Manager provider","fork":false,"url":"https://api.github.com/repos/terraform-providers/terraform-provider-azurerm","forks_url":"https://api.github.com/repos/terraform-providers/terraform-provider-azurerm/forks","keys_url":"https://api.github.com/repos/terraform-providers/terraform-provider-azurerm/keys{/key_id}","collaborators_url":"https://api.github.com/repos/terraform-providers/terraform-provider-azurerm/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/terraform-providers/terraform-provider-azurerm/teams","hooks_url":"https://api.github.com/repos/terraform-providers/terraform-provider-azurerm/hooks","issue_events_url":"https://api.github.com/repos/terraform-providers/terraform-provider-azurerm/issues/events{/number}","events_url":"https://api.github.com/repos/terraform-providers/terraform-provider-azurerm/events","assignees_url":"https://api.github.com/repos/terraform-providers/terraform-provider-azurerm/assignees{/user}","branches_url":"https://api.github.com/repos/terraform-providers/terraform-provider-azurerm/branches{/branch}","tags_url":"https://api.github.com/repos/terraform-providers/terraform-provider-azurerm/tags","blobs_url":"https://api.github.com/repos/terraform-providers/terraform-provider-azurerm/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/terraform-providers/terraform-provider-azurerm/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/terraform-providers/terraform-provider-azurerm/git/refs{/sha}","trees_url":"https://api.github.com/repos/terraform-providers/terraform-provider-azurerm/git/trees{/sha}","statuses_url":"https://api.github.com/repos/terraform-providers/terraform-provider-azurerm/statuses/{sha}","languages_url":"https://api.github.com/repos/terraform-providers/terraform-provider-azurerm/languages","stargazers_url":"https://api.github.com/repos/terraform-providers/terraform-provider-azurerm/stargazers","contributors_url":"https://api.github.com/repos/terraform-providers/terraform-provider-azurerm/contributors","subscribers_url":"https://api.github.com/repos/terraform-providers/terraform-provider-azurerm/subscribers","subscription_url":"https://api.github.com/repos/terraform-providers/terraform-provider-azurerm/subscription","commits_url":"https://api.github.com/repos/terraform-providers/terraform-provider-azurerm/commits{/sha}","git_commits_url":"https://api.github.com/repos/terraform-providers/terraform-provider-azurerm/git/commits{/sha}","comments_url":"https://api.github.com/repos/terraform-providers/terraform-provider-azurerm/comments{/number}","issue_comment_url":"https://api.github.com/repos/terraform-providers/terraform-provider-azurerm/issues/comments{/number}","contents_url":"https://api.github.com/repos/terraform-providers/terraform-provider-azurerm/contents/{+path}","compare_url":"https://api.github.com/repos/terraform-providers/terraform-provider-azurerm/compare/{base}...{head}","merges_url":"https://api.github.com/repos/terraform-providers/terraform-provider-azurerm/merges","archive_url":"https://api.github.com/repos/terraform-providers/terraform-provider-azurerm/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/terraform-providers/terraform-provider-azurerm/downloads","issues_url":"https://api.github.com/repos/terraform-providers/terraform-provider-azurerm/issues{/number}","pulls_url":"https://api.github.com/repos/terraform-providers/terraform-provider-azurerm/pulls{/number}","milestones_url":"https://api.github.com/repos/terraform-providers/terraform-provider-azurerm/milestones{/number}","notifications_url":"https://api.github.com/repos/terraform-providers/terraform-provider-azurerm/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/terraform-providers/terraform-provider-azurerm/labels{/name}","releases_url":"https://api.github.com/repos/terraform-providers/terraform-provider-azurerm/releases{/id}","deployments_url":"https://api.github.com/repos/terraform-providers/terraform-provider-azurerm/deployments","created_at":"2017-06-05T20:53:54Z","updated_at":"2018-07-20T05:59:20Z","pushed_at":"2018-07-19T23:39:42Z","git_url":"git://github.com/terraform-providers/terraform-provider-azurerm.git","ssh_url":"git@github.com:terraform-providers/terraform-provider-azurerm.git","clone_url":"https://github.com/terraform-providers/terraform-provider-azurerm.git","svn_url":"https://github.com/terraform-providers/terraform-provider-azurerm","homepage":"https://www.terraform.io/docs/providers/azurerm/","size":18384,"stargazers_count":396,"watchers_count":396,"language":"Go","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":352,"mirror_url":null,"archived":false,"open_issues_count":245,"license":{"key":"mpl-2.0","name":"Mozilla Public License 2.0","spdx_id":"MPL-2.0","url":"https://api.github.com/licenses/mpl-2.0","node_id":"MDc6TGljZW5zZTE0"},"forks":352,"open_issues":245,"watchers":396,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/terraform-providers/terraform-provider-azurerm/pulls/1140"},"html":{"href":"https://github.com/terraform-providers/terraform-provider-azurerm/pull/1140"},"issue":{"href":"https://api.github.com/repos/terraform-providers/terraform-provider-azurerm/issues/1140"},"comments":{"href":"https://api.github.com/repos/terraform-providers/terraform-provider-azurerm/issues/1140/comments"},"review_comments":{"href":"https://api.github.com/repos/terraform-providers/terraform-provider-azurerm/pulls/1140/comments"},"review_comment":{"href":"https://api.github.com/repos/terraform-providers/terraform-provider-azurerm/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/terraform-providers/terraform-provider-azurerm/pulls/1140/commits"},"statuses":{"href":"https://api.github.com/repos/terraform-providers/terraform-provider-azurerm/statuses/d04169f3cdccf720b8f8c8c2d54f87c0fdba9e0f"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"tombuildsstuff"}}