customerinsights

package
v57.4.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Sep 23, 2021 License: MIT Imports: 11 Imported by: 0

Documentation

Overview

Package customerinsights implements the Azure ARM Customerinsights service API version 2017-04-26.

The Azure Customer Insights management API provides a RESTful set of web services that interact with Azure Customer Insights service to manage your resources. The API has entities that capture the relationship between an end user and the Azure Customer Insights service.

Index

Constants

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

type AssignmentPrincipal struct {
	// PrincipalID - The principal id being assigned to.
	PrincipalID *string `json:"principalId,omitempty"`
	// PrincipalType - The Type of the principal ID.
	PrincipalType *string `json:"principalType,omitempty"`
	// PrincipalMetadata - Other metadata for the principal.
	PrincipalMetadata map[string]*string `json:"principalMetadata"`
}

AssignmentPrincipal the AssignmentPrincipal

func (AssignmentPrincipal) MarshalJSON

func (ap AssignmentPrincipal) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for AssignmentPrincipal.

type AuthorizationPoliciesClient

type AuthorizationPoliciesClient struct {
	BaseClient
}

AuthorizationPoliciesClient is the the Azure Customer Insights management API provides a RESTful set of web services that interact with Azure Customer Insights service to manage your resources. The API has entities that capture the relationship between an end user and the Azure Customer Insights service.

func NewAuthorizationPoliciesClient

func NewAuthorizationPoliciesClient(subscriptionID string) AuthorizationPoliciesClient

NewAuthorizationPoliciesClient creates an instance of the AuthorizationPoliciesClient client.

func NewAuthorizationPoliciesClientWithBaseURI

func NewAuthorizationPoliciesClientWithBaseURI(baseURI string, subscriptionID string) AuthorizationPoliciesClient

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

func (AuthorizationPoliciesClient) CreateOrUpdate

func (client AuthorizationPoliciesClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, hubName string, authorizationPolicyName string, parameters AuthorizationPolicyResourceFormat) (result AuthorizationPolicyResourceFormat, err error)

CreateOrUpdate creates an authorization policy or updates an existing authorization policy. Parameters: resourceGroupName - the name of the resource group. hubName - the name of the hub. authorizationPolicyName - the name of the policy. parameters - parameters supplied to the CreateOrUpdate authorization policy operation.

func (AuthorizationPoliciesClient) CreateOrUpdatePreparer

func (client AuthorizationPoliciesClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, hubName string, authorizationPolicyName string, parameters AuthorizationPolicyResourceFormat) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (AuthorizationPoliciesClient) CreateOrUpdateResponder

func (client AuthorizationPoliciesClient) CreateOrUpdateResponder(resp *http.Response) (result AuthorizationPolicyResourceFormat, err error)

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

func (AuthorizationPoliciesClient) CreateOrUpdateSender

func (client AuthorizationPoliciesClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)

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

func (AuthorizationPoliciesClient) Get

func (client AuthorizationPoliciesClient) Get(ctx context.Context, resourceGroupName string, hubName string, authorizationPolicyName string) (result AuthorizationPolicyResourceFormat, err error)

Get gets an authorization policy in the hub. Parameters: resourceGroupName - the name of the resource group. hubName - the name of the hub. authorizationPolicyName - the name of the policy.

func (AuthorizationPoliciesClient) GetPreparer

func (client AuthorizationPoliciesClient) GetPreparer(ctx context.Context, resourceGroupName string, hubName string, authorizationPolicyName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (AuthorizationPoliciesClient) GetResponder

func (client AuthorizationPoliciesClient) GetResponder(resp *http.Response) (result AuthorizationPolicyResourceFormat, err error)

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

func (AuthorizationPoliciesClient) GetSender

func (client AuthorizationPoliciesClient) 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 (AuthorizationPoliciesClient) ListByHub

func (client AuthorizationPoliciesClient) ListByHub(ctx context.Context, resourceGroupName string, hubName string) (result AuthorizationPolicyListResultPage, err error)

ListByHub gets all the authorization policies in a specified hub. Parameters: resourceGroupName - the name of the resource group. hubName - the name of the hub.

func (AuthorizationPoliciesClient) ListByHubComplete

func (client AuthorizationPoliciesClient) ListByHubComplete(ctx context.Context, resourceGroupName string, hubName string) (result AuthorizationPolicyListResultIterator, err error)

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

func (AuthorizationPoliciesClient) ListByHubPreparer

func (client AuthorizationPoliciesClient) ListByHubPreparer(ctx context.Context, resourceGroupName string, hubName string) (*http.Request, error)

ListByHubPreparer prepares the ListByHub request.

func (AuthorizationPoliciesClient) ListByHubResponder

func (client AuthorizationPoliciesClient) ListByHubResponder(resp *http.Response) (result AuthorizationPolicyListResult, err error)

ListByHubResponder handles the response to the ListByHub request. The method always closes the http.Response Body.

func (AuthorizationPoliciesClient) ListByHubSender

func (client AuthorizationPoliciesClient) ListByHubSender(req *http.Request) (*http.Response, error)

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

func (AuthorizationPoliciesClient) RegeneratePrimaryKey

func (client AuthorizationPoliciesClient) RegeneratePrimaryKey(ctx context.Context, resourceGroupName string, hubName string, authorizationPolicyName string) (result AuthorizationPolicy, err error)

RegeneratePrimaryKey regenerates the primary policy key of the specified authorization policy. Parameters: resourceGroupName - the name of the resource group. hubName - the name of the hub. authorizationPolicyName - the name of the policy.

func (AuthorizationPoliciesClient) RegeneratePrimaryKeyPreparer

func (client AuthorizationPoliciesClient) RegeneratePrimaryKeyPreparer(ctx context.Context, resourceGroupName string, hubName string, authorizationPolicyName string) (*http.Request, error)

RegeneratePrimaryKeyPreparer prepares the RegeneratePrimaryKey request.

func (AuthorizationPoliciesClient) RegeneratePrimaryKeyResponder

func (client AuthorizationPoliciesClient) RegeneratePrimaryKeyResponder(resp *http.Response) (result AuthorizationPolicy, err error)

RegeneratePrimaryKeyResponder handles the response to the RegeneratePrimaryKey request. The method always closes the http.Response Body.

func (AuthorizationPoliciesClient) RegeneratePrimaryKeySender

func (client AuthorizationPoliciesClient) RegeneratePrimaryKeySender(req *http.Request) (*http.Response, error)

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

func (AuthorizationPoliciesClient) RegenerateSecondaryKey

func (client AuthorizationPoliciesClient) RegenerateSecondaryKey(ctx context.Context, resourceGroupName string, hubName string, authorizationPolicyName string) (result AuthorizationPolicy, err error)

RegenerateSecondaryKey regenerates the secondary policy key of the specified authorization policy. Parameters: resourceGroupName - the name of the resource group. hubName - the name of the hub. authorizationPolicyName - the name of the policy.

func (AuthorizationPoliciesClient) RegenerateSecondaryKeyPreparer

func (client AuthorizationPoliciesClient) RegenerateSecondaryKeyPreparer(ctx context.Context, resourceGroupName string, hubName string, authorizationPolicyName string) (*http.Request, error)

RegenerateSecondaryKeyPreparer prepares the RegenerateSecondaryKey request.

func (AuthorizationPoliciesClient) RegenerateSecondaryKeyResponder

func (client AuthorizationPoliciesClient) RegenerateSecondaryKeyResponder(resp *http.Response) (result AuthorizationPolicy, err error)

RegenerateSecondaryKeyResponder handles the response to the RegenerateSecondaryKey request. The method always closes the http.Response Body.

func (AuthorizationPoliciesClient) RegenerateSecondaryKeySender

func (client AuthorizationPoliciesClient) RegenerateSecondaryKeySender(req *http.Request) (*http.Response, error)

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

type AuthorizationPolicy

type AuthorizationPolicy struct {
	autorest.Response `json:"-"`
	// PolicyName - READ-ONLY; Name of the policy.
	PolicyName *string `json:"policyName,omitempty"`
	// Permissions - The permissions associated with the policy.
	Permissions *[]PermissionTypes `json:"permissions,omitempty"`
	// PrimaryKey - Primary key associated with the policy.
	PrimaryKey *string `json:"primaryKey,omitempty"`
	// SecondaryKey - Secondary key associated with the policy.
	SecondaryKey *string `json:"secondaryKey,omitempty"`
}

AuthorizationPolicy the authorization policy.

func (AuthorizationPolicy) MarshalJSON

func (ap AuthorizationPolicy) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for AuthorizationPolicy.

type AuthorizationPolicyListResult

type AuthorizationPolicyListResult struct {
	autorest.Response `json:"-"`
	// Value - Results of the list operation.
	Value *[]AuthorizationPolicyResourceFormat `json:"value,omitempty"`
	// NextLink - Link to the next set of results.
	NextLink *string `json:"nextLink,omitempty"`
}

AuthorizationPolicyListResult the response of list authorization policy operation.

func (AuthorizationPolicyListResult) IsEmpty

func (aplr AuthorizationPolicyListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type AuthorizationPolicyListResultIterator

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

AuthorizationPolicyListResultIterator provides access to a complete listing of AuthorizationPolicyResourceFormat values.

func NewAuthorizationPolicyListResultIterator

func NewAuthorizationPolicyListResultIterator(page AuthorizationPolicyListResultPage) AuthorizationPolicyListResultIterator

Creates a new instance of the AuthorizationPolicyListResultIterator type.

func (*AuthorizationPolicyListResultIterator) Next

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

func (*AuthorizationPolicyListResultIterator) NextWithContext

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

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

func (AuthorizationPolicyListResultIterator) NotDone

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

func (AuthorizationPolicyListResultIterator) Response

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

func (AuthorizationPolicyListResultIterator) Value

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

type AuthorizationPolicyListResultPage

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

AuthorizationPolicyListResultPage contains a page of AuthorizationPolicyResourceFormat values.

func NewAuthorizationPolicyListResultPage

Creates a new instance of the AuthorizationPolicyListResultPage type.

func (*AuthorizationPolicyListResultPage) Next

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

func (*AuthorizationPolicyListResultPage) NextWithContext

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

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

func (AuthorizationPolicyListResultPage) NotDone

func (page AuthorizationPolicyListResultPage) NotDone() bool

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

func (AuthorizationPolicyListResultPage) Response

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

func (AuthorizationPolicyListResultPage) Values

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

type AuthorizationPolicyResourceFormat

type AuthorizationPolicyResourceFormat struct {
	autorest.Response    `json:"-"`
	*AuthorizationPolicy `json:"properties,omitempty"`
	// ID - READ-ONLY; Resource ID.
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; Resource name.
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; Resource type.
	Type *string `json:"type,omitempty"`
}

AuthorizationPolicyResourceFormat the authorization policy resource format.

func (AuthorizationPolicyResourceFormat) MarshalJSON

func (aprf AuthorizationPolicyResourceFormat) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for AuthorizationPolicyResourceFormat.

func (*AuthorizationPolicyResourceFormat) UnmarshalJSON

func (aprf *AuthorizationPolicyResourceFormat) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for AuthorizationPolicyResourceFormat struct.

type AzureBlobConnectorProperties

type AzureBlobConnectorProperties struct {
	// ConnectionKeyVaultURL - The connection KeyVault URL.
	ConnectionKeyVaultURL *string `json:"connectionKeyVaultUrl,omitempty"`
}

AzureBlobConnectorProperties the Azure Blob connector properties.

type BaseClient

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

BaseClient is the base client for Customerinsights.

func New

func New(subscriptionID string) BaseClient

New creates an instance of the BaseClient client.

func NewWithBaseURI

func NewWithBaseURI(baseURI string, subscriptionID string) BaseClient

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

type CalculationWindowTypes

type CalculationWindowTypes string

CalculationWindowTypes enumerates the values for calculation window types.

const (
	// Day ...
	Day CalculationWindowTypes = "Day"
	// Hour ...
	Hour CalculationWindowTypes = "Hour"
	// Lifetime ...
	Lifetime CalculationWindowTypes = "Lifetime"
	// Month ...
	Month CalculationWindowTypes = "Month"
	// Week ...
	Week CalculationWindowTypes = "Week"
)

func PossibleCalculationWindowTypesValues

func PossibleCalculationWindowTypesValues() []CalculationWindowTypes

PossibleCalculationWindowTypesValues returns an array of possible values for the CalculationWindowTypes const type.

type CanonicalProfileDefinition

type CanonicalProfileDefinition struct {
	// CanonicalProfileID - Canonical profile ID.
	CanonicalProfileID *int32 `json:"canonicalProfileId,omitempty"`
	// Properties - Properties of the canonical profile.
	Properties *[]CanonicalProfileDefinitionPropertiesItem `json:"properties,omitempty"`
}

CanonicalProfileDefinition definition of canonical profile.

type CanonicalProfileDefinitionPropertiesItem

type CanonicalProfileDefinitionPropertiesItem struct {
	// ProfileName - Profile name.
	ProfileName *string `json:"profileName,omitempty"`
	// ProfilePropertyName - Property name of profile.
	ProfilePropertyName *string `json:"profilePropertyName,omitempty"`
	// Rank - The rank.
	Rank *int32 `json:"rank,omitempty"`
	// Type - Type of canonical property value. Possible values include: 'Numeric', 'Categorical', 'DerivedCategorical', 'DerivedNumeric'
	Type CanonicalPropertyValueType `json:"type,omitempty"`
	// Value - Value of the canonical property.
	Value *string `json:"value,omitempty"`
}

CanonicalProfileDefinitionPropertiesItem the definition of a canonical profile property.

type CanonicalPropertyValueType

type CanonicalPropertyValueType string

CanonicalPropertyValueType enumerates the values for canonical property value type.

const (
	// Categorical ...
	Categorical CanonicalPropertyValueType = "Categorical"
	// DerivedCategorical ...
	DerivedCategorical CanonicalPropertyValueType = "DerivedCategorical"
	// DerivedNumeric ...
	DerivedNumeric CanonicalPropertyValueType = "DerivedNumeric"
	// Numeric ...
	Numeric CanonicalPropertyValueType = "Numeric"
)

func PossibleCanonicalPropertyValueTypeValues

func PossibleCanonicalPropertyValueTypeValues() []CanonicalPropertyValueType

PossibleCanonicalPropertyValueTypeValues returns an array of possible values for the CanonicalPropertyValueType const type.

type CardinalityTypes

type CardinalityTypes string

CardinalityTypes enumerates the values for cardinality types.

const (
	// ManyToMany ...
	ManyToMany CardinalityTypes = "ManyToMany"
	// OneToMany ...
	OneToMany CardinalityTypes = "OneToMany"
	// OneToOne ...
	OneToOne CardinalityTypes = "OneToOne"
)

func PossibleCardinalityTypesValues

func PossibleCardinalityTypesValues() []CardinalityTypes

PossibleCardinalityTypesValues returns an array of possible values for the CardinalityTypes const type.

type CompletionOperationTypes

type CompletionOperationTypes string

CompletionOperationTypes enumerates the values for completion operation types.

const (
	// DeleteFile ...
	DeleteFile CompletionOperationTypes = "DeleteFile"
	// DoNothing ...
	DoNothing CompletionOperationTypes = "DoNothing"
	// MoveFile ...
	MoveFile CompletionOperationTypes = "MoveFile"
)

func PossibleCompletionOperationTypesValues

func PossibleCompletionOperationTypesValues() []CompletionOperationTypes

PossibleCompletionOperationTypesValues returns an array of possible values for the CompletionOperationTypes const type.

type Connector

type Connector struct {
	// ConnectorID - READ-ONLY; ID of the connector.
	ConnectorID *int32 `json:"connectorId,omitempty"`
	// ConnectorName - Name of the connector.
	ConnectorName *string `json:"connectorName,omitempty"`
	// ConnectorType - Type of connector. Possible values include: 'None', 'CRM', 'AzureBlob', 'Salesforce', 'ExchangeOnline', 'Outbound'
	ConnectorType ConnectorTypes `json:"connectorType,omitempty"`
	// DisplayName - Display name of the connector.
	DisplayName *string `json:"displayName,omitempty"`
	// Description - Description of the connector.
	Description *string `json:"description,omitempty"`
	// ConnectorProperties - The connector properties.
	ConnectorProperties map[string]interface{} `json:"connectorProperties"`
	// Created - READ-ONLY; The created time.
	Created *date.Time `json:"created,omitempty"`
	// LastModified - READ-ONLY; The last modified time.
	LastModified *date.Time `json:"lastModified,omitempty"`
	// State - READ-ONLY; State of connector. Possible values include: 'ConnectorStatesCreating', 'ConnectorStatesCreated', 'ConnectorStatesReady', 'ConnectorStatesExpiring', 'ConnectorStatesDeleting', 'ConnectorStatesFailed'
	State ConnectorStates `json:"state,omitempty"`
	// TenantID - READ-ONLY; The hub name.
	TenantID *string `json:"tenantId,omitempty"`
	// IsInternal - If this is an internal connector.
	IsInternal *bool `json:"isInternal,omitempty"`
}

Connector properties of connector.

func (Connector) MarshalJSON

func (c Connector) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for Connector.

type ConnectorListResult

type ConnectorListResult struct {
	autorest.Response `json:"-"`
	// Value - Results of the list operation.
	Value *[]ConnectorResourceFormat `json:"value,omitempty"`
	// NextLink - Link to the next set of results.
	NextLink *string `json:"nextLink,omitempty"`
}

ConnectorListResult the response of list connector operation.

func (ConnectorListResult) IsEmpty

func (clr ConnectorListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type ConnectorListResultIterator

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

ConnectorListResultIterator provides access to a complete listing of ConnectorResourceFormat values.

func NewConnectorListResultIterator

func NewConnectorListResultIterator(page ConnectorListResultPage) ConnectorListResultIterator

Creates a new instance of the ConnectorListResultIterator type.

func (*ConnectorListResultIterator) Next

func (iter *ConnectorListResultIterator) Next() error

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

func (*ConnectorListResultIterator) NextWithContext

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

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

func (ConnectorListResultIterator) NotDone

func (iter ConnectorListResultIterator) NotDone() bool

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

func (ConnectorListResultIterator) Response

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

func (ConnectorListResultIterator) Value

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

type ConnectorListResultPage

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

ConnectorListResultPage contains a page of ConnectorResourceFormat values.

func NewConnectorListResultPage

func NewConnectorListResultPage(cur ConnectorListResult, getNextPage func(context.Context, ConnectorListResult) (ConnectorListResult, error)) ConnectorListResultPage

Creates a new instance of the ConnectorListResultPage type.

func (*ConnectorListResultPage) Next

func (page *ConnectorListResultPage) Next() error

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

func (*ConnectorListResultPage) NextWithContext

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

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

func (ConnectorListResultPage) NotDone

func (page ConnectorListResultPage) NotDone() bool

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

func (ConnectorListResultPage) Response

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

func (ConnectorListResultPage) Values

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

type ConnectorMapping

type ConnectorMapping struct {
	// ConnectorName - READ-ONLY; The connector name.
	ConnectorName *string `json:"connectorName,omitempty"`
	// ConnectorType - Type of connector. Possible values include: 'None', 'CRM', 'AzureBlob', 'Salesforce', 'ExchangeOnline', 'Outbound'
	ConnectorType ConnectorTypes `json:"connectorType,omitempty"`
	// Created - READ-ONLY; The created time.
	Created *date.Time `json:"created,omitempty"`
	// LastModified - READ-ONLY; The last modified time.
	LastModified *date.Time `json:"lastModified,omitempty"`
	// EntityType - Defines which entity type the file should map to. Possible values include: 'EntityTypesNone', 'EntityTypesProfile', 'EntityTypesInteraction', 'EntityTypesRelationship'
	EntityType EntityTypes `json:"entityType,omitempty"`
	// EntityTypeName - The mapping entity name.
	EntityTypeName *string `json:"entityTypeName,omitempty"`
	// ConnectorMappingName - READ-ONLY; The connector mapping name
	ConnectorMappingName *string `json:"connectorMappingName,omitempty"`
	// DisplayName - Display name for the connector mapping.
	DisplayName *string `json:"displayName,omitempty"`
	// Description - The description of the connector mapping.
	Description *string `json:"description,omitempty"`
	// DataFormatID - READ-ONLY; The DataFormat ID.
	DataFormatID *string `json:"dataFormatId,omitempty"`
	// MappingProperties - The properties of the mapping.
	MappingProperties *ConnectorMappingProperties `json:"mappingProperties,omitempty"`
	// NextRunTime - READ-ONLY; The next run time based on customer's settings.
	NextRunTime *date.Time `json:"nextRunTime,omitempty"`
	// RunID - READ-ONLY; The RunId.
	RunID *string `json:"runId,omitempty"`
	// State - READ-ONLY; State of connector mapping. Possible values include: 'Creating', 'Created', 'Failed', 'Ready', 'Running', 'Stopped', 'Expiring'
	State ConnectorMappingStates `json:"state,omitempty"`
	// TenantID - READ-ONLY; The hub name.
	TenantID *string `json:"tenantId,omitempty"`
}

ConnectorMapping the connector mapping definition.

func (ConnectorMapping) MarshalJSON

func (cm ConnectorMapping) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ConnectorMapping.

type ConnectorMappingAvailability

type ConnectorMappingAvailability struct {
	// Frequency - The frequency to update. Possible values include: 'FrequencyTypesMinute', 'FrequencyTypesHour', 'FrequencyTypesDay', 'FrequencyTypesWeek', 'FrequencyTypesMonth'
	Frequency FrequencyTypes `json:"frequency,omitempty"`
	// Interval - The interval of the given frequency to use.
	Interval *int32 `json:"interval,omitempty"`
}

ConnectorMappingAvailability connector mapping property availability.

type ConnectorMappingCompleteOperation

type ConnectorMappingCompleteOperation struct {
	// CompletionOperationType - The type of completion operation. Possible values include: 'DoNothing', 'DeleteFile', 'MoveFile'
	CompletionOperationType CompletionOperationTypes `json:"completionOperationType,omitempty"`
	// DestinationFolder - The destination folder where files will be moved to once the import is done.
	DestinationFolder *string `json:"destinationFolder,omitempty"`
}

ConnectorMappingCompleteOperation the complete operation.

type ConnectorMappingErrorManagement

type ConnectorMappingErrorManagement struct {
	// ErrorManagementType - The type of error management to use for the mapping. Possible values include: 'RejectAndContinue', 'StopImport', 'RejectUntilLimit'
	ErrorManagementType ErrorManagementTypes `json:"errorManagementType,omitempty"`
	// ErrorLimit - The error limit allowed while importing data.
	ErrorLimit *int32 `json:"errorLimit,omitempty"`
}

ConnectorMappingErrorManagement the error management.

type ConnectorMappingFormat

type ConnectorMappingFormat struct {
	// FormatType - The type mapping format.
	FormatType *string `json:"formatType,omitempty"`
	// ColumnDelimiter - The character that signifies a break between columns.
	ColumnDelimiter *string `json:"columnDelimiter,omitempty"`
	// AcceptLanguage - The oData language.
	AcceptLanguage *string `json:"acceptLanguage,omitempty"`
	// QuoteCharacter - Quote character, used to indicate enquoted fields.
	QuoteCharacter *string `json:"quoteCharacter,omitempty"`
	// QuoteEscapeCharacter - Escape character for quotes, can be the same as the quoteCharacter.
	QuoteEscapeCharacter *string `json:"quoteEscapeCharacter,omitempty"`
	// ArraySeparator - Character separating array elements.
	ArraySeparator *string `json:"arraySeparator,omitempty"`
}

ConnectorMappingFormat connector mapping property format.

type ConnectorMappingListResult

type ConnectorMappingListResult struct {
	autorest.Response `json:"-"`
	// Value - Results of the list operation.
	Value *[]ConnectorMappingResourceFormat `json:"value,omitempty"`
	// NextLink - Link to the next set of results.
	NextLink *string `json:"nextLink,omitempty"`
}

ConnectorMappingListResult the response of list connector mapping operation.

func (ConnectorMappingListResult) IsEmpty

func (cmlr ConnectorMappingListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type ConnectorMappingListResultIterator

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

ConnectorMappingListResultIterator provides access to a complete listing of ConnectorMappingResourceFormat values.

func NewConnectorMappingListResultIterator

func NewConnectorMappingListResultIterator(page ConnectorMappingListResultPage) ConnectorMappingListResultIterator

Creates a new instance of the ConnectorMappingListResultIterator type.

func (*ConnectorMappingListResultIterator) Next

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

func (*ConnectorMappingListResultIterator) NextWithContext

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

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

func (ConnectorMappingListResultIterator) NotDone

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

func (ConnectorMappingListResultIterator) Response

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

func (ConnectorMappingListResultIterator) Value

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

type ConnectorMappingListResultPage

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

ConnectorMappingListResultPage contains a page of ConnectorMappingResourceFormat values.

func NewConnectorMappingListResultPage

Creates a new instance of the ConnectorMappingListResultPage type.

func (*ConnectorMappingListResultPage) Next

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

func (*ConnectorMappingListResultPage) NextWithContext

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

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

func (ConnectorMappingListResultPage) NotDone

func (page ConnectorMappingListResultPage) NotDone() bool

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

func (ConnectorMappingListResultPage) Response

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

func (ConnectorMappingListResultPage) Values

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

type ConnectorMappingProperties

type ConnectorMappingProperties struct {
	// FolderPath - The folder path for the mapping.
	FolderPath *string `json:"folderPath,omitempty"`
	// FileFilter - The file filter for the mapping.
	FileFilter *string `json:"fileFilter,omitempty"`
	// HasHeader - If the file contains a header or not.
	HasHeader *bool `json:"hasHeader,omitempty"`
	// ErrorManagement - The error management setting for the mapping.
	ErrorManagement *ConnectorMappingErrorManagement `json:"errorManagement,omitempty"`
	// Format - The format of mapping property.
	Format *ConnectorMappingFormat `json:"format,omitempty"`
	// Availability - The availability of mapping property.
	Availability *ConnectorMappingAvailability `json:"availability,omitempty"`
	// Structure - Ingestion mapping information at property level.
	Structure *[]ConnectorMappingStructure `json:"structure,omitempty"`
	// CompleteOperation - The operation after import is done.
	CompleteOperation *ConnectorMappingCompleteOperation `json:"completeOperation,omitempty"`
}

ConnectorMappingProperties the connector mapping properties.

type ConnectorMappingResourceFormat

type ConnectorMappingResourceFormat struct {
	autorest.Response `json:"-"`
	*ConnectorMapping `json:"properties,omitempty"`
	// ID - READ-ONLY; Resource ID.
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; Resource name.
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; Resource type.
	Type *string `json:"type,omitempty"`
}

ConnectorMappingResourceFormat the connector mapping resource format.

func (ConnectorMappingResourceFormat) MarshalJSON

func (cmrf ConnectorMappingResourceFormat) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ConnectorMappingResourceFormat.

func (*ConnectorMappingResourceFormat) UnmarshalJSON

func (cmrf *ConnectorMappingResourceFormat) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for ConnectorMappingResourceFormat struct.

type ConnectorMappingStates

type ConnectorMappingStates string

ConnectorMappingStates enumerates the values for connector mapping states.

const (
	// Created ...
	Created ConnectorMappingStates = "Created"
	// Creating ...
	Creating ConnectorMappingStates = "Creating"
	// Expiring ...
	Expiring ConnectorMappingStates = "Expiring"
	// Failed ...
	Failed ConnectorMappingStates = "Failed"
	// Ready ...
	Ready ConnectorMappingStates = "Ready"
	// Running ...
	Running ConnectorMappingStates = "Running"
	// Stopped ...
	Stopped ConnectorMappingStates = "Stopped"
)

func PossibleConnectorMappingStatesValues

func PossibleConnectorMappingStatesValues() []ConnectorMappingStates

PossibleConnectorMappingStatesValues returns an array of possible values for the ConnectorMappingStates const type.

type ConnectorMappingStructure

type ConnectorMappingStructure struct {
	// PropertyName - The property name of the mapping entity.
	PropertyName *string `json:"propertyName,omitempty"`
	// ColumnName - The column name of the import file.
	ColumnName *string `json:"columnName,omitempty"`
	// CustomFormatSpecifier - Custom format specifier for input parsing.
	CustomFormatSpecifier *string `json:"customFormatSpecifier,omitempty"`
	// IsEncrypted - Indicates if the column is encrypted.
	IsEncrypted *bool `json:"isEncrypted,omitempty"`
}

ConnectorMappingStructure connector mapping property structure.

type ConnectorMappingsClient

type ConnectorMappingsClient struct {
	BaseClient
}

ConnectorMappingsClient is the the Azure Customer Insights management API provides a RESTful set of web services that interact with Azure Customer Insights service to manage your resources. The API has entities that capture the relationship between an end user and the Azure Customer Insights service.

func NewConnectorMappingsClient

func NewConnectorMappingsClient(subscriptionID string) ConnectorMappingsClient

NewConnectorMappingsClient creates an instance of the ConnectorMappingsClient client.

func NewConnectorMappingsClientWithBaseURI

func NewConnectorMappingsClientWithBaseURI(baseURI string, subscriptionID string) ConnectorMappingsClient

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

func (ConnectorMappingsClient) CreateOrUpdate

func (client ConnectorMappingsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, hubName string, connectorName string, mappingName string, parameters ConnectorMappingResourceFormat) (result ConnectorMappingResourceFormat, err error)

CreateOrUpdate creates a connector mapping or updates an existing connector mapping in the connector. Parameters: resourceGroupName - the name of the resource group. hubName - the name of the hub. connectorName - the name of the connector. mappingName - the name of the connector mapping. parameters - parameters supplied to the CreateOrUpdate Connector Mapping operation.

func (ConnectorMappingsClient) CreateOrUpdatePreparer

func (client ConnectorMappingsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, hubName string, connectorName string, mappingName string, parameters ConnectorMappingResourceFormat) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (ConnectorMappingsClient) CreateOrUpdateResponder

func (client ConnectorMappingsClient) CreateOrUpdateResponder(resp *http.Response) (result ConnectorMappingResourceFormat, err error)

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

func (ConnectorMappingsClient) CreateOrUpdateSender

func (client ConnectorMappingsClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)

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

func (ConnectorMappingsClient) Delete

func (client ConnectorMappingsClient) Delete(ctx context.Context, resourceGroupName string, hubName string, connectorName string, mappingName string) (result autorest.Response, err error)

Delete deletes a connector mapping in the connector. Parameters: resourceGroupName - the name of the resource group. hubName - the name of the hub. connectorName - the name of the connector. mappingName - the name of the connector mapping.

func (ConnectorMappingsClient) DeletePreparer

func (client ConnectorMappingsClient) DeletePreparer(ctx context.Context, resourceGroupName string, hubName string, connectorName string, mappingName string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (ConnectorMappingsClient) DeleteResponder

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

func (client ConnectorMappingsClient) 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 (ConnectorMappingsClient) Get

func (client ConnectorMappingsClient) Get(ctx context.Context, resourceGroupName string, hubName string, connectorName string, mappingName string) (result ConnectorMappingResourceFormat, err error)

Get gets a connector mapping in the connector. Parameters: resourceGroupName - the name of the resource group. hubName - the name of the hub. connectorName - the name of the connector. mappingName - the name of the connector mapping.

func (ConnectorMappingsClient) GetPreparer

func (client ConnectorMappingsClient) GetPreparer(ctx context.Context, resourceGroupName string, hubName string, connectorName string, mappingName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (ConnectorMappingsClient) GetResponder

func (client ConnectorMappingsClient) GetResponder(resp *http.Response) (result ConnectorMappingResourceFormat, err error)

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

func (ConnectorMappingsClient) GetSender

func (client ConnectorMappingsClient) 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 (ConnectorMappingsClient) ListByConnector

func (client ConnectorMappingsClient) ListByConnector(ctx context.Context, resourceGroupName string, hubName string, connectorName string) (result ConnectorMappingListResultPage, err error)

ListByConnector gets all the connector mappings in the specified connector. Parameters: resourceGroupName - the name of the resource group. hubName - the name of the hub. connectorName - the name of the connector.

func (ConnectorMappingsClient) ListByConnectorComplete

func (client ConnectorMappingsClient) ListByConnectorComplete(ctx context.Context, resourceGroupName string, hubName string, connectorName string) (result ConnectorMappingListResultIterator, err error)

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

func (ConnectorMappingsClient) ListByConnectorPreparer

func (client ConnectorMappingsClient) ListByConnectorPreparer(ctx context.Context, resourceGroupName string, hubName string, connectorName string) (*http.Request, error)

ListByConnectorPreparer prepares the ListByConnector request.

func (ConnectorMappingsClient) ListByConnectorResponder

func (client ConnectorMappingsClient) ListByConnectorResponder(resp *http.Response) (result ConnectorMappingListResult, err error)

ListByConnectorResponder handles the response to the ListByConnector request. The method always closes the http.Response Body.

func (ConnectorMappingsClient) ListByConnectorSender

func (client ConnectorMappingsClient) ListByConnectorSender(req *http.Request) (*http.Response, error)

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

type ConnectorResourceFormat

type ConnectorResourceFormat struct {
	autorest.Response `json:"-"`
	*Connector        `json:"properties,omitempty"`
	// ID - READ-ONLY; Resource ID.
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; Resource name.
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; Resource type.
	Type *string `json:"type,omitempty"`
}

ConnectorResourceFormat the connector resource format.

func (ConnectorResourceFormat) MarshalJSON

func (crf ConnectorResourceFormat) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ConnectorResourceFormat.

func (*ConnectorResourceFormat) UnmarshalJSON

func (crf *ConnectorResourceFormat) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for ConnectorResourceFormat struct.

type ConnectorStates

type ConnectorStates string

ConnectorStates enumerates the values for connector states.

const (
	// ConnectorStatesCreated ...
	ConnectorStatesCreated ConnectorStates = "Created"
	// ConnectorStatesCreating ...
	ConnectorStatesCreating ConnectorStates = "Creating"
	// ConnectorStatesDeleting ...
	ConnectorStatesDeleting ConnectorStates = "Deleting"
	// ConnectorStatesExpiring ...
	ConnectorStatesExpiring ConnectorStates = "Expiring"
	// ConnectorStatesFailed ...
	ConnectorStatesFailed ConnectorStates = "Failed"
	// ConnectorStatesReady ...
	ConnectorStatesReady ConnectorStates = "Ready"
)

func PossibleConnectorStatesValues

func PossibleConnectorStatesValues() []ConnectorStates

PossibleConnectorStatesValues returns an array of possible values for the ConnectorStates const type.

type ConnectorTypes

type ConnectorTypes string

ConnectorTypes enumerates the values for connector types.

const (
	// AzureBlob ...
	AzureBlob ConnectorTypes = "AzureBlob"
	// CRM ...
	CRM ConnectorTypes = "CRM"
	// ExchangeOnline ...
	ExchangeOnline ConnectorTypes = "ExchangeOnline"
	// None ...
	None ConnectorTypes = "None"
	// Outbound ...
	Outbound ConnectorTypes = "Outbound"
	// Salesforce ...
	Salesforce ConnectorTypes = "Salesforce"
)

func PossibleConnectorTypesValues

func PossibleConnectorTypesValues() []ConnectorTypes

PossibleConnectorTypesValues returns an array of possible values for the ConnectorTypes const type.

type ConnectorsClient

type ConnectorsClient struct {
	BaseClient
}

ConnectorsClient is the the Azure Customer Insights management API provides a RESTful set of web services that interact with Azure Customer Insights service to manage your resources. The API has entities that capture the relationship between an end user and the Azure Customer Insights service.

func NewConnectorsClient

func NewConnectorsClient(subscriptionID string) ConnectorsClient

NewConnectorsClient creates an instance of the ConnectorsClient client.

func NewConnectorsClientWithBaseURI

func NewConnectorsClientWithBaseURI(baseURI string, subscriptionID string) ConnectorsClient

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

func (ConnectorsClient) CreateOrUpdate

func (client ConnectorsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, hubName string, connectorName string, parameters ConnectorResourceFormat) (result ConnectorsCreateOrUpdateFuture, err error)

CreateOrUpdate creates a connector or updates an existing connector in the hub. Parameters: resourceGroupName - the name of the resource group. hubName - the name of the hub. connectorName - the name of the connector. parameters - parameters supplied to the CreateOrUpdate Connector operation.

func (ConnectorsClient) CreateOrUpdatePreparer

func (client ConnectorsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, hubName string, connectorName string, parameters ConnectorResourceFormat) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (ConnectorsClient) CreateOrUpdateResponder

func (client ConnectorsClient) CreateOrUpdateResponder(resp *http.Response) (result ConnectorResourceFormat, err error)

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

func (ConnectorsClient) CreateOrUpdateSender

func (client ConnectorsClient) CreateOrUpdateSender(req *http.Request) (future ConnectorsCreateOrUpdateFuture, err error)

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

func (ConnectorsClient) Delete

func (client ConnectorsClient) Delete(ctx context.Context, resourceGroupName string, hubName string, connectorName string) (result ConnectorsDeleteFuture, err error)

Delete deletes a connector in the hub. Parameters: resourceGroupName - the name of the resource group. hubName - the name of the hub. connectorName - the name of the connector.

func (ConnectorsClient) DeletePreparer

func (client ConnectorsClient) DeletePreparer(ctx context.Context, resourceGroupName string, hubName string, connectorName string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (ConnectorsClient) DeleteResponder

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

func (client ConnectorsClient) DeleteSender(req *http.Request) (future ConnectorsDeleteFuture, err error)

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

func (ConnectorsClient) Get

func (client ConnectorsClient) Get(ctx context.Context, resourceGroupName string, hubName string, connectorName string) (result ConnectorResourceFormat, err error)

Get gets a connector in the hub. Parameters: resourceGroupName - the name of the resource group. hubName - the name of the hub. connectorName - the name of the connector.

func (ConnectorsClient) GetPreparer

func (client ConnectorsClient) GetPreparer(ctx context.Context, resourceGroupName string, hubName string, connectorName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (ConnectorsClient) GetResponder

func (client ConnectorsClient) GetResponder(resp *http.Response) (result ConnectorResourceFormat, err error)

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

func (ConnectorsClient) GetSender

func (client ConnectorsClient) 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 (ConnectorsClient) ListByHub

func (client ConnectorsClient) ListByHub(ctx context.Context, resourceGroupName string, hubName string) (result ConnectorListResultPage, err error)

ListByHub gets all the connectors in the specified hub. Parameters: resourceGroupName - the name of the resource group. hubName - the name of the hub.

func (ConnectorsClient) ListByHubComplete

func (client ConnectorsClient) ListByHubComplete(ctx context.Context, resourceGroupName string, hubName string) (result ConnectorListResultIterator, err error)

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

func (ConnectorsClient) ListByHubPreparer

func (client ConnectorsClient) ListByHubPreparer(ctx context.Context, resourceGroupName string, hubName string) (*http.Request, error)

ListByHubPreparer prepares the ListByHub request.

func (ConnectorsClient) ListByHubResponder

func (client ConnectorsClient) ListByHubResponder(resp *http.Response) (result ConnectorListResult, err error)

ListByHubResponder handles the response to the ListByHub request. The method always closes the http.Response Body.

func (ConnectorsClient) ListByHubSender

func (client ConnectorsClient) ListByHubSender(req *http.Request) (*http.Response, error)

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

type ConnectorsCreateOrUpdateFuture

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

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

func (*ConnectorsCreateOrUpdateFuture) UnmarshalJSON

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

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type ConnectorsDeleteFuture

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

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

func (*ConnectorsDeleteFuture) UnmarshalJSON

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

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type CrmConnectorEntities

type CrmConnectorEntities struct {
	// LogicalName - The logical name.
	LogicalName *string `json:"logicalName,omitempty"`
	// DisplayName - The display name.
	DisplayName *string `json:"displayName,omitempty"`
	// IsProfile - Indicating whether this is profile.
	IsProfile *bool `json:"isProfile,omitempty"`
}

CrmConnectorEntities the CRM connector entities.

type CrmConnectorProperties

type CrmConnectorProperties struct {
	// ConnectionString - The connection string.
	ConnectionString *string `json:"connectionString,omitempty"`
	// OrganizationID - The organization ID.
	OrganizationID *string `json:"organizationId,omitempty"`
	// OrganizationURL - The organization URL.
	OrganizationURL *string `json:"organizationUrl,omitempty"`
	// Entities - The entities like account, contact, opportunity.
	Entities *[]CrmConnectorEntities `json:"entities,omitempty"`
	// AccessToken - The access token.
	AccessToken *string `json:"accessToken,omitempty"`
}

CrmConnectorProperties the CRM connector properties.

type DataSource

type DataSource struct {
	// Name - READ-ONLY; The data source name
	Name *string `json:"name,omitempty"`
	// DataSourceType - READ-ONLY; The data source type. Possible values include: 'DataSourceTypeConnector', 'DataSourceTypeLinkInteraction', 'DataSourceTypeSystemDefault'
	DataSourceType DataSourceType `json:"dataSourceType,omitempty"`
	// Status - READ-ONLY; The data source status. Possible values include: 'StatusNone', 'StatusActive', 'StatusDeleted'
	Status Status `json:"status,omitempty"`
	// ID - READ-ONLY; The data source ID.
	ID *int32 `json:"id,omitempty"`
	// DataSourceReferenceID - READ-ONLY; The data source reference id.
	DataSourceReferenceID *string `json:"dataSourceReferenceId,omitempty"`
}

DataSource data Source is a way for us to know the source of instances. A single type can have data coming in from multiple places. In activities we use this to determine precedence rules.

func (DataSource) MarshalJSON

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

MarshalJSON is the custom marshaler for DataSource.

type DataSourcePrecedence

type DataSourcePrecedence struct {
	*DataSource `json:"dataSource,omitempty"`
	// Precedence - the precedence value.
	Precedence *int32 `json:"precedence,omitempty"`
}

DataSourcePrecedence the data source precedence is a way to know the precedence of each data source.

func (DataSourcePrecedence) MarshalJSON

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

MarshalJSON is the custom marshaler for DataSourcePrecedence.

func (*DataSourcePrecedence) UnmarshalJSON

func (dsp *DataSourcePrecedence) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for DataSourcePrecedence struct.

type DataSourceType

type DataSourceType string

DataSourceType enumerates the values for data source type.

const (
	// DataSourceTypeConnector ...
	DataSourceTypeConnector DataSourceType = "Connector"
	// DataSourceTypeLinkInteraction ...
	DataSourceTypeLinkInteraction DataSourceType = "LinkInteraction"
	// DataSourceTypeSystemDefault ...
	DataSourceTypeSystemDefault DataSourceType = "SystemDefault"
)

func PossibleDataSourceTypeValues

func PossibleDataSourceTypeValues() []DataSourceType

PossibleDataSourceTypeValues returns an array of possible values for the DataSourceType const type.

type EnrichingKpi

type EnrichingKpi struct {
	// EntityType - The mapping entity type. Possible values include: 'EntityTypesNone', 'EntityTypesProfile', 'EntityTypesInteraction', 'EntityTypesRelationship'
	EntityType EntityTypes `json:"entityType,omitempty"`
	// EntityTypeName - The mapping entity name.
	EntityTypeName *string `json:"entityTypeName,omitempty"`
	// TenantID - READ-ONLY; The hub name.
	TenantID *string `json:"tenantId,omitempty"`
	// KpiName - READ-ONLY; The KPI name.
	KpiName *string `json:"kpiName,omitempty"`
	// DisplayName - Localized display name for the KPI.
	DisplayName map[string]*string `json:"displayName"`
	// Description - Localized description for the KPI.
	Description map[string]*string `json:"description"`
	// CalculationWindow - The calculation window. Possible values include: 'Lifetime', 'Hour', 'Day', 'Week', 'Month'
	CalculationWindow CalculationWindowTypes `json:"calculationWindow,omitempty"`
	// CalculationWindowFieldName - Name of calculation window field.
	CalculationWindowFieldName *string `json:"calculationWindowFieldName,omitempty"`
	// Function - The computation function for the KPI. Possible values include: 'KpiFunctionsSum', 'KpiFunctionsAvg', 'KpiFunctionsMin', 'KpiFunctionsMax', 'KpiFunctionsLast', 'KpiFunctionsCount', 'KpiFunctionsNone', 'KpiFunctionsCountDistinct'
	Function KpiFunctions `json:"function,omitempty"`
	// Expression - The computation expression for the KPI.
	Expression *string `json:"expression,omitempty"`
	// Unit - The unit of measurement for the KPI.
	Unit *string `json:"unit,omitempty"`
	// Filter - The filter expression for the KPI.
	Filter *string `json:"filter,omitempty"`
	// GroupBy - the group by properties for the KPI.
	GroupBy *[]string `json:"groupBy,omitempty"`
	// GroupByMetadata - READ-ONLY; The KPI GroupByMetadata.
	GroupByMetadata *[]KpiGroupByMetadata `json:"groupByMetadata,omitempty"`
	// ParticipantProfilesMetadata - READ-ONLY; The participant profiles.
	ParticipantProfilesMetadata *[]KpiParticipantProfilesMetadata `json:"participantProfilesMetadata,omitempty"`
	// ProvisioningState - READ-ONLY; Provisioning state. Possible values include: 'ProvisioningStatesProvisioning', 'ProvisioningStatesSucceeded', 'ProvisioningStatesExpiring', 'ProvisioningStatesDeleting', 'ProvisioningStatesHumanIntervention', 'ProvisioningStatesFailed'
	ProvisioningState ProvisioningStates `json:"provisioningState,omitempty"`
	// ThresHolds - The KPI thresholds.
	ThresHolds *KpiThresholds `json:"thresHolds,omitempty"`
	// Aliases - The aliases.
	Aliases *[]KpiAlias `json:"aliases,omitempty"`
	// Extracts - The KPI extracts.
	Extracts *[]KpiExtract `json:"extracts,omitempty"`
}

EnrichingKpi the enriching KPI definition.

func (EnrichingKpi) MarshalJSON

func (ek EnrichingKpi) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for EnrichingKpi.

type EntityType

type EntityType string

EntityType enumerates the values for entity type.

const (
	// EntityTypeInteraction ...
	EntityTypeInteraction EntityType = "Interaction"
	// EntityTypeNone ...
	EntityTypeNone EntityType = "None"
	// EntityTypeProfile ...
	EntityTypeProfile EntityType = "Profile"
	// EntityTypeRelationship ...
	EntityTypeRelationship EntityType = "Relationship"
)

func PossibleEntityTypeValues

func PossibleEntityTypeValues() []EntityType

PossibleEntityTypeValues returns an array of possible values for the EntityType const type.

type EntityTypeDefinition

type EntityTypeDefinition struct {
	// APIEntitySetName - The api entity set name. This becomes the odata entity set name for the entity Type being referred in this object.
	APIEntitySetName *string `json:"apiEntitySetName,omitempty"`
	// EntityType - Type of entity. Possible values include: 'EntityTypesNone', 'EntityTypesProfile', 'EntityTypesInteraction', 'EntityTypesRelationship'
	EntityType EntityTypes `json:"entityType,omitempty"`
	// Fields - The properties of the Profile.
	Fields *[]PropertyDefinition `json:"fields,omitempty"`
	// InstancesCount - The instance count.
	InstancesCount *int32 `json:"instancesCount,omitempty"`
	// LastChangedUtc - READ-ONLY; The last changed time for the type definition.
	LastChangedUtc *date.Time `json:"lastChangedUtc,omitempty"`
	// ProvisioningState - READ-ONLY; Provisioning state. Possible values include: 'ProvisioningStatesProvisioning', 'ProvisioningStatesSucceeded', 'ProvisioningStatesExpiring', 'ProvisioningStatesDeleting', 'ProvisioningStatesHumanIntervention', 'ProvisioningStatesFailed'
	ProvisioningState ProvisioningStates `json:"provisioningState,omitempty"`
	// SchemaItemTypeLink - The schema org link. This helps ACI identify and suggest semantic models.
	SchemaItemTypeLink *string `json:"schemaItemTypeLink,omitempty"`
	// TenantID - READ-ONLY; The hub name.
	TenantID *string `json:"tenantId,omitempty"`
	// TimestampFieldName - The timestamp property name. Represents the time when the interaction or profile update happened.
	TimestampFieldName *string `json:"timestampFieldName,omitempty"`
	// TypeName - The name of the entity.
	TypeName *string `json:"typeName,omitempty"`
	// Attributes - The attributes for the Type.
	Attributes map[string][]string `json:"attributes"`
	// Description - Localized descriptions for the property.
	Description map[string]*string `json:"description"`
	// DisplayName - Localized display names for the property.
	DisplayName map[string]*string `json:"displayName"`
	// LocalizedAttributes - Any custom localized attributes for the Type.
	LocalizedAttributes map[string]map[string]*string `json:"localizedAttributes"`
	// SmallImage - Small Image associated with the Property or EntityType.
	SmallImage *string `json:"smallImage,omitempty"`
	// MediumImage - Medium Image associated with the Property or EntityType.
	MediumImage *string `json:"mediumImage,omitempty"`
	// LargeImage - Large Image associated with the Property or EntityType.
	LargeImage *string `json:"largeImage,omitempty"`
}

EntityTypeDefinition describes an entity.

func (EntityTypeDefinition) MarshalJSON

func (etd EntityTypeDefinition) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for EntityTypeDefinition.

type EntityTypes

type EntityTypes string

EntityTypes enumerates the values for entity types.

const (
	// EntityTypesInteraction ...
	EntityTypesInteraction EntityTypes = "Interaction"
	// EntityTypesNone ...
	EntityTypesNone EntityTypes = "None"
	// EntityTypesProfile ...
	EntityTypesProfile EntityTypes = "Profile"
	// EntityTypesRelationship ...
	EntityTypesRelationship EntityTypes = "Relationship"
)

func PossibleEntityTypesValues

func PossibleEntityTypesValues() []EntityTypes

PossibleEntityTypesValues returns an array of possible values for the EntityTypes const type.

type ErrorManagementTypes

type ErrorManagementTypes string

ErrorManagementTypes enumerates the values for error management types.

const (
	// RejectAndContinue ...
	RejectAndContinue ErrorManagementTypes = "RejectAndContinue"
	// RejectUntilLimit ...
	RejectUntilLimit ErrorManagementTypes = "RejectUntilLimit"
	// StopImport ...
	StopImport ErrorManagementTypes = "StopImport"
)

func PossibleErrorManagementTypesValues

func PossibleErrorManagementTypesValues() []ErrorManagementTypes

PossibleErrorManagementTypesValues returns an array of possible values for the ErrorManagementTypes const type.

type FrequencyTypes

type FrequencyTypes string

FrequencyTypes enumerates the values for frequency types.

const (
	// FrequencyTypesDay ...
	FrequencyTypesDay FrequencyTypes = "Day"
	// FrequencyTypesHour ...
	FrequencyTypesHour FrequencyTypes = "Hour"
	// FrequencyTypesMinute ...
	FrequencyTypesMinute FrequencyTypes = "Minute"
	// FrequencyTypesMonth ...
	FrequencyTypesMonth FrequencyTypes = "Month"
	// FrequencyTypesWeek ...
	FrequencyTypesWeek FrequencyTypes = "Week"
)

func PossibleFrequencyTypesValues

func PossibleFrequencyTypesValues() []FrequencyTypes

PossibleFrequencyTypesValues returns an array of possible values for the FrequencyTypes const type.

type GetImageUploadURLInput

type GetImageUploadURLInput struct {
	// EntityType - Type of entity. Can be Profile or Interaction.
	EntityType *string `json:"entityType,omitempty"`
	// EntityTypeName - Name of the entity type.
	EntityTypeName *string `json:"entityTypeName,omitempty"`
	// RelativePath - Relative path of the image.
	RelativePath *string `json:"relativePath,omitempty"`
}

GetImageUploadURLInput input type for getting image upload url.

type Hub

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

Hub hub resource.

func (Hub) MarshalJSON

func (h Hub) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for Hub.

func (*Hub) UnmarshalJSON

func (h *Hub) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for Hub struct.

type HubBillingInfoFormat

type HubBillingInfoFormat struct {
	// SkuName - The sku name.
	SkuName *string `json:"skuName,omitempty"`
	// MinUnits - The minimum number of units will be billed. One unit is 10,000 Profiles and 100,000 Interactions.
	MinUnits *int32 `json:"minUnits,omitempty"`
	// MaxUnits - The maximum number of units can be used.  One unit is 10,000 Profiles and 100,000 Interactions.
	MaxUnits *int32 `json:"maxUnits,omitempty"`
}

HubBillingInfoFormat hub billing info.

type HubListResult

type HubListResult struct {
	autorest.Response `json:"-"`
	// Value - Results of the list operation.
	Value *[]Hub `json:"value,omitempty"`
	// NextLink - Link for next set of results.
	NextLink *string `json:"nextLink,omitempty"`
}

HubListResult response of list hub operation.

func (HubListResult) IsEmpty

func (hlr HubListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type HubListResultIterator

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

HubListResultIterator provides access to a complete listing of Hub values.

func NewHubListResultIterator

func NewHubListResultIterator(page HubListResultPage) HubListResultIterator

Creates a new instance of the HubListResultIterator type.

func (*HubListResultIterator) Next

func (iter *HubListResultIterator) Next() error

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

func (*HubListResultIterator) NextWithContext

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

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

func (HubListResultIterator) NotDone

func (iter HubListResultIterator) NotDone() bool

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

func (HubListResultIterator) Response

func (iter HubListResultIterator) Response() HubListResult

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

func (HubListResultIterator) Value

func (iter HubListResultIterator) Value() Hub

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

type HubListResultPage

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

HubListResultPage contains a page of Hub values.

func NewHubListResultPage

func NewHubListResultPage(cur HubListResult, getNextPage func(context.Context, HubListResult) (HubListResult, error)) HubListResultPage

Creates a new instance of the HubListResultPage type.

func (*HubListResultPage) Next

func (page *HubListResultPage) Next() error

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

func (*HubListResultPage) NextWithContext

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

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

func (HubListResultPage) NotDone

func (page HubListResultPage) NotDone() bool

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

func (HubListResultPage) Response

func (page HubListResultPage) Response() HubListResult

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

func (HubListResultPage) Values

func (page HubListResultPage) Values() []Hub

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

type HubPropertiesFormat

type HubPropertiesFormat struct {
	// APIEndpoint - READ-ONLY; API endpoint URL of the hub.
	APIEndpoint *string `json:"apiEndpoint,omitempty"`
	// WebEndpoint - READ-ONLY; Web endpoint URL of the hub.
	WebEndpoint *string `json:"webEndpoint,omitempty"`
	// ProvisioningState - READ-ONLY; Provisioning state of the hub.
	ProvisioningState *string `json:"provisioningState,omitempty"`
	// TenantFeatures - The bit flags for enabled hub features. Bit 0 is set to 1 indicates graph is enabled, or disabled if set to 0. Bit 1 is set to 1 indicates the hub is disabled, or enabled if set to 0.
	TenantFeatures *int32 `json:"tenantFeatures,omitempty"`
	// HubBillingInfo - Billing settings of the hub.
	HubBillingInfo *HubBillingInfoFormat `json:"hubBillingInfo,omitempty"`
}

HubPropertiesFormat properties of hub.

func (HubPropertiesFormat) MarshalJSON

func (hpf HubPropertiesFormat) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for HubPropertiesFormat.

type HubsClient

type HubsClient struct {
	BaseClient
}

HubsClient is the the Azure Customer Insights management API provides a RESTful set of web services that interact with Azure Customer Insights service to manage your resources. The API has entities that capture the relationship between an end user and the Azure Customer Insights service.

func NewHubsClient

func NewHubsClient(subscriptionID string) HubsClient

NewHubsClient creates an instance of the HubsClient client.

func NewHubsClientWithBaseURI

func NewHubsClientWithBaseURI(baseURI string, subscriptionID string) HubsClient

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

func (HubsClient) CreateOrUpdate

func (client HubsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, hubName string, parameters Hub) (result Hub, err error)

CreateOrUpdate creates a hub, or updates an existing hub. Parameters: resourceGroupName - the name of the resource group. hubName - the name of the Hub. parameters - parameters supplied to the CreateOrUpdate Hub operation.

func (HubsClient) CreateOrUpdatePreparer

func (client HubsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, hubName string, parameters Hub) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (HubsClient) CreateOrUpdateResponder

func (client HubsClient) CreateOrUpdateResponder(resp *http.Response) (result Hub, err error)

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

func (HubsClient) CreateOrUpdateSender

func (client HubsClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)

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

func (HubsClient) Delete

func (client HubsClient) Delete(ctx context.Context, resourceGroupName string, hubName string) (result HubsDeleteFuture, err error)

Delete deletes the specified hub. Parameters: resourceGroupName - the name of the resource group. hubName - the name of the hub.

func (HubsClient) DeletePreparer

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

DeletePreparer prepares the Delete request.

func (HubsClient) DeleteResponder

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

func (client HubsClient) DeleteSender(req *http.Request) (future HubsDeleteFuture, err error)

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

func (HubsClient) Get

func (client HubsClient) Get(ctx context.Context, resourceGroupName string, hubName string) (result Hub, err error)

Get gets information about the specified hub. Parameters: resourceGroupName - the name of the resource group. hubName - the name of the hub.

func (HubsClient) GetPreparer

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

GetPreparer prepares the Get request.

func (HubsClient) GetResponder

func (client HubsClient) GetResponder(resp *http.Response) (result Hub, err error)

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

func (HubsClient) GetSender

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

func (client HubsClient) List(ctx context.Context) (result HubListResultPage, err error)

List gets all hubs in the specified subscription.

func (HubsClient) ListByResourceGroup

func (client HubsClient) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result HubListResultPage, err error)

ListByResourceGroup gets all the hubs in a resource group. Parameters: resourceGroupName - the name of the resource group.

func (HubsClient) ListByResourceGroupComplete

func (client HubsClient) ListByResourceGroupComplete(ctx context.Context, resourceGroupName string) (result HubListResultIterator, err error)

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

func (HubsClient) ListByResourceGroupPreparer

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

ListByResourceGroupPreparer prepares the ListByResourceGroup request.

func (HubsClient) ListByResourceGroupResponder

func (client HubsClient) ListByResourceGroupResponder(resp *http.Response) (result HubListResult, err error)

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

func (HubsClient) ListByResourceGroupSender

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

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

func (HubsClient) ListComplete

func (client HubsClient) ListComplete(ctx context.Context) (result HubListResultIterator, err error)

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

func (HubsClient) ListPreparer

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

ListPreparer prepares the List request.

func (HubsClient) ListResponder

func (client HubsClient) ListResponder(resp *http.Response) (result HubListResult, err error)

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

func (HubsClient) ListSender

func (client HubsClient) 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 (HubsClient) Update

func (client HubsClient) Update(ctx context.Context, resourceGroupName string, hubName string, parameters Hub) (result Hub, err error)

Update updates a Hub. Parameters: resourceGroupName - the name of the resource group. hubName - the name of the Hub. parameters - parameters supplied to the Update Hub operation.

func (HubsClient) UpdatePreparer

func (client HubsClient) UpdatePreparer(ctx context.Context, resourceGroupName string, hubName string, parameters Hub) (*http.Request, error)

UpdatePreparer prepares the Update request.

func (HubsClient) UpdateResponder

func (client HubsClient) UpdateResponder(resp *http.Response) (result Hub, err error)

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

func (HubsClient) UpdateSender

func (client HubsClient) 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 HubsDeleteFuture

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

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

func (*HubsDeleteFuture) UnmarshalJSON

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

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type ImageDefinition

type ImageDefinition struct {
	autorest.Response `json:"-"`
	// ImageExists - Whether image exists already.
	ImageExists *bool `json:"imageExists,omitempty"`
	// ContentURL - Content URL for the image blob.
	ContentURL *string `json:"contentUrl,omitempty"`
	// RelativePath - Relative path of the image.
	RelativePath *string `json:"relativePath,omitempty"`
}

ImageDefinition the image definition.

type ImagesClient

type ImagesClient struct {
	BaseClient
}

ImagesClient is the the Azure Customer Insights management API provides a RESTful set of web services that interact with Azure Customer Insights service to manage your resources. The API has entities that capture the relationship between an end user and the Azure Customer Insights service.

func NewImagesClient

func NewImagesClient(subscriptionID string) ImagesClient

NewImagesClient creates an instance of the ImagesClient client.

func NewImagesClientWithBaseURI

func NewImagesClientWithBaseURI(baseURI string, subscriptionID string) ImagesClient

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

func (ImagesClient) GetUploadURLForData

func (client ImagesClient) GetUploadURLForData(ctx context.Context, resourceGroupName string, hubName string, parameters GetImageUploadURLInput) (result ImageDefinition, err error)

GetUploadURLForData gets data image upload URL. Parameters: resourceGroupName - the name of the resource group. hubName - the name of the hub. parameters - parameters supplied to the GetUploadUrlForData operation.

func (ImagesClient) GetUploadURLForDataPreparer

func (client ImagesClient) GetUploadURLForDataPreparer(ctx context.Context, resourceGroupName string, hubName string, parameters GetImageUploadURLInput) (*http.Request, error)

GetUploadURLForDataPreparer prepares the GetUploadURLForData request.

func (ImagesClient) GetUploadURLForDataResponder

func (client ImagesClient) GetUploadURLForDataResponder(resp *http.Response) (result ImageDefinition, err error)

GetUploadURLForDataResponder handles the response to the GetUploadURLForData request. The method always closes the http.Response Body.

func (ImagesClient) GetUploadURLForDataSender

func (client ImagesClient) GetUploadURLForDataSender(req *http.Request) (*http.Response, error)

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

func (ImagesClient) GetUploadURLForEntityType

func (client ImagesClient) GetUploadURLForEntityType(ctx context.Context, resourceGroupName string, hubName string, parameters GetImageUploadURLInput) (result ImageDefinition, err error)

GetUploadURLForEntityType gets entity type (profile or interaction) image upload URL. Parameters: resourceGroupName - the name of the resource group. hubName - the name of the hub. parameters - parameters supplied to the GetUploadUrlForEntityType operation.

func (ImagesClient) GetUploadURLForEntityTypePreparer

func (client ImagesClient) GetUploadURLForEntityTypePreparer(ctx context.Context, resourceGroupName string, hubName string, parameters GetImageUploadURLInput) (*http.Request, error)

GetUploadURLForEntityTypePreparer prepares the GetUploadURLForEntityType request.

func (ImagesClient) GetUploadURLForEntityTypeResponder

func (client ImagesClient) GetUploadURLForEntityTypeResponder(resp *http.Response) (result ImageDefinition, err error)

GetUploadURLForEntityTypeResponder handles the response to the GetUploadURLForEntityType request. The method always closes the http.Response Body.

func (ImagesClient) GetUploadURLForEntityTypeSender

func (client ImagesClient) GetUploadURLForEntityTypeSender(req *http.Request) (*http.Response, error)

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

type InstanceOperationType

type InstanceOperationType string

InstanceOperationType enumerates the values for instance operation type.

const (
	// Delete ...
	Delete InstanceOperationType = "Delete"
	// Upsert ...
	Upsert InstanceOperationType = "Upsert"
)

func PossibleInstanceOperationTypeValues

func PossibleInstanceOperationTypeValues() []InstanceOperationType

PossibleInstanceOperationTypeValues returns an array of possible values for the InstanceOperationType const type.

type InteractionListResult

type InteractionListResult struct {
	autorest.Response `json:"-"`
	// Value - Results of the list operation.
	Value *[]InteractionResourceFormat `json:"value,omitempty"`
	// NextLink - Link to the next set of results.
	NextLink *string `json:"nextLink,omitempty"`
}

InteractionListResult the response of list interaction operation.

func (InteractionListResult) IsEmpty

func (ilr InteractionListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type InteractionListResultIterator

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

InteractionListResultIterator provides access to a complete listing of InteractionResourceFormat values.

func NewInteractionListResultIterator

func NewInteractionListResultIterator(page InteractionListResultPage) InteractionListResultIterator

Creates a new instance of the InteractionListResultIterator type.

func (*InteractionListResultIterator) Next

func (iter *InteractionListResultIterator) Next() error

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

func (*InteractionListResultIterator) NextWithContext

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

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

func (InteractionListResultIterator) NotDone

func (iter InteractionListResultIterator) NotDone() bool

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

func (InteractionListResultIterator) Response

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

func (InteractionListResultIterator) Value

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

type InteractionListResultPage

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

InteractionListResultPage contains a page of InteractionResourceFormat values.

func NewInteractionListResultPage

Creates a new instance of the InteractionListResultPage type.

func (*InteractionListResultPage) Next

func (page *InteractionListResultPage) Next() error

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

func (*InteractionListResultPage) NextWithContext

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

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

func (InteractionListResultPage) NotDone

func (page InteractionListResultPage) NotDone() bool

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

func (InteractionListResultPage) Response

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

func (InteractionListResultPage) Values

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

type InteractionResourceFormat

type InteractionResourceFormat struct {
	autorest.Response          `json:"-"`
	*InteractionTypeDefinition `json:"properties,omitempty"`
	// ID - READ-ONLY; Resource ID.
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; Resource name.
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; Resource type.
	Type *string `json:"type,omitempty"`
}

InteractionResourceFormat the interaction resource format.

func (InteractionResourceFormat) MarshalJSON

func (irf InteractionResourceFormat) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for InteractionResourceFormat.

func (*InteractionResourceFormat) UnmarshalJSON

func (irf *InteractionResourceFormat) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for InteractionResourceFormat struct.

type InteractionTypeDefinition

type InteractionTypeDefinition struct {
	// IDPropertyNames - The id property names. Properties which uniquely identify an interaction instance.
	IDPropertyNames *[]string `json:"idPropertyNames,omitempty"`
	// ParticipantProfiles - Profiles that participated in the interaction.
	ParticipantProfiles *[]Participant `json:"participantProfiles,omitempty"`
	// PrimaryParticipantProfilePropertyName - The primary participant property name for an interaction ,This is used to logically represent the agent of the interaction, Specify the participant name here from ParticipantName.
	PrimaryParticipantProfilePropertyName *string `json:"primaryParticipantProfilePropertyName,omitempty"`
	// DataSourcePrecedenceRules - READ-ONLY; This is specific to interactions modeled as activities. Data sources are used to determine where data is stored and also in precedence rules.
	DataSourcePrecedenceRules *[]DataSourcePrecedence `json:"dataSourcePrecedenceRules,omitempty"`
	// DataSource - Default data source is specifically used in cases where data source is not specified in an instance.
	*DataSource `json:"defaultDataSource,omitempty"`
	// IsActivity - An interaction can be tagged as an activity only during create. This enables the interaction to be editable and can enable merging of properties from multiple data sources based on precedence, which is defined at a link level.
	IsActivity *bool `json:"isActivity,omitempty"`
	// APIEntitySetName - The api entity set name. This becomes the odata entity set name for the entity Type being referred in this object.
	APIEntitySetName *string `json:"apiEntitySetName,omitempty"`
	// EntityType - Type of entity. Possible values include: 'EntityTypesNone', 'EntityTypesProfile', 'EntityTypesInteraction', 'EntityTypesRelationship'
	EntityType EntityTypes `json:"entityType,omitempty"`
	// Fields - The properties of the Profile.
	Fields *[]PropertyDefinition `json:"fields,omitempty"`
	// InstancesCount - The instance count.
	InstancesCount *int32 `json:"instancesCount,omitempty"`
	// LastChangedUtc - READ-ONLY; The last changed time for the type definition.
	LastChangedUtc *date.Time `json:"lastChangedUtc,omitempty"`
	// ProvisioningState - READ-ONLY; Provisioning state. Possible values include: 'ProvisioningStatesProvisioning', 'ProvisioningStatesSucceeded', 'ProvisioningStatesExpiring', 'ProvisioningStatesDeleting', 'ProvisioningStatesHumanIntervention', 'ProvisioningStatesFailed'
	ProvisioningState ProvisioningStates `json:"provisioningState,omitempty"`
	// SchemaItemTypeLink - The schema org link. This helps ACI identify and suggest semantic models.
	SchemaItemTypeLink *string `json:"schemaItemTypeLink,omitempty"`
	// TenantID - READ-ONLY; The hub name.
	TenantID *string `json:"tenantId,omitempty"`
	// TimestampFieldName - The timestamp property name. Represents the time when the interaction or profile update happened.
	TimestampFieldName *string `json:"timestampFieldName,omitempty"`
	// TypeName - The name of the entity.
	TypeName *string `json:"typeName,omitempty"`
	// Attributes - The attributes for the Type.
	Attributes map[string][]string `json:"attributes"`
	// Description - Localized descriptions for the property.
	Description map[string]*string `json:"description"`
	// DisplayName - Localized display names for the property.
	DisplayName map[string]*string `json:"displayName"`
	// LocalizedAttributes - Any custom localized attributes for the Type.
	LocalizedAttributes map[string]map[string]*string `json:"localizedAttributes"`
	// SmallImage - Small Image associated with the Property or EntityType.
	SmallImage *string `json:"smallImage,omitempty"`
	// MediumImage - Medium Image associated with the Property or EntityType.
	MediumImage *string `json:"mediumImage,omitempty"`
	// LargeImage - Large Image associated with the Property or EntityType.
	LargeImage *string `json:"largeImage,omitempty"`
}

InteractionTypeDefinition the Interaction Type Definition

func (InteractionTypeDefinition) MarshalJSON

func (itd InteractionTypeDefinition) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for InteractionTypeDefinition.

func (*InteractionTypeDefinition) UnmarshalJSON

func (itd *InteractionTypeDefinition) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for InteractionTypeDefinition struct.

type InteractionsClient

type InteractionsClient struct {
	BaseClient
}

InteractionsClient is the the Azure Customer Insights management API provides a RESTful set of web services that interact with Azure Customer Insights service to manage your resources. The API has entities that capture the relationship between an end user and the Azure Customer Insights service.

func NewInteractionsClient

func NewInteractionsClient(subscriptionID string) InteractionsClient

NewInteractionsClient creates an instance of the InteractionsClient client.

func NewInteractionsClientWithBaseURI

func NewInteractionsClientWithBaseURI(baseURI string, subscriptionID string) InteractionsClient

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

func (InteractionsClient) CreateOrUpdate

func (client InteractionsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, hubName string, interactionName string, parameters InteractionResourceFormat) (result InteractionsCreateOrUpdateFuture, err error)

CreateOrUpdate creates an interaction or updates an existing interaction within a hub. Parameters: resourceGroupName - the name of the resource group. hubName - the name of the hub. interactionName - the name of the interaction. parameters - parameters supplied to the CreateOrUpdate Interaction operation.

func (InteractionsClient) CreateOrUpdatePreparer

func (client InteractionsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, hubName string, interactionName string, parameters InteractionResourceFormat) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (InteractionsClient) CreateOrUpdateResponder

func (client InteractionsClient) CreateOrUpdateResponder(resp *http.Response) (result InteractionResourceFormat, err error)

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

func (InteractionsClient) CreateOrUpdateSender

func (client InteractionsClient) CreateOrUpdateSender(req *http.Request) (future InteractionsCreateOrUpdateFuture, err error)

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

func (InteractionsClient) Get

func (client InteractionsClient) Get(ctx context.Context, resourceGroupName string, hubName string, interactionName string, localeCode string) (result InteractionResourceFormat, err error)

Get gets information about the specified interaction. Parameters: resourceGroupName - the name of the resource group. hubName - the name of the hub. interactionName - the name of the interaction. localeCode - locale of interaction to retrieve, default is en-us.

func (InteractionsClient) GetPreparer

func (client InteractionsClient) GetPreparer(ctx context.Context, resourceGroupName string, hubName string, interactionName string, localeCode string) (*http.Request, error)

GetPreparer prepares the Get request.

func (InteractionsClient) GetResponder

func (client InteractionsClient) GetResponder(resp *http.Response) (result InteractionResourceFormat, err error)

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

func (InteractionsClient) GetSender

func (client InteractionsClient) 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 (InteractionsClient) ListByHub

func (client InteractionsClient) ListByHub(ctx context.Context, resourceGroupName string, hubName string, localeCode string) (result InteractionListResultPage, err error)

ListByHub gets all interactions in the hub. Parameters: resourceGroupName - the name of the resource group. hubName - the name of the hub. localeCode - locale of interaction to retrieve, default is en-us.

func (InteractionsClient) ListByHubComplete

func (client InteractionsClient) ListByHubComplete(ctx context.Context, resourceGroupName string, hubName string, localeCode string) (result InteractionListResultIterator, err error)

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

func (InteractionsClient) ListByHubPreparer

func (client InteractionsClient) ListByHubPreparer(ctx context.Context, resourceGroupName string, hubName string, localeCode string) (*http.Request, error)

ListByHubPreparer prepares the ListByHub request.

func (InteractionsClient) ListByHubResponder

func (client InteractionsClient) ListByHubResponder(resp *http.Response) (result InteractionListResult, err error)

ListByHubResponder handles the response to the ListByHub request. The method always closes the http.Response Body.

func (InteractionsClient) ListByHubSender

func (client InteractionsClient) ListByHubSender(req *http.Request) (*http.Response, error)

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

func (client InteractionsClient) SuggestRelationshipLinks(ctx context.Context, resourceGroupName string, hubName string, interactionName string) (result SuggestRelationshipLinksResponse, err error)

SuggestRelationshipLinks suggests relationships to create relationship links. Parameters: resourceGroupName - the name of the resource group. hubName - the name of the hub. interactionName - the name of the interaction.

func (InteractionsClient) SuggestRelationshipLinksPreparer

func (client InteractionsClient) SuggestRelationshipLinksPreparer(ctx context.Context, resourceGroupName string, hubName string, interactionName string) (*http.Request, error)

SuggestRelationshipLinksPreparer prepares the SuggestRelationshipLinks request.

func (InteractionsClient) SuggestRelationshipLinksResponder

func (client InteractionsClient) SuggestRelationshipLinksResponder(resp *http.Response) (result SuggestRelationshipLinksResponse, err error)

SuggestRelationshipLinksResponder handles the response to the SuggestRelationshipLinks request. The method always closes the http.Response Body.

func (InteractionsClient) SuggestRelationshipLinksSender

func (client InteractionsClient) SuggestRelationshipLinksSender(req *http.Request) (*http.Response, error)

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

type InteractionsCreateOrUpdateFuture

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

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

func (*InteractionsCreateOrUpdateFuture) UnmarshalJSON

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

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type KpiAlias

type KpiAlias struct {
	// AliasName - KPI alias name.
	AliasName *string `json:"aliasName,omitempty"`
	// Expression - The expression.
	Expression *string `json:"expression,omitempty"`
}

KpiAlias the KPI alias.

type KpiClient

type KpiClient struct {
	BaseClient
}

KpiClient is the the Azure Customer Insights management API provides a RESTful set of web services that interact with Azure Customer Insights service to manage your resources. The API has entities that capture the relationship between an end user and the Azure Customer Insights service.

func NewKpiClient

func NewKpiClient(subscriptionID string) KpiClient

NewKpiClient creates an instance of the KpiClient client.

func NewKpiClientWithBaseURI

func NewKpiClientWithBaseURI(baseURI string, subscriptionID string) KpiClient

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

func (KpiClient) CreateOrUpdate

func (client KpiClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, hubName string, kpiName string, parameters KpiResourceFormat) (result KpiCreateOrUpdateFuture, err error)

CreateOrUpdate creates a KPI or updates an existing KPI in the hub. Parameters: resourceGroupName - the name of the resource group. hubName - the name of the hub. kpiName - the name of the KPI. parameters - parameters supplied to the create/update KPI operation.

func (KpiClient) CreateOrUpdatePreparer

func (client KpiClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, hubName string, kpiName string, parameters KpiResourceFormat) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (KpiClient) CreateOrUpdateResponder

func (client KpiClient) CreateOrUpdateResponder(resp *http.Response) (result KpiResourceFormat, err error)

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

func (KpiClient) CreateOrUpdateSender

func (client KpiClient) CreateOrUpdateSender(req *http.Request) (future KpiCreateOrUpdateFuture, err error)

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

func (KpiClient) Delete

func (client KpiClient) Delete(ctx context.Context, resourceGroupName string, hubName string, kpiName string) (result KpiDeleteFuture, err error)

Delete deletes a KPI in the hub. Parameters: resourceGroupName - the name of the resource group. hubName - the name of the hub. kpiName - the name of the KPI.

func (KpiClient) DeletePreparer

func (client KpiClient) DeletePreparer(ctx context.Context, resourceGroupName string, hubName string, kpiName string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (KpiClient) DeleteResponder

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

func (client KpiClient) DeleteSender(req *http.Request) (future KpiDeleteFuture, err error)

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

func (KpiClient) Get

func (client KpiClient) Get(ctx context.Context, resourceGroupName string, hubName string, kpiName string) (result KpiResourceFormat, err error)

Get gets a KPI in the hub. Parameters: resourceGroupName - the name of the resource group. hubName - the name of the hub. kpiName - the name of the KPI.

func (KpiClient) GetPreparer

func (client KpiClient) GetPreparer(ctx context.Context, resourceGroupName string, hubName string, kpiName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (KpiClient) GetResponder

func (client KpiClient) GetResponder(resp *http.Response) (result KpiResourceFormat, err error)

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

func (KpiClient) GetSender

func (client KpiClient) 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 (KpiClient) ListByHub

func (client KpiClient) ListByHub(ctx context.Context, resourceGroupName string, hubName string) (result KpiListResultPage, err error)

ListByHub gets all the KPIs in the specified hub. Parameters: resourceGroupName - the name of the resource group. hubName - the name of the hub.

func (KpiClient) ListByHubComplete

func (client KpiClient) ListByHubComplete(ctx context.Context, resourceGroupName string, hubName string) (result KpiListResultIterator, err error)

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

func (KpiClient) ListByHubPreparer

func (client KpiClient) ListByHubPreparer(ctx context.Context, resourceGroupName string, hubName string) (*http.Request, error)

ListByHubPreparer prepares the ListByHub request.

func (KpiClient) ListByHubResponder

func (client KpiClient) ListByHubResponder(resp *http.Response) (result KpiListResult, err error)

ListByHubResponder handles the response to the ListByHub request. The method always closes the http.Response Body.

func (KpiClient) ListByHubSender

func (client KpiClient) ListByHubSender(req *http.Request) (*http.Response, error)

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

func (KpiClient) Reprocess

func (client KpiClient) Reprocess(ctx context.Context, resourceGroupName string, hubName string, kpiName string) (result autorest.Response, err error)

Reprocess reprocesses the Kpi values of the specified KPI. Parameters: resourceGroupName - the name of the resource group. hubName - the name of the hub. kpiName - the name of the KPI.

func (KpiClient) ReprocessPreparer

func (client KpiClient) ReprocessPreparer(ctx context.Context, resourceGroupName string, hubName string, kpiName string) (*http.Request, error)

ReprocessPreparer prepares the Reprocess request.

func (KpiClient) ReprocessResponder

func (client KpiClient) ReprocessResponder(resp *http.Response) (result autorest.Response, err error)

ReprocessResponder handles the response to the Reprocess request. The method always closes the http.Response Body.

func (KpiClient) ReprocessSender

func (client KpiClient) ReprocessSender(req *http.Request) (*http.Response, error)

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

type KpiCreateOrUpdateFuture

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

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

func (*KpiCreateOrUpdateFuture) UnmarshalJSON

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

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type KpiDefinition

type KpiDefinition struct {
	// EntityType - The mapping entity type. Possible values include: 'EntityTypesNone', 'EntityTypesProfile', 'EntityTypesInteraction', 'EntityTypesRelationship'
	EntityType EntityTypes `json:"entityType,omitempty"`
	// EntityTypeName - The mapping entity name.
	EntityTypeName *string `json:"entityTypeName,omitempty"`
	// TenantID - READ-ONLY; The hub name.
	TenantID *string `json:"tenantId,omitempty"`
	// KpiName - READ-ONLY; The KPI name.
	KpiName *string `json:"kpiName,omitempty"`
	// DisplayName - Localized display name for the KPI.
	DisplayName map[string]*string `json:"displayName"`
	// Description - Localized description for the KPI.
	Description map[string]*string `json:"description"`
	// CalculationWindow - The calculation window. Possible values include: 'Lifetime', 'Hour', 'Day', 'Week', 'Month'
	CalculationWindow CalculationWindowTypes `json:"calculationWindow,omitempty"`
	// CalculationWindowFieldName - Name of calculation window field.
	CalculationWindowFieldName *string `json:"calculationWindowFieldName,omitempty"`
	// Function - The computation function for the KPI. Possible values include: 'KpiFunctionsSum', 'KpiFunctionsAvg', 'KpiFunctionsMin', 'KpiFunctionsMax', 'KpiFunctionsLast', 'KpiFunctionsCount', 'KpiFunctionsNone', 'KpiFunctionsCountDistinct'
	Function KpiFunctions `json:"function,omitempty"`
	// Expression - The computation expression for the KPI.
	Expression *string `json:"expression,omitempty"`
	// Unit - The unit of measurement for the KPI.
	Unit *string `json:"unit,omitempty"`
	// Filter - The filter expression for the KPI.
	Filter *string `json:"filter,omitempty"`
	// GroupBy - the group by properties for the KPI.
	GroupBy *[]string `json:"groupBy,omitempty"`
	// GroupByMetadata - READ-ONLY; The KPI GroupByMetadata.
	GroupByMetadata *[]KpiGroupByMetadata `json:"groupByMetadata,omitempty"`
	// ParticipantProfilesMetadata - READ-ONLY; The participant profiles.
	ParticipantProfilesMetadata *[]KpiParticipantProfilesMetadata `json:"participantProfilesMetadata,omitempty"`
	// ProvisioningState - READ-ONLY; Provisioning state. Possible values include: 'ProvisioningStatesProvisioning', 'ProvisioningStatesSucceeded', 'ProvisioningStatesExpiring', 'ProvisioningStatesDeleting', 'ProvisioningStatesHumanIntervention', 'ProvisioningStatesFailed'
	ProvisioningState ProvisioningStates `json:"provisioningState,omitempty"`
	// ThresHolds - The KPI thresholds.
	ThresHolds *KpiThresholds `json:"thresHolds,omitempty"`
	// Aliases - The aliases.
	Aliases *[]KpiAlias `json:"aliases,omitempty"`
	// Extracts - The KPI extracts.
	Extracts *[]KpiExtract `json:"extracts,omitempty"`
}

KpiDefinition defines the KPI Threshold limits.

func (KpiDefinition) MarshalJSON

func (kd KpiDefinition) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for KpiDefinition.

type KpiDeleteFuture

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

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

func (*KpiDeleteFuture) UnmarshalJSON

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

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type KpiExtract

type KpiExtract struct {
	// ExtractName - KPI extract name.
	ExtractName *string `json:"extractName,omitempty"`
	// Expression - The expression.
	Expression *string `json:"expression,omitempty"`
}

KpiExtract the KPI extract.

type KpiFunctions

type KpiFunctions string

KpiFunctions enumerates the values for kpi functions.

const (
	// KpiFunctionsAvg ...
	KpiFunctionsAvg KpiFunctions = "Avg"
	// KpiFunctionsCount ...
	KpiFunctionsCount KpiFunctions = "Count"
	// KpiFunctionsCountDistinct ...
	KpiFunctionsCountDistinct KpiFunctions = "CountDistinct"
	// KpiFunctionsLast ...
	KpiFunctionsLast KpiFunctions = "Last"
	// KpiFunctionsMax ...
	KpiFunctionsMax KpiFunctions = "Max"
	// KpiFunctionsMin ...
	KpiFunctionsMin KpiFunctions = "Min"
	// KpiFunctionsNone ...
	KpiFunctionsNone KpiFunctions = "None"
	// KpiFunctionsSum ...
	KpiFunctionsSum KpiFunctions = "Sum"
)

func PossibleKpiFunctionsValues

func PossibleKpiFunctionsValues() []KpiFunctions

PossibleKpiFunctionsValues returns an array of possible values for the KpiFunctions const type.

type KpiGroupByMetadata

type KpiGroupByMetadata struct {
	// DisplayName - The display name.
	DisplayName map[string]*string `json:"displayName"`
	// FieldName - The name of the field.
	FieldName *string `json:"fieldName,omitempty"`
	// FieldType - The type of the field.
	FieldType *string `json:"fieldType,omitempty"`
}

KpiGroupByMetadata the KPI GroupBy field metadata.

func (KpiGroupByMetadata) MarshalJSON

func (kgbm KpiGroupByMetadata) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for KpiGroupByMetadata.

type KpiListResult

type KpiListResult struct {
	autorest.Response `json:"-"`
	// Value - Results of the list operation.
	Value *[]KpiResourceFormat `json:"value,omitempty"`
	// NextLink - Link to the next set of results.
	NextLink *string `json:"nextLink,omitempty"`
}

KpiListResult the response of list KPI operation.

func (KpiListResult) IsEmpty

func (klr KpiListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type KpiListResultIterator

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

KpiListResultIterator provides access to a complete listing of KpiResourceFormat values.

func NewKpiListResultIterator

func NewKpiListResultIterator(page KpiListResultPage) KpiListResultIterator

Creates a new instance of the KpiListResultIterator type.

func (*KpiListResultIterator) Next

func (iter *KpiListResultIterator) Next() error

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

func (*KpiListResultIterator) NextWithContext

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

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

func (KpiListResultIterator) NotDone

func (iter KpiListResultIterator) NotDone() bool

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

func (KpiListResultIterator) Response

func (iter KpiListResultIterator) Response() KpiListResult

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

func (KpiListResultIterator) Value

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

type KpiListResultPage

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

KpiListResultPage contains a page of KpiResourceFormat values.

func NewKpiListResultPage

func NewKpiListResultPage(cur KpiListResult, getNextPage func(context.Context, KpiListResult) (KpiListResult, error)) KpiListResultPage

Creates a new instance of the KpiListResultPage type.

func (*KpiListResultPage) Next

func (page *KpiListResultPage) Next() error

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

func (*KpiListResultPage) NextWithContext

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

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

func (KpiListResultPage) NotDone

func (page KpiListResultPage) NotDone() bool

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

func (KpiListResultPage) Response

func (page KpiListResultPage) Response() KpiListResult

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

func (KpiListResultPage) Values

func (page KpiListResultPage) Values() []KpiResourceFormat

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

type KpiParticipantProfilesMetadata

type KpiParticipantProfilesMetadata struct {
	// TypeName - Name of the type.
	TypeName *string `json:"typeName,omitempty"`
}

KpiParticipantProfilesMetadata the KPI participant profile metadata.

type KpiResourceFormat

type KpiResourceFormat struct {
	autorest.Response `json:"-"`
	*KpiDefinition    `json:"properties,omitempty"`
	// ID - READ-ONLY; Resource ID.
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; Resource name.
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; Resource type.
	Type *string `json:"type,omitempty"`
}

KpiResourceFormat the KPI resource format.

func (KpiResourceFormat) MarshalJSON

func (krf KpiResourceFormat) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for KpiResourceFormat.

func (*KpiResourceFormat) UnmarshalJSON

func (krf *KpiResourceFormat) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for KpiResourceFormat struct.

type KpiThresholds

type KpiThresholds struct {
	// LowerLimit - The lower threshold limit.
	LowerLimit *decimal.Decimal `json:"lowerLimit,omitempty"`
	// UpperLimit - The upper threshold limit.
	UpperLimit *decimal.Decimal `json:"upperLimit,omitempty"`
	// IncreasingKpi - Whether or not the KPI is an increasing KPI.
	IncreasingKpi *bool `json:"increasingKpi,omitempty"`
}

KpiThresholds defines the KPI Threshold limits.

type LinkDefinition

type LinkDefinition struct {
	// TenantID - READ-ONLY; The hub name.
	TenantID *string `json:"tenantId,omitempty"`
	// LinkName - READ-ONLY; The link name.
	LinkName *string `json:"linkName,omitempty"`
	// SourceEntityType - Type of source entity. Possible values include: 'EntityTypeNone', 'EntityTypeProfile', 'EntityTypeInteraction', 'EntityTypeRelationship'
	SourceEntityType EntityType `json:"sourceEntityType,omitempty"`
	// TargetEntityType - Type of target entity. Possible values include: 'EntityTypeNone', 'EntityTypeProfile', 'EntityTypeInteraction', 'EntityTypeRelationship'
	TargetEntityType EntityType `json:"targetEntityType,omitempty"`
	// SourceEntityTypeName - Name of the source Entity Type.
	SourceEntityTypeName *string `json:"sourceEntityTypeName,omitempty"`
	// TargetEntityTypeName - Name of the target Entity Type.
	TargetEntityTypeName *string `json:"targetEntityTypeName,omitempty"`
	// DisplayName - Localized display name for the Link.
	DisplayName map[string]*string `json:"displayName"`
	// Description - Localized descriptions for the Link.
	Description map[string]*string `json:"description"`
	// Mappings - The set of properties mappings between the source and target Types.
	Mappings *[]TypePropertiesMapping `json:"mappings,omitempty"`
	// ParticipantPropertyReferences - The properties that represent the participating profile.
	ParticipantPropertyReferences *[]ParticipantPropertyReference `json:"participantPropertyReferences,omitempty"`
	// ProvisioningState - READ-ONLY; Provisioning state. Possible values include: 'ProvisioningStatesProvisioning', 'ProvisioningStatesSucceeded', 'ProvisioningStatesExpiring', 'ProvisioningStatesDeleting', 'ProvisioningStatesHumanIntervention', 'ProvisioningStatesFailed'
	ProvisioningState ProvisioningStates `json:"provisioningState,omitempty"`
	// ReferenceOnly - Indicating whether the link is reference only link. This flag is ignored if the Mappings are defined. If the mappings are not defined and it is set to true, links processing will not create or update profiles.
	ReferenceOnly *bool `json:"referenceOnly,omitempty"`
	// OperationType - Determines whether this link is supposed to create or delete instances if Link is NOT Reference Only. Possible values include: 'Upsert', 'Delete'
	OperationType InstanceOperationType `json:"operationType,omitempty"`
}

LinkDefinition the definition of Link.

func (LinkDefinition) MarshalJSON

func (ld LinkDefinition) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for LinkDefinition.

type LinkListResult

type LinkListResult struct {
	autorest.Response `json:"-"`
	// Value - Results of the list operation.
	Value *[]LinkResourceFormat `json:"value,omitempty"`
	// NextLink - Link to the next set of results.
	NextLink *string `json:"nextLink,omitempty"`
}

LinkListResult the response of list link operation.

func (LinkListResult) IsEmpty

func (llr LinkListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type LinkListResultIterator

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

LinkListResultIterator provides access to a complete listing of LinkResourceFormat values.

func NewLinkListResultIterator

func NewLinkListResultIterator(page LinkListResultPage) LinkListResultIterator

Creates a new instance of the LinkListResultIterator type.

func (*LinkListResultIterator) Next

func (iter *LinkListResultIterator) Next() error

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

func (*LinkListResultIterator) NextWithContext

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

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

func (LinkListResultIterator) NotDone

func (iter LinkListResultIterator) NotDone() bool

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

func (LinkListResultIterator) Response

func (iter LinkListResultIterator) Response() LinkListResult

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

func (LinkListResultIterator) Value

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

type LinkListResultPage

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

LinkListResultPage contains a page of LinkResourceFormat values.

func NewLinkListResultPage

func NewLinkListResultPage(cur LinkListResult, getNextPage func(context.Context, LinkListResult) (LinkListResult, error)) LinkListResultPage

Creates a new instance of the LinkListResultPage type.

func (*LinkListResultPage) Next

func (page *LinkListResultPage) Next() error

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

func (*LinkListResultPage) NextWithContext

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

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

func (LinkListResultPage) NotDone

func (page LinkListResultPage) NotDone() bool

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

func (LinkListResultPage) Response

func (page LinkListResultPage) Response() LinkListResult

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

func (LinkListResultPage) Values

func (page LinkListResultPage) Values() []LinkResourceFormat

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

type LinkResourceFormat

type LinkResourceFormat struct {
	autorest.Response `json:"-"`
	*LinkDefinition   `json:"properties,omitempty"`
	// ID - READ-ONLY; Resource ID.
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; Resource name.
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; Resource type.
	Type *string `json:"type,omitempty"`
}

LinkResourceFormat the link resource format.

func (LinkResourceFormat) MarshalJSON

func (lrf LinkResourceFormat) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for LinkResourceFormat.

func (*LinkResourceFormat) UnmarshalJSON

func (lrf *LinkResourceFormat) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for LinkResourceFormat struct.

type LinkTypes

type LinkTypes string

LinkTypes enumerates the values for link types.

const (
	// CopyIfNull ...
	CopyIfNull LinkTypes = "CopyIfNull"
	// UpdateAlways ...
	UpdateAlways LinkTypes = "UpdateAlways"
)

func PossibleLinkTypesValues

func PossibleLinkTypesValues() []LinkTypes

PossibleLinkTypesValues returns an array of possible values for the LinkTypes const type.

type LinksClient

type LinksClient struct {
	BaseClient
}

LinksClient is the the Azure Customer Insights management API provides a RESTful set of web services that interact with Azure Customer Insights service to manage your resources. The API has entities that capture the relationship between an end user and the Azure Customer Insights service.

func NewLinksClient

func NewLinksClient(subscriptionID string) LinksClient

NewLinksClient creates an instance of the LinksClient client.

func NewLinksClientWithBaseURI

func NewLinksClientWithBaseURI(baseURI string, subscriptionID string) LinksClient

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

func (LinksClient) CreateOrUpdate

func (client LinksClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, hubName string, linkName string, parameters LinkResourceFormat) (result LinksCreateOrUpdateFuture, err error)

CreateOrUpdate creates a link or updates an existing link in the hub. Parameters: resourceGroupName - the name of the resource group. hubName - the name of the hub. linkName - the name of the link. parameters - parameters supplied to the CreateOrUpdate Link operation.

func (LinksClient) CreateOrUpdatePreparer

func (client LinksClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, hubName string, linkName string, parameters LinkResourceFormat) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (LinksClient) CreateOrUpdateResponder

func (client LinksClient) CreateOrUpdateResponder(resp *http.Response) (result LinkResourceFormat, err error)

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

func (LinksClient) CreateOrUpdateSender

func (client LinksClient) CreateOrUpdateSender(req *http.Request) (future LinksCreateOrUpdateFuture, err error)

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

func (LinksClient) Delete

func (client LinksClient) Delete(ctx context.Context, resourceGroupName string, hubName string, linkName string) (result autorest.Response, err error)

Delete deletes a link in the hub. Parameters: resourceGroupName - the name of the resource group. hubName - the name of the hub. linkName - the name of the link.

func (LinksClient) DeletePreparer

func (client LinksClient) DeletePreparer(ctx context.Context, resourceGroupName string, hubName string, linkName string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (LinksClient) DeleteResponder

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

func (client LinksClient) 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 (LinksClient) Get

func (client LinksClient) Get(ctx context.Context, resourceGroupName string, hubName string, linkName string) (result LinkResourceFormat, err error)

Get gets a link in the hub. Parameters: resourceGroupName - the name of the resource group. hubName - the name of the hub. linkName - the name of the link.

func (LinksClient) GetPreparer

func (client LinksClient) GetPreparer(ctx context.Context, resourceGroupName string, hubName string, linkName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (LinksClient) GetResponder

func (client LinksClient) GetResponder(resp *http.Response) (result LinkResourceFormat, err error)

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

func (LinksClient) GetSender

func (client LinksClient) 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 (LinksClient) ListByHub

func (client LinksClient) ListByHub(ctx context.Context, resourceGroupName string, hubName string) (result LinkListResultPage, err error)

ListByHub gets all the links in the specified hub. Parameters: resourceGroupName - the name of the resource group. hubName - the name of the hub.

func (LinksClient) ListByHubComplete

func (client LinksClient) ListByHubComplete(ctx context.Context, resourceGroupName string, hubName string) (result LinkListResultIterator, err error)

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

func (LinksClient) ListByHubPreparer

func (client LinksClient) ListByHubPreparer(ctx context.Context, resourceGroupName string, hubName string) (*http.Request, error)

ListByHubPreparer prepares the ListByHub request.

func (LinksClient) ListByHubResponder

func (client LinksClient) ListByHubResponder(resp *http.Response) (result LinkListResult, err error)

ListByHubResponder handles the response to the ListByHub request. The method always closes the http.Response Body.

func (LinksClient) ListByHubSender

func (client LinksClient) ListByHubSender(req *http.Request) (*http.Response, error)

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

type LinksCreateOrUpdateFuture

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

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

func (*LinksCreateOrUpdateFuture) UnmarshalJSON

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

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type ListKpiDefinition

type ListKpiDefinition struct {
	autorest.Response `json:"-"`
	Value             *[]KpiDefinition `json:"value,omitempty"`
}

ListKpiDefinition ...

type MetadataDefinitionBase

type MetadataDefinitionBase struct {
	// Attributes - The attributes for the Type.
	Attributes map[string][]string `json:"attributes"`
	// Description - Localized descriptions for the property.
	Description map[string]*string `json:"description"`
	// DisplayName - Localized display names for the property.
	DisplayName map[string]*string `json:"displayName"`
	// LocalizedAttributes - Any custom localized attributes for the Type.
	LocalizedAttributes map[string]map[string]*string `json:"localizedAttributes"`
	// SmallImage - Small Image associated with the Property or EntityType.
	SmallImage *string `json:"smallImage,omitempty"`
	// MediumImage - Medium Image associated with the Property or EntityType.
	MediumImage *string `json:"mediumImage,omitempty"`
	// LargeImage - Large Image associated with the Property or EntityType.
	LargeImage *string `json:"largeImage,omitempty"`
}

MetadataDefinitionBase the Metadata definition base.

func (MetadataDefinitionBase) MarshalJSON

func (mdb MetadataDefinitionBase) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for MetadataDefinitionBase.

type Operation

type Operation struct {
	// Name - READ-ONLY; Operation name: {provider}/{resource}/{operation}
	Name *string `json:"name,omitempty"`
	// Display - The object that represents the operation.
	Display *OperationDisplay `json:"display,omitempty"`
}

Operation a Customer Insights REST API operation

func (Operation) MarshalJSON

func (o Operation) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for Operation.

type OperationDisplay

type OperationDisplay struct {
	// Provider - READ-ONLY; Service provider: Microsoft.CustomerInsights
	Provider *string `json:"provider,omitempty"`
	// Resource - READ-ONLY; Resource on which the operation is performed: Invoice, etc.
	Resource *string `json:"resource,omitempty"`
	// Operation - READ-ONLY; Operation type: Read, write, delete, etc.
	Operation *string `json:"operation,omitempty"`
}

OperationDisplay the object that represents the operation.

func (OperationDisplay) MarshalJSON

func (o OperationDisplay) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for OperationDisplay.

type OperationListResult

type OperationListResult struct {
	autorest.Response `json:"-"`
	// Value - READ-ONLY; List of Customer Insights operations supported by the Microsoft.CustomerInsights resource provider.
	Value *[]Operation `json:"value,omitempty"`
	// NextLink - READ-ONLY; URL to get the next set of operation list results if there are any.
	NextLink *string `json:"nextLink,omitempty"`
}

OperationListResult result of the request to list Customer Insights operations. It contains a list of operations and a URL link to get the next set of results.

func (OperationListResult) IsEmpty

func (olr OperationListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

func (OperationListResult) MarshalJSON

func (olr OperationListResult) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for OperationListResult.

type OperationListResultIterator

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

OperationListResultIterator provides access to a complete listing of Operation values.

func NewOperationListResultIterator

func NewOperationListResultIterator(page OperationListResultPage) OperationListResultIterator

Creates a new instance of the OperationListResultIterator type.

func (*OperationListResultIterator) Next

func (iter *OperationListResultIterator) Next() error

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

func (*OperationListResultIterator) NextWithContext

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

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

func (OperationListResultIterator) NotDone

func (iter OperationListResultIterator) NotDone() bool

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

func (OperationListResultIterator) Response

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

func (OperationListResultIterator) Value

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

type OperationListResultPage

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

OperationListResultPage contains a page of Operation values.

func NewOperationListResultPage

func NewOperationListResultPage(cur OperationListResult, getNextPage func(context.Context, OperationListResult) (OperationListResult, error)) OperationListResultPage

Creates a new instance of the OperationListResultPage type.

func (*OperationListResultPage) Next

func (page *OperationListResultPage) Next() error

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

func (*OperationListResultPage) NextWithContext

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

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

func (OperationListResultPage) NotDone

func (page OperationListResultPage) NotDone() bool

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

func (OperationListResultPage) Response

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

func (OperationListResultPage) Values

func (page OperationListResultPage) 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 the Azure Customer Insights management API provides a RESTful set of web services that interact with Azure Customer Insights service to manage your resources. The API has entities that capture the relationship between an end user and the Azure Customer Insights service.

func NewOperationsClient

func NewOperationsClient(subscriptionID string) OperationsClient

NewOperationsClient creates an instance of the OperationsClient client.

func NewOperationsClientWithBaseURI

func NewOperationsClientWithBaseURI(baseURI string, subscriptionID string) OperationsClient

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

func (OperationsClient) List

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

List lists all of the available Customer Insights REST API operations.

func (OperationsClient) ListComplete

func (client OperationsClient) ListComplete(ctx context.Context) (result OperationListResultIterator, 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 OperationListResult, 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 Participant

type Participant struct {
	// ProfileTypeName - Profile type name.
	ProfileTypeName *string `json:"profileTypeName,omitempty"`
	// ParticipantPropertyReferences - The property references.
	ParticipantPropertyReferences *[]ParticipantPropertyReference `json:"participantPropertyReferences,omitempty"`
	// ParticipantName - Participant name.
	ParticipantName *string `json:"participantName,omitempty"`
	// DisplayName - Localized display name.
	DisplayName map[string]*string `json:"displayName"`
	// Description - Localized descriptions.
	Description map[string]*string `json:"description"`
	// Role - The role that the participant is playing in the interaction.
	Role *string `json:"role,omitempty"`
}

Participant describes a profile type participating in an interaction.

func (Participant) MarshalJSON

func (p Participant) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for Participant.

type ParticipantProfilePropertyReference

type ParticipantProfilePropertyReference struct {
	// InteractionPropertyName - The source interaction property that maps to the target profile property.
	InteractionPropertyName *string `json:"interactionPropertyName,omitempty"`
	// ProfilePropertyName - The target profile property that maps to the source interaction property.
	ProfilePropertyName *string `json:"profilePropertyName,omitempty"`
}

ParticipantProfilePropertyReference the participant profile property reference.

type ParticipantPropertyReference

type ParticipantPropertyReference struct {
	// SourcePropertyName - The source property that maps to the target property.
	SourcePropertyName *string `json:"sourcePropertyName,omitempty"`
	// TargetPropertyName - The target property that maps to the source property.
	TargetPropertyName *string `json:"targetPropertyName,omitempty"`
}

ParticipantPropertyReference the participant property reference.

type PermissionTypes

type PermissionTypes string

PermissionTypes enumerates the values for permission types.

const (
	// Manage ...
	Manage PermissionTypes = "Manage"
	// Read ...
	Read PermissionTypes = "Read"
	// Write ...
	Write PermissionTypes = "Write"
)

func PossiblePermissionTypesValues

func PossiblePermissionTypesValues() []PermissionTypes

PossiblePermissionTypesValues returns an array of possible values for the PermissionTypes const type.

type Prediction

type Prediction struct {
	// Description - Description of the prediction.
	Description map[string]*string `json:"description"`
	// DisplayName - Display name of the prediction.
	DisplayName map[string]*string `json:"displayName"`
	// InvolvedInteractionTypes - Interaction types involved in the prediction.
	InvolvedInteractionTypes *[]string `json:"involvedInteractionTypes,omitempty"`
	// InvolvedKpiTypes - KPI types involved in the prediction.
	InvolvedKpiTypes *[]string `json:"involvedKpiTypes,omitempty"`
	// InvolvedRelationships - Relationships involved in the prediction.
	InvolvedRelationships *[]string `json:"involvedRelationships,omitempty"`
	// NegativeOutcomeExpression - Negative outcome expression.
	NegativeOutcomeExpression *string `json:"negativeOutcomeExpression,omitempty"`
	// PositiveOutcomeExpression - Positive outcome expression.
	PositiveOutcomeExpression *string `json:"positiveOutcomeExpression,omitempty"`
	// PrimaryProfileType - Primary profile type.
	PrimaryProfileType *string `json:"primaryProfileType,omitempty"`
	// ProvisioningState - READ-ONLY; Provisioning state. Possible values include: 'ProvisioningStatesProvisioning', 'ProvisioningStatesSucceeded', 'ProvisioningStatesExpiring', 'ProvisioningStatesDeleting', 'ProvisioningStatesHumanIntervention', 'ProvisioningStatesFailed'
	ProvisioningState ProvisioningStates `json:"provisioningState,omitempty"`
	// PredictionName - Name of the prediction.
	PredictionName *string `json:"predictionName,omitempty"`
	// ScopeExpression - Scope expression.
	ScopeExpression *string `json:"scopeExpression,omitempty"`
	// TenantID - READ-ONLY; The hub name.
	TenantID *string `json:"tenantId,omitempty"`
	// AutoAnalyze - Whether do auto analyze.
	AutoAnalyze *bool `json:"autoAnalyze,omitempty"`
	// Mappings - Definition of the link mapping of prediction.
	Mappings *PredictionMappings `json:"mappings,omitempty"`
	// ScoreLabel - Score label.
	ScoreLabel *string `json:"scoreLabel,omitempty"`
	// Grades - The prediction grades.
	Grades *[]PredictionGradesItem `json:"grades,omitempty"`
	// SystemGeneratedEntities - READ-ONLY; System generated entities.
	SystemGeneratedEntities *PredictionSystemGeneratedEntities `json:"systemGeneratedEntities,omitempty"`
}

Prediction the prediction definition.

func (Prediction) MarshalJSON

func (p Prediction) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for Prediction.

type PredictionDistributionDefinition

type PredictionDistributionDefinition struct {
	// TotalPositives - Total positive in the distribution.
	TotalPositives *int64 `json:"totalPositives,omitempty"`
	// TotalNegatives - Total negatives in the distribution.
	TotalNegatives *int64 `json:"totalNegatives,omitempty"`
	// Distributions - Distributions of the prediction.
	Distributions *[]PredictionDistributionDefinitionDistributionsItem `json:"distributions,omitempty"`
}

PredictionDistributionDefinition the definition of the prediction distribution.

type PredictionDistributionDefinitionDistributionsItem

type PredictionDistributionDefinitionDistributionsItem struct {
	// ScoreThreshold - Score threshold.
	ScoreThreshold *int32 `json:"scoreThreshold,omitempty"`
	// Positives - Number of positives.
	Positives *int64 `json:"positives,omitempty"`
	// Negatives - Number of negatives.
	Negatives *int64 `json:"negatives,omitempty"`
	// PositivesAboveThreshold - Number of positives above threshold.
	PositivesAboveThreshold *int64 `json:"positivesAboveThreshold,omitempty"`
	// NegativesAboveThreshold - Number of negatives above threshold.
	NegativesAboveThreshold *int64 `json:"negativesAboveThreshold,omitempty"`
}

PredictionDistributionDefinitionDistributionsItem the definition of a prediction distribution.

type PredictionGradesItem

type PredictionGradesItem struct {
	// GradeName - Name of the grade.
	GradeName *string `json:"gradeName,omitempty"`
	// MinScoreThreshold - Minimum score threshold.
	MinScoreThreshold *int32 `json:"minScoreThreshold,omitempty"`
	// MaxScoreThreshold - Maximum score threshold.
	MaxScoreThreshold *int32 `json:"maxScoreThreshold,omitempty"`
}

PredictionGradesItem the definition of a prediction grade.

type PredictionListResult

type PredictionListResult struct {
	autorest.Response `json:"-"`
	// Value - Results of the list operation.
	Value *[]PredictionResourceFormat `json:"value,omitempty"`
	// NextLink - Link to the next set of results.
	NextLink *string `json:"nextLink,omitempty"`
}

PredictionListResult the response of list predictions operation.

func (PredictionListResult) IsEmpty

func (plr PredictionListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type PredictionListResultIterator

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

PredictionListResultIterator provides access to a complete listing of PredictionResourceFormat values.

func NewPredictionListResultIterator

func NewPredictionListResultIterator(page PredictionListResultPage) PredictionListResultIterator

Creates a new instance of the PredictionListResultIterator type.

func (*PredictionListResultIterator) Next

func (iter *PredictionListResultIterator) Next() error

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

func (*PredictionListResultIterator) NextWithContext

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

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

func (PredictionListResultIterator) NotDone

func (iter PredictionListResultIterator) NotDone() bool

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

func (PredictionListResultIterator) Response

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

func (PredictionListResultIterator) Value

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

type PredictionListResultPage

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

PredictionListResultPage contains a page of PredictionResourceFormat values.

func NewPredictionListResultPage

func NewPredictionListResultPage(cur PredictionListResult, getNextPage func(context.Context, PredictionListResult) (PredictionListResult, error)) PredictionListResultPage

Creates a new instance of the PredictionListResultPage type.

func (*PredictionListResultPage) Next

func (page *PredictionListResultPage) Next() error

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

func (*PredictionListResultPage) NextWithContext

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

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

func (PredictionListResultPage) NotDone

func (page PredictionListResultPage) NotDone() bool

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

func (PredictionListResultPage) Response

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

func (PredictionListResultPage) Values

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

type PredictionMappings

type PredictionMappings struct {
	// Score - The score of the link mapping.
	Score *string `json:"score,omitempty"`
	// Grade - The grade of the link mapping.
	Grade *string `json:"grade,omitempty"`
	// Reason - The reason of the link mapping.
	Reason *string `json:"reason,omitempty"`
}

PredictionMappings definition of the link mapping of prediction.

type PredictionModelLifeCycle

type PredictionModelLifeCycle string

PredictionModelLifeCycle enumerates the values for prediction model life cycle.

const (
	// PredictionModelLifeCycleActive ...
	PredictionModelLifeCycleActive PredictionModelLifeCycle = "Active"
	// PredictionModelLifeCycleDeleted ...
	PredictionModelLifeCycleDeleted PredictionModelLifeCycle = "Deleted"
	// PredictionModelLifeCycleDiscovering ...
	PredictionModelLifeCycleDiscovering PredictionModelLifeCycle = "Discovering"
	// PredictionModelLifeCycleEvaluating ...
	PredictionModelLifeCycleEvaluating PredictionModelLifeCycle = "Evaluating"
	// PredictionModelLifeCycleEvaluatingFailed ...
	PredictionModelLifeCycleEvaluatingFailed PredictionModelLifeCycle = "EvaluatingFailed"
	// PredictionModelLifeCycleFailed ...
	PredictionModelLifeCycleFailed PredictionModelLifeCycle = "Failed"
	// PredictionModelLifeCycleFeaturing ...
	PredictionModelLifeCycleFeaturing PredictionModelLifeCycle = "Featuring"
	// PredictionModelLifeCycleFeaturingFailed ...
	PredictionModelLifeCycleFeaturingFailed PredictionModelLifeCycle = "FeaturingFailed"
	// PredictionModelLifeCycleHumanIntervention ...
	PredictionModelLifeCycleHumanIntervention PredictionModelLifeCycle = "HumanIntervention"
	// PredictionModelLifeCycleNew ...
	PredictionModelLifeCycleNew PredictionModelLifeCycle = "New"
	// PredictionModelLifeCyclePendingDiscovering ...
	PredictionModelLifeCyclePendingDiscovering PredictionModelLifeCycle = "PendingDiscovering"
	// PredictionModelLifeCyclePendingFeaturing ...
	PredictionModelLifeCyclePendingFeaturing PredictionModelLifeCycle = "PendingFeaturing"
	// PredictionModelLifeCyclePendingModelConfirmation ...
	PredictionModelLifeCyclePendingModelConfirmation PredictionModelLifeCycle = "PendingModelConfirmation"
	// PredictionModelLifeCyclePendingTraining ...
	PredictionModelLifeCyclePendingTraining PredictionModelLifeCycle = "PendingTraining"
	// PredictionModelLifeCycleProvisioning ...
	PredictionModelLifeCycleProvisioning PredictionModelLifeCycle = "Provisioning"
	// PredictionModelLifeCycleProvisioningFailed ...
	PredictionModelLifeCycleProvisioningFailed PredictionModelLifeCycle = "ProvisioningFailed"
	// PredictionModelLifeCycleTraining ...
	PredictionModelLifeCycleTraining PredictionModelLifeCycle = "Training"
	// PredictionModelLifeCycleTrainingFailed ...
	PredictionModelLifeCycleTrainingFailed PredictionModelLifeCycle = "TrainingFailed"
)

func PossiblePredictionModelLifeCycleValues

func PossiblePredictionModelLifeCycleValues() []PredictionModelLifeCycle

PossiblePredictionModelLifeCycleValues returns an array of possible values for the PredictionModelLifeCycle const type.

type PredictionModelStatus

type PredictionModelStatus struct {
	autorest.Response `json:"-"`
	// TenantID - READ-ONLY; The hub name.
	TenantID *string `json:"tenantId,omitempty"`
	// PredictionName - READ-ONLY; The prediction name.
	PredictionName *string `json:"predictionName,omitempty"`
	// PredictionGUIDID - READ-ONLY; The prediction GUID ID.
	PredictionGUIDID *string `json:"predictionGuidId,omitempty"`
	// Status - Prediction model life cycle.  When prediction is in PendingModelConfirmation status, it is allowed to update the status to PendingFeaturing or Active through API. Possible values include: 'PredictionModelLifeCycleNew', 'PredictionModelLifeCycleProvisioning', 'PredictionModelLifeCycleProvisioningFailed', 'PredictionModelLifeCyclePendingDiscovering', 'PredictionModelLifeCycleDiscovering', 'PredictionModelLifeCyclePendingFeaturing', 'PredictionModelLifeCycleFeaturing', 'PredictionModelLifeCycleFeaturingFailed', 'PredictionModelLifeCyclePendingTraining', 'PredictionModelLifeCycleTraining', 'PredictionModelLifeCycleTrainingFailed', 'PredictionModelLifeCycleEvaluating', 'PredictionModelLifeCycleEvaluatingFailed', 'PredictionModelLifeCyclePendingModelConfirmation', 'PredictionModelLifeCycleActive', 'PredictionModelLifeCycleDeleted', 'PredictionModelLifeCycleHumanIntervention', 'PredictionModelLifeCycleFailed'
	Status PredictionModelLifeCycle `json:"status,omitempty"`
	// Message - READ-ONLY; The model status message.
	Message *string `json:"message,omitempty"`
	// TrainingSetCount - READ-ONLY; Count of the training set.
	TrainingSetCount *int32 `json:"trainingSetCount,omitempty"`
	// TestSetCount - READ-ONLY; Count of the test set.
	TestSetCount *int32 `json:"testSetCount,omitempty"`
	// ValidationSetCount - READ-ONLY; Count of the validation set.
	ValidationSetCount *int32 `json:"validationSetCount,omitempty"`
	// TrainingAccuracy - READ-ONLY; The training accuracy.
	TrainingAccuracy *int32 `json:"trainingAccuracy,omitempty"`
	// SignalsUsed - READ-ONLY; The signals used.
	SignalsUsed *int32 `json:"signalsUsed,omitempty"`
	// ModelVersion - READ-ONLY; Version of the model.
	ModelVersion *string `json:"modelVersion,omitempty"`
}

PredictionModelStatus the prediction model status.

func (PredictionModelStatus) MarshalJSON

func (pms PredictionModelStatus) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for PredictionModelStatus.

type PredictionResourceFormat

type PredictionResourceFormat struct {
	autorest.Response `json:"-"`
	*Prediction       `json:"properties,omitempty"`
	// ID - READ-ONLY; Resource ID.
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; Resource name.
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; Resource type.
	Type *string `json:"type,omitempty"`
}

PredictionResourceFormat the prediction resource format.

func (PredictionResourceFormat) MarshalJSON

func (prf PredictionResourceFormat) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for PredictionResourceFormat.

func (*PredictionResourceFormat) UnmarshalJSON

func (prf *PredictionResourceFormat) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for PredictionResourceFormat struct.

type PredictionSystemGeneratedEntities

type PredictionSystemGeneratedEntities struct {
	// GeneratedInteractionTypes - Generated interaction types.
	GeneratedInteractionTypes *[]string `json:"generatedInteractionTypes,omitempty"`
	// GeneratedLinks - Generated links.
	GeneratedLinks *[]string `json:"generatedLinks,omitempty"`
	// GeneratedKpis - Generated KPIs.
	GeneratedKpis map[string]*string `json:"generatedKpis"`
}

PredictionSystemGeneratedEntities system generated entities.

func (PredictionSystemGeneratedEntities) MarshalJSON

func (pGe PredictionSystemGeneratedEntities) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for PredictionSystemGeneratedEntities.

type PredictionTrainingResults

type PredictionTrainingResults struct {
	autorest.Response `json:"-"`
	// TenantID - READ-ONLY; The hub name.
	TenantID *string `json:"tenantId,omitempty"`
	// ScoreName - READ-ONLY; Score name.
	ScoreName *string `json:"scoreName,omitempty"`
	// PredictionDistribution - READ-ONLY; Prediction distribution.
	PredictionDistribution *PredictionDistributionDefinition `json:"predictionDistribution,omitempty"`
	// CanonicalProfiles - READ-ONLY; Canonical profiles.
	CanonicalProfiles *[]CanonicalProfileDefinition `json:"canonicalProfiles,omitempty"`
	// PrimaryProfileInstanceCount - READ-ONLY; Instance count of the primary profile.
	PrimaryProfileInstanceCount *int64 `json:"primaryProfileInstanceCount,omitempty"`
}

PredictionTrainingResults the training results of the prediction.

func (PredictionTrainingResults) MarshalJSON

func (ptr PredictionTrainingResults) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for PredictionTrainingResults.

type PredictionsClient

type PredictionsClient struct {
	BaseClient
}

PredictionsClient is the the Azure Customer Insights management API provides a RESTful set of web services that interact with Azure Customer Insights service to manage your resources. The API has entities that capture the relationship between an end user and the Azure Customer Insights service.

func NewPredictionsClient

func NewPredictionsClient(subscriptionID string) PredictionsClient

NewPredictionsClient creates an instance of the PredictionsClient client.

func NewPredictionsClientWithBaseURI

func NewPredictionsClientWithBaseURI(baseURI string, subscriptionID string) PredictionsClient

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

func (PredictionsClient) CreateOrUpdate

func (client PredictionsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, hubName string, predictionName string, parameters PredictionResourceFormat) (result PredictionsCreateOrUpdateFuture, err error)

CreateOrUpdate creates a Prediction or updates an existing Prediction in the hub. Parameters: resourceGroupName - the name of the resource group. hubName - the name of the hub. predictionName - the name of the Prediction. parameters - parameters supplied to the create/update Prediction operation.

func (PredictionsClient) CreateOrUpdatePreparer

func (client PredictionsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, hubName string, predictionName string, parameters PredictionResourceFormat) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (PredictionsClient) CreateOrUpdateResponder

func (client PredictionsClient) CreateOrUpdateResponder(resp *http.Response) (result PredictionResourceFormat, err error)

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

func (PredictionsClient) CreateOrUpdateSender

func (client PredictionsClient) CreateOrUpdateSender(req *http.Request) (future PredictionsCreateOrUpdateFuture, err error)

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

func (PredictionsClient) Delete

func (client PredictionsClient) Delete(ctx context.Context, resourceGroupName string, hubName string, predictionName string) (result PredictionsDeleteFuture, err error)

Delete deletes a Prediction in the hub. Parameters: resourceGroupName - the name of the resource group. hubName - the name of the hub. predictionName - the name of the Prediction.

func (PredictionsClient) DeletePreparer

func (client PredictionsClient) DeletePreparer(ctx context.Context, resourceGroupName string, hubName string, predictionName string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (PredictionsClient) DeleteResponder

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

func (client PredictionsClient) DeleteSender(req *http.Request) (future PredictionsDeleteFuture, err error)

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

func (PredictionsClient) Get

func (client PredictionsClient) Get(ctx context.Context, resourceGroupName string, hubName string, predictionName string) (result PredictionResourceFormat, err error)

Get gets a Prediction in the hub. Parameters: resourceGroupName - the name of the resource group. hubName - the name of the hub. predictionName - the name of the Prediction.

func (PredictionsClient) GetModelStatus

func (client PredictionsClient) GetModelStatus(ctx context.Context, resourceGroupName string, hubName string, predictionName string) (result PredictionModelStatus, err error)

GetModelStatus gets model status of the prediction. Parameters: resourceGroupName - the name of the resource group. hubName - the name of the hub. predictionName - the name of the Prediction.

func (PredictionsClient) GetModelStatusPreparer

func (client PredictionsClient) GetModelStatusPreparer(ctx context.Context, resourceGroupName string, hubName string, predictionName string) (*http.Request, error)

GetModelStatusPreparer prepares the GetModelStatus request.

func (PredictionsClient) GetModelStatusResponder

func (client PredictionsClient) GetModelStatusResponder(resp *http.Response) (result PredictionModelStatus, err error)

GetModelStatusResponder handles the response to the GetModelStatus request. The method always closes the http.Response Body.

func (PredictionsClient) GetModelStatusSender

func (client PredictionsClient) GetModelStatusSender(req *http.Request) (*http.Response, error)

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

func (PredictionsClient) GetPreparer

func (client PredictionsClient) GetPreparer(ctx context.Context, resourceGroupName string, hubName string, predictionName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (PredictionsClient) GetResponder

func (client PredictionsClient) GetResponder(resp *http.Response) (result PredictionResourceFormat, err error)

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

func (PredictionsClient) GetSender

func (client PredictionsClient) 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 (PredictionsClient) GetTrainingResults

func (client PredictionsClient) GetTrainingResults(ctx context.Context, resourceGroupName string, hubName string, predictionName string) (result PredictionTrainingResults, err error)

GetTrainingResults gets training results. Parameters: resourceGroupName - the name of the resource group. hubName - the name of the hub. predictionName - the name of the Prediction.

func (PredictionsClient) GetTrainingResultsPreparer

func (client PredictionsClient) GetTrainingResultsPreparer(ctx context.Context, resourceGroupName string, hubName string, predictionName string) (*http.Request, error)

GetTrainingResultsPreparer prepares the GetTrainingResults request.

func (PredictionsClient) GetTrainingResultsResponder

func (client PredictionsClient) GetTrainingResultsResponder(resp *http.Response) (result PredictionTrainingResults, err error)

GetTrainingResultsResponder handles the response to the GetTrainingResults request. The method always closes the http.Response Body.

func (PredictionsClient) GetTrainingResultsSender

func (client PredictionsClient) GetTrainingResultsSender(req *http.Request) (*http.Response, error)

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

func (PredictionsClient) ListByHub

func (client PredictionsClient) ListByHub(ctx context.Context, resourceGroupName string, hubName string) (result PredictionListResultPage, err error)

ListByHub gets all the predictions in the specified hub. Parameters: resourceGroupName - the name of the resource group. hubName - the name of the hub.

func (PredictionsClient) ListByHubComplete

func (client PredictionsClient) ListByHubComplete(ctx context.Context, resourceGroupName string, hubName string) (result PredictionListResultIterator, err error)

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

func (PredictionsClient) ListByHubPreparer

func (client PredictionsClient) ListByHubPreparer(ctx context.Context, resourceGroupName string, hubName string) (*http.Request, error)

ListByHubPreparer prepares the ListByHub request.

func (PredictionsClient) ListByHubResponder

func (client PredictionsClient) ListByHubResponder(resp *http.Response) (result PredictionListResult, err error)

ListByHubResponder handles the response to the ListByHub request. The method always closes the http.Response Body.

func (PredictionsClient) ListByHubSender

func (client PredictionsClient) ListByHubSender(req *http.Request) (*http.Response, error)

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

func (PredictionsClient) ModelStatus

func (client PredictionsClient) ModelStatus(ctx context.Context, resourceGroupName string, hubName string, predictionName string, parameters PredictionModelStatus) (result autorest.Response, err error)

ModelStatus creates or updates the model status of prediction. Parameters: resourceGroupName - the name of the resource group. hubName - the name of the hub. predictionName - the name of the Prediction. parameters - parameters supplied to the create/update prediction model status operation.

func (PredictionsClient) ModelStatusPreparer

func (client PredictionsClient) ModelStatusPreparer(ctx context.Context, resourceGroupName string, hubName string, predictionName string, parameters PredictionModelStatus) (*http.Request, error)

ModelStatusPreparer prepares the ModelStatus request.

func (PredictionsClient) ModelStatusResponder

func (client PredictionsClient) ModelStatusResponder(resp *http.Response) (result autorest.Response, err error)

ModelStatusResponder handles the response to the ModelStatus request. The method always closes the http.Response Body.

func (PredictionsClient) ModelStatusSender

func (client PredictionsClient) ModelStatusSender(req *http.Request) (*http.Response, error)

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

type PredictionsCreateOrUpdateFuture

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

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

func (*PredictionsCreateOrUpdateFuture) UnmarshalJSON

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

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type PredictionsDeleteFuture

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

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

func (*PredictionsDeleteFuture) UnmarshalJSON

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

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type ProfileEnumValidValuesFormat

type ProfileEnumValidValuesFormat struct {
	// Value - The integer value of the enum member.
	Value *int32 `json:"value,omitempty"`
	// LocalizedValueNames - Localized names of the enum member.
	LocalizedValueNames map[string]*string `json:"localizedValueNames"`
}

ProfileEnumValidValuesFormat valid enum values in case of an enum property.

func (ProfileEnumValidValuesFormat) MarshalJSON

func (pevvf ProfileEnumValidValuesFormat) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ProfileEnumValidValuesFormat.

type ProfileListResult

type ProfileListResult struct {
	autorest.Response `json:"-"`
	// Value - Results of the list operation.
	Value *[]ProfileResourceFormat `json:"value,omitempty"`
	// NextLink - Link to the next set of results.
	NextLink *string `json:"nextLink,omitempty"`
}

ProfileListResult the response of list profile operation.

func (ProfileListResult) IsEmpty

func (plr ProfileListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type ProfileListResultIterator

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

ProfileListResultIterator provides access to a complete listing of ProfileResourceFormat values.

func NewProfileListResultIterator

func NewProfileListResultIterator(page ProfileListResultPage) ProfileListResultIterator

Creates a new instance of the ProfileListResultIterator type.

func (*ProfileListResultIterator) Next

func (iter *ProfileListResultIterator) Next() error

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

func (*ProfileListResultIterator) NextWithContext

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

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

func (ProfileListResultIterator) NotDone

func (iter ProfileListResultIterator) NotDone() bool

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

func (ProfileListResultIterator) Response

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

func (ProfileListResultIterator) Value

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

type ProfileListResultPage

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

ProfileListResultPage contains a page of ProfileResourceFormat values.

func NewProfileListResultPage

func NewProfileListResultPage(cur ProfileListResult, getNextPage func(context.Context, ProfileListResult) (ProfileListResult, error)) ProfileListResultPage

Creates a new instance of the ProfileListResultPage type.

func (*ProfileListResultPage) Next

func (page *ProfileListResultPage) Next() error

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

func (*ProfileListResultPage) NextWithContext

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

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

func (ProfileListResultPage) NotDone

func (page ProfileListResultPage) NotDone() bool

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

func (ProfileListResultPage) Response

func (page ProfileListResultPage) Response() ProfileListResult

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

func (ProfileListResultPage) Values

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

type ProfileResourceFormat

type ProfileResourceFormat struct {
	autorest.Response      `json:"-"`
	*ProfileTypeDefinition `json:"properties,omitempty"`
	// ID - READ-ONLY; Resource ID.
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; Resource name.
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; Resource type.
	Type *string `json:"type,omitempty"`
}

ProfileResourceFormat the profile resource format.

func (ProfileResourceFormat) MarshalJSON

func (prf ProfileResourceFormat) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ProfileResourceFormat.

func (*ProfileResourceFormat) UnmarshalJSON

func (prf *ProfileResourceFormat) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for ProfileResourceFormat struct.

type ProfileTypeDefinition

type ProfileTypeDefinition struct {
	// StrongIds - The strong IDs.
	StrongIds *[]StrongID `json:"strongIds,omitempty"`
	// APIEntitySetName - The api entity set name. This becomes the odata entity set name for the entity Type being referred in this object.
	APIEntitySetName *string `json:"apiEntitySetName,omitempty"`
	// EntityType - Type of entity. Possible values include: 'EntityTypesNone', 'EntityTypesProfile', 'EntityTypesInteraction', 'EntityTypesRelationship'
	EntityType EntityTypes `json:"entityType,omitempty"`
	// Fields - The properties of the Profile.
	Fields *[]PropertyDefinition `json:"fields,omitempty"`
	// InstancesCount - The instance count.
	InstancesCount *int32 `json:"instancesCount,omitempty"`
	// LastChangedUtc - READ-ONLY; The last changed time for the type definition.
	LastChangedUtc *date.Time `json:"lastChangedUtc,omitempty"`
	// ProvisioningState - READ-ONLY; Provisioning state. Possible values include: 'ProvisioningStatesProvisioning', 'ProvisioningStatesSucceeded', 'ProvisioningStatesExpiring', 'ProvisioningStatesDeleting', 'ProvisioningStatesHumanIntervention', 'ProvisioningStatesFailed'
	ProvisioningState ProvisioningStates `json:"provisioningState,omitempty"`
	// SchemaItemTypeLink - The schema org link. This helps ACI identify and suggest semantic models.
	SchemaItemTypeLink *string `json:"schemaItemTypeLink,omitempty"`
	// TenantID - READ-ONLY; The hub name.
	TenantID *string `json:"tenantId,omitempty"`
	// TimestampFieldName - The timestamp property name. Represents the time when the interaction or profile update happened.
	TimestampFieldName *string `json:"timestampFieldName,omitempty"`
	// TypeName - The name of the entity.
	TypeName *string `json:"typeName,omitempty"`
	// Attributes - The attributes for the Type.
	Attributes map[string][]string `json:"attributes"`
	// Description - Localized descriptions for the property.
	Description map[string]*string `json:"description"`
	// DisplayName - Localized display names for the property.
	DisplayName map[string]*string `json:"displayName"`
	// LocalizedAttributes - Any custom localized attributes for the Type.
	LocalizedAttributes map[string]map[string]*string `json:"localizedAttributes"`
	// SmallImage - Small Image associated with the Property or EntityType.
	SmallImage *string `json:"smallImage,omitempty"`
	// MediumImage - Medium Image associated with the Property or EntityType.
	MediumImage *string `json:"mediumImage,omitempty"`
	// LargeImage - Large Image associated with the Property or EntityType.
	LargeImage *string `json:"largeImage,omitempty"`
}

ProfileTypeDefinition the profile type definition.

func (ProfileTypeDefinition) MarshalJSON

func (ptd ProfileTypeDefinition) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ProfileTypeDefinition.

type ProfilesClient

type ProfilesClient struct {
	BaseClient
}

ProfilesClient is the the Azure Customer Insights management API provides a RESTful set of web services that interact with Azure Customer Insights service to manage your resources. The API has entities that capture the relationship between an end user and the Azure Customer Insights service.

func NewProfilesClient

func NewProfilesClient(subscriptionID string) ProfilesClient

NewProfilesClient creates an instance of the ProfilesClient client.

func NewProfilesClientWithBaseURI

func NewProfilesClientWithBaseURI(baseURI string, subscriptionID string) ProfilesClient

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

func (ProfilesClient) CreateOrUpdate

func (client ProfilesClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, hubName string, profileName string, parameters ProfileResourceFormat) (result ProfilesCreateOrUpdateFuture, err error)

CreateOrUpdate creates a profile within a Hub, or updates an existing profile. Parameters: resourceGroupName - the name of the resource group. hubName - the name of the hub. profileName - the name of the profile. parameters - parameters supplied to the create/delete Profile type operation

func (ProfilesClient) CreateOrUpdatePreparer

func (client ProfilesClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, hubName string, profileName string, parameters ProfileResourceFormat) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (ProfilesClient) CreateOrUpdateResponder

func (client ProfilesClient) CreateOrUpdateResponder(resp *http.Response) (result ProfileResourceFormat, err error)

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

func (ProfilesClient) CreateOrUpdateSender

func (client ProfilesClient) CreateOrUpdateSender(req *http.Request) (future ProfilesCreateOrUpdateFuture, err error)

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

func (ProfilesClient) Delete

func (client ProfilesClient) Delete(ctx context.Context, resourceGroupName string, hubName string, profileName string, localeCode string) (result ProfilesDeleteFuture, err error)

Delete deletes a profile within a hub Parameters: resourceGroupName - the name of the resource group. hubName - the name of the hub. profileName - the name of the profile. localeCode - locale of profile to retrieve, default is en-us.

func (ProfilesClient) DeletePreparer

func (client ProfilesClient) DeletePreparer(ctx context.Context, resourceGroupName string, hubName string, profileName string, localeCode string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (ProfilesClient) DeleteResponder

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

func (client ProfilesClient) DeleteSender(req *http.Request) (future ProfilesDeleteFuture, err error)

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

func (ProfilesClient) Get

func (client ProfilesClient) Get(ctx context.Context, resourceGroupName string, hubName string, profileName string, localeCode string) (result ProfileResourceFormat, err error)

Get gets information about the specified profile. Parameters: resourceGroupName - the name of the resource group. hubName - the name of the hub. profileName - the name of the profile. localeCode - locale of profile to retrieve, default is en-us.

func (ProfilesClient) GetEnrichingKpis

func (client ProfilesClient) GetEnrichingKpis(ctx context.Context, resourceGroupName string, hubName string, profileName string) (result ListKpiDefinition, err error)

GetEnrichingKpis gets the KPIs that enrich the profile Type identified by the supplied name. Enrichment happens through participants of the Interaction on an Interaction KPI and through Relationships for Profile KPIs. Parameters: resourceGroupName - the name of the resource group. hubName - the name of the hub. profileName - the name of the profile.

func (ProfilesClient) GetEnrichingKpisPreparer

func (client ProfilesClient) GetEnrichingKpisPreparer(ctx context.Context, resourceGroupName string, hubName string, profileName string) (*http.Request, error)

GetEnrichingKpisPreparer prepares the GetEnrichingKpis request.

func (ProfilesClient) GetEnrichingKpisResponder

func (client ProfilesClient) GetEnrichingKpisResponder(resp *http.Response) (result ListKpiDefinition, err error)

GetEnrichingKpisResponder handles the response to the GetEnrichingKpis request. The method always closes the http.Response Body.

func (ProfilesClient) GetEnrichingKpisSender

func (client ProfilesClient) GetEnrichingKpisSender(req *http.Request) (*http.Response, error)

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

func (ProfilesClient) GetPreparer

func (client ProfilesClient) GetPreparer(ctx context.Context, resourceGroupName string, hubName string, profileName string, localeCode string) (*http.Request, error)

GetPreparer prepares the Get request.

func (ProfilesClient) GetResponder

func (client ProfilesClient) GetResponder(resp *http.Response) (result ProfileResourceFormat, err error)

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

func (ProfilesClient) GetSender

func (client ProfilesClient) 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 (ProfilesClient) ListByHub

func (client ProfilesClient) ListByHub(ctx context.Context, resourceGroupName string, hubName string, localeCode string) (result ProfileListResultPage, err error)

ListByHub gets all profile in the hub. Parameters: resourceGroupName - the name of the resource group. hubName - the name of the hub. localeCode - locale of profile to retrieve, default is en-us.

func (ProfilesClient) ListByHubComplete

func (client ProfilesClient) ListByHubComplete(ctx context.Context, resourceGroupName string, hubName string, localeCode string) (result ProfileListResultIterator, err error)

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

func (ProfilesClient) ListByHubPreparer

func (client ProfilesClient) ListByHubPreparer(ctx context.Context, resourceGroupName string, hubName string, localeCode string) (*http.Request, error)

ListByHubPreparer prepares the ListByHub request.

func (ProfilesClient) ListByHubResponder

func (client ProfilesClient) ListByHubResponder(resp *http.Response) (result ProfileListResult, err error)

ListByHubResponder handles the response to the ListByHub request. The method always closes the http.Response Body.

func (ProfilesClient) ListByHubSender

func (client ProfilesClient) ListByHubSender(req *http.Request) (*http.Response, error)

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

type ProfilesCreateOrUpdateFuture

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

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

func (*ProfilesCreateOrUpdateFuture) UnmarshalJSON

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

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type ProfilesDeleteFuture

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

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

func (*ProfilesDeleteFuture) UnmarshalJSON

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

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type PropertyDefinition

type PropertyDefinition struct {
	// ArrayValueSeparator - Array value separator for properties with isArray set.
	ArrayValueSeparator *string `json:"arrayValueSeparator,omitempty"`
	// EnumValidValues - Describes valid values for an enum property.
	EnumValidValues *[]ProfileEnumValidValuesFormat `json:"enumValidValues,omitempty"`
	// FieldName - Name of the property.
	FieldName *string `json:"fieldName,omitempty"`
	// FieldType - Type of the property.
	FieldType *string `json:"fieldType,omitempty"`
	// IsArray - Indicates if the property is actually an array of the fieldType above on the data api.
	IsArray *bool `json:"isArray,omitempty"`
	// IsEnum - Indicates if the property is an enum.
	IsEnum *bool `json:"isEnum,omitempty"`
	// IsFlagEnum - Indicates if the property is an flag enum.
	IsFlagEnum *bool `json:"isFlagEnum,omitempty"`
	// IsImage - Whether the property is an Image.
	IsImage *bool `json:"isImage,omitempty"`
	// IsLocalizedString - Whether the property is a localized string.
	IsLocalizedString *bool `json:"isLocalizedString,omitempty"`
	// IsName - Whether the property is a name or a part of name.
	IsName *bool `json:"isName,omitempty"`
	// IsRequired - Whether property value is required on instances, IsRequired field only for Interaction. Profile Instance will not check for required field.
	IsRequired *bool `json:"isRequired,omitempty"`
	// PropertyID - The ID associated with the property.
	PropertyID *string `json:"propertyId,omitempty"`
	// SchemaItemPropLink - URL encoded schema.org item prop link for the property.
	SchemaItemPropLink *string `json:"schemaItemPropLink,omitempty"`
	// MaxLength - Max length of string. Used only if type is string.
	MaxLength *int32 `json:"maxLength,omitempty"`
	// IsAvailableInGraph - Whether property is available in graph or not.
	IsAvailableInGraph *bool `json:"isAvailableInGraph,omitempty"`
	// DataSourcePrecedenceRules - READ-ONLY; This is specific to interactions modeled as activities. Data sources are used to determine where data is stored and also in precedence rules.
	DataSourcePrecedenceRules *[]DataSourcePrecedence `json:"dataSourcePrecedenceRules,omitempty"`
}

PropertyDefinition property definition.

func (PropertyDefinition) MarshalJSON

func (pd PropertyDefinition) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for PropertyDefinition.

type ProvisioningStates

type ProvisioningStates string

ProvisioningStates enumerates the values for provisioning states.

const (
	// ProvisioningStatesDeleting ...
	ProvisioningStatesDeleting ProvisioningStates = "Deleting"
	// ProvisioningStatesExpiring ...
	ProvisioningStatesExpiring ProvisioningStates = "Expiring"
	// ProvisioningStatesFailed ...
	ProvisioningStatesFailed ProvisioningStates = "Failed"
	// ProvisioningStatesHumanIntervention ...
	ProvisioningStatesHumanIntervention ProvisioningStates = "HumanIntervention"
	// ProvisioningStatesProvisioning ...
	ProvisioningStatesProvisioning ProvisioningStates = "Provisioning"
	// ProvisioningStatesSucceeded ...
	ProvisioningStatesSucceeded ProvisioningStates = "Succeeded"
)

func PossibleProvisioningStatesValues

func PossibleProvisioningStatesValues() []ProvisioningStates

PossibleProvisioningStatesValues returns an array of possible values for the ProvisioningStates const type.

type ProxyResource

type ProxyResource struct {
	// ID - READ-ONLY; Resource ID.
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; Resource name.
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; Resource type.
	Type *string `json:"type,omitempty"`
}

ProxyResource common properties of proxy resource.

func (ProxyResource) MarshalJSON

func (pr ProxyResource) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ProxyResource.

type RelationshipDefinition

type RelationshipDefinition struct {
	// Cardinality - The Relationship Cardinality. Possible values include: 'OneToOne', 'OneToMany', 'ManyToMany'
	Cardinality CardinalityTypes `json:"cardinality,omitempty"`
	// DisplayName - Localized display name for the Relationship.
	DisplayName map[string]*string `json:"displayName"`
	// Description - Localized descriptions for the Relationship.
	Description map[string]*string `json:"description"`
	// ExpiryDateTimeUtc - The expiry date time in UTC.
	ExpiryDateTimeUtc *date.Time `json:"expiryDateTimeUtc,omitempty"`
	// Fields - The properties of the Relationship.
	Fields *[]PropertyDefinition `json:"fields,omitempty"`
	// LookupMappings - Optional property to be used to map fields in profile to their strong ids in related profile.
	LookupMappings *[]RelationshipTypeMapping `json:"lookupMappings,omitempty"`
	// ProfileType - Profile type.
	ProfileType *string `json:"profileType,omitempty"`
	// ProvisioningState - READ-ONLY; Provisioning state. Possible values include: 'ProvisioningStatesProvisioning', 'ProvisioningStatesSucceeded', 'ProvisioningStatesExpiring', 'ProvisioningStatesDeleting', 'ProvisioningStatesHumanIntervention', 'ProvisioningStatesFailed'
	ProvisioningState ProvisioningStates `json:"provisioningState,omitempty"`
	// RelationshipName - READ-ONLY; The Relationship name.
	RelationshipName *string `json:"relationshipName,omitempty"`
	// RelatedProfileType - Related profile being referenced.
	RelatedProfileType *string `json:"relatedProfileType,omitempty"`
	// RelationshipGUIDID - READ-ONLY; The relationship guid id.
	RelationshipGUIDID *string `json:"relationshipGuidId,omitempty"`
	// TenantID - READ-ONLY; The hub name.
	TenantID *string `json:"tenantId,omitempty"`
}

RelationshipDefinition the definition of Relationship.

func (RelationshipDefinition) MarshalJSON

func (rd RelationshipDefinition) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for RelationshipDefinition.

type RelationshipLinkDefinition

type RelationshipLinkDefinition struct {
	// DisplayName - Localized display name for the Relationship Link.
	DisplayName map[string]*string `json:"displayName"`
	// Description - Localized descriptions for the Relationship Link.
	Description map[string]*string `json:"description"`
	// InteractionType - The InteractionType associated with the Relationship Link.
	InteractionType *string `json:"interactionType,omitempty"`
	// LinkName - READ-ONLY; The name of the Relationship Link.
	LinkName *string `json:"linkName,omitempty"`
	// Mappings - The mappings between Interaction and Relationship fields.
	Mappings *[]RelationshipLinkFieldMapping `json:"mappings,omitempty"`
	// ProfilePropertyReferences - The property references for the Profile of the Relationship.
	ProfilePropertyReferences *[]ParticipantProfilePropertyReference `json:"profilePropertyReferences,omitempty"`
	// ProvisioningState - READ-ONLY; Provisioning state. Possible values include: 'ProvisioningStatesProvisioning', 'ProvisioningStatesSucceeded', 'ProvisioningStatesExpiring', 'ProvisioningStatesDeleting', 'ProvisioningStatesHumanIntervention', 'ProvisioningStatesFailed'
	ProvisioningState ProvisioningStates `json:"provisioningState,omitempty"`
	// RelatedProfilePropertyReferences - The property references for the Related Profile of the Relationship.
	RelatedProfilePropertyReferences *[]ParticipantProfilePropertyReference `json:"relatedProfilePropertyReferences,omitempty"`
	// RelationshipName - The Relationship associated with the Link.
	RelationshipName *string `json:"relationshipName,omitempty"`
	// RelationshipGUIDID - READ-ONLY; The relationship guid id.
	RelationshipGUIDID *string `json:"relationshipGuidId,omitempty"`
	// TenantID - READ-ONLY; The hub name.
	TenantID *string `json:"tenantId,omitempty"`
}

RelationshipLinkDefinition the definition of relationship link.

func (RelationshipLinkDefinition) MarshalJSON

func (rld RelationshipLinkDefinition) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for RelationshipLinkDefinition.

type RelationshipLinkFieldMapping

type RelationshipLinkFieldMapping struct {
	// InteractionFieldName - The field name on the Interaction Type.
	InteractionFieldName *string `json:"interactionFieldName,omitempty"`
	// LinkType - Link type. Possible values include: 'UpdateAlways', 'CopyIfNull'
	LinkType LinkTypes `json:"linkType,omitempty"`
	// RelationshipFieldName - The field name on the Relationship metadata.
	RelationshipFieldName *string `json:"relationshipFieldName,omitempty"`
}

RelationshipLinkFieldMapping the fields mapping for Relationships.

type RelationshipLinkListResult

type RelationshipLinkListResult struct {
	autorest.Response `json:"-"`
	// Value - Results of the list operation.
	Value *[]RelationshipLinkResourceFormat `json:"value,omitempty"`
	// NextLink - Link to the next set of results.
	NextLink *string `json:"nextLink,omitempty"`
}

RelationshipLinkListResult the response of list relationship link operation.

func (RelationshipLinkListResult) IsEmpty

func (rllr RelationshipLinkListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type RelationshipLinkListResultIterator

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

RelationshipLinkListResultIterator provides access to a complete listing of RelationshipLinkResourceFormat values.

func NewRelationshipLinkListResultIterator

func NewRelationshipLinkListResultIterator(page RelationshipLinkListResultPage) RelationshipLinkListResultIterator

Creates a new instance of the RelationshipLinkListResultIterator type.

func (*RelationshipLinkListResultIterator) Next

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

func (*RelationshipLinkListResultIterator) NextWithContext

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

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

func (RelationshipLinkListResultIterator) NotDone

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

func (RelationshipLinkListResultIterator) Response

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

func (RelationshipLinkListResultIterator) Value

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

type RelationshipLinkListResultPage

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

RelationshipLinkListResultPage contains a page of RelationshipLinkResourceFormat values.

func NewRelationshipLinkListResultPage

Creates a new instance of the RelationshipLinkListResultPage type.

func (*RelationshipLinkListResultPage) Next

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

func (*RelationshipLinkListResultPage) NextWithContext

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

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

func (RelationshipLinkListResultPage) NotDone

func (page RelationshipLinkListResultPage) NotDone() bool

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

func (RelationshipLinkListResultPage) Response

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

func (RelationshipLinkListResultPage) Values

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

type RelationshipLinkResourceFormat

type RelationshipLinkResourceFormat struct {
	autorest.Response           `json:"-"`
	*RelationshipLinkDefinition `json:"properties,omitempty"`
	// ID - READ-ONLY; Resource ID.
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; Resource name.
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; Resource type.
	Type *string `json:"type,omitempty"`
}

RelationshipLinkResourceFormat the relationship link resource format.

func (RelationshipLinkResourceFormat) MarshalJSON

func (rlrf RelationshipLinkResourceFormat) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for RelationshipLinkResourceFormat.

func (*RelationshipLinkResourceFormat) UnmarshalJSON

func (rlrf *RelationshipLinkResourceFormat) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for RelationshipLinkResourceFormat struct.

type RelationshipLinksClient

type RelationshipLinksClient struct {
	BaseClient
}

RelationshipLinksClient is the the Azure Customer Insights management API provides a RESTful set of web services that interact with Azure Customer Insights service to manage your resources. The API has entities that capture the relationship between an end user and the Azure Customer Insights service.

func NewRelationshipLinksClient

func NewRelationshipLinksClient(subscriptionID string) RelationshipLinksClient

NewRelationshipLinksClient creates an instance of the RelationshipLinksClient client.

func NewRelationshipLinksClientWithBaseURI

func NewRelationshipLinksClientWithBaseURI(baseURI string, subscriptionID string) RelationshipLinksClient

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

func (RelationshipLinksClient) CreateOrUpdate

func (client RelationshipLinksClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, hubName string, relationshipLinkName string, parameters RelationshipLinkResourceFormat) (result RelationshipLinksCreateOrUpdateFuture, err error)

CreateOrUpdate creates a relationship link or updates an existing relationship link within a hub. Parameters: resourceGroupName - the name of the resource group. hubName - the name of the hub. relationshipLinkName - the name of the relationship link. parameters - parameters supplied to the CreateOrUpdate relationship link operation.

func (RelationshipLinksClient) CreateOrUpdatePreparer

func (client RelationshipLinksClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, hubName string, relationshipLinkName string, parameters RelationshipLinkResourceFormat) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (RelationshipLinksClient) CreateOrUpdateResponder

func (client RelationshipLinksClient) CreateOrUpdateResponder(resp *http.Response) (result RelationshipLinkResourceFormat, err error)

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

func (RelationshipLinksClient) CreateOrUpdateSender

func (client RelationshipLinksClient) CreateOrUpdateSender(req *http.Request) (future RelationshipLinksCreateOrUpdateFuture, err error)

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

func (RelationshipLinksClient) Delete

func (client RelationshipLinksClient) Delete(ctx context.Context, resourceGroupName string, hubName string, relationshipLinkName string) (result RelationshipLinksDeleteFuture, err error)

Delete deletes a relationship link within a hub. Parameters: resourceGroupName - the name of the resource group. hubName - the name of the hub. relationshipLinkName - the name of the relationship.

func (RelationshipLinksClient) DeletePreparer

func (client RelationshipLinksClient) DeletePreparer(ctx context.Context, resourceGroupName string, hubName string, relationshipLinkName string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (RelationshipLinksClient) DeleteResponder

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

func (client RelationshipLinksClient) DeleteSender(req *http.Request) (future RelationshipLinksDeleteFuture, err error)

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

func (RelationshipLinksClient) Get

func (client RelationshipLinksClient) Get(ctx context.Context, resourceGroupName string, hubName string, relationshipLinkName string) (result RelationshipLinkResourceFormat, err error)

Get gets information about the specified relationship Link. Parameters: resourceGroupName - the name of the resource group. hubName - the name of the hub. relationshipLinkName - the name of the relationship link.

func (RelationshipLinksClient) GetPreparer

func (client RelationshipLinksClient) GetPreparer(ctx context.Context, resourceGroupName string, hubName string, relationshipLinkName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (RelationshipLinksClient) GetResponder

func (client RelationshipLinksClient) GetResponder(resp *http.Response) (result RelationshipLinkResourceFormat, err error)

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

func (RelationshipLinksClient) GetSender

func (client RelationshipLinksClient) 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 (RelationshipLinksClient) ListByHub

func (client RelationshipLinksClient) ListByHub(ctx context.Context, resourceGroupName string, hubName string) (result RelationshipLinkListResultPage, err error)

ListByHub gets all relationship links in the hub. Parameters: resourceGroupName - the name of the resource group. hubName - the name of the hub.

func (RelationshipLinksClient) ListByHubComplete

func (client RelationshipLinksClient) ListByHubComplete(ctx context.Context, resourceGroupName string, hubName string) (result RelationshipLinkListResultIterator, err error)

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

func (RelationshipLinksClient) ListByHubPreparer

func (client RelationshipLinksClient) ListByHubPreparer(ctx context.Context, resourceGroupName string, hubName string) (*http.Request, error)

ListByHubPreparer prepares the ListByHub request.

func (RelationshipLinksClient) ListByHubResponder

func (client RelationshipLinksClient) ListByHubResponder(resp *http.Response) (result RelationshipLinkListResult, err error)

ListByHubResponder handles the response to the ListByHub request. The method always closes the http.Response Body.

func (RelationshipLinksClient) ListByHubSender

func (client RelationshipLinksClient) ListByHubSender(req *http.Request) (*http.Response, error)

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

type RelationshipLinksCreateOrUpdateFuture

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

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

func (*RelationshipLinksCreateOrUpdateFuture) UnmarshalJSON

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

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type RelationshipLinksDeleteFuture

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

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

func (*RelationshipLinksDeleteFuture) UnmarshalJSON

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

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type RelationshipListResult

type RelationshipListResult struct {
	autorest.Response `json:"-"`
	// Value - Results of the list operation.
	Value *[]RelationshipResourceFormat `json:"value,omitempty"`
	// NextLink - Link to the next set of results.
	NextLink *string `json:"nextLink,omitempty"`
}

RelationshipListResult the response of list relationship operation.

func (RelationshipListResult) IsEmpty

func (rlr RelationshipListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type RelationshipListResultIterator

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

RelationshipListResultIterator provides access to a complete listing of RelationshipResourceFormat values.

func NewRelationshipListResultIterator

func NewRelationshipListResultIterator(page RelationshipListResultPage) RelationshipListResultIterator

Creates a new instance of the RelationshipListResultIterator type.

func (*RelationshipListResultIterator) Next

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

func (*RelationshipListResultIterator) NextWithContext

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

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

func (RelationshipListResultIterator) NotDone

func (iter RelationshipListResultIterator) NotDone() bool

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

func (RelationshipListResultIterator) Response

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

func (RelationshipListResultIterator) Value

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

type RelationshipListResultPage

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

RelationshipListResultPage contains a page of RelationshipResourceFormat values.

func NewRelationshipListResultPage

Creates a new instance of the RelationshipListResultPage type.

func (*RelationshipListResultPage) Next

func (page *RelationshipListResultPage) Next() error

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

func (*RelationshipListResultPage) NextWithContext

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

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

func (RelationshipListResultPage) NotDone

func (page RelationshipListResultPage) NotDone() bool

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

func (RelationshipListResultPage) Response

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

func (RelationshipListResultPage) Values

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

type RelationshipResourceFormat

type RelationshipResourceFormat struct {
	autorest.Response       `json:"-"`
	*RelationshipDefinition `json:"properties,omitempty"`
	// ID - READ-ONLY; Resource ID.
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; Resource name.
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; Resource type.
	Type *string `json:"type,omitempty"`
}

RelationshipResourceFormat the relationship resource format.

func (RelationshipResourceFormat) MarshalJSON

func (rrf RelationshipResourceFormat) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for RelationshipResourceFormat.

func (*RelationshipResourceFormat) UnmarshalJSON

func (rrf *RelationshipResourceFormat) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for RelationshipResourceFormat struct.

type RelationshipTypeFieldMapping

type RelationshipTypeFieldMapping struct {
	// ProfileFieldName - Specifies the fieldName in profile.
	ProfileFieldName *string `json:"profileFieldName,omitempty"`
	// RelatedProfileKeyProperty - Specifies the KeyProperty (from StrongId) of the related profile.
	RelatedProfileKeyProperty *string `json:"relatedProfileKeyProperty,omitempty"`
}

RelationshipTypeFieldMapping map a field of profile to its corresponding StrongId in Related Profile.

type RelationshipTypeMapping

type RelationshipTypeMapping struct {
	// FieldMappings - Maps a profile property with the StrongId of related profile. This is an array to support StrongIds that are composite key as well.
	FieldMappings *[]RelationshipTypeFieldMapping `json:"fieldMappings,omitempty"`
}

RelationshipTypeMapping maps fields in Profile to their corresponding StrongIds in Related Profile.

type RelationshipsClient

type RelationshipsClient struct {
	BaseClient
}

RelationshipsClient is the the Azure Customer Insights management API provides a RESTful set of web services that interact with Azure Customer Insights service to manage your resources. The API has entities that capture the relationship between an end user and the Azure Customer Insights service.

func NewRelationshipsClient

func NewRelationshipsClient(subscriptionID string) RelationshipsClient

NewRelationshipsClient creates an instance of the RelationshipsClient client.

func NewRelationshipsClientWithBaseURI

func NewRelationshipsClientWithBaseURI(baseURI string, subscriptionID string) RelationshipsClient

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

func (RelationshipsClient) CreateOrUpdate

func (client RelationshipsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, hubName string, relationshipName string, parameters RelationshipResourceFormat) (result RelationshipsCreateOrUpdateFuture, err error)

CreateOrUpdate creates a relationship or updates an existing relationship within a hub. Parameters: resourceGroupName - the name of the resource group. hubName - the name of the hub. relationshipName - the name of the Relationship. parameters - parameters supplied to the CreateOrUpdate Relationship operation.

func (RelationshipsClient) CreateOrUpdatePreparer

func (client RelationshipsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, hubName string, relationshipName string, parameters RelationshipResourceFormat) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (RelationshipsClient) CreateOrUpdateResponder

func (client RelationshipsClient) CreateOrUpdateResponder(resp *http.Response) (result RelationshipResourceFormat, err error)

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

func (RelationshipsClient) CreateOrUpdateSender

func (client RelationshipsClient) CreateOrUpdateSender(req *http.Request) (future RelationshipsCreateOrUpdateFuture, err error)

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

func (RelationshipsClient) Delete

func (client RelationshipsClient) Delete(ctx context.Context, resourceGroupName string, hubName string, relationshipName string) (result RelationshipsDeleteFuture, err error)

Delete deletes a relationship within a hub. Parameters: resourceGroupName - the name of the resource group. hubName - the name of the hub. relationshipName - the name of the relationship.

func (RelationshipsClient) DeletePreparer

func (client RelationshipsClient) DeletePreparer(ctx context.Context, resourceGroupName string, hubName string, relationshipName string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (RelationshipsClient) DeleteResponder

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

func (client RelationshipsClient) DeleteSender(req *http.Request) (future RelationshipsDeleteFuture, err error)

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

func (RelationshipsClient) Get

func (client RelationshipsClient) Get(ctx context.Context, resourceGroupName string, hubName string, relationshipName string) (result RelationshipResourceFormat, err error)

Get gets information about the specified relationship. Parameters: resourceGroupName - the name of the resource group. hubName - the name of the hub. relationshipName - the name of the relationship.

func (RelationshipsClient) GetPreparer

func (client RelationshipsClient) GetPreparer(ctx context.Context, resourceGroupName string, hubName string, relationshipName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (RelationshipsClient) GetResponder

func (client RelationshipsClient) GetResponder(resp *http.Response) (result RelationshipResourceFormat, err error)

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

func (RelationshipsClient) GetSender

func (client RelationshipsClient) 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 (RelationshipsClient) ListByHub

func (client RelationshipsClient) ListByHub(ctx context.Context, resourceGroupName string, hubName string) (result RelationshipListResultPage, err error)

ListByHub gets all relationships in the hub. Parameters: resourceGroupName - the name of the resource group. hubName - the name of the hub.

func (RelationshipsClient) ListByHubComplete

func (client RelationshipsClient) ListByHubComplete(ctx context.Context, resourceGroupName string, hubName string) (result RelationshipListResultIterator, err error)

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

func (RelationshipsClient) ListByHubPreparer

func (client RelationshipsClient) ListByHubPreparer(ctx context.Context, resourceGroupName string, hubName string) (*http.Request, error)

ListByHubPreparer prepares the ListByHub request.

func (RelationshipsClient) ListByHubResponder

func (client RelationshipsClient) ListByHubResponder(resp *http.Response) (result RelationshipListResult, err error)

ListByHubResponder handles the response to the ListByHub request. The method always closes the http.Response Body.

func (RelationshipsClient) ListByHubSender

func (client RelationshipsClient) ListByHubSender(req *http.Request) (*http.Response, error)

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

type RelationshipsCreateOrUpdateFuture

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

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

func (*RelationshipsCreateOrUpdateFuture) UnmarshalJSON

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

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type RelationshipsDeleteFuture

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

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

func (*RelationshipsDeleteFuture) UnmarshalJSON

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

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type RelationshipsLookup

type RelationshipsLookup struct {
	// ProfileName - READ-ONLY; The relationship profile.
	ProfileName *string `json:"profileName,omitempty"`
	// ProfilePropertyReferences - READ-ONLY; The property references for the profile type.
	ProfilePropertyReferences *[]ParticipantProfilePropertyReference `json:"profilePropertyReferences,omitempty"`
	// RelatedProfileName - READ-ONLY; The related profile.
	RelatedProfileName *string `json:"relatedProfileName,omitempty"`
	// RelatedProfilePropertyReferences - READ-ONLY; The property references for the related profile type.
	RelatedProfilePropertyReferences *[]ParticipantProfilePropertyReference `json:"relatedProfilePropertyReferences,omitempty"`
	// ExistingRelationshipName - READ-ONLY; The name of existing Relationship.
	ExistingRelationshipName *string `json:"existingRelationshipName,omitempty"`
}

RelationshipsLookup the definition of suggested relationship for the type.

func (RelationshipsLookup) MarshalJSON

func (rl RelationshipsLookup) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for RelationshipsLookup.

type Resource

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

Resource common properties of Azure resource.

func (Resource) MarshalJSON

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

MarshalJSON is the custom marshaler for Resource.

type ResourceSetDescription

type ResourceSetDescription struct {
	// Elements - The elements included in the set.
	Elements *[]string `json:"elements,omitempty"`
	// Exceptions - The elements that are not included in the set, in case elements contains '*' indicating 'all'.
	Exceptions *[]string `json:"exceptions,omitempty"`
}

ResourceSetDescription the resource set description.

type Role

type Role struct {
	// RoleName - The role name.
	RoleName *string `json:"roleName,omitempty"`
	// Description - The description of the role.
	Description *string `json:"description,omitempty"`
}

Role the Role definition.

type RoleAssignment

type RoleAssignment struct {
	// TenantID - READ-ONLY; The hub name.
	TenantID *string `json:"tenantId,omitempty"`
	// AssignmentName - READ-ONLY; The name of the metadata object.
	AssignmentName *string `json:"assignmentName,omitempty"`
	// DisplayName - Localized display names for the metadata.
	DisplayName map[string]*string `json:"displayName"`
	// Description - Localized description for the metadata.
	Description map[string]*string `json:"description"`
	// ProvisioningState - READ-ONLY; Provisioning state. Possible values include: 'ProvisioningStatesProvisioning', 'ProvisioningStatesSucceeded', 'ProvisioningStatesExpiring', 'ProvisioningStatesDeleting', 'ProvisioningStatesHumanIntervention', 'ProvisioningStatesFailed'
	ProvisioningState ProvisioningStates `json:"provisioningState,omitempty"`
	// Role - Type of roles. Possible values include: 'Admin', 'Reader', 'ManageAdmin', 'ManageReader', 'DataAdmin', 'DataReader'
	Role RoleTypes `json:"role,omitempty"`
	// Principals - The principals being assigned to.
	Principals *[]AssignmentPrincipal `json:"principals,omitempty"`
	// Profiles - Profiles set for the assignment.
	Profiles *ResourceSetDescription `json:"profiles,omitempty"`
	// Interactions - Interactions set for the assignment.
	Interactions *ResourceSetDescription `json:"interactions,omitempty"`
	// Links - Links set for the assignment.
	Links *ResourceSetDescription `json:"links,omitempty"`
	// Kpis - Kpis set for the assignment.
	Kpis *ResourceSetDescription `json:"kpis,omitempty"`
	// SasPolicies - Sas Policies set for the assignment.
	SasPolicies *ResourceSetDescription `json:"sasPolicies,omitempty"`
	// Connectors - Connectors set for the assignment.
	Connectors *ResourceSetDescription `json:"connectors,omitempty"`
	// Views - Views set for the assignment.
	Views *ResourceSetDescription `json:"views,omitempty"`
	// RelationshipLinks - The Role assignments set for the relationship links.
	RelationshipLinks *ResourceSetDescription `json:"relationshipLinks,omitempty"`
	// Relationships - The Role assignments set for the relationships.
	Relationships *ResourceSetDescription `json:"relationships,omitempty"`
	// WidgetTypes - Widget types set for the assignment.
	WidgetTypes *ResourceSetDescription `json:"widgetTypes,omitempty"`
	// RoleAssignments - The Role assignments set for the assignment.
	RoleAssignments *ResourceSetDescription `json:"roleAssignments,omitempty"`
	// ConflationPolicies - Widget types set for the assignment.
	ConflationPolicies *ResourceSetDescription `json:"conflationPolicies,omitempty"`
	// Segments - The Role assignments set for the assignment.
	Segments *ResourceSetDescription `json:"segments,omitempty"`
}

RoleAssignment the Role Assignment definition.

func (RoleAssignment) MarshalJSON

func (ra RoleAssignment) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for RoleAssignment.

type RoleAssignmentListResult

type RoleAssignmentListResult struct {
	autorest.Response `json:"-"`
	// Value - Results of the list operation.
	Value *[]RoleAssignmentResourceFormat `json:"value,omitempty"`
	// NextLink - Link to the next set of results.
	NextLink *string `json:"nextLink,omitempty"`
}

RoleAssignmentListResult the response of list role assignment operation.

func (RoleAssignmentListResult) IsEmpty

func (ralr RoleAssignmentListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type RoleAssignmentListResultIterator

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

RoleAssignmentListResultIterator provides access to a complete listing of RoleAssignmentResourceFormat values.

func NewRoleAssignmentListResultIterator

func NewRoleAssignmentListResultIterator(page RoleAssignmentListResultPage) RoleAssignmentListResultIterator

Creates a new instance of the RoleAssignmentListResultIterator type.

func (*RoleAssignmentListResultIterator) Next

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

func (*RoleAssignmentListResultIterator) NextWithContext

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

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

func (RoleAssignmentListResultIterator) NotDone

func (iter RoleAssignmentListResultIterator) NotDone() bool

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

func (RoleAssignmentListResultIterator) Response

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

func (RoleAssignmentListResultIterator) Value

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

type RoleAssignmentListResultPage

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

RoleAssignmentListResultPage contains a page of RoleAssignmentResourceFormat values.

func NewRoleAssignmentListResultPage

Creates a new instance of the RoleAssignmentListResultPage type.

func (*RoleAssignmentListResultPage) Next

func (page *RoleAssignmentListResultPage) Next() error

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

func (*RoleAssignmentListResultPage) NextWithContext

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

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

func (RoleAssignmentListResultPage) NotDone

func (page RoleAssignmentListResultPage) NotDone() bool

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

func (RoleAssignmentListResultPage) Response

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

func (RoleAssignmentListResultPage) Values

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

type RoleAssignmentResourceFormat

type RoleAssignmentResourceFormat struct {
	autorest.Response `json:"-"`
	*RoleAssignment   `json:"properties,omitempty"`
	// ID - READ-ONLY; Resource ID.
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; Resource name.
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; Resource type.
	Type *string `json:"type,omitempty"`
}

RoleAssignmentResourceFormat the Role Assignment resource format.

func (RoleAssignmentResourceFormat) MarshalJSON

func (rarf RoleAssignmentResourceFormat) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for RoleAssignmentResourceFormat.

func (*RoleAssignmentResourceFormat) UnmarshalJSON

func (rarf *RoleAssignmentResourceFormat) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for RoleAssignmentResourceFormat struct.

type RoleAssignmentsClient

type RoleAssignmentsClient struct {
	BaseClient
}

RoleAssignmentsClient is the the Azure Customer Insights management API provides a RESTful set of web services that interact with Azure Customer Insights service to manage your resources. The API has entities that capture the relationship between an end user and the Azure Customer Insights service.

func NewRoleAssignmentsClient

func NewRoleAssignmentsClient(subscriptionID string) RoleAssignmentsClient

NewRoleAssignmentsClient creates an instance of the RoleAssignmentsClient client.

func NewRoleAssignmentsClientWithBaseURI

func NewRoleAssignmentsClientWithBaseURI(baseURI string, subscriptionID string) RoleAssignmentsClient

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

func (RoleAssignmentsClient) CreateOrUpdate

func (client RoleAssignmentsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, hubName string, assignmentName string, parameters RoleAssignmentResourceFormat) (result RoleAssignmentsCreateOrUpdateFuture, err error)

CreateOrUpdate creates or updates a role assignment in the hub. Parameters: resourceGroupName - the name of the resource group. hubName - the name of the hub. assignmentName - the assignment name parameters - parameters supplied to the CreateOrUpdate RoleAssignment operation.

func (RoleAssignmentsClient) CreateOrUpdatePreparer

func (client RoleAssignmentsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, hubName string, assignmentName string, parameters RoleAssignmentResourceFormat) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (RoleAssignmentsClient) CreateOrUpdateResponder

func (client RoleAssignmentsClient) CreateOrUpdateResponder(resp *http.Response) (result RoleAssignmentResourceFormat, err error)

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

func (RoleAssignmentsClient) CreateOrUpdateSender

func (client RoleAssignmentsClient) CreateOrUpdateSender(req *http.Request) (future RoleAssignmentsCreateOrUpdateFuture, err error)

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

func (RoleAssignmentsClient) Delete

func (client RoleAssignmentsClient) Delete(ctx context.Context, resourceGroupName string, hubName string, assignmentName string) (result autorest.Response, err error)

Delete deletes the role assignment in the hub. Parameters: resourceGroupName - the name of the resource group. hubName - the name of the hub. assignmentName - the name of the role assignment.

func (RoleAssignmentsClient) DeletePreparer

func (client RoleAssignmentsClient) DeletePreparer(ctx context.Context, resourceGroupName string, hubName string, assignmentName string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (RoleAssignmentsClient) DeleteResponder

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

func (client RoleAssignmentsClient) 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 (RoleAssignmentsClient) Get

func (client RoleAssignmentsClient) Get(ctx context.Context, resourceGroupName string, hubName string, assignmentName string) (result RoleAssignmentResourceFormat, err error)

Get gets the role assignment in the hub. Parameters: resourceGroupName - the name of the resource group. hubName - the name of the hub. assignmentName - the name of the role assignment.

func (RoleAssignmentsClient) GetPreparer

func (client RoleAssignmentsClient) GetPreparer(ctx context.Context, resourceGroupName string, hubName string, assignmentName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (RoleAssignmentsClient) GetResponder

func (client RoleAssignmentsClient) GetResponder(resp *http.Response) (result RoleAssignmentResourceFormat, err error)

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

func (RoleAssignmentsClient) GetSender

func (client RoleAssignmentsClient) 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 (RoleAssignmentsClient) ListByHub

func (client RoleAssignmentsClient) ListByHub(ctx context.Context, resourceGroupName string, hubName string) (result RoleAssignmentListResultPage, err error)

ListByHub gets all the role assignments for the specified hub. Parameters: resourceGroupName - the name of the resource group. hubName - the name of the hub.

func (RoleAssignmentsClient) ListByHubComplete

func (client RoleAssignmentsClient) ListByHubComplete(ctx context.Context, resourceGroupName string, hubName string) (result RoleAssignmentListResultIterator, err error)

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

func (RoleAssignmentsClient) ListByHubPreparer

func (client RoleAssignmentsClient) ListByHubPreparer(ctx context.Context, resourceGroupName string, hubName string) (*http.Request, error)

ListByHubPreparer prepares the ListByHub request.

func (RoleAssignmentsClient) ListByHubResponder

func (client RoleAssignmentsClient) ListByHubResponder(resp *http.Response) (result RoleAssignmentListResult, err error)

ListByHubResponder handles the response to the ListByHub request. The method always closes the http.Response Body.

func (RoleAssignmentsClient) ListByHubSender

func (client RoleAssignmentsClient) ListByHubSender(req *http.Request) (*http.Response, error)

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

type RoleAssignmentsCreateOrUpdateFuture

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

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

func (*RoleAssignmentsCreateOrUpdateFuture) UnmarshalJSON

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

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type RoleListResult

type RoleListResult struct {
	autorest.Response `json:"-"`
	// Value - Results of the list operation.
	Value *[]RoleResourceFormat `json:"value,omitempty"`
	// NextLink - Link to the next set of results.
	NextLink *string `json:"nextLink,omitempty"`
}

RoleListResult the response of list role assignment operation.

func (RoleListResult) IsEmpty

func (rlr RoleListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type RoleListResultIterator

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

RoleListResultIterator provides access to a complete listing of RoleResourceFormat values.

func NewRoleListResultIterator

func NewRoleListResultIterator(page RoleListResultPage) RoleListResultIterator

Creates a new instance of the RoleListResultIterator type.

func (*RoleListResultIterator) Next

func (iter *RoleListResultIterator) Next() error

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

func (*RoleListResultIterator) NextWithContext

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

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

func (RoleListResultIterator) NotDone

func (iter RoleListResultIterator) NotDone() bool

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

func (RoleListResultIterator) Response

func (iter RoleListResultIterator) Response() RoleListResult

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

func (RoleListResultIterator) Value

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

type RoleListResultPage

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

RoleListResultPage contains a page of RoleResourceFormat values.

func NewRoleListResultPage

func NewRoleListResultPage(cur RoleListResult, getNextPage func(context.Context, RoleListResult) (RoleListResult, error)) RoleListResultPage

Creates a new instance of the RoleListResultPage type.

func (*RoleListResultPage) Next

func (page *RoleListResultPage) Next() error

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

func (*RoleListResultPage) NextWithContext

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

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

func (RoleListResultPage) NotDone

func (page RoleListResultPage) NotDone() bool

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

func (RoleListResultPage) Response

func (page RoleListResultPage) Response() RoleListResult

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

func (RoleListResultPage) Values

func (page RoleListResultPage) Values() []RoleResourceFormat

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

type RoleResourceFormat

type RoleResourceFormat struct {
	*Role `json:"properties,omitempty"`
	// ID - READ-ONLY; Resource ID.
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; Resource name.
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; Resource type.
	Type *string `json:"type,omitempty"`
}

RoleResourceFormat the role resource format.

func (RoleResourceFormat) MarshalJSON

func (rrf RoleResourceFormat) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for RoleResourceFormat.

func (*RoleResourceFormat) UnmarshalJSON

func (rrf *RoleResourceFormat) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for RoleResourceFormat struct.

type RoleTypes

type RoleTypes string

RoleTypes enumerates the values for role types.

const (
	// Admin ...
	Admin RoleTypes = "Admin"
	// DataAdmin ...
	DataAdmin RoleTypes = "DataAdmin"
	// DataReader ...
	DataReader RoleTypes = "DataReader"
	// ManageAdmin ...
	ManageAdmin RoleTypes = "ManageAdmin"
	// ManageReader ...
	ManageReader RoleTypes = "ManageReader"
	// Reader ...
	Reader RoleTypes = "Reader"
)

func PossibleRoleTypesValues

func PossibleRoleTypesValues() []RoleTypes

PossibleRoleTypesValues returns an array of possible values for the RoleTypes const type.

type RolesClient

type RolesClient struct {
	BaseClient
}

RolesClient is the the Azure Customer Insights management API provides a RESTful set of web services that interact with Azure Customer Insights service to manage your resources. The API has entities that capture the relationship between an end user and the Azure Customer Insights service.

func NewRolesClient

func NewRolesClient(subscriptionID string) RolesClient

NewRolesClient creates an instance of the RolesClient client.

func NewRolesClientWithBaseURI

func NewRolesClientWithBaseURI(baseURI string, subscriptionID string) RolesClient

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

func (RolesClient) ListByHub

func (client RolesClient) ListByHub(ctx context.Context, resourceGroupName string, hubName string) (result RoleListResultPage, err error)

ListByHub gets all the roles for the hub. Parameters: resourceGroupName - the name of the resource group. hubName - the name of the hub.

func (RolesClient) ListByHubComplete

func (client RolesClient) ListByHubComplete(ctx context.Context, resourceGroupName string, hubName string) (result RoleListResultIterator, err error)

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

func (RolesClient) ListByHubPreparer

func (client RolesClient) ListByHubPreparer(ctx context.Context, resourceGroupName string, hubName string) (*http.Request, error)

ListByHubPreparer prepares the ListByHub request.

func (RolesClient) ListByHubResponder

func (client RolesClient) ListByHubResponder(resp *http.Response) (result RoleListResult, err error)

ListByHubResponder handles the response to the ListByHub request. The method always closes the http.Response Body.

func (RolesClient) ListByHubSender

func (client RolesClient) ListByHubSender(req *http.Request) (*http.Response, error)

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

type SalesforceConnectorProperties

type SalesforceConnectorProperties struct {
	// Usersetting - The user settings.
	Usersetting *SalesforceDiscoverSetting `json:"usersetting,omitempty"`
	// Salesforcetables - The Salesforce tables.
	Salesforcetables *[]SalesforceTable `json:"salesforcetables,omitempty"`
}

SalesforceConnectorProperties the Salesforce connector properties.

type SalesforceDiscoverSetting

type SalesforceDiscoverSetting struct {
	// SalesforceConnectionStringSecretURL - The salesforce connection string secret URL.
	SalesforceConnectionStringSecretURL *string `json:"salesforceConnectionStringSecretUrl,omitempty"`
}

SalesforceDiscoverSetting salesforce discover setting.

type SalesforceTable

type SalesforceTable struct {
	// IsProfile - Indicating whether this instance is profile.
	IsProfile *string `json:"isProfile,omitempty"`
	// TableCategory - The table category.
	TableCategory *string `json:"tableCategory,omitempty"`
	// TableName - The name of the table.
	TableName *string `json:"tableName,omitempty"`
	// TableRemarks - The table remarks.
	TableRemarks *string `json:"tableRemarks,omitempty"`
	// TableSchema - The table schema.
	TableSchema *string `json:"tableSchema,omitempty"`
}

SalesforceTable salesforce table.

type Status

type Status string

Status enumerates the values for status.

const (
	// StatusActive ...
	StatusActive Status = "Active"
	// StatusDeleted ...
	StatusDeleted Status = "Deleted"
	// StatusNone ...
	StatusNone Status = "None"
)

func PossibleStatusValues

func PossibleStatusValues() []Status

PossibleStatusValues returns an array of possible values for the Status const type.

type StrongID

type StrongID struct {
	// KeyPropertyNames - The properties which make up the unique ID.
	KeyPropertyNames *[]string `json:"keyPropertyNames,omitempty"`
	// StrongIDName - The Name identifying the strong ID.
	StrongIDName *string `json:"strongIdName,omitempty"`
	// DisplayName - Localized display name.
	DisplayName map[string]*string `json:"displayName"`
	// Description - Localized descriptions.
	Description map[string]*string `json:"description"`
}

StrongID property/Properties which represent a unique ID.

func (StrongID) MarshalJSON

func (si StrongID) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for StrongID.

type SuggestRelationshipLinksResponse

type SuggestRelationshipLinksResponse struct {
	autorest.Response `json:"-"`
	// InteractionName - READ-ONLY; The interaction name.
	InteractionName *string `json:"interactionName,omitempty"`
	// SuggestedRelationships - READ-ONLY; Suggested relationships for the type.
	SuggestedRelationships *[]RelationshipsLookup `json:"suggestedRelationships,omitempty"`
}

SuggestRelationshipLinksResponse the response of suggest relationship links operation.

func (SuggestRelationshipLinksResponse) MarshalJSON

func (srlr SuggestRelationshipLinksResponse) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for SuggestRelationshipLinksResponse.

type TypePropertiesMapping

type TypePropertiesMapping struct {
	// SourcePropertyName -  Property name on the source Entity Type.
	SourcePropertyName *string `json:"sourcePropertyName,omitempty"`
	// TargetPropertyName - Property name on the target Entity Type.
	TargetPropertyName *string `json:"targetPropertyName,omitempty"`
	// LinkType - Link type. Possible values include: 'UpdateAlways', 'CopyIfNull'
	LinkType LinkTypes `json:"linkType,omitempty"`
}

TypePropertiesMapping metadata for a Link's property mapping.

type View

type View struct {
	// ViewName - READ-ONLY; Name of the view.
	ViewName *string `json:"viewName,omitempty"`
	// UserID - the user ID.
	UserID *string `json:"userId,omitempty"`
	// TenantID - READ-ONLY; the hub name.
	TenantID *string `json:"tenantId,omitempty"`
	// DisplayName - Localized display name for the view.
	DisplayName map[string]*string `json:"displayName"`
	// Definition - View definition.
	Definition *string `json:"definition,omitempty"`
	// Changed - READ-ONLY; Date time when view was last modified.
	Changed *date.Time `json:"changed,omitempty"`
	// Created - READ-ONLY; Date time when view was created.
	Created *date.Time `json:"created,omitempty"`
}

View the view in Customer 360 web application.

func (View) MarshalJSON

func (vVar View) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for View.

type ViewListResult

type ViewListResult struct {
	autorest.Response `json:"-"`
	// Value - Results of the list operation.
	Value *[]ViewResourceFormat `json:"value,omitempty"`
	// NextLink - Link to the next set of results.
	NextLink *string `json:"nextLink,omitempty"`
}

ViewListResult the response of list view operation.

func (ViewListResult) IsEmpty

func (vlr ViewListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type ViewListResultIterator

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

ViewListResultIterator provides access to a complete listing of ViewResourceFormat values.

func NewViewListResultIterator

func NewViewListResultIterator(page ViewListResultPage) ViewListResultIterator

Creates a new instance of the ViewListResultIterator type.

func (*ViewListResultIterator) Next

func (iter *ViewListResultIterator) Next() error

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

func (*ViewListResultIterator) NextWithContext

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

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

func (ViewListResultIterator) NotDone

func (iter ViewListResultIterator) NotDone() bool

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

func (ViewListResultIterator) Response

func (iter ViewListResultIterator) Response() ViewListResult

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

func (ViewListResultIterator) Value

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

type ViewListResultPage

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

ViewListResultPage contains a page of ViewResourceFormat values.

func NewViewListResultPage

func NewViewListResultPage(cur ViewListResult, getNextPage func(context.Context, ViewListResult) (ViewListResult, error)) ViewListResultPage

Creates a new instance of the ViewListResultPage type.

func (*ViewListResultPage) Next

func (page *ViewListResultPage) Next() error

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

func (*ViewListResultPage) NextWithContext

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

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

func (ViewListResultPage) NotDone

func (page ViewListResultPage) NotDone() bool

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

func (ViewListResultPage) Response

func (page ViewListResultPage) Response() ViewListResult

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

func (ViewListResultPage) Values

func (page ViewListResultPage) Values() []ViewResourceFormat

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

type ViewResourceFormat

type ViewResourceFormat struct {
	autorest.Response `json:"-"`
	*View             `json:"properties,omitempty"`
	// ID - READ-ONLY; Resource ID.
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; Resource name.
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; Resource type.
	Type *string `json:"type,omitempty"`
}

ViewResourceFormat the view resource format.

func (ViewResourceFormat) MarshalJSON

func (vrf ViewResourceFormat) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ViewResourceFormat.

func (*ViewResourceFormat) UnmarshalJSON

func (vrf *ViewResourceFormat) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for ViewResourceFormat struct.

type ViewsClient

type ViewsClient struct {
	BaseClient
}

ViewsClient is the the Azure Customer Insights management API provides a RESTful set of web services that interact with Azure Customer Insights service to manage your resources. The API has entities that capture the relationship between an end user and the Azure Customer Insights service.

func NewViewsClient

func NewViewsClient(subscriptionID string) ViewsClient

NewViewsClient creates an instance of the ViewsClient client.

func NewViewsClientWithBaseURI

func NewViewsClientWithBaseURI(baseURI string, subscriptionID string) ViewsClient

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

func (ViewsClient) CreateOrUpdate

func (client ViewsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, hubName string, viewName string, parameters ViewResourceFormat) (result ViewResourceFormat, err error)

CreateOrUpdate creates a view or updates an existing view in the hub. Parameters: resourceGroupName - the name of the resource group. hubName - the name of the hub. viewName - the name of the view. parameters - parameters supplied to the CreateOrUpdate View operation.

func (ViewsClient) CreateOrUpdatePreparer

func (client ViewsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, hubName string, viewName string, parameters ViewResourceFormat) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (ViewsClient) CreateOrUpdateResponder

func (client ViewsClient) CreateOrUpdateResponder(resp *http.Response) (result ViewResourceFormat, err error)

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

func (ViewsClient) CreateOrUpdateSender

func (client ViewsClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)

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

func (ViewsClient) Delete

func (client ViewsClient) Delete(ctx context.Context, resourceGroupName string, hubName string, viewName string, userID string) (result autorest.Response, err error)

Delete deletes a view in the specified hub. Parameters: resourceGroupName - the name of the resource group. hubName - the name of the hub. viewName - the name of the view. userID - the user ID. Use * to retrieve hub level view.

func (ViewsClient) DeletePreparer

func (client ViewsClient) DeletePreparer(ctx context.Context, resourceGroupName string, hubName string, viewName string, userID string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (ViewsClient) DeleteResponder

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

func (client ViewsClient) 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 (ViewsClient) Get

func (client ViewsClient) Get(ctx context.Context, resourceGroupName string, hubName string, viewName string, userID string) (result ViewResourceFormat, err error)

Get gets a view in the hub. Parameters: resourceGroupName - the name of the resource group. hubName - the name of the hub. viewName - the name of the view. userID - the user ID. Use * to retrieve hub level view.

func (ViewsClient) GetPreparer

func (client ViewsClient) GetPreparer(ctx context.Context, resourceGroupName string, hubName string, viewName string, userID string) (*http.Request, error)

GetPreparer prepares the Get request.

func (ViewsClient) GetResponder

func (client ViewsClient) GetResponder(resp *http.Response) (result ViewResourceFormat, err error)

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

func (ViewsClient) GetSender

func (client ViewsClient) 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 (ViewsClient) ListByHub

func (client ViewsClient) ListByHub(ctx context.Context, resourceGroupName string, hubName string, userID string) (result ViewListResultPage, err error)

ListByHub gets all available views for given user in the specified hub. Parameters: resourceGroupName - the name of the resource group. hubName - the name of the hub. userID - the user ID. Use * to retrieve hub level views.

func (ViewsClient) ListByHubComplete

func (client ViewsClient) ListByHubComplete(ctx context.Context, resourceGroupName string, hubName string, userID string) (result ViewListResultIterator, err error)

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

func (ViewsClient) ListByHubPreparer

func (client ViewsClient) ListByHubPreparer(ctx context.Context, resourceGroupName string, hubName string, userID string) (*http.Request, error)

ListByHubPreparer prepares the ListByHub request.

func (ViewsClient) ListByHubResponder

func (client ViewsClient) ListByHubResponder(resp *http.Response) (result ViewListResult, err error)

ListByHubResponder handles the response to the ListByHub request. The method always closes the http.Response Body.

func (ViewsClient) ListByHubSender

func (client ViewsClient) ListByHubSender(req *http.Request) (*http.Response, error)

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

type WidgetType

type WidgetType struct {
	// WidgetTypeName - READ-ONLY; Name of the widget type.
	WidgetTypeName *string `json:"widgetTypeName,omitempty"`
	// Definition - Definition for widget type.
	Definition *string `json:"definition,omitempty"`
	// Description - Description for widget type.
	Description *string `json:"description,omitempty"`
	// DisplayName - Localized display name for the widget type.
	DisplayName map[string]*string `json:"displayName"`
	// ImageURL - The image URL.
	ImageURL *string `json:"imageUrl,omitempty"`
	// TenantID - READ-ONLY; The hub name.
	TenantID *string `json:"tenantId,omitempty"`
	// WidgetVersion - The widget version.
	WidgetVersion *string `json:"widgetVersion,omitempty"`
	// Changed - READ-ONLY; Date time when widget type was last modified.
	Changed *date.Time `json:"changed,omitempty"`
	// Created - READ-ONLY; Date time when widget type was created.
	Created *date.Time `json:"created,omitempty"`
}

WidgetType definition of WidgetType.

func (WidgetType) MarshalJSON

func (wt WidgetType) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for WidgetType.

type WidgetTypeListResult

type WidgetTypeListResult struct {
	autorest.Response `json:"-"`
	// Value - Results of the list operation.
	Value *[]WidgetTypeResourceFormat `json:"value,omitempty"`
	// NextLink - Link to the next set of results.
	NextLink *string `json:"nextLink,omitempty"`
}

WidgetTypeListResult the response of list widget type operation.

func (WidgetTypeListResult) IsEmpty

func (wtlr WidgetTypeListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type WidgetTypeListResultIterator

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

WidgetTypeListResultIterator provides access to a complete listing of WidgetTypeResourceFormat values.

func NewWidgetTypeListResultIterator

func NewWidgetTypeListResultIterator(page WidgetTypeListResultPage) WidgetTypeListResultIterator

Creates a new instance of the WidgetTypeListResultIterator type.

func (*WidgetTypeListResultIterator) Next

func (iter *WidgetTypeListResultIterator) Next() error

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

func (*WidgetTypeListResultIterator) NextWithContext

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

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

func (WidgetTypeListResultIterator) NotDone

func (iter WidgetTypeListResultIterator) NotDone() bool

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

func (WidgetTypeListResultIterator) Response

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

func (WidgetTypeListResultIterator) Value

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

type WidgetTypeListResultPage

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

WidgetTypeListResultPage contains a page of WidgetTypeResourceFormat values.

func NewWidgetTypeListResultPage

func NewWidgetTypeListResultPage(cur WidgetTypeListResult, getNextPage func(context.Context, WidgetTypeListResult) (WidgetTypeListResult, error)) WidgetTypeListResultPage

Creates a new instance of the WidgetTypeListResultPage type.

func (*WidgetTypeListResultPage) Next

func (page *WidgetTypeListResultPage) Next() error

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

func (*WidgetTypeListResultPage) NextWithContext

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

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

func (WidgetTypeListResultPage) NotDone

func (page WidgetTypeListResultPage) NotDone() bool

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

func (WidgetTypeListResultPage) Response

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

func (WidgetTypeListResultPage) Values

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

type WidgetTypeResourceFormat

type WidgetTypeResourceFormat struct {
	autorest.Response `json:"-"`
	*WidgetType       `json:"properties,omitempty"`
	// ID - READ-ONLY; Resource ID.
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; Resource name.
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; Resource type.
	Type *string `json:"type,omitempty"`
}

WidgetTypeResourceFormat the WidgetTypeResourceFormat

func (WidgetTypeResourceFormat) MarshalJSON

func (wtrf WidgetTypeResourceFormat) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for WidgetTypeResourceFormat.

func (*WidgetTypeResourceFormat) UnmarshalJSON

func (wtrf *WidgetTypeResourceFormat) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for WidgetTypeResourceFormat struct.

type WidgetTypesClient

type WidgetTypesClient struct {
	BaseClient
}

WidgetTypesClient is the the Azure Customer Insights management API provides a RESTful set of web services that interact with Azure Customer Insights service to manage your resources. The API has entities that capture the relationship between an end user and the Azure Customer Insights service.

func NewWidgetTypesClient

func NewWidgetTypesClient(subscriptionID string) WidgetTypesClient

NewWidgetTypesClient creates an instance of the WidgetTypesClient client.

func NewWidgetTypesClientWithBaseURI

func NewWidgetTypesClientWithBaseURI(baseURI string, subscriptionID string) WidgetTypesClient

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

func (WidgetTypesClient) Get

func (client WidgetTypesClient) Get(ctx context.Context, resourceGroupName string, hubName string, widgetTypeName string) (result WidgetTypeResourceFormat, err error)

Get gets a widget type in the specified hub. Parameters: resourceGroupName - the name of the resource group. hubName - the name of the hub. widgetTypeName - the name of the widget type.

func (WidgetTypesClient) GetPreparer

func (client WidgetTypesClient) GetPreparer(ctx context.Context, resourceGroupName string, hubName string, widgetTypeName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (WidgetTypesClient) GetResponder

func (client WidgetTypesClient) GetResponder(resp *http.Response) (result WidgetTypeResourceFormat, err error)

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

func (WidgetTypesClient) GetSender

func (client WidgetTypesClient) 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 (WidgetTypesClient) ListByHub

func (client WidgetTypesClient) ListByHub(ctx context.Context, resourceGroupName string, hubName string) (result WidgetTypeListResultPage, err error)

ListByHub gets all available widget types in the specified hub. Parameters: resourceGroupName - the name of the resource group. hubName - the name of the hub.

func (WidgetTypesClient) ListByHubComplete

func (client WidgetTypesClient) ListByHubComplete(ctx context.Context, resourceGroupName string, hubName string) (result WidgetTypeListResultIterator, err error)

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

func (WidgetTypesClient) ListByHubPreparer

func (client WidgetTypesClient) ListByHubPreparer(ctx context.Context, resourceGroupName string, hubName string) (*http.Request, error)

ListByHubPreparer prepares the ListByHub request.

func (WidgetTypesClient) ListByHubResponder

func (client WidgetTypesClient) ListByHubResponder(resp *http.Response) (result WidgetTypeListResult, err error)

ListByHubResponder handles the response to the ListByHub request. The method always closes the http.Response Body.

func (WidgetTypesClient) ListByHubSender

func (client WidgetTypesClient) ListByHubSender(req *http.Request) (*http.Response, error)

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

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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