aad

package
v0.0.0-...-1f7e97a Latest Latest
Warning

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

Go to latest
Published: Sep 30, 2022 License: MIT Imports: 10 Imported by: 0

Documentation

Overview

Package aad implements the Azure ARM Aad service API version 2017-06-01.

The AAD Domain Services API.

Index

Constants

View Source
const (
	// DefaultBaseURI is the default URI used for the service Aad
	DefaultBaseURI = "https://management.azure.com"
)

Variables

This section is empty.

Functions

func UserAgent

func UserAgent() string

UserAgent returns the UserAgent string to use when sending http.Requests.

func Version

func Version() string

Version returns the semantic version (see http://semver.org) of the client.

Types

type BaseClient

type BaseClient struct {
	autorest.Client
	BaseURI        string
	SubscriptionID string
}

BaseClient is the base client for Aad.

func New

func New(subscriptionID string) BaseClient

New creates an instance of the BaseClient client.

func NewWithBaseURI

func NewWithBaseURI(baseURI string, subscriptionID string) BaseClient

NewWithBaseURI creates an instance of the BaseClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

type CloudError

type CloudError struct {
	// Error - An error response from the Domain Services.
	Error *CloudErrorBody `json:"error,omitempty"`
}

CloudError an error response from the Domain Services.

type CloudErrorBody

type CloudErrorBody struct {
	// Code - An identifier for the error. Codes are invariant and are intended to be consumed programmatically.
	Code *string `json:"code,omitempty"`
	// Message - A message describing the error, intended to be suitable for display in a user interface.
	Message *string `json:"message,omitempty"`
	// Target - The target of the particular error. For example, the name of the property in error.
	Target *string `json:"target,omitempty"`
	// Details - A list of additional details about the error.
	Details *[]CloudErrorBody `json:"details,omitempty"`
}

CloudErrorBody an error response from the Domain Services.

type ContainerAccount

type ContainerAccount struct {
	// AccountName - The account name
	AccountName *string `json:"accountName,omitempty"`
	// Spn - The account spn
	Spn *string `json:"spn,omitempty"`
	// Password - The account password
	Password *string `json:"password,omitempty"`
}

ContainerAccount container Account Description

type DefaultErrorResponse

type DefaultErrorResponse struct {
	// Error - READ-ONLY; Error model.
	Error *DefaultErrorResponseError `json:"error,omitempty"`
}

DefaultErrorResponse domain Service error response.

func (DefaultErrorResponse) MarshalJSON

func (der DefaultErrorResponse) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for DefaultErrorResponse.

type DefaultErrorResponseError

type DefaultErrorResponseError struct {
	// Code - READ-ONLY; Standardized string to programmatically identify the error.
	Code *string `json:"code,omitempty"`
	// Message - READ-ONLY; Detailed error description and debugging information.
	Message *string `json:"message,omitempty"`
	// Target - READ-ONLY; Detailed error description and debugging information.
	Target *string `json:"target,omitempty"`
	// Details - Error details.
	Details *[]DefaultErrorResponseErrorDetailsItem `json:"details,omitempty"`
	// Innererror - READ-ONLY; More information to debug error.
	Innererror *string `json:"innererror,omitempty"`
}

DefaultErrorResponseError error model.

func (DefaultErrorResponseError) MarshalJSON

func (der DefaultErrorResponseError) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for DefaultErrorResponseError.

type DefaultErrorResponseErrorDetailsItem

type DefaultErrorResponseErrorDetailsItem struct {
	// Code - READ-ONLY; Standardized string to programmatically identify the error.
	Code *string `json:"code,omitempty"`
	// Message - READ-ONLY; Detailed error description and debugging information.
	Message *string `json:"message,omitempty"`
	// Target - READ-ONLY; Detailed error description and debugging information.
	Target *string `json:"target,omitempty"`
}

DefaultErrorResponseErrorDetailsItem detailed errors.

func (DefaultErrorResponseErrorDetailsItem) MarshalJSON

func (derI DefaultErrorResponseErrorDetailsItem) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for DefaultErrorResponseErrorDetailsItem.

type DomainSecuritySettings

type DomainSecuritySettings struct {
	// NtlmV1 - A flag to determine whether or not NtlmV1 is enabled or disabled. Possible values include: 'NtlmV1Enabled', 'NtlmV1Disabled'
	NtlmV1 NtlmV1 `json:"ntlmV1,omitempty"`
	// TLSV1 - A flag to determine whether or not TlsV1 is enabled or disabled. Possible values include: 'TLSV1Enabled', 'TLSV1Disabled'
	TLSV1 TLSV1 `json:"tlsV1,omitempty"`
	// SyncNtlmPasswords - A flag to determine whether or not SyncNtlmPasswords is enabled or disabled. Possible values include: 'SyncNtlmPasswordsEnabled', 'SyncNtlmPasswordsDisabled'
	SyncNtlmPasswords SyncNtlmPasswords `json:"syncNtlmPasswords,omitempty"`
	// SyncKerberosPasswords - A flag to determine whether or not SyncKerberosPasswords is enabled or disabled. Possible values include: 'SyncKerberosPasswordsEnabled', 'SyncKerberosPasswordsDisabled'
	SyncKerberosPasswords SyncKerberosPasswords `json:"syncKerberosPasswords,omitempty"`
	// SyncOnPremPasswords - A flag to determine whether or not SyncOnPremPasswords is enabled or disabled. Possible values include: 'SyncOnPremPasswordsEnabled', 'SyncOnPremPasswordsDisabled'
	SyncOnPremPasswords SyncOnPremPasswords `json:"syncOnPremPasswords,omitempty"`
}

DomainSecuritySettings domain Security Settings

type DomainService

type DomainService struct {
	autorest.Response `json:"-"`
	// DomainServiceProperties - Domain service properties
	*DomainServiceProperties `json:"properties,omitempty"`
	// ID - READ-ONLY; Resource Id
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; Resource name
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; Resource type
	Type *string `json:"type,omitempty"`
	// Location - Resource location
	Location *string `json:"location,omitempty"`
	// Tags - Resource tags
	Tags map[string]*string `json:"tags"`
	// Etag - Resource etag
	Etag *string `json:"etag,omitempty"`
}

DomainService domain service.

func (DomainService) MarshalJSON

func (ds DomainService) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for DomainService.

func (*DomainService) UnmarshalJSON

func (ds *DomainService) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for DomainService struct.

type DomainServiceListResult

type DomainServiceListResult struct {
	autorest.Response `json:"-"`
	// Value - the list of domain services.
	Value *[]DomainService `json:"value,omitempty"`
	// NextLink - READ-ONLY; The continuation token for the next page of results.
	NextLink *string `json:"nextLink,omitempty"`
}

DomainServiceListResult the response from the List Domain Services operation.

func (DomainServiceListResult) IsEmpty

func (dslr DomainServiceListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

func (DomainServiceListResult) MarshalJSON

func (dslr DomainServiceListResult) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for DomainServiceListResult.

type DomainServiceListResultIterator

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

DomainServiceListResultIterator provides access to a complete listing of DomainService values.

func NewDomainServiceListResultIterator

func NewDomainServiceListResultIterator(page DomainServiceListResultPage) DomainServiceListResultIterator

Creates a new instance of the DomainServiceListResultIterator type.

func (*DomainServiceListResultIterator) Next

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*DomainServiceListResultIterator) NextWithContext

func (iter *DomainServiceListResultIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (DomainServiceListResultIterator) NotDone

func (iter DomainServiceListResultIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (DomainServiceListResultIterator) Response

Response returns the raw server response from the last page request.

func (DomainServiceListResultIterator) Value

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type DomainServiceListResultPage

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

DomainServiceListResultPage contains a page of DomainService values.

func NewDomainServiceListResultPage

Creates a new instance of the DomainServiceListResultPage type.

func (*DomainServiceListResultPage) Next

func (page *DomainServiceListResultPage) Next() error

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*DomainServiceListResultPage) NextWithContext

func (page *DomainServiceListResultPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (DomainServiceListResultPage) NotDone

func (page DomainServiceListResultPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (DomainServiceListResultPage) Response

Response returns the raw server response from the last page request.

func (DomainServiceListResultPage) Values

Values returns the slice of values for the current page or nil if there are no values.

type DomainServiceOperationsClient

type DomainServiceOperationsClient struct {
	BaseClient
}

DomainServiceOperationsClient is the the AAD Domain Services API.

func NewDomainServiceOperationsClient

func NewDomainServiceOperationsClient(subscriptionID string) DomainServiceOperationsClient

NewDomainServiceOperationsClient creates an instance of the DomainServiceOperationsClient client.

func NewDomainServiceOperationsClientWithBaseURI

func NewDomainServiceOperationsClientWithBaseURI(baseURI string, subscriptionID string) DomainServiceOperationsClient

NewDomainServiceOperationsClientWithBaseURI creates an instance of the DomainServiceOperationsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (DomainServiceOperationsClient) List

List lists all the available Domain Services operations.

func (DomainServiceOperationsClient) ListComplete

ListComplete enumerates all values, automatically crossing page boundaries as required.

func (DomainServiceOperationsClient) ListPreparer

func (client DomainServiceOperationsClient) ListPreparer(ctx context.Context) (*http.Request, error)

ListPreparer prepares the List request.

func (DomainServiceOperationsClient) ListResponder

func (client DomainServiceOperationsClient) ListResponder(resp *http.Response) (result OperationEntityListResult, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (DomainServiceOperationsClient) ListSender

func (client DomainServiceOperationsClient) ListSender(req *http.Request) (*http.Response, error)

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

type DomainServiceProperties

type DomainServiceProperties struct {
	// Version - READ-ONLY; Data Model Version
	Version *int32 `json:"version,omitempty"`
	// TenantID - READ-ONLY; Azure Active Directory Tenant Id
	TenantID *string `json:"tenantId,omitempty"`
	// DomainName - The name of the Azure domain that the user would like to deploy Domain Services to.
	DomainName *string `json:"domainName,omitempty"`
	// DeploymentID - READ-ONLY; Deployment Id
	DeploymentID *string `json:"deploymentId,omitempty"`
	// VnetSiteID - READ-ONLY; Virtual network site id
	VnetSiteID *string `json:"vnetSiteId,omitempty"`
	// SubnetID - The name of the virtual network that Domain Services will be deployed on. The id of the subnet that Domain Services will be deployed on. /virtualNetwork/vnetName/subnets/subnetName.
	SubnetID *string `json:"subnetId,omitempty"`
	// LdapsSettings - Secure LDAP Settings
	LdapsSettings *LdapsSettings `json:"ldapsSettings,omitempty"`
	// DomainSecuritySettings - DomainSecurity Settings
	DomainSecuritySettings *DomainSecuritySettings `json:"domainSecuritySettings,omitempty"`
	// ResourceForestSettings - Resource Forest Settings
	ResourceForestSettings *ResourceForestSettings `json:"resourceForestSettings,omitempty"`
	// DomainConfigurationType - Domain Configuration Type
	DomainConfigurationType *string `json:"domainConfigurationType,omitempty"`
	// Sku - Sku Type
	Sku *string `json:"sku,omitempty"`
	// HealthLastEvaluated - READ-ONLY; Last domain evaluation run DateTime
	HealthLastEvaluated *date.TimeRFC1123 `json:"healthLastEvaluated,omitempty"`
	// HealthMonitors - READ-ONLY; List of Domain Health Monitors
	HealthMonitors *[]HealthMonitor `json:"healthMonitors,omitempty"`
	// HealthAlerts - READ-ONLY; List of Domain Health Alerts
	HealthAlerts *[]HealthAlert `json:"healthAlerts,omitempty"`
	// NotificationSettings - Notification Settings
	NotificationSettings *NotificationSettings `json:"notificationSettings,omitempty"`
	// FilteredSync - Enabled or Disabled flag to turn on Group-based filtered sync. Possible values include: 'FilteredSyncEnabled', 'FilteredSyncDisabled'
	FilteredSync FilteredSync `json:"filteredSync,omitempty"`
	// DomainControllerIPAddress - READ-ONLY; List of Domain Controller IP Address
	DomainControllerIPAddress *[]string `json:"domainControllerIpAddress,omitempty"`
	// ServiceStatus - READ-ONLY; Status of Domain Service instance
	ServiceStatus *string `json:"serviceStatus,omitempty"`
	// ProvisioningState - READ-ONLY; the current deployment or provisioning state, which only appears in the response.
	ProvisioningState *string `json:"provisioningState,omitempty"`
}

DomainServiceProperties properties of the Domain Service.

func (DomainServiceProperties) MarshalJSON

func (dsp DomainServiceProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for DomainServiceProperties.

type DomainServicesClient

type DomainServicesClient struct {
	BaseClient
}

DomainServicesClient is the the AAD Domain Services API.

func NewDomainServicesClient

func NewDomainServicesClient(subscriptionID string) DomainServicesClient

NewDomainServicesClient creates an instance of the DomainServicesClient client.

func NewDomainServicesClientWithBaseURI

func NewDomainServicesClientWithBaseURI(baseURI string, subscriptionID string) DomainServicesClient

NewDomainServicesClientWithBaseURI creates an instance of the DomainServicesClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (DomainServicesClient) CreateOrUpdate

func (client DomainServicesClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, domainServiceName string, domainService DomainService) (result DomainServicesCreateOrUpdateFuture, err error)

CreateOrUpdate the Create Domain Service operation creates a new domain service with the specified parameters. If the specific service already exists, then any patchable properties will be updated and any immutable properties will remain unchanged. Parameters: resourceGroupName - the name of the resource group within the user's subscription. The name is case insensitive. domainServiceName - the name of the domain service. domainService - properties supplied to the Create or Update a Domain Service operation.

func (DomainServicesClient) CreateOrUpdatePreparer

func (client DomainServicesClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, domainServiceName string, domainService DomainService) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (DomainServicesClient) CreateOrUpdateResponder

func (client DomainServicesClient) CreateOrUpdateResponder(resp *http.Response) (result DomainService, err error)

CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.

func (DomainServicesClient) CreateOrUpdateSender

func (client DomainServicesClient) CreateOrUpdateSender(req *http.Request) (future DomainServicesCreateOrUpdateFuture, err error)

CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.

func (DomainServicesClient) Delete

func (client DomainServicesClient) Delete(ctx context.Context, resourceGroupName string, domainServiceName string) (result DomainServicesDeleteFuture, err error)

Delete the Delete Domain Service operation deletes an existing Domain Service. Parameters: resourceGroupName - the name of the resource group within the user's subscription. The name is case insensitive. domainServiceName - the name of the domain service.

func (DomainServicesClient) DeletePreparer

func (client DomainServicesClient) DeletePreparer(ctx context.Context, resourceGroupName string, domainServiceName string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (DomainServicesClient) DeleteResponder

func (client DomainServicesClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)

DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.

func (DomainServicesClient) DeleteSender

func (client DomainServicesClient) DeleteSender(req *http.Request) (future DomainServicesDeleteFuture, err error)

DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.

func (DomainServicesClient) Get

func (client DomainServicesClient) Get(ctx context.Context, resourceGroupName string, domainServiceName string) (result DomainService, err error)

Get the Get Domain Service operation retrieves a json representation of the Domain Service. Parameters: resourceGroupName - the name of the resource group within the user's subscription. The name is case insensitive. domainServiceName - the name of the domain service.

func (DomainServicesClient) GetPreparer

func (client DomainServicesClient) GetPreparer(ctx context.Context, resourceGroupName string, domainServiceName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (DomainServicesClient) GetResponder

func (client DomainServicesClient) GetResponder(resp *http.Response) (result DomainService, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (DomainServicesClient) GetSender

func (client DomainServicesClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (DomainServicesClient) List

func (client DomainServicesClient) List(ctx context.Context) (result DomainServiceListResultPage, err error)

List the List Domain Services in Subscription operation lists all the domain services available under the given subscription (and across all resource groups within that subscription).

func (DomainServicesClient) ListByResourceGroup

func (client DomainServicesClient) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result DomainServiceListResultPage, err error)

ListByResourceGroup the List Domain Services in Resource Group operation lists all the domain services available under the given resource group. Parameters: resourceGroupName - the name of the resource group within the user's subscription. The name is case insensitive.

func (DomainServicesClient) ListByResourceGroupComplete

func (client DomainServicesClient) ListByResourceGroupComplete(ctx context.Context, resourceGroupName string) (result DomainServiceListResultIterator, err error)

ListByResourceGroupComplete enumerates all values, automatically crossing page boundaries as required.

func (DomainServicesClient) ListByResourceGroupPreparer

func (client DomainServicesClient) ListByResourceGroupPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error)

ListByResourceGroupPreparer prepares the ListByResourceGroup request.

func (DomainServicesClient) ListByResourceGroupResponder

func (client DomainServicesClient) ListByResourceGroupResponder(resp *http.Response) (result DomainServiceListResult, err error)

ListByResourceGroupResponder handles the response to the ListByResourceGroup request. The method always closes the http.Response Body.

func (DomainServicesClient) ListByResourceGroupSender

func (client DomainServicesClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error)

ListByResourceGroupSender sends the ListByResourceGroup request. The method will close the http.Response Body if it receives an error.

func (DomainServicesClient) ListComplete

func (client DomainServicesClient) ListComplete(ctx context.Context) (result DomainServiceListResultIterator, err error)

ListComplete enumerates all values, automatically crossing page boundaries as required.

func (DomainServicesClient) ListPreparer

func (client DomainServicesClient) ListPreparer(ctx context.Context) (*http.Request, error)

ListPreparer prepares the List request.

func (DomainServicesClient) ListResponder

func (client DomainServicesClient) ListResponder(resp *http.Response) (result DomainServiceListResult, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (DomainServicesClient) ListSender

func (client DomainServicesClient) ListSender(req *http.Request) (*http.Response, error)

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

func (DomainServicesClient) Update

func (client DomainServicesClient) Update(ctx context.Context, resourceGroupName string, domainServiceName string, domainService DomainService) (result DomainServicesUpdateFuture, err error)

Update the Update Domain Service operation can be used to update the existing deployment. The update call only supports the properties listed in the PATCH body. Parameters: resourceGroupName - the name of the resource group within the user's subscription. The name is case insensitive. domainServiceName - the name of the domain service. domainService - properties supplied to the Update a Domain Service operation.

func (DomainServicesClient) UpdatePreparer

func (client DomainServicesClient) UpdatePreparer(ctx context.Context, resourceGroupName string, domainServiceName string, domainService DomainService) (*http.Request, error)

UpdatePreparer prepares the Update request.

func (DomainServicesClient) UpdateResponder

func (client DomainServicesClient) UpdateResponder(resp *http.Response) (result DomainService, err error)

UpdateResponder handles the response to the Update request. The method always closes the http.Response Body.

func (DomainServicesClient) UpdateSender

func (client DomainServicesClient) UpdateSender(req *http.Request) (future DomainServicesUpdateFuture, err error)

UpdateSender sends the Update request. The method will close the http.Response Body if it receives an error.

type DomainServicesCreateOrUpdateFuture

type DomainServicesCreateOrUpdateFuture struct {
	azure.FutureAPI
	// Result returns the result of the asynchronous operation.
	// If the operation has not completed it will return an error.
	Result func(DomainServicesClient) (DomainService, error)
}

DomainServicesCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*DomainServicesCreateOrUpdateFuture) UnmarshalJSON

func (future *DomainServicesCreateOrUpdateFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type DomainServicesDeleteFuture

type DomainServicesDeleteFuture struct {
	azure.FutureAPI
	// Result returns the result of the asynchronous operation.
	// If the operation has not completed it will return an error.
	Result func(DomainServicesClient) (autorest.Response, error)
}

DomainServicesDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*DomainServicesDeleteFuture) UnmarshalJSON

func (future *DomainServicesDeleteFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type DomainServicesUpdateFuture

type DomainServicesUpdateFuture struct {
	azure.FutureAPI
	// Result returns the result of the asynchronous operation.
	// If the operation has not completed it will return an error.
	Result func(DomainServicesClient) (DomainService, error)
}

DomainServicesUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*DomainServicesUpdateFuture) UnmarshalJSON

func (future *DomainServicesUpdateFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type ExternalAccess

type ExternalAccess string

ExternalAccess enumerates the values for external access.

const (
	// Disabled ...
	Disabled ExternalAccess = "Disabled"
	// Enabled ...
	Enabled ExternalAccess = "Enabled"
)

func PossibleExternalAccessValues

func PossibleExternalAccessValues() []ExternalAccess

PossibleExternalAccessValues returns an array of possible values for the ExternalAccess const type.

type FilteredSync

type FilteredSync string

FilteredSync enumerates the values for filtered sync.

const (
	// FilteredSyncDisabled ...
	FilteredSyncDisabled FilteredSync = "Disabled"
	// FilteredSyncEnabled ...
	FilteredSyncEnabled FilteredSync = "Enabled"
)

func PossibleFilteredSyncValues

func PossibleFilteredSyncValues() []FilteredSync

PossibleFilteredSyncValues returns an array of possible values for the FilteredSync const type.

type ForestTrust

type ForestTrust struct {
	// TrustedDomainFqdn - Trusted Domain FQDN
	TrustedDomainFqdn *string `json:"trustedDomainFqdn,omitempty"`
	// TrustDirection - Trust Direction
	TrustDirection *string `json:"trustDirection,omitempty"`
	// FriendlyName - Friendly Name
	FriendlyName *string `json:"friendlyName,omitempty"`
	// RemoteDNSIps - Remote Dns ips
	RemoteDNSIps *string `json:"remoteDnsIps,omitempty"`
	// TrustPassword - Trust Password
	TrustPassword *string `json:"trustPassword,omitempty"`
}

ForestTrust forest Trust Setting

type HealthAlert

type HealthAlert struct {
	// ID - READ-ONLY; Health Alert Id
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; Health Alert Name
	Name *string `json:"name,omitempty"`
	// Issue - READ-ONLY; Health Alert Issue
	Issue *string `json:"issue,omitempty"`
	// Severity - READ-ONLY; Health Alert Severity
	Severity *string `json:"severity,omitempty"`
	// Raised - READ-ONLY; Health Alert Raised DateTime
	Raised *date.Time `json:"raised,omitempty"`
	// LastDetected - READ-ONLY; Health Alert Last Detected DateTime
	LastDetected *date.Time `json:"lastDetected,omitempty"`
	// ResolutionURI - READ-ONLY; Health Alert TSG Link
	ResolutionURI *string `json:"resolutionUri,omitempty"`
}

HealthAlert health Alert Description

func (HealthAlert) MarshalJSON

func (ha HealthAlert) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for HealthAlert.

type HealthMonitor

type HealthMonitor struct {
	// ID - READ-ONLY; Health Monitor Id
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; Health Monitor Name
	Name *string `json:"name,omitempty"`
	// Details - READ-ONLY; Health Monitor Details
	Details *string `json:"details,omitempty"`
}

HealthMonitor health Monitor Description

func (HealthMonitor) MarshalJSON

func (hm HealthMonitor) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for HealthMonitor.

type Ldaps

type Ldaps string

Ldaps enumerates the values for ldaps.

const (
	// LdapsDisabled ...
	LdapsDisabled Ldaps = "Disabled"
	// LdapsEnabled ...
	LdapsEnabled Ldaps = "Enabled"
)

func PossibleLdapsValues

func PossibleLdapsValues() []Ldaps

PossibleLdapsValues returns an array of possible values for the Ldaps const type.

type LdapsSettings

type LdapsSettings struct {
	// Ldaps - A flag to determine whether or not Secure LDAP is enabled or disabled. Possible values include: 'LdapsEnabled', 'LdapsDisabled'
	Ldaps Ldaps `json:"ldaps,omitempty"`
	// PfxCertificate - The certificate required to configure Secure LDAP. The parameter passed here should be a base64encoded representation of the certificate pfx file.
	PfxCertificate *string `json:"pfxCertificate,omitempty"`
	// PfxCertificatePassword - The password to decrypt the provided Secure LDAP certificate pfx file.
	PfxCertificatePassword *string `json:"pfxCertificatePassword,omitempty"`
	// PublicCertificate - READ-ONLY; Public certificate used to configure secure ldap.
	PublicCertificate *string `json:"publicCertificate,omitempty"`
	// CertificateThumbprint - READ-ONLY; Thumbprint of configure ldaps certificate.
	CertificateThumbprint *string `json:"certificateThumbprint,omitempty"`
	// CertificateNotAfter - READ-ONLY; NotAfter DateTime of configure ldaps certificate.
	CertificateNotAfter *date.Time `json:"certificateNotAfter,omitempty"`
	// ExternalAccess - A flag to determine whether or not Secure LDAP access over the internet is enabled or disabled. Possible values include: 'Enabled', 'Disabled'
	ExternalAccess ExternalAccess `json:"externalAccess,omitempty"`
	// ExternalAccessIPAddress - READ-ONLY; External access ip address.
	ExternalAccessIPAddress *string `json:"externalAccessIpAddress,omitempty"`
}

LdapsSettings secure LDAP Settings

func (LdapsSettings) MarshalJSON

func (ls LdapsSettings) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for LdapsSettings.

type NotificationSettings

type NotificationSettings struct {
	// NotifyGlobalAdmins - Should global admins be notified. Possible values include: 'NotifyGlobalAdminsEnabled', 'NotifyGlobalAdminsDisabled'
	NotifyGlobalAdmins NotifyGlobalAdmins `json:"notifyGlobalAdmins,omitempty"`
	// NotifyDcAdmins - Should domain controller admins be notified. Possible values include: 'NotifyDcAdminsEnabled', 'NotifyDcAdminsDisabled'
	NotifyDcAdmins NotifyDcAdmins `json:"notifyDcAdmins,omitempty"`
	// AdditionalRecipients - The list of additional recipients
	AdditionalRecipients *[]string `json:"additionalRecipients,omitempty"`
}

NotificationSettings settings for notification

type NotifyDcAdmins

type NotifyDcAdmins string

NotifyDcAdmins enumerates the values for notify dc admins.

const (
	// NotifyDcAdminsDisabled ...
	NotifyDcAdminsDisabled NotifyDcAdmins = "Disabled"
	// NotifyDcAdminsEnabled ...
	NotifyDcAdminsEnabled NotifyDcAdmins = "Enabled"
)

func PossibleNotifyDcAdminsValues

func PossibleNotifyDcAdminsValues() []NotifyDcAdmins

PossibleNotifyDcAdminsValues returns an array of possible values for the NotifyDcAdmins const type.

type NotifyGlobalAdmins

type NotifyGlobalAdmins string

NotifyGlobalAdmins enumerates the values for notify global admins.

const (
	// NotifyGlobalAdminsDisabled ...
	NotifyGlobalAdminsDisabled NotifyGlobalAdmins = "Disabled"
	// NotifyGlobalAdminsEnabled ...
	NotifyGlobalAdminsEnabled NotifyGlobalAdmins = "Enabled"
)

func PossibleNotifyGlobalAdminsValues

func PossibleNotifyGlobalAdminsValues() []NotifyGlobalAdmins

PossibleNotifyGlobalAdminsValues returns an array of possible values for the NotifyGlobalAdmins const type.

type NtlmV1

type NtlmV1 string

NtlmV1 enumerates the values for ntlm v1.

const (
	// NtlmV1Disabled ...
	NtlmV1Disabled NtlmV1 = "Disabled"
	// NtlmV1Enabled ...
	NtlmV1Enabled NtlmV1 = "Enabled"
)

func PossibleNtlmV1Values

func PossibleNtlmV1Values() []NtlmV1

PossibleNtlmV1Values returns an array of possible values for the NtlmV1 const type.

type OperationDisplayInfo

type OperationDisplayInfo struct {
	// Description - The description of the operation.
	Description *string `json:"description,omitempty"`
	// Operation - The action that users can perform, based on their permission level.
	Operation *string `json:"operation,omitempty"`
	// Provider - Service provider: Domain Services.
	Provider *string `json:"provider,omitempty"`
	// Resource - Resource on which the operation is performed.
	Resource *string `json:"resource,omitempty"`
}

OperationDisplayInfo the operation supported by Domain Services.

type OperationEntity

type OperationEntity struct {
	// Name - Operation name: {provider}/{resource}/{operation}.
	Name *string `json:"name,omitempty"`
	// Display - The operation supported by Domain Services.
	Display *OperationDisplayInfo `json:"display,omitempty"`
	// Origin - The origin of the operation.
	Origin *string `json:"origin,omitempty"`
}

OperationEntity the operation supported by Domain Services.

type OperationEntityListResult

type OperationEntityListResult struct {
	autorest.Response `json:"-"`
	// Value - The list of operations.
	Value *[]OperationEntity `json:"value,omitempty"`
	// NextLink - READ-ONLY; The continuation token for the next page of results.
	NextLink *string `json:"nextLink,omitempty"`
}

OperationEntityListResult the list of domain service operation response.

func (OperationEntityListResult) IsEmpty

func (oelr OperationEntityListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

func (OperationEntityListResult) MarshalJSON

func (oelr OperationEntityListResult) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for OperationEntityListResult.

type OperationEntityListResultIterator

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

OperationEntityListResultIterator provides access to a complete listing of OperationEntity values.

func NewOperationEntityListResultIterator

func NewOperationEntityListResultIterator(page OperationEntityListResultPage) OperationEntityListResultIterator

Creates a new instance of the OperationEntityListResultIterator type.

func (*OperationEntityListResultIterator) Next

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*OperationEntityListResultIterator) NextWithContext

func (iter *OperationEntityListResultIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (OperationEntityListResultIterator) NotDone

func (iter OperationEntityListResultIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (OperationEntityListResultIterator) Response

Response returns the raw server response from the last page request.

func (OperationEntityListResultIterator) Value

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type OperationEntityListResultPage

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

OperationEntityListResultPage contains a page of OperationEntity values.

func NewOperationEntityListResultPage

Creates a new instance of the OperationEntityListResultPage type.

func (*OperationEntityListResultPage) Next

func (page *OperationEntityListResultPage) Next() error

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*OperationEntityListResultPage) NextWithContext

func (page *OperationEntityListResultPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (OperationEntityListResultPage) NotDone

func (page OperationEntityListResultPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (OperationEntityListResultPage) Response

Response returns the raw server response from the last page request.

func (OperationEntityListResultPage) Values

Values returns the slice of values for the current page or nil if there are no values.

type OuContainer

type OuContainer struct {
	autorest.Response `json:"-"`
	// OuContainerProperties - OuContainer properties
	*OuContainerProperties `json:"properties,omitempty"`
	// ID - READ-ONLY; Resource Id
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; Resource name
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; Resource type
	Type *string `json:"type,omitempty"`
	// Location - Resource location
	Location *string `json:"location,omitempty"`
	// Tags - Resource tags
	Tags map[string]*string `json:"tags"`
	// Etag - Resource etag
	Etag *string `json:"etag,omitempty"`
}

OuContainer resource for OuContainer.

func (OuContainer) MarshalJSON

func (oc OuContainer) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for OuContainer.

func (*OuContainer) UnmarshalJSON

func (oc *OuContainer) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for OuContainer struct.

type OuContainerClient

type OuContainerClient struct {
	BaseClient
}

OuContainerClient is the the AAD Domain Services API.

func NewOuContainerClient

func NewOuContainerClient(subscriptionID string) OuContainerClient

NewOuContainerClient creates an instance of the OuContainerClient client.

func NewOuContainerClientWithBaseURI

func NewOuContainerClientWithBaseURI(baseURI string, subscriptionID string) OuContainerClient

NewOuContainerClientWithBaseURI creates an instance of the OuContainerClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (OuContainerClient) Create

func (client OuContainerClient) Create(ctx context.Context, resourceGroupName string, domainServiceName string, ouContainerName string, containerAccount ContainerAccount) (result OuContainerCreateFuture, err error)

Create the Create OuContainer operation creates a new OuContainer under the specified Domain Service instance. Parameters: resourceGroupName - the name of the resource group within the user's subscription. The name is case insensitive. domainServiceName - the name of the domain service. ouContainerName - the name of the OuContainer. containerAccount - container Account Description.

func (OuContainerClient) CreatePreparer

func (client OuContainerClient) CreatePreparer(ctx context.Context, resourceGroupName string, domainServiceName string, ouContainerName string, containerAccount ContainerAccount) (*http.Request, error)

CreatePreparer prepares the Create request.

func (OuContainerClient) CreateResponder

func (client OuContainerClient) CreateResponder(resp *http.Response) (result OuContainer, err error)

CreateResponder handles the response to the Create request. The method always closes the http.Response Body.

func (OuContainerClient) CreateSender

func (client OuContainerClient) CreateSender(req *http.Request) (future OuContainerCreateFuture, err error)

CreateSender sends the Create request. The method will close the http.Response Body if it receives an error.

func (OuContainerClient) Delete

func (client OuContainerClient) Delete(ctx context.Context, resourceGroupName string, domainServiceName string, ouContainerName string) (result OuContainerDeleteFuture, err error)

Delete the Delete OuContainer operation deletes specified OuContainer. Parameters: resourceGroupName - the name of the resource group within the user's subscription. The name is case insensitive. domainServiceName - the name of the domain service. ouContainerName - the name of the OuContainer.

func (OuContainerClient) DeletePreparer

func (client OuContainerClient) DeletePreparer(ctx context.Context, resourceGroupName string, domainServiceName string, ouContainerName string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (OuContainerClient) DeleteResponder

func (client OuContainerClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)

DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.

func (OuContainerClient) DeleteSender

func (client OuContainerClient) DeleteSender(req *http.Request) (future OuContainerDeleteFuture, err error)

DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.

func (OuContainerClient) Get

func (client OuContainerClient) Get(ctx context.Context, resourceGroupName string, domainServiceName string, ouContainerName string) (result OuContainer, err error)

Get get OuContainer in DomainService instance. Parameters: resourceGroupName - the name of the resource group within the user's subscription. The name is case insensitive. domainServiceName - the name of the domain service. ouContainerName - the name of the OuContainer.

func (OuContainerClient) GetPreparer

func (client OuContainerClient) GetPreparer(ctx context.Context, resourceGroupName string, domainServiceName string, ouContainerName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (OuContainerClient) GetResponder

func (client OuContainerClient) GetResponder(resp *http.Response) (result OuContainer, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (OuContainerClient) GetSender

func (client OuContainerClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (OuContainerClient) List

func (client OuContainerClient) List(ctx context.Context, resourceGroupName string, domainServiceName string) (result OuContainerListResultPage, err error)

List the List of OuContainers in DomainService instance. Parameters: resourceGroupName - the name of the resource group within the user's subscription. The name is case insensitive. domainServiceName - the name of the domain service.

func (OuContainerClient) ListComplete

func (client OuContainerClient) ListComplete(ctx context.Context, resourceGroupName string, domainServiceName string) (result OuContainerListResultIterator, err error)

ListComplete enumerates all values, automatically crossing page boundaries as required.

func (OuContainerClient) ListPreparer

func (client OuContainerClient) ListPreparer(ctx context.Context, resourceGroupName string, domainServiceName string) (*http.Request, error)

ListPreparer prepares the List request.

func (OuContainerClient) ListResponder

func (client OuContainerClient) ListResponder(resp *http.Response) (result OuContainerListResult, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (OuContainerClient) ListSender

func (client OuContainerClient) ListSender(req *http.Request) (*http.Response, error)

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

func (OuContainerClient) Update

func (client OuContainerClient) Update(ctx context.Context, resourceGroupName string, domainServiceName string, ouContainerName string, containerAccount ContainerAccount) (result OuContainerUpdateFuture, err error)

Update the Update OuContainer operation can be used to update the existing OuContainers. Parameters: resourceGroupName - the name of the resource group within the user's subscription. The name is case insensitive. domainServiceName - the name of the domain service. ouContainerName - the name of the OuContainer. containerAccount - container Account Description.

func (OuContainerClient) UpdatePreparer

func (client OuContainerClient) UpdatePreparer(ctx context.Context, resourceGroupName string, domainServiceName string, ouContainerName string, containerAccount ContainerAccount) (*http.Request, error)

UpdatePreparer prepares the Update request.

func (OuContainerClient) UpdateResponder

func (client OuContainerClient) UpdateResponder(resp *http.Response) (result OuContainer, err error)

UpdateResponder handles the response to the Update request. The method always closes the http.Response Body.

func (OuContainerClient) UpdateSender

func (client OuContainerClient) UpdateSender(req *http.Request) (future OuContainerUpdateFuture, err error)

UpdateSender sends the Update request. The method will close the http.Response Body if it receives an error.

type OuContainerCreateFuture

type OuContainerCreateFuture struct {
	azure.FutureAPI
	// Result returns the result of the asynchronous operation.
	// If the operation has not completed it will return an error.
	Result func(OuContainerClient) (OuContainer, error)
}

OuContainerCreateFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*OuContainerCreateFuture) UnmarshalJSON

func (future *OuContainerCreateFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type OuContainerDeleteFuture

type OuContainerDeleteFuture struct {
	azure.FutureAPI
	// Result returns the result of the asynchronous operation.
	// If the operation has not completed it will return an error.
	Result func(OuContainerClient) (autorest.Response, error)
}

OuContainerDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*OuContainerDeleteFuture) UnmarshalJSON

func (future *OuContainerDeleteFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type OuContainerListResult

type OuContainerListResult struct {
	autorest.Response `json:"-"`
	// Value - The list of OuContainer.
	Value *[]OuContainer `json:"value,omitempty"`
	// NextLink - READ-ONLY; The continuation token for the next page of results.
	NextLink *string `json:"nextLink,omitempty"`
}

OuContainerListResult the response from the List OuContainer operation.

func (OuContainerListResult) IsEmpty

func (oclr OuContainerListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

func (OuContainerListResult) MarshalJSON

func (oclr OuContainerListResult) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for OuContainerListResult.

type OuContainerListResultIterator

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

OuContainerListResultIterator provides access to a complete listing of OuContainer values.

func NewOuContainerListResultIterator

func NewOuContainerListResultIterator(page OuContainerListResultPage) OuContainerListResultIterator

Creates a new instance of the OuContainerListResultIterator type.

func (*OuContainerListResultIterator) Next

func (iter *OuContainerListResultIterator) Next() error

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*OuContainerListResultIterator) NextWithContext

func (iter *OuContainerListResultIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (OuContainerListResultIterator) NotDone

func (iter OuContainerListResultIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (OuContainerListResultIterator) Response

Response returns the raw server response from the last page request.

func (OuContainerListResultIterator) Value

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type OuContainerListResultPage

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

OuContainerListResultPage contains a page of OuContainer values.

func NewOuContainerListResultPage

Creates a new instance of the OuContainerListResultPage type.

func (*OuContainerListResultPage) Next

func (page *OuContainerListResultPage) Next() error

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*OuContainerListResultPage) NextWithContext

func (page *OuContainerListResultPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (OuContainerListResultPage) NotDone

func (page OuContainerListResultPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (OuContainerListResultPage) Response

Response returns the raw server response from the last page request.

func (OuContainerListResultPage) Values

func (page OuContainerListResultPage) Values() []OuContainer

Values returns the slice of values for the current page or nil if there are no values.

type OuContainerOperationsClient

type OuContainerOperationsClient struct {
	BaseClient
}

OuContainerOperationsClient is the the AAD Domain Services API.

func NewOuContainerOperationsClient

func NewOuContainerOperationsClient(subscriptionID string) OuContainerOperationsClient

NewOuContainerOperationsClient creates an instance of the OuContainerOperationsClient client.

func NewOuContainerOperationsClientWithBaseURI

func NewOuContainerOperationsClientWithBaseURI(baseURI string, subscriptionID string) OuContainerOperationsClient

NewOuContainerOperationsClientWithBaseURI creates an instance of the OuContainerOperationsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (OuContainerOperationsClient) List

List lists all the available OuContainer operations.

func (OuContainerOperationsClient) ListComplete

ListComplete enumerates all values, automatically crossing page boundaries as required.

func (OuContainerOperationsClient) ListPreparer

func (client OuContainerOperationsClient) ListPreparer(ctx context.Context) (*http.Request, error)

ListPreparer prepares the List request.

func (OuContainerOperationsClient) ListResponder

func (client OuContainerOperationsClient) ListResponder(resp *http.Response) (result OperationEntityListResult, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (OuContainerOperationsClient) ListSender

func (client OuContainerOperationsClient) ListSender(req *http.Request) (*http.Response, error)

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

type OuContainerProperties

type OuContainerProperties struct {
	// TenantID - READ-ONLY; Azure Active Directory tenant id
	TenantID *string `json:"tenantId,omitempty"`
	// DomainName - READ-ONLY; The domain name of Domain Services.
	DomainName *string `json:"domainName,omitempty"`
	// DeploymentID - READ-ONLY; The Deployment id
	DeploymentID *string `json:"deploymentId,omitempty"`
	// ContainerID - READ-ONLY; The OuContainer name
	ContainerID *string `json:"containerId,omitempty"`
	// Accounts - The list of container accounts
	Accounts *[]ContainerAccount `json:"accounts,omitempty"`
	// ServiceStatus - READ-ONLY; Status of OuContainer instance
	ServiceStatus *string `json:"serviceStatus,omitempty"`
	// DistinguishedName - READ-ONLY; Distinguished Name of OuContainer instance
	DistinguishedName *string `json:"distinguishedName,omitempty"`
	// ProvisioningState - READ-ONLY; The current deployment or provisioning state, which only appears in the response.
	ProvisioningState *string `json:"provisioningState,omitempty"`
}

OuContainerProperties properties of the OuContainer.

func (OuContainerProperties) MarshalJSON

func (ocp OuContainerProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for OuContainerProperties.

type OuContainerUpdateFuture

type OuContainerUpdateFuture struct {
	azure.FutureAPI
	// Result returns the result of the asynchronous operation.
	// If the operation has not completed it will return an error.
	Result func(OuContainerClient) (OuContainer, error)
}

OuContainerUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*OuContainerUpdateFuture) UnmarshalJSON

func (future *OuContainerUpdateFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type Resource

type Resource struct {
	// ID - READ-ONLY; Resource Id
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; Resource name
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; Resource type
	Type *string `json:"type,omitempty"`
	// Location - Resource location
	Location *string `json:"location,omitempty"`
	// Tags - Resource tags
	Tags map[string]*string `json:"tags"`
	// Etag - Resource etag
	Etag *string `json:"etag,omitempty"`
}

Resource the Resource model definition.

func (Resource) MarshalJSON

func (r Resource) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for Resource.

type ResourceForestSettings

type ResourceForestSettings struct {
	// Settings - List of settings for Resource Forest
	Settings *[]ForestTrust `json:"settings,omitempty"`
	// ResourceForest - Resource Forest
	ResourceForest *string `json:"resourceForest,omitempty"`
}

ResourceForestSettings settings for Resource Forest

type SyncKerberosPasswords

type SyncKerberosPasswords string

SyncKerberosPasswords enumerates the values for sync kerberos passwords.

const (
	// SyncKerberosPasswordsDisabled ...
	SyncKerberosPasswordsDisabled SyncKerberosPasswords = "Disabled"
	// SyncKerberosPasswordsEnabled ...
	SyncKerberosPasswordsEnabled SyncKerberosPasswords = "Enabled"
)

func PossibleSyncKerberosPasswordsValues

func PossibleSyncKerberosPasswordsValues() []SyncKerberosPasswords

PossibleSyncKerberosPasswordsValues returns an array of possible values for the SyncKerberosPasswords const type.

type SyncNtlmPasswords

type SyncNtlmPasswords string

SyncNtlmPasswords enumerates the values for sync ntlm passwords.

const (
	// SyncNtlmPasswordsDisabled ...
	SyncNtlmPasswordsDisabled SyncNtlmPasswords = "Disabled"
	// SyncNtlmPasswordsEnabled ...
	SyncNtlmPasswordsEnabled SyncNtlmPasswords = "Enabled"
)

func PossibleSyncNtlmPasswordsValues

func PossibleSyncNtlmPasswordsValues() []SyncNtlmPasswords

PossibleSyncNtlmPasswordsValues returns an array of possible values for the SyncNtlmPasswords const type.

type SyncOnPremPasswords

type SyncOnPremPasswords string

SyncOnPremPasswords enumerates the values for sync on prem passwords.

const (
	// SyncOnPremPasswordsDisabled ...
	SyncOnPremPasswordsDisabled SyncOnPremPasswords = "Disabled"
	// SyncOnPremPasswordsEnabled ...
	SyncOnPremPasswordsEnabled SyncOnPremPasswords = "Enabled"
)

func PossibleSyncOnPremPasswordsValues

func PossibleSyncOnPremPasswordsValues() []SyncOnPremPasswords

PossibleSyncOnPremPasswordsValues returns an array of possible values for the SyncOnPremPasswords const type.

type TLSV1

type TLSV1 string

TLSV1 enumerates the values for tlsv1.

const (
	// TLSV1Disabled ...
	TLSV1Disabled TLSV1 = "Disabled"
	// TLSV1Enabled ...
	TLSV1Enabled TLSV1 = "Enabled"
)

func PossibleTLSV1Values

func PossibleTLSV1Values() []TLSV1

PossibleTLSV1Values returns an array of possible values for the TLSV1 const type.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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