azure-sdk-for-go: github.com/Azure/azure-sdk-for-go/services/customerinsights/mgmt/2017-04-26/customerinsights Index | Files | Directories

package customerinsights

import "github.com/Azure/azure-sdk-for-go/services/customerinsights/mgmt/2017-04-26/customerinsights"

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

Package Files

authorizationpolicies.go client.go connectormappings.go connectors.go hubs.go images.go interactions.go kpi.go links.go models.go operations.go predictions.go profiles.go relationshiplinks.go relationships.go roleassignments.go roles.go version.go views.go widgettypes.go

Constants

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

func UserAgent Uses

func UserAgent() string

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

func Version Uses

func Version() string

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

type AssignmentPrincipal Uses

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

AssignmentPrincipal the AssignmentPrincipal

func (AssignmentPrincipal) MarshalJSON Uses

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

MarshalJSON is the custom marshaler for AssignmentPrincipal.

type AuthorizationPoliciesClient Uses

type AuthorizationPoliciesClient struct {
    BaseClient
}

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

func NewAuthorizationPoliciesClient Uses

func NewAuthorizationPoliciesClient(subscriptionID string) AuthorizationPoliciesClient

NewAuthorizationPoliciesClient creates an instance of the AuthorizationPoliciesClient client.

func NewAuthorizationPoliciesClientWithBaseURI Uses

func NewAuthorizationPoliciesClientWithBaseURI(baseURI string, subscriptionID string) AuthorizationPoliciesClient

NewAuthorizationPoliciesClientWithBaseURI creates an instance of the AuthorizationPoliciesClient client.

func (AuthorizationPoliciesClient) CreateOrUpdate Uses

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

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

func (AuthorizationPoliciesClient) CreateOrUpdatePreparer Uses

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

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (AuthorizationPoliciesClient) CreateOrUpdateResponder Uses

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 Uses

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 Uses

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

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

func (AuthorizationPoliciesClient) GetPreparer Uses

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

GetPreparer prepares the Get request.

func (AuthorizationPoliciesClient) GetResponder Uses

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 Uses

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 Uses

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

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

func (AuthorizationPoliciesClient) ListByHubComplete Uses

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

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

func (AuthorizationPoliciesClient) ListByHubPreparer Uses

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

ListByHubPreparer prepares the ListByHub request.

func (AuthorizationPoliciesClient) ListByHubResponder Uses

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 Uses

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 Uses

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

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

func (AuthorizationPoliciesClient) RegeneratePrimaryKeyPreparer Uses

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

RegeneratePrimaryKeyPreparer prepares the RegeneratePrimaryKey request.

func (AuthorizationPoliciesClient) RegeneratePrimaryKeyResponder Uses

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 Uses

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 Uses

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

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

func (AuthorizationPoliciesClient) RegenerateSecondaryKeyPreparer Uses

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

RegenerateSecondaryKeyPreparer prepares the RegenerateSecondaryKey request.

func (AuthorizationPoliciesClient) RegenerateSecondaryKeyResponder Uses

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 Uses

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 Uses

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

AuthorizationPolicy the authorization policy.

type AuthorizationPolicyListResult Uses

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

AuthorizationPolicyListResult the response of list authorization policy operation.

func (AuthorizationPolicyListResult) IsEmpty Uses

func (aplr AuthorizationPolicyListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type AuthorizationPolicyListResultIterator Uses

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

AuthorizationPolicyListResultIterator provides access to a complete listing of AuthorizationPolicyResourceFormat values.

func NewAuthorizationPolicyListResultIterator Uses

func NewAuthorizationPolicyListResultIterator(page AuthorizationPolicyListResultPage) AuthorizationPolicyListResultIterator

Creates a new instance of the AuthorizationPolicyListResultIterator type.

func (*AuthorizationPolicyListResultIterator) Next Uses

func (iter *AuthorizationPolicyListResultIterator) Next() error

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

func (*AuthorizationPolicyListResultIterator) NextWithContext Uses

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

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

func (AuthorizationPolicyListResultIterator) NotDone Uses

func (iter AuthorizationPolicyListResultIterator) NotDone() bool

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

func (AuthorizationPolicyListResultIterator) Response Uses

func (iter AuthorizationPolicyListResultIterator) Response() AuthorizationPolicyListResult

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

func (AuthorizationPolicyListResultIterator) Value Uses

func (iter AuthorizationPolicyListResultIterator) Value() AuthorizationPolicyResourceFormat

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

type AuthorizationPolicyListResultPage Uses

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

AuthorizationPolicyListResultPage contains a page of AuthorizationPolicyResourceFormat values.

func NewAuthorizationPolicyListResultPage Uses

func NewAuthorizationPolicyListResultPage(getNextPage func(context.Context, AuthorizationPolicyListResult) (AuthorizationPolicyListResult, error)) AuthorizationPolicyListResultPage

Creates a new instance of the AuthorizationPolicyListResultPage type.

func (*AuthorizationPolicyListResultPage) Next Uses

func (page *AuthorizationPolicyListResultPage) Next() error

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

func (*AuthorizationPolicyListResultPage) NextWithContext Uses

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

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

func (AuthorizationPolicyListResultPage) NotDone Uses

func (page AuthorizationPolicyListResultPage) NotDone() bool

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

func (AuthorizationPolicyListResultPage) Response Uses

func (page AuthorizationPolicyListResultPage) Response() AuthorizationPolicyListResult

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

func (AuthorizationPolicyListResultPage) Values Uses

func (page AuthorizationPolicyListResultPage) Values() []AuthorizationPolicyResourceFormat

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

type AuthorizationPolicyResourceFormat Uses

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

AuthorizationPolicyResourceFormat the authorization policy resource format.

func (AuthorizationPolicyResourceFormat) MarshalJSON Uses

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

MarshalJSON is the custom marshaler for AuthorizationPolicyResourceFormat.

func (*AuthorizationPolicyResourceFormat) UnmarshalJSON Uses

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

UnmarshalJSON is the custom unmarshaler for AuthorizationPolicyResourceFormat struct.

type AzureBlobConnectorProperties Uses

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

AzureBlobConnectorProperties the Azure Blob connector properties.

type BaseClient Uses

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

BaseClient is the base client for Customerinsights.

func New Uses

func New(subscriptionID string) BaseClient

New creates an instance of the BaseClient client.

func NewWithBaseURI Uses

func NewWithBaseURI(baseURI string, subscriptionID string) BaseClient

NewWithBaseURI creates an instance of the BaseClient client.

type CalculationWindowTypes Uses

type CalculationWindowTypes string

CalculationWindowTypes enumerates the values for calculation window types.

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

func PossibleCalculationWindowTypesValues Uses

func PossibleCalculationWindowTypesValues() []CalculationWindowTypes

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

type CanonicalProfileDefinition Uses

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

CanonicalProfileDefinition definition of canonical profile.

type CanonicalProfileDefinitionPropertiesItem Uses

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

CanonicalProfileDefinitionPropertiesItem the definition of a canonical profile property.

type CanonicalPropertyValueType Uses

type CanonicalPropertyValueType string

CanonicalPropertyValueType enumerates the values for canonical property value type.

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

func PossibleCanonicalPropertyValueTypeValues Uses

func PossibleCanonicalPropertyValueTypeValues() []CanonicalPropertyValueType

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

type CardinalityTypes Uses

type CardinalityTypes string

CardinalityTypes enumerates the values for cardinality types.

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

func PossibleCardinalityTypesValues Uses

func PossibleCardinalityTypesValues() []CardinalityTypes

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

type CompletionOperationTypes Uses

type CompletionOperationTypes string

CompletionOperationTypes enumerates the values for completion operation types.

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

func PossibleCompletionOperationTypesValues Uses

func PossibleCompletionOperationTypesValues() []CompletionOperationTypes

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

type Connector Uses

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

Connector properties of connector.

func (Connector) MarshalJSON Uses

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

MarshalJSON is the custom marshaler for Connector.

type ConnectorListResult Uses

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

ConnectorListResult the response of list connector operation.

func (ConnectorListResult) IsEmpty Uses

func (clr ConnectorListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type ConnectorListResultIterator Uses

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

ConnectorListResultIterator provides access to a complete listing of ConnectorResourceFormat values.

func NewConnectorListResultIterator Uses

func NewConnectorListResultIterator(page ConnectorListResultPage) ConnectorListResultIterator

Creates a new instance of the ConnectorListResultIterator type.

func (*ConnectorListResultIterator) Next Uses

func (iter *ConnectorListResultIterator) Next() error

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

func (*ConnectorListResultIterator) NextWithContext Uses

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

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

func (ConnectorListResultIterator) NotDone Uses

func (iter ConnectorListResultIterator) NotDone() bool

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

func (ConnectorListResultIterator) Response Uses

func (iter ConnectorListResultIterator) Response() ConnectorListResult

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

func (ConnectorListResultIterator) Value Uses

func (iter ConnectorListResultIterator) Value() ConnectorResourceFormat

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

type ConnectorListResultPage Uses

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

ConnectorListResultPage contains a page of ConnectorResourceFormat values.

func NewConnectorListResultPage Uses

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

Creates a new instance of the ConnectorListResultPage type.

func (*ConnectorListResultPage) Next Uses

func (page *ConnectorListResultPage) Next() error

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

func (*ConnectorListResultPage) NextWithContext Uses

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

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

func (ConnectorListResultPage) NotDone Uses

func (page ConnectorListResultPage) NotDone() bool

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

func (ConnectorListResultPage) Response Uses

func (page ConnectorListResultPage) Response() ConnectorListResult

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

func (ConnectorListResultPage) Values Uses

func (page ConnectorListResultPage) Values() []ConnectorResourceFormat

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

type ConnectorMapping Uses

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

ConnectorMapping the connector mapping definition.

type ConnectorMappingAvailability Uses

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

ConnectorMappingAvailability connector mapping property availability.

type ConnectorMappingCompleteOperation Uses

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

ConnectorMappingCompleteOperation the complete operation.

type ConnectorMappingErrorManagement Uses

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

ConnectorMappingErrorManagement the error management.

type ConnectorMappingFormat Uses

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

ConnectorMappingFormat connector mapping property format.

type ConnectorMappingListResult Uses

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

ConnectorMappingListResult the response of list connector mapping operation.

func (ConnectorMappingListResult) IsEmpty Uses

func (cmlr ConnectorMappingListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type ConnectorMappingListResultIterator Uses

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

ConnectorMappingListResultIterator provides access to a complete listing of ConnectorMappingResourceFormat values.

func NewConnectorMappingListResultIterator Uses

func NewConnectorMappingListResultIterator(page ConnectorMappingListResultPage) ConnectorMappingListResultIterator

Creates a new instance of the ConnectorMappingListResultIterator type.

func (*ConnectorMappingListResultIterator) Next Uses

func (iter *ConnectorMappingListResultIterator) Next() error

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

func (*ConnectorMappingListResultIterator) NextWithContext Uses

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

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

func (ConnectorMappingListResultIterator) NotDone Uses

func (iter ConnectorMappingListResultIterator) NotDone() bool

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

func (ConnectorMappingListResultIterator) Response Uses

func (iter ConnectorMappingListResultIterator) Response() ConnectorMappingListResult

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

func (ConnectorMappingListResultIterator) Value Uses

func (iter ConnectorMappingListResultIterator) Value() ConnectorMappingResourceFormat

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

type ConnectorMappingListResultPage Uses

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

ConnectorMappingListResultPage contains a page of ConnectorMappingResourceFormat values.

func NewConnectorMappingListResultPage Uses

func NewConnectorMappingListResultPage(getNextPage func(context.Context, ConnectorMappingListResult) (ConnectorMappingListResult, error)) ConnectorMappingListResultPage

Creates a new instance of the ConnectorMappingListResultPage type.

func (*ConnectorMappingListResultPage) Next Uses

func (page *ConnectorMappingListResultPage) Next() error

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

func (*ConnectorMappingListResultPage) NextWithContext Uses

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

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

func (ConnectorMappingListResultPage) NotDone Uses

func (page ConnectorMappingListResultPage) NotDone() bool

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

func (ConnectorMappingListResultPage) Response Uses

func (page ConnectorMappingListResultPage) Response() ConnectorMappingListResult

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

func (ConnectorMappingListResultPage) Values Uses

func (page ConnectorMappingListResultPage) Values() []ConnectorMappingResourceFormat

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

type ConnectorMappingProperties Uses

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

ConnectorMappingProperties the connector mapping properties.

type ConnectorMappingResourceFormat Uses

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

ConnectorMappingResourceFormat the connector mapping resource format.

func (ConnectorMappingResourceFormat) MarshalJSON Uses

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

MarshalJSON is the custom marshaler for ConnectorMappingResourceFormat.

func (*ConnectorMappingResourceFormat) UnmarshalJSON Uses

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

UnmarshalJSON is the custom unmarshaler for ConnectorMappingResourceFormat struct.

type ConnectorMappingStates Uses

type ConnectorMappingStates string

ConnectorMappingStates enumerates the values for connector mapping states.

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

func PossibleConnectorMappingStatesValues Uses

func PossibleConnectorMappingStatesValues() []ConnectorMappingStates

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

type ConnectorMappingStructure Uses

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

ConnectorMappingStructure connector mapping property structure.

type ConnectorMappingsClient Uses

type ConnectorMappingsClient struct {
    BaseClient
}

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

func NewConnectorMappingsClient Uses

func NewConnectorMappingsClient(subscriptionID string) ConnectorMappingsClient

NewConnectorMappingsClient creates an instance of the ConnectorMappingsClient client.

func NewConnectorMappingsClientWithBaseURI Uses

func NewConnectorMappingsClientWithBaseURI(baseURI string, subscriptionID string) ConnectorMappingsClient

NewConnectorMappingsClientWithBaseURI creates an instance of the ConnectorMappingsClient client.

func (ConnectorMappingsClient) CreateOrUpdate Uses

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

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

func (ConnectorMappingsClient) CreateOrUpdatePreparer Uses

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

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (ConnectorMappingsClient) CreateOrUpdateResponder Uses

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 Uses

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 Uses

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

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

func (ConnectorMappingsClient) DeletePreparer Uses

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

DeletePreparer prepares the Delete request.

func (ConnectorMappingsClient) DeleteResponder Uses

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 Uses

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 Uses

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

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

func (ConnectorMappingsClient) GetPreparer Uses

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

GetPreparer prepares the Get request.

func (ConnectorMappingsClient) GetResponder Uses

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 Uses

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 Uses

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

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

func (ConnectorMappingsClient) ListByConnectorComplete Uses

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

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

func (ConnectorMappingsClient) ListByConnectorPreparer Uses

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

ListByConnectorPreparer prepares the ListByConnector request.

func (ConnectorMappingsClient) ListByConnectorResponder Uses

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 Uses

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 Uses

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

ConnectorResourceFormat the connector resource format.

func (ConnectorResourceFormat) MarshalJSON Uses

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

MarshalJSON is the custom marshaler for ConnectorResourceFormat.

func (*ConnectorResourceFormat) UnmarshalJSON Uses

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

UnmarshalJSON is the custom unmarshaler for ConnectorResourceFormat struct.

type ConnectorStates Uses

type ConnectorStates string

ConnectorStates enumerates the values for connector states.

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

func PossibleConnectorStatesValues Uses

func PossibleConnectorStatesValues() []ConnectorStates

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

type ConnectorTypes Uses

type ConnectorTypes string

ConnectorTypes enumerates the values for connector types.

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

func PossibleConnectorTypesValues Uses

func PossibleConnectorTypesValues() []ConnectorTypes

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

type ConnectorsClient Uses

type ConnectorsClient struct {
    BaseClient
}

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

func NewConnectorsClient Uses

func NewConnectorsClient(subscriptionID string) ConnectorsClient

NewConnectorsClient creates an instance of the ConnectorsClient client.

func NewConnectorsClientWithBaseURI Uses

func NewConnectorsClientWithBaseURI(baseURI string, subscriptionID string) ConnectorsClient

NewConnectorsClientWithBaseURI creates an instance of the ConnectorsClient client.

func (ConnectorsClient) CreateOrUpdate Uses

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

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

func (ConnectorsClient) CreateOrUpdatePreparer Uses

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

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (ConnectorsClient) CreateOrUpdateResponder Uses

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 Uses

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

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

func (ConnectorsClient) Delete Uses

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

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

func (ConnectorsClient) DeletePreparer Uses

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

DeletePreparer prepares the Delete request.

func (ConnectorsClient) DeleteResponder Uses

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 Uses

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

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

func (ConnectorsClient) Get Uses

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

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

func (ConnectorsClient) GetPreparer Uses

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

GetPreparer prepares the Get request.

func (ConnectorsClient) GetResponder Uses

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 Uses

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 Uses

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

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

func (ConnectorsClient) ListByHubComplete Uses

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

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

func (ConnectorsClient) ListByHubPreparer Uses

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

ListByHubPreparer prepares the ListByHub request.

func (ConnectorsClient) ListByHubResponder Uses

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 Uses

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

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

type ConnectorsCreateOrUpdateFuture Uses

type ConnectorsCreateOrUpdateFuture struct {
    azure.Future
}

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

func (*ConnectorsCreateOrUpdateFuture) Result Uses

func (future *ConnectorsCreateOrUpdateFuture) Result(client ConnectorsClient) (crf ConnectorResourceFormat, err error)

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type ConnectorsDeleteFuture Uses

type ConnectorsDeleteFuture struct {
    azure.Future
}

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

func (*ConnectorsDeleteFuture) Result Uses

func (future *ConnectorsDeleteFuture) Result(client ConnectorsClient) (ar autorest.Response, err error)

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type CrmConnectorEntities Uses

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

CrmConnectorEntities the CRM connector entities.

type CrmConnectorProperties Uses

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

CrmConnectorProperties the CRM connector properties.

type DataSource Uses

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

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

type DataSourcePrecedence Uses

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

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

func (DataSourcePrecedence) MarshalJSON Uses

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

MarshalJSON is the custom marshaler for DataSourcePrecedence.

func (*DataSourcePrecedence) UnmarshalJSON Uses

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

UnmarshalJSON is the custom unmarshaler for DataSourcePrecedence struct.

type DataSourceType Uses

type DataSourceType string

DataSourceType enumerates the values for data source type.

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

func PossibleDataSourceTypeValues Uses

func PossibleDataSourceTypeValues() []DataSourceType

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

type EnrichingKpi Uses

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

EnrichingKpi the enriching KPI definition.

func (EnrichingKpi) MarshalJSON Uses

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

MarshalJSON is the custom marshaler for EnrichingKpi.

type EntityType Uses

type EntityType string

EntityType enumerates the values for entity type.

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

func PossibleEntityTypeValues Uses

func PossibleEntityTypeValues() []EntityType

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

type EntityTypeDefinition Uses

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

EntityTypeDefinition describes an entity.

func (EntityTypeDefinition) MarshalJSON Uses

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

MarshalJSON is the custom marshaler for EntityTypeDefinition.

type EntityTypes Uses

type EntityTypes string

EntityTypes enumerates the values for entity types.

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

func PossibleEntityTypesValues Uses

func PossibleEntityTypesValues() []EntityTypes

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

type ErrorManagementTypes Uses

type ErrorManagementTypes string

ErrorManagementTypes enumerates the values for error management types.

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

func PossibleErrorManagementTypesValues Uses

func PossibleErrorManagementTypesValues() []ErrorManagementTypes

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

type FrequencyTypes Uses

type FrequencyTypes string

FrequencyTypes enumerates the values for frequency types.

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

func PossibleFrequencyTypesValues Uses

func PossibleFrequencyTypesValues() []FrequencyTypes

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

type GetImageUploadURLInput Uses

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

GetImageUploadURLInput input type for getting image upload url.

type Hub Uses

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

Hub hub resource.

func (Hub) MarshalJSON Uses

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

MarshalJSON is the custom marshaler for Hub.

func (*Hub) UnmarshalJSON Uses

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

UnmarshalJSON is the custom unmarshaler for Hub struct.

type HubBillingInfoFormat Uses

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

HubBillingInfoFormat hub billing info.

type HubListResult Uses

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

HubListResult response of list hub operation.

func (HubListResult) IsEmpty Uses

func (hlr HubListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type HubListResultIterator Uses

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

HubListResultIterator provides access to a complete listing of Hub values.

func NewHubListResultIterator Uses

func NewHubListResultIterator(page HubListResultPage) HubListResultIterator

Creates a new instance of the HubListResultIterator type.

func (*HubListResultIterator) Next Uses

func (iter *HubListResultIterator) Next() error

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

func (*HubListResultIterator) NextWithContext Uses

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

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

func (HubListResultIterator) NotDone Uses

func (iter HubListResultIterator) NotDone() bool

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

func (HubListResultIterator) Response Uses

func (iter HubListResultIterator) Response() HubListResult

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

func (HubListResultIterator) Value Uses

func (iter HubListResultIterator) Value() Hub

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

type HubListResultPage Uses

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

HubListResultPage contains a page of Hub values.

func NewHubListResultPage Uses

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

Creates a new instance of the HubListResultPage type.

func (*HubListResultPage) Next Uses

func (page *HubListResultPage) Next() error

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

func (*HubListResultPage) NextWithContext Uses

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

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

func (HubListResultPage) NotDone Uses

func (page HubListResultPage) NotDone() bool

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

func (HubListResultPage) Response Uses

func (page HubListResultPage) Response() HubListResult

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

func (HubListResultPage) Values Uses

func (page HubListResultPage) Values() []Hub

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

type HubPropertiesFormat Uses

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

HubPropertiesFormat properties of hub.

type HubsClient Uses

type HubsClient struct {
    BaseClient
}

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

func NewHubsClient Uses

func NewHubsClient(subscriptionID string) HubsClient

NewHubsClient creates an instance of the HubsClient client.

func NewHubsClientWithBaseURI Uses

func NewHubsClientWithBaseURI(baseURI string, subscriptionID string) HubsClient

NewHubsClientWithBaseURI creates an instance of the HubsClient client.

func (HubsClient) CreateOrUpdate Uses

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

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

func (HubsClient) CreateOrUpdatePreparer Uses

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

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (HubsClient) CreateOrUpdateResponder Uses

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 Uses

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 Uses

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

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

func (HubsClient) DeletePreparer Uses

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

DeletePreparer prepares the Delete request.

func (HubsClient) DeleteResponder Uses

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 Uses

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

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

func (HubsClient) Get Uses

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

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

func (HubsClient) GetPreparer Uses

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

GetPreparer prepares the Get request.

func (HubsClient) GetResponder Uses

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 Uses

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 Uses

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

List gets all hubs in the specified subscription.

func (HubsClient) ListByResourceGroup Uses

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

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

func (HubsClient) ListByResourceGroupComplete Uses

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

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

func (HubsClient) ListByResourceGroupPreparer Uses

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

ListByResourceGroupPreparer prepares the ListByResourceGroup request.

func (HubsClient) ListByResourceGroupResponder Uses

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 Uses

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 Uses

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

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

func (HubsClient) ListPreparer Uses

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

ListPreparer prepares the List request.

func (HubsClient) ListResponder Uses

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 Uses

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 Uses

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

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

func (HubsClient) UpdatePreparer Uses

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

UpdatePreparer prepares the Update request.

func (HubsClient) UpdateResponder Uses

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 Uses

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

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

type HubsDeleteFuture Uses

type HubsDeleteFuture struct {
    azure.Future
}

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

func (*HubsDeleteFuture) Result Uses

func (future *HubsDeleteFuture) Result(client HubsClient) (ar autorest.Response, err error)

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type ImageDefinition Uses

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

ImageDefinition the image definition.

type ImagesClient Uses

type ImagesClient struct {
    BaseClient
}

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

func NewImagesClient Uses

func NewImagesClient(subscriptionID string) ImagesClient

NewImagesClient creates an instance of the ImagesClient client.

func NewImagesClientWithBaseURI Uses

func NewImagesClientWithBaseURI(baseURI string, subscriptionID string) ImagesClient

NewImagesClientWithBaseURI creates an instance of the ImagesClient client.

func (ImagesClient) GetUploadURLForData Uses

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

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

func (ImagesClient) GetUploadURLForDataPreparer Uses

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

GetUploadURLForDataPreparer prepares the GetUploadURLForData request.

func (ImagesClient) GetUploadURLForDataResponder Uses

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 Uses

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 Uses

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

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

func (ImagesClient) GetUploadURLForEntityTypePreparer Uses

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

GetUploadURLForEntityTypePreparer prepares the GetUploadURLForEntityType request.

func (ImagesClient) GetUploadURLForEntityTypeResponder Uses

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 Uses

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 Uses

type InstanceOperationType string

InstanceOperationType enumerates the values for instance operation type.

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

func PossibleInstanceOperationTypeValues Uses

func PossibleInstanceOperationTypeValues() []InstanceOperationType

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

type InteractionListResult Uses

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

InteractionListResult the response of list interaction operation.

func (InteractionListResult) IsEmpty Uses

func (ilr InteractionListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type InteractionListResultIterator Uses

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

InteractionListResultIterator provides access to a complete listing of InteractionResourceFormat values.

func NewInteractionListResultIterator Uses

func NewInteractionListResultIterator(page InteractionListResultPage) InteractionListResultIterator

Creates a new instance of the InteractionListResultIterator type.

func (*InteractionListResultIterator) Next Uses

func (iter *InteractionListResultIterator) Next() error

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

func (*InteractionListResultIterator) NextWithContext Uses

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

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

func (InteractionListResultIterator) NotDone Uses

func (iter InteractionListResultIterator) NotDone() bool

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

func (InteractionListResultIterator) Response Uses

func (iter InteractionListResultIterator) Response() InteractionListResult

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

func (InteractionListResultIterator) Value Uses

func (iter InteractionListResultIterator) Value() InteractionResourceFormat

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

type InteractionListResultPage Uses

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

InteractionListResultPage contains a page of InteractionResourceFormat values.

func NewInteractionListResultPage Uses

func NewInteractionListResultPage(getNextPage func(context.Context, InteractionListResult) (InteractionListResult, error)) InteractionListResultPage

Creates a new instance of the InteractionListResultPage type.

func (*InteractionListResultPage) Next Uses

func (page *InteractionListResultPage) Next() error

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

func (*InteractionListResultPage) NextWithContext Uses

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

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

func (InteractionListResultPage) NotDone Uses

func (page InteractionListResultPage) NotDone() bool

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

func (InteractionListResultPage) Response Uses

func (page InteractionListResultPage) Response() InteractionListResult

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

func (InteractionListResultPage) Values Uses

func (page InteractionListResultPage) Values() []InteractionResourceFormat

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

type InteractionResourceFormat Uses

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

InteractionResourceFormat the interaction resource format.

func (InteractionResourceFormat) MarshalJSON Uses

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

MarshalJSON is the custom marshaler for InteractionResourceFormat.

func (*InteractionResourceFormat) UnmarshalJSON Uses

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

UnmarshalJSON is the custom unmarshaler for InteractionResourceFormat struct.

type InteractionTypeDefinition Uses

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

InteractionTypeDefinition the Interaction Type Definition

func (InteractionTypeDefinition) MarshalJSON Uses

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

MarshalJSON is the custom marshaler for InteractionTypeDefinition.

func (*InteractionTypeDefinition) UnmarshalJSON Uses

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

UnmarshalJSON is the custom unmarshaler for InteractionTypeDefinition struct.

type InteractionsClient Uses

type InteractionsClient struct {
    BaseClient
}

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

func NewInteractionsClient Uses

func NewInteractionsClient(subscriptionID string) InteractionsClient

NewInteractionsClient creates an instance of the InteractionsClient client.

func NewInteractionsClientWithBaseURI Uses

func NewInteractionsClientWithBaseURI(baseURI string, subscriptionID string) InteractionsClient

NewInteractionsClientWithBaseURI creates an instance of the InteractionsClient client.

func (InteractionsClient) CreateOrUpdate Uses

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

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

func (InteractionsClient) CreateOrUpdatePreparer Uses

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

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (InteractionsClient) CreateOrUpdateResponder Uses

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 Uses

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

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

func (InteractionsClient) Get Uses

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

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

func (InteractionsClient) GetPreparer Uses

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

GetPreparer prepares the Get request.

func (InteractionsClient) GetResponder Uses

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 Uses

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 Uses

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

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

func (InteractionsClient) ListByHubComplete Uses

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

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

func (InteractionsClient) ListByHubPreparer Uses

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

ListByHubPreparer prepares the ListByHub request.

func (InteractionsClient) ListByHubResponder Uses

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 Uses

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

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

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

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

func (InteractionsClient) SuggestRelationshipLinksPreparer Uses

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

SuggestRelationshipLinksPreparer prepares the SuggestRelationshipLinks request.

func (InteractionsClient) SuggestRelationshipLinksResponder Uses

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 Uses

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

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

type InteractionsCreateOrUpdateFuture Uses

type InteractionsCreateOrUpdateFuture struct {
    azure.Future
}

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

func (*InteractionsCreateOrUpdateFuture) Result Uses

func (future *InteractionsCreateOrUpdateFuture) Result(client InteractionsClient) (irf InteractionResourceFormat, err error)

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type KpiAlias Uses

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

KpiAlias the KPI alias.

type KpiClient Uses

type KpiClient struct {
    BaseClient
}

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

func NewKpiClient Uses

func NewKpiClient(subscriptionID string) KpiClient

NewKpiClient creates an instance of the KpiClient client.

func NewKpiClientWithBaseURI Uses

func NewKpiClientWithBaseURI(baseURI string, subscriptionID string) KpiClient

NewKpiClientWithBaseURI creates an instance of the KpiClient client.

func (KpiClient) CreateOrUpdate Uses

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

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

func (KpiClient) CreateOrUpdatePreparer Uses

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

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (KpiClient) CreateOrUpdateResponder Uses

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 Uses

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

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

func (KpiClient) Delete Uses

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

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

func (KpiClient) DeletePreparer Uses

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

DeletePreparer prepares the Delete request.

func (KpiClient) DeleteResponder Uses

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 Uses

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

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

func (KpiClient) Get Uses

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

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

func (KpiClient) GetPreparer Uses

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

GetPreparer prepares the Get request.

func (KpiClient) GetResponder Uses

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 Uses

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 Uses

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

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

func (KpiClient) ListByHubComplete Uses

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

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

func (KpiClient) ListByHubPreparer Uses

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

ListByHubPreparer prepares the ListByHub request.

func (KpiClient) ListByHubResponder Uses

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 Uses

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 Uses

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

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

func (KpiClient) ReprocessPreparer Uses

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

ReprocessPreparer prepares the Reprocess request.

func (KpiClient) ReprocessResponder Uses

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 Uses

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

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

type KpiCreateOrUpdateFuture Uses

type KpiCreateOrUpdateFuture struct {
    azure.Future
}

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

func (*KpiCreateOrUpdateFuture) Result Uses

func (future *KpiCreateOrUpdateFuture) Result(client KpiClient) (krf KpiResourceFormat, err error)

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type KpiDefinition Uses

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

KpiDefinition defines the KPI Threshold limits.

func (KpiDefinition) MarshalJSON Uses

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

MarshalJSON is the custom marshaler for KpiDefinition.

type KpiDeleteFuture Uses

type KpiDeleteFuture struct {
    azure.Future
}

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

func (*KpiDeleteFuture) Result Uses

func (future *KpiDeleteFuture) Result(client KpiClient) (ar autorest.Response, err error)

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type KpiExtract Uses

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

KpiExtract the KPI extract.

type KpiFunctions Uses

type KpiFunctions string

KpiFunctions enumerates the values for kpi functions.

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

func PossibleKpiFunctionsValues Uses

func PossibleKpiFunctionsValues() []KpiFunctions

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

type KpiGroupByMetadata Uses

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

KpiGroupByMetadata the KPI GroupBy field metadata.

func (KpiGroupByMetadata) MarshalJSON Uses

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

MarshalJSON is the custom marshaler for KpiGroupByMetadata.

type KpiListResult Uses

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

KpiListResult the response of list KPI operation.

func (KpiListResult) IsEmpty Uses

func (klr KpiListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type KpiListResultIterator Uses

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

KpiListResultIterator provides access to a complete listing of KpiResourceFormat values.

func NewKpiListResultIterator Uses

func NewKpiListResultIterator(page KpiListResultPage) KpiListResultIterator

Creates a new instance of the KpiListResultIterator type.

func (*KpiListResultIterator) Next Uses

func (iter *KpiListResultIterator) Next() error

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

func (*KpiListResultIterator) NextWithContext Uses

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

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

func (KpiListResultIterator) NotDone Uses

func (iter KpiListResultIterator) NotDone() bool

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

func (KpiListResultIterator) Response Uses

func (iter KpiListResultIterator) Response() KpiListResult

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

func (KpiListResultIterator) Value Uses

func (iter KpiListResultIterator) Value() KpiResourceFormat

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

type KpiListResultPage Uses

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

KpiListResultPage contains a page of KpiResourceFormat values.

func NewKpiListResultPage Uses

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

Creates a new instance of the KpiListResultPage type.

func (*KpiListResultPage) Next Uses

func (page *KpiListResultPage) Next() error

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

func (*KpiListResultPage) NextWithContext Uses

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

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

func (KpiListResultPage) NotDone Uses

func (page KpiListResultPage) NotDone() bool

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

func (KpiListResultPage) Response Uses

func (page KpiListResultPage) Response() KpiListResult

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

func (KpiListResultPage) Values Uses

func (page KpiListResultPage) Values() []KpiResourceFormat

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

type KpiParticipantProfilesMetadata Uses

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

KpiParticipantProfilesMetadata the KPI participant profile metadata.

type KpiResourceFormat Uses

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

KpiResourceFormat the KPI resource format.

func (KpiResourceFormat) MarshalJSON Uses

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

MarshalJSON is the custom marshaler for KpiResourceFormat.

func (*KpiResourceFormat) UnmarshalJSON Uses

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

UnmarshalJSON is the custom unmarshaler for KpiResourceFormat struct.

type KpiThresholds Uses

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

KpiThresholds defines the KPI Threshold limits.

type LinkDefinition Uses

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

LinkDefinition the definition of Link.

func (LinkDefinition) MarshalJSON Uses

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

MarshalJSON is the custom marshaler for LinkDefinition.

type LinkListResult Uses

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

LinkListResult the response of list link operation.

func (LinkListResult) IsEmpty Uses

func (llr LinkListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type LinkListResultIterator Uses

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

LinkListResultIterator provides access to a complete listing of LinkResourceFormat values.

func NewLinkListResultIterator Uses

func NewLinkListResultIterator(page LinkListResultPage) LinkListResultIterator

Creates a new instance of the LinkListResultIterator type.

func (*LinkListResultIterator) Next Uses

func (iter *LinkListResultIterator) Next() error

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

func (*LinkListResultIterator) NextWithContext Uses

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

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

func (LinkListResultIterator) NotDone Uses

func (iter LinkListResultIterator) NotDone() bool

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

func (LinkListResultIterator) Response Uses

func (iter LinkListResultIterator) Response() LinkListResult

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

func (LinkListResultIterator) Value Uses

func (iter LinkListResultIterator) Value() LinkResourceFormat

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

type LinkListResultPage Uses

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

LinkListResultPage contains a page of LinkResourceFormat values.

func NewLinkListResultPage Uses

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

Creates a new instance of the LinkListResultPage type.

func (*LinkListResultPage) Next Uses

func (page *LinkListResultPage) Next() error

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

func (*LinkListResultPage) NextWithContext Uses

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

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

func (LinkListResultPage) NotDone Uses

func (page LinkListResultPage) NotDone() bool

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

func (LinkListResultPage) Response Uses

func (page LinkListResultPage) Response() LinkListResult

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

func (LinkListResultPage) Values Uses

func (page LinkListResultPage) Values() []LinkResourceFormat

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

type LinkResourceFormat Uses

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

LinkResourceFormat the link resource format.

func (LinkResourceFormat) MarshalJSON Uses

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

MarshalJSON is the custom marshaler for LinkResourceFormat.

func (*LinkResourceFormat) UnmarshalJSON Uses

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

UnmarshalJSON is the custom unmarshaler for LinkResourceFormat struct.

type LinkTypes Uses

type LinkTypes string

LinkTypes enumerates the values for link types.

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

func PossibleLinkTypesValues Uses

func PossibleLinkTypesValues() []LinkTypes

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

type LinksClient Uses

type LinksClient struct {
    BaseClient
}

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

func NewLinksClient Uses

func NewLinksClient(subscriptionID string) LinksClient

NewLinksClient creates an instance of the LinksClient client.

func NewLinksClientWithBaseURI Uses

func NewLinksClientWithBaseURI(baseURI string, subscriptionID string) LinksClient

NewLinksClientWithBaseURI creates an instance of the LinksClient client.

func (LinksClient) CreateOrUpdate Uses

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

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

func (LinksClient) CreateOrUpdatePreparer Uses

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

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (LinksClient) CreateOrUpdateResponder Uses

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 Uses

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

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

func (LinksClient) Delete Uses

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

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

func (LinksClient) DeletePreparer Uses

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

DeletePreparer prepares the Delete request.

func (LinksClient) DeleteResponder Uses

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 Uses

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 Uses

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

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

func (LinksClient) GetPreparer Uses

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

GetPreparer prepares the Get request.

func (LinksClient) GetResponder Uses

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 Uses

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 Uses

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

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

func (LinksClient) ListByHubComplete Uses

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

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

func (LinksClient) ListByHubPreparer Uses

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

ListByHubPreparer prepares the ListByHub request.

func (LinksClient) ListByHubResponder Uses

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 Uses

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

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

type LinksCreateOrUpdateFuture Uses

type LinksCreateOrUpdateFuture struct {
    azure.Future
}

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

func (*LinksCreateOrUpdateFuture) Result Uses

func (future *LinksCreateOrUpdateFuture) Result(client LinksClient) (lrf LinkResourceFormat, err error)

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type ListKpiDefinition Uses

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

ListKpiDefinition ...

type MetadataDefinitionBase Uses

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

MetadataDefinitionBase the Metadata definition base.

func (MetadataDefinitionBase) MarshalJSON Uses

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

MarshalJSON is the custom marshaler for MetadataDefinitionBase.

type Operation Uses

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

Operation a Customer Insights REST API operation

type OperationDisplay Uses

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

OperationDisplay the object that represents the operation.

type OperationListResult Uses

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

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

func (OperationListResult) IsEmpty Uses

func (olr OperationListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type OperationListResultIterator Uses

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

OperationListResultIterator provides access to a complete listing of Operation values.

func NewOperationListResultIterator Uses

func NewOperationListResultIterator(page OperationListResultPage) OperationListResultIterator

Creates a new instance of the OperationListResultIterator type.

func (*OperationListResultIterator) Next Uses

func (iter *OperationListResultIterator) Next() error

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

func (*OperationListResultIterator) NextWithContext Uses

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

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

func (OperationListResultIterator) NotDone Uses

func (iter OperationListResultIterator) NotDone() bool

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

func (OperationListResultIterator) Response Uses

func (iter OperationListResultIterator) Response() OperationListResult

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

func (OperationListResultIterator) Value Uses

func (iter OperationListResultIterator) Value() Operation

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

type OperationListResultPage Uses

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

OperationListResultPage contains a page of Operation values.

func NewOperationListResultPage Uses

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

Creates a new instance of the OperationListResultPage type.

func (*OperationListResultPage) Next Uses

func (page *OperationListResultPage) Next() error

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

func (*OperationListResultPage) NextWithContext Uses

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

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

func (OperationListResultPage) NotDone Uses

func (page OperationListResultPage) NotDone() bool

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

func (OperationListResultPage) Response Uses

func (page OperationListResultPage) Response() OperationListResult

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

func (OperationListResultPage) Values Uses

func (page OperationListResultPage) Values() []Operation

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

type OperationsClient Uses

type OperationsClient struct {
    BaseClient
}

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

func NewOperationsClient Uses

func NewOperationsClient(subscriptionID string) OperationsClient

NewOperationsClient creates an instance of the OperationsClient client.

func NewOperationsClientWithBaseURI Uses

func NewOperationsClientWithBaseURI(baseURI string, subscriptionID string) OperationsClient

NewOperationsClientWithBaseURI creates an instance of the OperationsClient client.

func (OperationsClient) List Uses

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

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

func (OperationsClient) ListComplete Uses

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

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

func (OperationsClient) ListPreparer Uses

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

ListPreparer prepares the List request.

func (OperationsClient) ListResponder Uses

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

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

func (OperationsClient) ListSender Uses

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

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

type Participant Uses

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

Participant describes a profile type participating in an interaction.

func (Participant) MarshalJSON Uses

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

MarshalJSON is the custom marshaler for Participant.

type ParticipantProfilePropertyReference Uses

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

ParticipantProfilePropertyReference the participant profile property reference.

type ParticipantPropertyReference Uses

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

ParticipantPropertyReference the participant property reference.

type PermissionTypes Uses

type PermissionTypes string

PermissionTypes enumerates the values for permission types.

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

func PossiblePermissionTypesValues Uses

func PossiblePermissionTypesValues() []PermissionTypes

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

type Prediction Uses

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

Prediction the prediction definition.

func (Prediction) MarshalJSON Uses

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

MarshalJSON is the custom marshaler for Prediction.

type PredictionDistributionDefinition Uses

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

PredictionDistributionDefinition the definition of the prediction distribution.

type PredictionDistributionDefinitionDistributionsItem Uses

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

PredictionDistributionDefinitionDistributionsItem the definition of a prediction distribution.

type PredictionGradesItem Uses

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

PredictionGradesItem the definition of a prediction grade.

type PredictionListResult Uses

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

PredictionListResult the response of list predictions operation.

func (PredictionListResult) IsEmpty Uses

func (plr PredictionListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type PredictionListResultIterator Uses

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

PredictionListResultIterator provides access to a complete listing of PredictionResourceFormat values.

func NewPredictionListResultIterator Uses

func NewPredictionListResultIterator(page PredictionListResultPage) PredictionListResultIterator

Creates a new instance of the PredictionListResultIterator type.

func (*PredictionListResultIterator) Next Uses

func (iter *PredictionListResultIterator) Next() error

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

func (*PredictionListResultIterator) NextWithContext Uses

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

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

func (PredictionListResultIterator) NotDone Uses

func (iter PredictionListResultIterator) NotDone() bool

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

func (PredictionListResultIterator) Response Uses

func (iter PredictionListResultIterator) Response() PredictionListResult

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

func (PredictionListResultIterator) Value Uses

func (iter PredictionListResultIterator) Value() PredictionResourceFormat

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

type PredictionListResultPage Uses

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

PredictionListResultPage contains a page of PredictionResourceFormat values.

func NewPredictionListResultPage Uses

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

Creates a new instance of the PredictionListResultPage type.

func (*PredictionListResultPage) Next Uses

func (page *PredictionListResultPage) Next() error

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

func (*PredictionListResultPage) NextWithContext Uses

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

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

func (PredictionListResultPage) NotDone Uses

func (page PredictionListResultPage) NotDone() bool

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

func (PredictionListResultPage) Response Uses

func (page PredictionListResultPage) Response() PredictionListResult

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

func (PredictionListResultPage) Values Uses

func (page PredictionListResultPage) Values() []PredictionResourceFormat

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

type PredictionMappings Uses

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

PredictionMappings definition of the link mapping of prediction.

type PredictionModelLifeCycle Uses

type PredictionModelLifeCycle string

PredictionModelLifeCycle enumerates the values for prediction model life cycle.

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

func PossiblePredictionModelLifeCycleValues Uses

func PossiblePredictionModelLifeCycleValues() []PredictionModelLifeCycle

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

type PredictionModelStatus Uses

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

PredictionModelStatus the prediction model status.

type PredictionResourceFormat Uses

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

PredictionResourceFormat the prediction resource format.

func (PredictionResourceFormat) MarshalJSON Uses

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

MarshalJSON is the custom marshaler for PredictionResourceFormat.

func (*PredictionResourceFormat) UnmarshalJSON Uses

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

UnmarshalJSON is the custom unmarshaler for PredictionResourceFormat struct.

type PredictionSystemGeneratedEntities Uses

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

PredictionSystemGeneratedEntities system generated entities.

func (PredictionSystemGeneratedEntities) MarshalJSON Uses

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

MarshalJSON is the custom marshaler for PredictionSystemGeneratedEntities.

type PredictionTrainingResults Uses

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

PredictionTrainingResults the training results of the prediction.

type PredictionsClient Uses

type PredictionsClient struct {
    BaseClient
}

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

func NewPredictionsClient Uses

func NewPredictionsClient(subscriptionID string) PredictionsClient

NewPredictionsClient creates an instance of the PredictionsClient client.

func NewPredictionsClientWithBaseURI Uses

func NewPredictionsClientWithBaseURI(baseURI string, subscriptionID string) PredictionsClient

NewPredictionsClientWithBaseURI creates an instance of the PredictionsClient client.

func (PredictionsClient) CreateOrUpdate Uses

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

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

func (PredictionsClient) CreateOrUpdatePreparer Uses

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

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (PredictionsClient) CreateOrUpdateResponder Uses

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 Uses

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

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

func (PredictionsClient) Delete Uses

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

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

func (PredictionsClient) DeletePreparer Uses

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

DeletePreparer prepares the Delete request.

func (PredictionsClient) DeleteResponder Uses

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 Uses

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

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

func (PredictionsClient) Get Uses

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

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

func (PredictionsClient) GetModelStatus Uses

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

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

func (PredictionsClient) GetModelStatusPreparer Uses

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

GetModelStatusPreparer prepares the GetModelStatus request.

func (PredictionsClient) GetModelStatusResponder Uses

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 Uses

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 Uses

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

GetPreparer prepares the Get request.

func (PredictionsClient) GetResponder Uses

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 Uses

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 Uses

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

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

func (PredictionsClient) GetTrainingResultsPreparer Uses

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

GetTrainingResultsPreparer prepares the GetTrainingResults request.

func (PredictionsClient) GetTrainingResultsResponder Uses

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 Uses

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 Uses

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

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

func (PredictionsClient) ListByHubComplete Uses

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

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

func (PredictionsClient) ListByHubPreparer Uses

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

ListByHubPreparer prepares the ListByHub request.

func (PredictionsClient) ListByHubResponder Uses

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 Uses

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 Uses

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

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

func (PredictionsClient) ModelStatusPreparer Uses

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

ModelStatusPreparer prepares the ModelStatus request.

func (PredictionsClient) ModelStatusResponder Uses

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 Uses

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

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

type PredictionsCreateOrUpdateFuture Uses

type PredictionsCreateOrUpdateFuture struct {
    azure.Future
}

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

func (*PredictionsCreateOrUpdateFuture) Result Uses

func (future *PredictionsCreateOrUpdateFuture) Result(client PredictionsClient) (prf PredictionResourceFormat, err error)

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type PredictionsDeleteFuture Uses

type PredictionsDeleteFuture struct {
    azure.Future
}

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

func (*PredictionsDeleteFuture) Result Uses

func (future *PredictionsDeleteFuture) Result(client PredictionsClient) (ar autorest.Response, err error)

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type ProfileEnumValidValuesFormat Uses

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

ProfileEnumValidValuesFormat valid enum values in case of an enum property.

func (ProfileEnumValidValuesFormat) MarshalJSON Uses

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

MarshalJSON is the custom marshaler for ProfileEnumValidValuesFormat.

type ProfileListResult Uses

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

ProfileListResult the response of list profile operation.

func (ProfileListResult) IsEmpty Uses

func (plr ProfileListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type ProfileListResultIterator Uses

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

ProfileListResultIterator provides access to a complete listing of ProfileResourceFormat values.

func NewProfileListResultIterator Uses

func NewProfileListResultIterator(page ProfileListResultPage) ProfileListResultIterator

Creates a new instance of the ProfileListResultIterator type.

func (*ProfileListResultIterator) Next Uses

func (iter *ProfileListResultIterator) Next() error

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

func (*ProfileListResultIterator) NextWithContext Uses

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

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

func (ProfileListResultIterator) NotDone Uses

func (iter ProfileListResultIterator) NotDone() bool

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

func (ProfileListResultIterator) Response Uses

func (iter ProfileListResultIterator) Response() ProfileListResult

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

func (ProfileListResultIterator) Value Uses

func (iter ProfileListResultIterator) Value() ProfileResourceFormat

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

type ProfileListResultPage Uses

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

ProfileListResultPage contains a page of ProfileResourceFormat values.

func NewProfileListResultPage Uses

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

Creates a new instance of the ProfileListResultPage type.

func (*ProfileListResultPage) Next Uses

func (page *ProfileListResultPage) Next() error

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

func (*ProfileListResultPage) NextWithContext Uses

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

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

func (ProfileListResultPage) NotDone Uses

func (page ProfileListResultPage) NotDone() bool

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

func (ProfileListResultPage) Response Uses

func (page ProfileListResultPage) Response() ProfileListResult

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

func (ProfileListResultPage) Values Uses

func (page ProfileListResultPage) Values() []ProfileResourceFormat

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

type ProfileResourceFormat Uses

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

ProfileResourceFormat the profile resource format.

func (ProfileResourceFormat) MarshalJSON Uses

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

MarshalJSON is the custom marshaler for ProfileResourceFormat.

func (*ProfileResourceFormat) UnmarshalJSON Uses

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

UnmarshalJSON is the custom unmarshaler for ProfileResourceFormat struct.

type ProfileTypeDefinition Uses

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

ProfileTypeDefinition the profile type definition.

func (ProfileTypeDefinition) MarshalJSON Uses

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

MarshalJSON is the custom marshaler for ProfileTypeDefinition.

type ProfilesClient Uses

type ProfilesClient struct {
    BaseClient
}

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

func NewProfilesClient Uses

func NewProfilesClient(subscriptionID string) ProfilesClient

NewProfilesClient creates an instance of the ProfilesClient client.

func NewProfilesClientWithBaseURI Uses

func NewProfilesClientWithBaseURI(baseURI string, subscriptionID string) ProfilesClient

NewProfilesClientWithBaseURI creates an instance of the ProfilesClient client.

func (ProfilesClient) CreateOrUpdate Uses

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

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

func (ProfilesClient) CreateOrUpdatePreparer Uses

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

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (ProfilesClient) CreateOrUpdateResponder Uses

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 Uses

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

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

func (ProfilesClient) Delete Uses

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

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

func (ProfilesClient) DeletePreparer Uses

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

DeletePreparer prepares the Delete request.

func (ProfilesClient) DeleteResponder Uses

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 Uses

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

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

func (ProfilesClient) Get Uses

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

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

func (ProfilesClient) GetEnrichingKpis Uses

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

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

func (ProfilesClient) GetEnrichingKpisPreparer Uses

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

GetEnrichingKpisPreparer prepares the GetEnrichingKpis request.

func (ProfilesClient) GetEnrichingKpisResponder Uses

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 Uses

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 Uses

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

GetPreparer prepares the Get request.

func (ProfilesClient) GetResponder Uses

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 Uses

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 Uses

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

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

func (ProfilesClient) ListByHubComplete Uses

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

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

func (ProfilesClient) ListByHubPreparer Uses

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

ListByHubPreparer prepares the ListByHub request.

func (ProfilesClient) ListByHubResponder Uses

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 Uses

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

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

type ProfilesCreateOrUpdateFuture Uses

type ProfilesCreateOrUpdateFuture struct {
    azure.Future
}

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

func (*ProfilesCreateOrUpdateFuture) Result Uses

func (future *ProfilesCreateOrUpdateFuture) Result(client ProfilesClient) (prf ProfileResourceFormat, err error)

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type ProfilesDeleteFuture Uses

type ProfilesDeleteFuture struct {
    azure.Future
}

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

func (*ProfilesDeleteFuture) Result Uses

func (future *ProfilesDeleteFuture) Result(client ProfilesClient) (ar autorest.Response, err error)

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type PropertyDefinition Uses

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

PropertyDefinition property definition.

type ProvisioningStates Uses

type ProvisioningStates string

ProvisioningStates enumerates the values for provisioning states.

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

func PossibleProvisioningStatesValues Uses

func PossibleProvisioningStatesValues() []ProvisioningStates

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

type ProxyResource Uses

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

ProxyResource common properties of proxy resource.

type RelationshipDefinition Uses

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

RelationshipDefinition the definition of Relationship.

func (RelationshipDefinition) MarshalJSON Uses

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

MarshalJSON is the custom marshaler for RelationshipDefinition.

type RelationshipLinkDefinition Uses

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

RelationshipLinkDefinition the definition of relationship link.

func (RelationshipLinkDefinition) MarshalJSON Uses

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

MarshalJSON is the custom marshaler for RelationshipLinkDefinition.

type RelationshipLinkFieldMapping Uses

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

RelationshipLinkFieldMapping the fields mapping for Relationships.

type RelationshipLinkListResult Uses

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

RelationshipLinkListResult the response of list relationship link operation.

func (RelationshipLinkListResult) IsEmpty Uses

func (rllr RelationshipLinkListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type RelationshipLinkListResultIterator Uses

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

RelationshipLinkListResultIterator provides access to a complete listing of RelationshipLinkResourceFormat values.

func NewRelationshipLinkListResultIterator Uses

func NewRelationshipLinkListResultIterator(page RelationshipLinkListResultPage) RelationshipLinkListResultIterator

Creates a new instance of the RelationshipLinkListResultIterator type.

func (*RelationshipLinkListResultIterator) Next Uses

func (iter *RelationshipLinkListResultIterator) Next() error

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

func (*RelationshipLinkListResultIterator) NextWithContext Uses

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

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

func (RelationshipLinkListResultIterator) NotDone Uses

func (iter RelationshipLinkListResultIterator) NotDone() bool

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

func (RelationshipLinkListResultIterator) Response Uses

func (iter RelationshipLinkListResultIterator) Response() RelationshipLinkListResult

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

func (RelationshipLinkListResultIterator) Value Uses

func (iter RelationshipLinkListResultIterator) Value() RelationshipLinkResourceFormat

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

type RelationshipLinkListResultPage Uses

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

RelationshipLinkListResultPage contains a page of RelationshipLinkResourceFormat values.

func NewRelationshipLinkListResultPage Uses

func NewRelationshipLinkListResultPage(getNextPage func(context.Context, RelationshipLinkListResult) (RelationshipLinkListResult, error)) RelationshipLinkListResultPage

Creates a new instance of the RelationshipLinkListResultPage type.

func (*RelationshipLinkListResultPage) Next Uses

func (page *RelationshipLinkListResultPage) Next() error

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

func (*RelationshipLinkListResultPage) NextWithContext Uses

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

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

func (RelationshipLinkListResultPage) NotDone Uses

func (page RelationshipLinkListResultPage) NotDone() bool

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

func (RelationshipLinkListResultPage) Response Uses

func (page RelationshipLinkListResultPage) Response() RelationshipLinkListResult

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

func (RelationshipLinkListResultPage) Values Uses

func (page RelationshipLinkListResultPage) Values() []RelationshipLinkResourceFormat

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

type RelationshipLinkResourceFormat Uses

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

RelationshipLinkResourceFormat the relationship link resource format.

func (RelationshipLinkResourceFormat) MarshalJSON Uses

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

MarshalJSON is the custom marshaler for RelationshipLinkResourceFormat.

func (*RelationshipLinkResourceFormat) UnmarshalJSON Uses

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

UnmarshalJSON is the custom unmarshaler for RelationshipLinkResourceFormat struct.

type RelationshipLinksClient Uses

type RelationshipLinksClient struct {
    BaseClient
}

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

func NewRelationshipLinksClient Uses

func NewRelationshipLinksClient(subscriptionID string) RelationshipLinksClient

NewRelationshipLinksClient creates an instance of the RelationshipLinksClient client.

func NewRelationshipLinksClientWithBaseURI Uses

func NewRelationshipLinksClientWithBaseURI(baseURI string, subscriptionID string) RelationshipLinksClient

NewRelationshipLinksClientWithBaseURI creates an instance of the RelationshipLinksClient client.

func (RelationshipLinksClient) CreateOrUpdate Uses

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

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

func (RelationshipLinksClient) CreateOrUpdatePreparer Uses

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

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (RelationshipLinksClient) CreateOrUpdateResponder Uses

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 Uses

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

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

func (RelationshipLinksClient) Delete Uses

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

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

func (RelationshipLinksClient) DeletePreparer Uses

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

DeletePreparer prepares the Delete request.

func (RelationshipLinksClient) DeleteResponder Uses

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 Uses

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

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

func (RelationshipLinksClient) Get Uses

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

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

func (RelationshipLinksClient) GetPreparer Uses

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

GetPreparer prepares the Get request.

func (RelationshipLinksClient) GetResponder Uses

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 Uses

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 Uses

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

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

func (RelationshipLinksClient) ListByHubComplete Uses

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

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

func (RelationshipLinksClient) ListByHubPreparer Uses

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

ListByHubPreparer prepares the ListByHub request.

func (RelationshipLinksClient) ListByHubResponder Uses

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 Uses

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

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

type RelationshipLinksCreateOrUpdateFuture Uses

type RelationshipLinksCreateOrUpdateFuture struct {
    azure.Future
}

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

func (*RelationshipLinksCreateOrUpdateFuture) Result Uses

func (future *RelationshipLinksCreateOrUpdateFuture) Result(client RelationshipLinksClient) (rlrf RelationshipLinkResourceFormat, err error)

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type RelationshipLinksDeleteFuture Uses

type RelationshipLinksDeleteFuture struct {
    azure.Future
}

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

func (*RelationshipLinksDeleteFuture) Result Uses

func (future *RelationshipLinksDeleteFuture) Result(client RelationshipLinksClient) (ar autorest.Response, err error)

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type RelationshipListResult Uses

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

RelationshipListResult the response of list relationship operation.

func (RelationshipListResult) IsEmpty Uses

func (rlr RelationshipListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type RelationshipListResultIterator Uses

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

RelationshipListResultIterator provides access to a complete listing of RelationshipResourceFormat values.

func NewRelationshipListResultIterator Uses

func NewRelationshipListResultIterator(page RelationshipListResultPage) RelationshipListResultIterator

Creates a new instance of the RelationshipListResultIterator type.

func (*RelationshipListResultIterator) Next Uses

func (iter *RelationshipListResultIterator) Next() error

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

func (*RelationshipListResultIterator) NextWithContext Uses

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

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

func (RelationshipListResultIterator) NotDone Uses

func (iter RelationshipListResultIterator) NotDone() bool

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

func (RelationshipListResultIterator) Response Uses

func (iter RelationshipListResultIterator) Response() RelationshipListResult

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

func (RelationshipListResultIterator) Value Uses

func (iter RelationshipListResultIterator) Value() RelationshipResourceFormat

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

type RelationshipListResultPage Uses

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

RelationshipListResultPage contains a page of RelationshipResourceFormat values.

func NewRelationshipListResultPage Uses

func NewRelationshipListResultPage(getNextPage func(context.Context, RelationshipListResult) (RelationshipListResult, error)) RelationshipListResultPage

Creates a new instance of the RelationshipListResultPage type.

func (*RelationshipListResultPage) Next Uses

func (page *RelationshipListResultPage) Next() error

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

func (*RelationshipListResultPage) NextWithContext Uses

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

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

func (RelationshipListResultPage) NotDone Uses

func (page RelationshipListResultPage) NotDone() bool

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

func (RelationshipListResultPage) Response Uses

func (page RelationshipListResultPage) Response() RelationshipListResult

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

func (RelationshipListResultPage) Values Uses

func (page RelationshipListResultPage) Values() []RelationshipResourceFormat

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

type RelationshipResourceFormat Uses

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

RelationshipResourceFormat the relationship resource format.

func (RelationshipResourceFormat) MarshalJSON Uses

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

MarshalJSON is the custom marshaler for RelationshipResourceFormat.

func (*RelationshipResourceFormat) UnmarshalJSON Uses

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

UnmarshalJSON is the custom unmarshaler for RelationshipResourceFormat struct.

type RelationshipTypeFieldMapping Uses

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

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

type RelationshipTypeMapping Uses

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

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

type RelationshipsClient Uses

type RelationshipsClient struct {
    BaseClient
}

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

func NewRelationshipsClient Uses

func NewRelationshipsClient(subscriptionID string) RelationshipsClient

NewRelationshipsClient creates an instance of the RelationshipsClient client.

func NewRelationshipsClientWithBaseURI Uses

func NewRelationshipsClientWithBaseURI(baseURI string, subscriptionID string) RelationshipsClient

NewRelationshipsClientWithBaseURI creates an instance of the RelationshipsClient client.

func (RelationshipsClient) CreateOrUpdate Uses

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

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

func (RelationshipsClient) CreateOrUpdatePreparer Uses

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

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (RelationshipsClient) CreateOrUpdateResponder Uses

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 Uses

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

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

func (RelationshipsClient) Delete Uses

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

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

func (RelationshipsClient) DeletePreparer Uses

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

DeletePreparer prepares the Delete request.

func (RelationshipsClient) DeleteResponder Uses

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 Uses

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

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

func (RelationshipsClient) Get Uses

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

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

func (RelationshipsClient) GetPreparer Uses

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

GetPreparer prepares the Get request.

func (RelationshipsClient) GetResponder Uses

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 Uses

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 Uses

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

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

func (RelationshipsClient) ListByHubComplete Uses

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

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

func (RelationshipsClient) ListByHubPreparer Uses

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

ListByHubPreparer prepares the ListByHub request.

func (RelationshipsClient) ListByHubResponder Uses

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 Uses

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

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

type RelationshipsCreateOrUpdateFuture Uses

type RelationshipsCreateOrUpdateFuture struct {
    azure.Future
}

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

func (*RelationshipsCreateOrUpdateFuture) Result Uses

func (future *RelationshipsCreateOrUpdateFuture) Result(client RelationshipsClient) (rrf RelationshipResourceFormat, err error)

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type