domainservices

package
v5.74.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GetServiceNotification

type GetServiceNotification struct {
	// A list of additional email addresses to notify when there are alerts in the managed domain.
	AdditionalRecipients []string `pulumi:"additionalRecipients"`
	// Whethermembers of the _AAD DC Administrators_ group are notified when there are alerts in the managed domain.
	NotifyDcAdmins bool `pulumi:"notifyDcAdmins"`
	// Whether all Global Administrators are notified when there are alerts in the managed domain.
	NotifyGlobalAdmins bool `pulumi:"notifyGlobalAdmins"`
}

type GetServiceNotificationArgs

type GetServiceNotificationArgs struct {
	// A list of additional email addresses to notify when there are alerts in the managed domain.
	AdditionalRecipients pulumi.StringArrayInput `pulumi:"additionalRecipients"`
	// Whethermembers of the _AAD DC Administrators_ group are notified when there are alerts in the managed domain.
	NotifyDcAdmins pulumi.BoolInput `pulumi:"notifyDcAdmins"`
	// Whether all Global Administrators are notified when there are alerts in the managed domain.
	NotifyGlobalAdmins pulumi.BoolInput `pulumi:"notifyGlobalAdmins"`
}

func (GetServiceNotificationArgs) ElementType

func (GetServiceNotificationArgs) ElementType() reflect.Type

func (GetServiceNotificationArgs) ToGetServiceNotificationOutput

func (i GetServiceNotificationArgs) ToGetServiceNotificationOutput() GetServiceNotificationOutput

func (GetServiceNotificationArgs) ToGetServiceNotificationOutputWithContext

func (i GetServiceNotificationArgs) ToGetServiceNotificationOutputWithContext(ctx context.Context) GetServiceNotificationOutput

type GetServiceNotificationArray

type GetServiceNotificationArray []GetServiceNotificationInput

func (GetServiceNotificationArray) ElementType

func (GetServiceNotificationArray) ToGetServiceNotificationArrayOutput

func (i GetServiceNotificationArray) ToGetServiceNotificationArrayOutput() GetServiceNotificationArrayOutput

func (GetServiceNotificationArray) ToGetServiceNotificationArrayOutputWithContext

func (i GetServiceNotificationArray) ToGetServiceNotificationArrayOutputWithContext(ctx context.Context) GetServiceNotificationArrayOutput

type GetServiceNotificationArrayInput

type GetServiceNotificationArrayInput interface {
	pulumi.Input

	ToGetServiceNotificationArrayOutput() GetServiceNotificationArrayOutput
	ToGetServiceNotificationArrayOutputWithContext(context.Context) GetServiceNotificationArrayOutput
}

GetServiceNotificationArrayInput is an input type that accepts GetServiceNotificationArray and GetServiceNotificationArrayOutput values. You can construct a concrete instance of `GetServiceNotificationArrayInput` via:

GetServiceNotificationArray{ GetServiceNotificationArgs{...} }

type GetServiceNotificationArrayOutput

type GetServiceNotificationArrayOutput struct{ *pulumi.OutputState }

func (GetServiceNotificationArrayOutput) ElementType

func (GetServiceNotificationArrayOutput) Index

func (GetServiceNotificationArrayOutput) ToGetServiceNotificationArrayOutput

func (o GetServiceNotificationArrayOutput) ToGetServiceNotificationArrayOutput() GetServiceNotificationArrayOutput

func (GetServiceNotificationArrayOutput) ToGetServiceNotificationArrayOutputWithContext

func (o GetServiceNotificationArrayOutput) ToGetServiceNotificationArrayOutputWithContext(ctx context.Context) GetServiceNotificationArrayOutput

type GetServiceNotificationInput

type GetServiceNotificationInput interface {
	pulumi.Input

	ToGetServiceNotificationOutput() GetServiceNotificationOutput
	ToGetServiceNotificationOutputWithContext(context.Context) GetServiceNotificationOutput
}

GetServiceNotificationInput is an input type that accepts GetServiceNotificationArgs and GetServiceNotificationOutput values. You can construct a concrete instance of `GetServiceNotificationInput` via:

GetServiceNotificationArgs{...}

type GetServiceNotificationOutput

type GetServiceNotificationOutput struct{ *pulumi.OutputState }

func (GetServiceNotificationOutput) AdditionalRecipients

func (o GetServiceNotificationOutput) AdditionalRecipients() pulumi.StringArrayOutput

A list of additional email addresses to notify when there are alerts in the managed domain.

func (GetServiceNotificationOutput) ElementType

func (GetServiceNotificationOutput) NotifyDcAdmins

func (o GetServiceNotificationOutput) NotifyDcAdmins() pulumi.BoolOutput

Whethermembers of the _AAD DC Administrators_ group are notified when there are alerts in the managed domain.

func (GetServiceNotificationOutput) NotifyGlobalAdmins

func (o GetServiceNotificationOutput) NotifyGlobalAdmins() pulumi.BoolOutput

Whether all Global Administrators are notified when there are alerts in the managed domain.

func (GetServiceNotificationOutput) ToGetServiceNotificationOutput

func (o GetServiceNotificationOutput) ToGetServiceNotificationOutput() GetServiceNotificationOutput

func (GetServiceNotificationOutput) ToGetServiceNotificationOutputWithContext

func (o GetServiceNotificationOutput) ToGetServiceNotificationOutputWithContext(ctx context.Context) GetServiceNotificationOutput

type GetServiceReplicaSet

type GetServiceReplicaSet struct {
	// A list of subnet IP addresses for the domain controllers in the replica set, typically two.
	DomainControllerIpAddresses []string `pulumi:"domainControllerIpAddresses"`
	// The publicly routable IP address for the domain controllers in the replica set.
	ExternalAccessIpAddress string `pulumi:"externalAccessIpAddress"`
	// The ID of the Domain Service.
	Id string `pulumi:"id"`
	// The Azure location in which the replica set resides.
	Location string `pulumi:"location"`
	// The current service status for the replica set.
	ServiceStatus string `pulumi:"serviceStatus"`
	// The ID of the subnet in which the replica set resides.
	SubnetId string `pulumi:"subnetId"`
}

type GetServiceReplicaSetArgs

type GetServiceReplicaSetArgs struct {
	// A list of subnet IP addresses for the domain controllers in the replica set, typically two.
	DomainControllerIpAddresses pulumi.StringArrayInput `pulumi:"domainControllerIpAddresses"`
	// The publicly routable IP address for the domain controllers in the replica set.
	ExternalAccessIpAddress pulumi.StringInput `pulumi:"externalAccessIpAddress"`
	// The ID of the Domain Service.
	Id pulumi.StringInput `pulumi:"id"`
	// The Azure location in which the replica set resides.
	Location pulumi.StringInput `pulumi:"location"`
	// The current service status for the replica set.
	ServiceStatus pulumi.StringInput `pulumi:"serviceStatus"`
	// The ID of the subnet in which the replica set resides.
	SubnetId pulumi.StringInput `pulumi:"subnetId"`
}

func (GetServiceReplicaSetArgs) ElementType

func (GetServiceReplicaSetArgs) ElementType() reflect.Type

func (GetServiceReplicaSetArgs) ToGetServiceReplicaSetOutput

func (i GetServiceReplicaSetArgs) ToGetServiceReplicaSetOutput() GetServiceReplicaSetOutput

func (GetServiceReplicaSetArgs) ToGetServiceReplicaSetOutputWithContext

func (i GetServiceReplicaSetArgs) ToGetServiceReplicaSetOutputWithContext(ctx context.Context) GetServiceReplicaSetOutput

type GetServiceReplicaSetArray

type GetServiceReplicaSetArray []GetServiceReplicaSetInput

func (GetServiceReplicaSetArray) ElementType

func (GetServiceReplicaSetArray) ElementType() reflect.Type

func (GetServiceReplicaSetArray) ToGetServiceReplicaSetArrayOutput

func (i GetServiceReplicaSetArray) ToGetServiceReplicaSetArrayOutput() GetServiceReplicaSetArrayOutput

func (GetServiceReplicaSetArray) ToGetServiceReplicaSetArrayOutputWithContext

func (i GetServiceReplicaSetArray) ToGetServiceReplicaSetArrayOutputWithContext(ctx context.Context) GetServiceReplicaSetArrayOutput

type GetServiceReplicaSetArrayInput

type GetServiceReplicaSetArrayInput interface {
	pulumi.Input

	ToGetServiceReplicaSetArrayOutput() GetServiceReplicaSetArrayOutput
	ToGetServiceReplicaSetArrayOutputWithContext(context.Context) GetServiceReplicaSetArrayOutput
}

GetServiceReplicaSetArrayInput is an input type that accepts GetServiceReplicaSetArray and GetServiceReplicaSetArrayOutput values. You can construct a concrete instance of `GetServiceReplicaSetArrayInput` via:

GetServiceReplicaSetArray{ GetServiceReplicaSetArgs{...} }

type GetServiceReplicaSetArrayOutput

type GetServiceReplicaSetArrayOutput struct{ *pulumi.OutputState }

func (GetServiceReplicaSetArrayOutput) ElementType

func (GetServiceReplicaSetArrayOutput) Index

func (GetServiceReplicaSetArrayOutput) ToGetServiceReplicaSetArrayOutput

func (o GetServiceReplicaSetArrayOutput) ToGetServiceReplicaSetArrayOutput() GetServiceReplicaSetArrayOutput

func (GetServiceReplicaSetArrayOutput) ToGetServiceReplicaSetArrayOutputWithContext

func (o GetServiceReplicaSetArrayOutput) ToGetServiceReplicaSetArrayOutputWithContext(ctx context.Context) GetServiceReplicaSetArrayOutput

type GetServiceReplicaSetInput

type GetServiceReplicaSetInput interface {
	pulumi.Input

	ToGetServiceReplicaSetOutput() GetServiceReplicaSetOutput
	ToGetServiceReplicaSetOutputWithContext(context.Context) GetServiceReplicaSetOutput
}

GetServiceReplicaSetInput is an input type that accepts GetServiceReplicaSetArgs and GetServiceReplicaSetOutput values. You can construct a concrete instance of `GetServiceReplicaSetInput` via:

GetServiceReplicaSetArgs{...}

type GetServiceReplicaSetOutput

type GetServiceReplicaSetOutput struct{ *pulumi.OutputState }

func (GetServiceReplicaSetOutput) DomainControllerIpAddresses

func (o GetServiceReplicaSetOutput) DomainControllerIpAddresses() pulumi.StringArrayOutput

A list of subnet IP addresses for the domain controllers in the replica set, typically two.

func (GetServiceReplicaSetOutput) ElementType

func (GetServiceReplicaSetOutput) ElementType() reflect.Type

func (GetServiceReplicaSetOutput) ExternalAccessIpAddress

func (o GetServiceReplicaSetOutput) ExternalAccessIpAddress() pulumi.StringOutput

The publicly routable IP address for the domain controllers in the replica set.

func (GetServiceReplicaSetOutput) Id

The ID of the Domain Service.

func (GetServiceReplicaSetOutput) Location

The Azure location in which the replica set resides.

func (GetServiceReplicaSetOutput) ServiceStatus

The current service status for the replica set.

func (GetServiceReplicaSetOutput) SubnetId

The ID of the subnet in which the replica set resides.

func (GetServiceReplicaSetOutput) ToGetServiceReplicaSetOutput

func (o GetServiceReplicaSetOutput) ToGetServiceReplicaSetOutput() GetServiceReplicaSetOutput

func (GetServiceReplicaSetOutput) ToGetServiceReplicaSetOutputWithContext

func (o GetServiceReplicaSetOutput) ToGetServiceReplicaSetOutputWithContext(ctx context.Context) GetServiceReplicaSetOutput

type GetServiceSecureLdap

type GetServiceSecureLdap struct {
	CertificateExpiry     string `pulumi:"certificateExpiry"`
	CertificateThumbprint string `pulumi:"certificateThumbprint"`
	// Whether secure LDAP is enabled for the managed domain.
	Enabled bool `pulumi:"enabled"`
	// Whether external access to LDAPS over the Internet, is enabled.
	ExternalAccessEnabled bool   `pulumi:"externalAccessEnabled"`
	PublicCertificate     string `pulumi:"publicCertificate"`
}

type GetServiceSecureLdapArgs

type GetServiceSecureLdapArgs struct {
	CertificateExpiry     pulumi.StringInput `pulumi:"certificateExpiry"`
	CertificateThumbprint pulumi.StringInput `pulumi:"certificateThumbprint"`
	// Whether secure LDAP is enabled for the managed domain.
	Enabled pulumi.BoolInput `pulumi:"enabled"`
	// Whether external access to LDAPS over the Internet, is enabled.
	ExternalAccessEnabled pulumi.BoolInput   `pulumi:"externalAccessEnabled"`
	PublicCertificate     pulumi.StringInput `pulumi:"publicCertificate"`
}

func (GetServiceSecureLdapArgs) ElementType

func (GetServiceSecureLdapArgs) ElementType() reflect.Type

func (GetServiceSecureLdapArgs) ToGetServiceSecureLdapOutput

func (i GetServiceSecureLdapArgs) ToGetServiceSecureLdapOutput() GetServiceSecureLdapOutput

func (GetServiceSecureLdapArgs) ToGetServiceSecureLdapOutputWithContext

func (i GetServiceSecureLdapArgs) ToGetServiceSecureLdapOutputWithContext(ctx context.Context) GetServiceSecureLdapOutput

type GetServiceSecureLdapArray

type GetServiceSecureLdapArray []GetServiceSecureLdapInput

func (GetServiceSecureLdapArray) ElementType

func (GetServiceSecureLdapArray) ElementType() reflect.Type

func (GetServiceSecureLdapArray) ToGetServiceSecureLdapArrayOutput

func (i GetServiceSecureLdapArray) ToGetServiceSecureLdapArrayOutput() GetServiceSecureLdapArrayOutput

func (GetServiceSecureLdapArray) ToGetServiceSecureLdapArrayOutputWithContext

func (i GetServiceSecureLdapArray) ToGetServiceSecureLdapArrayOutputWithContext(ctx context.Context) GetServiceSecureLdapArrayOutput

type GetServiceSecureLdapArrayInput

type GetServiceSecureLdapArrayInput interface {
	pulumi.Input

	ToGetServiceSecureLdapArrayOutput() GetServiceSecureLdapArrayOutput
	ToGetServiceSecureLdapArrayOutputWithContext(context.Context) GetServiceSecureLdapArrayOutput
}

GetServiceSecureLdapArrayInput is an input type that accepts GetServiceSecureLdapArray and GetServiceSecureLdapArrayOutput values. You can construct a concrete instance of `GetServiceSecureLdapArrayInput` via:

GetServiceSecureLdapArray{ GetServiceSecureLdapArgs{...} }

type GetServiceSecureLdapArrayOutput

type GetServiceSecureLdapArrayOutput struct{ *pulumi.OutputState }

func (GetServiceSecureLdapArrayOutput) ElementType

func (GetServiceSecureLdapArrayOutput) Index

func (GetServiceSecureLdapArrayOutput) ToGetServiceSecureLdapArrayOutput

func (o GetServiceSecureLdapArrayOutput) ToGetServiceSecureLdapArrayOutput() GetServiceSecureLdapArrayOutput

func (GetServiceSecureLdapArrayOutput) ToGetServiceSecureLdapArrayOutputWithContext

func (o GetServiceSecureLdapArrayOutput) ToGetServiceSecureLdapArrayOutputWithContext(ctx context.Context) GetServiceSecureLdapArrayOutput

type GetServiceSecureLdapInput

type GetServiceSecureLdapInput interface {
	pulumi.Input

	ToGetServiceSecureLdapOutput() GetServiceSecureLdapOutput
	ToGetServiceSecureLdapOutputWithContext(context.Context) GetServiceSecureLdapOutput
}

GetServiceSecureLdapInput is an input type that accepts GetServiceSecureLdapArgs and GetServiceSecureLdapOutput values. You can construct a concrete instance of `GetServiceSecureLdapInput` via:

GetServiceSecureLdapArgs{...}

type GetServiceSecureLdapOutput

type GetServiceSecureLdapOutput struct{ *pulumi.OutputState }

func (GetServiceSecureLdapOutput) CertificateExpiry

func (o GetServiceSecureLdapOutput) CertificateExpiry() pulumi.StringOutput

func (GetServiceSecureLdapOutput) CertificateThumbprint

func (o GetServiceSecureLdapOutput) CertificateThumbprint() pulumi.StringOutput

func (GetServiceSecureLdapOutput) ElementType

func (GetServiceSecureLdapOutput) ElementType() reflect.Type

func (GetServiceSecureLdapOutput) Enabled

Whether secure LDAP is enabled for the managed domain.

func (GetServiceSecureLdapOutput) ExternalAccessEnabled

func (o GetServiceSecureLdapOutput) ExternalAccessEnabled() pulumi.BoolOutput

Whether external access to LDAPS over the Internet, is enabled.

func (GetServiceSecureLdapOutput) PublicCertificate

func (o GetServiceSecureLdapOutput) PublicCertificate() pulumi.StringOutput

func (GetServiceSecureLdapOutput) ToGetServiceSecureLdapOutput

func (o GetServiceSecureLdapOutput) ToGetServiceSecureLdapOutput() GetServiceSecureLdapOutput

func (GetServiceSecureLdapOutput) ToGetServiceSecureLdapOutputWithContext

func (o GetServiceSecureLdapOutput) ToGetServiceSecureLdapOutputWithContext(ctx context.Context) GetServiceSecureLdapOutput

type GetServiceSecurity

type GetServiceSecurity struct {
	// (Optional) Whether the Kerberos Armoring is enabled.
	KerberosArmoringEnabled bool `pulumi:"kerberosArmoringEnabled"`
	// (Optional) Whether the Kerberos RC4 Encryption is enabled.
	KerberosRc4EncryptionEnabled bool `pulumi:"kerberosRc4EncryptionEnabled"`
	// Whether legacy NTLM v1 support is enabled.
	NtlmV1Enabled bool `pulumi:"ntlmV1Enabled"`
	// Whether Kerberos password hashes are synchronized to the managed domain.
	SyncKerberosPasswords bool `pulumi:"syncKerberosPasswords"`
	// Whether NTLM password hashes are synchronized to the managed domain.
	SyncNtlmPasswords bool `pulumi:"syncNtlmPasswords"`
	// Whether on-premises password hashes are synchronized to the managed domain.
	SyncOnPremPasswords bool `pulumi:"syncOnPremPasswords"`
	// Whether legacy TLS v1 support is enabled.
	TlsV1Enabled bool `pulumi:"tlsV1Enabled"`
}

type GetServiceSecurityArgs

type GetServiceSecurityArgs struct {
	// (Optional) Whether the Kerberos Armoring is enabled.
	KerberosArmoringEnabled pulumi.BoolInput `pulumi:"kerberosArmoringEnabled"`
	// (Optional) Whether the Kerberos RC4 Encryption is enabled.
	KerberosRc4EncryptionEnabled pulumi.BoolInput `pulumi:"kerberosRc4EncryptionEnabled"`
	// Whether legacy NTLM v1 support is enabled.
	NtlmV1Enabled pulumi.BoolInput `pulumi:"ntlmV1Enabled"`
	// Whether Kerberos password hashes are synchronized to the managed domain.
	SyncKerberosPasswords pulumi.BoolInput `pulumi:"syncKerberosPasswords"`
	// Whether NTLM password hashes are synchronized to the managed domain.
	SyncNtlmPasswords pulumi.BoolInput `pulumi:"syncNtlmPasswords"`
	// Whether on-premises password hashes are synchronized to the managed domain.
	SyncOnPremPasswords pulumi.BoolInput `pulumi:"syncOnPremPasswords"`
	// Whether legacy TLS v1 support is enabled.
	TlsV1Enabled pulumi.BoolInput `pulumi:"tlsV1Enabled"`
}

func (GetServiceSecurityArgs) ElementType

func (GetServiceSecurityArgs) ElementType() reflect.Type

func (GetServiceSecurityArgs) ToGetServiceSecurityOutput

func (i GetServiceSecurityArgs) ToGetServiceSecurityOutput() GetServiceSecurityOutput

func (GetServiceSecurityArgs) ToGetServiceSecurityOutputWithContext

func (i GetServiceSecurityArgs) ToGetServiceSecurityOutputWithContext(ctx context.Context) GetServiceSecurityOutput

type GetServiceSecurityArray

type GetServiceSecurityArray []GetServiceSecurityInput

func (GetServiceSecurityArray) ElementType

func (GetServiceSecurityArray) ElementType() reflect.Type

func (GetServiceSecurityArray) ToGetServiceSecurityArrayOutput

func (i GetServiceSecurityArray) ToGetServiceSecurityArrayOutput() GetServiceSecurityArrayOutput

func (GetServiceSecurityArray) ToGetServiceSecurityArrayOutputWithContext

func (i GetServiceSecurityArray) ToGetServiceSecurityArrayOutputWithContext(ctx context.Context) GetServiceSecurityArrayOutput

type GetServiceSecurityArrayInput

type GetServiceSecurityArrayInput interface {
	pulumi.Input

	ToGetServiceSecurityArrayOutput() GetServiceSecurityArrayOutput
	ToGetServiceSecurityArrayOutputWithContext(context.Context) GetServiceSecurityArrayOutput
}

GetServiceSecurityArrayInput is an input type that accepts GetServiceSecurityArray and GetServiceSecurityArrayOutput values. You can construct a concrete instance of `GetServiceSecurityArrayInput` via:

GetServiceSecurityArray{ GetServiceSecurityArgs{...} }

type GetServiceSecurityArrayOutput

type GetServiceSecurityArrayOutput struct{ *pulumi.OutputState }

func (GetServiceSecurityArrayOutput) ElementType

func (GetServiceSecurityArrayOutput) Index

func (GetServiceSecurityArrayOutput) ToGetServiceSecurityArrayOutput

func (o GetServiceSecurityArrayOutput) ToGetServiceSecurityArrayOutput() GetServiceSecurityArrayOutput

func (GetServiceSecurityArrayOutput) ToGetServiceSecurityArrayOutputWithContext

func (o GetServiceSecurityArrayOutput) ToGetServiceSecurityArrayOutputWithContext(ctx context.Context) GetServiceSecurityArrayOutput

type GetServiceSecurityInput

type GetServiceSecurityInput interface {
	pulumi.Input

	ToGetServiceSecurityOutput() GetServiceSecurityOutput
	ToGetServiceSecurityOutputWithContext(context.Context) GetServiceSecurityOutput
}

GetServiceSecurityInput is an input type that accepts GetServiceSecurityArgs and GetServiceSecurityOutput values. You can construct a concrete instance of `GetServiceSecurityInput` via:

GetServiceSecurityArgs{...}

type GetServiceSecurityOutput

type GetServiceSecurityOutput struct{ *pulumi.OutputState }

func (GetServiceSecurityOutput) ElementType

func (GetServiceSecurityOutput) ElementType() reflect.Type

func (GetServiceSecurityOutput) KerberosArmoringEnabled added in v5.16.0

func (o GetServiceSecurityOutput) KerberosArmoringEnabled() pulumi.BoolOutput

(Optional) Whether the Kerberos Armoring is enabled.

func (GetServiceSecurityOutput) KerberosRc4EncryptionEnabled added in v5.16.0

func (o GetServiceSecurityOutput) KerberosRc4EncryptionEnabled() pulumi.BoolOutput

(Optional) Whether the Kerberos RC4 Encryption is enabled.

func (GetServiceSecurityOutput) NtlmV1Enabled

func (o GetServiceSecurityOutput) NtlmV1Enabled() pulumi.BoolOutput

Whether legacy NTLM v1 support is enabled.

func (GetServiceSecurityOutput) SyncKerberosPasswords

func (o GetServiceSecurityOutput) SyncKerberosPasswords() pulumi.BoolOutput

Whether Kerberos password hashes are synchronized to the managed domain.

func (GetServiceSecurityOutput) SyncNtlmPasswords

func (o GetServiceSecurityOutput) SyncNtlmPasswords() pulumi.BoolOutput

Whether NTLM password hashes are synchronized to the managed domain.

func (GetServiceSecurityOutput) SyncOnPremPasswords

func (o GetServiceSecurityOutput) SyncOnPremPasswords() pulumi.BoolOutput

Whether on-premises password hashes are synchronized to the managed domain.

func (GetServiceSecurityOutput) TlsV1Enabled

func (o GetServiceSecurityOutput) TlsV1Enabled() pulumi.BoolOutput

Whether legacy TLS v1 support is enabled.

func (GetServiceSecurityOutput) ToGetServiceSecurityOutput

func (o GetServiceSecurityOutput) ToGetServiceSecurityOutput() GetServiceSecurityOutput

func (GetServiceSecurityOutput) ToGetServiceSecurityOutputWithContext

func (o GetServiceSecurityOutput) ToGetServiceSecurityOutputWithContext(ctx context.Context) GetServiceSecurityOutput

type LookupServiceArgs

type LookupServiceArgs struct {
	// The display name for your managed Active Directory Domain Service resource. Changing this forces a new resource to be created.
	Name string `pulumi:"name"`
	// The name of the Resource Group in which the Domain Service should exist. Changing this forces a new resource to be created.
	ResourceGroupName string `pulumi:"resourceGroupName"`
	// A mapping of tags assigned to the resource.
	Tags map[string]string `pulumi:"tags"`
}

A collection of arguments for invoking getService.

type LookupServiceOutputArgs

type LookupServiceOutputArgs struct {
	// The display name for your managed Active Directory Domain Service resource. Changing this forces a new resource to be created.
	Name pulumi.StringInput `pulumi:"name"`
	// The name of the Resource Group in which the Domain Service should exist. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringInput `pulumi:"resourceGroupName"`
	// A mapping of tags assigned to the resource.
	Tags pulumi.StringMapInput `pulumi:"tags"`
}

A collection of arguments for invoking getService.

func (LookupServiceOutputArgs) ElementType

func (LookupServiceOutputArgs) ElementType() reflect.Type

type LookupServiceResult

type LookupServiceResult struct {
	// A unique ID for the managed domain deployment.
	DeploymentId string `pulumi:"deploymentId"`
	// The forest type used by the managed domain. One of `ResourceTrusting`, for a _Resource Forest_, or blank, for a _User Forest_.
	DomainConfigurationType string `pulumi:"domainConfigurationType"`
	// The Active Directory domain of the Domain Service. See [official documentation](https://docs.microsoft.com/azure/active-directory-domain-services/tutorial-create-instance#create-a-managed-domain) for constraints and recommendations.
	DomainName string `pulumi:"domainName"`
	// Whether group-based filtered sync (also called scoped synchronisation) is enabled.
	FilteredSyncEnabled bool `pulumi:"filteredSyncEnabled"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// The Azure location in which the replica set resides.
	Location string `pulumi:"location"`
	Name     string `pulumi:"name"`
	// A `notifications` block as defined below.
	Notifications []GetServiceNotification `pulumi:"notifications"`
	// One or more `replicaSet` blocks as defined below.
	ReplicaSets       []GetServiceReplicaSet `pulumi:"replicaSets"`
	ResourceGroupName string                 `pulumi:"resourceGroupName"`
	ResourceId        string                 `pulumi:"resourceId"`
	// A `secureLdap` block as defined below.
	SecureLdaps []GetServiceSecureLdap `pulumi:"secureLdaps"`
	// A `security` block as defined below.
	Securities []GetServiceSecurity `pulumi:"securities"`
	// The SKU of the Domain Service resource. One of `Standard`, `Enterprise` or `Premium`.
	Sku       string `pulumi:"sku"`
	SyncOwner string `pulumi:"syncOwner"`
	// A mapping of tags assigned to the resource.
	Tags     map[string]string `pulumi:"tags"`
	TenantId string            `pulumi:"tenantId"`
	Version  int               `pulumi:"version"`
}

A collection of values returned by getService.

func LookupService

func LookupService(ctx *pulumi.Context, args *LookupServiceArgs, opts ...pulumi.InvokeOption) (*LookupServiceResult, error)

Gets information about an Active Directory Domain Service.

> **Supported Modes:** At present this data source only supports **User Forest** mode and _not_ **Resource Forest** mode. [Read more](https://docs.microsoft.com/azure/active-directory-domain-services/concepts-resource-forest) about the different operation modes for this service.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/domainservices"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := domainservices.LookupService(ctx, &domainservices.LookupServiceArgs{
			Name:              "example-aadds",
			ResourceGroupName: "example-aadds-rg",
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type LookupServiceResultOutput

type LookupServiceResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getService.

func (LookupServiceResultOutput) DeploymentId

A unique ID for the managed domain deployment.

func (LookupServiceResultOutput) DomainConfigurationType

func (o LookupServiceResultOutput) DomainConfigurationType() pulumi.StringOutput

The forest type used by the managed domain. One of `ResourceTrusting`, for a _Resource Forest_, or blank, for a _User Forest_.

func (LookupServiceResultOutput) DomainName

The Active Directory domain of the Domain Service. See [official documentation](https://docs.microsoft.com/azure/active-directory-domain-services/tutorial-create-instance#create-a-managed-domain) for constraints and recommendations.

func (LookupServiceResultOutput) ElementType

func (LookupServiceResultOutput) ElementType() reflect.Type

func (LookupServiceResultOutput) FilteredSyncEnabled

func (o LookupServiceResultOutput) FilteredSyncEnabled() pulumi.BoolOutput

Whether group-based filtered sync (also called scoped synchronisation) is enabled.

func (LookupServiceResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (LookupServiceResultOutput) Location

The Azure location in which the replica set resides.

func (LookupServiceResultOutput) Name

func (LookupServiceResultOutput) Notifications

A `notifications` block as defined below.

func (LookupServiceResultOutput) ReplicaSets

One or more `replicaSet` blocks as defined below.

func (LookupServiceResultOutput) ResourceGroupName

func (o LookupServiceResultOutput) ResourceGroupName() pulumi.StringOutput

func (LookupServiceResultOutput) ResourceId

func (LookupServiceResultOutput) SecureLdaps

A `secureLdap` block as defined below.

func (LookupServiceResultOutput) Securities

A `security` block as defined below.

func (LookupServiceResultOutput) Sku

The SKU of the Domain Service resource. One of `Standard`, `Enterprise` or `Premium`.

func (LookupServiceResultOutput) SyncOwner

func (LookupServiceResultOutput) Tags

A mapping of tags assigned to the resource.

func (LookupServiceResultOutput) TenantId

func (LookupServiceResultOutput) ToLookupServiceResultOutput

func (o LookupServiceResultOutput) ToLookupServiceResultOutput() LookupServiceResultOutput

func (LookupServiceResultOutput) ToLookupServiceResultOutputWithContext

func (o LookupServiceResultOutput) ToLookupServiceResultOutputWithContext(ctx context.Context) LookupServiceResultOutput

func (LookupServiceResultOutput) Version

type ReplicaSet

type ReplicaSet struct {
	pulumi.CustomResourceState

	// A list of subnet IP addresses for the domain controllers in this Replica Set, typically two.
	DomainControllerIpAddresses pulumi.StringArrayOutput `pulumi:"domainControllerIpAddresses"`
	// The ID of the Domain Service for which to create this Replica Set. Changing this forces a new resource to be created.
	DomainServiceId pulumi.StringOutput `pulumi:"domainServiceId"`
	// The publicly routable IP address for the domain controllers in this Replica Set.
	ExternalAccessIpAddress pulumi.StringOutput `pulumi:"externalAccessIpAddress"`
	// The Azure location where this Replica Set should exist. Changing this forces a new resource to be created.
	Location pulumi.StringOutput `pulumi:"location"`
	// The current service status for the replica set.
	ServiceStatus pulumi.StringOutput `pulumi:"serviceStatus"`
	// The ID of the subnet in which to place this Replica Set. Changing this forces a new resource to be created.
	SubnetId pulumi.StringOutput `pulumi:"subnetId"`
}

Manages a Replica Set for an Active Directory Domain Service.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/core"
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/domainservices"
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/network"
"github.com/pulumi/pulumi-azuread/sdk/v5/go/azuread"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

) func main() { pulumi.Run(func(ctx *pulumi.Context) error { primary, err := core.NewResourceGroup(ctx, "primary", &core.ResourceGroupArgs{ Name: pulumi.String("aadds-primary-rg"), Location: pulumi.String("West Europe"), }) if err != nil { return err } primaryVirtualNetwork, err := network.NewVirtualNetwork(ctx, "primary", &network.VirtualNetworkArgs{ Name: pulumi.String("aadds-primary-vnet"), Location: primary.Location, ResourceGroupName: primary.Name, AddressSpaces: pulumi.StringArray{ pulumi.String("10.0.1.0/16"), }, }) if err != nil { return err } primarySubnet, err := network.NewSubnet(ctx, "primary", &network.SubnetArgs{ Name: pulumi.String("aadds-primary-subnet"), ResourceGroupName: primary.Name, VirtualNetworkName: primaryVirtualNetwork.Name, AddressPrefixes: pulumi.StringArray{ pulumi.String("10.0.1.0/24"), }, }) if err != nil { return err } primaryNetworkSecurityGroup, err := network.NewNetworkSecurityGroup(ctx, "primary", &network.NetworkSecurityGroupArgs{ Name: pulumi.String("aadds-primary-nsg"), Location: primary.Location, ResourceGroupName: primary.Name, SecurityRules: network.NetworkSecurityGroupSecurityRuleArray{ &network.NetworkSecurityGroupSecurityRuleArgs{ Name: pulumi.String("AllowSyncWithAzureAD"), Priority: pulumi.Int(101), Direction: pulumi.String("Inbound"), Access: pulumi.String("Allow"), Protocol: pulumi.String("Tcp"), SourcePortRange: pulumi.String("*"), DestinationPortRange: pulumi.String("443"), SourceAddressPrefix: pulumi.String("AzureActiveDirectoryDomainServices"), DestinationAddressPrefix: pulumi.String("*"), }, &network.NetworkSecurityGroupSecurityRuleArgs{ Name: pulumi.String("AllowRD"), Priority: pulumi.Int(201), Direction: pulumi.String("Inbound"), Access: pulumi.String("Allow"), Protocol: pulumi.String("Tcp"), SourcePortRange: pulumi.String("*"), DestinationPortRange: pulumi.String("3389"), SourceAddressPrefix: pulumi.String("CorpNetSaw"), DestinationAddressPrefix: pulumi.String("*"), }, &network.NetworkSecurityGroupSecurityRuleArgs{ Name: pulumi.String("AllowPSRemoting"), Priority: pulumi.Int(301), Direction: pulumi.String("Inbound"), Access: pulumi.String("Allow"), Protocol: pulumi.String("Tcp"), SourcePortRange: pulumi.String("*"), DestinationPortRange: pulumi.String("5986"), SourceAddressPrefix: pulumi.String("AzureActiveDirectoryDomainServices"), DestinationAddressPrefix: pulumi.String("*"), }, &network.NetworkSecurityGroupSecurityRuleArgs{ Name: pulumi.String("AllowLDAPS"), Priority: pulumi.Int(401), Direction: pulumi.String("Inbound"), Access: pulumi.String("Allow"), Protocol: pulumi.String("Tcp"), SourcePortRange: pulumi.String("*"), DestinationPortRange: pulumi.String("636"), SourceAddressPrefix: pulumi.String("*"), DestinationAddressPrefix: pulumi.String("*"), }, }, }) if err != nil { return err } _, err = network.NewSubnetNetworkSecurityGroupAssociation(ctx, "primary", &network.SubnetNetworkSecurityGroupAssociationArgs{ SubnetId: primarySubnet.ID(), NetworkSecurityGroupId: primaryNetworkSecurityGroup.ID(), }) if err != nil { return err } dcAdmins, err := azuread.NewGroup(ctx, "dc_admins", &azuread.GroupArgs{ DisplayName: pulumi.String("aad-dc-administrators"), SecurityEnabled: pulumi.Bool(true), }) if err != nil { return err } admin, err := azuread.NewUser(ctx, "admin", &azuread.UserArgs{ UserPrincipalName: pulumi.String("dc-admin@hashicorp-example.net"), DisplayName: pulumi.String("DC Administrator"), Password: pulumi.String("Pa55w0Rd!!1"), }) if err != nil { return err } _, err = azuread.NewGroupMember(ctx, "admin", &azuread.GroupMemberArgs{ GroupObjectId: dcAdmins.ObjectId, MemberObjectId: admin.ObjectId, }) if err != nil { return err } _, err = azuread.NewServicePrincipal(ctx, "example", &azuread.ServicePrincipalArgs{ ApplicationId: pulumi.String("2565bd9d-da50-47d4-8b85-4c97f669dc36"), }) if err != nil { return err } aadds, err := core.NewResourceGroup(ctx, "aadds", &core.ResourceGroupArgs{ Name: pulumi.String("aadds-rg"), Location: pulumi.String("westeurope"), }) if err != nil { return err } exampleService, err := domainservices.NewService(ctx, "example", &domainservices.ServiceArgs{ Name: pulumi.String("example-aadds"), Location: aadds.Location, ResourceGroupName: aadds.Name, DomainName: pulumi.String("widgetslogin.net"), Sku: pulumi.String("Enterprise"), FilteredSyncEnabled: pulumi.Bool(false), InitialReplicaSet: &domainservices.ServiceInitialReplicaSetArgs{ Location: primaryVirtualNetwork.Location, SubnetId: primarySubnet.ID(), }, Notifications: &domainservices.ServiceNotificationsArgs{ AdditionalRecipients: pulumi.StringArray{ pulumi.String("notifyA@example.net"), pulumi.String("notifyB@example.org"), }, NotifyDcAdmins: pulumi.Bool(true), NotifyGlobalAdmins: pulumi.Bool(true), }, Security: &domainservices.ServiceSecurityArgs{ SyncKerberosPasswords: pulumi.Bool(true), SyncNtlmPasswords: pulumi.Bool(true), SyncOnPremPasswords: pulumi.Bool(true), }, Tags: pulumi.StringMap{ "Environment": pulumi.String("prod"), }, }) if err != nil { return err } replica, err := core.NewResourceGroup(ctx, "replica", &core.ResourceGroupArgs{ Name: pulumi.String("aadds-replica-rg"), Location: pulumi.String("North Europe"), }) if err != nil { return err } replicaVirtualNetwork, err := network.NewVirtualNetwork(ctx, "replica", &network.VirtualNetworkArgs{ Name: pulumi.String("aadds-replica-vnet"), Location: replica.Location, ResourceGroupName: replica.Name, AddressSpaces: pulumi.StringArray{ pulumi.String("10.20.0.0/16"), }, }) if err != nil { return err } aaddsReplica, err := network.NewSubnet(ctx, "aadds_replica", &network.SubnetArgs{ Name: pulumi.String("aadds-replica-subnet"), ResourceGroupName: replica.Name, VirtualNetworkName: replicaVirtualNetwork.Name, AddressPrefixes: pulumi.StringArray{ pulumi.String("10.20.0.0/24"), }, }) if err != nil { return err } aaddsReplicaNetworkSecurityGroup, err := network.NewNetworkSecurityGroup(ctx, "aadds_replica", &network.NetworkSecurityGroupArgs{ Name: pulumi.String("aadds-replica-nsg"), Location: replica.Location, ResourceGroupName: replica.Name, SecurityRules: network.NetworkSecurityGroupSecurityRuleArray{ &network.NetworkSecurityGroupSecurityRuleArgs{ Name: pulumi.String("AllowSyncWithAzureAD"), Priority: pulumi.Int(101), Direction: pulumi.String("Inbound"), Access: pulumi.String("Allow"), Protocol: pulumi.String("Tcp"), SourcePortRange: pulumi.String("*"), DestinationPortRange: pulumi.String("443"), SourceAddressPrefix: pulumi.String("AzureActiveDirectoryDomainServices"), DestinationAddressPrefix: pulumi.String("*"), }, &network.NetworkSecurityGroupSecurityRuleArgs{ Name: pulumi.String("AllowRD"), Priority: pulumi.Int(201), Direction: pulumi.String("Inbound"), Access: pulumi.String("Allow"), Protocol: pulumi.String("Tcp"), SourcePortRange: pulumi.String("*"), DestinationPortRange: pulumi.String("3389"), SourceAddressPrefix: pulumi.String("CorpNetSaw"), DestinationAddressPrefix: pulumi.String("*"), }, &network.NetworkSecurityGroupSecurityRuleArgs{ Name: pulumi.String("AllowPSRemoting"), Priority: pulumi.Int(301), Direction: pulumi.String("Inbound"), Access: pulumi.String("Allow"), Protocol: pulumi.String("Tcp"), SourcePortRange: pulumi.String("*"), DestinationPortRange: pulumi.String("5986"), SourceAddressPrefix: pulumi.String("AzureActiveDirectoryDomainServices"), DestinationAddressPrefix: pulumi.String("*"), }, &network.NetworkSecurityGroupSecurityRuleArgs{ Name: pulumi.String("AllowLDAPS"), Priority: pulumi.Int(401), Direction: pulumi.String("Inbound"), Access: pulumi.String("Allow"), Protocol: pulumi.String("Tcp"), SourcePortRange: pulumi.String("*"), DestinationPortRange: pulumi.String("636"), SourceAddressPrefix: pulumi.String("*"), DestinationAddressPrefix: pulumi.String("*"), }, }, }) if err != nil { return err } _, err = network.NewSubnetNetworkSecurityGroupAssociation(ctx, "replica", &network.SubnetNetworkSecurityGroupAssociationArgs{ SubnetId: aaddsReplica.ID(), NetworkSecurityGroupId: aaddsReplicaNetworkSecurityGroup.ID(), }) if err != nil { return err } _, err = network.NewVirtualNetworkPeering(ctx, "primary_replica", &network.VirtualNetworkPeeringArgs{ Name: pulumi.String("aadds-primary-replica"), ResourceGroupName: primaryVirtualNetwork.ResourceGroupName, VirtualNetworkName: primaryVirtualNetwork.Name, RemoteVirtualNetworkId: replicaVirtualNetwork.ID(), AllowForwardedTraffic: pulumi.Bool(true), AllowGatewayTransit: pulumi.Bool(false), AllowVirtualNetworkAccess: pulumi.Bool(true), UseRemoteGateways: pulumi.Bool(false), }) if err != nil { return err } _, err = network.NewVirtualNetworkPeering(ctx, "replica_primary", &network.VirtualNetworkPeeringArgs{ Name: pulumi.String("aadds-replica-primary"), ResourceGroupName: replicaVirtualNetwork.ResourceGroupName, VirtualNetworkName: replicaVirtualNetwork.Name, RemoteVirtualNetworkId: primaryVirtualNetwork.ID(), AllowForwardedTraffic: pulumi.Bool(true), AllowGatewayTransit: pulumi.Bool(false), AllowVirtualNetworkAccess: pulumi.Bool(true), UseRemoteGateways: pulumi.Bool(false), }) if err != nil { return err } _, err = network.NewVirtualNetworkDnsServers(ctx, "replica", &network.VirtualNetworkDnsServersArgs{ VirtualNetworkId: replicaVirtualNetwork.ID(), DnsServers: exampleService.InitialReplicaSet.ApplyT(func(initialReplicaSet domainservices.ServiceInitialReplicaSet) (interface{}, error) { return initialReplicaSet.DomainControllerIpAddresses, nil }).(pulumi.Interface{}Output), }) if err != nil { return err } _, err = domainservices.NewReplicaSet(ctx, "replica", &domainservices.ReplicaSetArgs{ DomainServiceId: exampleService.ID(), Location: replica.Location, SubnetId: aaddsReplica.ID(), }) if err != nil { return err } return nil }) } ```

## Import

Domain Service Replica Sets can be imported using the resource ID of the parent Domain Service and the Replica Set ID, e.g.

```sh $ pulumi import azure:domainservices/replicaSet:ReplicaSet example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/mygroup1/providers/Microsoft.AAD/domainServices/instance1/replicaSets/00000000-0000-0000-0000-000000000000 ```

func GetReplicaSet

func GetReplicaSet(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ReplicaSetState, opts ...pulumi.ResourceOption) (*ReplicaSet, error)

GetReplicaSet gets an existing ReplicaSet resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewReplicaSet

func NewReplicaSet(ctx *pulumi.Context,
	name string, args *ReplicaSetArgs, opts ...pulumi.ResourceOption) (*ReplicaSet, error)

NewReplicaSet registers a new resource with the given unique name, arguments, and options.

func (*ReplicaSet) ElementType

func (*ReplicaSet) ElementType() reflect.Type

func (*ReplicaSet) ToReplicaSetOutput

func (i *ReplicaSet) ToReplicaSetOutput() ReplicaSetOutput

func (*ReplicaSet) ToReplicaSetOutputWithContext

func (i *ReplicaSet) ToReplicaSetOutputWithContext(ctx context.Context) ReplicaSetOutput

type ReplicaSetArgs

type ReplicaSetArgs struct {
	// The ID of the Domain Service for which to create this Replica Set. Changing this forces a new resource to be created.
	DomainServiceId pulumi.StringInput
	// The Azure location where this Replica Set should exist. Changing this forces a new resource to be created.
	Location pulumi.StringPtrInput
	// The ID of the subnet in which to place this Replica Set. Changing this forces a new resource to be created.
	SubnetId pulumi.StringInput
}

The set of arguments for constructing a ReplicaSet resource.

func (ReplicaSetArgs) ElementType

func (ReplicaSetArgs) ElementType() reflect.Type

type ReplicaSetArray

type ReplicaSetArray []ReplicaSetInput

func (ReplicaSetArray) ElementType

func (ReplicaSetArray) ElementType() reflect.Type

func (ReplicaSetArray) ToReplicaSetArrayOutput

func (i ReplicaSetArray) ToReplicaSetArrayOutput() ReplicaSetArrayOutput

func (ReplicaSetArray) ToReplicaSetArrayOutputWithContext

func (i ReplicaSetArray) ToReplicaSetArrayOutputWithContext(ctx context.Context) ReplicaSetArrayOutput

type ReplicaSetArrayInput

type ReplicaSetArrayInput interface {
	pulumi.Input

	ToReplicaSetArrayOutput() ReplicaSetArrayOutput
	ToReplicaSetArrayOutputWithContext(context.Context) ReplicaSetArrayOutput
}

ReplicaSetArrayInput is an input type that accepts ReplicaSetArray and ReplicaSetArrayOutput values. You can construct a concrete instance of `ReplicaSetArrayInput` via:

ReplicaSetArray{ ReplicaSetArgs{...} }

type ReplicaSetArrayOutput

type ReplicaSetArrayOutput struct{ *pulumi.OutputState }

func (ReplicaSetArrayOutput) ElementType

func (ReplicaSetArrayOutput) ElementType() reflect.Type

func (ReplicaSetArrayOutput) Index

func (ReplicaSetArrayOutput) ToReplicaSetArrayOutput

func (o ReplicaSetArrayOutput) ToReplicaSetArrayOutput() ReplicaSetArrayOutput

func (ReplicaSetArrayOutput) ToReplicaSetArrayOutputWithContext

func (o ReplicaSetArrayOutput) ToReplicaSetArrayOutputWithContext(ctx context.Context) ReplicaSetArrayOutput

type ReplicaSetInput

type ReplicaSetInput interface {
	pulumi.Input

	ToReplicaSetOutput() ReplicaSetOutput
	ToReplicaSetOutputWithContext(ctx context.Context) ReplicaSetOutput
}

type ReplicaSetMap

type ReplicaSetMap map[string]ReplicaSetInput

func (ReplicaSetMap) ElementType

func (ReplicaSetMap) ElementType() reflect.Type

func (ReplicaSetMap) ToReplicaSetMapOutput

func (i ReplicaSetMap) ToReplicaSetMapOutput() ReplicaSetMapOutput

func (ReplicaSetMap) ToReplicaSetMapOutputWithContext

func (i ReplicaSetMap) ToReplicaSetMapOutputWithContext(ctx context.Context) ReplicaSetMapOutput

type ReplicaSetMapInput

type ReplicaSetMapInput interface {
	pulumi.Input

	ToReplicaSetMapOutput() ReplicaSetMapOutput
	ToReplicaSetMapOutputWithContext(context.Context) ReplicaSetMapOutput
}

ReplicaSetMapInput is an input type that accepts ReplicaSetMap and ReplicaSetMapOutput values. You can construct a concrete instance of `ReplicaSetMapInput` via:

ReplicaSetMap{ "key": ReplicaSetArgs{...} }

type ReplicaSetMapOutput

type ReplicaSetMapOutput struct{ *pulumi.OutputState }

func (ReplicaSetMapOutput) ElementType

func (ReplicaSetMapOutput) ElementType() reflect.Type

func (ReplicaSetMapOutput) MapIndex

func (ReplicaSetMapOutput) ToReplicaSetMapOutput

func (o ReplicaSetMapOutput) ToReplicaSetMapOutput() ReplicaSetMapOutput

func (ReplicaSetMapOutput) ToReplicaSetMapOutputWithContext

func (o ReplicaSetMapOutput) ToReplicaSetMapOutputWithContext(ctx context.Context) ReplicaSetMapOutput

type ReplicaSetOutput

type ReplicaSetOutput struct{ *pulumi.OutputState }

func (ReplicaSetOutput) DomainControllerIpAddresses added in v5.5.0

func (o ReplicaSetOutput) DomainControllerIpAddresses() pulumi.StringArrayOutput

A list of subnet IP addresses for the domain controllers in this Replica Set, typically two.

func (ReplicaSetOutput) DomainServiceId added in v5.5.0

func (o ReplicaSetOutput) DomainServiceId() pulumi.StringOutput

The ID of the Domain Service for which to create this Replica Set. Changing this forces a new resource to be created.

func (ReplicaSetOutput) ElementType

func (ReplicaSetOutput) ElementType() reflect.Type

func (ReplicaSetOutput) ExternalAccessIpAddress added in v5.5.0

func (o ReplicaSetOutput) ExternalAccessIpAddress() pulumi.StringOutput

The publicly routable IP address for the domain controllers in this Replica Set.

func (ReplicaSetOutput) Location added in v5.5.0

func (o ReplicaSetOutput) Location() pulumi.StringOutput

The Azure location where this Replica Set should exist. Changing this forces a new resource to be created.

func (ReplicaSetOutput) ServiceStatus added in v5.5.0

func (o ReplicaSetOutput) ServiceStatus() pulumi.StringOutput

The current service status for the replica set.

func (ReplicaSetOutput) SubnetId added in v5.5.0

func (o ReplicaSetOutput) SubnetId() pulumi.StringOutput

The ID of the subnet in which to place this Replica Set. Changing this forces a new resource to be created.

func (ReplicaSetOutput) ToReplicaSetOutput

func (o ReplicaSetOutput) ToReplicaSetOutput() ReplicaSetOutput

func (ReplicaSetOutput) ToReplicaSetOutputWithContext

func (o ReplicaSetOutput) ToReplicaSetOutputWithContext(ctx context.Context) ReplicaSetOutput

type ReplicaSetState

type ReplicaSetState struct {
	// A list of subnet IP addresses for the domain controllers in this Replica Set, typically two.
	DomainControllerIpAddresses pulumi.StringArrayInput
	// The ID of the Domain Service for which to create this Replica Set. Changing this forces a new resource to be created.
	DomainServiceId pulumi.StringPtrInput
	// The publicly routable IP address for the domain controllers in this Replica Set.
	ExternalAccessIpAddress pulumi.StringPtrInput
	// The Azure location where this Replica Set should exist. Changing this forces a new resource to be created.
	Location pulumi.StringPtrInput
	// The current service status for the replica set.
	ServiceStatus pulumi.StringPtrInput
	// The ID of the subnet in which to place this Replica Set. Changing this forces a new resource to be created.
	SubnetId pulumi.StringPtrInput
}

func (ReplicaSetState) ElementType

func (ReplicaSetState) ElementType() reflect.Type

type Service

type Service struct {
	pulumi.CustomResourceState

	// A unique ID for the managed domain deployment.
	DeploymentId pulumi.StringOutput `pulumi:"deploymentId"`
	// The configuration type of this Active Directory Domain. Possible values are `FullySynced` and `ResourceTrusting`. Changing this forces a new resource to be created.
	DomainConfigurationType pulumi.StringPtrOutput `pulumi:"domainConfigurationType"`
	// The Active Directory domain to use. See [official documentation](https://docs.microsoft.com/azure/active-directory-domain-services/tutorial-create-instance#create-a-managed-domain) for constraints and recommendations. Changing this forces a new resource to be created.
	DomainName pulumi.StringOutput `pulumi:"domainName"`
	// Whether to enable group-based filtered sync (also called scoped synchronisation). Defaults to `false`.
	FilteredSyncEnabled pulumi.BoolPtrOutput `pulumi:"filteredSyncEnabled"`
	// An `initialReplicaSet` block as defined below. The initial replica set inherits the same location as the Domain Service resource.
	InitialReplicaSet ServiceInitialReplicaSetOutput `pulumi:"initialReplicaSet"`
	// The Azure location where the Domain Service exists. Changing this forces a new resource to be created.
	Location pulumi.StringOutput `pulumi:"location"`
	// The display name for your managed Active Directory Domain Service resource. Changing this forces a new resource to be created.
	Name pulumi.StringOutput `pulumi:"name"`
	// A `notifications` block as defined below.
	Notifications ServiceNotificationsOutput `pulumi:"notifications"`
	// The name of the Resource Group in which the Domain Service should exist. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringOutput `pulumi:"resourceGroupName"`
	// The Azure resource ID for the domain service.
	ResourceId pulumi.StringOutput `pulumi:"resourceId"`
	// A `secureLdap` block as defined below.
	SecureLdap ServiceSecureLdapOutput `pulumi:"secureLdap"`
	// A `security` block as defined below.
	Security ServiceSecurityOutput `pulumi:"security"`
	// The SKU to use when provisioning the Domain Service resource. One of `Standard`, `Enterprise` or `Premium`.
	Sku       pulumi.StringOutput `pulumi:"sku"`
	SyncOwner pulumi.StringOutput `pulumi:"syncOwner"`
	// A mapping of tags assigned to the resource.
	Tags     pulumi.StringMapOutput `pulumi:"tags"`
	TenantId pulumi.StringOutput    `pulumi:"tenantId"`
	Version  pulumi.IntOutput       `pulumi:"version"`
}

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/core"
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/domainservices"
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/network"
"github.com/pulumi/pulumi-azuread/sdk/v5/go/azuread"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		deploy, err := core.NewResourceGroup(ctx, "deploy", &core.ResourceGroupArgs{
			Name:     pulumi.String("example-resources"),
			Location: pulumi.String("West Europe"),
		})
		if err != nil {
			return err
		}
		deployVirtualNetwork, err := network.NewVirtualNetwork(ctx, "deploy", &network.VirtualNetworkArgs{
			Name:              pulumi.String("deploy-vnet"),
			Location:          deploy.Location,
			ResourceGroupName: deploy.Name,
			AddressSpaces: pulumi.StringArray{
				pulumi.String("10.0.1.0/16"),
			},
		})
		if err != nil {
			return err
		}
		deploySubnet, err := network.NewSubnet(ctx, "deploy", &network.SubnetArgs{
			Name:               pulumi.String("deploy-subnet"),
			ResourceGroupName:  deploy.Name,
			VirtualNetworkName: deployVirtualNetwork.Name,
			AddressPrefixes: pulumi.StringArray{
				pulumi.String("10.0.1.0/24"),
			},
		})
		if err != nil {
			return err
		}
		deployNetworkSecurityGroup, err := network.NewNetworkSecurityGroup(ctx, "deploy", &network.NetworkSecurityGroupArgs{
			Name:              pulumi.String("deploy-nsg"),
			Location:          deploy.Location,
			ResourceGroupName: deploy.Name,
			SecurityRules: network.NetworkSecurityGroupSecurityRuleArray{
				&network.NetworkSecurityGroupSecurityRuleArgs{
					Name:                     pulumi.String("AllowSyncWithAzureAD"),
					Priority:                 pulumi.Int(101),
					Direction:                pulumi.String("Inbound"),
					Access:                   pulumi.String("Allow"),
					Protocol:                 pulumi.String("Tcp"),
					SourcePortRange:          pulumi.String("*"),
					DestinationPortRange:     pulumi.String("443"),
					SourceAddressPrefix:      pulumi.String("AzureActiveDirectoryDomainServices"),
					DestinationAddressPrefix: pulumi.String("*"),
				},
				&network.NetworkSecurityGroupSecurityRuleArgs{
					Name:                     pulumi.String("AllowRD"),
					Priority:                 pulumi.Int(201),
					Direction:                pulumi.String("Inbound"),
					Access:                   pulumi.String("Allow"),
					Protocol:                 pulumi.String("Tcp"),
					SourcePortRange:          pulumi.String("*"),
					DestinationPortRange:     pulumi.String("3389"),
					SourceAddressPrefix:      pulumi.String("CorpNetSaw"),
					DestinationAddressPrefix: pulumi.String("*"),
				},
				&network.NetworkSecurityGroupSecurityRuleArgs{
					Name:                     pulumi.String("AllowPSRemoting"),
					Priority:                 pulumi.Int(301),
					Direction:                pulumi.String("Inbound"),
					Access:                   pulumi.String("Allow"),
					Protocol:                 pulumi.String("Tcp"),
					SourcePortRange:          pulumi.String("*"),
					DestinationPortRange:     pulumi.String("5986"),
					SourceAddressPrefix:      pulumi.String("AzureActiveDirectoryDomainServices"),
					DestinationAddressPrefix: pulumi.String("*"),
				},
				&network.NetworkSecurityGroupSecurityRuleArgs{
					Name:                     pulumi.String("AllowLDAPS"),
					Priority:                 pulumi.Int(401),
					Direction:                pulumi.String("Inbound"),
					Access:                   pulumi.String("Allow"),
					Protocol:                 pulumi.String("Tcp"),
					SourcePortRange:          pulumi.String("*"),
					DestinationPortRange:     pulumi.String("636"),
					SourceAddressPrefix:      pulumi.String("*"),
					DestinationAddressPrefix: pulumi.String("*"),
				},
			},
		})
		if err != nil {
			return err
		}
		_, err = network.NewSubnetNetworkSecurityGroupAssociation(ctx, "deploy", &network.SubnetNetworkSecurityGroupAssociationArgs{
			SubnetId:               deploySubnet.ID(),
			NetworkSecurityGroupId: deployNetworkSecurityGroup.ID(),
		})
		if err != nil {
			return err
		}
		dcAdmins, err := azuread.NewGroup(ctx, "dc_admins", &azuread.GroupArgs{
			DisplayName:     pulumi.String("AAD DC Administrators"),
			SecurityEnabled: pulumi.Bool(true),
		})
		if err != nil {
			return err
		}
		admin, err := azuread.NewUser(ctx, "admin", &azuread.UserArgs{
			UserPrincipalName: pulumi.String("dc-admin@hashicorp-example.com"),
			DisplayName:       pulumi.String("DC Administrator"),
			Password:          pulumi.String("Pa55w0Rd!!1"),
		})
		if err != nil {
			return err
		}
		_, err = azuread.NewGroupMember(ctx, "admin", &azuread.GroupMemberArgs{
			GroupObjectId:  dcAdmins.ObjectId,
			MemberObjectId: admin.ObjectId,
		})
		if err != nil {
			return err
		}
		_, err = azuread.NewServicePrincipal(ctx, "example", &azuread.ServicePrincipalArgs{
			ApplicationId: pulumi.String("2565bd9d-da50-47d4-8b85-4c97f669dc36"),
		})
		if err != nil {
			return err
		}
		aadds, err := core.NewResourceGroup(ctx, "aadds", &core.ResourceGroupArgs{
			Name:     pulumi.String("aadds-rg"),
			Location: pulumi.String("westeurope"),
		})
		if err != nil {
			return err
		}
		_, err = domainservices.NewService(ctx, "example", &domainservices.ServiceArgs{
			Name:                pulumi.String("example-aadds"),
			Location:            aadds.Location,
			ResourceGroupName:   aadds.Name,
			DomainName:          pulumi.String("widgetslogin.net"),
			Sku:                 pulumi.String("Enterprise"),
			FilteredSyncEnabled: pulumi.Bool(false),
			InitialReplicaSet: &domainservices.ServiceInitialReplicaSetArgs{
				SubnetId: deploySubnet.ID(),
			},
			Notifications: &domainservices.ServiceNotificationsArgs{
				AdditionalRecipients: pulumi.StringArray{
					pulumi.String("notifyA@example.net"),
					pulumi.String("notifyB@example.org"),
				},
				NotifyDcAdmins:     pulumi.Bool(true),
				NotifyGlobalAdmins: pulumi.Bool(true),
			},
			Security: &domainservices.ServiceSecurityArgs{
				SyncKerberosPasswords: pulumi.Bool(true),
				SyncNtlmPasswords:     pulumi.Bool(true),
				SyncOnPremPasswords:   pulumi.Bool(true),
			},
			Tags: pulumi.StringMap{
				"Environment": pulumi.String("prod"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Domain Services can be imported using the resource ID, together with the Replica Set ID that you wish to designate as the initial replica set, e.g.

```sh $ pulumi import azure:domainservices/service:Service example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/mygroup1/providers/Microsoft.AAD/domainServices/instance1/initialReplicaSetId/00000000-0000-0000-0000-000000000000 ```

func GetService

func GetService(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ServiceState, opts ...pulumi.ResourceOption) (*Service, error)

GetService gets an existing Service resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewService

func NewService(ctx *pulumi.Context,
	name string, args *ServiceArgs, opts ...pulumi.ResourceOption) (*Service, error)

NewService registers a new resource with the given unique name, arguments, and options.

func (*Service) ElementType

func (*Service) ElementType() reflect.Type

func (*Service) ToServiceOutput

func (i *Service) ToServiceOutput() ServiceOutput

func (*Service) ToServiceOutputWithContext

func (i *Service) ToServiceOutputWithContext(ctx context.Context) ServiceOutput

type ServiceArgs

type ServiceArgs struct {
	// The configuration type of this Active Directory Domain. Possible values are `FullySynced` and `ResourceTrusting`. Changing this forces a new resource to be created.
	DomainConfigurationType pulumi.StringPtrInput
	// The Active Directory domain to use. See [official documentation](https://docs.microsoft.com/azure/active-directory-domain-services/tutorial-create-instance#create-a-managed-domain) for constraints and recommendations. Changing this forces a new resource to be created.
	DomainName pulumi.StringInput
	// Whether to enable group-based filtered sync (also called scoped synchronisation). Defaults to `false`.
	FilteredSyncEnabled pulumi.BoolPtrInput
	// An `initialReplicaSet` block as defined below. The initial replica set inherits the same location as the Domain Service resource.
	InitialReplicaSet ServiceInitialReplicaSetInput
	// The Azure location where the Domain Service exists. Changing this forces a new resource to be created.
	Location pulumi.StringPtrInput
	// The display name for your managed Active Directory Domain Service resource. Changing this forces a new resource to be created.
	Name pulumi.StringPtrInput
	// A `notifications` block as defined below.
	Notifications ServiceNotificationsPtrInput
	// The name of the Resource Group in which the Domain Service should exist. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringInput
	// A `secureLdap` block as defined below.
	SecureLdap ServiceSecureLdapPtrInput
	// A `security` block as defined below.
	Security ServiceSecurityPtrInput
	// The SKU to use when provisioning the Domain Service resource. One of `Standard`, `Enterprise` or `Premium`.
	Sku pulumi.StringInput
	// A mapping of tags assigned to the resource.
	Tags pulumi.StringMapInput
}

The set of arguments for constructing a Service resource.

func (ServiceArgs) ElementType

func (ServiceArgs) ElementType() reflect.Type

type ServiceArray

type ServiceArray []ServiceInput

func (ServiceArray) ElementType

func (ServiceArray) ElementType() reflect.Type

func (ServiceArray) ToServiceArrayOutput

func (i ServiceArray) ToServiceArrayOutput() ServiceArrayOutput

func (ServiceArray) ToServiceArrayOutputWithContext

func (i ServiceArray) ToServiceArrayOutputWithContext(ctx context.Context) ServiceArrayOutput

type ServiceArrayInput

type ServiceArrayInput interface {
	pulumi.Input

	ToServiceArrayOutput() ServiceArrayOutput
	ToServiceArrayOutputWithContext(context.Context) ServiceArrayOutput
}

ServiceArrayInput is an input type that accepts ServiceArray and ServiceArrayOutput values. You can construct a concrete instance of `ServiceArrayInput` via:

ServiceArray{ ServiceArgs{...} }

type ServiceArrayOutput

type ServiceArrayOutput struct{ *pulumi.OutputState }

func (ServiceArrayOutput) ElementType

func (ServiceArrayOutput) ElementType() reflect.Type

func (ServiceArrayOutput) Index

func (ServiceArrayOutput) ToServiceArrayOutput

func (o ServiceArrayOutput) ToServiceArrayOutput() ServiceArrayOutput

func (ServiceArrayOutput) ToServiceArrayOutputWithContext

func (o ServiceArrayOutput) ToServiceArrayOutputWithContext(ctx context.Context) ServiceArrayOutput

type ServiceInitialReplicaSet

type ServiceInitialReplicaSet struct {
	// A list of subnet IP addresses for the domain controllers in the initial replica set, typically two.
	DomainControllerIpAddresses []string `pulumi:"domainControllerIpAddresses"`
	// The publicly routable IP address for the domain controllers in the initial replica set.
	ExternalAccessIpAddress *string `pulumi:"externalAccessIpAddress"`
	// A unique ID for the replica set.
	Id *string `pulumi:"id"`
	// The Azure location where the Domain Service exists. Changing this forces a new resource to be created.
	Location *string `pulumi:"location"`
	// The current service status for the initial replica set.
	ServiceStatus *string `pulumi:"serviceStatus"`
	// The ID of the subnet in which to place the initial replica set. Changing this forces a new resource to be created.
	SubnetId string `pulumi:"subnetId"`
}

type ServiceInitialReplicaSetArgs

type ServiceInitialReplicaSetArgs struct {
	// A list of subnet IP addresses for the domain controllers in the initial replica set, typically two.
	DomainControllerIpAddresses pulumi.StringArrayInput `pulumi:"domainControllerIpAddresses"`
	// The publicly routable IP address for the domain controllers in the initial replica set.
	ExternalAccessIpAddress pulumi.StringPtrInput `pulumi:"externalAccessIpAddress"`
	// A unique ID for the replica set.
	Id pulumi.StringPtrInput `pulumi:"id"`
	// The Azure location where the Domain Service exists. Changing this forces a new resource to be created.
	Location pulumi.StringPtrInput `pulumi:"location"`
	// The current service status for the initial replica set.
	ServiceStatus pulumi.StringPtrInput `pulumi:"serviceStatus"`
	// The ID of the subnet in which to place the initial replica set. Changing this forces a new resource to be created.
	SubnetId pulumi.StringInput `pulumi:"subnetId"`
}

func (ServiceInitialReplicaSetArgs) ElementType

func (ServiceInitialReplicaSetArgs) ToServiceInitialReplicaSetOutput

func (i ServiceInitialReplicaSetArgs) ToServiceInitialReplicaSetOutput() ServiceInitialReplicaSetOutput

func (ServiceInitialReplicaSetArgs) ToServiceInitialReplicaSetOutputWithContext

func (i ServiceInitialReplicaSetArgs) ToServiceInitialReplicaSetOutputWithContext(ctx context.Context) ServiceInitialReplicaSetOutput

func (ServiceInitialReplicaSetArgs) ToServiceInitialReplicaSetPtrOutput

func (i ServiceInitialReplicaSetArgs) ToServiceInitialReplicaSetPtrOutput() ServiceInitialReplicaSetPtrOutput

func (ServiceInitialReplicaSetArgs) ToServiceInitialReplicaSetPtrOutputWithContext

func (i ServiceInitialReplicaSetArgs) ToServiceInitialReplicaSetPtrOutputWithContext(ctx context.Context) ServiceInitialReplicaSetPtrOutput

type ServiceInitialReplicaSetInput

type ServiceInitialReplicaSetInput interface {
	pulumi.Input

	ToServiceInitialReplicaSetOutput() ServiceInitialReplicaSetOutput
	ToServiceInitialReplicaSetOutputWithContext(context.Context) ServiceInitialReplicaSetOutput
}

ServiceInitialReplicaSetInput is an input type that accepts ServiceInitialReplicaSetArgs and ServiceInitialReplicaSetOutput values. You can construct a concrete instance of `ServiceInitialReplicaSetInput` via:

ServiceInitialReplicaSetArgs{...}

type ServiceInitialReplicaSetOutput

type ServiceInitialReplicaSetOutput struct{ *pulumi.OutputState }

func (ServiceInitialReplicaSetOutput) DomainControllerIpAddresses

func (o ServiceInitialReplicaSetOutput) DomainControllerIpAddresses() pulumi.StringArrayOutput

A list of subnet IP addresses for the domain controllers in the initial replica set, typically two.

func (ServiceInitialReplicaSetOutput) ElementType

func (ServiceInitialReplicaSetOutput) ExternalAccessIpAddress

func (o ServiceInitialReplicaSetOutput) ExternalAccessIpAddress() pulumi.StringPtrOutput

The publicly routable IP address for the domain controllers in the initial replica set.

func (ServiceInitialReplicaSetOutput) Id

A unique ID for the replica set.

func (ServiceInitialReplicaSetOutput) Location

The Azure location where the Domain Service exists. Changing this forces a new resource to be created.

func (ServiceInitialReplicaSetOutput) ServiceStatus

The current service status for the initial replica set.

func (ServiceInitialReplicaSetOutput) SubnetId

The ID of the subnet in which to place the initial replica set. Changing this forces a new resource to be created.

func (ServiceInitialReplicaSetOutput) ToServiceInitialReplicaSetOutput

func (o ServiceInitialReplicaSetOutput) ToServiceInitialReplicaSetOutput() ServiceInitialReplicaSetOutput

func (ServiceInitialReplicaSetOutput) ToServiceInitialReplicaSetOutputWithContext

func (o ServiceInitialReplicaSetOutput) ToServiceInitialReplicaSetOutputWithContext(ctx context.Context) ServiceInitialReplicaSetOutput

func (ServiceInitialReplicaSetOutput) ToServiceInitialReplicaSetPtrOutput

func (o ServiceInitialReplicaSetOutput) ToServiceInitialReplicaSetPtrOutput() ServiceInitialReplicaSetPtrOutput

func (ServiceInitialReplicaSetOutput) ToServiceInitialReplicaSetPtrOutputWithContext

func (o ServiceInitialReplicaSetOutput) ToServiceInitialReplicaSetPtrOutputWithContext(ctx context.Context) ServiceInitialReplicaSetPtrOutput

type ServiceInitialReplicaSetPtrInput

type ServiceInitialReplicaSetPtrInput interface {
	pulumi.Input

	ToServiceInitialReplicaSetPtrOutput() ServiceInitialReplicaSetPtrOutput
	ToServiceInitialReplicaSetPtrOutputWithContext(context.Context) ServiceInitialReplicaSetPtrOutput
}

ServiceInitialReplicaSetPtrInput is an input type that accepts ServiceInitialReplicaSetArgs, ServiceInitialReplicaSetPtr and ServiceInitialReplicaSetPtrOutput values. You can construct a concrete instance of `ServiceInitialReplicaSetPtrInput` via:

        ServiceInitialReplicaSetArgs{...}

or:

        nil

type ServiceInitialReplicaSetPtrOutput

type ServiceInitialReplicaSetPtrOutput struct{ *pulumi.OutputState }

func (ServiceInitialReplicaSetPtrOutput) DomainControllerIpAddresses

func (o ServiceInitialReplicaSetPtrOutput) DomainControllerIpAddresses() pulumi.StringArrayOutput

A list of subnet IP addresses for the domain controllers in the initial replica set, typically two.

func (ServiceInitialReplicaSetPtrOutput) Elem

func (ServiceInitialReplicaSetPtrOutput) ElementType

func (ServiceInitialReplicaSetPtrOutput) ExternalAccessIpAddress

func (o ServiceInitialReplicaSetPtrOutput) ExternalAccessIpAddress() pulumi.StringPtrOutput

The publicly routable IP address for the domain controllers in the initial replica set.

func (ServiceInitialReplicaSetPtrOutput) Id

A unique ID for the replica set.

func (ServiceInitialReplicaSetPtrOutput) Location

The Azure location where the Domain Service exists. Changing this forces a new resource to be created.

func (ServiceInitialReplicaSetPtrOutput) ServiceStatus

The current service status for the initial replica set.

func (ServiceInitialReplicaSetPtrOutput) SubnetId

The ID of the subnet in which to place the initial replica set. Changing this forces a new resource to be created.

func (ServiceInitialReplicaSetPtrOutput) ToServiceInitialReplicaSetPtrOutput

func (o ServiceInitialReplicaSetPtrOutput) ToServiceInitialReplicaSetPtrOutput() ServiceInitialReplicaSetPtrOutput

func (ServiceInitialReplicaSetPtrOutput) ToServiceInitialReplicaSetPtrOutputWithContext

func (o ServiceInitialReplicaSetPtrOutput) ToServiceInitialReplicaSetPtrOutputWithContext(ctx context.Context) ServiceInitialReplicaSetPtrOutput

type ServiceInput

type ServiceInput interface {
	pulumi.Input

	ToServiceOutput() ServiceOutput
	ToServiceOutputWithContext(ctx context.Context) ServiceOutput
}

type ServiceMap

type ServiceMap map[string]ServiceInput

func (ServiceMap) ElementType

func (ServiceMap) ElementType() reflect.Type

func (ServiceMap) ToServiceMapOutput

func (i ServiceMap) ToServiceMapOutput() ServiceMapOutput

func (ServiceMap) ToServiceMapOutputWithContext

func (i ServiceMap) ToServiceMapOutputWithContext(ctx context.Context) ServiceMapOutput

type ServiceMapInput

type ServiceMapInput interface {
	pulumi.Input

	ToServiceMapOutput() ServiceMapOutput
	ToServiceMapOutputWithContext(context.Context) ServiceMapOutput
}

ServiceMapInput is an input type that accepts ServiceMap and ServiceMapOutput values. You can construct a concrete instance of `ServiceMapInput` via:

ServiceMap{ "key": ServiceArgs{...} }

type ServiceMapOutput

type ServiceMapOutput struct{ *pulumi.OutputState }

func (ServiceMapOutput) ElementType

func (ServiceMapOutput) ElementType() reflect.Type

func (ServiceMapOutput) MapIndex

func (ServiceMapOutput) ToServiceMapOutput

func (o ServiceMapOutput) ToServiceMapOutput() ServiceMapOutput

func (ServiceMapOutput) ToServiceMapOutputWithContext

func (o ServiceMapOutput) ToServiceMapOutputWithContext(ctx context.Context) ServiceMapOutput

type ServiceNotifications

type ServiceNotifications struct {
	// A list of additional email addresses to notify when there are alerts in the managed domain.
	AdditionalRecipients []string `pulumi:"additionalRecipients"`
	// Whether to notify members of the _AAD DC Administrators_ group when there are alerts in the managed domain.
	NotifyDcAdmins *bool `pulumi:"notifyDcAdmins"`
	// Whether to notify all Global Administrators when there are alerts in the managed domain.
	NotifyGlobalAdmins *bool `pulumi:"notifyGlobalAdmins"`
}

type ServiceNotificationsArgs

type ServiceNotificationsArgs struct {
	// A list of additional email addresses to notify when there are alerts in the managed domain.
	AdditionalRecipients pulumi.StringArrayInput `pulumi:"additionalRecipients"`
	// Whether to notify members of the _AAD DC Administrators_ group when there are alerts in the managed domain.
	NotifyDcAdmins pulumi.BoolPtrInput `pulumi:"notifyDcAdmins"`
	// Whether to notify all Global Administrators when there are alerts in the managed domain.
	NotifyGlobalAdmins pulumi.BoolPtrInput `pulumi:"notifyGlobalAdmins"`
}

func (ServiceNotificationsArgs) ElementType

func (ServiceNotificationsArgs) ElementType() reflect.Type

func (ServiceNotificationsArgs) ToServiceNotificationsOutput

func (i ServiceNotificationsArgs) ToServiceNotificationsOutput() ServiceNotificationsOutput

func (ServiceNotificationsArgs) ToServiceNotificationsOutputWithContext

func (i ServiceNotificationsArgs) ToServiceNotificationsOutputWithContext(ctx context.Context) ServiceNotificationsOutput

func (ServiceNotificationsArgs) ToServiceNotificationsPtrOutput

func (i ServiceNotificationsArgs) ToServiceNotificationsPtrOutput() ServiceNotificationsPtrOutput

func (ServiceNotificationsArgs) ToServiceNotificationsPtrOutputWithContext

func (i ServiceNotificationsArgs) ToServiceNotificationsPtrOutputWithContext(ctx context.Context) ServiceNotificationsPtrOutput

type ServiceNotificationsInput

type ServiceNotificationsInput interface {
	pulumi.Input

	ToServiceNotificationsOutput() ServiceNotificationsOutput
	ToServiceNotificationsOutputWithContext(context.Context) ServiceNotificationsOutput
}

ServiceNotificationsInput is an input type that accepts ServiceNotificationsArgs and ServiceNotificationsOutput values. You can construct a concrete instance of `ServiceNotificationsInput` via:

ServiceNotificationsArgs{...}

type ServiceNotificationsOutput

type ServiceNotificationsOutput struct{ *pulumi.OutputState }

func (ServiceNotificationsOutput) AdditionalRecipients

func (o ServiceNotificationsOutput) AdditionalRecipients() pulumi.StringArrayOutput

A list of additional email addresses to notify when there are alerts in the managed domain.

func (ServiceNotificationsOutput) ElementType

func (ServiceNotificationsOutput) ElementType() reflect.Type

func (ServiceNotificationsOutput) NotifyDcAdmins

func (o ServiceNotificationsOutput) NotifyDcAdmins() pulumi.BoolPtrOutput

Whether to notify members of the _AAD DC Administrators_ group when there are alerts in the managed domain.

func (ServiceNotificationsOutput) NotifyGlobalAdmins

func (o ServiceNotificationsOutput) NotifyGlobalAdmins() pulumi.BoolPtrOutput

Whether to notify all Global Administrators when there are alerts in the managed domain.

func (ServiceNotificationsOutput) ToServiceNotificationsOutput

func (o ServiceNotificationsOutput) ToServiceNotificationsOutput() ServiceNotificationsOutput

func (ServiceNotificationsOutput) ToServiceNotificationsOutputWithContext

func (o ServiceNotificationsOutput) ToServiceNotificationsOutputWithContext(ctx context.Context) ServiceNotificationsOutput

func (ServiceNotificationsOutput) ToServiceNotificationsPtrOutput

func (o ServiceNotificationsOutput) ToServiceNotificationsPtrOutput() ServiceNotificationsPtrOutput

func (ServiceNotificationsOutput) ToServiceNotificationsPtrOutputWithContext

func (o ServiceNotificationsOutput) ToServiceNotificationsPtrOutputWithContext(ctx context.Context) ServiceNotificationsPtrOutput

type ServiceNotificationsPtrInput

type ServiceNotificationsPtrInput interface {
	pulumi.Input

	ToServiceNotificationsPtrOutput() ServiceNotificationsPtrOutput
	ToServiceNotificationsPtrOutputWithContext(context.Context) ServiceNotificationsPtrOutput
}

ServiceNotificationsPtrInput is an input type that accepts ServiceNotificationsArgs, ServiceNotificationsPtr and ServiceNotificationsPtrOutput values. You can construct a concrete instance of `ServiceNotificationsPtrInput` via:

        ServiceNotificationsArgs{...}

or:

        nil

type ServiceNotificationsPtrOutput

type ServiceNotificationsPtrOutput struct{ *pulumi.OutputState }

func (ServiceNotificationsPtrOutput) AdditionalRecipients

func (o ServiceNotificationsPtrOutput) AdditionalRecipients() pulumi.StringArrayOutput

A list of additional email addresses to notify when there are alerts in the managed domain.

func (ServiceNotificationsPtrOutput) Elem

func (ServiceNotificationsPtrOutput) ElementType

func (ServiceNotificationsPtrOutput) NotifyDcAdmins

Whether to notify members of the _AAD DC Administrators_ group when there are alerts in the managed domain.

func (ServiceNotificationsPtrOutput) NotifyGlobalAdmins

func (o ServiceNotificationsPtrOutput) NotifyGlobalAdmins() pulumi.BoolPtrOutput

Whether to notify all Global Administrators when there are alerts in the managed domain.

func (ServiceNotificationsPtrOutput) ToServiceNotificationsPtrOutput

func (o ServiceNotificationsPtrOutput) ToServiceNotificationsPtrOutput() ServiceNotificationsPtrOutput

func (ServiceNotificationsPtrOutput) ToServiceNotificationsPtrOutputWithContext

func (o ServiceNotificationsPtrOutput) ToServiceNotificationsPtrOutputWithContext(ctx context.Context) ServiceNotificationsPtrOutput

type ServiceOutput

type ServiceOutput struct{ *pulumi.OutputState }

func (ServiceOutput) DeploymentId added in v5.5.0

func (o ServiceOutput) DeploymentId() pulumi.StringOutput

A unique ID for the managed domain deployment.

func (ServiceOutput) DomainConfigurationType added in v5.8.0

func (o ServiceOutput) DomainConfigurationType() pulumi.StringPtrOutput

The configuration type of this Active Directory Domain. Possible values are `FullySynced` and `ResourceTrusting`. Changing this forces a new resource to be created.

func (ServiceOutput) DomainName added in v5.5.0

func (o ServiceOutput) DomainName() pulumi.StringOutput

The Active Directory domain to use. See [official documentation](https://docs.microsoft.com/azure/active-directory-domain-services/tutorial-create-instance#create-a-managed-domain) for constraints and recommendations. Changing this forces a new resource to be created.

func (ServiceOutput) ElementType

func (ServiceOutput) ElementType() reflect.Type

func (ServiceOutput) FilteredSyncEnabled added in v5.5.0

func (o ServiceOutput) FilteredSyncEnabled() pulumi.BoolPtrOutput

Whether to enable group-based filtered sync (also called scoped synchronisation). Defaults to `false`.

func (ServiceOutput) InitialReplicaSet added in v5.5.0

func (o ServiceOutput) InitialReplicaSet() ServiceInitialReplicaSetOutput

An `initialReplicaSet` block as defined below. The initial replica set inherits the same location as the Domain Service resource.

func (ServiceOutput) Location added in v5.5.0

func (o ServiceOutput) Location() pulumi.StringOutput

The Azure location where the Domain Service exists. Changing this forces a new resource to be created.

func (ServiceOutput) Name added in v5.5.0

The display name for your managed Active Directory Domain Service resource. Changing this forces a new resource to be created.

func (ServiceOutput) Notifications added in v5.5.0

func (o ServiceOutput) Notifications() ServiceNotificationsOutput

A `notifications` block as defined below.

func (ServiceOutput) ResourceGroupName added in v5.5.0

func (o ServiceOutput) ResourceGroupName() pulumi.StringOutput

The name of the Resource Group in which the Domain Service should exist. Changing this forces a new resource to be created.

func (ServiceOutput) ResourceId added in v5.5.0

func (o ServiceOutput) ResourceId() pulumi.StringOutput

The Azure resource ID for the domain service.

func (ServiceOutput) SecureLdap added in v5.5.0

func (o ServiceOutput) SecureLdap() ServiceSecureLdapOutput

A `secureLdap` block as defined below.

func (ServiceOutput) Security added in v5.5.0

func (o ServiceOutput) Security() ServiceSecurityOutput

A `security` block as defined below.

func (ServiceOutput) Sku added in v5.5.0

The SKU to use when provisioning the Domain Service resource. One of `Standard`, `Enterprise` or `Premium`.

func (ServiceOutput) SyncOwner added in v5.5.0

func (o ServiceOutput) SyncOwner() pulumi.StringOutput

func (ServiceOutput) Tags added in v5.5.0

A mapping of tags assigned to the resource.

func (ServiceOutput) TenantId added in v5.5.0

func (o ServiceOutput) TenantId() pulumi.StringOutput

func (ServiceOutput) ToServiceOutput

func (o ServiceOutput) ToServiceOutput() ServiceOutput

func (ServiceOutput) ToServiceOutputWithContext

func (o ServiceOutput) ToServiceOutputWithContext(ctx context.Context) ServiceOutput

func (ServiceOutput) Version added in v5.5.0

func (o ServiceOutput) Version() pulumi.IntOutput

type ServiceSecureLdap

type ServiceSecureLdap struct {
	// The expiry time of the certificate.
	CertificateExpiry *string `pulumi:"certificateExpiry"`
	// The thumbprint of the certificate.
	CertificateThumbprint *string `pulumi:"certificateThumbprint"`
	// Whether to enable secure LDAP for the managed domain. For more information, please see [official documentation on enabling LDAPS](https://docs.microsoft.com/azure/active-directory-domain-services/tutorial-configure-ldaps), paying particular attention to the section on network security to avoid unnecessarily exposing your service to Internet-borne bruteforce attacks.
	Enabled bool `pulumi:"enabled"`
	// Whether to enable external access to LDAPS over the Internet. Defaults to `false`.
	ExternalAccessEnabled *bool `pulumi:"externalAccessEnabled"`
	// The certificate/private key to use for LDAPS, as a base64-encoded TripleDES-SHA1 encrypted PKCS#12 bundle (PFX file).
	PfxCertificate string `pulumi:"pfxCertificate"`
	// The password to use for decrypting the PKCS#12 bundle (PFX file).
	PfxCertificatePassword string `pulumi:"pfxCertificatePassword"`
	// The public certificate.
	PublicCertificate *string `pulumi:"publicCertificate"`
}

type ServiceSecureLdapArgs

type ServiceSecureLdapArgs struct {
	// The expiry time of the certificate.
	CertificateExpiry pulumi.StringPtrInput `pulumi:"certificateExpiry"`
	// The thumbprint of the certificate.
	CertificateThumbprint pulumi.StringPtrInput `pulumi:"certificateThumbprint"`
	// Whether to enable secure LDAP for the managed domain. For more information, please see [official documentation on enabling LDAPS](https://docs.microsoft.com/azure/active-directory-domain-services/tutorial-configure-ldaps), paying particular attention to the section on network security to avoid unnecessarily exposing your service to Internet-borne bruteforce attacks.
	Enabled pulumi.BoolInput `pulumi:"enabled"`
	// Whether to enable external access to LDAPS over the Internet. Defaults to `false`.
	ExternalAccessEnabled pulumi.BoolPtrInput `pulumi:"externalAccessEnabled"`
	// The certificate/private key to use for LDAPS, as a base64-encoded TripleDES-SHA1 encrypted PKCS#12 bundle (PFX file).
	PfxCertificate pulumi.StringInput `pulumi:"pfxCertificate"`
	// The password to use for decrypting the PKCS#12 bundle (PFX file).
	PfxCertificatePassword pulumi.StringInput `pulumi:"pfxCertificatePassword"`
	// The public certificate.
	PublicCertificate pulumi.StringPtrInput `pulumi:"publicCertificate"`
}

func (ServiceSecureLdapArgs) ElementType

func (ServiceSecureLdapArgs) ElementType() reflect.Type

func (ServiceSecureLdapArgs) ToServiceSecureLdapOutput

func (i ServiceSecureLdapArgs) ToServiceSecureLdapOutput() ServiceSecureLdapOutput

func (ServiceSecureLdapArgs) ToServiceSecureLdapOutputWithContext

func (i ServiceSecureLdapArgs) ToServiceSecureLdapOutputWithContext(ctx context.Context) ServiceSecureLdapOutput

func (ServiceSecureLdapArgs) ToServiceSecureLdapPtrOutput

func (i ServiceSecureLdapArgs) ToServiceSecureLdapPtrOutput() ServiceSecureLdapPtrOutput

func (ServiceSecureLdapArgs) ToServiceSecureLdapPtrOutputWithContext

func (i ServiceSecureLdapArgs) ToServiceSecureLdapPtrOutputWithContext(ctx context.Context) ServiceSecureLdapPtrOutput

type ServiceSecureLdapInput

type ServiceSecureLdapInput interface {
	pulumi.Input

	ToServiceSecureLdapOutput() ServiceSecureLdapOutput
	ToServiceSecureLdapOutputWithContext(context.Context) ServiceSecureLdapOutput
}

ServiceSecureLdapInput is an input type that accepts ServiceSecureLdapArgs and ServiceSecureLdapOutput values. You can construct a concrete instance of `ServiceSecureLdapInput` via:

ServiceSecureLdapArgs{...}

type ServiceSecureLdapOutput

type ServiceSecureLdapOutput struct{ *pulumi.OutputState }

func (ServiceSecureLdapOutput) CertificateExpiry

func (o ServiceSecureLdapOutput) CertificateExpiry() pulumi.StringPtrOutput

The expiry time of the certificate.

func (ServiceSecureLdapOutput) CertificateThumbprint

func (o ServiceSecureLdapOutput) CertificateThumbprint() pulumi.StringPtrOutput

The thumbprint of the certificate.

func (ServiceSecureLdapOutput) ElementType

func (ServiceSecureLdapOutput) ElementType() reflect.Type

func (ServiceSecureLdapOutput) Enabled

Whether to enable secure LDAP for the managed domain. For more information, please see [official documentation on enabling LDAPS](https://docs.microsoft.com/azure/active-directory-domain-services/tutorial-configure-ldaps), paying particular attention to the section on network security to avoid unnecessarily exposing your service to Internet-borne bruteforce attacks.

func (ServiceSecureLdapOutput) ExternalAccessEnabled

func (o ServiceSecureLdapOutput) ExternalAccessEnabled() pulumi.BoolPtrOutput

Whether to enable external access to LDAPS over the Internet. Defaults to `false`.

func (ServiceSecureLdapOutput) PfxCertificate

func (o ServiceSecureLdapOutput) PfxCertificate() pulumi.StringOutput

The certificate/private key to use for LDAPS, as a base64-encoded TripleDES-SHA1 encrypted PKCS#12 bundle (PFX file).

func (ServiceSecureLdapOutput) PfxCertificatePassword

func (o ServiceSecureLdapOutput) PfxCertificatePassword() pulumi.StringOutput

The password to use for decrypting the PKCS#12 bundle (PFX file).

func (ServiceSecureLdapOutput) PublicCertificate

func (o ServiceSecureLdapOutput) PublicCertificate() pulumi.StringPtrOutput

The public certificate.

func (ServiceSecureLdapOutput) ToServiceSecureLdapOutput

func (o ServiceSecureLdapOutput) ToServiceSecureLdapOutput() ServiceSecureLdapOutput

func (ServiceSecureLdapOutput) ToServiceSecureLdapOutputWithContext

func (o ServiceSecureLdapOutput) ToServiceSecureLdapOutputWithContext(ctx context.Context) ServiceSecureLdapOutput

func (ServiceSecureLdapOutput) ToServiceSecureLdapPtrOutput

func (o ServiceSecureLdapOutput) ToServiceSecureLdapPtrOutput() ServiceSecureLdapPtrOutput

func (ServiceSecureLdapOutput) ToServiceSecureLdapPtrOutputWithContext

func (o ServiceSecureLdapOutput) ToServiceSecureLdapPtrOutputWithContext(ctx context.Context) ServiceSecureLdapPtrOutput

type ServiceSecureLdapPtrInput

type ServiceSecureLdapPtrInput interface {
	pulumi.Input

	ToServiceSecureLdapPtrOutput() ServiceSecureLdapPtrOutput
	ToServiceSecureLdapPtrOutputWithContext(context.Context) ServiceSecureLdapPtrOutput
}

ServiceSecureLdapPtrInput is an input type that accepts ServiceSecureLdapArgs, ServiceSecureLdapPtr and ServiceSecureLdapPtrOutput values. You can construct a concrete instance of `ServiceSecureLdapPtrInput` via:

        ServiceSecureLdapArgs{...}

or:

        nil

type ServiceSecureLdapPtrOutput

type ServiceSecureLdapPtrOutput struct{ *pulumi.OutputState }

func (ServiceSecureLdapPtrOutput) CertificateExpiry

func (o ServiceSecureLdapPtrOutput) CertificateExpiry() pulumi.StringPtrOutput

The expiry time of the certificate.

func (ServiceSecureLdapPtrOutput) CertificateThumbprint

func (o ServiceSecureLdapPtrOutput) CertificateThumbprint() pulumi.StringPtrOutput

The thumbprint of the certificate.

func (ServiceSecureLdapPtrOutput) Elem

func (ServiceSecureLdapPtrOutput) ElementType

func (ServiceSecureLdapPtrOutput) ElementType() reflect.Type

func (ServiceSecureLdapPtrOutput) Enabled

Whether to enable secure LDAP for the managed domain. For more information, please see [official documentation on enabling LDAPS](https://docs.microsoft.com/azure/active-directory-domain-services/tutorial-configure-ldaps), paying particular attention to the section on network security to avoid unnecessarily exposing your service to Internet-borne bruteforce attacks.

func (ServiceSecureLdapPtrOutput) ExternalAccessEnabled

func (o ServiceSecureLdapPtrOutput) ExternalAccessEnabled() pulumi.BoolPtrOutput

Whether to enable external access to LDAPS over the Internet. Defaults to `false`.

func (ServiceSecureLdapPtrOutput) PfxCertificate

The certificate/private key to use for LDAPS, as a base64-encoded TripleDES-SHA1 encrypted PKCS#12 bundle (PFX file).

func (ServiceSecureLdapPtrOutput) PfxCertificatePassword

func (o ServiceSecureLdapPtrOutput) PfxCertificatePassword() pulumi.StringPtrOutput

The password to use for decrypting the PKCS#12 bundle (PFX file).

func (ServiceSecureLdapPtrOutput) PublicCertificate

func (o ServiceSecureLdapPtrOutput) PublicCertificate() pulumi.StringPtrOutput

The public certificate.

func (ServiceSecureLdapPtrOutput) ToServiceSecureLdapPtrOutput

func (o ServiceSecureLdapPtrOutput) ToServiceSecureLdapPtrOutput() ServiceSecureLdapPtrOutput

func (ServiceSecureLdapPtrOutput) ToServiceSecureLdapPtrOutputWithContext

func (o ServiceSecureLdapPtrOutput) ToServiceSecureLdapPtrOutputWithContext(ctx context.Context) ServiceSecureLdapPtrOutput

type ServiceSecurity

type ServiceSecurity struct {
	// Whether to enable Kerberos Armoring. Defaults to `false`.
	KerberosArmoringEnabled *bool `pulumi:"kerberosArmoringEnabled"`
	// Whether to enable Kerberos RC4 Encryption. Defaults to `false`.
	KerberosRc4EncryptionEnabled *bool `pulumi:"kerberosRc4EncryptionEnabled"`
	// Whether to enable legacy NTLM v1 support. Defaults to `false`.
	NtlmV1Enabled *bool `pulumi:"ntlmV1Enabled"`
	// Whether to synchronize Kerberos password hashes to the managed domain. Defaults to `false`.
	SyncKerberosPasswords *bool `pulumi:"syncKerberosPasswords"`
	// Whether to synchronize NTLM password hashes to the managed domain. Defaults to `false`.
	SyncNtlmPasswords *bool `pulumi:"syncNtlmPasswords"`
	// Whether to synchronize on-premises password hashes to the managed domain. Defaults to `false`.
	SyncOnPremPasswords *bool `pulumi:"syncOnPremPasswords"`
	// Whether to enable legacy TLS v1 support. Defaults to `false`.
	TlsV1Enabled *bool `pulumi:"tlsV1Enabled"`
}

type ServiceSecurityArgs

type ServiceSecurityArgs struct {
	// Whether to enable Kerberos Armoring. Defaults to `false`.
	KerberosArmoringEnabled pulumi.BoolPtrInput `pulumi:"kerberosArmoringEnabled"`
	// Whether to enable Kerberos RC4 Encryption. Defaults to `false`.
	KerberosRc4EncryptionEnabled pulumi.BoolPtrInput `pulumi:"kerberosRc4EncryptionEnabled"`
	// Whether to enable legacy NTLM v1 support. Defaults to `false`.
	NtlmV1Enabled pulumi.BoolPtrInput `pulumi:"ntlmV1Enabled"`
	// Whether to synchronize Kerberos password hashes to the managed domain. Defaults to `false`.
	SyncKerberosPasswords pulumi.BoolPtrInput `pulumi:"syncKerberosPasswords"`
	// Whether to synchronize NTLM password hashes to the managed domain. Defaults to `false`.
	SyncNtlmPasswords pulumi.BoolPtrInput `pulumi:"syncNtlmPasswords"`
	// Whether to synchronize on-premises password hashes to the managed domain. Defaults to `false`.
	SyncOnPremPasswords pulumi.BoolPtrInput `pulumi:"syncOnPremPasswords"`
	// Whether to enable legacy TLS v1 support. Defaults to `false`.
	TlsV1Enabled pulumi.BoolPtrInput `pulumi:"tlsV1Enabled"`
}

func (ServiceSecurityArgs) ElementType

func (ServiceSecurityArgs) ElementType() reflect.Type

func (ServiceSecurityArgs) ToServiceSecurityOutput

func (i ServiceSecurityArgs) ToServiceSecurityOutput() ServiceSecurityOutput

func (ServiceSecurityArgs) ToServiceSecurityOutputWithContext

func (i ServiceSecurityArgs) ToServiceSecurityOutputWithContext(ctx context.Context) ServiceSecurityOutput

func (ServiceSecurityArgs) ToServiceSecurityPtrOutput

func (i ServiceSecurityArgs) ToServiceSecurityPtrOutput() ServiceSecurityPtrOutput

func (ServiceSecurityArgs) ToServiceSecurityPtrOutputWithContext

func (i ServiceSecurityArgs) ToServiceSecurityPtrOutputWithContext(ctx context.Context) ServiceSecurityPtrOutput

type ServiceSecurityInput

type ServiceSecurityInput interface {
	pulumi.Input

	ToServiceSecurityOutput() ServiceSecurityOutput
	ToServiceSecurityOutputWithContext(context.Context) ServiceSecurityOutput
}

ServiceSecurityInput is an input type that accepts ServiceSecurityArgs and ServiceSecurityOutput values. You can construct a concrete instance of `ServiceSecurityInput` via:

ServiceSecurityArgs{...}

type ServiceSecurityOutput

type ServiceSecurityOutput struct{ *pulumi.OutputState }

func (ServiceSecurityOutput) ElementType

func (ServiceSecurityOutput) ElementType() reflect.Type

func (ServiceSecurityOutput) KerberosArmoringEnabled added in v5.16.0

func (o ServiceSecurityOutput) KerberosArmoringEnabled() pulumi.BoolPtrOutput

Whether to enable Kerberos Armoring. Defaults to `false`.

func (ServiceSecurityOutput) KerberosRc4EncryptionEnabled added in v5.16.0

func (o ServiceSecurityOutput) KerberosRc4EncryptionEnabled() pulumi.BoolPtrOutput

Whether to enable Kerberos RC4 Encryption. Defaults to `false`.

func (ServiceSecurityOutput) NtlmV1Enabled

func (o ServiceSecurityOutput) NtlmV1Enabled() pulumi.BoolPtrOutput

Whether to enable legacy NTLM v1 support. Defaults to `false`.

func (ServiceSecurityOutput) SyncKerberosPasswords

func (o ServiceSecurityOutput) SyncKerberosPasswords() pulumi.BoolPtrOutput

Whether to synchronize Kerberos password hashes to the managed domain. Defaults to `false`.

func (ServiceSecurityOutput) SyncNtlmPasswords

func (o ServiceSecurityOutput) SyncNtlmPasswords() pulumi.BoolPtrOutput

Whether to synchronize NTLM password hashes to the managed domain. Defaults to `false`.

func (ServiceSecurityOutput) SyncOnPremPasswords

func (o ServiceSecurityOutput) SyncOnPremPasswords() pulumi.BoolPtrOutput

Whether to synchronize on-premises password hashes to the managed domain. Defaults to `false`.

func (ServiceSecurityOutput) TlsV1Enabled

func (o ServiceSecurityOutput) TlsV1Enabled() pulumi.BoolPtrOutput

Whether to enable legacy TLS v1 support. Defaults to `false`.

func (ServiceSecurityOutput) ToServiceSecurityOutput

func (o ServiceSecurityOutput) ToServiceSecurityOutput() ServiceSecurityOutput

func (ServiceSecurityOutput) ToServiceSecurityOutputWithContext

func (o ServiceSecurityOutput) ToServiceSecurityOutputWithContext(ctx context.Context) ServiceSecurityOutput

func (ServiceSecurityOutput) ToServiceSecurityPtrOutput

func (o ServiceSecurityOutput) ToServiceSecurityPtrOutput() ServiceSecurityPtrOutput

func (ServiceSecurityOutput) ToServiceSecurityPtrOutputWithContext

func (o ServiceSecurityOutput) ToServiceSecurityPtrOutputWithContext(ctx context.Context) ServiceSecurityPtrOutput

type ServiceSecurityPtrInput

type ServiceSecurityPtrInput interface {
	pulumi.Input

	ToServiceSecurityPtrOutput() ServiceSecurityPtrOutput
	ToServiceSecurityPtrOutputWithContext(context.Context) ServiceSecurityPtrOutput
}

ServiceSecurityPtrInput is an input type that accepts ServiceSecurityArgs, ServiceSecurityPtr and ServiceSecurityPtrOutput values. You can construct a concrete instance of `ServiceSecurityPtrInput` via:

        ServiceSecurityArgs{...}

or:

        nil

type ServiceSecurityPtrOutput

type ServiceSecurityPtrOutput struct{ *pulumi.OutputState }

func (ServiceSecurityPtrOutput) Elem

func (ServiceSecurityPtrOutput) ElementType

func (ServiceSecurityPtrOutput) ElementType() reflect.Type

func (ServiceSecurityPtrOutput) KerberosArmoringEnabled added in v5.16.0

func (o ServiceSecurityPtrOutput) KerberosArmoringEnabled() pulumi.BoolPtrOutput

Whether to enable Kerberos Armoring. Defaults to `false`.

func (ServiceSecurityPtrOutput) KerberosRc4EncryptionEnabled added in v5.16.0

func (o ServiceSecurityPtrOutput) KerberosRc4EncryptionEnabled() pulumi.BoolPtrOutput

Whether to enable Kerberos RC4 Encryption. Defaults to `false`.

func (ServiceSecurityPtrOutput) NtlmV1Enabled

func (o ServiceSecurityPtrOutput) NtlmV1Enabled() pulumi.BoolPtrOutput

Whether to enable legacy NTLM v1 support. Defaults to `false`.

func (ServiceSecurityPtrOutput) SyncKerberosPasswords

func (o ServiceSecurityPtrOutput) SyncKerberosPasswords() pulumi.BoolPtrOutput

Whether to synchronize Kerberos password hashes to the managed domain. Defaults to `false`.

func (ServiceSecurityPtrOutput) SyncNtlmPasswords

func (o ServiceSecurityPtrOutput) SyncNtlmPasswords() pulumi.BoolPtrOutput

Whether to synchronize NTLM password hashes to the managed domain. Defaults to `false`.

func (ServiceSecurityPtrOutput) SyncOnPremPasswords

func (o ServiceSecurityPtrOutput) SyncOnPremPasswords() pulumi.BoolPtrOutput

Whether to synchronize on-premises password hashes to the managed domain. Defaults to `false`.

func (ServiceSecurityPtrOutput) TlsV1Enabled

Whether to enable legacy TLS v1 support. Defaults to `false`.

func (ServiceSecurityPtrOutput) ToServiceSecurityPtrOutput

func (o ServiceSecurityPtrOutput) ToServiceSecurityPtrOutput() ServiceSecurityPtrOutput

func (ServiceSecurityPtrOutput) ToServiceSecurityPtrOutputWithContext

func (o ServiceSecurityPtrOutput) ToServiceSecurityPtrOutputWithContext(ctx context.Context) ServiceSecurityPtrOutput

type ServiceState

type ServiceState struct {
	// A unique ID for the managed domain deployment.
	DeploymentId pulumi.StringPtrInput
	// The configuration type of this Active Directory Domain. Possible values are `FullySynced` and `ResourceTrusting`. Changing this forces a new resource to be created.
	DomainConfigurationType pulumi.StringPtrInput
	// The Active Directory domain to use. See [official documentation](https://docs.microsoft.com/azure/active-directory-domain-services/tutorial-create-instance#create-a-managed-domain) for constraints and recommendations. Changing this forces a new resource to be created.
	DomainName pulumi.StringPtrInput
	// Whether to enable group-based filtered sync (also called scoped synchronisation). Defaults to `false`.
	FilteredSyncEnabled pulumi.BoolPtrInput
	// An `initialReplicaSet` block as defined below. The initial replica set inherits the same location as the Domain Service resource.
	InitialReplicaSet ServiceInitialReplicaSetPtrInput
	// The Azure location where the Domain Service exists. Changing this forces a new resource to be created.
	Location pulumi.StringPtrInput
	// The display name for your managed Active Directory Domain Service resource. Changing this forces a new resource to be created.
	Name pulumi.StringPtrInput
	// A `notifications` block as defined below.
	Notifications ServiceNotificationsPtrInput
	// The name of the Resource Group in which the Domain Service should exist. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringPtrInput
	// The Azure resource ID for the domain service.
	ResourceId pulumi.StringPtrInput
	// A `secureLdap` block as defined below.
	SecureLdap ServiceSecureLdapPtrInput
	// A `security` block as defined below.
	Security ServiceSecurityPtrInput
	// The SKU to use when provisioning the Domain Service resource. One of `Standard`, `Enterprise` or `Premium`.
	Sku       pulumi.StringPtrInput
	SyncOwner pulumi.StringPtrInput
	// A mapping of tags assigned to the resource.
	Tags     pulumi.StringMapInput
	TenantId pulumi.StringPtrInput
	Version  pulumi.IntPtrInput
}

func (ServiceState) ElementType

func (ServiceState) ElementType() reflect.Type

type ServiceTrust added in v5.12.0

type ServiceTrust struct {
	pulumi.CustomResourceState

	// The ID of the Active Directory Domain Service. Changing this forces a new Active Directory Domain Service Trust to be created.
	DomainServiceId pulumi.StringOutput `pulumi:"domainServiceId"`
	// The name which should be used for this Active Directory Domain Service Trust. Changing this forces a new Active Directory Domain Service Trust to be created.
	Name pulumi.StringOutput `pulumi:"name"`
	// The password of the inbound trust set in the on-premise Active Directory Domain Service.
	Password pulumi.StringOutput `pulumi:"password"`
	// Specifies a list of DNS IPs that are used to resolve the on-premise Active Directory Domain Service.
	TrustedDomainDnsIps pulumi.StringArrayOutput `pulumi:"trustedDomainDnsIps"`
	// The FQDN of the on-premise Active Directory Domain Service.
	TrustedDomainFqdn pulumi.StringOutput `pulumi:"trustedDomainFqdn"`
}

Manages a Active Directory Domain Service Trust.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/domainservices"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		example, err := domainservices.LookupService(ctx, &domainservices.LookupServiceArgs{
			Name:              "example-ds",
			ResourceGroupName: "example-rg",
		}, nil)
		if err != nil {
			return err
		}
		_, err = domainservices.NewServiceTrust(ctx, "example", &domainservices.ServiceTrustArgs{
			Name:              pulumi.String("example-trust"),
			DomainServiceId:   pulumi.String(example.Id),
			TrustedDomainFqdn: pulumi.String("example.com"),
			TrustedDomainDnsIps: pulumi.StringArray{
				pulumi.String("10.1.0.3"),
				pulumi.String("10.1.0.4"),
			},
			Password: pulumi.String("Password123"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Active Directory Domain Service Trusts can be imported using the `resource id`, e.g.

```sh $ pulumi import azure:domainservices/serviceTrust:ServiceTrust example /subscriptions/12345678-1234-9876-4563-123456789012/resourceGroups/resGroup1/providers/Microsoft.AAD/domainServices/DomainService1/trusts/trust1 ```

func GetServiceTrust added in v5.12.0

func GetServiceTrust(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ServiceTrustState, opts ...pulumi.ResourceOption) (*ServiceTrust, error)

GetServiceTrust gets an existing ServiceTrust resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewServiceTrust added in v5.12.0

func NewServiceTrust(ctx *pulumi.Context,
	name string, args *ServiceTrustArgs, opts ...pulumi.ResourceOption) (*ServiceTrust, error)

NewServiceTrust registers a new resource with the given unique name, arguments, and options.

func (*ServiceTrust) ElementType added in v5.12.0

func (*ServiceTrust) ElementType() reflect.Type

func (*ServiceTrust) ToServiceTrustOutput added in v5.12.0

func (i *ServiceTrust) ToServiceTrustOutput() ServiceTrustOutput

func (*ServiceTrust) ToServiceTrustOutputWithContext added in v5.12.0

func (i *ServiceTrust) ToServiceTrustOutputWithContext(ctx context.Context) ServiceTrustOutput

type ServiceTrustArgs added in v5.12.0

type ServiceTrustArgs struct {
	// The ID of the Active Directory Domain Service. Changing this forces a new Active Directory Domain Service Trust to be created.
	DomainServiceId pulumi.StringInput
	// The name which should be used for this Active Directory Domain Service Trust. Changing this forces a new Active Directory Domain Service Trust to be created.
	Name pulumi.StringPtrInput
	// The password of the inbound trust set in the on-premise Active Directory Domain Service.
	Password pulumi.StringInput
	// Specifies a list of DNS IPs that are used to resolve the on-premise Active Directory Domain Service.
	TrustedDomainDnsIps pulumi.StringArrayInput
	// The FQDN of the on-premise Active Directory Domain Service.
	TrustedDomainFqdn pulumi.StringInput
}

The set of arguments for constructing a ServiceTrust resource.

func (ServiceTrustArgs) ElementType added in v5.12.0

func (ServiceTrustArgs) ElementType() reflect.Type

type ServiceTrustArray added in v5.12.0

type ServiceTrustArray []ServiceTrustInput

func (ServiceTrustArray) ElementType added in v5.12.0

func (ServiceTrustArray) ElementType() reflect.Type

func (ServiceTrustArray) ToServiceTrustArrayOutput added in v5.12.0

func (i ServiceTrustArray) ToServiceTrustArrayOutput() ServiceTrustArrayOutput

func (ServiceTrustArray) ToServiceTrustArrayOutputWithContext added in v5.12.0

func (i ServiceTrustArray) ToServiceTrustArrayOutputWithContext(ctx context.Context) ServiceTrustArrayOutput

type ServiceTrustArrayInput added in v5.12.0

type ServiceTrustArrayInput interface {
	pulumi.Input

	ToServiceTrustArrayOutput() ServiceTrustArrayOutput
	ToServiceTrustArrayOutputWithContext(context.Context) ServiceTrustArrayOutput
}

ServiceTrustArrayInput is an input type that accepts ServiceTrustArray and ServiceTrustArrayOutput values. You can construct a concrete instance of `ServiceTrustArrayInput` via:

ServiceTrustArray{ ServiceTrustArgs{...} }

type ServiceTrustArrayOutput added in v5.12.0

type ServiceTrustArrayOutput struct{ *pulumi.OutputState }

func (ServiceTrustArrayOutput) ElementType added in v5.12.0

func (ServiceTrustArrayOutput) ElementType() reflect.Type

func (ServiceTrustArrayOutput) Index added in v5.12.0

func (ServiceTrustArrayOutput) ToServiceTrustArrayOutput added in v5.12.0

func (o ServiceTrustArrayOutput) ToServiceTrustArrayOutput() ServiceTrustArrayOutput

func (ServiceTrustArrayOutput) ToServiceTrustArrayOutputWithContext added in v5.12.0

func (o ServiceTrustArrayOutput) ToServiceTrustArrayOutputWithContext(ctx context.Context) ServiceTrustArrayOutput

type ServiceTrustInput added in v5.12.0

type ServiceTrustInput interface {
	pulumi.Input

	ToServiceTrustOutput() ServiceTrustOutput
	ToServiceTrustOutputWithContext(ctx context.Context) ServiceTrustOutput
}

type ServiceTrustMap added in v5.12.0

type ServiceTrustMap map[string]ServiceTrustInput

func (ServiceTrustMap) ElementType added in v5.12.0

func (ServiceTrustMap) ElementType() reflect.Type

func (ServiceTrustMap) ToServiceTrustMapOutput added in v5.12.0

func (i ServiceTrustMap) ToServiceTrustMapOutput() ServiceTrustMapOutput

func (ServiceTrustMap) ToServiceTrustMapOutputWithContext added in v5.12.0

func (i ServiceTrustMap) ToServiceTrustMapOutputWithContext(ctx context.Context) ServiceTrustMapOutput

type ServiceTrustMapInput added in v5.12.0

type ServiceTrustMapInput interface {
	pulumi.Input

	ToServiceTrustMapOutput() ServiceTrustMapOutput
	ToServiceTrustMapOutputWithContext(context.Context) ServiceTrustMapOutput
}

ServiceTrustMapInput is an input type that accepts ServiceTrustMap and ServiceTrustMapOutput values. You can construct a concrete instance of `ServiceTrustMapInput` via:

ServiceTrustMap{ "key": ServiceTrustArgs{...} }

type ServiceTrustMapOutput added in v5.12.0

type ServiceTrustMapOutput struct{ *pulumi.OutputState }

func (ServiceTrustMapOutput) ElementType added in v5.12.0

func (ServiceTrustMapOutput) ElementType() reflect.Type

func (ServiceTrustMapOutput) MapIndex added in v5.12.0

func (ServiceTrustMapOutput) ToServiceTrustMapOutput added in v5.12.0

func (o ServiceTrustMapOutput) ToServiceTrustMapOutput() ServiceTrustMapOutput

func (ServiceTrustMapOutput) ToServiceTrustMapOutputWithContext added in v5.12.0

func (o ServiceTrustMapOutput) ToServiceTrustMapOutputWithContext(ctx context.Context) ServiceTrustMapOutput

type ServiceTrustOutput added in v5.12.0

type ServiceTrustOutput struct{ *pulumi.OutputState }

func (ServiceTrustOutput) DomainServiceId added in v5.12.0

func (o ServiceTrustOutput) DomainServiceId() pulumi.StringOutput

The ID of the Active Directory Domain Service. Changing this forces a new Active Directory Domain Service Trust to be created.

func (ServiceTrustOutput) ElementType added in v5.12.0

func (ServiceTrustOutput) ElementType() reflect.Type

func (ServiceTrustOutput) Name added in v5.12.0

The name which should be used for this Active Directory Domain Service Trust. Changing this forces a new Active Directory Domain Service Trust to be created.

func (ServiceTrustOutput) Password added in v5.12.0

func (o ServiceTrustOutput) Password() pulumi.StringOutput

The password of the inbound trust set in the on-premise Active Directory Domain Service.

func (ServiceTrustOutput) ToServiceTrustOutput added in v5.12.0

func (o ServiceTrustOutput) ToServiceTrustOutput() ServiceTrustOutput

func (ServiceTrustOutput) ToServiceTrustOutputWithContext added in v5.12.0

func (o ServiceTrustOutput) ToServiceTrustOutputWithContext(ctx context.Context) ServiceTrustOutput

func (ServiceTrustOutput) TrustedDomainDnsIps added in v5.12.0

func (o ServiceTrustOutput) TrustedDomainDnsIps() pulumi.StringArrayOutput

Specifies a list of DNS IPs that are used to resolve the on-premise Active Directory Domain Service.

func (ServiceTrustOutput) TrustedDomainFqdn added in v5.12.0

func (o ServiceTrustOutput) TrustedDomainFqdn() pulumi.StringOutput

The FQDN of the on-premise Active Directory Domain Service.

type ServiceTrustState added in v5.12.0

type ServiceTrustState struct {
	// The ID of the Active Directory Domain Service. Changing this forces a new Active Directory Domain Service Trust to be created.
	DomainServiceId pulumi.StringPtrInput
	// The name which should be used for this Active Directory Domain Service Trust. Changing this forces a new Active Directory Domain Service Trust to be created.
	Name pulumi.StringPtrInput
	// The password of the inbound trust set in the on-premise Active Directory Domain Service.
	Password pulumi.StringPtrInput
	// Specifies a list of DNS IPs that are used to resolve the on-premise Active Directory Domain Service.
	TrustedDomainDnsIps pulumi.StringArrayInput
	// The FQDN of the on-premise Active Directory Domain Service.
	TrustedDomainFqdn pulumi.StringPtrInput
}

func (ServiceTrustState) ElementType added in v5.12.0

func (ServiceTrustState) ElementType() reflect.Type

Jump to

Keyboard shortcuts

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