customerinsights

package
v11.2.1-beta+incompatible Latest Latest
Warning

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

Go to latest
Published: Nov 7, 2017 License: Apache-2.0 Imports: 7 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       *string             `json:"principalId,omitempty"`
	PrincipalType     *string             `json:"principalType,omitempty"`
	PrincipalMetadata *map[string]*string `json:"principalMetadata,omitempty"`
}

AssignmentPrincipal is the AssignmentPrincipal

type AuthorizationPoliciesClient

type AuthorizationPoliciesClient struct {
	ManagementClient
}

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.

func (AuthorizationPoliciesClient) CreateOrUpdate

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

CreateOrUpdate creates an authorization policy or updates an existing authorization policy.

resourceGroupName is the name of the resource group. hubName is the name of the hub. authorizationPolicyName is the name of the policy. parameters is parameters supplied to the CreateOrUpdate authorization policy operation.

func (AuthorizationPoliciesClient) CreateOrUpdatePreparer

func (client AuthorizationPoliciesClient) CreateOrUpdatePreparer(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(resourceGroupName string, hubName string, authorizationPolicyName string) (result AuthorizationPolicyResourceFormat, err error)

Get gets an authorization policy in the hub.

resourceGroupName is the name of the resource group. hubName is the name of the hub. authorizationPolicyName is the name of the policy.

func (AuthorizationPoliciesClient) GetPreparer

func (client AuthorizationPoliciesClient) GetPreparer(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(resourceGroupName string, hubName string) (result AuthorizationPolicyListResult, err error)

ListByHub gets all the authorization policies in a specified hub.

resourceGroupName is the name of the resource group. hubName is the name of the hub.

func (AuthorizationPoliciesClient) ListByHubComplete

func (client AuthorizationPoliciesClient) ListByHubComplete(resourceGroupName string, hubName string, cancel <-chan struct{}) (<-chan AuthorizationPolicyResourceFormat, <-chan error)

ListByHubComplete gets all elements from the list without paging.

func (AuthorizationPoliciesClient) ListByHubNextResults

func (client AuthorizationPoliciesClient) ListByHubNextResults(lastResults AuthorizationPolicyListResult) (result AuthorizationPolicyListResult, err error)

ListByHubNextResults retrieves the next set of results, if any.

func (AuthorizationPoliciesClient) ListByHubPreparer

func (client AuthorizationPoliciesClient) ListByHubPreparer(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(resourceGroupName string, hubName string, authorizationPolicyName string) (result AuthorizationPolicy, err error)

RegeneratePrimaryKey regenerates the primary policy key of the specified authorization policy.

resourceGroupName is the name of the resource group. hubName is the name of the hub. authorizationPolicyName is the name of the policy.

func (AuthorizationPoliciesClient) RegeneratePrimaryKeyPreparer

func (client AuthorizationPoliciesClient) RegeneratePrimaryKeyPreparer(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(resourceGroupName string, hubName string, authorizationPolicyName string) (result AuthorizationPolicy, err error)

RegenerateSecondaryKey regenerates the secondary policy key of the specified authorization policy.

resourceGroupName is the name of the resource group. hubName is the name of the hub. authorizationPolicyName is the name of the policy.

func (AuthorizationPoliciesClient) RegenerateSecondaryKeyPreparer

func (client AuthorizationPoliciesClient) RegenerateSecondaryKeyPreparer(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        *string            `json:"policyName,omitempty"`
	Permissions       *[]PermissionTypes `json:"permissions,omitempty"`
	PrimaryKey        *string            `json:"primaryKey,omitempty"`
	SecondaryKey      *string            `json:"secondaryKey,omitempty"`
}

AuthorizationPolicy is the authorization policy.

type AuthorizationPolicyListResult

type AuthorizationPolicyListResult struct {
	autorest.Response `json:"-"`
	Value             *[]AuthorizationPolicyResourceFormat `json:"value,omitempty"`
	NextLink          *string                              `json:"nextLink,omitempty"`
}

AuthorizationPolicyListResult is the response of list authorization policy operation.

func (AuthorizationPolicyListResult) AuthorizationPolicyListResultPreparer

func (client AuthorizationPolicyListResult) AuthorizationPolicyListResultPreparer() (*http.Request, error)

AuthorizationPolicyListResultPreparer prepares a request to retrieve the next set of results. It returns nil if no more results exist.

type AuthorizationPolicyResourceFormat

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

AuthorizationPolicyResourceFormat is the authorization policy resource format.

type AzureBlobConnectorProperties

type AzureBlobConnectorProperties struct {
	ConnectionKeyVaultURL *string `json:"connectionKeyVaultUrl,omitempty"`
}

AzureBlobConnectorProperties is the Azure Blob connector properties.

type CalculationWindowTypes

type CalculationWindowTypes string

CalculationWindowTypes enumerates the values for calculation window types.

const (
	// Day specifies the day state for calculation window types.
	Day CalculationWindowTypes = "Day"
	// Hour specifies the hour state for calculation window types.
	Hour CalculationWindowTypes = "Hour"
	// Lifetime specifies the lifetime state for calculation window types.
	Lifetime CalculationWindowTypes = "Lifetime"
	// Month specifies the month state for calculation window types.
	Month CalculationWindowTypes = "Month"
	// Week specifies the week state for calculation window types.
	Week CalculationWindowTypes = "Week"
)

type CanonicalProfileDefinition

type CanonicalProfileDefinition struct {
	CanonicalProfileID *int32                                      `json:"canonicalProfileId,omitempty"`
	Properties         *[]CanonicalProfileDefinitionPropertiesItem `json:"properties,omitempty"`
}

CanonicalProfileDefinition is definition of canonical profile.

type CanonicalProfileDefinitionPropertiesItem

type CanonicalProfileDefinitionPropertiesItem struct {
	ProfileName         *string                    `json:"profileName,omitempty"`
	ProfilePropertyName *string                    `json:"profilePropertyName,omitempty"`
	Rank                *int32                     `json:"rank,omitempty"`
	Type                CanonicalPropertyValueType `json:"type,omitempty"`
	Value               *string                    `json:"value,omitempty"`
}

CanonicalProfileDefinitionPropertiesItem is the definition of a canonical profile property.

type CanonicalPropertyValueType

type CanonicalPropertyValueType string

CanonicalPropertyValueType enumerates the values for canonical property value type.

const (
	// Categorical specifies the categorical state for canonical property value type.
	Categorical CanonicalPropertyValueType = "Categorical"
	// DerivedCategorical specifies the derived categorical state for canonical property value type.
	DerivedCategorical CanonicalPropertyValueType = "DerivedCategorical"
	// DerivedNumeric specifies the derived numeric state for canonical property value type.
	DerivedNumeric CanonicalPropertyValueType = "DerivedNumeric"
	// Numeric specifies the numeric state for canonical property value type.
	Numeric CanonicalPropertyValueType = "Numeric"
)

type CardinalityTypes

type CardinalityTypes string

CardinalityTypes enumerates the values for cardinality types.

const (
	// ManyToMany specifies the many to many state for cardinality types.
	ManyToMany CardinalityTypes = "ManyToMany"
	// OneToMany specifies the one to many state for cardinality types.
	OneToMany CardinalityTypes = "OneToMany"
	// OneToOne specifies the one to one state for cardinality types.
	OneToOne CardinalityTypes = "OneToOne"
)

type CompletionOperationTypes

type CompletionOperationTypes string

CompletionOperationTypes enumerates the values for completion operation types.

const (
	// DeleteFile specifies the delete file state for completion operation types.
	DeleteFile CompletionOperationTypes = "DeleteFile"
	// DoNothing specifies the do nothing state for completion operation types.
	DoNothing CompletionOperationTypes = "DoNothing"
	// MoveFile specifies the move file state for completion operation types.
	MoveFile CompletionOperationTypes = "MoveFile"
)

type Connector

type Connector struct {
	ConnectorID         *int32                              `json:"connectorId,omitempty"`
	ConnectorName       *string                             `json:"connectorName,omitempty"`
	ConnectorType       ConnectorTypes                      `json:"connectorType,omitempty"`
	DisplayName         *string                             `json:"displayName,omitempty"`
	Description         *string                             `json:"description,omitempty"`
	ConnectorProperties *map[string]*map[string]interface{} `json:"connectorProperties,omitempty"`
	Created             *date.Time                          `json:"created,omitempty"`
	LastModified        *date.Time                          `json:"lastModified,omitempty"`
	State               ConnectorStates                     `json:"state,omitempty"`
	TenantID            *string                             `json:"tenantId,omitempty"`
	IsInternal          *bool                               `json:"isInternal,omitempty"`
}

Connector is properties of connector.

type ConnectorListResult

type ConnectorListResult struct {
	autorest.Response `json:"-"`
	Value             *[]ConnectorResourceFormat `json:"value,omitempty"`
	NextLink          *string                    `json:"nextLink,omitempty"`
}

ConnectorListResult is the response of list connector operation.

func (ConnectorListResult) ConnectorListResultPreparer

func (client ConnectorListResult) ConnectorListResultPreparer() (*http.Request, error)

ConnectorListResultPreparer prepares a request to retrieve the next set of results. It returns nil if no more results exist.

type ConnectorMapping

type ConnectorMapping struct {
	ConnectorName        *string                     `json:"connectorName,omitempty"`
	ConnectorType        ConnectorTypes              `json:"connectorType,omitempty"`
	Created              *date.Time                  `json:"created,omitempty"`
	LastModified         *date.Time                  `json:"lastModified,omitempty"`
	EntityType           EntityTypes                 `json:"entityType,omitempty"`
	EntityTypeName       *string                     `json:"entityTypeName,omitempty"`
	ConnectorMappingName *string                     `json:"connectorMappingName,omitempty"`
	DisplayName          *string                     `json:"displayName,omitempty"`
	Description          *string                     `json:"description,omitempty"`
	DataFormatID         *string                     `json:"dataFormatId,omitempty"`
	MappingProperties    *ConnectorMappingProperties `json:"mappingProperties,omitempty"`
	NextRunTime          *date.Time                  `json:"nextRunTime,omitempty"`
	RunID                *string                     `json:"runId,omitempty"`
	State                ConnectorMappingStates      `json:"state,omitempty"`
	TenantID             *string                     `json:"tenantId,omitempty"`
}

ConnectorMapping is the connector mapping definition.

type ConnectorMappingAvailability

type ConnectorMappingAvailability struct {
	Frequency FrequencyTypes `json:"frequency,omitempty"`
	Interval  *int32         `json:"interval,omitempty"`
}

ConnectorMappingAvailability is connector mapping property availability.

type ConnectorMappingCompleteOperation

type ConnectorMappingCompleteOperation struct {
	CompletionOperationType CompletionOperationTypes `json:"completionOperationType,omitempty"`
	DestinationFolder       *string                  `json:"destinationFolder,omitempty"`
}

ConnectorMappingCompleteOperation is the complete operation.

type ConnectorMappingErrorManagement

type ConnectorMappingErrorManagement struct {
	ErrorManagementType ErrorManagementTypes `json:"errorManagementType,omitempty"`
	ErrorLimit          *int32               `json:"errorLimit,omitempty"`
}

ConnectorMappingErrorManagement is the error mangement.

type ConnectorMappingFormat

type ConnectorMappingFormat struct {
	FormatType           *string `json:"formatType,omitempty"`
	ColumnDelimiter      *string `json:"columnDelimiter,omitempty"`
	AcceptLanguage       *string `json:"acceptLanguage,omitempty"`
	QuoteCharacter       *string `json:"quoteCharacter,omitempty"`
	QuoteEscapeCharacter *string `json:"quoteEscapeCharacter,omitempty"`
	ArraySeparator       *string `json:"arraySeparator,omitempty"`
}

ConnectorMappingFormat is connector mapping property format.

type ConnectorMappingListResult

type ConnectorMappingListResult struct {
	autorest.Response `json:"-"`
	Value             *[]ConnectorMappingResourceFormat `json:"value,omitempty"`
	NextLink          *string                           `json:"nextLink,omitempty"`
}

ConnectorMappingListResult is the response of list connector mapping operation.

func (ConnectorMappingListResult) ConnectorMappingListResultPreparer

func (client ConnectorMappingListResult) ConnectorMappingListResultPreparer() (*http.Request, error)

ConnectorMappingListResultPreparer prepares a request to retrieve the next set of results. It returns nil if no more results exist.

type ConnectorMappingProperties

type ConnectorMappingProperties struct {
	FolderPath        *string                            `json:"folderPath,omitempty"`
	FileFilter        *string                            `json:"fileFilter,omitempty"`
	HasHeader         *bool                              `json:"hasHeader,omitempty"`
	ErrorManagement   *ConnectorMappingErrorManagement   `json:"errorManagement,omitempty"`
	Format            *ConnectorMappingFormat            `json:"format,omitempty"`
	Availability      *ConnectorMappingAvailability      `json:"availability,omitempty"`
	Structure         *[]ConnectorMappingStructure       `json:"structure,omitempty"`
	CompleteOperation *ConnectorMappingCompleteOperation `json:"completeOperation,omitempty"`
}

ConnectorMappingProperties is the connector mapping properties.

type ConnectorMappingResourceFormat

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

ConnectorMappingResourceFormat is the c onnector mapping resource format.

type ConnectorMappingStates

type ConnectorMappingStates string

ConnectorMappingStates enumerates the values for connector mapping states.

const (
	// Created specifies the created state for connector mapping states.
	Created ConnectorMappingStates = "Created"
	// Creating specifies the creating state for connector mapping states.
	Creating ConnectorMappingStates = "Creating"
	// Expiring specifies the expiring state for connector mapping states.
	Expiring ConnectorMappingStates = "Expiring"
	// Failed specifies the failed state for connector mapping states.
	Failed ConnectorMappingStates = "Failed"
	// Ready specifies the ready state for connector mapping states.
	Ready ConnectorMappingStates = "Ready"
	// Running specifies the running state for connector mapping states.
	Running ConnectorMappingStates = "Running"
	// Stopped specifies the stopped state for connector mapping states.
	Stopped ConnectorMappingStates = "Stopped"
)

type ConnectorMappingStructure

type ConnectorMappingStructure struct {
	PropertyName          *string `json:"propertyName,omitempty"`
	ColumnName            *string `json:"columnName,omitempty"`
	CustomFormatSpecifier *string `json:"customFormatSpecifier,omitempty"`
	IsEncrypted           *bool   `json:"isEncrypted,omitempty"`
}

ConnectorMappingStructure is connector mapping property structure.

type ConnectorMappingsClient

type ConnectorMappingsClient struct {
	ManagementClient
}

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.

func (ConnectorMappingsClient) CreateOrUpdate

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

resourceGroupName is the name of the resource group. hubName is the name of the hub. connectorName is the name of the connector. mappingName is the name of the connector mapping. parameters is parameters supplied to the CreateOrUpdate Connector Mapping operation.

func (ConnectorMappingsClient) CreateOrUpdatePreparer

func (client ConnectorMappingsClient) CreateOrUpdatePreparer(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(resourceGroupName string, hubName string, connectorName string, mappingName string) (result autorest.Response, err error)

Delete deletes a connector mapping in the connector.

resourceGroupName is the name of the resource group. hubName is the name of the hub. connectorName is the name of the connector. mappingName is the name of the connector mapping.

func (ConnectorMappingsClient) DeletePreparer

func (client ConnectorMappingsClient) DeletePreparer(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(resourceGroupName string, hubName string, connectorName string, mappingName string) (result ConnectorMappingResourceFormat, err error)

Get gets a connector mapping in the connector.

resourceGroupName is the name of the resource group. hubName is the name of the hub. connectorName is the name of the connector. mappingName is the name of the connector mapping.

func (ConnectorMappingsClient) GetPreparer

func (client ConnectorMappingsClient) GetPreparer(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(resourceGroupName string, hubName string, connectorName string) (result ConnectorMappingListResult, err error)

ListByConnector gets all the connector mappings in the specified connector.

resourceGroupName is the name of the resource group. hubName is the name of the hub. connectorName is the name of the connector.

func (ConnectorMappingsClient) ListByConnectorComplete

func (client ConnectorMappingsClient) ListByConnectorComplete(resourceGroupName string, hubName string, connectorName string, cancel <-chan struct{}) (<-chan ConnectorMappingResourceFormat, <-chan error)

ListByConnectorComplete gets all elements from the list without paging.

func (ConnectorMappingsClient) ListByConnectorNextResults

func (client ConnectorMappingsClient) ListByConnectorNextResults(lastResults ConnectorMappingListResult) (result ConnectorMappingListResult, err error)

ListByConnectorNextResults retrieves the next set of results, if any.

func (ConnectorMappingsClient) ListByConnectorPreparer

func (client ConnectorMappingsClient) ListByConnectorPreparer(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:"-"`
	ID                *string `json:"id,omitempty"`
	Name              *string `json:"name,omitempty"`
	Type              *string `json:"type,omitempty"`
	*Connector        `json:"properties,omitempty"`
}

ConnectorResourceFormat is the connector resource format.

type ConnectorStates

type ConnectorStates string

ConnectorStates enumerates the values for connector states.

const (
	// ConnectorStatesCreated specifies the connector states created state for connector states.
	ConnectorStatesCreated ConnectorStates = "Created"
	// ConnectorStatesCreating specifies the connector states creating state for connector states.
	ConnectorStatesCreating ConnectorStates = "Creating"
	// ConnectorStatesDeleting specifies the connector states deleting state for connector states.
	ConnectorStatesDeleting ConnectorStates = "Deleting"
	// ConnectorStatesExpiring specifies the connector states expiring state for connector states.
	ConnectorStatesExpiring ConnectorStates = "Expiring"
	// ConnectorStatesFailed specifies the connector states failed state for connector states.
	ConnectorStatesFailed ConnectorStates = "Failed"
	// ConnectorStatesReady specifies the connector states ready state for connector states.
	ConnectorStatesReady ConnectorStates = "Ready"
)

type ConnectorTypes

type ConnectorTypes string

ConnectorTypes enumerates the values for connector types.

const (
	// AzureBlob specifies the azure blob state for connector types.
	AzureBlob ConnectorTypes = "AzureBlob"
	// CRM specifies the crm state for connector types.
	CRM ConnectorTypes = "CRM"
	// ExchangeOnline specifies the exchange online state for connector types.
	ExchangeOnline ConnectorTypes = "ExchangeOnline"
	// None specifies the none state for connector types.
	None ConnectorTypes = "None"
	// Outbound specifies the outbound state for connector types.
	Outbound ConnectorTypes = "Outbound"
	// Salesforce specifies the salesforce state for connector types.
	Salesforce ConnectorTypes = "Salesforce"
)

type ConnectorsClient

type ConnectorsClient struct {
	ManagementClient
}

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.

func (ConnectorsClient) CreateOrUpdate

func (client ConnectorsClient) CreateOrUpdate(resourceGroupName string, hubName string, connectorName string, parameters ConnectorResourceFormat, cancel <-chan struct{}) (<-chan ConnectorResourceFormat, <-chan error)

CreateOrUpdate creates a connector or updates an existing connector in the hub. This method may poll for completion. Polling can be canceled by passing the cancel channel argument. The channel will be used to cancel polling and any outstanding HTTP requests.

resourceGroupName is the name of the resource group. hubName is the name of the hub. connectorName is the name of the connector. parameters is parameters supplied to the CreateOrUpdate Connector operation.

func (ConnectorsClient) CreateOrUpdatePreparer

func (client ConnectorsClient) CreateOrUpdatePreparer(resourceGroupName string, hubName string, connectorName string, parameters ConnectorResourceFormat, cancel <-chan struct{}) (*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) (*http.Response, 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(resourceGroupName string, hubName string, connectorName string, cancel <-chan struct{}) (<-chan autorest.Response, <-chan error)

Delete deletes a connector in the hub. This method may poll for completion. Polling can be canceled by passing the cancel channel argument. The channel will be used to cancel polling and any outstanding HTTP requests.

resourceGroupName is the name of the resource group. hubName is the name of the hub. connectorName is the name of the connector.

func (ConnectorsClient) DeletePreparer

func (client ConnectorsClient) DeletePreparer(resourceGroupName string, hubName string, connectorName string, cancel <-chan struct{}) (*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) (*http.Response, 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(resourceGroupName string, hubName string, connectorName string) (result ConnectorResourceFormat, err error)

Get gets a connector in the hub.

resourceGroupName is the name of the resource group. hubName is the name of the hub. connectorName is the name of the connector.

func (ConnectorsClient) GetPreparer

func (client ConnectorsClient) GetPreparer(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(resourceGroupName string, hubName string) (result ConnectorListResult, err error)

ListByHub gets all the connectors in the specified hub.

resourceGroupName is the name of the resource group. hubName is the name of the hub.

func (ConnectorsClient) ListByHubComplete

func (client ConnectorsClient) ListByHubComplete(resourceGroupName string, hubName string, cancel <-chan struct{}) (<-chan ConnectorResourceFormat, <-chan error)

ListByHubComplete gets all elements from the list without paging.

func (ConnectorsClient) ListByHubNextResults

func (client ConnectorsClient) ListByHubNextResults(lastResults ConnectorListResult) (result ConnectorListResult, err error)

ListByHubNextResults retrieves the next set of results, if any.

func (ConnectorsClient) ListByHubPreparer

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

type CrmConnectorEntities struct {
	LogicalName *string `json:"logicalName,omitempty"`
	DisplayName *string `json:"displayName,omitempty"`
	IsProfile   *bool   `json:"isProfile,omitempty"`
}

CrmConnectorEntities is the CRM connector entities.

type CrmConnectorProperties

type CrmConnectorProperties struct {
	ConnectionString *string                 `json:"connectionString,omitempty"`
	OrganizationID   *string                 `json:"organizationId,omitempty"`
	OrganizationURL  *string                 `json:"organizationUrl,omitempty"`
	Entities         *[]CrmConnectorEntities `json:"entities,omitempty"`
	AccessToken      *string                 `json:"accessToken,omitempty"`
}

CrmConnectorProperties is the CRM connector properties.

type DataSource

type DataSource struct {
	Name                  *string        `json:"name,omitempty"`
	DataSourceType        DataSourceType `json:"dataSourceType,omitempty"`
	Status                Status         `json:"status,omitempty"`
	ID                    *int32         `json:"id,omitempty"`
	DataSourceReferenceID *string        `json:"dataSourceReferenceId,omitempty"`
}

DataSource is 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.

type DataSourcePrecedence

type DataSourcePrecedence struct {
	*DataSource `json:"dataSource,omitempty"`
	Precedence  *int32 `json:"precedence,omitempty"`
}

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

type DataSourceType

type DataSourceType string

DataSourceType enumerates the values for data source type.

const (
	// DataSourceTypeConnector specifies the data source type connector state for data source type.
	DataSourceTypeConnector DataSourceType = "Connector"
	// DataSourceTypeLinkInteraction specifies the data source type link interaction state for data source type.
	DataSourceTypeLinkInteraction DataSourceType = "LinkInteraction"
	// DataSourceTypeSystemDefault specifies the data source type system default state for data source type.
	DataSourceTypeSystemDefault DataSourceType = "SystemDefault"
)

type EnrichingKpi

type EnrichingKpi struct {
	EntityType                  EntityTypes                       `json:"entityType,omitempty"`
	EntityTypeName              *string                           `json:"entityTypeName,omitempty"`
	TenantID                    *string                           `json:"tenantId,omitempty"`
	KpiName                     *string                           `json:"kpiName,omitempty"`
	DisplayName                 *map[string]*string               `json:"displayName,omitempty"`
	Description                 *map[string]*string               `json:"description,omitempty"`
	CalculationWindow           CalculationWindowTypes            `json:"calculationWindow,omitempty"`
	CalculationWindowFieldName  *string                           `json:"calculationWindowFieldName,omitempty"`
	Function                    KpiFunctions                      `json:"function,omitempty"`
	Expression                  *string                           `json:"expression,omitempty"`
	Unit                        *string                           `json:"unit,omitempty"`
	Filter                      *string                           `json:"filter,omitempty"`
	GroupBy                     *[]string                         `json:"groupBy,omitempty"`
	GroupByMetadata             *[]KpiGroupByMetadata             `json:"groupByMetadata,omitempty"`
	ParticipantProfilesMetadata *[]KpiParticipantProfilesMetadata `json:"participantProfilesMetadata,omitempty"`
	ProvisioningState           ProvisioningStates                `json:"provisioningState,omitempty"`
	ThresHolds                  *KpiThresholds                    `json:"thresHolds,omitempty"`
	Aliases                     *[]KpiAlias                       `json:"aliases,omitempty"`
	Extracts                    *[]KpiExtract                     `json:"extracts,omitempty"`
}

EnrichingKpi is the enriching KPI definition.

type EntityType

type EntityType string

EntityType enumerates the values for entity type.

const (
	// EntityTypeInteraction specifies the entity type interaction state for entity type.
	EntityTypeInteraction EntityType = "Interaction"
	// EntityTypeNone specifies the entity type none state for entity type.
	EntityTypeNone EntityType = "None"
	// EntityTypeProfile specifies the entity type profile state for entity type.
	EntityTypeProfile EntityType = "Profile"
	// EntityTypeRelationship specifies the entity type relationship state for entity type.
	EntityTypeRelationship EntityType = "Relationship"
)

type EntityTypeDefinition

type EntityTypeDefinition struct {
	Attributes          *map[string][]string           `json:"attributes,omitempty"`
	Description         *map[string]*string            `json:"description,omitempty"`
	DisplayName         *map[string]*string            `json:"displayName,omitempty"`
	LocalizedAttributes *map[string]map[string]*string `json:"localizedAttributes,omitempty"`
	SmallImage          *string                        `json:"smallImage,omitempty"`
	MediumImage         *string                        `json:"mediumImage,omitempty"`
	LargeImage          *string                        `json:"largeImage,omitempty"`
	APIEntitySetName    *string                        `json:"apiEntitySetName,omitempty"`
	EntityType          EntityTypes                    `json:"entityType,omitempty"`
	Fields              *[]PropertyDefinition          `json:"fields,omitempty"`
	InstancesCount      *int32                         `json:"instancesCount,omitempty"`
	LastChangedUtc      *date.Time                     `json:"lastChangedUtc,omitempty"`
	ProvisioningState   ProvisioningStates             `json:"provisioningState,omitempty"`
	SchemaItemTypeLink  *string                        `json:"schemaItemTypeLink,omitempty"`
	TenantID            *string                        `json:"tenantId,omitempty"`
	TimestampFieldName  *string                        `json:"timestampFieldName,omitempty"`
	TypeName            *string                        `json:"typeName,omitempty"`
}

EntityTypeDefinition is describes an entity.

type EntityTypes

type EntityTypes string

EntityTypes enumerates the values for entity types.

const (
	// EntityTypesInteraction specifies the entity types interaction state for entity types.
	EntityTypesInteraction EntityTypes = "Interaction"
	// EntityTypesNone specifies the entity types none state for entity types.
	EntityTypesNone EntityTypes = "None"
	// EntityTypesProfile specifies the entity types profile state for entity types.
	EntityTypesProfile EntityTypes = "Profile"
	// EntityTypesRelationship specifies the entity types relationship state for entity types.
	EntityTypesRelationship EntityTypes = "Relationship"
)

type ErrorManagementTypes

type ErrorManagementTypes string

ErrorManagementTypes enumerates the values for error management types.

const (
	// RejectAndContinue specifies the reject and continue state for error management types.
	RejectAndContinue ErrorManagementTypes = "RejectAndContinue"
	// RejectUntilLimit specifies the reject until limit state for error management types.
	RejectUntilLimit ErrorManagementTypes = "RejectUntilLimit"
	// StopImport specifies the stop import state for error management types.
	StopImport ErrorManagementTypes = "StopImport"
)

type FrequencyTypes

type FrequencyTypes string

FrequencyTypes enumerates the values for frequency types.

const (
	// FrequencyTypesDay specifies the frequency types day state for frequency types.
	FrequencyTypesDay FrequencyTypes = "Day"
	// FrequencyTypesHour specifies the frequency types hour state for frequency types.
	FrequencyTypesHour FrequencyTypes = "Hour"
	// FrequencyTypesMinute specifies the frequency types minute state for frequency types.
	FrequencyTypesMinute FrequencyTypes = "Minute"
	// FrequencyTypesMonth specifies the frequency types month state for frequency types.
	FrequencyTypesMonth FrequencyTypes = "Month"
	// FrequencyTypesWeek specifies the frequency types week state for frequency types.
	FrequencyTypesWeek FrequencyTypes = "Week"
)

type GetImageUploadURLInput

type GetImageUploadURLInput struct {
	EntityType     *string `json:"entityType,omitempty"`
	EntityTypeName *string `json:"entityTypeName,omitempty"`
	RelativePath   *string `json:"relativePath,omitempty"`
}

GetImageUploadURLInput is input type for getting image upload url.

type Hub

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

Hub is hub resource.

type HubBillingInfoFormat

type HubBillingInfoFormat struct {
	SkuName  *string `json:"skuName,omitempty"`
	MinUnits *int32  `json:"minUnits,omitempty"`
	MaxUnits *int32  `json:"maxUnits,omitempty"`
}

HubBillingInfoFormat is hub billing info.

type HubListResult

type HubListResult struct {
	autorest.Response `json:"-"`
	Value             *[]Hub  `json:"value,omitempty"`
	NextLink          *string `json:"nextLink,omitempty"`
}

HubListResult is response of list hub operation.

func (HubListResult) HubListResultPreparer

func (client HubListResult) HubListResultPreparer() (*http.Request, error)

HubListResultPreparer prepares a request to retrieve the next set of results. It returns nil if no more results exist.

type HubPropertiesFormat

type HubPropertiesFormat struct {
	APIEndpoint       *string               `json:"apiEndpoint,omitempty"`
	WebEndpoint       *string               `json:"webEndpoint,omitempty"`
	ProvisioningState *string               `json:"provisioningState,omitempty"`
	TenantFeatures    *int32                `json:"tenantFeatures,omitempty"`
	HubBillingInfo    *HubBillingInfoFormat `json:"hubBillingInfo,omitempty"`
}

HubPropertiesFormat is properties of hub.

type HubsClient

type HubsClient struct {
	ManagementClient
}

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.

func (HubsClient) CreateOrUpdate

func (client HubsClient) CreateOrUpdate(resourceGroupName string, hubName string, parameters Hub) (result Hub, err error)

CreateOrUpdate creates a hub, or updates an existing hub.

resourceGroupName is the name of the resource group. hubName is the name of the Hub. parameters is parameters supplied to the CreateOrUpdate Hub operation.

func (HubsClient) CreateOrUpdatePreparer

func (client HubsClient) CreateOrUpdatePreparer(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(resourceGroupName string, hubName string, cancel <-chan struct{}) (<-chan autorest.Response, <-chan error)

Delete deletes the specified hub. This method may poll for completion. Polling can be canceled by passing the cancel channel argument. The channel will be used to cancel polling and any outstanding HTTP requests.

resourceGroupName is the name of the resource group. hubName is the name of the hub.

func (HubsClient) DeletePreparer

func (client HubsClient) DeletePreparer(resourceGroupName string, hubName string, cancel <-chan struct{}) (*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) (*http.Response, 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(resourceGroupName string, hubName string) (result Hub, err error)

Get gets information about the specified hub.

resourceGroupName is the name of the resource group. hubName is the name of the hub.

func (HubsClient) GetPreparer

func (client HubsClient) GetPreparer(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() (result HubListResult, err error)

List gets all hubs in the specified subscription.

func (HubsClient) ListByResourceGroup

func (client HubsClient) ListByResourceGroup(resourceGroupName string) (result HubListResult, err error)

ListByResourceGroup gets all the hubs in a resource group.

resourceGroupName is the name of the resource group.

func (HubsClient) ListByResourceGroupComplete

func (client HubsClient) ListByResourceGroupComplete(resourceGroupName string, cancel <-chan struct{}) (<-chan Hub, <-chan error)

ListByResourceGroupComplete gets all elements from the list without paging.

func (HubsClient) ListByResourceGroupNextResults

func (client HubsClient) ListByResourceGroupNextResults(lastResults HubListResult) (result HubListResult, err error)

ListByResourceGroupNextResults retrieves the next set of results, if any.

func (HubsClient) ListByResourceGroupPreparer

func (client HubsClient) ListByResourceGroupPreparer(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(cancel <-chan struct{}) (<-chan Hub, <-chan error)

ListComplete gets all elements from the list without paging.

func (HubsClient) ListNextResults

func (client HubsClient) ListNextResults(lastResults HubListResult) (result HubListResult, err error)

ListNextResults retrieves the next set of results, if any.

func (HubsClient) ListPreparer

func (client HubsClient) ListPreparer() (*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(resourceGroupName string, hubName string, parameters Hub) (result Hub, err error)

Update updates a Hub.

resourceGroupName is the name of the resource group. hubName is the name of the Hub. parameters is parameters supplied to the Update Hub operation.

func (HubsClient) UpdatePreparer

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

type ImageDefinition struct {
	autorest.Response `json:"-"`
	ImageExists       *bool   `json:"imageExists,omitempty"`
	ContentURL        *string `json:"contentUrl,omitempty"`
	RelativePath      *string `json:"relativePath,omitempty"`
}

ImageDefinition is the image definition.

type ImagesClient

type ImagesClient struct {
	ManagementClient
}

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.

func (ImagesClient) GetUploadURLForData

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

GetUploadURLForData gets data image upload URL.

resourceGroupName is the name of the resource group. hubName is the name of the hub. parameters is parameters supplied to the GetUploadUrlForData operation.

func (ImagesClient) GetUploadURLForDataPreparer

func (client ImagesClient) GetUploadURLForDataPreparer(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(resourceGroupName string, hubName string, parameters GetImageUploadURLInput) (result ImageDefinition, err error)

GetUploadURLForEntityType gets entity type (profile or interaction) image upload URL.

resourceGroupName is the name of the resource group. hubName is the name of the hub. parameters is parameters supplied to the GetUploadUrlForEntityType operation.

func (ImagesClient) GetUploadURLForEntityTypePreparer

func (client ImagesClient) GetUploadURLForEntityTypePreparer(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 specifies the delete state for instance operation type.
	Delete InstanceOperationType = "Delete"
	// Upsert specifies the upsert state for instance operation type.
	Upsert InstanceOperationType = "Upsert"
)

type InteractionListResult

type InteractionListResult struct {
	autorest.Response `json:"-"`
	Value             *[]InteractionResourceFormat `json:"value,omitempty"`
	NextLink          *string                      `json:"nextLink,omitempty"`
}

InteractionListResult is the response of list interaction operation.

func (InteractionListResult) InteractionListResultPreparer

func (client InteractionListResult) InteractionListResultPreparer() (*http.Request, error)

InteractionListResultPreparer prepares a request to retrieve the next set of results. It returns nil if no more results exist.

type InteractionResourceFormat

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

InteractionResourceFormat is the interaction resource format.

type InteractionTypeDefinition

type InteractionTypeDefinition struct {
	Attributes                            *map[string][]string           `json:"attributes,omitempty"`
	Description                           *map[string]*string            `json:"description,omitempty"`
	DisplayName                           *map[string]*string            `json:"displayName,omitempty"`
	LocalizedAttributes                   *map[string]map[string]*string `json:"localizedAttributes,omitempty"`
	SmallImage                            *string                        `json:"smallImage,omitempty"`
	MediumImage                           *string                        `json:"mediumImage,omitempty"`
	LargeImage                            *string                        `json:"largeImage,omitempty"`
	APIEntitySetName                      *string                        `json:"apiEntitySetName,omitempty"`
	EntityType                            EntityTypes                    `json:"entityType,omitempty"`
	Fields                                *[]PropertyDefinition          `json:"fields,omitempty"`
	InstancesCount                        *int32                         `json:"instancesCount,omitempty"`
	LastChangedUtc                        *date.Time                     `json:"lastChangedUtc,omitempty"`
	ProvisioningState                     ProvisioningStates             `json:"provisioningState,omitempty"`
	SchemaItemTypeLink                    *string                        `json:"schemaItemTypeLink,omitempty"`
	TenantID                              *string                        `json:"tenantId,omitempty"`
	TimestampFieldName                    *string                        `json:"timestampFieldName,omitempty"`
	TypeName                              *string                        `json:"typeName,omitempty"`
	IDPropertyNames                       *[]string                      `json:"idPropertyNames,omitempty"`
	ParticipantProfiles                   *[]Participant                 `json:"participantProfiles,omitempty"`
	PrimaryParticipantProfilePropertyName *string                        `json:"primaryParticipantProfilePropertyName,omitempty"`
	DataSourcePrecedenceRules             *[]DataSourcePrecedence        `json:"dataSourcePrecedenceRules,omitempty"`
	*DataSource                           `json:"defaultDataSource,omitempty"`
	IsActivity                            *bool `json:"isActivity,omitempty"`
}

InteractionTypeDefinition is the Interaction Type Definition

type InteractionsClient

type InteractionsClient struct {
	ManagementClient
}

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.

func (InteractionsClient) CreateOrUpdate

func (client InteractionsClient) CreateOrUpdate(resourceGroupName string, hubName string, interactionName string, parameters InteractionResourceFormat, cancel <-chan struct{}) (<-chan InteractionResourceFormat, <-chan error)

CreateOrUpdate creates an interaction or updates an existing interaction within a hub. This method may poll for completion. Polling can be canceled by passing the cancel channel argument. The channel will be used to cancel polling and any outstanding HTTP requests.

resourceGroupName is the name of the resource group. hubName is the name of the hub. interactionName is the name of the interaction. parameters is parameters supplied to the CreateOrUpdate Interaction operation.

func (InteractionsClient) CreateOrUpdatePreparer

func (client InteractionsClient) CreateOrUpdatePreparer(resourceGroupName string, hubName string, interactionName string, parameters InteractionResourceFormat, cancel <-chan struct{}) (*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) (*http.Response, 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(resourceGroupName string, hubName string, interactionName string, localeCode string) (result InteractionResourceFormat, err error)

Get gets information about the specified interaction.

resourceGroupName is the name of the resource group. hubName is the name of the hub. interactionName is the name of the interaction. localeCode is locale of interaction to retrieve, default is en-us.

func (InteractionsClient) GetPreparer

func (client InteractionsClient) GetPreparer(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(resourceGroupName string, hubName string, localeCode string) (result InteractionListResult, err error)

ListByHub gets all interactions in the hub.

resourceGroupName is the name of the resource group. hubName is the name of the hub. localeCode is locale of interaction to retrieve, default is en-us.

func (InteractionsClient) ListByHubComplete

func (client InteractionsClient) ListByHubComplete(resourceGroupName string, hubName string, localeCode string, cancel <-chan struct{}) (<-chan InteractionResourceFormat, <-chan error)

ListByHubComplete gets all elements from the list without paging.

func (InteractionsClient) ListByHubNextResults

func (client InteractionsClient) ListByHubNextResults(lastResults InteractionListResult) (result InteractionListResult, err error)

ListByHubNextResults retrieves the next set of results, if any.

func (InteractionsClient) ListByHubPreparer

func (client InteractionsClient) ListByHubPreparer(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(resourceGroupName string, hubName string, interactionName string) (result SuggestRelationshipLinksResponse, err error)

SuggestRelationshipLinks suggests relationships to create relationship links.

resourceGroupName is the name of the resource group. hubName is the name of the hub. interactionName is the name of the interaction.

func (InteractionsClient) SuggestRelationshipLinksPreparer

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

type KpiAlias struct {
	AliasName  *string `json:"aliasName,omitempty"`
	Expression *string `json:"expression,omitempty"`
}

KpiAlias is the KPI alias.

type KpiClient

type KpiClient struct {
	ManagementClient
}

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.

func (KpiClient) CreateOrUpdate

func (client KpiClient) CreateOrUpdate(resourceGroupName string, hubName string, kpiName string, parameters KpiResourceFormat, cancel <-chan struct{}) (<-chan KpiResourceFormat, <-chan error)

CreateOrUpdate creates a KPI or updates an existing KPI in the hub. This method may poll for completion. Polling can be canceled by passing the cancel channel argument. The channel will be used to cancel polling and any outstanding HTTP requests.

resourceGroupName is the name of the resource group. hubName is the name of the hub. kpiName is the name of the KPI. parameters is parameters supplied to the create/update KPI operation.

func (KpiClient) CreateOrUpdatePreparer

func (client KpiClient) CreateOrUpdatePreparer(resourceGroupName string, hubName string, kpiName string, parameters KpiResourceFormat, cancel <-chan struct{}) (*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) (*http.Response, 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(resourceGroupName string, hubName string, kpiName string, cancel <-chan struct{}) (<-chan autorest.Response, <-chan error)

Delete deletes a KPI in the hub. This method may poll for completion. Polling can be canceled by passing the cancel channel argument. The channel will be used to cancel polling and any outstanding HTTP requests.

resourceGroupName is the name of the resource group. hubName is the name of the hub. kpiName is the name of the KPI.

func (KpiClient) DeletePreparer

func (client KpiClient) DeletePreparer(resourceGroupName string, hubName string, kpiName string, cancel <-chan struct{}) (*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) (*http.Response, 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(resourceGroupName string, hubName string, kpiName string) (result KpiResourceFormat, err error)

Get gets a KPI in the hub.

resourceGroupName is the name of the resource group. hubName is the name of the hub. kpiName is the name of the KPI.

func (KpiClient) GetPreparer

func (client KpiClient) GetPreparer(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(resourceGroupName string, hubName string) (result KpiListResult, err error)

ListByHub gets all the KPIs in the specified hub.

resourceGroupName is the name of the resource group. hubName is the name of the hub.

func (KpiClient) ListByHubComplete

func (client KpiClient) ListByHubComplete(resourceGroupName string, hubName string, cancel <-chan struct{}) (<-chan KpiResourceFormat, <-chan error)

ListByHubComplete gets all elements from the list without paging.

func (KpiClient) ListByHubNextResults

func (client KpiClient) ListByHubNextResults(lastResults KpiListResult) (result KpiListResult, err error)

ListByHubNextResults retrieves the next set of results, if any.

func (KpiClient) ListByHubPreparer

func (client KpiClient) ListByHubPreparer(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(resourceGroupName string, hubName string, kpiName string) (result autorest.Response, err error)

Reprocess reprocesses the Kpi values of the specified KPI.

resourceGroupName is the name of the resource group. hubName is the name of the hub. kpiName is the name of the KPI.

func (KpiClient) ReprocessPreparer

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

type KpiDefinition struct {
	EntityType                  EntityTypes                       `json:"entityType,omitempty"`
	EntityTypeName              *string                           `json:"entityTypeName,omitempty"`
	TenantID                    *string                           `json:"tenantId,omitempty"`
	KpiName                     *string                           `json:"kpiName,omitempty"`
	DisplayName                 *map[string]*string               `json:"displayName,omitempty"`
	Description                 *map[string]*string               `json:"description,omitempty"`
	CalculationWindow           CalculationWindowTypes            `json:"calculationWindow,omitempty"`
	CalculationWindowFieldName  *string                           `json:"calculationWindowFieldName,omitempty"`
	Function                    KpiFunctions                      `json:"function,omitempty"`
	Expression                  *string                           `json:"expression,omitempty"`
	Unit                        *string                           `json:"unit,omitempty"`
	Filter                      *string                           `json:"filter,omitempty"`
	GroupBy                     *[]string                         `json:"groupBy,omitempty"`
	GroupByMetadata             *[]KpiGroupByMetadata             `json:"groupByMetadata,omitempty"`
	ParticipantProfilesMetadata *[]KpiParticipantProfilesMetadata `json:"participantProfilesMetadata,omitempty"`
	ProvisioningState           ProvisioningStates                `json:"provisioningState,omitempty"`
	ThresHolds                  *KpiThresholds                    `json:"thresHolds,omitempty"`
	Aliases                     *[]KpiAlias                       `json:"aliases,omitempty"`
	Extracts                    *[]KpiExtract                     `json:"extracts,omitempty"`
}

KpiDefinition is defines the KPI Threshold limits.

type KpiExtract

type KpiExtract struct {
	ExtractName *string `json:"extractName,omitempty"`
	Expression  *string `json:"expression,omitempty"`
}

KpiExtract is the KPI extract.

type KpiFunctions

type KpiFunctions string

KpiFunctions enumerates the values for kpi functions.

const (
	// KpiFunctionsAvg specifies the kpi functions avg state for kpi functions.
	KpiFunctionsAvg KpiFunctions = "Avg"
	// KpiFunctionsCount specifies the kpi functions count state for kpi functions.
	KpiFunctionsCount KpiFunctions = "Count"
	// KpiFunctionsCountDistinct specifies the kpi functions count distinct state for kpi functions.
	KpiFunctionsCountDistinct KpiFunctions = "CountDistinct"
	// KpiFunctionsLast specifies the kpi functions last state for kpi functions.
	KpiFunctionsLast KpiFunctions = "Last"
	// KpiFunctionsMax specifies the kpi functions max state for kpi functions.
	KpiFunctionsMax KpiFunctions = "Max"
	// KpiFunctionsMin specifies the kpi functions min state for kpi functions.
	KpiFunctionsMin KpiFunctions = "Min"
	// KpiFunctionsNone specifies the kpi functions none state for kpi functions.
	KpiFunctionsNone KpiFunctions = "None"
	// KpiFunctionsSum specifies the kpi functions sum state for kpi functions.
	KpiFunctionsSum KpiFunctions = "Sum"
)

type KpiGroupByMetadata

type KpiGroupByMetadata struct {
	DisplayName *map[string]*string `json:"displayName,omitempty"`
	FieldName   *string             `json:"fieldName,omitempty"`
	FieldType   *string             `json:"fieldType,omitempty"`
}

KpiGroupByMetadata is the KPI GroupBy field metadata.

type KpiListResult

type KpiListResult struct {
	autorest.Response `json:"-"`
	Value             *[]KpiResourceFormat `json:"value,omitempty"`
	NextLink          *string              `json:"nextLink,omitempty"`
}

KpiListResult is the response of list KPI operation.

func (KpiListResult) KpiListResultPreparer

func (client KpiListResult) KpiListResultPreparer() (*http.Request, error)

KpiListResultPreparer prepares a request to retrieve the next set of results. It returns nil if no more results exist.

type KpiParticipantProfilesMetadata

type KpiParticipantProfilesMetadata struct {
	TypeName *string `json:"typeName,omitempty"`
}

KpiParticipantProfilesMetadata is the KPI participant profile metadata.

type KpiResourceFormat

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

KpiResourceFormat is the KPI resource format.

type KpiThresholds

type KpiThresholds struct {
	LowerLimit    *decimal.Decimal `json:"lowerLimit,omitempty"`
	UpperLimit    *decimal.Decimal `json:"upperLimit,omitempty"`
	IncreasingKpi *bool            `json:"increasingKpi,omitempty"`
}

KpiThresholds is defines the KPI Threshold limits.

type LinkDefinition

type LinkDefinition struct {
	TenantID                      *string                         `json:"tenantId,omitempty"`
	LinkName                      *string                         `json:"linkName,omitempty"`
	SourceEntityType              EntityType                      `json:"sourceEntityType,omitempty"`
	TargetEntityType              EntityType                      `json:"targetEntityType,omitempty"`
	SourceEntityTypeName          *string                         `json:"sourceEntityTypeName,omitempty"`
	TargetEntityTypeName          *string                         `json:"targetEntityTypeName,omitempty"`
	DisplayName                   *map[string]*string             `json:"displayName,omitempty"`
	Description                   *map[string]*string             `json:"description,omitempty"`
	Mappings                      *[]TypePropertiesMapping        `json:"mappings,omitempty"`
	ParticipantPropertyReferences *[]ParticipantPropertyReference `json:"participantPropertyReferences,omitempty"`
	ProvisioningState             ProvisioningStates              `json:"provisioningState,omitempty"`
	ReferenceOnly                 *bool                           `json:"referenceOnly,omitempty"`
	OperationType                 InstanceOperationType           `json:"operationType,omitempty"`
}

LinkDefinition is the definition of Link.

type LinkListResult

type LinkListResult struct {
	autorest.Response `json:"-"`
	Value             *[]LinkResourceFormat `json:"value,omitempty"`
	NextLink          *string               `json:"nextLink,omitempty"`
}

LinkListResult is the response of list link operation.

func (LinkListResult) LinkListResultPreparer

func (client LinkListResult) LinkListResultPreparer() (*http.Request, error)

LinkListResultPreparer prepares a request to retrieve the next set of results. It returns nil if no more results exist.

type LinkResourceFormat

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

LinkResourceFormat is the link resource format.

type LinkTypes

type LinkTypes string

LinkTypes enumerates the values for link types.

const (
	// CopyIfNull specifies the copy if null state for link types.
	CopyIfNull LinkTypes = "CopyIfNull"
	// UpdateAlways specifies the update always state for link types.
	UpdateAlways LinkTypes = "UpdateAlways"
)

type LinksClient

type LinksClient struct {
	ManagementClient
}

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.

func (LinksClient) CreateOrUpdate

func (client LinksClient) CreateOrUpdate(resourceGroupName string, hubName string, linkName string, parameters LinkResourceFormat, cancel <-chan struct{}) (<-chan LinkResourceFormat, <-chan error)

CreateOrUpdate creates a link or updates an existing link in the hub. This method may poll for completion. Polling can be canceled by passing the cancel channel argument. The channel will be used to cancel polling and any outstanding HTTP requests.

resourceGroupName is the name of the resource group. hubName is the name of the hub. linkName is the name of the link. parameters is parameters supplied to the CreateOrUpdate Link operation.

func (LinksClient) CreateOrUpdatePreparer

func (client LinksClient) CreateOrUpdatePreparer(resourceGroupName string, hubName string, linkName string, parameters LinkResourceFormat, cancel <-chan struct{}) (*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) (*http.Response, 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(resourceGroupName string, hubName string, linkName string) (result autorest.Response, err error)

Delete deletes a link in the hub.

resourceGroupName is the name of the resource group. hubName is the name of the hub. linkName is the name of the link.

func (LinksClient) DeletePreparer

func (client LinksClient) DeletePreparer(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(resourceGroupName string, hubName string, linkName string) (result LinkResourceFormat, err error)

Get gets a link in the hub.

resourceGroupName is the name of the resource group. hubName is the name of the hub. linkName is the name of the link.

func (LinksClient) GetPreparer

func (client LinksClient) GetPreparer(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(resourceGroupName string, hubName string) (result LinkListResult, err error)

ListByHub gets all the links in the specified hub.

resourceGroupName is the name of the resource group. hubName is the name of the hub.

func (LinksClient) ListByHubComplete

func (client LinksClient) ListByHubComplete(resourceGroupName string, hubName string, cancel <-chan struct{}) (<-chan LinkResourceFormat, <-chan error)

ListByHubComplete gets all elements from the list without paging.

func (LinksClient) ListByHubNextResults

func (client LinksClient) ListByHubNextResults(lastResults LinkListResult) (result LinkListResult, err error)

ListByHubNextResults retrieves the next set of results, if any.

func (LinksClient) ListByHubPreparer

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

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

ListKpiDefinition is

type ManagementClient

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

ManagementClient is the base client for Customerinsights.

func New

func New(subscriptionID string) ManagementClient

New creates an instance of the ManagementClient client.

func NewWithBaseURI

func NewWithBaseURI(baseURI string, subscriptionID string) ManagementClient

NewWithBaseURI creates an instance of the ManagementClient client.

type MetadataDefinitionBase

type MetadataDefinitionBase struct {
	Attributes          *map[string][]string           `json:"attributes,omitempty"`
	Description         *map[string]*string            `json:"description,omitempty"`
	DisplayName         *map[string]*string            `json:"displayName,omitempty"`
	LocalizedAttributes *map[string]map[string]*string `json:"localizedAttributes,omitempty"`
	SmallImage          *string                        `json:"smallImage,omitempty"`
	MediumImage         *string                        `json:"mediumImage,omitempty"`
	LargeImage          *string                        `json:"largeImage,omitempty"`
}

MetadataDefinitionBase is the Metadata definition base.

type Participant

type Participant struct {
	ProfileTypeName               *string                         `json:"profileTypeName,omitempty"`
	ParticipantPropertyReferences *[]ParticipantPropertyReference `json:"participantPropertyReferences,omitempty"`
	ParticipantName               *string                         `json:"participantName,omitempty"`
	DisplayName                   *map[string]*string             `json:"displayName,omitempty"`
	Description                   *map[string]*string             `json:"description,omitempty"`
	Role                          *string                         `json:"role,omitempty"`
}

Participant is describes a profile type participating in an interaction.

type ParticipantProfilePropertyReference

type ParticipantProfilePropertyReference struct {
	InteractionPropertyName *string `json:"interactionPropertyName,omitempty"`
	ProfilePropertyName     *string `json:"profilePropertyName,omitempty"`
}

ParticipantProfilePropertyReference is the participant profile property reference.

type ParticipantPropertyReference

type ParticipantPropertyReference struct {
	SourcePropertyName *string `json:"sourcePropertyName,omitempty"`
	TargetPropertyName *string `json:"targetPropertyName,omitempty"`
}

ParticipantPropertyReference is the participant property reference.

type PermissionTypes

type PermissionTypes string

PermissionTypes enumerates the values for permission types.

const (
	// Manage specifies the manage state for permission types.
	Manage PermissionTypes = "Manage"
	// Read specifies the read state for permission types.
	Read PermissionTypes = "Read"
	// Write specifies the write state for permission types.
	Write PermissionTypes = "Write"
)

type Prediction

type Prediction struct {
	Description               *map[string]*string                `json:"description,omitempty"`
	DisplayName               *map[string]*string                `json:"displayName,omitempty"`
	InvolvedInteractionTypes  *[]string                          `json:"involvedInteractionTypes,omitempty"`
	InvolvedKpiTypes          *[]string                          `json:"involvedKpiTypes,omitempty"`
	InvolvedRelationships     *[]string                          `json:"involvedRelationships,omitempty"`
	NegativeOutcomeExpression *string                            `json:"negativeOutcomeExpression,omitempty"`
	PositiveOutcomeExpression *string                            `json:"positiveOutcomeExpression,omitempty"`
	PrimaryProfileType        *string                            `json:"primaryProfileType,omitempty"`
	ProvisioningState         ProvisioningStates                 `json:"provisioningState,omitempty"`
	PredictionName            *string                            `json:"predictionName,omitempty"`
	ScopeExpression           *string                            `json:"scopeExpression,omitempty"`
	TenantID                  *string                            `json:"tenantId,omitempty"`
	AutoAnalyze               *bool                              `json:"autoAnalyze,omitempty"`
	Mappings                  *PredictionMappings                `json:"mappings,omitempty"`
	ScoreLabel                *string                            `json:"scoreLabel,omitempty"`
	Grades                    *[]PredictionGradesItem            `json:"grades,omitempty"`
	SystemGeneratedEntities   *PredictionSystemGeneratedEntities `json:"systemGeneratedEntities,omitempty"`
}

Prediction is the prediction definition.

type PredictionDistributionDefinition

type PredictionDistributionDefinition struct {
	TotalPositives *int64                                               `json:"totalPositives,omitempty"`
	TotalNegatives *int64                                               `json:"totalNegatives,omitempty"`
	Distributions  *[]PredictionDistributionDefinitionDistributionsItem `json:"distributions,omitempty"`
}

PredictionDistributionDefinition is the definition of the prediction distribution.

type PredictionDistributionDefinitionDistributionsItem

type PredictionDistributionDefinitionDistributionsItem struct {
	ScoreThreshold          *int32 `json:"scoreThreshold,omitempty"`
	Positives               *int64 `json:"positives,omitempty"`
	Negatives               *int64 `json:"negatives,omitempty"`
	PositivesAboveThreshold *int64 `json:"positivesAboveThreshold,omitempty"`
	NegativesAboveThreshold *int64 `json:"negativesAboveThreshold,omitempty"`
}

PredictionDistributionDefinitionDistributionsItem is the definition of a prediction distribution.

type PredictionGradesItem

type PredictionGradesItem struct {
	GradeName         *string `json:"gradeName,omitempty"`
	MinScoreThreshold *int32  `json:"minScoreThreshold,omitempty"`
	MaxScoreThreshold *int32  `json:"maxScoreThreshold,omitempty"`
}

PredictionGradesItem is the definition of a prediction grade.

type PredictionListResult

type PredictionListResult struct {
	autorest.Response `json:"-"`
	Value             *[]PredictionResourceFormat `json:"value,omitempty"`
	NextLink          *string                     `json:"nextLink,omitempty"`
}

PredictionListResult is the response of list predictions operation.

func (PredictionListResult) PredictionListResultPreparer

func (client PredictionListResult) PredictionListResultPreparer() (*http.Request, error)

PredictionListResultPreparer prepares a request to retrieve the next set of results. It returns nil if no more results exist.

type PredictionMappings

type PredictionMappings struct {
	Score  *string `json:"score,omitempty"`
	Grade  *string `json:"grade,omitempty"`
	Reason *string `json:"reason,omitempty"`
}

PredictionMappings is definition of the link mapping of prediction.

type PredictionModelLifeCycle

type PredictionModelLifeCycle string

PredictionModelLifeCycle enumerates the values for prediction model life cycle.

const (
	// PredictionModelLifeCycleActive specifies the prediction model life cycle active state for prediction model life
	// cycle.
	PredictionModelLifeCycleActive PredictionModelLifeCycle = "Active"
	// PredictionModelLifeCycleDeleted specifies the prediction model life cycle deleted state for prediction model life
	// cycle.
	PredictionModelLifeCycleDeleted PredictionModelLifeCycle = "Deleted"
	// PredictionModelLifeCycleDiscovering specifies the prediction model life cycle discovering state for prediction model
	// life cycle.
	PredictionModelLifeCycleDiscovering PredictionModelLifeCycle = "Discovering"
	// PredictionModelLifeCycleEvaluating specifies the prediction model life cycle evaluating state for prediction model
	// life cycle.
	PredictionModelLifeCycleEvaluating PredictionModelLifeCycle = "Evaluating"
	// PredictionModelLifeCycleEvaluatingFailed specifies the prediction model life cycle evaluating failed state for
	// prediction model life cycle.
	PredictionModelLifeCycleEvaluatingFailed PredictionModelLifeCycle = "EvaluatingFailed"
	// PredictionModelLifeCycleFailed specifies the prediction model life cycle failed state for prediction model life
	// cycle.
	PredictionModelLifeCycleFailed PredictionModelLifeCycle = "Failed"
	// PredictionModelLifeCycleFeaturing specifies the prediction model life cycle featuring state for prediction model
	// life cycle.
	PredictionModelLifeCycleFeaturing PredictionModelLifeCycle = "Featuring"
	// PredictionModelLifeCycleFeaturingFailed specifies the prediction model life cycle featuring failed state for
	// prediction model life cycle.
	PredictionModelLifeCycleFeaturingFailed PredictionModelLifeCycle = "FeaturingFailed"
	// PredictionModelLifeCycleHumanIntervention specifies the prediction model life cycle human intervention state for
	// prediction model life cycle.
	PredictionModelLifeCycleHumanIntervention PredictionModelLifeCycle = "HumanIntervention"
	// PredictionModelLifeCycleNew specifies the prediction model life cycle new state for prediction model life cycle.
	PredictionModelLifeCycleNew PredictionModelLifeCycle = "New"
	// PredictionModelLifeCyclePendingDiscovering specifies the prediction model life cycle pending discovering state for
	// prediction model life cycle.
	PredictionModelLifeCyclePendingDiscovering PredictionModelLifeCycle = "PendingDiscovering"
	// PredictionModelLifeCyclePendingFeaturing specifies the prediction model life cycle pending featuring state for
	// prediction model life cycle.
	PredictionModelLifeCyclePendingFeaturing PredictionModelLifeCycle = "PendingFeaturing"
	// PredictionModelLifeCyclePendingModelConfirmation specifies the prediction model life cycle pending model
	// confirmation state for prediction model life cycle.
	PredictionModelLifeCyclePendingModelConfirmation PredictionModelLifeCycle = "PendingModelConfirmation"
	// PredictionModelLifeCyclePendingTraining specifies the prediction model life cycle pending training state for
	// prediction model life cycle.
	PredictionModelLifeCyclePendingTraining PredictionModelLifeCycle = "PendingTraining"
	// PredictionModelLifeCycleProvisioning specifies the prediction model life cycle provisioning state for prediction
	// model life cycle.
	PredictionModelLifeCycleProvisioning PredictionModelLifeCycle = "Provisioning"
	// PredictionModelLifeCycleProvisioningFailed specifies the prediction model life cycle provisioning failed state for
	// prediction model life cycle.
	PredictionModelLifeCycleProvisioningFailed PredictionModelLifeCycle = "ProvisioningFailed"
	// PredictionModelLifeCycleTraining specifies the prediction model life cycle training state for prediction model life
	// cycle.
	PredictionModelLifeCycleTraining PredictionModelLifeCycle = "Training"
	// PredictionModelLifeCycleTrainingFailed specifies the prediction model life cycle training failed state for
	// prediction model life cycle.
	PredictionModelLifeCycleTrainingFailed PredictionModelLifeCycle = "TrainingFailed"
)

type PredictionModelStatus

type PredictionModelStatus struct {
	autorest.Response  `json:"-"`
	TenantID           *string                  `json:"tenantId,omitempty"`
	PredictionName     *string                  `json:"predictionName,omitempty"`
	PredictionGUIDID   *string                  `json:"predictionGuidId,omitempty"`
	Status             PredictionModelLifeCycle `json:"status,omitempty"`
	Message            *string                  `json:"message,omitempty"`
	TrainingSetCount   *int32                   `json:"trainingSetCount,omitempty"`
	TestSetCount       *int32                   `json:"testSetCount,omitempty"`
	ValidationSetCount *int32                   `json:"validationSetCount,omitempty"`
	TrainingAccuracy   *int32                   `json:"trainingAccuracy,omitempty"`
	SignalsUsed        *int32                   `json:"signalsUsed,omitempty"`
	ModelVersion       *string                  `json:"modelVersion,omitempty"`
}

PredictionModelStatus is the prediction model status.

type PredictionResourceFormat

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

PredictionResourceFormat is the prediction resource format.

type PredictionSystemGeneratedEntities

type PredictionSystemGeneratedEntities struct {
	GeneratedInteractionTypes *[]string           `json:"generatedInteractionTypes,omitempty"`
	GeneratedLinks            *[]string           `json:"generatedLinks,omitempty"`
	GeneratedKpis             *map[string]*string `json:"generatedKpis,omitempty"`
}

PredictionSystemGeneratedEntities is system generated entities.

type PredictionTrainingResults

type PredictionTrainingResults struct {
	autorest.Response           `json:"-"`
	TenantID                    *string                           `json:"tenantId,omitempty"`
	ScoreName                   *string                           `json:"scoreName,omitempty"`
	PredictionDistribution      *PredictionDistributionDefinition `json:"predictionDistribution,omitempty"`
	CanonicalProfiles           *[]CanonicalProfileDefinition     `json:"canonicalProfiles,omitempty"`
	PrimaryProfileInstanceCount *int64                            `json:"primaryProfileInstanceCount,omitempty"`
}

PredictionTrainingResults is the training results of the prediction.

type PredictionsClient

type PredictionsClient struct {
	ManagementClient
}

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.

func (PredictionsClient) CreateOrUpdate

func (client PredictionsClient) CreateOrUpdate(resourceGroupName string, hubName string, predictionName string, parameters PredictionResourceFormat, cancel <-chan struct{}) (<-chan PredictionResourceFormat, <-chan error)

CreateOrUpdate creates a Prediction or updates an existing Prediction in the hub. This method may poll for completion. Polling can be canceled by passing the cancel channel argument. The channel will be used to cancel polling and any outstanding HTTP requests.

resourceGroupName is the name of the resource group. hubName is the name of the hub. predictionName is the name of the Prediction. parameters is parameters supplied to the create/update Prediction operation.

func (PredictionsClient) CreateOrUpdatePreparer

func (client PredictionsClient) CreateOrUpdatePreparer(resourceGroupName string, hubName string, predictionName string, parameters PredictionResourceFormat, cancel <-chan struct{}) (*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) (*http.Response, 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(resourceGroupName string, hubName string, predictionName string, cancel <-chan struct{}) (<-chan autorest.Response, <-chan error)

Delete deletes a Prediction in the hub. This method may poll for completion. Polling can be canceled by passing the cancel channel argument. The channel will be used to cancel polling and any outstanding HTTP requests.

resourceGroupName is the name of the resource group. hubName is the name of the hub. predictionName is the name of the Prediction.

func (PredictionsClient) DeletePreparer

func (client PredictionsClient) DeletePreparer(resourceGroupName string, hubName string, predictionName string, cancel <-chan struct{}) (*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) (*http.Response, 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(resourceGroupName string, hubName string, predictionName string) (result PredictionResourceFormat, err error)

Get gets a Prediction in the hub.

resourceGroupName is the name of the resource group. hubName is the name of the hub. predictionName is the name of the Prediction.

func (PredictionsClient) GetModelStatus

func (client PredictionsClient) GetModelStatus(resourceGroupName string, hubName string, predictionName string) (result PredictionModelStatus, err error)

GetModelStatus gets model status of the prediction.

resourceGroupName is the name of the resource group. hubName is the name of the hub. predictionName is the name of the Prediction.

func (PredictionsClient) GetModelStatusPreparer

func (client PredictionsClient) GetModelStatusPreparer(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(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(resourceGroupName string, hubName string, predictionName string) (result PredictionTrainingResults, err error)

GetTrainingResults gets training results.

resourceGroupName is the name of the resource group. hubName is the name of the hub. predictionName is the name of the Prediction.

func (PredictionsClient) GetTrainingResultsPreparer

func (client PredictionsClient) GetTrainingResultsPreparer(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(resourceGroupName string, hubName string) (result PredictionListResult, err error)

ListByHub gets all the predictions in the specified hub.

resourceGroupName is the name of the resource group. hubName is the name of the hub.

func (PredictionsClient) ListByHubComplete

func (client PredictionsClient) ListByHubComplete(resourceGroupName string, hubName string, cancel <-chan struct{}) (<-chan PredictionResourceFormat, <-chan error)

ListByHubComplete gets all elements from the list without paging.

func (PredictionsClient) ListByHubNextResults

func (client PredictionsClient) ListByHubNextResults(lastResults PredictionListResult) (result PredictionListResult, err error)

ListByHubNextResults retrieves the next set of results, if any.

func (PredictionsClient) ListByHubPreparer

func (client PredictionsClient) ListByHubPreparer(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(resourceGroupName string, hubName string, predictionName string, parameters PredictionModelStatus) (result autorest.Response, err error)

ModelStatus creates or updates the model status of prediction.

resourceGroupName is the name of the resource group. hubName is the name of the hub. predictionName is the name of the Prediction. parameters is parameters supplied to the create/update prediction model status operation.

func (PredictionsClient) ModelStatusPreparer

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

type ProfileEnumValidValuesFormat struct {
	Value               *int32              `json:"value,omitempty"`
	LocalizedValueNames *map[string]*string `json:"localizedValueNames,omitempty"`
}

ProfileEnumValidValuesFormat is valid enum values in case of an enum property.

type ProfileListResult

type ProfileListResult struct {
	autorest.Response `json:"-"`
	Value             *[]ProfileResourceFormat `json:"value,omitempty"`
	NextLink          *string                  `json:"nextLink,omitempty"`
}

ProfileListResult is the response of list profile operation.

func (ProfileListResult) ProfileListResultPreparer

func (client ProfileListResult) ProfileListResultPreparer() (*http.Request, error)

ProfileListResultPreparer prepares a request to retrieve the next set of results. It returns nil if no more results exist.

type ProfileResourceFormat

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

ProfileResourceFormat is the profile resource format.

type ProfileTypeDefinition

type ProfileTypeDefinition struct {
	Attributes          *map[string][]string           `json:"attributes,omitempty"`
	Description         *map[string]*string            `json:"description,omitempty"`
	DisplayName         *map[string]*string            `json:"displayName,omitempty"`
	LocalizedAttributes *map[string]map[string]*string `json:"localizedAttributes,omitempty"`
	SmallImage          *string                        `json:"smallImage,omitempty"`
	MediumImage         *string                        `json:"mediumImage,omitempty"`
	LargeImage          *string                        `json:"largeImage,omitempty"`
	APIEntitySetName    *string                        `json:"apiEntitySetName,omitempty"`
	EntityType          EntityTypes                    `json:"entityType,omitempty"`
	Fields              *[]PropertyDefinition          `json:"fields,omitempty"`
	InstancesCount      *int32                         `json:"instancesCount,omitempty"`
	LastChangedUtc      *date.Time                     `json:"lastChangedUtc,omitempty"`
	ProvisioningState   ProvisioningStates             `json:"provisioningState,omitempty"`
	SchemaItemTypeLink  *string                        `json:"schemaItemTypeLink,omitempty"`
	TenantID            *string                        `json:"tenantId,omitempty"`
	TimestampFieldName  *string                        `json:"timestampFieldName,omitempty"`
	TypeName            *string                        `json:"typeName,omitempty"`
	StrongIds           *[]StrongID                    `json:"strongIds,omitempty"`
}

ProfileTypeDefinition is the profile type definition.

type ProfilesClient

type ProfilesClient struct {
	ManagementClient
}

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.

func (ProfilesClient) CreateOrUpdate

func (client ProfilesClient) CreateOrUpdate(resourceGroupName string, hubName string, profileName string, parameters ProfileResourceFormat, cancel <-chan struct{}) (<-chan ProfileResourceFormat, <-chan error)

CreateOrUpdate creates a profile within a Hub, or updates an existing profile. This method may poll for completion. Polling can be canceled by passing the cancel channel argument. The channel will be used to cancel polling and any outstanding HTTP requests.

resourceGroupName is the name of the resource group. hubName is the name of the hub. profileName is the name of the profile. parameters is parameters supplied to the create/delete Profile type operation

func (ProfilesClient) CreateOrUpdatePreparer

func (client ProfilesClient) CreateOrUpdatePreparer(resourceGroupName string, hubName string, profileName string, parameters ProfileResourceFormat, cancel <-chan struct{}) (*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) (*http.Response, 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(resourceGroupName string, hubName string, profileName string, localeCode string, cancel <-chan struct{}) (<-chan autorest.Response, <-chan error)

Delete deletes a profile within a hub This method may poll for completion. Polling can be canceled by passing the cancel channel argument. The channel will be used to cancel polling and any outstanding HTTP requests.

resourceGroupName is the name of the resource group. hubName is the name of the hub. profileName is the name of the profile. localeCode is locale of profile to retrieve, default is en-us.

func (ProfilesClient) DeletePreparer

func (client ProfilesClient) DeletePreparer(resourceGroupName string, hubName string, profileName string, localeCode string, cancel <-chan struct{}) (*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) (*http.Response, 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(resourceGroupName string, hubName string, profileName string, localeCode string) (result ProfileResourceFormat, err error)

Get gets information about the specified profile.

resourceGroupName is the name of the resource group. hubName is the name of the hub. profileName is the name of the profile. localeCode is locale of profile to retrieve, default is en-us.

func (ProfilesClient) GetEnrichingKpis

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

resourceGroupName is the name of the resource group. hubName is the name of the hub. profileName is the name of the profile.

func (ProfilesClient) GetEnrichingKpisPreparer

func (client ProfilesClient) GetEnrichingKpisPreparer(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(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(resourceGroupName string, hubName string, localeCode string) (result ProfileListResult, err error)

ListByHub gets all profile in the hub.

resourceGroupName is the name of the resource group. hubName is the name of the hub. localeCode is locale of profile to retrieve, default is en-us.

func (ProfilesClient) ListByHubComplete

func (client ProfilesClient) ListByHubComplete(resourceGroupName string, hubName string, localeCode string, cancel <-chan struct{}) (<-chan ProfileResourceFormat, <-chan error)

ListByHubComplete gets all elements from the list without paging.

func (ProfilesClient) ListByHubNextResults

func (client ProfilesClient) ListByHubNextResults(lastResults ProfileListResult) (result ProfileListResult, err error)

ListByHubNextResults retrieves the next set of results, if any.

func (ProfilesClient) ListByHubPreparer

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

type PropertyDefinition struct {
	ArrayValueSeparator       *string                         `json:"arrayValueSeparator,omitempty"`
	EnumValidValues           *[]ProfileEnumValidValuesFormat `json:"enumValidValues,omitempty"`
	FieldName                 *string                         `json:"fieldName,omitempty"`
	FieldType                 *string                         `json:"fieldType,omitempty"`
	IsArray                   *bool                           `json:"isArray,omitempty"`
	IsEnum                    *bool                           `json:"isEnum,omitempty"`
	IsFlagEnum                *bool                           `json:"isFlagEnum,omitempty"`
	IsImage                   *bool                           `json:"isImage,omitempty"`
	IsLocalizedString         *bool                           `json:"isLocalizedString,omitempty"`
	IsName                    *bool                           `json:"isName,omitempty"`
	IsRequired                *bool                           `json:"isRequired,omitempty"`
	PropertyID                *string                         `json:"propertyId,omitempty"`
	SchemaItemPropLink        *string                         `json:"schemaItemPropLink,omitempty"`
	MaxLength                 *int32                          `json:"maxLength,omitempty"`
	IsAvailableInGraph        *bool                           `json:"isAvailableInGraph,omitempty"`
	DataSourcePrecedenceRules *[]DataSourcePrecedence         `json:"dataSourcePrecedenceRules,omitempty"`
}

PropertyDefinition is property definition.

type ProvisioningStates

type ProvisioningStates string

ProvisioningStates enumerates the values for provisioning states.

const (
	// ProvisioningStatesDeleting specifies the provisioning states deleting state for provisioning states.
	ProvisioningStatesDeleting ProvisioningStates = "Deleting"
	// ProvisioningStatesExpiring specifies the provisioning states expiring state for provisioning states.
	ProvisioningStatesExpiring ProvisioningStates = "Expiring"
	// ProvisioningStatesFailed specifies the provisioning states failed state for provisioning states.
	ProvisioningStatesFailed ProvisioningStates = "Failed"
	// ProvisioningStatesHumanIntervention specifies the provisioning states human intervention state for provisioning
	// states.
	ProvisioningStatesHumanIntervention ProvisioningStates = "HumanIntervention"
	// ProvisioningStatesProvisioning specifies the provisioning states provisioning state for provisioning states.
	ProvisioningStatesProvisioning ProvisioningStates = "Provisioning"
	// ProvisioningStatesSucceeded specifies the provisioning states succeeded state for provisioning states.
	ProvisioningStatesSucceeded ProvisioningStates = "Succeeded"
)

type ProxyResource

type ProxyResource struct {
	ID   *string `json:"id,omitempty"`
	Name *string `json:"name,omitempty"`
	Type *string `json:"type,omitempty"`
}

ProxyResource is common properties of proxy resource.

type RelationshipDefinition

type RelationshipDefinition struct {
	Cardinality        CardinalityTypes           `json:"cardinality,omitempty"`
	DisplayName        *map[string]*string        `json:"displayName,omitempty"`
	Description        *map[string]*string        `json:"description,omitempty"`
	ExpiryDateTimeUtc  *date.Time                 `json:"expiryDateTimeUtc,omitempty"`
	Fields             *[]PropertyDefinition      `json:"fields,omitempty"`
	LookupMappings     *[]RelationshipTypeMapping `json:"lookupMappings,omitempty"`
	ProfileType        *string                    `json:"profileType,omitempty"`
	ProvisioningState  ProvisioningStates         `json:"provisioningState,omitempty"`
	RelationshipName   *string                    `json:"relationshipName,omitempty"`
	RelatedProfileType *string                    `json:"relatedProfileType,omitempty"`
	RelationshipGUIDID *string                    `json:"relationshipGuidId,omitempty"`
	TenantID           *string                    `json:"tenantId,omitempty"`
}

RelationshipDefinition is the definition of Relationship.

type RelationshipLinkDefinition

type RelationshipLinkDefinition struct {
	DisplayName                      *map[string]*string                    `json:"displayName,omitempty"`
	Description                      *map[string]*string                    `json:"description,omitempty"`
	InteractionType                  *string                                `json:"interactionType,omitempty"`
	LinkName                         *string                                `json:"linkName,omitempty"`
	Mappings                         *[]RelationshipLinkFieldMapping        `json:"mappings,omitempty"`
	ProfilePropertyReferences        *[]ParticipantProfilePropertyReference `json:"profilePropertyReferences,omitempty"`
	ProvisioningState                ProvisioningStates                     `json:"provisioningState,omitempty"`
	RelatedProfilePropertyReferences *[]ParticipantProfilePropertyReference `json:"relatedProfilePropertyReferences,omitempty"`
	RelationshipName                 *string                                `json:"relationshipName,omitempty"`
	RelationshipGUIDID               *string                                `json:"relationshipGuidId,omitempty"`
	TenantID                         *string                                `json:"tenantId,omitempty"`
}

RelationshipLinkDefinition is the definition of relationship link.

type RelationshipLinkFieldMapping

type RelationshipLinkFieldMapping struct {
	InteractionFieldName  *string   `json:"interactionFieldName,omitempty"`
	LinkType              LinkTypes `json:"linkType,omitempty"`
	RelationshipFieldName *string   `json:"relationshipFieldName,omitempty"`
}

RelationshipLinkFieldMapping is the fields mapping for Relationships.

type RelationshipLinkListResult

type RelationshipLinkListResult struct {
	autorest.Response `json:"-"`
	Value             *[]RelationshipLinkResourceFormat `json:"value,omitempty"`
	NextLink          *string                           `json:"nextLink,omitempty"`
}

RelationshipLinkListResult is the response of list relationship link operation.

func (RelationshipLinkListResult) RelationshipLinkListResultPreparer

func (client RelationshipLinkListResult) RelationshipLinkListResultPreparer() (*http.Request, error)

RelationshipLinkListResultPreparer prepares a request to retrieve the next set of results. It returns nil if no more results exist.

type RelationshipLinkResourceFormat

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

RelationshipLinkResourceFormat is the relationship link resource format.

type RelationshipLinksClient

type RelationshipLinksClient struct {
	ManagementClient
}

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.

func (RelationshipLinksClient) CreateOrUpdate

func (client RelationshipLinksClient) CreateOrUpdate(resourceGroupName string, hubName string, relationshipLinkName string, parameters RelationshipLinkResourceFormat, cancel <-chan struct{}) (<-chan RelationshipLinkResourceFormat, <-chan error)

CreateOrUpdate creates a relationship link or updates an existing relationship link within a hub. This method may poll for completion. Polling can be canceled by passing the cancel channel argument. The channel will be used to cancel polling and any outstanding HTTP requests.

resourceGroupName is the name of the resource group. hubName is the name of the hub. relationshipLinkName is the name of the relationship link. parameters is parameters supplied to the CreateOrUpdate relationship link operation.

func (RelationshipLinksClient) CreateOrUpdatePreparer

func (client RelationshipLinksClient) CreateOrUpdatePreparer(resourceGroupName string, hubName string, relationshipLinkName string, parameters RelationshipLinkResourceFormat, cancel <-chan struct{}) (*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) (*http.Response, 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(resourceGroupName string, hubName string, relationshipLinkName string, cancel <-chan struct{}) (<-chan autorest.Response, <-chan error)

Delete deletes a relationship link within a hub. This method may poll for completion. Polling can be canceled by passing the cancel channel argument. The channel will be used to cancel polling and any outstanding HTTP requests.

resourceGroupName is the name of the resource group. hubName is the name of the hub. relationshipLinkName is the name of the relationship.

func (RelationshipLinksClient) DeletePreparer

func (client RelationshipLinksClient) DeletePreparer(resourceGroupName string, hubName string, relationshipLinkName string, cancel <-chan struct{}) (*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) (*http.Response, 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(resourceGroupName string, hubName string, relationshipLinkName string) (result RelationshipLinkResourceFormat, err error)

Get gets information about the specified relationship Link.

resourceGroupName is the name of the resource group. hubName is the name of the hub. relationshipLinkName is the name of the relationship link.

func (RelationshipLinksClient) GetPreparer

func (client RelationshipLinksClient) GetPreparer(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(resourceGroupName string, hubName string) (result RelationshipLinkListResult, err error)

ListByHub gets all relationship links in the hub.

resourceGroupName is the name of the resource group. hubName is the name of the hub.

func (RelationshipLinksClient) ListByHubComplete

func (client RelationshipLinksClient) ListByHubComplete(resourceGroupName string, hubName string, cancel <-chan struct{}) (<-chan RelationshipLinkResourceFormat, <-chan error)

ListByHubComplete gets all elements from the list without paging.

func (RelationshipLinksClient) ListByHubNextResults

func (client RelationshipLinksClient) ListByHubNextResults(lastResults RelationshipLinkListResult) (result RelationshipLinkListResult, err error)

ListByHubNextResults retrieves the next set of results, if any.

func (RelationshipLinksClient) ListByHubPreparer

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

type RelationshipListResult struct {
	autorest.Response `json:"-"`
	Value             *[]RelationshipResourceFormat `json:"value,omitempty"`
	NextLink          *string                       `json:"nextLink,omitempty"`
}

RelationshipListResult is the response of list relationship operation.

func (RelationshipListResult) RelationshipListResultPreparer

func (client RelationshipListResult) RelationshipListResultPreparer() (*http.Request, error)

RelationshipListResultPreparer prepares a request to retrieve the next set of results. It returns nil if no more results exist.

type RelationshipResourceFormat

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

RelationshipResourceFormat is the relationship resource format.

type RelationshipTypeFieldMapping

type RelationshipTypeFieldMapping struct {
	ProfileFieldName          *string `json:"profileFieldName,omitempty"`
	RelatedProfileKeyProperty *string `json:"relatedProfileKeyProperty,omitempty"`
}

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

type RelationshipTypeMapping

type RelationshipTypeMapping struct {
	FieldMappings *[]RelationshipTypeFieldMapping `json:"fieldMappings,omitempty"`
}

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

type RelationshipsClient

type RelationshipsClient struct {
	ManagementClient
}

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.

func (RelationshipsClient) CreateOrUpdate

func (client RelationshipsClient) CreateOrUpdate(resourceGroupName string, hubName string, relationshipName string, parameters RelationshipResourceFormat, cancel <-chan struct{}) (<-chan RelationshipResourceFormat, <-chan error)

CreateOrUpdate creates a relationship or updates an existing relationship within a hub. This method may poll for completion. Polling can be canceled by passing the cancel channel argument. The channel will be used to cancel polling and any outstanding HTTP requests.

resourceGroupName is the name of the resource group. hubName is the name of the hub. relationshipName is the name of the Relationship. parameters is parameters supplied to the CreateOrUpdate Relationship operation.

func (RelationshipsClient) CreateOrUpdatePreparer

func (client RelationshipsClient) CreateOrUpdatePreparer(resourceGroupName string, hubName string, relationshipName string, parameters RelationshipResourceFormat, cancel <-chan struct{}) (*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) (*http.Response, 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(resourceGroupName string, hubName string, relationshipName string, cancel <-chan struct{}) (<-chan autorest.Response, <-chan error)

Delete deletes a relationship within a hub. This method may poll for completion. Polling can be canceled by passing the cancel channel argument. The channel will be used to cancel polling and any outstanding HTTP requests.

resourceGroupName is the name of the resource group. hubName is the name of the hub. relationshipName is the name of the relationship.

func (RelationshipsClient) DeletePreparer

func (client RelationshipsClient) DeletePreparer(resourceGroupName string, hubName string, relationshipName string, cancel <-chan struct{}) (*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) (*http.Response, 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(resourceGroupName string, hubName string, relationshipName string) (result RelationshipResourceFormat, err error)

Get gets information about the specified relationship.

resourceGroupName is the name of the resource group. hubName is the name of the hub. relationshipName is the name of the relationship.

func (RelationshipsClient) GetPreparer

func (client RelationshipsClient) GetPreparer(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(resourceGroupName string, hubName string) (result RelationshipListResult, err error)

ListByHub gets all relationships in the hub.

resourceGroupName is the name of the resource group. hubName is the name of the hub.

func (RelationshipsClient) ListByHubComplete

func (client RelationshipsClient) ListByHubComplete(resourceGroupName string, hubName string, cancel <-chan struct{}) (<-chan RelationshipResourceFormat, <-chan error)

ListByHubComplete gets all elements from the list without paging.

func (RelationshipsClient) ListByHubNextResults

func (client RelationshipsClient) ListByHubNextResults(lastResults RelationshipListResult) (result RelationshipListResult, err error)

ListByHubNextResults retrieves the next set of results, if any.

func (RelationshipsClient) ListByHubPreparer

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

type RelationshipsLookup struct {
	ProfileName                      *string                                `json:"profileName,omitempty"`
	ProfilePropertyReferences        *[]ParticipantProfilePropertyReference `json:"profilePropertyReferences,omitempty"`
	RelatedProfileName               *string                                `json:"relatedProfileName,omitempty"`
	RelatedProfilePropertyReferences *[]ParticipantProfilePropertyReference `json:"relatedProfilePropertyReferences,omitempty"`
	ExistingRelationshipName         *string                                `json:"existingRelationshipName,omitempty"`
}

RelationshipsLookup is the definition of suggested relationship for the type.

type Resource

type Resource struct {
	ID       *string             `json:"id,omitempty"`
	Name     *string             `json:"name,omitempty"`
	Type     *string             `json:"type,omitempty"`
	Location *string             `json:"location,omitempty"`
	Tags     *map[string]*string `json:"tags,omitempty"`
}

Resource is common properties of Azure resource.

type ResourceSetDescription

type ResourceSetDescription struct {
	Elements   *[]string `json:"elements,omitempty"`
	Exceptions *[]string `json:"exceptions,omitempty"`
}

ResourceSetDescription is the resource set description.

type Role

type Role struct {
	RoleName    *string `json:"roleName,omitempty"`
	Description *string `json:"description,omitempty"`
}

Role is the Role definition.

type RoleAssignment

type RoleAssignment struct {
	TenantID           *string                 `json:"tenantId,omitempty"`
	AssignmentName     *string                 `json:"assignmentName,omitempty"`
	DisplayName        *map[string]*string     `json:"displayName,omitempty"`
	Description        *map[string]*string     `json:"description,omitempty"`
	ProvisioningState  ProvisioningStates      `json:"provisioningState,omitempty"`
	Role               RoleTypes               `json:"role,omitempty"`
	Principals         *[]AssignmentPrincipal  `json:"principals,omitempty"`
	Profiles           *ResourceSetDescription `json:"profiles,omitempty"`
	Interactions       *ResourceSetDescription `json:"interactions,omitempty"`
	Links              *ResourceSetDescription `json:"links,omitempty"`
	Kpis               *ResourceSetDescription `json:"kpis,omitempty"`
	SasPolicies        *ResourceSetDescription `json:"sasPolicies,omitempty"`
	Connectors         *ResourceSetDescription `json:"connectors,omitempty"`
	Views              *ResourceSetDescription `json:"views,omitempty"`
	RelationshipLinks  *ResourceSetDescription `json:"relationshipLinks,omitempty"`
	Relationships      *ResourceSetDescription `json:"relationships,omitempty"`
	WidgetTypes        *ResourceSetDescription `json:"widgetTypes,omitempty"`
	RoleAssignments    *ResourceSetDescription `json:"roleAssignments,omitempty"`
	ConflationPolicies *ResourceSetDescription `json:"conflationPolicies,omitempty"`
	Segments           *ResourceSetDescription `json:"segments,omitempty"`
}

RoleAssignment is the Role Assignment definition.

type RoleAssignmentListResult

type RoleAssignmentListResult struct {
	autorest.Response `json:"-"`
	Value             *[]RoleAssignmentResourceFormat `json:"value,omitempty"`
	NextLink          *string                         `json:"nextLink,omitempty"`
}

RoleAssignmentListResult is the response of list role assignment operation.

func (RoleAssignmentListResult) RoleAssignmentListResultPreparer

func (client RoleAssignmentListResult) RoleAssignmentListResultPreparer() (*http.Request, error)

RoleAssignmentListResultPreparer prepares a request to retrieve the next set of results. It returns nil if no more results exist.

type RoleAssignmentResourceFormat

type RoleAssignmentResourceFormat struct {
	autorest.Response `json:"-"`
	ID                *string `json:"id,omitempty"`
	Name              *string `json:"name,omitempty"`
	Type              *string `json:"type,omitempty"`
	*RoleAssignment   `json:"properties,omitempty"`
}

RoleAssignmentResourceFormat is the Role Assignment resource format.

type RoleAssignmentsClient

type RoleAssignmentsClient struct {
	ManagementClient
}

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.

func (RoleAssignmentsClient) CreateOrUpdate

func (client RoleAssignmentsClient) CreateOrUpdate(resourceGroupName string, hubName string, assignmentName string, parameters RoleAssignmentResourceFormat, cancel <-chan struct{}) (<-chan RoleAssignmentResourceFormat, <-chan error)

CreateOrUpdate creates or updates a role assignment in the hub. This method may poll for completion. Polling can be canceled by passing the cancel channel argument. The channel will be used to cancel polling and any outstanding HTTP requests.

resourceGroupName is the name of the resource group. hubName is the name of the hub. assignmentName is the assignment name parameters is parameters supplied to the CreateOrUpdate RoleAssignment operation.

func (RoleAssignmentsClient) CreateOrUpdatePreparer

func (client RoleAssignmentsClient) CreateOrUpdatePreparer(resourceGroupName string, hubName string, assignmentName string, parameters RoleAssignmentResourceFormat, cancel <-chan struct{}) (*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) (*http.Response, 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(resourceGroupName string, hubName string, assignmentName string) (result autorest.Response, err error)

Delete deletes the role assignment in the hub.

resourceGroupName is the name of the resource group. hubName is the name of the hub. assignmentName is the name of the role assignment.

func (RoleAssignmentsClient) DeletePreparer

func (client RoleAssignmentsClient) DeletePreparer(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(resourceGroupName string, hubName string, assignmentName string) (result RoleAssignmentResourceFormat, err error)

Get gets the role assignment in the hub.

resourceGroupName is the name of the resource group. hubName is the name of the hub. assignmentName is the name of the role assignment.

func (RoleAssignmentsClient) GetPreparer

func (client RoleAssignmentsClient) GetPreparer(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(resourceGroupName string, hubName string) (result RoleAssignmentListResult, err error)

ListByHub gets all the role assignments for the specified hub.

resourceGroupName is the name of the resource group. hubName is the name of the hub.

func (RoleAssignmentsClient) ListByHubComplete

func (client RoleAssignmentsClient) ListByHubComplete(resourceGroupName string, hubName string, cancel <-chan struct{}) (<-chan RoleAssignmentResourceFormat, <-chan error)

ListByHubComplete gets all elements from the list without paging.

func (RoleAssignmentsClient) ListByHubNextResults

func (client RoleAssignmentsClient) ListByHubNextResults(lastResults RoleAssignmentListResult) (result RoleAssignmentListResult, err error)

ListByHubNextResults retrieves the next set of results, if any.

func (RoleAssignmentsClient) ListByHubPreparer

func (client RoleAssignmentsClient) ListByHubPreparer(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 RoleListResult

type RoleListResult struct {
	autorest.Response `json:"-"`
	Value             *[]RoleResourceFormat `json:"value,omitempty"`
	NextLink          *string               `json:"nextLink,omitempty"`
}

RoleListResult is the response of list role assignment operation.

func (RoleListResult) RoleListResultPreparer

func (client RoleListResult) RoleListResultPreparer() (*http.Request, error)

RoleListResultPreparer prepares a request to retrieve the next set of results. It returns nil if no more results exist.

type RoleResourceFormat

type RoleResourceFormat struct {
	ID    *string `json:"id,omitempty"`
	Name  *string `json:"name,omitempty"`
	Type  *string `json:"type,omitempty"`
	*Role `json:"properties,omitempty"`
}

RoleResourceFormat is the role resource format.

type RoleTypes

type RoleTypes string

RoleTypes enumerates the values for role types.

const (
	// Admin specifies the admin state for role types.
	Admin RoleTypes = "Admin"
	// DataAdmin specifies the data admin state for role types.
	DataAdmin RoleTypes = "DataAdmin"
	// DataReader specifies the data reader state for role types.
	DataReader RoleTypes = "DataReader"
	// ManageAdmin specifies the manage admin state for role types.
	ManageAdmin RoleTypes = "ManageAdmin"
	// ManageReader specifies the manage reader state for role types.
	ManageReader RoleTypes = "ManageReader"
	// Reader specifies the reader state for role types.
	Reader RoleTypes = "Reader"
)

type RolesClient

type RolesClient struct {
	ManagementClient
}

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.

func (RolesClient) ListByHub

func (client RolesClient) ListByHub(resourceGroupName string, hubName string) (result RoleListResult, err error)

ListByHub gets all the roles for the hub.

resourceGroupName is the name of the resource group. hubName is the name of the hub.

func (RolesClient) ListByHubComplete

func (client RolesClient) ListByHubComplete(resourceGroupName string, hubName string, cancel <-chan struct{}) (<-chan RoleResourceFormat, <-chan error)

ListByHubComplete gets all elements from the list without paging.

func (RolesClient) ListByHubNextResults

func (client RolesClient) ListByHubNextResults(lastResults RoleListResult) (result RoleListResult, err error)

ListByHubNextResults retrieves the next set of results, if any.

func (RolesClient) ListByHubPreparer

func (client RolesClient) ListByHubPreparer(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      *SalesforceDiscoverSetting `json:"usersetting,omitempty"`
	Salesforcetables *[]SalesforceTable         `json:"salesforcetables,omitempty"`
}

SalesforceConnectorProperties is the Salesforce connector properties.

type SalesforceDiscoverSetting

type SalesforceDiscoverSetting struct {
	SalesforceConnectionStringSecretURL *string `json:"salesforceConnectionStringSecretUrl,omitempty"`
}

SalesforceDiscoverSetting is salesforce discover setting.

type SalesforceTable

type SalesforceTable struct {
	IsProfile     *string `json:"isProfile,omitempty"`
	TableCategory *string `json:"tableCategory,omitempty"`
	TableName     *string `json:"tableName,omitempty"`
	TableRemarks  *string `json:"tableRemarks,omitempty"`
	TableSchema   *string `json:"tableSchema,omitempty"`
}

SalesforceTable is salesforce table.

type Status

type Status string

Status enumerates the values for status.

const (
	// StatusActive specifies the status active state for status.
	StatusActive Status = "Active"
	// StatusDeleted specifies the status deleted state for status.
	StatusDeleted Status = "Deleted"
	// StatusNone specifies the status none state for status.
	StatusNone Status = "None"
)

type StrongID

type StrongID struct {
	KeyPropertyNames *[]string           `json:"keyPropertyNames,omitempty"`
	StrongIDName     *string             `json:"strongIdName,omitempty"`
	DisplayName      *map[string]*string `json:"displayName,omitempty"`
	Description      *map[string]*string `json:"description,omitempty"`
}

StrongID is property/Properties which represent a unique ID.

type SuggestRelationshipLinksResponse

type SuggestRelationshipLinksResponse struct {
	autorest.Response      `json:"-"`
	InteractionName        *string                `json:"interactionName,omitempty"`
	SuggestedRelationships *[]RelationshipsLookup `json:"suggestedRelationships,omitempty"`
}

SuggestRelationshipLinksResponse is the response of suggest relationship links operation.

type TypePropertiesMapping

type TypePropertiesMapping struct {
	SourcePropertyName *string   `json:"sourcePropertyName,omitempty"`
	TargetPropertyName *string   `json:"targetPropertyName,omitempty"`
	LinkType           LinkTypes `json:"linkType,omitempty"`
}

TypePropertiesMapping is metadata for a Link's property mapping.

type View

type View struct {
	ViewName    *string             `json:"viewName,omitempty"`
	UserID      *string             `json:"userId,omitempty"`
	TenantID    *string             `json:"tenantId,omitempty"`
	DisplayName *map[string]*string `json:"displayName,omitempty"`
	Definition  *string             `json:"definition,omitempty"`
	Changed     *date.Time          `json:"changed,omitempty"`
	Created     *date.Time          `json:"created,omitempty"`
}

View is the view in Customer 360 web application.

type ViewListResult

type ViewListResult struct {
	autorest.Response `json:"-"`
	Value             *[]ViewResourceFormat `json:"value,omitempty"`
	NextLink          *string               `json:"nextLink,omitempty"`
}

ViewListResult is the response of list view operation.

func (ViewListResult) ViewListResultPreparer

func (client ViewListResult) ViewListResultPreparer() (*http.Request, error)

ViewListResultPreparer prepares a request to retrieve the next set of results. It returns nil if no more results exist.

type ViewResourceFormat

type ViewResourceFormat struct {
	autorest.Response `json:"-"`
	ID                *string `json:"id,omitempty"`
	Name              *string `json:"name,omitempty"`
	Type              *string `json:"type,omitempty"`
	*View             `json:"properties,omitempty"`
}

ViewResourceFormat is the view resource format.

type ViewsClient

type ViewsClient struct {
	ManagementClient
}

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.

func (ViewsClient) CreateOrUpdate

func (client ViewsClient) CreateOrUpdate(resourceGroupName string, hubName string, viewName string, parameters ViewResourceFormat) (result ViewResourceFormat, err error)

CreateOrUpdate creates a view or updates an exisiting view in the hub.

resourceGroupName is the name of the resource group. hubName is the name of the hub. viewName is the name of the view. parameters is parameters supplied to the CreateOrUpdate View operation.

func (ViewsClient) CreateOrUpdatePreparer

func (client ViewsClient) CreateOrUpdatePreparer(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(resourceGroupName string, hubName string, viewName string, userID string) (result autorest.Response, err error)

Delete deletes a view in the specified hub.

resourceGroupName is the name of the resource group. hubName is the name of the hub. viewName is the name of the view. userID is the user ID. Use * to retreive hub level view.

func (ViewsClient) DeletePreparer

func (client ViewsClient) DeletePreparer(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(resourceGroupName string, hubName string, viewName string, userID string) (result ViewResourceFormat, err error)

Get gets a view in the hub.

resourceGroupName is the name of the resource group. hubName is the name of the hub. viewName is the name of the view. userID is the user ID. Use * to retreive hub level view.

func (ViewsClient) GetPreparer

func (client ViewsClient) GetPreparer(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(resourceGroupName string, hubName string, userID string) (result ViewListResult, err error)

ListByHub gets all available views for given user in the specified hub.

resourceGroupName is the name of the resource group. hubName is the name of the hub. userID is the user ID. Use * to retreive hub level views.

func (ViewsClient) ListByHubComplete

func (client ViewsClient) ListByHubComplete(resourceGroupName string, hubName string, userID string, cancel <-chan struct{}) (<-chan ViewResourceFormat, <-chan error)

ListByHubComplete gets all elements from the list without paging.

func (ViewsClient) ListByHubNextResults

func (client ViewsClient) ListByHubNextResults(lastResults ViewListResult) (result ViewListResult, err error)

ListByHubNextResults retrieves the next set of results, if any.

func (ViewsClient) ListByHubPreparer

func (client ViewsClient) ListByHubPreparer(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 *string             `json:"widgetTypeName,omitempty"`
	Definition     *string             `json:"definition,omitempty"`
	Description    *string             `json:"description,omitempty"`
	DisplayName    *map[string]*string `json:"displayName,omitempty"`
	ImageURL       *string             `json:"imageUrl,omitempty"`
	TenantID       *string             `json:"tenantId,omitempty"`
	WidgetVersion  *string             `json:"widgetVersion,omitempty"`
	Changed        *date.Time          `json:"changed,omitempty"`
	Created        *date.Time          `json:"created,omitempty"`
}

WidgetType is definition of WidgetType.

type WidgetTypeListResult

type WidgetTypeListResult struct {
	autorest.Response `json:"-"`
	Value             *[]WidgetTypeResourceFormat `json:"value,omitempty"`
	NextLink          *string                     `json:"nextLink,omitempty"`
}

WidgetTypeListResult is the response of list widget type operation.

func (WidgetTypeListResult) WidgetTypeListResultPreparer

func (client WidgetTypeListResult) WidgetTypeListResultPreparer() (*http.Request, error)

WidgetTypeListResultPreparer prepares a request to retrieve the next set of results. It returns nil if no more results exist.

type WidgetTypeResourceFormat

type WidgetTypeResourceFormat struct {
	autorest.Response `json:"-"`
	ID                *string `json:"id,omitempty"`
	Name              *string `json:"name,omitempty"`
	Type              *string `json:"type,omitempty"`
	*WidgetType       `json:"properties,omitempty"`
}

WidgetTypeResourceFormat is the WidgetTypeResourceFormat

type WidgetTypesClient

type WidgetTypesClient struct {
	ManagementClient
}

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.

func (WidgetTypesClient) Get

func (client WidgetTypesClient) Get(resourceGroupName string, hubName string, widgetTypeName string) (result WidgetTypeResourceFormat, err error)

Get gets a widget type in the specified hub.

resourceGroupName is the name of the resource group. hubName is the name of the hub. widgetTypeName is the name of the widget type.

func (WidgetTypesClient) GetPreparer

func (client WidgetTypesClient) GetPreparer(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(resourceGroupName string, hubName string) (result WidgetTypeListResult, err error)

ListByHub gets all available widget types in the specified hub.

resourceGroupName is the name of the resource group. hubName is the name of the hub.

func (WidgetTypesClient) ListByHubComplete

func (client WidgetTypesClient) ListByHubComplete(resourceGroupName string, hubName string, cancel <-chan struct{}) (<-chan WidgetTypeResourceFormat, <-chan error)

ListByHubComplete gets all elements from the list without paging.

func (WidgetTypesClient) ListByHubNextResults

func (client WidgetTypesClient) ListByHubNextResults(lastResults WidgetTypeListResult) (result WidgetTypeListResult, err error)

ListByHubNextResults retrieves the next set of results, if any.

func (WidgetTypesClient) ListByHubPreparer

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

Jump to

Keyboard shortcuts

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