azurerm_active_directory_domain_service

package
v0.0.0-...-4deecce Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 16, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Args

type Args struct {
	// DomainConfigurationType: string, optional
	DomainConfigurationType terra.StringValue `hcl:"domain_configuration_type,attr"`
	// DomainName: string, required
	DomainName terra.StringValue `hcl:"domain_name,attr" validate:"required"`
	// FilteredSyncEnabled: bool, optional
	FilteredSyncEnabled terra.BoolValue `hcl:"filtered_sync_enabled,attr"`
	// Id: string, optional
	Id terra.StringValue `hcl:"id,attr"`
	// Location: string, required
	Location terra.StringValue `hcl:"location,attr" validate:"required"`
	// Name: string, required
	Name terra.StringValue `hcl:"name,attr" validate:"required"`
	// ResourceGroupName: string, required
	ResourceGroupName terra.StringValue `hcl:"resource_group_name,attr" validate:"required"`
	// Sku: string, required
	Sku terra.StringValue `hcl:"sku,attr" validate:"required"`
	// Tags: map of string, optional
	Tags terra.MapValue[terra.StringValue] `hcl:"tags,attr"`
	// InitialReplicaSet: required
	InitialReplicaSet *InitialReplicaSet `hcl:"initial_replica_set,block" validate:"required"`
	// Notifications: optional
	Notifications *Notifications `hcl:"notifications,block"`
	// SecureLdap: optional
	SecureLdap *SecureLdap `hcl:"secure_ldap,block"`
	// Security: optional
	Security *Security `hcl:"security,block"`
	// Timeouts: optional
	Timeouts *Timeouts `hcl:"timeouts,block"`
}

Args contains the configurations for azurerm_active_directory_domain_service.

type DataArgs

type DataArgs struct {
	// Id: string, optional
	Id terra.StringValue `hcl:"id,attr"`
	// Name: string, required
	Name terra.StringValue `hcl:"name,attr" validate:"required"`
	// ResourceGroupName: string, required
	ResourceGroupName terra.StringValue `hcl:"resource_group_name,attr" validate:"required"`
	// Tags: map of string, optional
	Tags terra.MapValue[terra.StringValue] `hcl:"tags,attr"`
	// Timeouts: optional
	Timeouts *DataTimeouts `hcl:"timeouts,block"`
}

DataArgs contains the configurations for azurerm_active_directory_domain_service.

type DataNotificationsAttributes

type DataNotificationsAttributes struct {
	// contains filtered or unexported fields
}

func (DataNotificationsAttributes) AdditionalRecipients

func (n DataNotificationsAttributes) AdditionalRecipients() terra.ListValue[terra.StringValue]

func (DataNotificationsAttributes) InternalRef

func (n DataNotificationsAttributes) InternalRef() (terra.Reference, error)

func (DataNotificationsAttributes) InternalTokens

func (n DataNotificationsAttributes) InternalTokens() (hclwrite.Tokens, error)

func (DataNotificationsAttributes) InternalWithRef

func (DataNotificationsAttributes) NotifyDcAdmins

func (n DataNotificationsAttributes) NotifyDcAdmins() terra.BoolValue

func (DataNotificationsAttributes) NotifyGlobalAdmins

func (n DataNotificationsAttributes) NotifyGlobalAdmins() terra.BoolValue

type DataNotificationsState

type DataNotificationsState struct {
	AdditionalRecipients []string `json:"additional_recipients"`
	NotifyDcAdmins       bool     `json:"notify_dc_admins"`
	NotifyGlobalAdmins   bool     `json:"notify_global_admins"`
}

type DataReplicaSetsAttributes

type DataReplicaSetsAttributes struct {
	// contains filtered or unexported fields
}

func (DataReplicaSetsAttributes) DomainControllerIpAddresses

func (rs DataReplicaSetsAttributes) DomainControllerIpAddresses() terra.ListValue[terra.StringValue]

func (DataReplicaSetsAttributes) ExternalAccessIpAddress

func (rs DataReplicaSetsAttributes) ExternalAccessIpAddress() terra.StringValue

func (DataReplicaSetsAttributes) Id

func (DataReplicaSetsAttributes) InternalRef

func (rs DataReplicaSetsAttributes) InternalRef() (terra.Reference, error)

func (DataReplicaSetsAttributes) InternalTokens

func (rs DataReplicaSetsAttributes) InternalTokens() (hclwrite.Tokens, error)

func (DataReplicaSetsAttributes) InternalWithRef

func (DataReplicaSetsAttributes) Location

func (DataReplicaSetsAttributes) ServiceStatus

func (rs DataReplicaSetsAttributes) ServiceStatus() terra.StringValue

func (DataReplicaSetsAttributes) SubnetId

type DataReplicaSetsState

type DataReplicaSetsState struct {
	DomainControllerIpAddresses []string `json:"domain_controller_ip_addresses"`
	ExternalAccessIpAddress     string   `json:"external_access_ip_address"`
	Id                          string   `json:"id"`
	Location                    string   `json:"location"`
	ServiceStatus               string   `json:"service_status"`
	SubnetId                    string   `json:"subnet_id"`
}

type DataSecureLdapAttributes

type DataSecureLdapAttributes struct {
	// contains filtered or unexported fields
}

func (DataSecureLdapAttributes) CertificateExpiry

func (sl DataSecureLdapAttributes) CertificateExpiry() terra.StringValue

func (DataSecureLdapAttributes) CertificateThumbprint

func (sl DataSecureLdapAttributes) CertificateThumbprint() terra.StringValue

func (DataSecureLdapAttributes) Enabled

func (DataSecureLdapAttributes) ExternalAccessEnabled

func (sl DataSecureLdapAttributes) ExternalAccessEnabled() terra.BoolValue

func (DataSecureLdapAttributes) InternalRef

func (sl DataSecureLdapAttributes) InternalRef() (terra.Reference, error)

func (DataSecureLdapAttributes) InternalTokens

func (sl DataSecureLdapAttributes) InternalTokens() (hclwrite.Tokens, error)

func (DataSecureLdapAttributes) InternalWithRef

func (DataSecureLdapAttributes) PublicCertificate

func (sl DataSecureLdapAttributes) PublicCertificate() terra.StringValue

type DataSecureLdapState

type DataSecureLdapState struct {
	CertificateExpiry     string `json:"certificate_expiry"`
	CertificateThumbprint string `json:"certificate_thumbprint"`
	Enabled               bool   `json:"enabled"`
	ExternalAccessEnabled bool   `json:"external_access_enabled"`
	PublicCertificate     string `json:"public_certificate"`
}

type DataSecurityAttributes

type DataSecurityAttributes struct {
	// contains filtered or unexported fields
}

func (DataSecurityAttributes) InternalRef

func (s DataSecurityAttributes) InternalRef() (terra.Reference, error)

func (DataSecurityAttributes) InternalTokens

func (s DataSecurityAttributes) InternalTokens() (hclwrite.Tokens, error)

func (DataSecurityAttributes) InternalWithRef

func (DataSecurityAttributes) KerberosArmoringEnabled

func (s DataSecurityAttributes) KerberosArmoringEnabled() terra.BoolValue

func (DataSecurityAttributes) KerberosRc4EncryptionEnabled

func (s DataSecurityAttributes) KerberosRc4EncryptionEnabled() terra.BoolValue

func (DataSecurityAttributes) NtlmV1Enabled

func (s DataSecurityAttributes) NtlmV1Enabled() terra.BoolValue

func (DataSecurityAttributes) SyncKerberosPasswords

func (s DataSecurityAttributes) SyncKerberosPasswords() terra.BoolValue

func (DataSecurityAttributes) SyncNtlmPasswords

func (s DataSecurityAttributes) SyncNtlmPasswords() terra.BoolValue

func (DataSecurityAttributes) SyncOnPremPasswords

func (s DataSecurityAttributes) SyncOnPremPasswords() terra.BoolValue

func (DataSecurityAttributes) TlsV1Enabled

func (s DataSecurityAttributes) TlsV1Enabled() terra.BoolValue

type DataSecurityState

type DataSecurityState struct {
	KerberosArmoringEnabled      bool `json:"kerberos_armoring_enabled"`
	KerberosRc4EncryptionEnabled bool `json:"kerberos_rc4_encryption_enabled"`
	NtlmV1Enabled                bool `json:"ntlm_v1_enabled"`
	SyncKerberosPasswords        bool `json:"sync_kerberos_passwords"`
	SyncNtlmPasswords            bool `json:"sync_ntlm_passwords"`
	SyncOnPremPasswords          bool `json:"sync_on_prem_passwords"`
	TlsV1Enabled                 bool `json:"tls_v1_enabled"`
}

type DataSource

type DataSource struct {
	Name string
	Args DataArgs
}

DataSource represents the Terraform data resource azurerm_active_directory_domain_service.

func Data

func Data(name string, args DataArgs) *DataSource

Data creates a new instance of DataSource.

func (*DataSource) Attributes

func (aadds *DataSource) Attributes() dataAzurermActiveDirectoryDomainServiceAttributes

Attributes returns the attributes for DataSource.

func (*DataSource) Configuration

func (aadds *DataSource) Configuration() interface{}

Configuration returns the configuration (args) for DataSource.

func (*DataSource) DataSource

func (aadds *DataSource) DataSource() string

DataSource returns the Terraform object type for DataSource.

func (*DataSource) LocalName

func (aadds *DataSource) LocalName() string

LocalName returns the local name for DataSource.

type DataTimeouts

type DataTimeouts struct {
	// Read: string, optional
	Read terra.StringValue `hcl:"read,attr"`
}

type DataTimeoutsAttributes

type DataTimeoutsAttributes struct {
	// contains filtered or unexported fields
}

func (DataTimeoutsAttributes) InternalRef

func (t DataTimeoutsAttributes) InternalRef() (terra.Reference, error)

func (DataTimeoutsAttributes) InternalTokens

func (t DataTimeoutsAttributes) InternalTokens() (hclwrite.Tokens, error)

func (DataTimeoutsAttributes) InternalWithRef

func (DataTimeoutsAttributes) Read

type DataTimeoutsState

type DataTimeoutsState struct {
	Read string `json:"read"`
}

type InitialReplicaSet

type InitialReplicaSet struct {
	// SubnetId: string, required
	SubnetId terra.StringValue `hcl:"subnet_id,attr" validate:"required"`
}

type InitialReplicaSetAttributes

type InitialReplicaSetAttributes struct {
	// contains filtered or unexported fields
}

func (InitialReplicaSetAttributes) DomainControllerIpAddresses

func (irs InitialReplicaSetAttributes) DomainControllerIpAddresses() terra.ListValue[terra.StringValue]

func (InitialReplicaSetAttributes) ExternalAccessIpAddress

func (irs InitialReplicaSetAttributes) ExternalAccessIpAddress() terra.StringValue

func (InitialReplicaSetAttributes) Id

func (InitialReplicaSetAttributes) InternalRef

func (irs InitialReplicaSetAttributes) InternalRef() (terra.Reference, error)

func (InitialReplicaSetAttributes) InternalTokens

func (irs InitialReplicaSetAttributes) InternalTokens() (hclwrite.Tokens, error)

func (InitialReplicaSetAttributes) InternalWithRef

func (InitialReplicaSetAttributes) Location

func (InitialReplicaSetAttributes) ServiceStatus

func (irs InitialReplicaSetAttributes) ServiceStatus() terra.StringValue

func (InitialReplicaSetAttributes) SubnetId

type InitialReplicaSetState

type InitialReplicaSetState struct {
	DomainControllerIpAddresses []string `json:"domain_controller_ip_addresses"`
	ExternalAccessIpAddress     string   `json:"external_access_ip_address"`
	Id                          string   `json:"id"`
	Location                    string   `json:"location"`
	ServiceStatus               string   `json:"service_status"`
	SubnetId                    string   `json:"subnet_id"`
}

type Notifications

type Notifications struct {
	// AdditionalRecipients: set of string, optional
	AdditionalRecipients terra.SetValue[terra.StringValue] `hcl:"additional_recipients,attr"`
	// NotifyDcAdmins: bool, optional
	NotifyDcAdmins terra.BoolValue `hcl:"notify_dc_admins,attr"`
	// NotifyGlobalAdmins: bool, optional
	NotifyGlobalAdmins terra.BoolValue `hcl:"notify_global_admins,attr"`
}

type NotificationsAttributes

type NotificationsAttributes struct {
	// contains filtered or unexported fields
}

func (NotificationsAttributes) AdditionalRecipients

func (n NotificationsAttributes) AdditionalRecipients() terra.SetValue[terra.StringValue]

func (NotificationsAttributes) InternalRef

func (n NotificationsAttributes) InternalRef() (terra.Reference, error)

func (NotificationsAttributes) InternalTokens

func (n NotificationsAttributes) InternalTokens() (hclwrite.Tokens, error)

func (NotificationsAttributes) InternalWithRef

func (NotificationsAttributes) NotifyDcAdmins

func (n NotificationsAttributes) NotifyDcAdmins() terra.BoolValue

func (NotificationsAttributes) NotifyGlobalAdmins

func (n NotificationsAttributes) NotifyGlobalAdmins() terra.BoolValue

type NotificationsState

type NotificationsState struct {
	AdditionalRecipients []string `json:"additional_recipients"`
	NotifyDcAdmins       bool     `json:"notify_dc_admins"`
	NotifyGlobalAdmins   bool     `json:"notify_global_admins"`
}

type Resource

type Resource struct {
	Name string
	Args Args

	DependsOn terra.Dependencies
	Lifecycle *terra.Lifecycle
	// contains filtered or unexported fields
}

Resource represents the Terraform resource azurerm_active_directory_domain_service.

func New

func New(name string, args Args) *Resource

New creates a new instance of Resource.

func (*Resource) Attributes

func (aadds *Resource) Attributes() azurermActiveDirectoryDomainServiceAttributes

Attributes returns the attributes for Resource.

func (*Resource) Configuration

func (aadds *Resource) Configuration() interface{}

Configuration returns the configuration (args) for Resource.

func (*Resource) DependOn

func (aadds *Resource) DependOn() terra.Reference

DependOn is used for other resources to depend on Resource.

func (*Resource) Dependencies

func (aadds *Resource) Dependencies() terra.Dependencies

Dependencies returns the list of resources Resource depends_on.

func (*Resource) ImportState

func (aadds *Resource) ImportState(state io.Reader) error

ImportState imports the given attribute values into Resource's state.

func (*Resource) LifecycleManagement

func (aadds *Resource) LifecycleManagement() *terra.Lifecycle

LifecycleManagement returns the lifecycle block for Resource.

func (*Resource) LocalName

func (aadds *Resource) LocalName() string

LocalName returns the local name for Resource.

func (*Resource) State

func (aadds *Resource) State() (*azurermActiveDirectoryDomainServiceState, bool)

State returns the state and a bool indicating if Resource has state.

func (*Resource) StateMust

func (aadds *Resource) StateMust() *azurermActiveDirectoryDomainServiceState

StateMust returns the state for Resource. Panics if the state is nil.

func (*Resource) Type

func (aadds *Resource) Type() string

Type returns the Terraform object type for Resource.

type SecureLdap

type SecureLdap struct {
	// Enabled: bool, required
	Enabled terra.BoolValue `hcl:"enabled,attr" validate:"required"`
	// ExternalAccessEnabled: bool, optional
	ExternalAccessEnabled terra.BoolValue `hcl:"external_access_enabled,attr"`
	// PfxCertificate: string, required
	PfxCertificate terra.StringValue `hcl:"pfx_certificate,attr" validate:"required"`
	// PfxCertificatePassword: string, required
	PfxCertificatePassword terra.StringValue `hcl:"pfx_certificate_password,attr" validate:"required"`
}

type SecureLdapAttributes

type SecureLdapAttributes struct {
	// contains filtered or unexported fields
}

func (SecureLdapAttributes) CertificateExpiry

func (sl SecureLdapAttributes) CertificateExpiry() terra.StringValue

func (SecureLdapAttributes) CertificateThumbprint

func (sl SecureLdapAttributes) CertificateThumbprint() terra.StringValue

func (SecureLdapAttributes) Enabled

func (sl SecureLdapAttributes) Enabled() terra.BoolValue

func (SecureLdapAttributes) ExternalAccessEnabled

func (sl SecureLdapAttributes) ExternalAccessEnabled() terra.BoolValue

func (SecureLdapAttributes) InternalRef

func (sl SecureLdapAttributes) InternalRef() (terra.Reference, error)

func (SecureLdapAttributes) InternalTokens

func (sl SecureLdapAttributes) InternalTokens() (hclwrite.Tokens, error)

func (SecureLdapAttributes) InternalWithRef

func (sl SecureLdapAttributes) InternalWithRef(ref terra.Reference) SecureLdapAttributes

func (SecureLdapAttributes) PfxCertificate

func (sl SecureLdapAttributes) PfxCertificate() terra.StringValue

func (SecureLdapAttributes) PfxCertificatePassword

func (sl SecureLdapAttributes) PfxCertificatePassword() terra.StringValue

func (SecureLdapAttributes) PublicCertificate

func (sl SecureLdapAttributes) PublicCertificate() terra.StringValue

type SecureLdapState

type SecureLdapState struct {
	CertificateExpiry      string `json:"certificate_expiry"`
	CertificateThumbprint  string `json:"certificate_thumbprint"`
	Enabled                bool   `json:"enabled"`
	ExternalAccessEnabled  bool   `json:"external_access_enabled"`
	PfxCertificate         string `json:"pfx_certificate"`
	PfxCertificatePassword string `json:"pfx_certificate_password"`
	PublicCertificate      string `json:"public_certificate"`
}

type Security

type Security struct {
	// KerberosArmoringEnabled: bool, optional
	KerberosArmoringEnabled terra.BoolValue `hcl:"kerberos_armoring_enabled,attr"`
	// KerberosRc4EncryptionEnabled: bool, optional
	KerberosRc4EncryptionEnabled terra.BoolValue `hcl:"kerberos_rc4_encryption_enabled,attr"`
	// NtlmV1Enabled: bool, optional
	NtlmV1Enabled terra.BoolValue `hcl:"ntlm_v1_enabled,attr"`
	// SyncKerberosPasswords: bool, optional
	SyncKerberosPasswords terra.BoolValue `hcl:"sync_kerberos_passwords,attr"`
	// SyncNtlmPasswords: bool, optional
	SyncNtlmPasswords terra.BoolValue `hcl:"sync_ntlm_passwords,attr"`
	// SyncOnPremPasswords: bool, optional
	SyncOnPremPasswords terra.BoolValue `hcl:"sync_on_prem_passwords,attr"`
	// TlsV1Enabled: bool, optional
	TlsV1Enabled terra.BoolValue `hcl:"tls_v1_enabled,attr"`
}

type SecurityAttributes

type SecurityAttributes struct {
	// contains filtered or unexported fields
}

func (SecurityAttributes) InternalRef

func (s SecurityAttributes) InternalRef() (terra.Reference, error)

func (SecurityAttributes) InternalTokens

func (s SecurityAttributes) InternalTokens() (hclwrite.Tokens, error)

func (SecurityAttributes) InternalWithRef

func (s SecurityAttributes) InternalWithRef(ref terra.Reference) SecurityAttributes

func (SecurityAttributes) KerberosArmoringEnabled

func (s SecurityAttributes) KerberosArmoringEnabled() terra.BoolValue

func (SecurityAttributes) KerberosRc4EncryptionEnabled

func (s SecurityAttributes) KerberosRc4EncryptionEnabled() terra.BoolValue

func (SecurityAttributes) NtlmV1Enabled

func (s SecurityAttributes) NtlmV1Enabled() terra.BoolValue

func (SecurityAttributes) SyncKerberosPasswords

func (s SecurityAttributes) SyncKerberosPasswords() terra.BoolValue

func (SecurityAttributes) SyncNtlmPasswords

func (s SecurityAttributes) SyncNtlmPasswords() terra.BoolValue

func (SecurityAttributes) SyncOnPremPasswords

func (s SecurityAttributes) SyncOnPremPasswords() terra.BoolValue

func (SecurityAttributes) TlsV1Enabled

func (s SecurityAttributes) TlsV1Enabled() terra.BoolValue

type SecurityState

type SecurityState struct {
	KerberosArmoringEnabled      bool `json:"kerberos_armoring_enabled"`
	KerberosRc4EncryptionEnabled bool `json:"kerberos_rc4_encryption_enabled"`
	NtlmV1Enabled                bool `json:"ntlm_v1_enabled"`
	SyncKerberosPasswords        bool `json:"sync_kerberos_passwords"`
	SyncNtlmPasswords            bool `json:"sync_ntlm_passwords"`
	SyncOnPremPasswords          bool `json:"sync_on_prem_passwords"`
	TlsV1Enabled                 bool `json:"tls_v1_enabled"`
}

type Timeouts

type Timeouts struct {
	// Create: string, optional
	Create terra.StringValue `hcl:"create,attr"`
	// Delete: string, optional
	Delete terra.StringValue `hcl:"delete,attr"`
	// Read: string, optional
	Read terra.StringValue `hcl:"read,attr"`
	// Update: string, optional
	Update terra.StringValue `hcl:"update,attr"`
}

type TimeoutsAttributes

type TimeoutsAttributes struct {
	// contains filtered or unexported fields
}

func (TimeoutsAttributes) Create

func (TimeoutsAttributes) Delete

func (TimeoutsAttributes) InternalRef

func (t TimeoutsAttributes) InternalRef() (terra.Reference, error)

func (TimeoutsAttributes) InternalTokens

func (t TimeoutsAttributes) InternalTokens() (hclwrite.Tokens, error)

func (TimeoutsAttributes) InternalWithRef

func (t TimeoutsAttributes) InternalWithRef(ref terra.Reference) TimeoutsAttributes

func (TimeoutsAttributes) Read

func (TimeoutsAttributes) Update

type TimeoutsState

type TimeoutsState struct {
	Create string `json:"create"`
	Delete string `json:"delete"`
	Read   string `json:"read"`
	Update string `json:"update"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL