adhybridhealthservice

package
v18.0.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Jul 3, 2018 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

Package adhybridhealthservice implements the Azure ARM Adhybridhealthservice service API version 2014-01-01.

REST APIs for Azure Active Drectory Connect Health

Index

Constants

View Source
const (
	// DefaultBaseURI is the default URI used for the service Adhybridhealthservice
	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 AdDomainServiceMembersClient

type AdDomainServiceMembersClient struct {
	BaseClient
}

AdDomainServiceMembersClient is the REST APIs for Azure Active Drectory Connect Health

func NewAdDomainServiceMembersClient

func NewAdDomainServiceMembersClient() AdDomainServiceMembersClient

NewAdDomainServiceMembersClient creates an instance of the AdDomainServiceMembersClient client.

func NewAdDomainServiceMembersClientWithBaseURI

func NewAdDomainServiceMembersClientWithBaseURI(baseURI string) AdDomainServiceMembersClient

NewAdDomainServiceMembersClientWithBaseURI creates an instance of the AdDomainServiceMembersClient client.

func (AdDomainServiceMembersClient) List

func (client AdDomainServiceMembersClient) List(ctx context.Context, serviceName string, isGroupbySite bool, filter string, query string, takeCount *int32) (result AddsServiceMembersPage, err error)

List gets the details of the servers, for a given Active Directory Domain Service, that are onboarded to Azure Active Directory Connect Health. Parameters: serviceName - the name of the service. isGroupbySite - indicates if the result should be grouped by site or not. filter - the server property filter to apply. query - the custom query. takeCount - the take count , which specifies the number of elements that can be returned from a sequence.

func (AdDomainServiceMembersClient) ListComplete

func (client AdDomainServiceMembersClient) ListComplete(ctx context.Context, serviceName string, isGroupbySite bool, filter string, query string, takeCount *int32) (result AddsServiceMembersIterator, err error)

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

func (AdDomainServiceMembersClient) ListPreparer

func (client AdDomainServiceMembersClient) ListPreparer(ctx context.Context, serviceName string, isGroupbySite bool, filter string, query string, takeCount *int32) (*http.Request, error)

ListPreparer prepares the List request.

func (AdDomainServiceMembersClient) ListResponder

func (client AdDomainServiceMembersClient) ListResponder(resp *http.Response) (result AddsServiceMembers, err error)

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

func (AdDomainServiceMembersClient) ListSender

func (client AdDomainServiceMembersClient) 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 AdditionalInformation

type AdditionalInformation struct {
	// TitleName - The title name for the property.
	TitleName *string `json:"titleName,omitempty"`
	// TitleValue - The title value for the property.
	TitleValue *string `json:"titleValue,omitempty"`
	// Properties - The list of properties which are included in the aditional information.
	Properties interface{} `json:"properties,omitempty"`
	// HasProperties - Indicates if properties are present or not.
	HasProperties *bool `json:"hasProperties,omitempty"`
}

AdditionalInformation the addtional information for a property.

type AddsConfiguration

type AddsConfiguration struct {
	autorest.Response `json:"-"`
	// NextLink - The link used to get the next page of operations.
	NextLink *string `json:"nextLink,omitempty"`
	// Value - The value returned by the operation.
	Value *[]Item `json:"value,omitempty"`
	// TotalCount - The total count of configuration.
	TotalCount *int32 `json:"totalCount,omitempty"`
	// ContinuationToken - The continuation token for paginated calls.
	ContinuationToken *string `json:"continuationToken,omitempty"`
}

AddsConfiguration the list of key value properties.

func (AddsConfiguration) IsEmpty

func (ac AddsConfiguration) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type AddsConfigurationIterator

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

AddsConfigurationIterator provides access to a complete listing of Item values.

func (*AddsConfigurationIterator) Next

func (iter *AddsConfigurationIterator) 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.

func (AddsConfigurationIterator) NotDone

func (iter AddsConfigurationIterator) NotDone() bool

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

func (AddsConfigurationIterator) Response

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

func (AddsConfigurationIterator) Value

func (iter AddsConfigurationIterator) Value() Item

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

type AddsConfigurationPage

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

AddsConfigurationPage contains a page of Item values.

func (*AddsConfigurationPage) Next

func (page *AddsConfigurationPage) 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.

func (AddsConfigurationPage) NotDone

func (page AddsConfigurationPage) NotDone() bool

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

func (AddsConfigurationPage) Response

func (page AddsConfigurationPage) Response() AddsConfiguration

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

func (AddsConfigurationPage) Values

func (page AddsConfigurationPage) Values() []Item

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

type AddsServiceClient

type AddsServiceClient struct {
	BaseClient
}

AddsServiceClient is the REST APIs for Azure Active Drectory Connect Health

func NewAddsServiceClient

func NewAddsServiceClient() AddsServiceClient

NewAddsServiceClient creates an instance of the AddsServiceClient client.

func NewAddsServiceClientWithBaseURI

func NewAddsServiceClientWithBaseURI(baseURI string) AddsServiceClient

NewAddsServiceClientWithBaseURI creates an instance of the AddsServiceClient client.

func (AddsServiceClient) GetMetrics

func (client AddsServiceClient) GetMetrics(ctx context.Context, serviceName string, metricName string, groupName string, groupKey string, fromDate *date.Time, toDate *date.Time) (result MetricSets, err error)

GetMetrics gets the server related metrics for a given metric and group combination. Parameters: serviceName - the name of the service. metricName - the metric name groupName - the group name groupKey - the group key fromDate - the start date. toDate - the end date.

func (AddsServiceClient) GetMetricsPreparer

func (client AddsServiceClient) GetMetricsPreparer(ctx context.Context, serviceName string, metricName string, groupName string, groupKey string, fromDate *date.Time, toDate *date.Time) (*http.Request, error)

GetMetricsPreparer prepares the GetMetrics request.

func (AddsServiceClient) GetMetricsResponder

func (client AddsServiceClient) GetMetricsResponder(resp *http.Response) (result MetricSets, err error)

GetMetricsResponder handles the response to the GetMetrics request. The method always closes the http.Response Body.

func (AddsServiceClient) GetMetricsSender

func (client AddsServiceClient) GetMetricsSender(req *http.Request) (*http.Response, error)

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

type AddsServiceMember

type AddsServiceMember struct {
	// DomainName - The domain name.
	DomainName *string `json:"domainName,omitempty"`
	// SiteName - The site name.
	SiteName *string `json:"siteName,omitempty"`
	// AddsRoles - The list of ADDS roles.
	AddsRoles *[]string `json:"addsRoles,omitempty"`
	// GcReachable - Indicates if the global catalog for this domain is reachable or not.
	GcReachable *bool `json:"gcReachable,omitempty"`
	// IsAdvertising - Indicates if the Dc is advertising or not.
	IsAdvertising *bool `json:"isAdvertising,omitempty"`
	// PdcReachable - Indicates if the primary domain controller is reachable or not.
	PdcReachable *bool `json:"pdcReachable,omitempty"`
	// SysvolState - Indicates if the SYSVOL state is healthy or not.
	SysvolState *bool `json:"sysvolState,omitempty"`
	// DcTypes - The list of domain controller types.
	DcTypes *[]string `json:"dcTypes,omitempty"`
	// ServiceMemberID - The id of the server.
	ServiceMemberID *string `json:"serviceMemberId,omitempty"`
	// ServiceID - The service id to whom this server belongs.
	ServiceID *string `json:"serviceId,omitempty"`
	// TenantID - The tenant id to whom this server belongs.
	TenantID *string `json:"tenantId,omitempty"`
	// ActiveAlerts - The total number of alerts that are currently active for the server.
	ActiveAlerts *int32 `json:"activeAlerts,omitempty"`
	// AdditionalInformation - The additional information, if any, for the server.
	AdditionalInformation *string `json:"additionalInformation,omitempty"`
	// CreatedDate - The date time , in UTC, when the server was onboaraded to Azure Active Directory Connect Health.
	CreatedDate *date.Time `json:"createdDate,omitempty"`
	// Dimensions - The server specific configuration related dimensions.
	Dimensions *[]Item `json:"dimensions,omitempty"`
	// Disabled - Indicates if the server is disabled or not.
	Disabled *bool `json:"disabled,omitempty"`
	// DisabledReason - The reason for disabling the server.
	DisabledReason *int32 `json:"disabledReason,omitempty"`
	// InstalledQfes - The list of installed QFEs for the server.
	InstalledQfes *[]Hotfix `json:"installedQfes,omitempty"`
	// LastDisabled - The date and time , in UTC, when the server was last disabled.
	LastDisabled *date.Time `json:"lastDisabled,omitempty"`
	// LastReboot - The date and time, in UTC, when the server was last rebooted.
	LastReboot *date.Time `json:"lastReboot,omitempty"`
	// LastServerReportedMonitoringLevelChange - The date and time, in UTC, when the server's data monitoring configuration was last changed.
	LastServerReportedMonitoringLevelChange *date.Time `json:"lastServerReportedMonitoringLevelChange,omitempty"`
	// LastUpdated - The date and time, in UTC, when the server proeprties were last updated.
	LastUpdated *date.Time `json:"lastUpdated,omitempty"`
	// MachineID - The id of the machine.
	MachineID *string `json:"machineId,omitempty"`
	// MachineName - The name of the server.
	MachineName *string `json:"machineName,omitempty"`
	// MonitoringConfigurationsComputed - The monitoring configuration of the server which determines what activities are monitored by Azure Active Directory Connect Health.
	MonitoringConfigurationsComputed *[]Item `json:"monitoringConfigurationsComputed,omitempty"`
	// MonitoringConfigurationsCustomized - The customized monitoring configuration of the server which determines what activities are monitored by Azure Active Directory Connect Health.
	MonitoringConfigurationsCustomized *[]Item `json:"monitoringConfigurationsCustomized,omitempty"`
	// OsName - The name of the operating system installed in the machine.
	OsName *string `json:"osName,omitempty"`
	// OsVersion - The version of the operating system installed in the machine.
	OsVersion *string `json:"osVersion,omitempty"`
	// Properties - Server specific properties.
	Properties *[]Item `json:"properties,omitempty"`
	// RecommendedQfes - The list of recommended hotfixes for the server.
	RecommendedQfes *[]Hotfix `json:"recommendedQfes,omitempty"`
	// ResolvedAlerts - The total count of alerts that are resolved for this server.
	ResolvedAlerts *int32 `json:"resolvedAlerts,omitempty"`
	// Role - The service role that is being monitored in the server.
	Role *string `json:"role,omitempty"`
	// ServerReportedMonitoringLevel - The monitoring level reported by the server. Possible values include: 'Partial', 'Full', 'Off'
	ServerReportedMonitoringLevel MonitoringLevel `json:"serverReportedMonitoringLevel,omitempty"`
	// Status - The health status of the server.
	Status *string `json:"status,omitempty"`
}

AddsServiceMember the server details for ADDS service.

type AddsServiceMembers

type AddsServiceMembers struct {
	autorest.Response `json:"-"`
	// NextLink - The link used to get the next page of operations.
	NextLink *string `json:"nextLink,omitempty"`
	// Value - The value returned by the operation.
	Value *[]AddsServiceMember `json:"value,omitempty"`
	// TotalCount - The total count of service members.
	TotalCount *int32 `json:"totalCount,omitempty"`
	// ContinuationToken - The continuation token for paginated calls.
	ContinuationToken *string `json:"continuationToken,omitempty"`
}

AddsServiceMembers the list of ADDS service members.

func (AddsServiceMembers) IsEmpty

func (asm AddsServiceMembers) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type AddsServiceMembersClient

type AddsServiceMembersClient struct {
	BaseClient
}

AddsServiceMembersClient is the REST APIs for Azure Active Drectory Connect Health

func NewAddsServiceMembersClient

func NewAddsServiceMembersClient() AddsServiceMembersClient

NewAddsServiceMembersClient creates an instance of the AddsServiceMembersClient client.

func NewAddsServiceMembersClientWithBaseURI

func NewAddsServiceMembersClientWithBaseURI(baseURI string) AddsServiceMembersClient

NewAddsServiceMembersClientWithBaseURI creates an instance of the AddsServiceMembersClient client.

func (AddsServiceMembersClient) Delete

func (client AddsServiceMembersClient) Delete(ctx context.Context, serviceName string, serviceMemberID uuid.UUID, confirm *bool) (result autorest.Response, err error)

Delete deletes a Active Directory Domain Controller server that has been onboarded to Azure Active Directory Connect Health Service. Parameters: serviceName - the name of the service. serviceMemberID - the server Id. confirm - indicates if the server will be permanently deleted or disabled. True indicates that the server will be permanently deleted and False indicates that the server will be marked disabled and then deleted after 30 days, if it is not re-registered.

func (AddsServiceMembersClient) DeletePreparer

func (client AddsServiceMembersClient) DeletePreparer(ctx context.Context, serviceName string, serviceMemberID uuid.UUID, confirm *bool) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (AddsServiceMembersClient) DeleteResponder

func (client AddsServiceMembersClient) 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 (AddsServiceMembersClient) DeleteSender

func (client AddsServiceMembersClient) DeleteSender(req *http.Request) (*http.Response, error)

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

func (AddsServiceMembersClient) Get

func (client AddsServiceMembersClient) Get(ctx context.Context, serviceName string, serviceMemberID uuid.UUID) (result ServiceMember, err error)

Get gets the details of a server, for a given Active Directory Domain Controller service, that are onboarded to Azure Active Directory Connect Health Service. Parameters: serviceName - the name of the service. serviceMemberID - the server Id.

func (AddsServiceMembersClient) GetPreparer

func (client AddsServiceMembersClient) GetPreparer(ctx context.Context, serviceName string, serviceMemberID uuid.UUID) (*http.Request, error)

GetPreparer prepares the Get request.

func (AddsServiceMembersClient) GetResponder

func (client AddsServiceMembersClient) GetResponder(resp *http.Response) (result ServiceMember, err error)

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

func (AddsServiceMembersClient) GetSender

func (client AddsServiceMembersClient) 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 (AddsServiceMembersClient) List

func (client AddsServiceMembersClient) List(ctx context.Context, serviceName string, filter string) (result AddsServiceMembersPage, err error)

List gets the details of the Active Directory Domain servers, for a given Active Directory Domain Service, that are onboarded to Azure Active Directory Connect Health. Parameters: serviceName - the name of the service. filter - the server property filter to apply.

func (AddsServiceMembersClient) ListComplete

func (client AddsServiceMembersClient) ListComplete(ctx context.Context, serviceName string, filter string) (result AddsServiceMembersIterator, err error)

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

func (AddsServiceMembersClient) ListCredentials

func (client AddsServiceMembersClient) ListCredentials(ctx context.Context, serviceName string, serviceMemberID uuid.UUID, filter string) (result Credentials, err error)

ListCredentials gets the credentials of the server which is needed by the agent to connect to Azure Active Directory Connect Health Service. Parameters: serviceName - the name of the service. serviceMemberID - the server Id. filter - the property filter to apply.

func (AddsServiceMembersClient) ListCredentialsPreparer

func (client AddsServiceMembersClient) ListCredentialsPreparer(ctx context.Context, serviceName string, serviceMemberID uuid.UUID, filter string) (*http.Request, error)

ListCredentialsPreparer prepares the ListCredentials request.

func (AddsServiceMembersClient) ListCredentialsResponder

func (client AddsServiceMembersClient) ListCredentialsResponder(resp *http.Response) (result Credentials, err error)

ListCredentialsResponder handles the response to the ListCredentials request. The method always closes the http.Response Body.

func (AddsServiceMembersClient) ListCredentialsSender

func (client AddsServiceMembersClient) ListCredentialsSender(req *http.Request) (*http.Response, error)

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

func (AddsServiceMembersClient) ListPreparer

func (client AddsServiceMembersClient) ListPreparer(ctx context.Context, serviceName string, filter string) (*http.Request, error)

ListPreparer prepares the List request.

func (AddsServiceMembersClient) ListResponder

func (client AddsServiceMembersClient) ListResponder(resp *http.Response) (result AddsServiceMembers, err error)

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

func (AddsServiceMembersClient) ListSender

func (client AddsServiceMembersClient) 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 AddsServiceMembersIterator

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

AddsServiceMembersIterator provides access to a complete listing of AddsServiceMember values.

func (*AddsServiceMembersIterator) Next

func (iter *AddsServiceMembersIterator) 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.

func (AddsServiceMembersIterator) NotDone

func (iter AddsServiceMembersIterator) NotDone() bool

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

func (AddsServiceMembersIterator) Response

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

func (AddsServiceMembersIterator) Value

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

type AddsServiceMembersPage

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

AddsServiceMembersPage contains a page of AddsServiceMember values.

func (*AddsServiceMembersPage) Next

func (page *AddsServiceMembersPage) 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.

func (AddsServiceMembersPage) NotDone

func (page AddsServiceMembersPage) NotDone() bool

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

func (AddsServiceMembersPage) Response

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

func (AddsServiceMembersPage) Values

func (page AddsServiceMembersPage) Values() []AddsServiceMember

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

type AddsServicesClient

type AddsServicesClient struct {
	BaseClient
}

AddsServicesClient is the REST APIs for Azure Active Drectory Connect Health

func NewAddsServicesClient

func NewAddsServicesClient() AddsServicesClient

NewAddsServicesClient creates an instance of the AddsServicesClient client.

func NewAddsServicesClientWithBaseURI

func NewAddsServicesClientWithBaseURI(baseURI string) AddsServicesClient

NewAddsServicesClientWithBaseURI creates an instance of the AddsServicesClient client.

func (AddsServicesClient) Add

func (client AddsServicesClient) Add(ctx context.Context, service ServiceProperties) (result ServiceProperties, err error)

Add onboards a service for a given tenant in Azure Active Directory Connect Health. Parameters: service - the service object.

func (AddsServicesClient) AddPreparer

func (client AddsServicesClient) AddPreparer(ctx context.Context, service ServiceProperties) (*http.Request, error)

AddPreparer prepares the Add request.

func (AddsServicesClient) AddResponder

func (client AddsServicesClient) AddResponder(resp *http.Response) (result ServiceProperties, err error)

AddResponder handles the response to the Add request. The method always closes the http.Response Body.

func (AddsServicesClient) AddSender

func (client AddsServicesClient) AddSender(req *http.Request) (*http.Response, error)

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

func (AddsServicesClient) Delete

func (client AddsServicesClient) Delete(ctx context.Context, serviceName string, confirm *bool) (result autorest.Response, err error)

Delete deletes an Active Directory Domain Service which is onboarded to Azure Active Directory Connect Health. Parameters: serviceName - the name of the service which needs to be deleted. confirm - indicates if the service will be permanently deleted or disabled. True indicates that the service will be permanently deleted and False indicates that the service will be marked disabled and then deleted after 30 days, if it is not re-registered.

func (AddsServicesClient) DeletePreparer

func (client AddsServicesClient) DeletePreparer(ctx context.Context, serviceName string, confirm *bool) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (AddsServicesClient) DeleteResponder

func (client AddsServicesClient) 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 (AddsServicesClient) DeleteSender

func (client AddsServicesClient) DeleteSender(req *http.Request) (*http.Response, error)

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

func (AddsServicesClient) Get

func (client AddsServicesClient) Get(ctx context.Context, serviceName string) (result ServiceProperties, err error)

Get gets the details of an Active Directory Domain Service for a tenant having Azure AD Premium license and is onboarded to Azure Active Directory Connect Health. Parameters: serviceName - the name of the service.

func (AddsServicesClient) GetForestSummary

func (client AddsServicesClient) GetForestSummary(ctx context.Context, serviceName string) (result ForestSummary, err error)

GetForestSummary gets the forest summary for a given Active Directory Domain Service, that is onboarded to Azure Active Directory Connect Health. Parameters: serviceName - the name of the service.

func (AddsServicesClient) GetForestSummaryPreparer

func (client AddsServicesClient) GetForestSummaryPreparer(ctx context.Context, serviceName string) (*http.Request, error)

GetForestSummaryPreparer prepares the GetForestSummary request.

func (AddsServicesClient) GetForestSummaryResponder

func (client AddsServicesClient) GetForestSummaryResponder(resp *http.Response) (result ForestSummary, err error)

GetForestSummaryResponder handles the response to the GetForestSummary request. The method always closes the http.Response Body.

func (AddsServicesClient) GetForestSummarySender

func (client AddsServicesClient) GetForestSummarySender(req *http.Request) (*http.Response, error)

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

func (AddsServicesClient) GetMetricMetadata

func (client AddsServicesClient) GetMetricMetadata(ctx context.Context, serviceName string, metricName string) (result MetricMetadata, err error)

GetMetricMetadata gets the service related metric information. Parameters: serviceName - the name of the service. metricName - the metric name

func (AddsServicesClient) GetMetricMetadataForGroup

func (client AddsServicesClient) GetMetricMetadataForGroup(ctx context.Context, serviceName string, metricName string, groupName string, groupKey string, fromDate *date.Time, toDate *date.Time) (result MetricSets, err error)

GetMetricMetadataForGroup gets the service related metrics for a given metric and group combination. Parameters: serviceName - the name of the service. metricName - the metric name groupName - the group name groupKey - the group key fromDate - the start date. toDate - the end date.

func (AddsServicesClient) GetMetricMetadataForGroupPreparer

func (client AddsServicesClient) GetMetricMetadataForGroupPreparer(ctx context.Context, serviceName string, metricName string, groupName string, groupKey string, fromDate *date.Time, toDate *date.Time) (*http.Request, error)

GetMetricMetadataForGroupPreparer prepares the GetMetricMetadataForGroup request.

func (AddsServicesClient) GetMetricMetadataForGroupResponder

func (client AddsServicesClient) GetMetricMetadataForGroupResponder(resp *http.Response) (result MetricSets, err error)

GetMetricMetadataForGroupResponder handles the response to the GetMetricMetadataForGroup request. The method always closes the http.Response Body.

func (AddsServicesClient) GetMetricMetadataForGroupSender

func (client AddsServicesClient) GetMetricMetadataForGroupSender(req *http.Request) (*http.Response, error)

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

func (AddsServicesClient) GetMetricMetadataPreparer

func (client AddsServicesClient) GetMetricMetadataPreparer(ctx context.Context, serviceName string, metricName string) (*http.Request, error)

GetMetricMetadataPreparer prepares the GetMetricMetadata request.

func (AddsServicesClient) GetMetricMetadataResponder

func (client AddsServicesClient) GetMetricMetadataResponder(resp *http.Response) (result MetricMetadata, err error)

GetMetricMetadataResponder handles the response to the GetMetricMetadata request. The method always closes the http.Response Body.

func (AddsServicesClient) GetMetricMetadataSender

func (client AddsServicesClient) GetMetricMetadataSender(req *http.Request) (*http.Response, error)

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

func (AddsServicesClient) GetPreparer

func (client AddsServicesClient) GetPreparer(ctx context.Context, serviceName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (AddsServicesClient) GetResponder

func (client AddsServicesClient) GetResponder(resp *http.Response) (result ServiceProperties, err error)

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

func (AddsServicesClient) GetSender

func (client AddsServicesClient) 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 (AddsServicesClient) List

func (client AddsServicesClient) List(ctx context.Context, filter string, serviceType string, skipCount *int32, takeCount *int32) (result ServicesPage, err error)

List gets the details of Active Directory Domain Service, for a tenant, that are onboarded to Azure Active Directory Connect Health. Parameters: filter - the service property filter to apply. serviceType - the service type for the services onboarded to Azure Active Directory Connect Health. Depending on whether the service is monitoring, ADFS, Sync or ADDS roles, the service type can either be AdFederationService or AadSyncService or AdDomainService. skipCount - the skip count, which specifies the number of elements that can be bypassed from a sequence and then return the remaining elements. takeCount - the take count , which specifies the number of elements that can be returned from a sequence.

func (AddsServicesClient) ListComplete

func (client AddsServicesClient) ListComplete(ctx context.Context, filter string, serviceType string, skipCount *int32, takeCount *int32) (result ServicesIterator, err error)

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

func (AddsServicesClient) ListMetricMetadata

func (client AddsServicesClient) ListMetricMetadata(ctx context.Context, serviceName string, filter string, perfCounter *bool) (result MetricMetadataListPage, err error)

ListMetricMetadata gets the service related metrics information. Parameters: serviceName - the name of the service. filter - the metric metadata property filter to apply. perfCounter - indicates if only performance counter metrics are requested.

func (AddsServicesClient) ListMetricMetadataComplete

func (client AddsServicesClient) ListMetricMetadataComplete(ctx context.Context, serviceName string, filter string, perfCounter *bool) (result MetricMetadataListIterator, err error)

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

func (AddsServicesClient) ListMetricMetadataPreparer

func (client AddsServicesClient) ListMetricMetadataPreparer(ctx context.Context, serviceName string, filter string, perfCounter *bool) (*http.Request, error)

ListMetricMetadataPreparer prepares the ListMetricMetadata request.

func (AddsServicesClient) ListMetricMetadataResponder

func (client AddsServicesClient) ListMetricMetadataResponder(resp *http.Response) (result MetricMetadataList, err error)

ListMetricMetadataResponder handles the response to the ListMetricMetadata request. The method always closes the http.Response Body.

func (AddsServicesClient) ListMetricMetadataSender

func (client AddsServicesClient) ListMetricMetadataSender(req *http.Request) (*http.Response, error)

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

func (AddsServicesClient) ListMetricsAverage

func (client AddsServicesClient) ListMetricsAverage(ctx context.Context, serviceName string, metricName string, groupName string) (result MetricsPage, err error)

ListMetricsAverage gets the average of the metric values for a given metric and group combination. Parameters: serviceName - the name of the service. metricName - the metric name groupName - the group name

func (AddsServicesClient) ListMetricsAverageComplete

func (client AddsServicesClient) ListMetricsAverageComplete(ctx context.Context, serviceName string, metricName string, groupName string) (result MetricsIterator, err error)

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

func (AddsServicesClient) ListMetricsAveragePreparer

func (client AddsServicesClient) ListMetricsAveragePreparer(ctx context.Context, serviceName string, metricName string, groupName string) (*http.Request, error)

ListMetricsAveragePreparer prepares the ListMetricsAverage request.

func (AddsServicesClient) ListMetricsAverageResponder

func (client AddsServicesClient) ListMetricsAverageResponder(resp *http.Response) (result Metrics, err error)

ListMetricsAverageResponder handles the response to the ListMetricsAverage request. The method always closes the http.Response Body.

func (AddsServicesClient) ListMetricsAverageSender

func (client AddsServicesClient) ListMetricsAverageSender(req *http.Request) (*http.Response, error)

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

func (AddsServicesClient) ListMetricsSum

func (client AddsServicesClient) ListMetricsSum(ctx context.Context, serviceName string, metricName string, groupName string) (result MetricsPage, err error)

ListMetricsSum gets the sum of the metric values for a given metric and group combination. Parameters: serviceName - the name of the service. metricName - the metric name groupName - the group name

func (AddsServicesClient) ListMetricsSumComplete

func (client AddsServicesClient) ListMetricsSumComplete(ctx context.Context, serviceName string, metricName string, groupName string) (result MetricsIterator, err error)

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

func (AddsServicesClient) ListMetricsSumPreparer

func (client AddsServicesClient) ListMetricsSumPreparer(ctx context.Context, serviceName string, metricName string, groupName string) (*http.Request, error)

ListMetricsSumPreparer prepares the ListMetricsSum request.

func (AddsServicesClient) ListMetricsSumResponder

func (client AddsServicesClient) ListMetricsSumResponder(resp *http.Response) (result Metrics, err error)

ListMetricsSumResponder handles the response to the ListMetricsSum request. The method always closes the http.Response Body.

func (AddsServicesClient) ListMetricsSumSender

func (client AddsServicesClient) ListMetricsSumSender(req *http.Request) (*http.Response, error)

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

func (AddsServicesClient) ListPremiumServices

func (client AddsServicesClient) ListPremiumServices(ctx context.Context, filter string, serviceType string, skipCount *int32, takeCount *int32) (result ServicesPage, err error)

ListPremiumServices gets the details of Active Directory Domain Services for a tenant having Azure AD Premium license and is onboarded to Azure Active Directory Connect Health. Parameters: filter - the service property filter to apply. serviceType - the service type for the services onboarded to Azure Active Directory Connect Health. Depending on whether the service is monitoring, ADFS, Sync or ADDS roles, the service type can either be AdFederationService or AadSyncService or AdDomainService. skipCount - the skip count, which specifies the number of elements that can be bypassed from a sequence and then return the remaining elements. takeCount - the take count , which specifies the number of elements that can be returned from a sequence.

func (AddsServicesClient) ListPremiumServicesComplete

func (client AddsServicesClient) ListPremiumServicesComplete(ctx context.Context, filter string, serviceType string, skipCount *int32, takeCount *int32) (result ServicesIterator, err error)

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

func (AddsServicesClient) ListPremiumServicesPreparer

func (client AddsServicesClient) ListPremiumServicesPreparer(ctx context.Context, filter string, serviceType string, skipCount *int32, takeCount *int32) (*http.Request, error)

ListPremiumServicesPreparer prepares the ListPremiumServices request.

func (AddsServicesClient) ListPremiumServicesResponder

func (client AddsServicesClient) ListPremiumServicesResponder(resp *http.Response) (result Services, err error)

ListPremiumServicesResponder handles the response to the ListPremiumServices request. The method always closes the http.Response Body.

func (AddsServicesClient) ListPremiumServicesSender

func (client AddsServicesClient) ListPremiumServicesSender(req *http.Request) (*http.Response, error)

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

func (AddsServicesClient) ListPreparer

func (client AddsServicesClient) ListPreparer(ctx context.Context, filter string, serviceType string, skipCount *int32, takeCount *int32) (*http.Request, error)

ListPreparer prepares the List request.

func (AddsServicesClient) ListReplicationDetails

func (client AddsServicesClient) ListReplicationDetails(ctx context.Context, serviceName string, filter string, withDetails *bool) (result ReplicationDetailsList, err error)

ListReplicationDetails gets complete domain controller list along with replication details for a given Active Directory Domain Service, that is onboarded to Azure Active Directory Connect Health. Parameters: serviceName - the name of the service. filter - the server property filter to apply. withDetails - indicates if InboundReplicationNeighbor details are required or not.

func (AddsServicesClient) ListReplicationDetailsPreparer

func (client AddsServicesClient) ListReplicationDetailsPreparer(ctx context.Context, serviceName string, filter string, withDetails *bool) (*http.Request, error)

ListReplicationDetailsPreparer prepares the ListReplicationDetails request.

func (AddsServicesClient) ListReplicationDetailsResponder

func (client AddsServicesClient) ListReplicationDetailsResponder(resp *http.Response) (result ReplicationDetailsList, err error)

ListReplicationDetailsResponder handles the response to the ListReplicationDetails request. The method always closes the http.Response Body.

func (AddsServicesClient) ListReplicationDetailsSender

func (client AddsServicesClient) ListReplicationDetailsSender(req *http.Request) (*http.Response, error)

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

func (AddsServicesClient) ListReplicationSummary

func (client AddsServicesClient) ListReplicationSummary(ctx context.Context, serviceName string, isGroupbySite bool, query string, filter string, takeCount *int32) (result ReplicationSummaryList, err error)

ListReplicationSummary gets complete domain controller list along with replication details for a given Active Directory Domain Service, that is onboarded to Azure Active Directory Connect Health. Parameters: serviceName - the name of the service. isGroupbySite - indicates if the result should be grouped by site or not. query - the custom query. filter - the server property filter to apply. takeCount - the take count , which specifies the number of elements that can be returned from a sequence.

func (AddsServicesClient) ListReplicationSummaryPreparer

func (client AddsServicesClient) ListReplicationSummaryPreparer(ctx context.Context, serviceName string, isGroupbySite bool, query string, filter string, takeCount *int32) (*http.Request, error)

ListReplicationSummaryPreparer prepares the ListReplicationSummary request.

func (AddsServicesClient) ListReplicationSummaryResponder

func (client AddsServicesClient) ListReplicationSummaryResponder(resp *http.Response) (result ReplicationSummaryList, err error)

ListReplicationSummaryResponder handles the response to the ListReplicationSummary request. The method always closes the http.Response Body.

func (AddsServicesClient) ListReplicationSummarySender

func (client AddsServicesClient) ListReplicationSummarySender(req *http.Request) (*http.Response, error)

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

func (AddsServicesClient) ListResponder

func (client AddsServicesClient) ListResponder(resp *http.Response) (result Services, err error)

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

func (AddsServicesClient) ListSender

func (client AddsServicesClient) 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 (AddsServicesClient) ListServerAlerts

func (client AddsServicesClient) ListServerAlerts(ctx context.Context, serviceMemberID uuid.UUID, serviceName string, filter string, state string, from *date.Time, toParameter *date.Time) (result AlertsPage, err error)

ListServerAlerts gets the details of an alert for a given Active Directory Domain Controller service and server combination. Parameters: serviceMemberID - the server Id for which the alert details needs to be queried. serviceName - the name of the service. filter - the alert property filter to apply. state - the alert state to query for. from - the start date to query for. toParameter - the end date till when to query for.

func (AddsServicesClient) ListServerAlertsComplete

func (client AddsServicesClient) ListServerAlertsComplete(ctx context.Context, serviceMemberID uuid.UUID, serviceName string, filter string, state string, from *date.Time, toParameter *date.Time) (result AlertsIterator, err error)

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

func (AddsServicesClient) ListServerAlertsPreparer

func (client AddsServicesClient) ListServerAlertsPreparer(ctx context.Context, serviceMemberID uuid.UUID, serviceName string, filter string, state string, from *date.Time, toParameter *date.Time) (*http.Request, error)

ListServerAlertsPreparer prepares the ListServerAlerts request.

func (AddsServicesClient) ListServerAlertsResponder

func (client AddsServicesClient) ListServerAlertsResponder(resp *http.Response) (result Alerts, err error)

ListServerAlertsResponder handles the response to the ListServerAlerts request. The method always closes the http.Response Body.

func (AddsServicesClient) ListServerAlertsSender

func (client AddsServicesClient) ListServerAlertsSender(req *http.Request) (*http.Response, error)

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

func (AddsServicesClient) Update

func (client AddsServicesClient) Update(ctx context.Context, serviceName string, service ServiceProperties) (result ServiceProperties, err error)

Update updates an Active Directory Domain Service properties of an onboarded service. Parameters: serviceName - the name of the service which needs to be deleted. service - the service object.

func (AddsServicesClient) UpdatePreparer

func (client AddsServicesClient) UpdatePreparer(ctx context.Context, serviceName string, service ServiceProperties) (*http.Request, error)

UpdatePreparer prepares the Update request.

func (AddsServicesClient) UpdateResponder

func (client AddsServicesClient) UpdateResponder(resp *http.Response) (result ServiceProperties, err error)

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

func (AddsServicesClient) UpdateSender

func (client AddsServicesClient) UpdateSender(req *http.Request) (*http.Response, error)

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

type AddsServicesReplicationStatusClient

type AddsServicesReplicationStatusClient struct {
	BaseClient
}

AddsServicesReplicationStatusClient is the REST APIs for Azure Active Drectory Connect Health

func NewAddsServicesReplicationStatusClient

func NewAddsServicesReplicationStatusClient() AddsServicesReplicationStatusClient

NewAddsServicesReplicationStatusClient creates an instance of the AddsServicesReplicationStatusClient client.

func NewAddsServicesReplicationStatusClientWithBaseURI

func NewAddsServicesReplicationStatusClientWithBaseURI(baseURI string) AddsServicesReplicationStatusClient

NewAddsServicesReplicationStatusClientWithBaseURI creates an instance of the AddsServicesReplicationStatusClient client.

func (AddsServicesReplicationStatusClient) Get

func (client AddsServicesReplicationStatusClient) Get(ctx context.Context, serviceName string) (result ReplicationStatus, err error)

Get gets Replication status for a given Active Directory Domain Service, that is onboarded to Azure Active Directory Connect Health. Parameters: serviceName - the name of the service.

func (AddsServicesReplicationStatusClient) GetPreparer

func (client AddsServicesReplicationStatusClient) GetPreparer(ctx context.Context, serviceName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (AddsServicesReplicationStatusClient) GetResponder

func (client AddsServicesReplicationStatusClient) GetResponder(resp *http.Response) (result ReplicationStatus, err error)

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

func (AddsServicesReplicationStatusClient) GetSender

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

type AddsServicesServiceMembersClient

type AddsServicesServiceMembersClient struct {
	BaseClient
}

AddsServicesServiceMembersClient is the REST APIs for Azure Active Drectory Connect Health

func NewAddsServicesServiceMembersClient

func NewAddsServicesServiceMembersClient() AddsServicesServiceMembersClient

NewAddsServicesServiceMembersClient creates an instance of the AddsServicesServiceMembersClient client.

func NewAddsServicesServiceMembersClientWithBaseURI

func NewAddsServicesServiceMembersClientWithBaseURI(baseURI string) AddsServicesServiceMembersClient

NewAddsServicesServiceMembersClientWithBaseURI creates an instance of the AddsServicesServiceMembersClient client.

func (AddsServicesServiceMembersClient) Add

func (client AddsServicesServiceMembersClient) Add(ctx context.Context, serviceName string, serviceMember ServiceMember) (result ServiceMember, err error)

Add onboards a server, for a given Active Directory Domain Controller service, to Azure Active Directory Connect Health Service. Parameters: serviceName - the name of the service under which the server is to be onboarded. serviceMember - the server object.

func (AddsServicesServiceMembersClient) AddPreparer

func (client AddsServicesServiceMembersClient) AddPreparer(ctx context.Context, serviceName string, serviceMember ServiceMember) (*http.Request, error)

AddPreparer prepares the Add request.

func (AddsServicesServiceMembersClient) AddResponder

func (client AddsServicesServiceMembersClient) AddResponder(resp *http.Response) (result ServiceMember, err error)

AddResponder handles the response to the Add request. The method always closes the http.Response Body.

func (AddsServicesServiceMembersClient) AddSender

func (client AddsServicesServiceMembersClient) AddSender(req *http.Request) (*http.Response, error)

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

func (AddsServicesServiceMembersClient) List

func (client AddsServicesServiceMembersClient) List(ctx context.Context, serviceName string, filter string, dimensionType string, dimensionSignature string) (result ServiceMembersPage, err error)

List gets the details of the servers, for a given Active Directory Domain Controller service, that are onboarded to Azure Active Directory Connect Health Service. Parameters: serviceName - the name of the service. filter - the server property filter to apply. dimensionType - the server specific dimension. dimensionSignature - the value of the dimension.

func (AddsServicesServiceMembersClient) ListComplete

func (client AddsServicesServiceMembersClient) ListComplete(ctx context.Context, serviceName string, filter string, dimensionType string, dimensionSignature string) (result ServiceMembersIterator, err error)

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

func (AddsServicesServiceMembersClient) ListPreparer

func (client AddsServicesServiceMembersClient) ListPreparer(ctx context.Context, serviceName string, filter string, dimensionType string, dimensionSignature string) (*http.Request, error)

ListPreparer prepares the List request.

func (AddsServicesServiceMembersClient) ListResponder

func (client AddsServicesServiceMembersClient) ListResponder(resp *http.Response) (result ServiceMembers, err error)

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

func (AddsServicesServiceMembersClient) ListSender

func (client AddsServicesServiceMembersClient) 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 AddsServicesUserPreferenceClient

type AddsServicesUserPreferenceClient struct {
	BaseClient
}

AddsServicesUserPreferenceClient is the REST APIs for Azure Active Drectory Connect Health

func NewAddsServicesUserPreferenceClient

func NewAddsServicesUserPreferenceClient() AddsServicesUserPreferenceClient

NewAddsServicesUserPreferenceClient creates an instance of the AddsServicesUserPreferenceClient client.

func NewAddsServicesUserPreferenceClientWithBaseURI

func NewAddsServicesUserPreferenceClientWithBaseURI(baseURI string) AddsServicesUserPreferenceClient

NewAddsServicesUserPreferenceClientWithBaseURI creates an instance of the AddsServicesUserPreferenceClient client.

func (AddsServicesUserPreferenceClient) Add

func (client AddsServicesUserPreferenceClient) Add(ctx context.Context, serviceName string, featureName string, setting UserPreference) (result autorest.Response, err error)

Add adds the user preferences for a given feature. Parameters: serviceName - the name of the service. featureName - the name of the feature. setting - the user preference setting.

func (AddsServicesUserPreferenceClient) AddPreparer

func (client AddsServicesUserPreferenceClient) AddPreparer(ctx context.Context, serviceName string, featureName string, setting UserPreference) (*http.Request, error)

AddPreparer prepares the Add request.

func (AddsServicesUserPreferenceClient) AddResponder

func (client AddsServicesUserPreferenceClient) AddResponder(resp *http.Response) (result autorest.Response, err error)

AddResponder handles the response to the Add request. The method always closes the http.Response Body.

func (AddsServicesUserPreferenceClient) AddSender

func (client AddsServicesUserPreferenceClient) AddSender(req *http.Request) (*http.Response, error)

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

func (AddsServicesUserPreferenceClient) Delete

func (client AddsServicesUserPreferenceClient) Delete(ctx context.Context, serviceName string, featureName string) (result autorest.Response, err error)

Delete deletes the user preferences for a given feature. Parameters: serviceName - the name of the service. featureName - the name of the feature.

func (AddsServicesUserPreferenceClient) DeletePreparer

func (client AddsServicesUserPreferenceClient) DeletePreparer(ctx context.Context, serviceName string, featureName string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (AddsServicesUserPreferenceClient) DeleteResponder

func (client AddsServicesUserPreferenceClient) 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 (AddsServicesUserPreferenceClient) DeleteSender

func (client AddsServicesUserPreferenceClient) DeleteSender(req *http.Request) (*http.Response, error)

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

func (AddsServicesUserPreferenceClient) Get

func (client AddsServicesUserPreferenceClient) Get(ctx context.Context, serviceName string, featureName string) (result UserPreference, err error)

Get gets the user preferences for a given feature. Parameters: serviceName - the name of the service. featureName - the name of the feature.

func (AddsServicesUserPreferenceClient) GetPreparer

func (client AddsServicesUserPreferenceClient) GetPreparer(ctx context.Context, serviceName string, featureName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (AddsServicesUserPreferenceClient) GetResponder

func (client AddsServicesUserPreferenceClient) GetResponder(resp *http.Response) (result UserPreference, err error)

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

func (AddsServicesUserPreferenceClient) GetSender

func (client AddsServicesUserPreferenceClient) 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.

type Agent

type Agent struct {
	// TenantID - The tenant Id.
	TenantID *string `json:"tenantId,omitempty"`
	// MachineID - The machine Id.
	MachineID *string `json:"machineId,omitempty"`
	// Credential - The agent credential details.
	Credential interface{} `json:"credential,omitempty"`
	// MachineName - The machine name.
	MachineName *string `json:"machineName,omitempty"`
	// AgentVersion - The agent version.
	AgentVersion *string `json:"agentVersion,omitempty"`
	// CreatedDate - The date and time, in UTC, when the agent was created.
	CreatedDate *date.Time `json:"createdDate,omitempty"`
	// Key -  The connector hash key.
	Key *string `json:"key,omitempty"`
}

Agent the agent details.

type Alert

type Alert struct {
	// AlertID - The alert Id.
	AlertID *uuid.UUID `json:"alertId,omitempty"`
	// Level - The alert level which indicates the severity of the alert. Possible values include: 'LevelWarning', 'LevelError', 'LevelPreWarning'
	Level Level `json:"level,omitempty"`
	// State - The alert state which can be either active or resolved with multile resolution types. Possible values include: 'Active', 'ResolvedByPositiveResult', 'ResolvedManually', 'ResolvedByTimer', 'ResolvedByStateChange'
	State State `json:"state,omitempty"`
	// ShortName - The alert short name.
	ShortName *string `json:"shortName,omitempty"`
	// DisplayName - The display name for the alert.
	DisplayName *string `json:"displayName,omitempty"`
	// Description - The alert description.
	Description *string `json:"description,omitempty"`
	// Remediation - The alert remediation.
	Remediation *string `json:"remediation,omitempty"`
	// RelatedLinks - The help links to get more information related to the alert.
	RelatedLinks *[]HelpLink `json:"relatedLinks,omitempty"`
	// Scope - The scope of the alert. Indicates if it is a service or a server related alert.
	Scope *string `json:"scope,omitempty"`
	// AdditionalInformation - Additional information related to the alert.
	AdditionalInformation *[]AdditionalInformation `json:"additionalInformation,omitempty"`
	// CreatedDate - The date and time,in UTC,when the alert was created.
	CreatedDate *date.Time `json:"createdDate,omitempty"`
	// ResolvedDate - The date and time, in UTC, when the alert was resolved.
	ResolvedDate *date.Time `json:"resolvedDate,omitempty"`
	// LastUpdated - The date and time, in UTC, when the alert was last updated.
	LastUpdated *date.Time `json:"lastUpdated,omitempty"`
	// MonitorRoleType - The monitoring role type for which the alert was raised.
	MonitorRoleType *string `json:"monitorRoleType,omitempty"`
	// ActiveAlertProperties - The active alert properties.
	ActiveAlertProperties *[]Item `json:"activeAlertProperties,omitempty"`
	// ResolvedAlertProperties - The resolved alert properties.
	ResolvedAlertProperties *[]Item `json:"resolvedAlertProperties,omitempty"`
	// TenantID - The tenant Id.
	TenantID *uuid.UUID `json:"tenantId,omitempty"`
	// ServiceID - The service Id.
	ServiceID *uuid.UUID `json:"serviceId,omitempty"`
	// ServiceMemberID - The server Id.
	ServiceMemberID *uuid.UUID `json:"serviceMemberId,omitempty"`
}

Alert the alert details indicating an issue with service or server.

type AlertFeedback

type AlertFeedback struct {
	autorest.Response `json:"-"`
	// Level - The alert level which indicates the severity of the alert.
	Level *string `json:"level,omitempty"`
	// State - The alert state which can be either active or resolved with multile resolution types.
	State *string `json:"state,omitempty"`
	// ShortName - The alert short name.
	ShortName *string `json:"shortName,omitempty"`
	// Feedback - The feedback for the alert which indicates if the customer likes or dislikes the alert.
	Feedback *string `json:"feedback,omitempty"`
	// Comment - Additional comments related to the alert.
	Comment *string `json:"comment,omitempty"`
	// ConsentedToShare - Indicates if the alert feedback can be shared from product team.
	ConsentedToShare *bool `json:"consentedToShare,omitempty"`
	// ServiceMemberID - The server Id of the alert.
	ServiceMemberID *string `json:"serviceMemberId,omitempty"`
	// CreatedDate - The date and time,in UTC,when the alert was created.
	CreatedDate *date.Time `json:"createdDate,omitempty"`
}

AlertFeedback the alert feedback details.

type AlertFeedbacks

type AlertFeedbacks struct {
	autorest.Response `json:"-"`
	// Value - The value returned by the operation.
	Value *[]AlertFeedback `json:"value,omitempty"`
}

AlertFeedbacks the list of alert feedback.

type Alerts

type Alerts struct {
	autorest.Response `json:"-"`
	// Value - The value returned by the operation.
	Value *[]Alert `json:"value,omitempty"`
	// NextLink - The link used to get the next page of operations.
	NextLink *string `json:"nextLink,omitempty"`
	// TotalCount - The total count of alert elements.
	TotalCount *int32 `json:"totalCount,omitempty"`
	// ContinuationToken - The continuation token for paginated calls.
	ContinuationToken *string `json:"continuationToken,omitempty"`
}

Alerts the list of alerts for a service.

func (Alerts) IsEmpty

func (a Alerts) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type AlertsClient

type AlertsClient struct {
	BaseClient
}

AlertsClient is the REST APIs for Azure Active Drectory Connect Health

func NewAlertsClient

func NewAlertsClient() AlertsClient

NewAlertsClient creates an instance of the AlertsClient client.

func NewAlertsClientWithBaseURI

func NewAlertsClientWithBaseURI(baseURI string) AlertsClient

NewAlertsClientWithBaseURI creates an instance of the AlertsClient client.

func (AlertsClient) ListAddsAlerts

func (client AlertsClient) ListAddsAlerts(ctx context.Context, serviceName string, filter string, state string, from *date.Time, toParameter *date.Time) (result AlertsPage, err error)

ListAddsAlerts gets the alerts for a given Active Directory Domain Service. Parameters: serviceName - the name of the service. filter - the alert property filter to apply. state - the alert state to query for. from - the start date to query for. toParameter - the end date till when to query for.

func (AlertsClient) ListAddsAlertsComplete

func (client AlertsClient) ListAddsAlertsComplete(ctx context.Context, serviceName string, filter string, state string, from *date.Time, toParameter *date.Time) (result AlertsIterator, err error)

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

func (AlertsClient) ListAddsAlertsPreparer

func (client AlertsClient) ListAddsAlertsPreparer(ctx context.Context, serviceName string, filter string, state string, from *date.Time, toParameter *date.Time) (*http.Request, error)

ListAddsAlertsPreparer prepares the ListAddsAlerts request.

func (AlertsClient) ListAddsAlertsResponder

func (client AlertsClient) ListAddsAlertsResponder(resp *http.Response) (result Alerts, err error)

ListAddsAlertsResponder handles the response to the ListAddsAlerts request. The method always closes the http.Response Body.

func (AlertsClient) ListAddsAlertsSender

func (client AlertsClient) ListAddsAlertsSender(req *http.Request) (*http.Response, error)

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

type AlertsIterator

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

AlertsIterator provides access to a complete listing of Alert values.

func (*AlertsIterator) Next

func (iter *AlertsIterator) 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.

func (AlertsIterator) NotDone

func (iter AlertsIterator) NotDone() bool

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

func (AlertsIterator) Response

func (iter AlertsIterator) Response() Alerts

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

func (AlertsIterator) Value

func (iter AlertsIterator) Value() Alert

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

type AlertsPage

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

AlertsPage contains a page of Alert values.

func (*AlertsPage) Next

func (page *AlertsPage) 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.

func (AlertsPage) NotDone

func (page AlertsPage) NotDone() bool

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

func (AlertsPage) Response

func (page AlertsPage) Response() Alerts

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

func (AlertsPage) Values

func (page AlertsPage) Values() []Alert

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

type AlgorithmStepType

type AlgorithmStepType string

AlgorithmStepType enumerates the values for algorithm step type.

const (
	// ConnectorFilter ...
	ConnectorFilter AlgorithmStepType = "ConnectorFilter"
	// Deprovisioning ...
	Deprovisioning AlgorithmStepType = "Deprovisioning"
	// ExportFlow ...
	ExportFlow AlgorithmStepType = "ExportFlow"
	// ImportFlow ...
	ImportFlow AlgorithmStepType = "ImportFlow"
	// Join ...
	Join AlgorithmStepType = "Join"
	// MvDeletion ...
	MvDeletion AlgorithmStepType = "MvDeletion"
	// MvObjectTypeChange ...
	MvObjectTypeChange AlgorithmStepType = "MvObjectTypeChange"
	// Projection ...
	Projection AlgorithmStepType = "Projection"
	// Provisioning ...
	Provisioning AlgorithmStepType = "Provisioning"
	// Recall ...
	Recall AlgorithmStepType = "Recall"
	// Staging ...
	Staging AlgorithmStepType = "Staging"
	// Undefined ...
	Undefined AlgorithmStepType = "Undefined"
	// ValidateConnectorFilter ...
	ValidateConnectorFilter AlgorithmStepType = "ValidateConnectorFilter"
)

func PossibleAlgorithmStepTypeValues

func PossibleAlgorithmStepTypeValues() []AlgorithmStepType

PossibleAlgorithmStepTypeValues returns an array of possible values for the AlgorithmStepType const type.

type AssociatedObject

type AssociatedObject struct {
	// DisplayName - The display name of the object.
	DisplayName *string `json:"displayName,omitempty"`
	// DistinguishedName - The distinguished name of the object.
	DistinguishedName *string `json:"distinguishedName,omitempty"`
	// LastDirSyncTime - The last dirSync time.
	LastDirSyncTime *date.Time `json:"lastDirSyncTime,omitempty"`
	// Mail - The email of the object.
	Mail *string `json:"mail,omitempty"`
	// ObjectGUID - The object guid.
	ObjectGUID *string `json:"objectGuid,omitempty"`
	// ObjectType - The object type.
	ObjectType *string `json:"objectType,omitempty"`
	// OnpremisesUserPrincipalName - The On-premises UPN.
	OnpremisesUserPrincipalName *string `json:"onpremisesUserPrincipalName,omitempty"`
	// ProxyAddresses - The proxy addresses.
	ProxyAddresses *string `json:"proxyAddresses,omitempty"`
	// SourceAnchor - The source anchor.
	SourceAnchor *string `json:"sourceAnchor,omitempty"`
	// SourceOfAuthority - The source of authority.
	SourceOfAuthority *string `json:"sourceOfAuthority,omitempty"`
	// TimeOccurred -  The time of the error.
	TimeOccurred *date.Time `json:"timeOccurred,omitempty"`
	// UserPrincipalName -  The UPN.
	UserPrincipalName *string `json:"userPrincipalName,omitempty"`
}

AssociatedObject object that hold sync object details.

type AttributeDelta

type AttributeDelta struct {
	// Values - The delta values.
	Values *[]ValueDelta `json:"values,omitempty"`
	// Name - The name of the attribute delta.
	Name *string `json:"name,omitempty"`
	// OperationType - The attribute delta operation type. Possible values include: 'AttributeDeltaOperationTypeUndefined', 'AttributeDeltaOperationTypeAdd', 'AttributeDeltaOperationTypeReplace', 'AttributeDeltaOperationTypeUpdate', 'AttributeDeltaOperationTypeDelete'
	OperationType AttributeDeltaOperationType `json:"operationType,omitempty"`
	// ValueType - The value type. Possible values include: 'ValueTypeUndefined', 'ValueTypeDn', 'ValueTypeBinary', 'ValueTypeString', 'ValueTypeInteger', 'ValueTypeBoolean'
	ValueType ValueType `json:"valueType,omitempty"`
	// MultiValued - Indicates if the attribute delta is multivalued or not.
	MultiValued *bool `json:"multiValued,omitempty"`
}

AttributeDelta the delta attributes.

type AttributeDeltaOperationType

type AttributeDeltaOperationType string

AttributeDeltaOperationType enumerates the values for attribute delta operation type.

const (
	// AttributeDeltaOperationTypeAdd ...
	AttributeDeltaOperationTypeAdd AttributeDeltaOperationType = "Add"
	// AttributeDeltaOperationTypeDelete ...
	AttributeDeltaOperationTypeDelete AttributeDeltaOperationType = "Delete"
	// AttributeDeltaOperationTypeReplace ...
	AttributeDeltaOperationTypeReplace AttributeDeltaOperationType = "Replace"
	// AttributeDeltaOperationTypeUndefined ...
	AttributeDeltaOperationTypeUndefined AttributeDeltaOperationType = "Undefined"
	// AttributeDeltaOperationTypeUpdate ...
	AttributeDeltaOperationTypeUpdate AttributeDeltaOperationType = "Update"
)

func PossibleAttributeDeltaOperationTypeValues

func PossibleAttributeDeltaOperationTypeValues() []AttributeDeltaOperationType

PossibleAttributeDeltaOperationTypeValues returns an array of possible values for the AttributeDeltaOperationType const type.

type AttributeMapping

type AttributeMapping struct {
	// MappingSource - The mapping source.
	MappingSource *AttributeMppingSource `json:"mappingSource,omitempty"`
	// Type - The attribute mapping type. Possible values include: 'Constant', 'Direct', 'DnPart', 'Script'
	Type AttributeMappingType `json:"type,omitempty"`
	// DestinationAttribute - The destination attribute.
	DestinationAttribute *string `json:"destinationAttribute,omitempty"`
	// ContextID - The context Id.
	ContextID *string `json:"contextId,omitempty"`
}

AttributeMapping the attribute mapping details.

type AttributeMappingType

type AttributeMappingType string

AttributeMappingType enumerates the values for attribute mapping type.

const (
	// Constant ...
	Constant AttributeMappingType = "Constant"
	// Direct ...
	Direct AttributeMappingType = "Direct"
	// DnPart ...
	DnPart AttributeMappingType = "DnPart"
	// Script ...
	Script AttributeMappingType = "Script"
)

func PossibleAttributeMappingTypeValues

func PossibleAttributeMappingTypeValues() []AttributeMappingType

PossibleAttributeMappingTypeValues returns an array of possible values for the AttributeMappingType const type.

type AttributeMppingSource

type AttributeMppingSource struct {
	// SourceAttribute - The source attribute.
	SourceAttribute *[]string `json:"sourceAttribute,omitempty"`
	// DnPart - The value for dn part.
	DnPart *int32 `json:"dnPart,omitempty"`
	// ScriptContext - The script context.
	ScriptContext *string `json:"scriptContext,omitempty"`
	// ConstantValue - The constant value.
	ConstantValue *string `json:"constantValue,omitempty"`
}

AttributeMppingSource the attribute mapping source.

type BaseClient

type BaseClient struct {
	autorest.Client
	BaseURI string
}

BaseClient is the base client for Adhybridhealthservice.

func New

func New() BaseClient

New creates an instance of the BaseClient client.

func NewWithBaseURI

func NewWithBaseURI(baseURI string) BaseClient

NewWithBaseURI creates an instance of the BaseClient client.

type ChangeNotReimported

type ChangeNotReimported struct {
	// Delta - The delta changes that is not re-imported.
	Delta *ChangeNotReimportedDelta `json:"delta,omitempty"`
	// Entry - The object entry in a change that is not re-imported.
	Entry *ChangeNotReimportedEntry `json:"entry,omitempty"`
}

ChangeNotReimported the changes which are not re-imported.

type ChangeNotReimportedDelta

type ChangeNotReimportedDelta struct {
	// Anchor - The anchor.
	Anchor *string `json:"anchor,omitempty"`
	// DnAttributes - The delta attributes for distinguished names.
	DnAttributes *[]AttributeDelta `json:"dnAttributes,omitempty"`
	// Attributes - The attributes.
	Attributes *[]AttributeDelta `json:"attributes,omitempty"`
	// OperationType - The operation type. Possible values include: 'DeltaOperationTypeUndefined', 'DeltaOperationTypeNone', 'DeltaOperationTypeAdd', 'DeltaOperationTypeReplace', 'DeltaOperationTypeUpdate', 'DeltaOperationTypeDelete', 'DeltaOperationTypeObsolete', 'DeltaOperationTypeDeletAdd'
	OperationType DeltaOperationType `json:"operationType,omitempty"`
}

ChangeNotReimportedDelta the delta in a change that is not re-imported.

type ChangeNotReimportedEntry

type ChangeNotReimportedEntry struct {
	// Anchor - The anchor.
	Anchor *string `json:"anchor,omitempty"`
	// ParentAnchor - The parent anchor.
	ParentAnchor *string `json:"parentAnchor,omitempty"`
	// PrimaryObjectClass - The primary object class.
	PrimaryObjectClass *string `json:"primaryObjectClass,omitempty"`
	// ObjectClasses - The olist of object classes.
	ObjectClasses *[]string `json:"objectClasses,omitempty"`
	// DnAttributes - The delta attributes for distinguished names.
	DnAttributes *[]AttributeDelta `json:"dnAttributes,omitempty"`
	// Attributes - The attributes.
	Attributes *[]AttributeDelta `json:"attributes,omitempty"`
	// Dn - The distinguished name.
	Dn *string `json:"dn,omitempty"`
}

ChangeNotReimportedEntry the object entry in a change that is not re-imported.

type ConfigurationClient

type ConfigurationClient struct {
	BaseClient
}

ConfigurationClient is the REST APIs for Azure Active Drectory Connect Health

func NewConfigurationClient

func NewConfigurationClient() ConfigurationClient

NewConfigurationClient creates an instance of the ConfigurationClient client.

func NewConfigurationClientWithBaseURI

func NewConfigurationClientWithBaseURI(baseURI string) ConfigurationClient

NewConfigurationClientWithBaseURI creates an instance of the ConfigurationClient client.

func (ConfigurationClient) Add

func (client ConfigurationClient) Add(ctx context.Context) (result Tenant, err error)

Add onboards a tenant in Azure Active Directory Connect Health.

func (ConfigurationClient) AddPreparer

func (client ConfigurationClient) AddPreparer(ctx context.Context) (*http.Request, error)

AddPreparer prepares the Add request.

func (ConfigurationClient) AddResponder

func (client ConfigurationClient) AddResponder(resp *http.Response) (result Tenant, err error)

AddResponder handles the response to the Add request. The method always closes the http.Response Body.

func (ConfigurationClient) AddSender

func (client ConfigurationClient) AddSender(req *http.Request) (*http.Response, error)

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

func (ConfigurationClient) Get

func (client ConfigurationClient) Get(ctx context.Context) (result Tenant, err error)

Get gets the details of a tenant onboarded to Azure Active Directory Connect Health.

func (ConfigurationClient) GetPreparer

func (client ConfigurationClient) GetPreparer(ctx context.Context) (*http.Request, error)

GetPreparer prepares the Get request.

func (ConfigurationClient) GetResponder

func (client ConfigurationClient) GetResponder(resp *http.Response) (result Tenant, err error)

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

func (ConfigurationClient) GetSender

func (client ConfigurationClient) 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 (ConfigurationClient) ListAddsConfigurations

func (client ConfigurationClient) ListAddsConfigurations(ctx context.Context, serviceName string, grouping string) (result AddsConfigurationPage, err error)

ListAddsConfigurations gets the service configurations. Parameters: serviceName - the name of the service. grouping - the grouping for configurations.

func (ConfigurationClient) ListAddsConfigurationsComplete

func (client ConfigurationClient) ListAddsConfigurationsComplete(ctx context.Context, serviceName string, grouping string) (result AddsConfigurationIterator, err error)

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

func (ConfigurationClient) ListAddsConfigurationsPreparer

func (client ConfigurationClient) ListAddsConfigurationsPreparer(ctx context.Context, serviceName string, grouping string) (*http.Request, error)

ListAddsConfigurationsPreparer prepares the ListAddsConfigurations request.

func (ConfigurationClient) ListAddsConfigurationsResponder

func (client ConfigurationClient) ListAddsConfigurationsResponder(resp *http.Response) (result AddsConfiguration, err error)

ListAddsConfigurationsResponder handles the response to the ListAddsConfigurations request. The method always closes the http.Response Body.

func (ConfigurationClient) ListAddsConfigurationsSender

func (client ConfigurationClient) ListAddsConfigurationsSender(req *http.Request) (*http.Response, error)

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

func (ConfigurationClient) Update

func (client ConfigurationClient) Update(ctx context.Context, tenant Tenant) (result Tenant, err error)

Update updates tenant properties for tenants onboarded to Azure Active Directory Connect Health. Parameters: tenant - the tenant object with the properties set to the updated value.

func (ConfigurationClient) UpdatePreparer

func (client ConfigurationClient) UpdatePreparer(ctx context.Context, tenant Tenant) (*http.Request, error)

UpdatePreparer prepares the Update request.

func (ConfigurationClient) UpdateResponder

func (client ConfigurationClient) UpdateResponder(resp *http.Response) (result Tenant, err error)

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

func (ConfigurationClient) UpdateSender

func (client ConfigurationClient) UpdateSender(req *http.Request) (*http.Response, error)

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

type Connector

type Connector struct {
	// ConnectorID - The connector Id.
	ConnectorID *string `json:"connectorId,omitempty"`
	// ID - The connector Id.
	ID *string `json:"id,omitempty"`
	// Name - The connector name.
	Name *string `json:"name,omitempty"`
	// Version - The connector version
	Version *int32 `json:"version,omitempty"`
	// Type - The connector type.
	Type *string `json:"type,omitempty"`
	// Description - The connector description.
	Description *string `json:"description,omitempty"`
	// SchemaXML - The schema xml for the connector.
	SchemaXML *string `json:"schemaXml,omitempty"`
	// PasswordManagementSettings - The password management settings of the connector.
	PasswordManagementSettings interface{} `json:"passwordManagementSettings,omitempty"`
	// PasswordHashSyncConfiguration - The password hash synchronization configuration of the connector.
	PasswordHashSyncConfiguration interface{} `json:"passwordHashSyncConfiguration,omitempty"`
	// TimeCreated - The date and time when this connector was created.
	TimeCreated *date.Time `json:"timeCreated,omitempty"`
	// TimeLastModified - The date and time when this connector was last modified.
	TimeLastModified *date.Time `json:"timeLastModified,omitempty"`
	// Partitions - The partitions of the connector.
	Partitions *[]Partition `json:"partitions,omitempty"`
	// RunProfiles - The run profiles of the connector.
	RunProfiles *[]RunProfile `json:"runProfiles,omitempty"`
	// ClassesIncluded - The class inclusion list of the connector.
	ClassesIncluded *[]string `json:"classesIncluded,omitempty"`
	// AttributesIncluded - The attribute inclusion list of the connector.
	AttributesIncluded *[]string `json:"attributesIncluded,omitempty"`
}

Connector the connect details.

type ConnectorConnectionError

type ConnectorConnectionError struct {
	// ID - The error Id.
	ID *string `json:"id,omitempty"`
	// RunStepResultID - The run step result Id.
	RunStepResultID *string `json:"runStepResultId,omitempty"`
	// ConnectorID - The connector Id.
	ConnectorID *string `json:"connectorId,omitempty"`
	// Type - The type of error.
	Type *string `json:"type,omitempty"`
	// ErrorCode - The error code.
	ErrorCode *string `json:"errorCode,omitempty"`
	// Message - The message for the connection error.
	Message *string `json:"message,omitempty"`
	// TimeOccured - The time when the connection error occured.
	TimeOccured *date.Time `json:"timeOccured,omitempty"`
	// Server - The server where the connection error happened.
	Server *string `json:"server,omitempty"`
}

ConnectorConnectionError the connector connection error.

type ConnectorConnectionErrors

type ConnectorConnectionErrors struct {
	// Value - The value returned by the operation.
	Value *[]ConnectorConnectionError `json:"value,omitempty"`
}

ConnectorConnectionErrors the list of connector connection errors.

type ConnectorObjectError

type ConnectorObjectError struct {
	// ID - The error Id.
	ID *string `json:"id,omitempty"`
	// RunStepResultID - The run step result Id.
	RunStepResultID *string `json:"runStepResultId,omitempty"`
	// ConnectorID - The connector Id.
	ConnectorID *string `json:"connectorId,omitempty"`
	// Type - The type of error.
	Type *string `json:"type,omitempty"`
	// ErrorCode - The error code.
	ErrorCode *string `json:"errorCode,omitempty"`
	// Message - The message for the object error.
	Message *string `json:"message,omitempty"`
	// EntryNumber - The entry number for object error occured.
	EntryNumber *int32 `json:"entryNumber,omitempty"`
	// LineNumber - The line number for the object error.
	LineNumber *int32 `json:"lineNumber,omitempty"`
	// ColumnNumber - The column number for the object error.
	ColumnNumber *int32 `json:"columnNumber,omitempty"`
	// Dn - The distingished name of the object.
	Dn *string `json:"dn,omitempty"`
	// Anchor - The name for the anchor of the object.
	Anchor *string `json:"anchor,omitempty"`
	// AttributeName - The attribute name of the object.
	AttributeName *string `json:"attributeName,omitempty"`
	// ServerErrorDetail - The server side error details.
	ServerErrorDetail *string `json:"serverErrorDetail,omitempty"`
	// Values - The value corresponding to attribute name.
	Values *[]string `json:"values,omitempty"`
}

ConnectorObjectError the connector object error.

type ConnectorObjectErrors

type ConnectorObjectErrors struct {
	// Value - The value returned by the operation.
	Value *[]ConnectorObjectError `json:"value,omitempty"`
}

ConnectorObjectErrors the list of connector object errors.

type Connectors

type Connectors struct {
	autorest.Response `json:"-"`
	// Value - The value returned by the operation.
	Value *[]Connector `json:"value,omitempty"`
}

Connectors the list of connects for a service.

type Credential

type Credential struct {
	// Identifier - The credential identifier.
	Identifier *string `json:"identifier,omitempty"`
	// Type - The type of credential.
	Type *string `json:"type,omitempty"`
	// CredentialData - The credential data.
	CredentialData *[]string `json:"credentialData,omitempty"`
}

Credential the credential for a given server.

type Credentials

type Credentials struct {
	autorest.Response `json:"-"`
	// Value - The value returned by the operation.
	Value *[]Credential `json:"value,omitempty"`
}

Credentials the list of agent credentials.

type DataFreshnessDetails

type DataFreshnessDetails struct {
	autorest.Response `json:"-"`
	// Value - The value returned by the operation.
	Value *[]Item `json:"value,omitempty"`
}

DataFreshnessDetails the data freshness details for the server.

type DeltaOperationType

type DeltaOperationType string

DeltaOperationType enumerates the values for delta operation type.

const (
	// DeltaOperationTypeAdd ...
	DeltaOperationTypeAdd DeltaOperationType = "Add"
	// DeltaOperationTypeDeletAdd ...
	DeltaOperationTypeDeletAdd DeltaOperationType = "DeletAdd"
	// DeltaOperationTypeDelete ...
	DeltaOperationTypeDelete DeltaOperationType = "Delete"
	// DeltaOperationTypeNone ...
	DeltaOperationTypeNone DeltaOperationType = "None"
	// DeltaOperationTypeObsolete ...
	DeltaOperationTypeObsolete DeltaOperationType = "Obsolete"
	// DeltaOperationTypeReplace ...
	DeltaOperationTypeReplace DeltaOperationType = "Replace"
	// DeltaOperationTypeUndefined ...
	DeltaOperationTypeUndefined DeltaOperationType = "Undefined"
	// DeltaOperationTypeUpdate ...
	DeltaOperationTypeUpdate DeltaOperationType = "Update"
)

func PossibleDeltaOperationTypeValues

func PossibleDeltaOperationTypeValues() []DeltaOperationType

PossibleDeltaOperationTypeValues returns an array of possible values for the DeltaOperationType const type.

type Dimension

type Dimension struct {
	// Health - The health status for the domain controller. Possible values include: 'Healthy', 'Warning', 'Error', 'NotMonitored', 'Missing'
	Health HealthStatus `json:"health,omitempty"`
	// SimpleProperties - List of service specific configuration properties.
	SimpleProperties interface{} `json:"simpleProperties,omitempty"`
	// ActiveAlerts - The count of alerts that are currently active for the service.
	ActiveAlerts *int32 `json:"activeAlerts,omitempty"`
	// AdditionalInformation - The additional information related to the service.
	AdditionalInformation *string `json:"additionalInformation,omitempty"`
	// LastUpdated - The date or time , in UTC, when the service properties were last updated.
	LastUpdated *date.Time `json:"lastUpdated,omitempty"`
	// DisplayName - The display name of the service.
	DisplayName *string `json:"displayName,omitempty"`
	// ResolvedAlerts - The total count of alerts that has been resolved for the service.
	ResolvedAlerts *int32 `json:"resolvedAlerts,omitempty"`
	// Signature - The signature of the service.
	Signature *string `json:"signature,omitempty"`
	// Type - The service type for the services onboarded to Azure Active Directory Connect Health. Depending on whether the service is monitoring, ADFS, Sync or ADDS roles, the service type can either be AdFederationService or AadSyncService or AdDomainService.
	Type *string `json:"type,omitempty"`
}

Dimension the connector object error.

type Dimensions

type Dimensions struct {
	autorest.Response `json:"-"`
	// NextLink - The link used to get the next page of operations.
	NextLink *string `json:"nextLink,omitempty"`
	// Value - The value returned by the operation.
	Value *[]Dimension `json:"value,omitempty"`
	// TotalCount - The total count of dimensions.
	TotalCount *int32 `json:"totalCount,omitempty"`
	// ContinuationToken - The continuation token for paginated calls.
	ContinuationToken *string `json:"continuationToken,omitempty"`
}

Dimensions the list of dimensions.

func (Dimensions) IsEmpty

func (d Dimensions) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type DimensionsClient

type DimensionsClient struct {
	BaseClient
}

DimensionsClient is the REST APIs for Azure Active Drectory Connect Health

func NewDimensionsClient

func NewDimensionsClient() DimensionsClient

NewDimensionsClient creates an instance of the DimensionsClient client.

func NewDimensionsClientWithBaseURI

func NewDimensionsClientWithBaseURI(baseURI string) DimensionsClient

NewDimensionsClientWithBaseURI creates an instance of the DimensionsClient client.

func (DimensionsClient) ListAddsDimensions

func (client DimensionsClient) ListAddsDimensions(ctx context.Context, serviceName string, dimension string) (result DimensionsPage, err error)

ListAddsDimensions gets the dimensions for a given dimension type in a server. Parameters: serviceName - the name of the service. dimension - the dimension type.

func (DimensionsClient) ListAddsDimensionsComplete

func (client DimensionsClient) ListAddsDimensionsComplete(ctx context.Context, serviceName string, dimension string) (result DimensionsIterator, err error)

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

func (DimensionsClient) ListAddsDimensionsPreparer

func (client DimensionsClient) ListAddsDimensionsPreparer(ctx context.Context, serviceName string, dimension string) (*http.Request, error)

ListAddsDimensionsPreparer prepares the ListAddsDimensions request.

func (DimensionsClient) ListAddsDimensionsResponder

func (client DimensionsClient) ListAddsDimensionsResponder(resp *http.Response) (result Dimensions, err error)

ListAddsDimensionsResponder handles the response to the ListAddsDimensions request. The method always closes the http.Response Body.

func (DimensionsClient) ListAddsDimensionsSender

func (client DimensionsClient) ListAddsDimensionsSender(req *http.Request) (*http.Response, error)

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

type DimensionsIterator

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

DimensionsIterator provides access to a complete listing of Dimension values.

func (*DimensionsIterator) Next

func (iter *DimensionsIterator) 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.

func (DimensionsIterator) NotDone

func (iter DimensionsIterator) NotDone() bool

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

func (DimensionsIterator) Response

func (iter DimensionsIterator) Response() Dimensions

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

func (DimensionsIterator) Value

func (iter DimensionsIterator) Value() Dimension

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

type DimensionsPage

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

DimensionsPage contains a page of Dimension values.

func (*DimensionsPage) Next

func (page *DimensionsPage) 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.

func (DimensionsPage) NotDone

func (page DimensionsPage) NotDone() bool

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

func (DimensionsPage) Response

func (page DimensionsPage) Response() Dimensions

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

func (DimensionsPage) Values

func (page DimensionsPage) Values() []Dimension

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

type Display

type Display struct {
	// Description -  The description for the operation.
	Description *string `json:"description,omitempty"`
	// Operation - The details of the operation.
	Operation *string `json:"operation,omitempty"`
	// Provider - The provider name.
	Provider *string `json:"provider,omitempty"`
}

Display displays the details related to operations supported by Azure Active Directory Connect Health.

type ErrorCount

type ErrorCount struct {
	// ErrorBucket - The error bucket.
	ErrorBucket *string `json:"errorBucket,omitempty"`
	// Count - The error count.
	Count *int32 `json:"count,omitempty"`
	// Truncated - Indicates if the error count is truncated or not.
	Truncated *bool `json:"truncated,omitempty"`
}

ErrorCount the error count details.

type ErrorCounts

type ErrorCounts struct {
	autorest.Response `json:"-"`
	// Value - The value returned by the operation.
	Value *[]ErrorCount `json:"value,omitempty"`
}

ErrorCounts the list of error counts.

type ErrorDetail

type ErrorDetail struct {
	// Description - The error description.
	Description *string `json:"description,omitempty"`
	// KbURL - The knowledge base article url which contains more information about the error.
	KbURL *string `json:"kbUrl,omitempty"`
	// Detail - Additional details related to the error.
	Detail *string `json:"detail,omitempty"`
	// ObjectsWithSyncError - The list of objects with sync errors.
	ObjectsWithSyncError *ObjectWithSyncError `json:"objectsWithSyncError,omitempty"`
	// ObjectWithSyncError -  The object with sync error.
	ObjectWithSyncError *MergedExportError `json:"objectWithSyncError,omitempty"`
}

ErrorDetail the error details.

type ErrorReportUsersEntries

type ErrorReportUsersEntries struct {
	autorest.Response `json:"-"`
	// Value - The value returned by the operation.
	Value *[]ErrorReportUsersEntry `json:"value,omitempty"`
}

ErrorReportUsersEntries the list of bad password log in attempt entries.

type ErrorReportUsersEntry

type ErrorReportUsersEntry struct {
	// UserID - The user ID value.
	UserID *string `json:"userId,omitempty"`
	// IPAddress - The Ip address corresponding to the last error event.
	IPAddress *string `json:"ipAddress,omitempty"`
	// LastUpdated - The date and time when the last error event was logged.
	LastUpdated *date.Time `json:"lastUpdated,omitempty"`
	// UniqueIPAddresses - The list of unique IP addresses.
	UniqueIPAddresses *string `json:"uniqueIpAddresses,omitempty"`
	// TotalErrorAttempts - The total count of specific error events.
	TotalErrorAttempts *int32 `json:"totalErrorAttempts,omitempty"`
}

ErrorReportUsersEntry the bad password login attempt details.

type ExportError

type ExportError struct {
	// ID - The error Id.
	ID *string `json:"id,omitempty"`
	// RunStepResultID - The run step result Id.
	RunStepResultID *string `json:"runStepResultId,omitempty"`
	// ConnectorID - The connector Id.
	ConnectorID *string `json:"connectorId,omitempty"`
	// Type - The type of error.
	Type *string `json:"type,omitempty"`
	// ErrorCode - The error code.
	ErrorCode *string `json:"errorCode,omitempty"`
	// Message - The export error message.
	Message *string `json:"message,omitempty"`
	// ServerErrorDetail - The server error detail.
	ServerErrorDetail *string `json:"serverErrorDetail,omitempty"`
	// TimeFirstOccured - The date and time when the export error first occured.
	TimeFirstOccured *date.Time `json:"timeFirstOccured,omitempty"`
	// RetryCount - The retry count.
	RetryCount *int32 `json:"retryCount,omitempty"`
	// CsObjectID - The cloud object Id.
	CsObjectID *string `json:"csObjectId,omitempty"`
	// Dn - The distinguished name.
	Dn *string `json:"dn,omitempty"`
	// MinLimit - The minimum limit.
	MinLimit *string `json:"minLimit,omitempty"`
	// MaxLimit - The maximum limit.
	MaxLimit *string `json:"maxLimit,omitempty"`
	// CloudAnchor - The name of the cloud anchor.
	CloudAnchor *string `json:"cloudAnchor,omitempty"`
	// AttributeName - The attribute name.
	AttributeName *string `json:"attributeName,omitempty"`
	// AttributeValue - The attribute value.
	AttributeValue *string `json:"attributeValue,omitempty"`
	// AttributeMultiValue - Indicates if the attribute is multi valued or not.
	AttributeMultiValue *bool `json:"attributeMultiValue,omitempty"`
	// ObjectIDConflict - The object Id with which there was an attribute conflict.
	ObjectIDConflict *string `json:"objectIdConflict,omitempty"`
	// SamAccountName - The SAM account name.
	SamAccountName *string `json:"samAccountName,omitempty"`
	// AdObjectType - The AD object type
	AdObjectType *string `json:"adObjectType,omitempty"`
	// AdObjectGUID - The AD object guid.
	AdObjectGUID *string `json:"adObjectGuid,omitempty"`
	// AdDisplayName - The display name for the AD object.
	AdDisplayName *string `json:"adDisplayName,omitempty"`
	// AdSourceOfAuthority - The source of authority for the AD object.
	AdSourceOfAuthority *string `json:"adSourceOfAuthority,omitempty"`
	// AdSourceAnchor - The AD source anchor.
	AdSourceAnchor *string `json:"adSourceAnchor,omitempty"`
	// AdUserPrincipalName - The user principal name for the AD object.
	AdUserPrincipalName *string `json:"adUserPrincipalName,omitempty"`
	// AdDistinguishedName - The distinguished name for the AD object.
	AdDistinguishedName *string `json:"adDistinguishedName,omitempty"`
	// AdMail - The email for the AD object.
	AdMail *string `json:"adMail,omitempty"`
	// TimeOccured - The date and time of occurance.
	TimeOccured *date.Time `json:"timeOccured,omitempty"`
	// AadObjectType - The AAD side object type.
	AadObjectType *string `json:"aadObjectType,omitempty"`
	// AadObjectGUID - The AAD side object guid.
	AadObjectGUID *string `json:"aadObjectGuid,omitempty"`
	// AadDisplayName - The AAD side display name
	AadDisplayName *string `json:"aadDisplayName,omitempty"`
	// AadSourceOfAuthority - The AAD side source of authority for the object.
	AadSourceOfAuthority *string `json:"aadSourceOfAuthority,omitempty"`
	// AadUserPrincipalName - The AAD side user principal name.
	AadUserPrincipalName *string `json:"aadUserPrincipalName,omitempty"`
	// AadDistringuishedName - The AAD side distinguished name for the object.
	AadDistringuishedName *string `json:"aadDistringuishedName,omitempty"`
	// AadMail - The AAD side email for the object.
	AadMail *string `json:"aadMail,omitempty"`
	// LastDirSyncTime - The date and time of last sync run.
	LastDirSyncTime *date.Time `json:"lastDirSyncTime,omitempty"`
	// ModifiedAttributeValue - The modified atttribute value.
	ModifiedAttributeValue *string `json:"modifiedAttributeValue,omitempty"`
}

ExportError the export error details.

type ExportErrors

type ExportErrors struct {
	// Value - The value returned by the operation.
	Value *[]ExportError `json:"value,omitempty"`
}

ExportErrors the list of export errors.

type ExportStatus

type ExportStatus struct {
	// ServiceID - The id of the service for whom the export status is being reported.
	ServiceID *uuid.UUID `json:"serviceId,omitempty"`
	// ServiceMemberID - The server Id for whom the export status is being reported.
	ServiceMemberID *uuid.UUID `json:"serviceMemberId,omitempty"`
	// EndTime - The date and time when the export ended.
	EndTime *date.Time `json:"endTime,omitempty"`
	// RunStepResultID - The run step result Id.
	RunStepResultID *string `json:"runStepResultId,omitempty"`
}

ExportStatus the details of the export status.

type ExportStatuses

type ExportStatuses struct {
	autorest.Response `json:"-"`
	// NextLink - The link used to get the next page of operations.
	NextLink *string `json:"nextLink,omitempty"`
	// Value - The value returned by the operation.
	Value *[]ExportStatus `json:"value,omitempty"`
	// TotalCount - The total count of service elements.
	TotalCount *int32 `json:"totalCount,omitempty"`
	// ContinuationToken - The continuation token for paginated calls.
	ContinuationToken *string `json:"continuationToken,omitempty"`
}

ExportStatuses the list of export statuses.

func (ExportStatuses) IsEmpty

func (es ExportStatuses) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type ExportStatusesIterator

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

ExportStatusesIterator provides access to a complete listing of ExportStatus values.

func (*ExportStatusesIterator) Next

func (iter *ExportStatusesIterator) 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.

func (ExportStatusesIterator) NotDone

func (iter ExportStatusesIterator) NotDone() bool

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

func (ExportStatusesIterator) Response

func (iter ExportStatusesIterator) Response() ExportStatuses

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

func (ExportStatusesIterator) Value

func (iter ExportStatusesIterator) Value() ExportStatus

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

type ExportStatusesPage

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

ExportStatusesPage contains a page of ExportStatus values.

func (*ExportStatusesPage) Next

func (page *ExportStatusesPage) 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.

func (ExportStatusesPage) NotDone

func (page ExportStatusesPage) NotDone() bool

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

func (ExportStatusesPage) Response

func (page ExportStatusesPage) Response() ExportStatuses

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

func (ExportStatusesPage) Values

func (page ExportStatusesPage) Values() []ExportStatus

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

type ExtensionErrorInfo

type ExtensionErrorInfo struct {
	// ExtensionName - The extension name.
	ExtensionName *string `json:"extensionName,omitempty"`
	// ExtensionContext - The extension context.
	ExtensionContext *string `json:"extensionContext,omitempty"`
	// CallStack - The call stack for the error.
	CallStack *string `json:"callStack,omitempty"`
}

ExtensionErrorInfo the extension error details.

type ForestSummary

type ForestSummary struct {
	autorest.Response `json:"-"`
	// ForestName - The forest name.
	ForestName *string `json:"forestName,omitempty"`
	// DomainCount - The domain count.
	DomainCount *int32 `json:"domainCount,omitempty"`
	// SiteCount - The site count.
	SiteCount *int32 `json:"siteCount,omitempty"`
	// MonitoredDcCount - The number of domain controllers that are monitored by Azure Active Directory Connect Health.
	MonitoredDcCount *int32 `json:"monitoredDcCount,omitempty"`
	// TotalDcCount - The total domain controllers.
	TotalDcCount *int32 `json:"totalDcCount,omitempty"`
	// Domains - The list of domain controller names.
	Domains *[]string `json:"domains,omitempty"`
	// Sites - The list of site names.
	Sites *[]string `json:"sites,omitempty"`
}

ForestSummary the forest summary for an ADDS domain.

type GlobalConfiguration

type GlobalConfiguration struct {
	// Version - The version for the global configuration.
	Version *int32 `json:"version,omitempty"`
	// SchemaXML - The schema for the configuration.
	SchemaXML *string `json:"schemaXml,omitempty"`
	// PasswordSyncEnabled - Indicates if password sync is enabled or not.
	PasswordSyncEnabled *bool `json:"passwordSyncEnabled,omitempty"`
	// NumSavedPwdEvent - The number of saved password events.
	NumSavedPwdEvent *int32 `json:"numSavedPwdEvent,omitempty"`
	// FeatureSet - The list of additional feature sets.
	FeatureSet *[]Item `json:"featureSet,omitempty"`
}

GlobalConfiguration the global configuration settings.

type GlobalConfigurations

type GlobalConfigurations struct {
	autorest.Response `json:"-"`
	// Value - The value returned by the operation.
	Value *[]GlobalConfiguration `json:"value,omitempty"`
}

GlobalConfigurations the list of global configurations.

type HealthStatus

type HealthStatus string

HealthStatus enumerates the values for health status.

const (
	// Error ...
	Error HealthStatus = "Error"
	// Healthy ...
	Healthy HealthStatus = "Healthy"
	// Missing ...
	Missing HealthStatus = "Missing"
	// NotMonitored ...
	NotMonitored HealthStatus = "NotMonitored"
	// Warning ...
	Warning HealthStatus = "Warning"
)

func PossibleHealthStatusValues

func PossibleHealthStatusValues() []HealthStatus

PossibleHealthStatusValues returns an array of possible values for the HealthStatus const type.

type HelpLink struct {
	// Title - The title for the link.
	Title *string `json:"title,omitempty"`
	// URL - The url for the help document.
	URL *string `json:"url,omitempty"`
}

HelpLink the help link which contains more information related to an alert.

type Hotfix

type Hotfix struct {
	// KbName - The name of the hotfix KB.
	KbName *string `json:"kbName,omitempty"`
	// Link - The link to the KB Article.
	Link *string `json:"link,omitempty"`
	// InstalledDate - The date and time, in UTC, when the KB was installed in the server.
	InstalledDate *date.Time `json:"installedDate,omitempty"`
}

Hotfix the details of the hotfix installed in the server.

type Hotfixes

type Hotfixes struct {
	// Value - The value returned by the operation.
	Value *[]Hotfix `json:"value,omitempty"`
}

Hotfixes the list of hotfixes installed in the server.

type ImportError

type ImportError struct {
	// ID - The error Id.
	ID *string `json:"id,omitempty"`
	// RunStepResultID - The run step result Id.
	RunStepResultID *string `json:"runStepResultId,omitempty"`
	// ConnectorID - The connector Id.
	ConnectorID *string `json:"connectorId,omitempty"`
	// Type - The type of error.
	Type *string `json:"type,omitempty"`
	// TimeOccurred - The time when the import error occurred.
	TimeOccurred *date.Time `json:"timeOccurred,omitempty"`
	// TimeFirstOccurred - The time when the import error first occurred.
	TimeFirstOccurred *date.Time `json:"timeFirstOccurred,omitempty"`
	// RetryCount - The retry count.
	RetryCount *int32 `json:"retryCount,omitempty"`
	// AlgorithmStepType - The operation type specific  to error reporting. Possible values include: 'Undefined', 'Staging', 'ConnectorFilter', 'Join', 'Projection', 'ImportFlow', 'Provisioning', 'ValidateConnectorFilter', 'Deprovisioning', 'ExportFlow', 'MvDeletion', 'Recall', 'MvObjectTypeChange'
	AlgorithmStepType AlgorithmStepType `json:"algorithmStepType,omitempty"`
	// ChangeNotReimported - The change details that is not re-imported.
	ChangeNotReimported *ChangeNotReimported `json:"changeNotReimported,omitempty"`
	// ExtensionErrorInfo - The extension error information.
	ExtensionErrorInfo *ExtensionErrorInfo `json:"extensionErrorInfo,omitempty"`
	// RuleErrorInfo - The error details in legacy rule processing.
	RuleErrorInfo *RuleErrorInfo `json:"ruleErrorInfo,omitempty"`
	// CsObjectID - The object Id.
	CsObjectID *string `json:"csObjectId,omitempty"`
	// Dn - The distinguished name.
	Dn *string `json:"dn,omitempty"`
}

ImportError the import error details.

type ImportErrors

type ImportErrors struct {
	// Value - The value returned by the operation.
	Value *[]ImportError `json:"value,omitempty"`
}

ImportErrors the list of import errors.

type InboundReplicationNeighbor

type InboundReplicationNeighbor struct {
	// SourceDomainController - The name of the source domain controller.
	SourceDomainController *string `json:"sourceDomainController,omitempty"`
	// ConsecutiveFailureCount - The number of consecutive faulire counts.
	ConsecutiveFailureCount *int32 `json:"consecutiveFailureCount,omitempty"`
	// NamingContext - The naming context.
	NamingContext *string `json:"namingContext,omitempty"`
	// Status - The health status for the domain controller
	Status *int32 `json:"status,omitempty"`
	// LastAttemptedSync - The last time a sync was attempted on the domain controller.
	LastAttemptedSync *date.Time `json:"lastAttemptedSync,omitempty"`
	// LastSuccessfulSync - The last time when a successful sync happened.
	LastSuccessfulSync *date.Time `json:"lastSuccessfulSync,omitempty"`
	// LastErrorCode - The last error code.
	LastErrorCode *int32 `json:"lastErrorCode,omitempty"`
	// LastErrorMessage - The error message of the last error.
	LastErrorMessage *string `json:"lastErrorMessage,omitempty"`
	// ErrorTitle - The error title.
	ErrorTitle *string `json:"errorTitle,omitempty"`
	// ErrorDescription - The error description.
	ErrorDescription *string `json:"errorDescription,omitempty"`
	// FixLink - The link for the fix of the error.
	FixLink *string `json:"fixLink,omitempty"`
	// FixDetails - The details of the fix.
	FixDetails *string `json:"fixDetails,omitempty"`
	// AdditionalInfo - The additional details.
	AdditionalInfo *string `json:"additionalInfo,omitempty"`
}

InboundReplicationNeighbor the replication summary for the domain controller inbound neighbor.

type InboundReplicationNeighbors

type InboundReplicationNeighbors struct {
	// Value - The details of inbound replication neighbors.
	Value *[]InboundReplicationNeighbor `json:"value,omitempty"`
}

InboundReplicationNeighbors the list of replication summary for the domain controller inbound neighbor.

type Item

type Item struct {
	// Key - The key for the property.
	Key *string `json:"key,omitempty"`
	// Value - The value for the key.
	Value *string `json:"value,omitempty"`
}

Item the key value pair for properties.

type Items

type Items struct {
	autorest.Response `json:"-"`
	// Value - The value returned by the operation.
	Value *[]Item `json:"value,omitempty"`
}

Items the list of key value properties.

type Level

type Level string

Level enumerates the values for level.

const (
	// LevelError ...
	LevelError Level = "Error"
	// LevelPreWarning ...
	LevelPreWarning Level = "PreWarning"
	// LevelWarning ...
	LevelWarning Level = "Warning"
)

func PossibleLevelValues

func PossibleLevelValues() []Level

PossibleLevelValues returns an array of possible values for the Level const type.

type MergedExportError

type MergedExportError struct {
	// ID - The error Id.
	ID *string `json:"id,omitempty"`
	// IncomingObjectDisplayName - The incoming object display name.
	IncomingObjectDisplayName *string `json:"incomingObjectDisplayName,omitempty"`
	// IncomingObjectType - The incoming object type.
	IncomingObjectType *string `json:"incomingObjectType,omitempty"`
	// UserPrincipalName - The user principal name
	UserPrincipalName *string `json:"userPrincipalName,omitempty"`
	// Type - The type of the error.
	Type *string `json:"type,omitempty"`
	// AttributeName - The attribute name.
	AttributeName *string `json:"attributeName,omitempty"`
	// AttributeValue - The attribute value.
	AttributeValue *string `json:"attributeValue,omitempty"`
	// TimeOccurred - The date and time when the error occurred.
	TimeOccurred *date.Time `json:"timeOccurred,omitempty"`
	// TimeFirstOccurred - The time when the error first occurred.
	TimeFirstOccurred *date.Time `json:"timeFirstOccurred,omitempty"`
	// CsObjectID -  the cs object Id.
	CsObjectID *string `json:"csObjectId,omitempty"`
	// Dn - the DN of the object.
	Dn *string `json:"dn,omitempty"`
	// IncomingObject - The incoming object details.
	IncomingObject *AssociatedObject `json:"incomingObject,omitempty"`
	// ExistingObject - The existing object
	ExistingObject *AssociatedObject `json:"existingObject,omitempty"`
	// ModifiedOrRemovedAttributeValue - The modified or removed attribute vlaue.
	ModifiedOrRemovedAttributeValue *string `json:"modifiedOrRemovedAttributeValue,omitempty"`
	// RunStepResultID - The run step result Id.
	RunStepResultID *uuid.UUID `json:"runStepResultId,omitempty"`
	// SamAccountName - The sam account name.
	SamAccountName *string `json:"samAccountName,omitempty"`
	// ServerErrorDetail - The server error details.
	ServerErrorDetail *string `json:"serverErrorDetail,omitempty"`
	// ServiceID - The service Id.
	ServiceID *uuid.UUID `json:"serviceId,omitempty"`
	// ServiceMemberID - The server Id.
	ServiceMemberID *uuid.UUID `json:"serviceMemberId,omitempty"`
	// MergedEntityID - The merged entity Id.
	MergedEntityID *uuid.UUID `json:"mergedEntityId,omitempty"`
	// CreatedDate - The date and time, in UTC, when the error was created.
	CreatedDate *date.Time `json:"createdDate,omitempty"`
	// ExportErrorStatus - The export error status.
	ExportErrorStatus *int32 `json:"exportErrorStatus,omitempty"`
}

MergedExportError the merged export error.

type MergedExportErrors

type MergedExportErrors struct {
	autorest.Response `json:"-"`
	// Value - The value returned by the operation.
	Value *[]MergedExportError `json:"value,omitempty"`
}

MergedExportErrors the list of export errors.

type MetricGroup

type MetricGroup struct {
	// Key - The key for the group.
	Key *string `json:"key,omitempty"`
	// DisplayName - The display name for the group.
	DisplayName *string `json:"displayName,omitempty"`
	// InvisibleForUI - indicates if the metric group is displayed in Azure Active Directory Connect Health UI.
	InvisibleForUI *bool `json:"invisibleForUi,omitempty"`
}

MetricGroup the metric group details.

type MetricMetadata

type MetricMetadata struct {
	autorest.Response `json:"-"`
	// MetricsProcessorClassName - The name of the class which retrieve and process the metric.
	MetricsProcessorClassName *string `json:"metricsProcessorClassName,omitempty"`
	// MetricName - The metric name
	MetricName *string `json:"metricName,omitempty"`
	// Groupings - The groupings for the metrics.
	Groupings *[]MetricGroup `json:"groupings,omitempty"`
	// DisplayName - The display name for the metric.
	DisplayName *string `json:"displayName,omitempty"`
	// ValueKind - Indicates if the metrics is a rate,value, percent or duration type.
	ValueKind *string `json:"valueKind,omitempty"`
	// MinValue - The minimun value.
	MinValue *int32 `json:"minValue,omitempty"`
	// MaxValue - The maximum value.
	MaxValue *int32 `json:"maxValue,omitempty"`
	// Kind - Indicates whether the dashboard to represent the metric is a line, bar,pie, area or donut chart.
	Kind *string `json:"kind,omitempty"`
	// IsDefault - Indicates if the metric is a default metric or not.
	IsDefault *bool `json:"isDefault,omitempty"`
	// IsPerfCounter - Indicates if the metric is a performance counter metric or not.
	IsPerfCounter *bool `json:"isPerfCounter,omitempty"`
	// IsDevOps - Indicates if the metric is visible to DevOps or not.
	IsDevOps *bool `json:"isDevOps,omitempty"`
}

MetricMetadata the metric meta data

type MetricMetadataList

type MetricMetadataList struct {
	autorest.Response `json:"-"`
	// NextLink - The link used to get the next page of operations.
	NextLink *string `json:"nextLink,omitempty"`
	// Value - The value returned by the operation.
	Value *[]MetricMetadata `json:"value,omitempty"`
	// TotalCount - The total count of service elements.
	TotalCount *int32 `json:"totalCount,omitempty"`
	// ContinuationToken - The continuation token for paginated calls.
	ContinuationToken *string `json:"continuationToken,omitempty"`
}

MetricMetadataList the list of metric metadata.

func (MetricMetadataList) IsEmpty

func (mml MetricMetadataList) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type MetricMetadataListIterator

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

MetricMetadataListIterator provides access to a complete listing of MetricMetadata values.

func (*MetricMetadataListIterator) Next

func (iter *MetricMetadataListIterator) 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.

func (MetricMetadataListIterator) NotDone

func (iter MetricMetadataListIterator) NotDone() bool

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

func (MetricMetadataListIterator) Response

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

func (MetricMetadataListIterator) Value

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

type MetricMetadataListPage

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

MetricMetadataListPage contains a page of MetricMetadata values.

func (*MetricMetadataListPage) Next

func (page *MetricMetadataListPage) 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.

func (MetricMetadataListPage) NotDone

func (page MetricMetadataListPage) NotDone() bool

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

func (MetricMetadataListPage) Response

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

func (MetricMetadataListPage) Values

func (page MetricMetadataListPage) Values() []MetricMetadata

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

type MetricSet

type MetricSet struct {
	// SetName - The name of the set.
	SetName *string `json:"setName,omitempty"`
	// Values - The list of the metric values.
	Values *[]int32 `json:"values,omitempty"`
}

MetricSet the set of metric values. Example of a MetricSet are Values of token requests for a Server1 or RelyingParty1.

type MetricSets

type MetricSets struct {
	autorest.Response `json:"-"`
	// Sets - The list of metric set.
	Sets *[]MetricSet `json:"sets,omitempty"`
	// TimeStamps - The list of timestamps for each metric in the metric set.
	TimeStamps *[]date.Time `json:"timeStamps,omitempty"`
}

MetricSets the metrics data represented set.

type Metrics

type Metrics struct {
	autorest.Response `json:"-"`
	// NextLink - The link used to get the next page of operations.
	NextLink *string `json:"nextLink,omitempty"`
	// Value - The value returned by the operation.
	Value *[]Item `json:"value,omitempty"`
	// TotalCount - The total count of metrics.
	TotalCount *int32 `json:"totalCount,omitempty"`
	// ContinuationToken - The continuation token for paginated calls.
	ContinuationToken *string `json:"continuationToken,omitempty"`
}

Metrics the list of metric items.

func (Metrics) IsEmpty

func (mVar Metrics) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type MetricsIterator

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

MetricsIterator provides access to a complete listing of Item values.

func (*MetricsIterator) Next

func (iter *MetricsIterator) 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.

func (MetricsIterator) NotDone

func (iter MetricsIterator) NotDone() bool

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

func (MetricsIterator) Response

func (iter MetricsIterator) Response() Metrics

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

func (MetricsIterator) Value

func (iter MetricsIterator) Value() Item

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

type MetricsPage

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

MetricsPage contains a page of Item values.

func (*MetricsPage) Next

func (page *MetricsPage) 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.

func (MetricsPage) NotDone

func (page MetricsPage) NotDone() bool

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

func (MetricsPage) Response

func (page MetricsPage) Response() Metrics

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

func (MetricsPage) Values

func (page MetricsPage) Values() []Item

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

type ModuleConfiguration

type ModuleConfiguration struct {
	// AgentService - The name of agent service.
	AgentService *string `json:"agentService,omitempty"`
	// ModuleName - The name of the module for which the configuration is applicable.
	ModuleName *string `json:"moduleName,omitempty"`
	// Properties - The key value pairs of properties required for configuration.
	Properties map[string]*string `json:"properties"`
}

ModuleConfiguration the module configuration as required by the Agent service.

func (ModuleConfiguration) MarshalJSON

func (mc ModuleConfiguration) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ModuleConfiguration.

type ModuleConfigurations

type ModuleConfigurations struct {
	// Value - The value returned by the operation.
	Value *[]ModuleConfiguration `json:"value,omitempty"`
}

ModuleConfigurations the list of module configurations.

type MonitoringLevel

type MonitoringLevel string

MonitoringLevel enumerates the values for monitoring level.

const (
	// Full ...
	Full MonitoringLevel = "Full"
	// Off ...
	Off MonitoringLevel = "Off"
	// Partial ...
	Partial MonitoringLevel = "Partial"
)

func PossibleMonitoringLevelValues

func PossibleMonitoringLevelValues() []MonitoringLevel

PossibleMonitoringLevelValues returns an array of possible values for the MonitoringLevel const type.

type ObjectWithSyncError

type ObjectWithSyncError struct {
	// SourceOfAuthority - The source of authority.
	SourceOfAuthority *string `json:"sourceOfAuthority,omitempty"`
	// DisplayName - The display name.
	DisplayName *string `json:"displayName,omitempty"`
	// ObjectType - The object type.
	ObjectType *string `json:"objectType,omitempty"`
	// AttributeName - The attribute name.
	AttributeName *string `json:"attributeName,omitempty"`
	// AttributeValue - The attribute value.
	AttributeValue *string `json:"attributeValue,omitempty"`
	// ModififedValue - The modified value.
	ModififedValue *string `json:"modififedValue,omitempty"`
	// UserPrincipalName - The user principal name.
	UserPrincipalName *string `json:"userPrincipalName,omitempty"`
	// ObjectGUID - The object guid.
	ObjectGUID *string `json:"objectGuid,omitempty"`
	// AttributeMultiValues - Indicates if the atttibute is multi-valued or not.
	AttributeMultiValues *bool `json:"attributeMultiValues,omitempty"`
	// MinLimit - The minimum limit.
	MinLimit *string `json:"minLimit,omitempty"`
	// MaxLimit - The maximum limit.
	MaxLimit *string `json:"maxLimit,omitempty"`
	// DistinguishedName - The distinguished name.
	DistinguishedName *string `json:"distinguishedName,omitempty"`
	// Mail - The email.
	Mail *string `json:"mail,omitempty"`
	// TimeOccured - The date and time of occurance.
	TimeOccured *date.Time `json:"timeOccured,omitempty"`
	// ErrorType - The error type.
	ErrorType *string `json:"errorType,omitempty"`
	// SourceAnchor - The source anchor.
	SourceAnchor *string `json:"sourceAnchor,omitempty"`
}

ObjectWithSyncError the objects withg sync errors.

type Operation

type Operation struct {
	// Name - The name of the operation.
	Name *string `json:"name,omitempty"`
	// Display - The display details for the operation.
	Display interface{} `json:"display,omitempty"`
}

Operation the details of the operation.

type OperationListResponse

type OperationListResponse struct {
	autorest.Response `json:"-"`
	// NextLink - URL to get the next set of operation list results if there are any.
	NextLink *string `json:"nextLink,omitempty"`
	// Value - List of operations supported by the Microsoft.ADHybridhHealthService resource provider.
	Value *[]Operation `json:"value,omitempty"`
	// TotalCount - The total count of opertaions.
	TotalCount *int32 `json:"totalCount,omitempty"`
	// ContinuationToken - The continuation token to get next set of operations.
	ContinuationToken *string `json:"continuationToken,omitempty"`
}

OperationListResponse lists all of the available REST API operations for Azure Active Directory Connect Health.

func (OperationListResponse) IsEmpty

func (olr OperationListResponse) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type OperationListResponseIterator

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

OperationListResponseIterator provides access to a complete listing of Operation values.

func (*OperationListResponseIterator) Next

func (iter *OperationListResponseIterator) 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.

func (OperationListResponseIterator) NotDone

func (iter OperationListResponseIterator) NotDone() bool

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

func (OperationListResponseIterator) Response

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

func (OperationListResponseIterator) Value

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

type OperationListResponsePage

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

OperationListResponsePage contains a page of Operation values.

func (*OperationListResponsePage) Next

func (page *OperationListResponsePage) 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.

func (OperationListResponsePage) NotDone

func (page OperationListResponsePage) NotDone() bool

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

func (OperationListResponsePage) Response

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

func (OperationListResponsePage) Values

func (page OperationListResponsePage) Values() []Operation

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

type OperationsClient

type OperationsClient struct {
	BaseClient
}

OperationsClient is the REST APIs for Azure Active Drectory Connect Health

func NewOperationsClient

func NewOperationsClient() OperationsClient

NewOperationsClient creates an instance of the OperationsClient client.

func NewOperationsClientWithBaseURI

func NewOperationsClientWithBaseURI(baseURI string) OperationsClient

NewOperationsClientWithBaseURI creates an instance of the OperationsClient client.

func (OperationsClient) List

func (client OperationsClient) List(ctx context.Context) (result OperationListResponsePage, err error)

List lists the available Azure Data Factory API operations.

func (OperationsClient) ListComplete

func (client OperationsClient) ListComplete(ctx context.Context) (result OperationListResponseIterator, err error)

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

func (OperationsClient) ListPreparer

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

ListPreparer prepares the List request.

func (OperationsClient) ListResponder

func (client OperationsClient) ListResponder(resp *http.Response) (result OperationListResponse, err error)

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

func (OperationsClient) ListSender

func (client OperationsClient) 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 Partition

type Partition struct {
	// ID - The partition Id.
	ID *string `json:"id,omitempty"`
	// Dn - The distinguished name for the partition.
	Dn *string `json:"dn,omitempty"`
	// Enabled - Indicates if the partition object is selected or not.
	Enabled *bool `json:"enabled,omitempty"`
	// TimeCreated - The date and time when the partition is created.
	TimeCreated *date.Time `json:"timeCreated,omitempty"`
	// TimeLastModified - The time and date when the partition was last modified.
	TimeLastModified *date.Time `json:"timeLastModified,omitempty"`
	// PartitionScope - The scope of the partition.
	PartitionScope *PartitionScope `json:"partitionScope,omitempty"`
	// Name - The name of the partition.
	Name *string `json:"name,omitempty"`
	// IsDomain - Indicates if the partition is a domain or not.
	IsDomain *bool `json:"isDomain,omitempty"`
	// Type - The partition type.
	Type *string `json:"type,omitempty"`
}

Partition describes the partition in Synchronization service.

type PartitionScope

type PartitionScope struct {
	// IsDefault - Indicates if the partition scope is default or not.
	IsDefault *bool `json:"isDefault,omitempty"`
	// ObjectClasses - The in-scope object classes.
	ObjectClasses *[]string `json:"objectClasses,omitempty"`
	// ContainersIncluded - The list of containers included.
	ContainersIncluded *[]string `json:"containersIncluded,omitempty"`
	// ContainersExcluded - The list of containers excluded.
	ContainersExcluded *[]string `json:"containersExcluded,omitempty"`
}

PartitionScope the connector partition scope.

type PasswordHashSyncConfiguration

type PasswordHashSyncConfiguration struct {
	// Enabled - Indicates if the password hash synchronization configuration settings is enabled.
	Enabled *bool `json:"enabled,omitempty"`
	// Target - The target.
	Target *string `json:"target,omitempty"`
}

PasswordHashSyncConfiguration the password has synchronization configuration settings.

type PasswordManagementSettings

type PasswordManagementSettings struct {
	// Enabled - Indicates if the password extension is enabled.
	Enabled *bool `json:"enabled,omitempty"`
	// ExtensionFilePath - The file path of the password management extension.
	ExtensionFilePath *string `json:"extensionFilePath,omitempty"`
	// ConnectTo - Connection point of password management.
	ConnectTo *string `json:"connectTo,omitempty"`
	// ConnectionTimeout - Connection timeoit for password extension.
	ConnectionTimeout *int32 `json:"connectionTimeout,omitempty"`
	// User - User to execute password extension.
	User *string `json:"user,omitempty"`
	// SupportedPasswordOperations - The supported password operations. Possible values include: 'PasswordOperationTypesUndefined', 'PasswordOperationTypesSet', 'PasswordOperationTypesChange'
	SupportedPasswordOperations PasswordOperationTypes `json:"supportedPasswordOperations,omitempty"`
	// MaximumRetryCount - The maximum number of retries.
	MaximumRetryCount *int32 `json:"maximumRetryCount,omitempty"`
	// RetryIntervalInSeconds - The time between retries.
	RetryIntervalInSeconds *int32 `json:"retryIntervalInSeconds,omitempty"`
	// RequiresSecureConnection - Indicates if a secure connection is required for password management.
	RequiresSecureConnection *bool `json:"requiresSecureConnection,omitempty"`
	// UnlockAccount - Indicates if accounts should be unloacked when resetting password.
	UnlockAccount *bool `json:"unlockAccount,omitempty"`
}

PasswordManagementSettings the password management settings.

type PasswordOperationTypes

type PasswordOperationTypes string

PasswordOperationTypes enumerates the values for password operation types.

const (
	// PasswordOperationTypesChange ...
	PasswordOperationTypesChange PasswordOperationTypes = "Change"
	// PasswordOperationTypesSet ...
	PasswordOperationTypesSet PasswordOperationTypes = "Set"
	// PasswordOperationTypesUndefined ...
	PasswordOperationTypesUndefined PasswordOperationTypes = "Undefined"
)

func PossiblePasswordOperationTypesValues

func PossiblePasswordOperationTypesValues() []PasswordOperationTypes

PossiblePasswordOperationTypesValues returns an array of possible values for the PasswordOperationTypes const type.

type ReplicationDetailsList

type ReplicationDetailsList struct {
	autorest.Response `json:"-"`
	// Value - The value returned by the operation.
	Value *[]ReplicationSummary `json:"value,omitempty"`
	// TotalCount - The total count of replication detail elements.
	TotalCount *int32 `json:"totalCount,omitempty"`
	// ContinuationToken - The continuation token for paginated calls.
	ContinuationToken *string `json:"continuationToken,omitempty"`
	// NextLink - The link used to get the next page of operations.
	NextLink *string `json:"nextLink,omitempty"`
}

ReplicationDetailsList the list of replication details.

type ReplicationStatus

type ReplicationStatus struct {
	autorest.Response `json:"-"`
	// ForestName - The forest name.
	ForestName *string `json:"forestName,omitempty"`
	// TotalDcCount - The total numbe of domain controllers for a given forest.
	TotalDcCount *int32 `json:"totalDcCount,omitempty"`
	// ErrorDcCount - The total number of domain controllers with error in a given forest.
	ErrorDcCount *int32 `json:"errorDcCount,omitempty"`
}

ReplicationStatus replication summary for a domain controller.

type ReplicationSummary

type ReplicationSummary struct {
	// TargetServer - The domain controller name.
	TargetServer *string `json:"targetServer,omitempty"`
	// Site - The site name for a given domain controller.
	Site *string `json:"site,omitempty"`
	// Domain - The domain name for a given domain controller.
	Domain *string `json:"domain,omitempty"`
	// Status - The health status for a domain controller.
	Status *int32 `json:"status,omitempty"`
	// LastAttemptedSync - The last time when a sync was attempted for a given domain controller.
	LastAttemptedSync *date.Time `json:"lastAttemptedSync,omitempty"`
	// LastSuccessfulSync - The time when the last successful sync happened for a given domain controller.
	LastSuccessfulSync *date.Time `json:"lastSuccessfulSync,omitempty"`
	// InboundNeighborCollection - List of individual domain controller neighbor's inbound replication status.
	InboundNeighborCollection *[]InboundReplicationNeighbor `json:"inboundNeighborCollection,omitempty"`
}

ReplicationSummary the replication summary for a domain controller.

type ReplicationSummaryList

type ReplicationSummaryList struct {
	autorest.Response `json:"-"`
	// Value - The value returned by the operation.
	Value *[]ReplicationSummary `json:"value,omitempty"`
}

ReplicationSummaryList the list of replication summary details.

type ReportsClient

type ReportsClient struct {
	BaseClient
}

ReportsClient is the REST APIs for Azure Active Drectory Connect Health

func NewReportsClient

func NewReportsClient() ReportsClient

NewReportsClient creates an instance of the ReportsClient client.

func NewReportsClientWithBaseURI

func NewReportsClientWithBaseURI(baseURI string) ReportsClient

NewReportsClientWithBaseURI creates an instance of the ReportsClient client.

func (ReportsClient) GetDevOps

func (client ReportsClient) GetDevOps(ctx context.Context) (result Result, err error)

GetDevOps checks if the user is enabled for Dev Ops access.

func (ReportsClient) GetDevOpsPreparer

func (client ReportsClient) GetDevOpsPreparer(ctx context.Context) (*http.Request, error)

GetDevOpsPreparer prepares the GetDevOps request.

func (ReportsClient) GetDevOpsResponder

func (client ReportsClient) GetDevOpsResponder(resp *http.Response) (result Result, err error)

GetDevOpsResponder handles the response to the GetDevOps request. The method always closes the http.Response Body.

func (ReportsClient) GetDevOpsSender

func (client ReportsClient) GetDevOpsSender(req *http.Request) (*http.Response, error)

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

type Result

type Result struct {
	autorest.Response `json:"-"`
	// Value - The value.
	Value *bool `json:"value,omitempty"`
}

Result the result for an operation.

type RuleErrorInfo

type RuleErrorInfo struct {
	// AttributeMapping - The attribute mapping details.
	AttributeMapping *AttributeMapping `json:"attributeMapping,omitempty"`
	// ConnectorID - The connector Id.
	ConnectorID *string `json:"connectorId,omitempty"`
	// ConnectorName - The connector name.
	ConnectorName *string `json:"connectorName,omitempty"`
	// CsObjectID - The object Id.
	CsObjectID *string `json:"csObjectId,omitempty"`
	// Dn - The distinguished name.
	Dn *string `json:"dn,omitempty"`
}

RuleErrorInfo the error details in legacy rule processing.

type RunProfile

type RunProfile struct {
	// ID - The run profile Id.
	ID *string `json:"id,omitempty"`
	// Name - The run profile name
	Name *string `json:"name,omitempty"`
	// RunSteps - The run steps of the run profile.
	RunSteps *[]RunStep `json:"runSteps,omitempty"`
}

RunProfile describes the run profile.

type RunProfiles

type RunProfiles struct {
	// Value - The value returned by the operation.
	Value *[]RunProfile `json:"value,omitempty"`
}

RunProfiles the list of run profiles.

type RunStep

type RunStep struct {
	// BatchSize - The batch size used by the run step.
	BatchSize *int32 `json:"batchSize,omitempty"`
	// ObjectProcessLimit - The obect processing limit.
	ObjectProcessLimit *int32 `json:"objectProcessLimit,omitempty"`
	// ObjectDeleteLimit - The object deletion limit.
	ObjectDeleteLimit *int32 `json:"objectDeleteLimit,omitempty"`
	// PageSize - The page size of the run step.
	PageSize *int32 `json:"pageSize,omitempty"`
	// PartitionID - The Id of the partition that a current run setp operation is executing.
	PartitionID *string `json:"partitionId,omitempty"`
	// OperationType - The run step operation types.
	OperationType *int32 `json:"operationType,omitempty"`
	// Timeout - The operation timeout.
	Timeout *int32 `json:"timeout,omitempty"`
}

RunStep the run step for a run profile.

type ServiceClient

type ServiceClient struct {
	BaseClient
}

ServiceClient is the REST APIs for Azure Active Drectory Connect Health

func NewServiceClient

func NewServiceClient() ServiceClient

NewServiceClient creates an instance of the ServiceClient client.

func NewServiceClientWithBaseURI

func NewServiceClientWithBaseURI(baseURI string) ServiceClient

NewServiceClientWithBaseURI creates an instance of the ServiceClient client.

func (ServiceClient) GetMetrics

func (client ServiceClient) GetMetrics(ctx context.Context, serviceName string, metricName string, groupName string, groupKey string, fromDate *date.Time, toDate *date.Time) (result MetricSets, err error)

GetMetrics gets the server related metrics for a given metric and group combination. Parameters: serviceName - the name of the service. metricName - the metric name groupName - the group name groupKey - the group key fromDate - the start date. toDate - the end date.

func (ServiceClient) GetMetricsPreparer

func (client ServiceClient) GetMetricsPreparer(ctx context.Context, serviceName string, metricName string, groupName string, groupKey string, fromDate *date.Time, toDate *date.Time) (*http.Request, error)

GetMetricsPreparer prepares the GetMetrics request.

func (ServiceClient) GetMetricsResponder

func (client ServiceClient) GetMetricsResponder(resp *http.Response) (result MetricSets, err error)

GetMetricsResponder handles the response to the GetMetrics request. The method always closes the http.Response Body.

func (ServiceClient) GetMetricsSender

func (client ServiceClient) GetMetricsSender(req *http.Request) (*http.Response, error)

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

type ServiceConfiguration

type ServiceConfiguration struct {
	autorest.Response `json:"-"`
	// Version - The version of the sync service.
	Version *string `json:"version,omitempty"`
	// ServiceType - The service type of the server.
	ServiceType *int32 `json:"serviceType,omitempty"`
	// ServiceAccount - The service account.
	ServiceAccount *string `json:"serviceAccount,omitempty"`
	// SQLServer - The SQL server information.
	SQLServer *string `json:"sqlServer,omitempty"`
	// SQLVersion - The SQL version.
	SQLVersion *string `json:"sqlVersion,omitempty"`
	// SQLEdition - The SQL edition
	SQLEdition *string `json:"sqlEdition,omitempty"`
	// SQLInstance - The SQL instance details.
	SQLInstance *string `json:"sqlInstance,omitempty"`
	// SQLDatabaseName - The SQL database.
	SQLDatabaseName *string `json:"sqlDatabaseName,omitempty"`
	// SQLDatabaseSize - The SQL database size.
	SQLDatabaseSize *int32 `json:"sqlDatabaseSize,omitempty"`
}

ServiceConfiguration the service configuration

type ServiceMember

type ServiceMember struct {
	autorest.Response `json:"-"`
	// ServiceMemberID - The id of the server.
	ServiceMemberID *string `json:"serviceMemberId,omitempty"`
	// ServiceID - The service id to whom this server belongs.
	ServiceID *string `json:"serviceId,omitempty"`
	// TenantID - The tenant id to whom this server belongs.
	TenantID *string `json:"tenantId,omitempty"`
	// ActiveAlerts - The total number of alerts that are currently active for the server.
	ActiveAlerts *int32 `json:"activeAlerts,omitempty"`
	// AdditionalInformation - The additional information, if any, for the server.
	AdditionalInformation *string `json:"additionalInformation,omitempty"`
	// CreatedDate - The date time , in UTC, when the server was onboaraded to Azure Active Directory Connect Health.
	CreatedDate *date.Time `json:"createdDate,omitempty"`
	// Dimensions - The server specific configuration related dimensions.
	Dimensions interface{} `json:"dimensions,omitempty"`
	// Disabled - Indicates if the server is disabled or not.
	Disabled *bool `json:"disabled,omitempty"`
	// DisabledReason - The reason for disabling the server.
	DisabledReason *int32 `json:"disabledReason,omitempty"`
	// InstalledQfes - The list of installed QFEs for the server.
	InstalledQfes interface{} `json:"installedQfes,omitempty"`
	// LastDisabled - The date and time , in UTC, when the server was last disabled.
	LastDisabled *date.Time `json:"lastDisabled,omitempty"`
	// LastReboot - The date and time, in UTC, when the server was last rebooted.
	LastReboot *date.Time `json:"lastReboot,omitempty"`
	// LastServerReportedMonitoringLevelChange - The date and time, in UTC, when the server's data monitoring configuration was last changed.
	LastServerReportedMonitoringLevelChange *date.Time `json:"lastServerReportedMonitoringLevelChange,omitempty"`
	// LastUpdated - The date and time, in UTC, when the server proeprties were last updated.
	LastUpdated *date.Time `json:"lastUpdated,omitempty"`
	// MachineID - The id of the machine.
	MachineID *string `json:"machineId,omitempty"`
	// MachineName - The name of the server.
	MachineName *string `json:"machineName,omitempty"`
	// MonitoringConfigurationsComputed - The monitoring configuration of the server which determines what activities are monitored by Azure Active Directory Connect Health.
	MonitoringConfigurationsComputed interface{} `json:"monitoringConfigurationsComputed,omitempty"`
	// MonitoringConfigurationsCustomized - The customized monitoring configuration of the server which determines what activities are monitored by Azure Active Directory Connect Health.
	MonitoringConfigurationsCustomized interface{} `json:"monitoringConfigurationsCustomized,omitempty"`
	// OsName - The name of the operating system installed in the machine.
	OsName *string `json:"osName,omitempty"`
	// OsVersion - The version of the operating system installed in the machine.
	OsVersion *string `json:"osVersion,omitempty"`
	// Properties - Server specific properties.
	Properties interface{} `json:"properties,omitempty"`
	// RecommendedQfes - The list of recommended hotfixes for the server.
	RecommendedQfes interface{} `json:"recommendedQfes,omitempty"`
	// ResolvedAlerts - The total count of alerts that are resolved for this server.
	ResolvedAlerts *int32 `json:"resolvedAlerts,omitempty"`
	// Role - The service role that is being monitored in the server.
	Role *string `json:"role,omitempty"`
	// ServerReportedMonitoringLevel - The monitoring level reported by the server. Possible values include: 'Partial', 'Full', 'Off'
	ServerReportedMonitoringLevel MonitoringLevel `json:"serverReportedMonitoringLevel,omitempty"`
	// Status - The health status of the server.
	Status *string `json:"status,omitempty"`
}

ServiceMember the server properties for a given service.

type ServiceMembers

type ServiceMembers struct {
	autorest.Response `json:"-"`
	// NextLink - The link used to get the next page of operations.
	NextLink *string `json:"nextLink,omitempty"`
	// Value - The value returned by the operation.
	Value *[]ServiceMember `json:"value,omitempty"`
	// TotalCount - The total count of service elements.
	TotalCount *int32 `json:"totalCount,omitempty"`
	// ContinuationToken - The continuation token for paginated calls.
	ContinuationToken *string `json:"continuationToken,omitempty"`
}

ServiceMembers the list of servers that are onboarded for a given service.

func (ServiceMembers) IsEmpty

func (sm ServiceMembers) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type ServiceMembersClient

type ServiceMembersClient struct {
	BaseClient
}

ServiceMembersClient is the REST APIs for Azure Active Drectory Connect Health

func NewServiceMembersClient

func NewServiceMembersClient() ServiceMembersClient

NewServiceMembersClient creates an instance of the ServiceMembersClient client.

func NewServiceMembersClientWithBaseURI

func NewServiceMembersClientWithBaseURI(baseURI string) ServiceMembersClient

NewServiceMembersClientWithBaseURI creates an instance of the ServiceMembersClient client.

func (ServiceMembersClient) Add

func (client ServiceMembersClient) Add(ctx context.Context, serviceName string, serviceMember ServiceMember) (result ServiceMember, err error)

Add onboards a server, for a given service, to Azure Active Directory Connect Health Service. Parameters: serviceName - the name of the service under which the server is to be onboarded. serviceMember - the server object.

func (ServiceMembersClient) AddPreparer

func (client ServiceMembersClient) AddPreparer(ctx context.Context, serviceName string, serviceMember ServiceMember) (*http.Request, error)

AddPreparer prepares the Add request.

func (ServiceMembersClient) AddResponder

func (client ServiceMembersClient) AddResponder(resp *http.Response) (result ServiceMember, err error)

AddResponder handles the response to the Add request. The method always closes the http.Response Body.

func (ServiceMembersClient) AddSender

func (client ServiceMembersClient) AddSender(req *http.Request) (*http.Response, error)

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

func (ServiceMembersClient) Delete

func (client ServiceMembersClient) Delete(ctx context.Context, serviceName string, serviceMemberID uuid.UUID, confirm *bool) (result autorest.Response, err error)

Delete deletes a server that has been onboarded to Azure Active Directory Connect Health Service. Parameters: serviceName - the name of the service. serviceMemberID - the server Id. confirm - indicates if the server will be permanently deleted or disabled. True indicates that the server will be permanently deleted and False indicates that the server will be marked disabled and then deleted after 30 days, if it is not re-registered.

func (ServiceMembersClient) DeleteData

func (client ServiceMembersClient) DeleteData(ctx context.Context, serviceName string, serviceMemberID uuid.UUID) (result autorest.Response, err error)

DeleteData deletes the data uploaded by the server to Azure Active Directory Connect Health Service. Parameters: serviceName - the name of the service. serviceMemberID - the server Id.

func (ServiceMembersClient) DeleteDataPreparer

func (client ServiceMembersClient) DeleteDataPreparer(ctx context.Context, serviceName string, serviceMemberID uuid.UUID) (*http.Request, error)

DeleteDataPreparer prepares the DeleteData request.

func (ServiceMembersClient) DeleteDataResponder

func (client ServiceMembersClient) DeleteDataResponder(resp *http.Response) (result autorest.Response, err error)

DeleteDataResponder handles the response to the DeleteData request. The method always closes the http.Response Body.

func (ServiceMembersClient) DeleteDataSender

func (client ServiceMembersClient) DeleteDataSender(req *http.Request) (*http.Response, error)

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

func (ServiceMembersClient) DeletePreparer

func (client ServiceMembersClient) DeletePreparer(ctx context.Context, serviceName string, serviceMemberID uuid.UUID, confirm *bool) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (ServiceMembersClient) DeleteResponder

func (client ServiceMembersClient) 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 (ServiceMembersClient) DeleteSender

func (client ServiceMembersClient) DeleteSender(req *http.Request) (*http.Response, error)

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

func (ServiceMembersClient) Get

func (client ServiceMembersClient) Get(ctx context.Context, serviceName string, serviceMemberID uuid.UUID) (result ServiceMember, err error)

Get gets the details of a server, for a given service, that are onboarded to Azure Active Directory Connect Health Service. Parameters: serviceName - the name of the service. serviceMemberID - the server Id.

func (ServiceMembersClient) GetMetrics

func (client ServiceMembersClient) GetMetrics(ctx context.Context, serviceName string, metricName string, groupName string, serviceMemberID uuid.UUID, groupKey string, fromDate *date.Time, toDate *date.Time) (result MetricSets, err error)

GetMetrics gets the server related metrics for a given metric and group combination. Parameters: serviceName - the name of the service. metricName - the metric name groupName - the group name serviceMemberID - the server id. groupKey - the group key fromDate - the start date. toDate - the end date.

func (ServiceMembersClient) GetMetricsPreparer

func (client ServiceMembersClient) GetMetricsPreparer(ctx context.Context, serviceName string, metricName string, groupName string, serviceMemberID uuid.UUID, groupKey string, fromDate *date.Time, toDate *date.Time) (*http.Request, error)

GetMetricsPreparer prepares the GetMetrics request.

func (ServiceMembersClient) GetMetricsResponder

func (client ServiceMembersClient) GetMetricsResponder(resp *http.Response) (result MetricSets, err error)

GetMetricsResponder handles the response to the GetMetrics request. The method always closes the http.Response Body.

func (ServiceMembersClient) GetMetricsSender

func (client ServiceMembersClient) GetMetricsSender(req *http.Request) (*http.Response, error)

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

func (ServiceMembersClient) GetPreparer

func (client ServiceMembersClient) GetPreparer(ctx context.Context, serviceName string, serviceMemberID uuid.UUID) (*http.Request, error)

GetPreparer prepares the Get request.

func (ServiceMembersClient) GetResponder

func (client ServiceMembersClient) GetResponder(resp *http.Response) (result ServiceMember, err error)

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

func (ServiceMembersClient) GetSender

func (client ServiceMembersClient) 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 (ServiceMembersClient) GetServiceConfiguration

func (client ServiceMembersClient) GetServiceConfiguration(ctx context.Context, serviceName string, serviceMemberID string) (result ServiceConfiguration, err error)

GetServiceConfiguration gets the service configuration. Parameters: serviceName - the name of the service. serviceMemberID - the server Id.

func (ServiceMembersClient) GetServiceConfigurationPreparer

func (client ServiceMembersClient) GetServiceConfigurationPreparer(ctx context.Context, serviceName string, serviceMemberID string) (*http.Request, error)

GetServiceConfigurationPreparer prepares the GetServiceConfiguration request.

func (ServiceMembersClient) GetServiceConfigurationResponder

func (client ServiceMembersClient) GetServiceConfigurationResponder(resp *http.Response) (result ServiceConfiguration, err error)

GetServiceConfigurationResponder handles the response to the GetServiceConfiguration request. The method always closes the http.Response Body.

func (ServiceMembersClient) GetServiceConfigurationSender

func (client ServiceMembersClient) GetServiceConfigurationSender(req *http.Request) (*http.Response, error)

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

func (ServiceMembersClient) List

func (client ServiceMembersClient) List(ctx context.Context, serviceName string, filter string, dimensionType string, dimensionSignature string) (result ServiceMembersPage, err error)

List gets the details of the servers, for a given service, that are onboarded to Azure Active Directory Connect Health Service. Parameters: serviceName - the name of the service. filter - the server property filter to apply. dimensionType - the server specific dimension. dimensionSignature - the value of the dimension.

func (ServiceMembersClient) ListAlerts

func (client ServiceMembersClient) ListAlerts(ctx context.Context, serviceMemberID uuid.UUID, serviceName string, filter string, state string, from *date.Time, toParameter *date.Time) (result AlertsPage, err error)

ListAlerts gets the details of an alert for a given service and server combination. Parameters: serviceMemberID - the server Id for which the laert details needs to be queried. serviceName - the name of the service. filter - the alert property filter to apply. state - the alert state to query for. from - the start date to query for. toParameter - the end date till when to query for.

func (ServiceMembersClient) ListAlertsComplete

func (client ServiceMembersClient) ListAlertsComplete(ctx context.Context, serviceMemberID uuid.UUID, serviceName string, filter string, state string, from *date.Time, toParameter *date.Time) (result AlertsIterator, err error)

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

func (ServiceMembersClient) ListAlertsPreparer

func (client ServiceMembersClient) ListAlertsPreparer(ctx context.Context, serviceMemberID uuid.UUID, serviceName string, filter string, state string, from *date.Time, toParameter *date.Time) (*http.Request, error)

ListAlertsPreparer prepares the ListAlerts request.

func (ServiceMembersClient) ListAlertsResponder

func (client ServiceMembersClient) ListAlertsResponder(resp *http.Response) (result Alerts, err error)

ListAlertsResponder handles the response to the ListAlerts request. The method always closes the http.Response Body.

func (ServiceMembersClient) ListAlertsSender

func (client ServiceMembersClient) ListAlertsSender(req *http.Request) (*http.Response, error)

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

func (ServiceMembersClient) ListComplete

func (client ServiceMembersClient) ListComplete(ctx context.Context, serviceName string, filter string, dimensionType string, dimensionSignature string) (result ServiceMembersIterator, err error)

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

func (ServiceMembersClient) ListConnectors

func (client ServiceMembersClient) ListConnectors(ctx context.Context, serviceName string, serviceMemberID uuid.UUID) (result Connectors, err error)

ListConnectors gets the connector details for a service. Parameters: serviceName - the name of the service. serviceMemberID - the server Id.

func (ServiceMembersClient) ListConnectorsPreparer

func (client ServiceMembersClient) ListConnectorsPreparer(ctx context.Context, serviceName string, serviceMemberID uuid.UUID) (*http.Request, error)

ListConnectorsPreparer prepares the ListConnectors request.

func (ServiceMembersClient) ListConnectorsResponder

func (client ServiceMembersClient) ListConnectorsResponder(resp *http.Response) (result Connectors, err error)

ListConnectorsResponder handles the response to the ListConnectors request. The method always closes the http.Response Body.

func (ServiceMembersClient) ListConnectorsSender

func (client ServiceMembersClient) ListConnectorsSender(req *http.Request) (*http.Response, error)

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

func (ServiceMembersClient) ListCredentials

func (client ServiceMembersClient) ListCredentials(ctx context.Context, serviceName string, serviceMemberID uuid.UUID, filter string) (result Credentials, err error)

ListCredentials gets the credentials of the server which is needed by the agent to connect to Azure Active Directory Connect Health Service. Parameters: serviceName - the name of the service. serviceMemberID - the server Id. filter - the property filter to apply.

func (ServiceMembersClient) ListCredentialsPreparer

func (client ServiceMembersClient) ListCredentialsPreparer(ctx context.Context, serviceName string, serviceMemberID uuid.UUID, filter string) (*http.Request, error)

ListCredentialsPreparer prepares the ListCredentials request.

func (ServiceMembersClient) ListCredentialsResponder

func (client ServiceMembersClient) ListCredentialsResponder(resp *http.Response) (result Credentials, err error)

ListCredentialsResponder handles the response to the ListCredentials request. The method always closes the http.Response Body.

func (ServiceMembersClient) ListCredentialsSender

func (client ServiceMembersClient) ListCredentialsSender(req *http.Request) (*http.Response, error)

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

func (ServiceMembersClient) ListDataFreshness

func (client ServiceMembersClient) ListDataFreshness(ctx context.Context, serviceName string, serviceMemberID uuid.UUID) (result DataFreshnessDetails, err error)

ListDataFreshness gets the last time when the server uploaded data to Azure Active Directory Connect Health Service. Parameters: serviceName - the name of the service. serviceMemberID - the server Id.

func (ServiceMembersClient) ListDataFreshnessPreparer

func (client ServiceMembersClient) ListDataFreshnessPreparer(ctx context.Context, serviceName string, serviceMemberID uuid.UUID) (*http.Request, error)

ListDataFreshnessPreparer prepares the ListDataFreshness request.

func (ServiceMembersClient) ListDataFreshnessResponder

func (client ServiceMembersClient) ListDataFreshnessResponder(resp *http.Response) (result DataFreshnessDetails, err error)

ListDataFreshnessResponder handles the response to the ListDataFreshness request. The method always closes the http.Response Body.

func (ServiceMembersClient) ListDataFreshnessSender

func (client ServiceMembersClient) ListDataFreshnessSender(req *http.Request) (*http.Response, error)

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

func (ServiceMembersClient) ListExportStatus

func (client ServiceMembersClient) ListExportStatus(ctx context.Context, serviceName string, serviceMemberID uuid.UUID) (result ExportStatusesPage, err error)

ListExportStatus gets the export status. Parameters: serviceName - the name of the service. serviceMemberID - the server Id.

func (ServiceMembersClient) ListExportStatusComplete

func (client ServiceMembersClient) ListExportStatusComplete(ctx context.Context, serviceName string, serviceMemberID uuid.UUID) (result ExportStatusesIterator, err error)

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

func (ServiceMembersClient) ListExportStatusPreparer

func (client ServiceMembersClient) ListExportStatusPreparer(ctx context.Context, serviceName string, serviceMemberID uuid.UUID) (*http.Request, error)

ListExportStatusPreparer prepares the ListExportStatus request.

func (ServiceMembersClient) ListExportStatusResponder

func (client ServiceMembersClient) ListExportStatusResponder(resp *http.Response) (result ExportStatuses, err error)

ListExportStatusResponder handles the response to the ListExportStatus request. The method always closes the http.Response Body.

func (ServiceMembersClient) ListExportStatusSender

func (client ServiceMembersClient) ListExportStatusSender(req *http.Request) (*http.Response, error)

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

func (ServiceMembersClient) ListGlobalConfiguration

func (client ServiceMembersClient) ListGlobalConfiguration(ctx context.Context, serviceName string, serviceMemberID string) (result GlobalConfigurations, err error)

ListGlobalConfiguration gets the global configuration. Parameters: serviceName - the name of the service. serviceMemberID - the server id.

func (ServiceMembersClient) ListGlobalConfigurationPreparer

func (client ServiceMembersClient) ListGlobalConfigurationPreparer(ctx context.Context, serviceName string, serviceMemberID string) (*http.Request, error)

ListGlobalConfigurationPreparer prepares the ListGlobalConfiguration request.

func (ServiceMembersClient) ListGlobalConfigurationResponder

func (client ServiceMembersClient) ListGlobalConfigurationResponder(resp *http.Response) (result GlobalConfigurations, err error)

ListGlobalConfigurationResponder handles the response to the ListGlobalConfiguration request. The method always closes the http.Response Body.

func (ServiceMembersClient) ListGlobalConfigurationSender

func (client ServiceMembersClient) ListGlobalConfigurationSender(req *http.Request) (*http.Response, error)

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

func (ServiceMembersClient) ListPreparer

func (client ServiceMembersClient) ListPreparer(ctx context.Context, serviceName string, filter string, dimensionType string, dimensionSignature string) (*http.Request, error)

ListPreparer prepares the List request.

func (ServiceMembersClient) ListResponder

func (client ServiceMembersClient) ListResponder(resp *http.Response) (result ServiceMembers, err error)

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

func (ServiceMembersClient) ListSender

func (client ServiceMembersClient) 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 ServiceMembersIterator

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

ServiceMembersIterator provides access to a complete listing of ServiceMember values.

func (*ServiceMembersIterator) Next

func (iter *ServiceMembersIterator) 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.

func (ServiceMembersIterator) NotDone

func (iter ServiceMembersIterator) NotDone() bool

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

func (ServiceMembersIterator) Response

func (iter ServiceMembersIterator) Response() ServiceMembers

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

func (ServiceMembersIterator) Value

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

type ServiceMembersPage

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

ServiceMembersPage contains a page of ServiceMember values.

func (*ServiceMembersPage) Next

func (page *ServiceMembersPage) 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.

func (ServiceMembersPage) NotDone

func (page ServiceMembersPage) NotDone() bool

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

func (ServiceMembersPage) Response

func (page ServiceMembersPage) Response() ServiceMembers

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

func (ServiceMembersPage) Values

func (page ServiceMembersPage) Values() []ServiceMember

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

type ServiceProperties

type ServiceProperties struct {
	autorest.Response `json:"-"`
	// ID - The id of the service.
	ID *string `json:"id,omitempty"`
	// ActiveAlerts - The count of alerts that are currently active for the service.
	ActiveAlerts *int32 `json:"activeAlerts,omitempty"`
	// AdditionalInformation - The additional information related to the service.
	AdditionalInformation *string `json:"additionalInformation,omitempty"`
	// CreatedDate - The date and time, in UTC, when the service was onboarded to Azure Active Directory Connect Health.
	CreatedDate *date.Time `json:"createdDate,omitempty"`
	// CustomNotificationEmails - The list of additional emails that are configured to recieve notifications about the service.
	CustomNotificationEmails *[]string `json:"customNotificationEmails,omitempty"`
	// Disabled - Indicates if the service is disabled or not.
	Disabled *bool `json:"disabled,omitempty"`
	// DisplayName - The display name of the service.
	DisplayName *string `json:"displayName,omitempty"`
	// Health - The health of the service.
	Health *string `json:"health,omitempty"`
	// LastDisabled - The date and time, in UTC, when the service was last disabled.
	LastDisabled *date.Time `json:"lastDisabled,omitempty"`
	// LastUpdated - The date or time , in UTC, when the service properties were last updated.
	LastUpdated *date.Time `json:"lastUpdated,omitempty"`
	// MonitoringConfigurationsComputed - The monitoring configuration of the service which determines what activities are monitored by Azure Active Directory Connect Health.
	MonitoringConfigurationsComputed interface{} `json:"monitoringConfigurationsComputed,omitempty"`
	// MonitoringConfigurationsCustomized - The customized monitoring configuration of the service which determines what activities are monitored by Azure Active Directory Connect Health.
	MonitoringConfigurationsCustomized interface{} `json:"monitoringConfigurationsCustomized,omitempty"`
	// NotificationEmailEnabled - Indicates if email notification is enabled or not.
	NotificationEmailEnabled *bool `json:"notificationEmailEnabled,omitempty"`
	// NotificationEmailEnabledForGlobalAdmins - Indicates if email notification is enabled for global administrators of the tenant.
	NotificationEmailEnabledForGlobalAdmins *bool `json:"notificationEmailEnabledForGlobalAdmins,omitempty"`
	// NotificationEmailsEnabledForGlobalAdmins - Indicates if email notification is enabled for global administrators of the tenant.
	NotificationEmailsEnabledForGlobalAdmins *bool `json:"notificationEmailsEnabledForGlobalAdmins,omitempty"`
	// NotificationEmails - The list of emails to whom service notifications will be sent.
	NotificationEmails *[]string `json:"notificationEmails,omitempty"`
	// OriginalDisabledState - Gets the original disable state.
	OriginalDisabledState *bool `json:"originalDisabledState,omitempty"`
	// ResolvedAlerts - The total count of alerts that has been resolved for the service.
	ResolvedAlerts *int32 `json:"resolvedAlerts,omitempty"`
	// ServiceID - The id of the service.
	ServiceID *string `json:"serviceId,omitempty"`
	// ServiceName - The name of the service.
	ServiceName *string `json:"serviceName,omitempty"`
	// Signature - The signature of the service.
	Signature *string `json:"signature,omitempty"`
	// SimpleProperties - List of service specific configuration properties.
	SimpleProperties interface{} `json:"simpleProperties,omitempty"`
	// TenantID - The id of the tenant to which the service is registered to.
	TenantID *string `json:"tenantId,omitempty"`
	// Type - The service type for the services onboarded to Azure Active Directory Connect Health. Depending on whether the service is monitoring, ADFS, Sync or ADDS roles, the service type can either be AdFederationService or AadSyncService or AdDomainService.
	Type *string `json:"type,omitempty"`
}

ServiceProperties the service properties for a given service.

type Services

type Services struct {
	autorest.Response `json:"-"`
	// NextLink - The link used to get the next page of operations.
	NextLink *string `json:"nextLink,omitempty"`
	// Value - The value returned by the operation.
	Value *[]ServiceProperties `json:"value,omitempty"`
	// TotalCount - The total count of service elements.
	TotalCount *int32 `json:"totalCount,omitempty"`
	// ContinuationToken - The continuation token for paginated calls.
	ContinuationToken *string `json:"continuationToken,omitempty"`
}

Services the list of services for a given onboarded tenant.

func (Services) IsEmpty

func (s Services) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type ServicesClient

type ServicesClient struct {
	BaseClient
}

ServicesClient is the REST APIs for Azure Active Drectory Connect Health

func NewServicesClient

func NewServicesClient() ServicesClient

NewServicesClient creates an instance of the ServicesClient client.

func NewServicesClientWithBaseURI

func NewServicesClientWithBaseURI(baseURI string) ServicesClient

NewServicesClientWithBaseURI creates an instance of the ServicesClient client.

func (ServicesClient) Add

func (client ServicesClient) Add(ctx context.Context, service ServiceProperties) (result ServiceProperties, err error)

Add onboards a service for a given tenant in Azure Active Directory Connect Health. Parameters: service - the service object.

func (ServicesClient) AddAlertFeedback

func (client ServicesClient) AddAlertFeedback(ctx context.Context, serviceName string, alertFeedback AlertFeedback) (result AlertFeedback, err error)

AddAlertFeedback adds an alert feedback submitted by customer. Parameters: serviceName - the name of the service. alertFeedback - the alert feedback.

func (ServicesClient) AddAlertFeedbackPreparer

func (client ServicesClient) AddAlertFeedbackPreparer(ctx context.Context, serviceName string, alertFeedback AlertFeedback) (*http.Request, error)

AddAlertFeedbackPreparer prepares the AddAlertFeedback request.

func (ServicesClient) AddAlertFeedbackResponder

func (client ServicesClient) AddAlertFeedbackResponder(resp *http.Response) (result AlertFeedback, err error)

AddAlertFeedbackResponder handles the response to the AddAlertFeedback request. The method always closes the http.Response Body.

func (ServicesClient) AddAlertFeedbackSender

func (client ServicesClient) AddAlertFeedbackSender(req *http.Request) (*http.Response, error)

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

func (ServicesClient) AddPreparer

func (client ServicesClient) AddPreparer(ctx context.Context, service ServiceProperties) (*http.Request, error)

AddPreparer prepares the Add request.

func (ServicesClient) AddResponder

func (client ServicesClient) AddResponder(resp *http.Response) (result ServiceProperties, err error)

AddResponder handles the response to the Add request. The method always closes the http.Response Body.

func (ServicesClient) AddSender

func (client ServicesClient) AddSender(req *http.Request) (*http.Response, error)

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

func (ServicesClient) Delete

func (client ServicesClient) Delete(ctx context.Context, serviceName string, confirm *bool) (result autorest.Response, err error)

Delete deletes a service which is onboarded to Azure Active Directory Connect Health. Parameters: serviceName - the name of the service which needs to be deleted. confirm - indicates if the service will be permanently deleted or disabled. True indicates that the service will be permanently deleted and False indicates that the service will be marked disabled and then deleted after 30 days, if it is not re-registered.

func (ServicesClient) DeletePreparer

func (client ServicesClient) DeletePreparer(ctx context.Context, serviceName string, confirm *bool) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (ServicesClient) DeleteResponder

func (client ServicesClient) 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 (ServicesClient) DeleteSender

func (client ServicesClient) DeleteSender(req *http.Request) (*http.Response, error)

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

func (ServicesClient) Get

func (client ServicesClient) Get(ctx context.Context, serviceName string) (result ServiceProperties, err error)

Get gets the details of a service for a tenant having Azure AD Premium license and is onboarded to Azure Active Directory Connect Health. Parameters: serviceName - the name of the service.

func (ServicesClient) GetFeatureAvailibility

func (client ServicesClient) GetFeatureAvailibility(ctx context.Context, serviceName string, featureName string) (result Result, err error)

GetFeatureAvailibility checks if the service has all the pre-requisites met to use a feature. Parameters: serviceName - the name of the service. featureName - the name of the feature.

func (ServicesClient) GetFeatureAvailibilityPreparer

func (client ServicesClient) GetFeatureAvailibilityPreparer(ctx context.Context, serviceName string, featureName string) (*http.Request, error)

GetFeatureAvailibilityPreparer prepares the GetFeatureAvailibility request.

func (ServicesClient) GetFeatureAvailibilityResponder

func (client ServicesClient) GetFeatureAvailibilityResponder(resp *http.Response) (result Result, err error)

GetFeatureAvailibilityResponder handles the response to the GetFeatureAvailibility request. The method always closes the http.Response Body.

func (ServicesClient) GetFeatureAvailibilitySender

func (client ServicesClient) GetFeatureAvailibilitySender(req *http.Request) (*http.Response, error)

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

func (ServicesClient) GetMetricMetadata

func (client ServicesClient) GetMetricMetadata(ctx context.Context, serviceName string, metricName string) (result MetricMetadata, err error)

GetMetricMetadata gets the service related metrics information. Parameters: serviceName - the name of the service. metricName - the metric name

func (ServicesClient) GetMetricMetadataForGroup

func (client ServicesClient) GetMetricMetadataForGroup(ctx context.Context, serviceName string, metricName string, groupName string, groupKey string, fromDate *date.Time, toDate *date.Time) (result MetricSets, err error)

GetMetricMetadataForGroup gets the service related metrics for a given metric and group combination. Parameters: serviceName - the name of the service. metricName - the metric name groupName - the group name groupKey - the group key fromDate - the start date. toDate - the end date.

func (ServicesClient) GetMetricMetadataForGroupPreparer

func (client ServicesClient) GetMetricMetadataForGroupPreparer(ctx context.Context, serviceName string, metricName string, groupName string, groupKey string, fromDate *date.Time, toDate *date.Time) (*http.Request, error)

GetMetricMetadataForGroupPreparer prepares the GetMetricMetadataForGroup request.

func (ServicesClient) GetMetricMetadataForGroupResponder

func (client ServicesClient) GetMetricMetadataForGroupResponder(resp *http.Response) (result MetricSets, err error)

GetMetricMetadataForGroupResponder handles the response to the GetMetricMetadataForGroup request. The method always closes the http.Response Body.

func (ServicesClient) GetMetricMetadataForGroupSender

func (client ServicesClient) GetMetricMetadataForGroupSender(req *http.Request) (*http.Response, error)

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

func (ServicesClient) GetMetricMetadataPreparer

func (client ServicesClient) GetMetricMetadataPreparer(ctx context.Context, serviceName string, metricName string) (*http.Request, error)

GetMetricMetadataPreparer prepares the GetMetricMetadata request.

func (ServicesClient) GetMetricMetadataResponder

func (client ServicesClient) GetMetricMetadataResponder(resp *http.Response) (result MetricMetadata, err error)

GetMetricMetadataResponder handles the response to the GetMetricMetadata request. The method always closes the http.Response Body.

func (ServicesClient) GetMetricMetadataSender

func (client ServicesClient) GetMetricMetadataSender(req *http.Request) (*http.Response, error)

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

func (ServicesClient) GetPreparer

func (client ServicesClient) GetPreparer(ctx context.Context, serviceName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (ServicesClient) GetResponder

func (client ServicesClient) GetResponder(resp *http.Response) (result ServiceProperties, err error)

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

func (ServicesClient) GetSender

func (client ServicesClient) 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 (ServicesClient) GetTenantWhitelisting

func (client ServicesClient) GetTenantWhitelisting(ctx context.Context, serviceName string, featureName string) (result Result, err error)

GetTenantWhitelisting checks if the tenant, to which a service is registered, is whitelisted to use a feature. Parameters: serviceName - the name of the service. featureName - the name of the feature.

func (ServicesClient) GetTenantWhitelistingPreparer

func (client ServicesClient) GetTenantWhitelistingPreparer(ctx context.Context, serviceName string, featureName string) (*http.Request, error)

GetTenantWhitelistingPreparer prepares the GetTenantWhitelisting request.

func (ServicesClient) GetTenantWhitelistingResponder

func (client ServicesClient) GetTenantWhitelistingResponder(resp *http.Response) (result Result, err error)

GetTenantWhitelistingResponder handles the response to the GetTenantWhitelisting request. The method always closes the http.Response Body.

func (ServicesClient) GetTenantWhitelistingSender

func (client ServicesClient) GetTenantWhitelistingSender(req *http.Request) (*http.Response, error)

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

func (ServicesClient) List

func (client ServicesClient) List(ctx context.Context, filter string, serviceType string, skipCount *int32, takeCount *int32) (result ServicesPage, err error)

List gets the details of services, for a tenant, that are onboarded to Azure Active Directory Connect Health. Parameters: filter - the service property filter to apply. serviceType - the service type for the services onboarded to Azure Active Directory Connect Health. Depending on whether the service is monitoring, ADFS, Sync or ADDS roles, the service type can either be AdFederationService or AadSyncService or AdDomainService. skipCount - the skip count, which specifies the number of elements that can be bypassed from a sequence and then return the remaining elements. takeCount - the take count , which specifies the number of elements that can be returned from a sequence.

func (ServicesClient) ListAlertFeedback

func (client ServicesClient) ListAlertFeedback(ctx context.Context, serviceName string, shortName string) (result AlertFeedbacks, err error)

ListAlertFeedback gets a list of all alert feedback for a given tenant and alert type. Parameters: serviceName - the name of the service. shortName - the name of the alert.

func (ServicesClient) ListAlertFeedbackPreparer

func (client ServicesClient) ListAlertFeedbackPreparer(ctx context.Context, serviceName string, shortName string) (*http.Request, error)

ListAlertFeedbackPreparer prepares the ListAlertFeedback request.

func (ServicesClient) ListAlertFeedbackResponder

func (client ServicesClient) ListAlertFeedbackResponder(resp *http.Response) (result AlertFeedbacks, err error)

ListAlertFeedbackResponder handles the response to the ListAlertFeedback request. The method always closes the http.Response Body.

func (ServicesClient) ListAlertFeedbackSender

func (client ServicesClient) ListAlertFeedbackSender(req *http.Request) (*http.Response, error)

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

func (ServicesClient) ListAlerts

func (client ServicesClient) ListAlerts(ctx context.Context, serviceName string, filter string, state string, from *date.Time, toParameter *date.Time) (result AlertsPage, err error)

ListAlerts gets the alerts for a given service. Parameters: serviceName - the name of the service. filter - the alert property filter to apply. state - the alert state to query for. from - the start date to query for. toParameter - the end date till when to query for.

func (ServicesClient) ListAlertsComplete

func (client ServicesClient) ListAlertsComplete(ctx context.Context, serviceName string, filter string, state string, from *date.Time, toParameter *date.Time) (result AlertsIterator, err error)

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

func (ServicesClient) ListAlertsPreparer

func (client ServicesClient) ListAlertsPreparer(ctx context.Context, serviceName string, filter string, state string, from *date.Time, toParameter *date.Time) (*http.Request, error)

ListAlertsPreparer prepares the ListAlerts request.

func (ServicesClient) ListAlertsResponder

func (client ServicesClient) ListAlertsResponder(resp *http.Response) (result Alerts, err error)

ListAlertsResponder handles the response to the ListAlerts request. The method always closes the http.Response Body.

func (ServicesClient) ListAlertsSender

func (client ServicesClient) ListAlertsSender(req *http.Request) (*http.Response, error)

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

func (ServicesClient) ListComplete

func (client ServicesClient) ListComplete(ctx context.Context, filter string, serviceType string, skipCount *int32, takeCount *int32) (result ServicesIterator, err error)

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

func (ServicesClient) ListExportErrors

func (client ServicesClient) ListExportErrors(ctx context.Context, serviceName string) (result ErrorCounts, err error)

ListExportErrors gets the count of latest AAD export errors. Parameters: serviceName - the name of the service.

func (ServicesClient) ListExportErrorsPreparer

func (client ServicesClient) ListExportErrorsPreparer(ctx context.Context, serviceName string) (*http.Request, error)

ListExportErrorsPreparer prepares the ListExportErrors request.

func (ServicesClient) ListExportErrorsResponder

func (client ServicesClient) ListExportErrorsResponder(resp *http.Response) (result ErrorCounts, err error)

ListExportErrorsResponder handles the response to the ListExportErrors request. The method always closes the http.Response Body.

func (ServicesClient) ListExportErrorsSender

func (client ServicesClient) ListExportErrorsSender(req *http.Request) (*http.Response, error)

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

func (ServicesClient) ListExportErrorsV2

func (client ServicesClient) ListExportErrorsV2(ctx context.Context, serviceName string, errorBucket string) (result MergedExportErrors, err error)

ListExportErrorsV2 gets the categorized export errors. Parameters: serviceName - the name of the service. errorBucket - the error category to query for.

func (ServicesClient) ListExportErrorsV2Preparer

func (client ServicesClient) ListExportErrorsV2Preparer(ctx context.Context, serviceName string, errorBucket string) (*http.Request, error)

ListExportErrorsV2Preparer prepares the ListExportErrorsV2 request.

func (ServicesClient) ListExportErrorsV2Responder

func (client ServicesClient) ListExportErrorsV2Responder(resp *http.Response) (result MergedExportErrors, err error)

ListExportErrorsV2Responder handles the response to the ListExportErrorsV2 request. The method always closes the http.Response Body.

func (ServicesClient) ListExportErrorsV2Sender

func (client ServicesClient) ListExportErrorsV2Sender(req *http.Request) (*http.Response, error)

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

func (ServicesClient) ListExportStatus

func (client ServicesClient) ListExportStatus(ctx context.Context, serviceName string) (result ExportStatusesPage, err error)

ListExportStatus gets the export status. Parameters: serviceName - the name of the service.

func (ServicesClient) ListExportStatusComplete

func (client ServicesClient) ListExportStatusComplete(ctx context.Context, serviceName string) (result ExportStatusesIterator, err error)

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

func (ServicesClient) ListExportStatusPreparer

func (client ServicesClient) ListExportStatusPreparer(ctx context.Context, serviceName string) (*http.Request, error)

ListExportStatusPreparer prepares the ListExportStatus request.

func (ServicesClient) ListExportStatusResponder

func (client ServicesClient) ListExportStatusResponder(resp *http.Response) (result ExportStatuses, err error)

ListExportStatusResponder handles the response to the ListExportStatus request. The method always closes the http.Response Body.

func (ServicesClient) ListExportStatusSender

func (client ServicesClient) ListExportStatusSender(req *http.Request) (*http.Response, error)

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

func (ServicesClient) ListMetricMetadata

func (client ServicesClient) ListMetricMetadata(ctx context.Context, serviceName string, filter string, perfCounter *bool) (result MetricMetadataListPage, err error)

ListMetricMetadata gets the service related metrics information. Parameters: serviceName - the name of the service. filter - the metric metadata property filter to apply. perfCounter - indicates if only performance counter metrics are requested.

func (ServicesClient) ListMetricMetadataComplete

func (client ServicesClient) ListMetricMetadataComplete(ctx context.Context, serviceName string, filter string, perfCounter *bool) (result MetricMetadataListIterator, err error)

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

func (ServicesClient) ListMetricMetadataPreparer

func (client ServicesClient) ListMetricMetadataPreparer(ctx context.Context, serviceName string, filter string, perfCounter *bool) (*http.Request, error)

ListMetricMetadataPreparer prepares the ListMetricMetadata request.

func (ServicesClient) ListMetricMetadataResponder

func (client ServicesClient) ListMetricMetadataResponder(resp *http.Response) (result MetricMetadataList, err error)

ListMetricMetadataResponder handles the response to the ListMetricMetadata request. The method always closes the http.Response Body.

func (ServicesClient) ListMetricMetadataSender

func (client ServicesClient) ListMetricMetadataSender(req *http.Request) (*http.Response, error)

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

func (ServicesClient) ListMetricsAverage

func (client ServicesClient) ListMetricsAverage(ctx context.Context, serviceName string, metricName string, groupName string) (result MetricsPage, err error)

ListMetricsAverage gets the average of the metric values for a given metric and group combination. Parameters: serviceName - the name of the service. metricName - the metric name groupName - the group name

func (ServicesClient) ListMetricsAverageComplete

func (client ServicesClient) ListMetricsAverageComplete(ctx context.Context, serviceName string, metricName string, groupName string) (result MetricsIterator, err error)

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

func (ServicesClient) ListMetricsAveragePreparer

func (client ServicesClient) ListMetricsAveragePreparer(ctx context.Context, serviceName string, metricName string, groupName string) (*http.Request, error)

ListMetricsAveragePreparer prepares the ListMetricsAverage request.

func (ServicesClient) ListMetricsAverageResponder

func (client ServicesClient) ListMetricsAverageResponder(resp *http.Response) (result Metrics, err error)

ListMetricsAverageResponder handles the response to the ListMetricsAverage request. The method always closes the http.Response Body.

func (ServicesClient) ListMetricsAverageSender

func (client ServicesClient) ListMetricsAverageSender(req *http.Request) (*http.Response, error)

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

func (ServicesClient) ListMetricsSum

func (client ServicesClient) ListMetricsSum(ctx context.Context, serviceName string, metricName string, groupName string) (result MetricsPage, err error)

ListMetricsSum gets the sum of the metric values for a given metric and group combination. Parameters: serviceName - the name of the service. metricName - the metric name groupName - the group name

func (ServicesClient) ListMetricsSumComplete

func (client ServicesClient) ListMetricsSumComplete(ctx context.Context, serviceName string, metricName string, groupName string) (result MetricsIterator, err error)

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

func (ServicesClient) ListMetricsSumPreparer

func (client ServicesClient) ListMetricsSumPreparer(ctx context.Context, serviceName string, metricName string, groupName string) (*http.Request, error)

ListMetricsSumPreparer prepares the ListMetricsSum request.

func (ServicesClient) ListMetricsSumResponder

func (client ServicesClient) ListMetricsSumResponder(resp *http.Response) (result Metrics, err error)

ListMetricsSumResponder handles the response to the ListMetricsSum request. The method always closes the http.Response Body.

func (ServicesClient) ListMetricsSumSender

func (client ServicesClient) ListMetricsSumSender(req *http.Request) (*http.Response, error)

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

func (ServicesClient) ListMonitoringConfigurations

func (client ServicesClient) ListMonitoringConfigurations(ctx context.Context, serviceName string) (result Items, err error)

ListMonitoringConfigurations gets the service level monitoring configurations. Parameters: serviceName - the name of the service.

func (ServicesClient) ListMonitoringConfigurationsPreparer

func (client ServicesClient) ListMonitoringConfigurationsPreparer(ctx context.Context, serviceName string) (*http.Request, error)

ListMonitoringConfigurationsPreparer prepares the ListMonitoringConfigurations request.

func (ServicesClient) ListMonitoringConfigurationsResponder

func (client ServicesClient) ListMonitoringConfigurationsResponder(resp *http.Response) (result Items, err error)

ListMonitoringConfigurationsResponder handles the response to the ListMonitoringConfigurations request. The method always closes the http.Response Body.

func (ServicesClient) ListMonitoringConfigurationsSender

func (client ServicesClient) ListMonitoringConfigurationsSender(req *http.Request) (*http.Response, error)

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

func (ServicesClient) ListPremium

func (client ServicesClient) ListPremium(ctx context.Context, filter string, serviceType string, skipCount *int32, takeCount *int32) (result ServicesPage, err error)

ListPremium gets the details of services for a tenant having Azure AD Premium license and is onboarded to Azure Active Directory Connect Health. Parameters: filter - the service property filter to apply. serviceType - the service type for the services onboarded to Azure Active Directory Connect Health. Depending on whether the service is monitoring, ADFS, Sync or ADDS roles, the service type can either be AdFederationService or AadSyncService or AdDomainService. skipCount - the skip count, which specifies the number of elements that can be bypassed from a sequence and then return the remaining elements. takeCount - the take count , which specifies the number of elements that can be returned from a sequence.

func (ServicesClient) ListPremiumComplete

func (client ServicesClient) ListPremiumComplete(ctx context.Context, filter string, serviceType string, skipCount *int32, takeCount *int32) (result ServicesIterator, err error)

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

func (ServicesClient) ListPremiumPreparer

func (client ServicesClient) ListPremiumPreparer(ctx context.Context, filter string, serviceType string, skipCount *int32, takeCount *int32) (*http.Request, error)

ListPremiumPreparer prepares the ListPremium request.

func (ServicesClient) ListPremiumResponder

func (client ServicesClient) ListPremiumResponder(resp *http.Response) (result Services, err error)

ListPremiumResponder handles the response to the ListPremium request. The method always closes the http.Response Body.

func (ServicesClient) ListPremiumSender

func (client ServicesClient) ListPremiumSender(req *http.Request) (*http.Response, error)

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

func (ServicesClient) ListPreparer

func (client ServicesClient) ListPreparer(ctx context.Context, filter string, serviceType string, skipCount *int32, takeCount *int32) (*http.Request, error)

ListPreparer prepares the List request.

func (ServicesClient) ListResponder

func (client ServicesClient) ListResponder(resp *http.Response) (result Services, err error)

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

func (ServicesClient) ListSender

func (client ServicesClient) 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 (ServicesClient) ListUserBadPasswordReport

func (client ServicesClient) ListUserBadPasswordReport(ctx context.Context, serviceName string, dataSource string) (result ErrorReportUsersEntries, err error)

ListUserBadPasswordReport gets the bad password login attempt report for an user Parameters: serviceName - the name of the service. dataSource - the source of data, if its test data or customer data.

func (ServicesClient) ListUserBadPasswordReportPreparer

func (client ServicesClient) ListUserBadPasswordReportPreparer(ctx context.Context, serviceName string, dataSource string) (*http.Request, error)

ListUserBadPasswordReportPreparer prepares the ListUserBadPasswordReport request.

func (ServicesClient) ListUserBadPasswordReportResponder

func (client ServicesClient) ListUserBadPasswordReportResponder(resp *http.Response) (result ErrorReportUsersEntries, err error)

ListUserBadPasswordReportResponder handles the response to the ListUserBadPasswordReport request. The method always closes the http.Response Body.

func (ServicesClient) ListUserBadPasswordReportSender

func (client ServicesClient) ListUserBadPasswordReportSender(req *http.Request) (*http.Response, error)

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

func (ServicesClient) Update

func (client ServicesClient) Update(ctx context.Context, serviceName string, service ServiceProperties) (result ServiceProperties, err error)

Update updates the service properties of an onboarded service. Parameters: serviceName - the name of the service which needs to be deleted. service - the service object.

func (ServicesClient) UpdateMonitoringConfiguration

func (client ServicesClient) UpdateMonitoringConfiguration(ctx context.Context, serviceName string, configurationSetting Item) (result autorest.Response, err error)

UpdateMonitoringConfiguration updates the service level monitoring configuration. Parameters: serviceName - the name of the service. configurationSetting - the monitoring configuration to update

func (ServicesClient) UpdateMonitoringConfigurationPreparer

func (client ServicesClient) UpdateMonitoringConfigurationPreparer(ctx context.Context, serviceName string, configurationSetting Item) (*http.Request, error)

UpdateMonitoringConfigurationPreparer prepares the UpdateMonitoringConfiguration request.

func (ServicesClient) UpdateMonitoringConfigurationResponder

func (client ServicesClient) UpdateMonitoringConfigurationResponder(resp *http.Response) (result autorest.Response, err error)

UpdateMonitoringConfigurationResponder handles the response to the UpdateMonitoringConfiguration request. The method always closes the http.Response Body.

func (ServicesClient) UpdateMonitoringConfigurationSender

func (client ServicesClient) UpdateMonitoringConfigurationSender(req *http.Request) (*http.Response, error)

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

func (ServicesClient) UpdatePreparer

func (client ServicesClient) UpdatePreparer(ctx context.Context, serviceName string, service ServiceProperties) (*http.Request, error)

UpdatePreparer prepares the Update request.

func (ServicesClient) UpdateResponder

func (client ServicesClient) UpdateResponder(resp *http.Response) (result ServiceProperties, err error)

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

func (ServicesClient) UpdateSender

func (client ServicesClient) UpdateSender(req *http.Request) (*http.Response, error)

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

type ServicesIterator

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

ServicesIterator provides access to a complete listing of ServiceProperties values.

func (*ServicesIterator) Next

func (iter *ServicesIterator) 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.

func (ServicesIterator) NotDone

func (iter ServicesIterator) NotDone() bool

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

func (ServicesIterator) Response

func (iter ServicesIterator) Response() Services

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

func (ServicesIterator) Value

func (iter ServicesIterator) Value() ServiceProperties

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

type ServicesPage

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

ServicesPage contains a page of ServiceProperties values.

func (*ServicesPage) Next

func (page *ServicesPage) 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.

func (ServicesPage) NotDone

func (page ServicesPage) NotDone() bool

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

func (ServicesPage) Response

func (page ServicesPage) Response() Services

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

func (ServicesPage) Values

func (page ServicesPage) Values() []ServiceProperties

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

type State

type State string

State enumerates the values for state.

const (
	// Active ...
	Active State = "Active"
	// ResolvedByPositiveResult ...
	ResolvedByPositiveResult State = "ResolvedByPositiveResult"
	// ResolvedByStateChange ...
	ResolvedByStateChange State = "ResolvedByStateChange"
	// ResolvedByTimer ...
	ResolvedByTimer State = "ResolvedByTimer"
	// ResolvedManually ...
	ResolvedManually State = "ResolvedManually"
)

func PossibleStateValues

func PossibleStateValues() []State

PossibleStateValues returns an array of possible values for the State const type.

type TabularExportError

type TabularExportError struct {
	// ServiceID - The service Id.
	ServiceID *uuid.UUID `json:"serviceId,omitempty"`
	// ServiceMemberID - The server Id.
	ServiceMemberID *uuid.UUID `json:"serviceMemberId,omitempty"`
	// MergedEntityID - The merged entity Id.
	MergedEntityID *uuid.UUID `json:"mergedEntityId,omitempty"`
	// TabularExportErrorData - The export error data.
	TabularExportErrorData *string `json:"tabularExportErrorData,omitempty"`
}

TabularExportError the details for export error.

type Tenant

type Tenant struct {
	autorest.Response `json:"-"`
	// TenantID - The Id of the tenant.
	TenantID *string `json:"tenantId,omitempty"`
	// AadLicense - The Azure Active Directory license of the tenant.
	AadLicense *string `json:"aadLicense,omitempty"`
	// AadPremium - Indicate if the tenant has Azure Active Directory Premium license or not.
	AadPremium *bool `json:"aadPremium,omitempty"`
	// AgentAutoUpdate - Indicates if the tenant is configured to automatically receive updates for Azure Active Directory Connect Health client side features.
	AgentAutoUpdate *bool `json:"agentAutoUpdate,omitempty"`
	// AlertSuppressionTimeInMins - The time in minutues after which an alert will be autosupressed.
	AlertSuppressionTimeInMins *int32 `json:"alertSuppressionTimeInMins,omitempty"`
	// ConsentedToMicrosoftDevOps - Indicates if the tenant data can be seen by Microsoft through Azure portal.
	ConsentedToMicrosoftDevOps *bool `json:"consentedToMicrosoftDevOps,omitempty"`
	// CountryLetterCode - The country letter code of the tenant.
	CountryLetterCode *string `json:"countryLetterCode,omitempty"`
	// CreatedDate - The date, in UTC, when the tenant was onboarded to Azure Active Directory Connect Health.
	CreatedDate *date.Time `json:"createdDate,omitempty"`
	// DevOpsTTL - The date and time, in UTC, till when the tenant data can be seen by Microsoft through Azure portal.
	DevOpsTTL *date.Time `json:"devOpsTtl,omitempty"`
	// Disabled - Indicates if the tenant is disabled in Azure Active Directory Connect Health.
	Disabled *bool `json:"disabled,omitempty"`
	// DisabledReason - The reason due to which the tenant was disabled in Azure Active Directory Connect Health.
	DisabledReason *int32 `json:"disabledReason,omitempty"`
	// GlobalAdminsEmail - The list of golbal administrators for the tenant.
	GlobalAdminsEmail interface{} `json:"globalAdminsEmail,omitempty"`
	// InitialDomain - The initial domain of the tenant.
	InitialDomain *string `json:"initialDomain,omitempty"`
	// LastDisabled - The date and time, in UTC, when the tenant was last disabled in Azure Active Directory Connect Health.
	LastDisabled *date.Time `json:"lastDisabled,omitempty"`
	// LastVerified - The date and time, in UTC, when the tenant onboarding status in Azure Active Directory Connect Health was last verified.
	LastVerified *date.Time `json:"lastVerified,omitempty"`
	// OnboardingAllowed - Indicates if the tenant is allowed to  onboard to Azure Active Directory Connect Health.
	OnboardingAllowed *bool `json:"onboardingAllowed,omitempty"`
	// Onboarded - Indicates if the tenant is already onboarded to Azure Active Directory Connect Health.
	Onboarded *bool `json:"onboarded,omitempty"`
	// PksCertificate - The certificate associated with the tenant to onboard data to Azure Active Directory Connect Health.
	PksCertificate interface{} `json:"pksCertificate,omitempty"`
	// PrivatePreviewTenant - Indicates if the tenant has signed up for private preview of Azure Active Directory Connect Health features.
	PrivatePreviewTenant *bool `json:"privatePreviewTenant,omitempty"`
	// TenantInQuarantine - Indicates if data collection for this tenant is disabled or not.
	TenantInQuarantine *bool `json:"tenantInQuarantine,omitempty"`
	// TenantName - The name of the tenant.
	TenantName *string `json:"tenantName,omitempty"`
}

Tenant the details of the onboarded tenant.

type TenantOnboardingDetails

type TenantOnboardingDetails struct {
	// TenantOnboarded - Indicates if the tenant is onboarded to Azure Active Directory Connect Health or not.
	TenantOnboarded *bool `json:"tenantOnboarded,omitempty"`
	// OnboardingDisplayURL - The display url, to help tenant navigate or onboard to Azure Active Directory Connect Health blade, based on tenant onboarding status.
	OnboardingDisplayURL *string `json:"onboardingDisplayUrl,omitempty"`
}

TenantOnboardingDetails the tenant onboarding details.

type UserPreference

type UserPreference struct {
	autorest.Response `json:"-"`
	// MetricNames - The name of the metric.
	MetricNames *[]string `json:"metricNames,omitempty"`
}

UserPreference the user preference for a given feature.

type ValueDelta

type ValueDelta struct {
	// OperationType - The operation type. Possible values include: 'ValueDeltaOperationTypeUndefined', 'ValueDeltaOperationTypeAdd', 'ValueDeltaOperationTypeUpdate', 'ValueDeltaOperationTypeDelete'
	OperationType ValueDeltaOperationType `json:"operationType,omitempty"`
	// Value - The value of the delta.
	Value *string `json:"value,omitempty"`
}

ValueDelta the value of the delta.

type ValueDeltaOperationType

type ValueDeltaOperationType string

ValueDeltaOperationType enumerates the values for value delta operation type.

const (
	// ValueDeltaOperationTypeAdd ...
	ValueDeltaOperationTypeAdd ValueDeltaOperationType = "Add"
	// ValueDeltaOperationTypeDelete ...
	ValueDeltaOperationTypeDelete ValueDeltaOperationType = "Delete"
	// ValueDeltaOperationTypeUndefined ...
	ValueDeltaOperationTypeUndefined ValueDeltaOperationType = "Undefined"
	// ValueDeltaOperationTypeUpdate ...
	ValueDeltaOperationTypeUpdate ValueDeltaOperationType = "Update"
)

func PossibleValueDeltaOperationTypeValues

func PossibleValueDeltaOperationTypeValues() []ValueDeltaOperationType

PossibleValueDeltaOperationTypeValues returns an array of possible values for the ValueDeltaOperationType const type.

type ValueType

type ValueType string

ValueType enumerates the values for value type.

const (
	// ValueTypeBinary ...
	ValueTypeBinary ValueType = "Binary"
	// ValueTypeBoolean ...
	ValueTypeBoolean ValueType = "Boolean"
	// ValueTypeDn ...
	ValueTypeDn ValueType = "Dn"
	// ValueTypeInteger ...
	ValueTypeInteger ValueType = "Integer"
	// ValueTypeString ...
	ValueTypeString ValueType = "String"
	// ValueTypeUndefined ...
	ValueTypeUndefined ValueType = "Undefined"
)

func PossibleValueTypeValues

func PossibleValueTypeValues() []ValueType

PossibleValueTypeValues returns an array of possible values for the ValueType const type.

Jump to

Keyboard shortcuts

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