aad

package
v64.0.0+incompatible Latest Latest
Warning

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

Go to latest
Published: May 9, 2022 License: MIT Imports: 10 Imported by: 0

Documentation

Overview

Package aad implements the Azure ARM Aad service API version 2017-01-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 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"`
}

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 {
	// 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"`
	// 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"`
	// DomainSecuritySettings - DomainSecurity Settings
	DomainSecuritySettings *DomainSecuritySettings `json:"domainSecuritySettings,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 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 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 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 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