-
Notifications
You must be signed in to change notification settings - Fork 102
/
admin_setting.go
30 lines (27 loc) · 1.08 KB
/
admin_setting.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0
package tfe
// AdminSettings describes all the admin settings related methods that the Terraform Enterprise API supports.
// Note that admin settings are only available in Terraform Enterprise.
//
// TFE API docs: https://developer.hashicorp.com/terraform/enterprise/api-docs/admin/settings
type AdminSettings struct {
General GeneralSettings
SAML SAMLSettings
CostEstimation CostEstimationSettings
SMTP SMTPSettings
Twilio TwilioSettings
Customization CustomizationSettings
OIDC OIDCSettings
}
func newAdminSettings(client *Client) *AdminSettings {
return &AdminSettings{
General: &adminGeneralSettings{client: client},
SAML: &adminSAMLSettings{client: client},
CostEstimation: &adminCostEstimationSettings{client: client},
SMTP: &adminSMTPSettings{client: client},
Twilio: &adminTwilioSettings{client: client},
Customization: &adminCustomizationSettings{client: client},
OIDC: &adminOIDCSettings{client: client},
}
}