Documentation ¶
Overview ¶
Package customerinsights implements the Azure ARM Customerinsights service API version 2017-04-26.
The Azure Customer Insights management API provides a RESTful set of web services that interact with Azure Customer Insights service to manage your resources. The API has entities that capture the relationship between an end user and the Azure Customer Insights service.
Index ¶
- Constants
- func UserAgent() string
- func Version() string
- type AssignmentPrincipal
- type AuthorizationPoliciesClient
- func (client AuthorizationPoliciesClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, hubName string, ...) (result AuthorizationPolicyResourceFormat, err error)
- func (client AuthorizationPoliciesClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, hubName string, ...) (*http.Request, error)
- func (client AuthorizationPoliciesClient) CreateOrUpdateResponder(resp *http.Response) (result AuthorizationPolicyResourceFormat, err error)
- func (client AuthorizationPoliciesClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)
- func (client AuthorizationPoliciesClient) Get(ctx context.Context, resourceGroupName string, hubName string, ...) (result AuthorizationPolicyResourceFormat, err error)
- func (client AuthorizationPoliciesClient) GetPreparer(ctx context.Context, resourceGroupName string, hubName string, ...) (*http.Request, error)
- func (client AuthorizationPoliciesClient) GetResponder(resp *http.Response) (result AuthorizationPolicyResourceFormat, err error)
- func (client AuthorizationPoliciesClient) GetSender(req *http.Request) (*http.Response, error)
- func (client AuthorizationPoliciesClient) ListByHub(ctx context.Context, resourceGroupName string, hubName string) (result AuthorizationPolicyListResultPage, err error)
- func (client AuthorizationPoliciesClient) ListByHubComplete(ctx context.Context, resourceGroupName string, hubName string) (result AuthorizationPolicyListResultIterator, err error)
- func (client AuthorizationPoliciesClient) ListByHubPreparer(ctx context.Context, resourceGroupName string, hubName string) (*http.Request, error)
- func (client AuthorizationPoliciesClient) ListByHubResponder(resp *http.Response) (result AuthorizationPolicyListResult, err error)
- func (client AuthorizationPoliciesClient) ListByHubSender(req *http.Request) (*http.Response, error)
- func (client AuthorizationPoliciesClient) RegeneratePrimaryKey(ctx context.Context, resourceGroupName string, hubName string, ...) (result AuthorizationPolicy, err error)
- func (client AuthorizationPoliciesClient) RegeneratePrimaryKeyPreparer(ctx context.Context, resourceGroupName string, hubName string, ...) (*http.Request, error)
- func (client AuthorizationPoliciesClient) RegeneratePrimaryKeyResponder(resp *http.Response) (result AuthorizationPolicy, err error)
- func (client AuthorizationPoliciesClient) RegeneratePrimaryKeySender(req *http.Request) (*http.Response, error)
- func (client AuthorizationPoliciesClient) RegenerateSecondaryKey(ctx context.Context, resourceGroupName string, hubName string, ...) (result AuthorizationPolicy, err error)
- func (client AuthorizationPoliciesClient) RegenerateSecondaryKeyPreparer(ctx context.Context, resourceGroupName string, hubName string, ...) (*http.Request, error)
- func (client AuthorizationPoliciesClient) RegenerateSecondaryKeyResponder(resp *http.Response) (result AuthorizationPolicy, err error)
- func (client AuthorizationPoliciesClient) RegenerateSecondaryKeySender(req *http.Request) (*http.Response, error)
- type AuthorizationPolicy
- type AuthorizationPolicyListResult
- type AuthorizationPolicyListResultIterator
- func (iter *AuthorizationPolicyListResultIterator) Next() error
- func (iter AuthorizationPolicyListResultIterator) NotDone() bool
- func (iter AuthorizationPolicyListResultIterator) Response() AuthorizationPolicyListResult
- func (iter AuthorizationPolicyListResultIterator) Value() AuthorizationPolicyResourceFormat
- type AuthorizationPolicyListResultPage
- type AuthorizationPolicyResourceFormat
- type AzureBlobConnectorProperties
- type BaseClient
- type CalculationWindowTypes
- type CanonicalProfileDefinition
- type CanonicalProfileDefinitionPropertiesItem
- type CanonicalPropertyValueType
- type CardinalityTypes
- type CompletionOperationTypes
- type Connector
- type ConnectorListResult
- type ConnectorListResultIterator
- type ConnectorListResultPage
- type ConnectorMapping
- type ConnectorMappingAvailability
- type ConnectorMappingCompleteOperation
- type ConnectorMappingErrorManagement
- type ConnectorMappingFormat
- type ConnectorMappingListResult
- type ConnectorMappingListResultIterator
- type ConnectorMappingListResultPage
- type ConnectorMappingProperties
- type ConnectorMappingResourceFormat
- type ConnectorMappingStates
- type ConnectorMappingStructure
- type ConnectorMappingsClient
- func (client ConnectorMappingsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, hubName string, ...) (result ConnectorMappingResourceFormat, err error)
- func (client ConnectorMappingsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, hubName string, ...) (*http.Request, error)
- func (client ConnectorMappingsClient) CreateOrUpdateResponder(resp *http.Response) (result ConnectorMappingResourceFormat, err error)
- func (client ConnectorMappingsClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)
- func (client ConnectorMappingsClient) Delete(ctx context.Context, resourceGroupName string, hubName string, ...) (result autorest.Response, err error)
- func (client ConnectorMappingsClient) DeletePreparer(ctx context.Context, resourceGroupName string, hubName string, ...) (*http.Request, error)
- func (client ConnectorMappingsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
- func (client ConnectorMappingsClient) DeleteSender(req *http.Request) (*http.Response, error)
- func (client ConnectorMappingsClient) Get(ctx context.Context, resourceGroupName string, hubName string, ...) (result ConnectorMappingResourceFormat, err error)
- func (client ConnectorMappingsClient) GetPreparer(ctx context.Context, resourceGroupName string, hubName string, ...) (*http.Request, error)
- func (client ConnectorMappingsClient) GetResponder(resp *http.Response) (result ConnectorMappingResourceFormat, err error)
- func (client ConnectorMappingsClient) GetSender(req *http.Request) (*http.Response, error)
- func (client ConnectorMappingsClient) ListByConnector(ctx context.Context, resourceGroupName string, hubName string, ...) (result ConnectorMappingListResultPage, err error)
- func (client ConnectorMappingsClient) ListByConnectorComplete(ctx context.Context, resourceGroupName string, hubName string, ...) (result ConnectorMappingListResultIterator, err error)
- func (client ConnectorMappingsClient) ListByConnectorPreparer(ctx context.Context, resourceGroupName string, hubName string, ...) (*http.Request, error)
- func (client ConnectorMappingsClient) ListByConnectorResponder(resp *http.Response) (result ConnectorMappingListResult, err error)
- func (client ConnectorMappingsClient) ListByConnectorSender(req *http.Request) (*http.Response, error)
- type ConnectorResourceFormat
- type ConnectorStates
- type ConnectorTypes
- type ConnectorsClient
- func (client ConnectorsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, hubName string, ...) (result ConnectorsCreateOrUpdateFuture, err error)
- func (client ConnectorsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, hubName string, ...) (*http.Request, error)
- func (client ConnectorsClient) CreateOrUpdateResponder(resp *http.Response) (result ConnectorResourceFormat, err error)
- func (client ConnectorsClient) CreateOrUpdateSender(req *http.Request) (future ConnectorsCreateOrUpdateFuture, err error)
- func (client ConnectorsClient) Delete(ctx context.Context, resourceGroupName string, hubName string, ...) (result ConnectorsDeleteFuture, err error)
- func (client ConnectorsClient) DeletePreparer(ctx context.Context, resourceGroupName string, hubName string, ...) (*http.Request, error)
- func (client ConnectorsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
- func (client ConnectorsClient) DeleteSender(req *http.Request) (future ConnectorsDeleteFuture, err error)
- func (client ConnectorsClient) Get(ctx context.Context, resourceGroupName string, hubName string, ...) (result ConnectorResourceFormat, err error)
- func (client ConnectorsClient) GetPreparer(ctx context.Context, resourceGroupName string, hubName string, ...) (*http.Request, error)
- func (client ConnectorsClient) GetResponder(resp *http.Response) (result ConnectorResourceFormat, err error)
- func (client ConnectorsClient) GetSender(req *http.Request) (*http.Response, error)
- func (client ConnectorsClient) ListByHub(ctx context.Context, resourceGroupName string, hubName string) (result ConnectorListResultPage, err error)
- func (client ConnectorsClient) ListByHubComplete(ctx context.Context, resourceGroupName string, hubName string) (result ConnectorListResultIterator, err error)
- func (client ConnectorsClient) ListByHubPreparer(ctx context.Context, resourceGroupName string, hubName string) (*http.Request, error)
- func (client ConnectorsClient) ListByHubResponder(resp *http.Response) (result ConnectorListResult, err error)
- func (client ConnectorsClient) ListByHubSender(req *http.Request) (*http.Response, error)
- type ConnectorsCreateOrUpdateFuture
- type ConnectorsDeleteFuture
- type CrmConnectorEntities
- type CrmConnectorProperties
- type DataSource
- type DataSourcePrecedence
- type DataSourceType
- type EnrichingKpi
- type EntityType
- type EntityTypeDefinition
- type EntityTypes
- type ErrorManagementTypes
- type FrequencyTypes
- type GetImageUploadURLInput
- type Hub
- type HubBillingInfoFormat
- type HubListResult
- type HubListResultIterator
- type HubListResultPage
- type HubPropertiesFormat
- type HubsClient
- func (client HubsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, hubName string, parameters Hub) (result Hub, err error)
- func (client HubsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, hubName string, parameters Hub) (*http.Request, error)
- func (client HubsClient) CreateOrUpdateResponder(resp *http.Response) (result Hub, err error)
- func (client HubsClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)
- func (client HubsClient) Delete(ctx context.Context, resourceGroupName string, hubName string) (result HubsDeleteFuture, err error)
- func (client HubsClient) DeletePreparer(ctx context.Context, resourceGroupName string, hubName string) (*http.Request, error)
- func (client HubsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
- func (client HubsClient) DeleteSender(req *http.Request) (future HubsDeleteFuture, err error)
- func (client HubsClient) Get(ctx context.Context, resourceGroupName string, hubName string) (result Hub, err error)
- func (client HubsClient) GetPreparer(ctx context.Context, resourceGroupName string, hubName string) (*http.Request, error)
- func (client HubsClient) GetResponder(resp *http.Response) (result Hub, err error)
- func (client HubsClient) GetSender(req *http.Request) (*http.Response, error)
- func (client HubsClient) List(ctx context.Context) (result HubListResultPage, err error)
- func (client HubsClient) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result HubListResultPage, err error)
- func (client HubsClient) ListByResourceGroupComplete(ctx context.Context, resourceGroupName string) (result HubListResultIterator, err error)
- func (client HubsClient) ListByResourceGroupPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error)
- func (client HubsClient) ListByResourceGroupResponder(resp *http.Response) (result HubListResult, err error)
- func (client HubsClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error)
- func (client HubsClient) ListComplete(ctx context.Context) (result HubListResultIterator, err error)
- func (client HubsClient) ListPreparer(ctx context.Context) (*http.Request, error)
- func (client HubsClient) ListResponder(resp *http.Response) (result HubListResult, err error)
- func (client HubsClient) ListSender(req *http.Request) (*http.Response, error)
- func (client HubsClient) Update(ctx context.Context, resourceGroupName string, hubName string, parameters Hub) (result Hub, err error)
- func (client HubsClient) UpdatePreparer(ctx context.Context, resourceGroupName string, hubName string, parameters Hub) (*http.Request, error)
- func (client HubsClient) UpdateResponder(resp *http.Response) (result Hub, err error)
- func (client HubsClient) UpdateSender(req *http.Request) (*http.Response, error)
- type HubsDeleteFuture
- type ImageDefinition
- type ImagesClient
- func (client ImagesClient) GetUploadURLForData(ctx context.Context, resourceGroupName string, hubName string, ...) (result ImageDefinition, err error)
- func (client ImagesClient) GetUploadURLForDataPreparer(ctx context.Context, resourceGroupName string, hubName string, ...) (*http.Request, error)
- func (client ImagesClient) GetUploadURLForDataResponder(resp *http.Response) (result ImageDefinition, err error)
- func (client ImagesClient) GetUploadURLForDataSender(req *http.Request) (*http.Response, error)
- func (client ImagesClient) GetUploadURLForEntityType(ctx context.Context, resourceGroupName string, hubName string, ...) (result ImageDefinition, err error)
- func (client ImagesClient) GetUploadURLForEntityTypePreparer(ctx context.Context, resourceGroupName string, hubName string, ...) (*http.Request, error)
- func (client ImagesClient) GetUploadURLForEntityTypeResponder(resp *http.Response) (result ImageDefinition, err error)
- func (client ImagesClient) GetUploadURLForEntityTypeSender(req *http.Request) (*http.Response, error)
- type InstanceOperationType
- type InteractionListResult
- type InteractionListResultIterator
- type InteractionListResultPage
- type InteractionResourceFormat
- type InteractionTypeDefinition
- type InteractionsClient
- func (client InteractionsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, hubName string, ...) (result InteractionsCreateOrUpdateFuture, err error)
- func (client InteractionsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, hubName string, ...) (*http.Request, error)
- func (client InteractionsClient) CreateOrUpdateResponder(resp *http.Response) (result InteractionResourceFormat, err error)
- func (client InteractionsClient) CreateOrUpdateSender(req *http.Request) (future InteractionsCreateOrUpdateFuture, err error)
- func (client InteractionsClient) Get(ctx context.Context, resourceGroupName string, hubName string, ...) (result InteractionResourceFormat, err error)
- func (client InteractionsClient) GetPreparer(ctx context.Context, resourceGroupName string, hubName string, ...) (*http.Request, error)
- func (client InteractionsClient) GetResponder(resp *http.Response) (result InteractionResourceFormat, err error)
- func (client InteractionsClient) GetSender(req *http.Request) (*http.Response, error)
- func (client InteractionsClient) ListByHub(ctx context.Context, resourceGroupName string, hubName string, ...) (result InteractionListResultPage, err error)
- func (client InteractionsClient) ListByHubComplete(ctx context.Context, resourceGroupName string, hubName string, ...) (result InteractionListResultIterator, err error)
- func (client InteractionsClient) ListByHubPreparer(ctx context.Context, resourceGroupName string, hubName string, ...) (*http.Request, error)
- func (client InteractionsClient) ListByHubResponder(resp *http.Response) (result InteractionListResult, err error)
- func (client InteractionsClient) ListByHubSender(req *http.Request) (*http.Response, error)
- func (client InteractionsClient) SuggestRelationshipLinks(ctx context.Context, resourceGroupName string, hubName string, ...) (result SuggestRelationshipLinksResponse, err error)
- func (client InteractionsClient) SuggestRelationshipLinksPreparer(ctx context.Context, resourceGroupName string, hubName string, ...) (*http.Request, error)
- func (client InteractionsClient) SuggestRelationshipLinksResponder(resp *http.Response) (result SuggestRelationshipLinksResponse, err error)
- func (client InteractionsClient) SuggestRelationshipLinksSender(req *http.Request) (*http.Response, error)
- type InteractionsCreateOrUpdateFuture
- type KpiAlias
- type KpiClient
- func (client KpiClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, hubName string, kpiName string, ...) (result KpiCreateOrUpdateFuture, err error)
- func (client KpiClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, hubName string, kpiName string, ...) (*http.Request, error)
- func (client KpiClient) CreateOrUpdateResponder(resp *http.Response) (result KpiResourceFormat, err error)
- func (client KpiClient) CreateOrUpdateSender(req *http.Request) (future KpiCreateOrUpdateFuture, err error)
- func (client KpiClient) Delete(ctx context.Context, resourceGroupName string, hubName string, kpiName string) (result KpiDeleteFuture, err error)
- func (client KpiClient) DeletePreparer(ctx context.Context, resourceGroupName string, hubName string, kpiName string) (*http.Request, error)
- func (client KpiClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
- func (client KpiClient) DeleteSender(req *http.Request) (future KpiDeleteFuture, err error)
- func (client KpiClient) Get(ctx context.Context, resourceGroupName string, hubName string, kpiName string) (result KpiResourceFormat, err error)
- func (client KpiClient) GetPreparer(ctx context.Context, resourceGroupName string, hubName string, kpiName string) (*http.Request, error)
- func (client KpiClient) GetResponder(resp *http.Response) (result KpiResourceFormat, err error)
- func (client KpiClient) GetSender(req *http.Request) (*http.Response, error)
- func (client KpiClient) ListByHub(ctx context.Context, resourceGroupName string, hubName string) (result KpiListResultPage, err error)
- func (client KpiClient) ListByHubComplete(ctx context.Context, resourceGroupName string, hubName string) (result KpiListResultIterator, err error)
- func (client KpiClient) ListByHubPreparer(ctx context.Context, resourceGroupName string, hubName string) (*http.Request, error)
- func (client KpiClient) ListByHubResponder(resp *http.Response) (result KpiListResult, err error)
- func (client KpiClient) ListByHubSender(req *http.Request) (*http.Response, error)
- func (client KpiClient) Reprocess(ctx context.Context, resourceGroupName string, hubName string, kpiName string) (result autorest.Response, err error)
- func (client KpiClient) ReprocessPreparer(ctx context.Context, resourceGroupName string, hubName string, kpiName string) (*http.Request, error)
- func (client KpiClient) ReprocessResponder(resp *http.Response) (result autorest.Response, err error)
- func (client KpiClient) ReprocessSender(req *http.Request) (*http.Response, error)
- type KpiCreateOrUpdateFuture
- type KpiDefinition
- type KpiDeleteFuture
- type KpiExtract
- type KpiFunctions
- type KpiGroupByMetadata
- type KpiListResult
- type KpiListResultIterator
- type KpiListResultPage
- type KpiParticipantProfilesMetadata
- type KpiResourceFormat
- type KpiThresholds
- type LinkDefinition
- type LinkListResult
- type LinkListResultIterator
- type LinkListResultPage
- type LinkResourceFormat
- type LinkTypes
- type LinksClient
- func (client LinksClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, hubName string, linkName string, ...) (result LinksCreateOrUpdateFuture, err error)
- func (client LinksClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, hubName string, linkName string, ...) (*http.Request, error)
- func (client LinksClient) CreateOrUpdateResponder(resp *http.Response) (result LinkResourceFormat, err error)
- func (client LinksClient) CreateOrUpdateSender(req *http.Request) (future LinksCreateOrUpdateFuture, err error)
- func (client LinksClient) Delete(ctx context.Context, resourceGroupName string, hubName string, linkName string) (result autorest.Response, err error)
- func (client LinksClient) DeletePreparer(ctx context.Context, resourceGroupName string, hubName string, linkName string) (*http.Request, error)
- func (client LinksClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
- func (client LinksClient) DeleteSender(req *http.Request) (*http.Response, error)
- func (client LinksClient) Get(ctx context.Context, resourceGroupName string, hubName string, linkName string) (result LinkResourceFormat, err error)
- func (client LinksClient) GetPreparer(ctx context.Context, resourceGroupName string, hubName string, linkName string) (*http.Request, error)
- func (client LinksClient) GetResponder(resp *http.Response) (result LinkResourceFormat, err error)
- func (client LinksClient) GetSender(req *http.Request) (*http.Response, error)
- func (client LinksClient) ListByHub(ctx context.Context, resourceGroupName string, hubName string) (result LinkListResultPage, err error)
- func (client LinksClient) ListByHubComplete(ctx context.Context, resourceGroupName string, hubName string) (result LinkListResultIterator, err error)
- func (client LinksClient) ListByHubPreparer(ctx context.Context, resourceGroupName string, hubName string) (*http.Request, error)
- func (client LinksClient) ListByHubResponder(resp *http.Response) (result LinkListResult, err error)
- func (client LinksClient) ListByHubSender(req *http.Request) (*http.Response, error)
- type LinksCreateOrUpdateFuture
- type ListKpiDefinition
- type MetadataDefinitionBase
- type Operation
- type OperationDisplay
- type OperationListResult
- type OperationListResultIterator
- type OperationListResultPage
- type OperationsClient
- func (client OperationsClient) List(ctx context.Context) (result OperationListResultPage, err error)
- func (client OperationsClient) ListComplete(ctx context.Context) (result OperationListResultIterator, err error)
- func (client OperationsClient) ListPreparer(ctx context.Context) (*http.Request, error)
- func (client OperationsClient) ListResponder(resp *http.Response) (result OperationListResult, err error)
- func (client OperationsClient) ListSender(req *http.Request) (*http.Response, error)
- type Participant
- type ParticipantProfilePropertyReference
- type ParticipantPropertyReference
- type PermissionTypes
- type Prediction
- type PredictionDistributionDefinition
- type PredictionDistributionDefinitionDistributionsItem
- type PredictionGradesItem
- type PredictionListResult
- type PredictionListResultIterator
- type PredictionListResultPage
- type PredictionMappings
- type PredictionModelLifeCycle
- type PredictionModelStatus
- type PredictionResourceFormat
- type PredictionSystemGeneratedEntities
- type PredictionTrainingResults
- type PredictionsClient
- func (client PredictionsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, hubName string, ...) (result PredictionsCreateOrUpdateFuture, err error)
- func (client PredictionsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, hubName string, ...) (*http.Request, error)
- func (client PredictionsClient) CreateOrUpdateResponder(resp *http.Response) (result PredictionResourceFormat, err error)
- func (client PredictionsClient) CreateOrUpdateSender(req *http.Request) (future PredictionsCreateOrUpdateFuture, err error)
- func (client PredictionsClient) Delete(ctx context.Context, resourceGroupName string, hubName string, ...) (result PredictionsDeleteFuture, err error)
- func (client PredictionsClient) DeletePreparer(ctx context.Context, resourceGroupName string, hubName string, ...) (*http.Request, error)
- func (client PredictionsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
- func (client PredictionsClient) DeleteSender(req *http.Request) (future PredictionsDeleteFuture, err error)
- func (client PredictionsClient) Get(ctx context.Context, resourceGroupName string, hubName string, ...) (result PredictionResourceFormat, err error)
- func (client PredictionsClient) GetModelStatus(ctx context.Context, resourceGroupName string, hubName string, ...) (result PredictionModelStatus, err error)
- func (client PredictionsClient) GetModelStatusPreparer(ctx context.Context, resourceGroupName string, hubName string, ...) (*http.Request, error)
- func (client PredictionsClient) GetModelStatusResponder(resp *http.Response) (result PredictionModelStatus, err error)
- func (client PredictionsClient) GetModelStatusSender(req *http.Request) (*http.Response, error)
- func (client PredictionsClient) GetPreparer(ctx context.Context, resourceGroupName string, hubName string, ...) (*http.Request, error)
- func (client PredictionsClient) GetResponder(resp *http.Response) (result PredictionResourceFormat, err error)
- func (client PredictionsClient) GetSender(req *http.Request) (*http.Response, error)
- func (client PredictionsClient) GetTrainingResults(ctx context.Context, resourceGroupName string, hubName string, ...) (result PredictionTrainingResults, err error)
- func (client PredictionsClient) GetTrainingResultsPreparer(ctx context.Context, resourceGroupName string, hubName string, ...) (*http.Request, error)
- func (client PredictionsClient) GetTrainingResultsResponder(resp *http.Response) (result PredictionTrainingResults, err error)
- func (client PredictionsClient) GetTrainingResultsSender(req *http.Request) (*http.Response, error)
- func (client PredictionsClient) ListByHub(ctx context.Context, resourceGroupName string, hubName string) (result PredictionListResultPage, err error)
- func (client PredictionsClient) ListByHubComplete(ctx context.Context, resourceGroupName string, hubName string) (result PredictionListResultIterator, err error)
- func (client PredictionsClient) ListByHubPreparer(ctx context.Context, resourceGroupName string, hubName string) (*http.Request, error)
- func (client PredictionsClient) ListByHubResponder(resp *http.Response) (result PredictionListResult, err error)
- func (client PredictionsClient) ListByHubSender(req *http.Request) (*http.Response, error)
- func (client PredictionsClient) ModelStatus(ctx context.Context, resourceGroupName string, hubName string, ...) (result autorest.Response, err error)
- func (client PredictionsClient) ModelStatusPreparer(ctx context.Context, resourceGroupName string, hubName string, ...) (*http.Request, error)
- func (client PredictionsClient) ModelStatusResponder(resp *http.Response) (result autorest.Response, err error)
- func (client PredictionsClient) ModelStatusSender(req *http.Request) (*http.Response, error)
- type PredictionsCreateOrUpdateFuture
- type PredictionsDeleteFuture
- type ProfileEnumValidValuesFormat
- type ProfileListResult
- type ProfileListResultIterator
- type ProfileListResultPage
- type ProfileResourceFormat
- type ProfileTypeDefinition
- type ProfilesClient
- func (client ProfilesClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, hubName string, ...) (result ProfilesCreateOrUpdateFuture, err error)
- func (client ProfilesClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, hubName string, ...) (*http.Request, error)
- func (client ProfilesClient) CreateOrUpdateResponder(resp *http.Response) (result ProfileResourceFormat, err error)
- func (client ProfilesClient) CreateOrUpdateSender(req *http.Request) (future ProfilesCreateOrUpdateFuture, err error)
- func (client ProfilesClient) Delete(ctx context.Context, resourceGroupName string, hubName string, ...) (result ProfilesDeleteFuture, err error)
- func (client ProfilesClient) DeletePreparer(ctx context.Context, resourceGroupName string, hubName string, ...) (*http.Request, error)
- func (client ProfilesClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
- func (client ProfilesClient) DeleteSender(req *http.Request) (future ProfilesDeleteFuture, err error)
- func (client ProfilesClient) Get(ctx context.Context, resourceGroupName string, hubName string, ...) (result ProfileResourceFormat, err error)
- func (client ProfilesClient) GetEnrichingKpis(ctx context.Context, resourceGroupName string, hubName string, ...) (result ListKpiDefinition, err error)
- func (client ProfilesClient) GetEnrichingKpisPreparer(ctx context.Context, resourceGroupName string, hubName string, ...) (*http.Request, error)
- func (client ProfilesClient) GetEnrichingKpisResponder(resp *http.Response) (result ListKpiDefinition, err error)
- func (client ProfilesClient) GetEnrichingKpisSender(req *http.Request) (*http.Response, error)
- func (client ProfilesClient) GetPreparer(ctx context.Context, resourceGroupName string, hubName string, ...) (*http.Request, error)
- func (client ProfilesClient) GetResponder(resp *http.Response) (result ProfileResourceFormat, err error)
- func (client ProfilesClient) GetSender(req *http.Request) (*http.Response, error)
- func (client ProfilesClient) ListByHub(ctx context.Context, resourceGroupName string, hubName string, ...) (result ProfileListResultPage, err error)
- func (client ProfilesClient) ListByHubComplete(ctx context.Context, resourceGroupName string, hubName string, ...) (result ProfileListResultIterator, err error)
- func (client ProfilesClient) ListByHubPreparer(ctx context.Context, resourceGroupName string, hubName string, ...) (*http.Request, error)
- func (client ProfilesClient) ListByHubResponder(resp *http.Response) (result ProfileListResult, err error)
- func (client ProfilesClient) ListByHubSender(req *http.Request) (*http.Response, error)
- type ProfilesCreateOrUpdateFuture
- type ProfilesDeleteFuture
- type PropertyDefinition
- type ProvisioningStates
- type ProxyResource
- type RelationshipDefinition
- type RelationshipLinkDefinition
- type RelationshipLinkFieldMapping
- type RelationshipLinkListResult
- type RelationshipLinkListResultIterator
- type RelationshipLinkListResultPage
- type RelationshipLinkResourceFormat
- type RelationshipLinksClient
- func (client RelationshipLinksClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, hubName string, ...) (result RelationshipLinksCreateOrUpdateFuture, err error)
- func (client RelationshipLinksClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, hubName string, ...) (*http.Request, error)
- func (client RelationshipLinksClient) CreateOrUpdateResponder(resp *http.Response) (result RelationshipLinkResourceFormat, err error)
- func (client RelationshipLinksClient) CreateOrUpdateSender(req *http.Request) (future RelationshipLinksCreateOrUpdateFuture, err error)
- func (client RelationshipLinksClient) Delete(ctx context.Context, resourceGroupName string, hubName string, ...) (result RelationshipLinksDeleteFuture, err error)
- func (client RelationshipLinksClient) DeletePreparer(ctx context.Context, resourceGroupName string, hubName string, ...) (*http.Request, error)
- func (client RelationshipLinksClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
- func (client RelationshipLinksClient) DeleteSender(req *http.Request) (future RelationshipLinksDeleteFuture, err error)
- func (client RelationshipLinksClient) Get(ctx context.Context, resourceGroupName string, hubName string, ...) (result RelationshipLinkResourceFormat, err error)
- func (client RelationshipLinksClient) GetPreparer(ctx context.Context, resourceGroupName string, hubName string, ...) (*http.Request, error)
- func (client RelationshipLinksClient) GetResponder(resp *http.Response) (result RelationshipLinkResourceFormat, err error)
- func (client RelationshipLinksClient) GetSender(req *http.Request) (*http.Response, error)
- func (client RelationshipLinksClient) ListByHub(ctx context.Context, resourceGroupName string, hubName string) (result RelationshipLinkListResultPage, err error)
- func (client RelationshipLinksClient) ListByHubComplete(ctx context.Context, resourceGroupName string, hubName string) (result RelationshipLinkListResultIterator, err error)
- func (client RelationshipLinksClient) ListByHubPreparer(ctx context.Context, resourceGroupName string, hubName string) (*http.Request, error)
- func (client RelationshipLinksClient) ListByHubResponder(resp *http.Response) (result RelationshipLinkListResult, err error)
- func (client RelationshipLinksClient) ListByHubSender(req *http.Request) (*http.Response, error)
- type RelationshipLinksCreateOrUpdateFuture
- type RelationshipLinksDeleteFuture
- type RelationshipListResult
- type RelationshipListResultIterator
- type RelationshipListResultPage
- type RelationshipResourceFormat
- type RelationshipTypeFieldMapping
- type RelationshipTypeMapping
- type RelationshipsClient
- func (client RelationshipsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, hubName string, ...) (result RelationshipsCreateOrUpdateFuture, err error)
- func (client RelationshipsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, hubName string, ...) (*http.Request, error)
- func (client RelationshipsClient) CreateOrUpdateResponder(resp *http.Response) (result RelationshipResourceFormat, err error)
- func (client RelationshipsClient) CreateOrUpdateSender(req *http.Request) (future RelationshipsCreateOrUpdateFuture, err error)
- func (client RelationshipsClient) Delete(ctx context.Context, resourceGroupName string, hubName string, ...) (result RelationshipsDeleteFuture, err error)
- func (client RelationshipsClient) DeletePreparer(ctx context.Context, resourceGroupName string, hubName string, ...) (*http.Request, error)
- func (client RelationshipsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
- func (client RelationshipsClient) DeleteSender(req *http.Request) (future RelationshipsDeleteFuture, err error)
- func (client RelationshipsClient) Get(ctx context.Context, resourceGroupName string, hubName string, ...) (result RelationshipResourceFormat, err error)
- func (client RelationshipsClient) GetPreparer(ctx context.Context, resourceGroupName string, hubName string, ...) (*http.Request, error)
- func (client RelationshipsClient) GetResponder(resp *http.Response) (result RelationshipResourceFormat, err error)
- func (client RelationshipsClient) GetSender(req *http.Request) (*http.Response, error)
- func (client RelationshipsClient) ListByHub(ctx context.Context, resourceGroupName string, hubName string) (result RelationshipListResultPage, err error)
- func (client RelationshipsClient) ListByHubComplete(ctx context.Context, resourceGroupName string, hubName string) (result RelationshipListResultIterator, err error)
- func (client RelationshipsClient) ListByHubPreparer(ctx context.Context, resourceGroupName string, hubName string) (*http.Request, error)
- func (client RelationshipsClient) ListByHubResponder(resp *http.Response) (result RelationshipListResult, err error)
- func (client RelationshipsClient) ListByHubSender(req *http.Request) (*http.Response, error)
- type RelationshipsCreateOrUpdateFuture
- type RelationshipsDeleteFuture
- type RelationshipsLookup
- type Resource
- type ResourceSetDescription
- type Role
- type RoleAssignment
- type RoleAssignmentListResult
- type RoleAssignmentListResultIterator
- type RoleAssignmentListResultPage
- type RoleAssignmentResourceFormat
- type RoleAssignmentsClient
- func (client RoleAssignmentsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, hubName string, ...) (result RoleAssignmentsCreateOrUpdateFuture, err error)
- func (client RoleAssignmentsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, hubName string, ...) (*http.Request, error)
- func (client RoleAssignmentsClient) CreateOrUpdateResponder(resp *http.Response) (result RoleAssignmentResourceFormat, err error)
- func (client RoleAssignmentsClient) CreateOrUpdateSender(req *http.Request) (future RoleAssignmentsCreateOrUpdateFuture, err error)
- func (client RoleAssignmentsClient) Delete(ctx context.Context, resourceGroupName string, hubName string, ...) (result autorest.Response, err error)
- func (client RoleAssignmentsClient) DeletePreparer(ctx context.Context, resourceGroupName string, hubName string, ...) (*http.Request, error)
- func (client RoleAssignmentsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
- func (client RoleAssignmentsClient) DeleteSender(req *http.Request) (*http.Response, error)
- func (client RoleAssignmentsClient) Get(ctx context.Context, resourceGroupName string, hubName string, ...) (result RoleAssignmentResourceFormat, err error)
- func (client RoleAssignmentsClient) GetPreparer(ctx context.Context, resourceGroupName string, hubName string, ...) (*http.Request, error)
- func (client RoleAssignmentsClient) GetResponder(resp *http.Response) (result RoleAssignmentResourceFormat, err error)
- func (client RoleAssignmentsClient) GetSender(req *http.Request) (*http.Response, error)
- func (client RoleAssignmentsClient) ListByHub(ctx context.Context, resourceGroupName string, hubName string) (result RoleAssignmentListResultPage, err error)
- func (client RoleAssignmentsClient) ListByHubComplete(ctx context.Context, resourceGroupName string, hubName string) (result RoleAssignmentListResultIterator, err error)
- func (client RoleAssignmentsClient) ListByHubPreparer(ctx context.Context, resourceGroupName string, hubName string) (*http.Request, error)
- func (client RoleAssignmentsClient) ListByHubResponder(resp *http.Response) (result RoleAssignmentListResult, err error)
- func (client RoleAssignmentsClient) ListByHubSender(req *http.Request) (*http.Response, error)
- type RoleAssignmentsCreateOrUpdateFuture
- type RoleListResult
- type RoleListResultIterator
- type RoleListResultPage
- type RoleResourceFormat
- type RoleTypes
- type RolesClient
- func (client RolesClient) ListByHub(ctx context.Context, resourceGroupName string, hubName string) (result RoleListResultPage, err error)
- func (client RolesClient) ListByHubComplete(ctx context.Context, resourceGroupName string, hubName string) (result RoleListResultIterator, err error)
- func (client RolesClient) ListByHubPreparer(ctx context.Context, resourceGroupName string, hubName string) (*http.Request, error)
- func (client RolesClient) ListByHubResponder(resp *http.Response) (result RoleListResult, err error)
- func (client RolesClient) ListByHubSender(req *http.Request) (*http.Response, error)
- type SalesforceConnectorProperties
- type SalesforceDiscoverSetting
- type SalesforceTable
- type Status
- type StrongID
- type SuggestRelationshipLinksResponse
- type TypePropertiesMapping
- type View
- type ViewListResult
- type ViewListResultIterator
- type ViewListResultPage
- type ViewResourceFormat
- type ViewsClient
- func (client ViewsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, hubName string, viewName string, ...) (result ViewResourceFormat, err error)
- func (client ViewsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, hubName string, viewName string, ...) (*http.Request, error)
- func (client ViewsClient) CreateOrUpdateResponder(resp *http.Response) (result ViewResourceFormat, err error)
- func (client ViewsClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)
- func (client ViewsClient) Delete(ctx context.Context, resourceGroupName string, hubName string, viewName string, ...) (result autorest.Response, err error)
- func (client ViewsClient) DeletePreparer(ctx context.Context, resourceGroupName string, hubName string, viewName string, ...) (*http.Request, error)
- func (client ViewsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
- func (client ViewsClient) DeleteSender(req *http.Request) (*http.Response, error)
- func (client ViewsClient) Get(ctx context.Context, resourceGroupName string, hubName string, viewName string, ...) (result ViewResourceFormat, err error)
- func (client ViewsClient) GetPreparer(ctx context.Context, resourceGroupName string, hubName string, viewName string, ...) (*http.Request, error)
- func (client ViewsClient) GetResponder(resp *http.Response) (result ViewResourceFormat, err error)
- func (client ViewsClient) GetSender(req *http.Request) (*http.Response, error)
- func (client ViewsClient) ListByHub(ctx context.Context, resourceGroupName string, hubName string, userID string) (result ViewListResultPage, err error)
- func (client ViewsClient) ListByHubComplete(ctx context.Context, resourceGroupName string, hubName string, userID string) (result ViewListResultIterator, err error)
- func (client ViewsClient) ListByHubPreparer(ctx context.Context, resourceGroupName string, hubName string, userID string) (*http.Request, error)
- func (client ViewsClient) ListByHubResponder(resp *http.Response) (result ViewListResult, err error)
- func (client ViewsClient) ListByHubSender(req *http.Request) (*http.Response, error)
- type WidgetType
- type WidgetTypeListResult
- type WidgetTypeListResultIterator
- type WidgetTypeListResultPage
- type WidgetTypeResourceFormat
- type WidgetTypesClient
- func (client WidgetTypesClient) Get(ctx context.Context, resourceGroupName string, hubName string, ...) (result WidgetTypeResourceFormat, err error)
- func (client WidgetTypesClient) GetPreparer(ctx context.Context, resourceGroupName string, hubName string, ...) (*http.Request, error)
- func (client WidgetTypesClient) GetResponder(resp *http.Response) (result WidgetTypeResourceFormat, err error)
- func (client WidgetTypesClient) GetSender(req *http.Request) (*http.Response, error)
- func (client WidgetTypesClient) ListByHub(ctx context.Context, resourceGroupName string, hubName string) (result WidgetTypeListResultPage, err error)
- func (client WidgetTypesClient) ListByHubComplete(ctx context.Context, resourceGroupName string, hubName string) (result WidgetTypeListResultIterator, err error)
- func (client WidgetTypesClient) ListByHubPreparer(ctx context.Context, resourceGroupName string, hubName string) (*http.Request, error)
- func (client WidgetTypesClient) ListByHubResponder(resp *http.Response) (result WidgetTypeListResult, err error)
- func (client WidgetTypesClient) ListByHubSender(req *http.Request) (*http.Response, error)
Constants ¶
const (
// DefaultBaseURI is the default URI used for the service Customerinsights
DefaultBaseURI = "https://management.azure.com"
)
Variables ¶
This section is empty.
Functions ¶
func UserAgent ¶
func UserAgent() string
UserAgent returns the UserAgent string to use when sending http.Requests.
func Version ¶
func Version() string
Version returns the semantic version (see http://semver.org) of the client.
Types ¶
type AssignmentPrincipal ¶
type AssignmentPrincipal struct { // PrincipalID - The principal id being assigned to. PrincipalID *string `json:"principalId,omitempty"` // PrincipalType - The Type of the principal ID. PrincipalType *string `json:"principalType,omitempty"` // PrincipalMetadata - Other metadata for the principal. PrincipalMetadata map[string]*string `json:"principalMetadata"` }
AssignmentPrincipal the AssignmentPrincipal
func (AssignmentPrincipal) MarshalJSON ¶
func (ap AssignmentPrincipal) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for AssignmentPrincipal.
type AuthorizationPoliciesClient ¶
type AuthorizationPoliciesClient struct {
BaseClient
}
AuthorizationPoliciesClient is the the Azure Customer Insights management API provides a RESTful set of web services that interact with Azure Customer Insights service to manage your resources. The API has entities that capture the relationship between an end user and the Azure Customer Insights service.
func NewAuthorizationPoliciesClient ¶
func NewAuthorizationPoliciesClient(subscriptionID string) AuthorizationPoliciesClient
NewAuthorizationPoliciesClient creates an instance of the AuthorizationPoliciesClient client.
func NewAuthorizationPoliciesClientWithBaseURI ¶
func NewAuthorizationPoliciesClientWithBaseURI(baseURI string, subscriptionID string) AuthorizationPoliciesClient
NewAuthorizationPoliciesClientWithBaseURI creates an instance of the AuthorizationPoliciesClient client.
func (AuthorizationPoliciesClient) CreateOrUpdate ¶
func (client AuthorizationPoliciesClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, hubName string, authorizationPolicyName string, parameters AuthorizationPolicyResourceFormat) (result AuthorizationPolicyResourceFormat, err error)
CreateOrUpdate creates an authorization policy or updates an existing authorization policy.
resourceGroupName is the name of the resource group. hubName is the name of the hub. authorizationPolicyName is the name of the policy. parameters is parameters supplied to the CreateOrUpdate authorization policy operation.
func (AuthorizationPoliciesClient) CreateOrUpdatePreparer ¶
func (client AuthorizationPoliciesClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, hubName string, authorizationPolicyName string, parameters AuthorizationPolicyResourceFormat) (*http.Request, error)
CreateOrUpdatePreparer prepares the CreateOrUpdate request.
func (AuthorizationPoliciesClient) CreateOrUpdateResponder ¶
func (client AuthorizationPoliciesClient) CreateOrUpdateResponder(resp *http.Response) (result AuthorizationPolicyResourceFormat, err error)
CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.
func (AuthorizationPoliciesClient) CreateOrUpdateSender ¶
func (client AuthorizationPoliciesClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)
CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.
func (AuthorizationPoliciesClient) Get ¶
func (client AuthorizationPoliciesClient) Get(ctx context.Context, resourceGroupName string, hubName string, authorizationPolicyName string) (result AuthorizationPolicyResourceFormat, err error)
Get gets an authorization policy in the hub.
resourceGroupName is the name of the resource group. hubName is the name of the hub. authorizationPolicyName is the name of the policy.
func (AuthorizationPoliciesClient) GetPreparer ¶
func (client AuthorizationPoliciesClient) GetPreparer(ctx context.Context, resourceGroupName string, hubName string, authorizationPolicyName string) (*http.Request, error)
GetPreparer prepares the Get request.
func (AuthorizationPoliciesClient) GetResponder ¶
func (client AuthorizationPoliciesClient) GetResponder(resp *http.Response) (result AuthorizationPolicyResourceFormat, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (AuthorizationPoliciesClient) GetSender ¶
GetSender sends the Get request. The method will close the http.Response Body if it receives an error.
func (AuthorizationPoliciesClient) ListByHub ¶
func (client AuthorizationPoliciesClient) ListByHub(ctx context.Context, resourceGroupName string, hubName string) (result AuthorizationPolicyListResultPage, err error)
ListByHub gets all the authorization policies in a specified hub.
resourceGroupName is the name of the resource group. hubName is the name of the hub.
func (AuthorizationPoliciesClient) ListByHubComplete ¶
func (client AuthorizationPoliciesClient) ListByHubComplete(ctx context.Context, resourceGroupName string, hubName string) (result AuthorizationPolicyListResultIterator, err error)
ListByHubComplete enumerates all values, automatically crossing page boundaries as required.
func (AuthorizationPoliciesClient) ListByHubPreparer ¶
func (client AuthorizationPoliciesClient) ListByHubPreparer(ctx context.Context, resourceGroupName string, hubName string) (*http.Request, error)
ListByHubPreparer prepares the ListByHub request.
func (AuthorizationPoliciesClient) ListByHubResponder ¶
func (client AuthorizationPoliciesClient) ListByHubResponder(resp *http.Response) (result AuthorizationPolicyListResult, err error)
ListByHubResponder handles the response to the ListByHub request. The method always closes the http.Response Body.
func (AuthorizationPoliciesClient) ListByHubSender ¶
func (client AuthorizationPoliciesClient) ListByHubSender(req *http.Request) (*http.Response, error)
ListByHubSender sends the ListByHub request. The method will close the http.Response Body if it receives an error.
func (AuthorizationPoliciesClient) RegeneratePrimaryKey ¶
func (client AuthorizationPoliciesClient) RegeneratePrimaryKey(ctx context.Context, resourceGroupName string, hubName string, authorizationPolicyName string) (result AuthorizationPolicy, err error)
RegeneratePrimaryKey regenerates the primary policy key of the specified authorization policy.
resourceGroupName is the name of the resource group. hubName is the name of the hub. authorizationPolicyName is the name of the policy.
func (AuthorizationPoliciesClient) RegeneratePrimaryKeyPreparer ¶
func (client AuthorizationPoliciesClient) RegeneratePrimaryKeyPreparer(ctx context.Context, resourceGroupName string, hubName string, authorizationPolicyName string) (*http.Request, error)
RegeneratePrimaryKeyPreparer prepares the RegeneratePrimaryKey request.
func (AuthorizationPoliciesClient) RegeneratePrimaryKeyResponder ¶
func (client AuthorizationPoliciesClient) RegeneratePrimaryKeyResponder(resp *http.Response) (result AuthorizationPolicy, err error)
RegeneratePrimaryKeyResponder handles the response to the RegeneratePrimaryKey request. The method always closes the http.Response Body.
func (AuthorizationPoliciesClient) RegeneratePrimaryKeySender ¶
func (client AuthorizationPoliciesClient) RegeneratePrimaryKeySender(req *http.Request) (*http.Response, error)
RegeneratePrimaryKeySender sends the RegeneratePrimaryKey request. The method will close the http.Response Body if it receives an error.
func (AuthorizationPoliciesClient) RegenerateSecondaryKey ¶
func (client AuthorizationPoliciesClient) RegenerateSecondaryKey(ctx context.Context, resourceGroupName string, hubName string, authorizationPolicyName string) (result AuthorizationPolicy, err error)
RegenerateSecondaryKey regenerates the secondary policy key of the specified authorization policy.
resourceGroupName is the name of the resource group. hubName is the name of the hub. authorizationPolicyName is the name of the policy.
func (AuthorizationPoliciesClient) RegenerateSecondaryKeyPreparer ¶
func (client AuthorizationPoliciesClient) RegenerateSecondaryKeyPreparer(ctx context.Context, resourceGroupName string, hubName string, authorizationPolicyName string) (*http.Request, error)
RegenerateSecondaryKeyPreparer prepares the RegenerateSecondaryKey request.
func (AuthorizationPoliciesClient) RegenerateSecondaryKeyResponder ¶
func (client AuthorizationPoliciesClient) RegenerateSecondaryKeyResponder(resp *http.Response) (result AuthorizationPolicy, err error)
RegenerateSecondaryKeyResponder handles the response to the RegenerateSecondaryKey request. The method always closes the http.Response Body.
func (AuthorizationPoliciesClient) RegenerateSecondaryKeySender ¶
func (client AuthorizationPoliciesClient) RegenerateSecondaryKeySender(req *http.Request) (*http.Response, error)
RegenerateSecondaryKeySender sends the RegenerateSecondaryKey request. The method will close the http.Response Body if it receives an error.
type AuthorizationPolicy ¶
type AuthorizationPolicy struct { autorest.Response `json:"-"` // PolicyName - Name of the policy. PolicyName *string `json:"policyName,omitempty"` // Permissions - The permissions associated with the policy. Permissions *[]PermissionTypes `json:"permissions,omitempty"` // PrimaryKey - Primary key assiciated with the policy. PrimaryKey *string `json:"primaryKey,omitempty"` // SecondaryKey - Secondary key assiciated with the policy. SecondaryKey *string `json:"secondaryKey,omitempty"` }
AuthorizationPolicy the authorization policy.
type AuthorizationPolicyListResult ¶
type AuthorizationPolicyListResult struct { autorest.Response `json:"-"` // Value - Results of the list operation. Value *[]AuthorizationPolicyResourceFormat `json:"value,omitempty"` // NextLink - Link to the next set of results. NextLink *string `json:"nextLink,omitempty"` }
AuthorizationPolicyListResult the response of list authorization policy operation.
func (AuthorizationPolicyListResult) IsEmpty ¶
func (aplr AuthorizationPolicyListResult) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
type AuthorizationPolicyListResultIterator ¶
type AuthorizationPolicyListResultIterator struct {
// contains filtered or unexported fields
}
AuthorizationPolicyListResultIterator provides access to a complete listing of AuthorizationPolicyResourceFormat values.
func (*AuthorizationPolicyListResultIterator) Next ¶
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.
func (AuthorizationPolicyListResultIterator) NotDone ¶
func (iter AuthorizationPolicyListResultIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (AuthorizationPolicyListResultIterator) Response ¶
func (iter AuthorizationPolicyListResultIterator) Response() AuthorizationPolicyListResult
Response returns the raw server response from the last page request.
func (AuthorizationPolicyListResultIterator) Value ¶
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 ¶
type AuthorizationPolicyListResultPage struct {
// contains filtered or unexported fields
}
AuthorizationPolicyListResultPage contains a page of AuthorizationPolicyResourceFormat values.
func (*AuthorizationPolicyListResultPage) Next ¶
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.
func (AuthorizationPolicyListResultPage) NotDone ¶
func (page AuthorizationPolicyListResultPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (AuthorizationPolicyListResultPage) Response ¶
func (page AuthorizationPolicyListResultPage) Response() AuthorizationPolicyListResult
Response returns the raw server response from the last page request.
func (AuthorizationPolicyListResultPage) Values ¶
func (page AuthorizationPolicyListResultPage) Values() []AuthorizationPolicyResourceFormat
Values returns the slice of values for the current page or nil if there are no values.
type AuthorizationPolicyResourceFormat ¶
type AuthorizationPolicyResourceFormat struct { autorest.Response `json:"-"` *AuthorizationPolicy `json:"properties,omitempty"` // ID - Resource ID. ID *string `json:"id,omitempty"` // Name - Resource name. Name *string `json:"name,omitempty"` // Type - Resource type. Type *string `json:"type,omitempty"` }
AuthorizationPolicyResourceFormat the authorization policy resource format.
func (*AuthorizationPolicyResourceFormat) UnmarshalJSON ¶
func (aprf *AuthorizationPolicyResourceFormat) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for AuthorizationPolicyResourceFormat struct.
type AzureBlobConnectorProperties ¶
type AzureBlobConnectorProperties struct { // ConnectionKeyVaultURL - The connection KeyVault URL. ConnectionKeyVaultURL *string `json:"connectionKeyVaultUrl,omitempty"` }
AzureBlobConnectorProperties the Azure Blob connector properties.
type BaseClient ¶
BaseClient is the base client for Customerinsights.
func New ¶
func New(subscriptionID string) BaseClient
New creates an instance of the BaseClient client.
func NewWithBaseURI ¶
func NewWithBaseURI(baseURI string, subscriptionID string) BaseClient
NewWithBaseURI creates an instance of the BaseClient client.
type CalculationWindowTypes ¶
type CalculationWindowTypes string
CalculationWindowTypes enumerates the values for calculation window types.
const ( // Day ... Day CalculationWindowTypes = "Day" // Hour ... Hour CalculationWindowTypes = "Hour" // Lifetime ... Lifetime CalculationWindowTypes = "Lifetime" // Month ... Month CalculationWindowTypes = "Month" // Week ... Week CalculationWindowTypes = "Week" )
type CanonicalProfileDefinition ¶
type CanonicalProfileDefinition struct { // CanonicalProfileID - Canonical profile ID. CanonicalProfileID *int32 `json:"canonicalProfileId,omitempty"` // Properties - Properties of the canonical profile. Properties *[]CanonicalProfileDefinitionPropertiesItem `json:"properties,omitempty"` }
CanonicalProfileDefinition definition of canonical profile.
type CanonicalProfileDefinitionPropertiesItem ¶
type CanonicalProfileDefinitionPropertiesItem struct { // ProfileName - Profile name. ProfileName *string `json:"profileName,omitempty"` // ProfilePropertyName - Property name of profile. ProfilePropertyName *string `json:"profilePropertyName,omitempty"` // Rank - The rank. Rank *int32 `json:"rank,omitempty"` // Type - Type of canonical property value. Possible values include: 'Numeric', 'Categorical', 'DerivedCategorical', 'DerivedNumeric' Type CanonicalPropertyValueType `json:"type,omitempty"` // Value - Value of the canonical property. Value *string `json:"value,omitempty"` }
CanonicalProfileDefinitionPropertiesItem the definition of a canonical profile property.
type CanonicalPropertyValueType ¶
type CanonicalPropertyValueType string
CanonicalPropertyValueType enumerates the values for canonical property value type.
const ( // Categorical ... Categorical CanonicalPropertyValueType = "Categorical" // DerivedCategorical ... DerivedCategorical CanonicalPropertyValueType = "DerivedCategorical" // DerivedNumeric ... DerivedNumeric CanonicalPropertyValueType = "DerivedNumeric" // Numeric ... Numeric CanonicalPropertyValueType = "Numeric" )
type CardinalityTypes ¶
type CardinalityTypes string
CardinalityTypes enumerates the values for cardinality types.
const ( // ManyToMany ... ManyToMany CardinalityTypes = "ManyToMany" // OneToMany ... OneToMany CardinalityTypes = "OneToMany" // OneToOne ... OneToOne CardinalityTypes = "OneToOne" )
type CompletionOperationTypes ¶
type CompletionOperationTypes string
CompletionOperationTypes enumerates the values for completion operation types.
const ( // DeleteFile ... DeleteFile CompletionOperationTypes = "DeleteFile" // DoNothing ... DoNothing CompletionOperationTypes = "DoNothing" // MoveFile ... MoveFile CompletionOperationTypes = "MoveFile" )
type Connector ¶
type Connector struct { // ConnectorID - 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 - The created time. Created *date.Time `json:"created,omitempty"` // LastModified - The last monified time. LastModified *date.Time `json:"lastModified,omitempty"` // State - State of connector. Possible values include: 'ConnectorStatesCreating', 'ConnectorStatesCreated', 'ConnectorStatesReady', 'ConnectorStatesExpiring', 'ConnectorStatesDeleting', 'ConnectorStatesFailed' State ConnectorStates `json:"state,omitempty"` // TenantID - 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 ¶
MarshalJSON is the custom marshaler for Connector.
type ConnectorListResult ¶
type ConnectorListResult struct { autorest.Response `json:"-"` // Value - Results of the list operation. Value *[]ConnectorResourceFormat `json:"value,omitempty"` // NextLink - Link to the next set of results. NextLink *string `json:"nextLink,omitempty"` }
ConnectorListResult the response of list connector operation.
func (ConnectorListResult) IsEmpty ¶
func (clr ConnectorListResult) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
type ConnectorListResultIterator ¶
type ConnectorListResultIterator struct {
// contains filtered or unexported fields
}
ConnectorListResultIterator provides access to a complete listing of ConnectorResourceFormat values.
func (*ConnectorListResultIterator) Next ¶
func (iter *ConnectorListResultIterator) Next() error
Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.
func (ConnectorListResultIterator) NotDone ¶
func (iter ConnectorListResultIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (ConnectorListResultIterator) Response ¶
func (iter ConnectorListResultIterator) Response() ConnectorListResult
Response returns the raw server response from the last page request.
func (ConnectorListResultIterator) Value ¶
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 ¶
type ConnectorListResultPage struct {
// contains filtered or unexported fields
}
ConnectorListResultPage contains a page of ConnectorResourceFormat values.
func (*ConnectorListResultPage) Next ¶
func (page *ConnectorListResultPage) Next() error
Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.
func (ConnectorListResultPage) NotDone ¶
func (page ConnectorListResultPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (ConnectorListResultPage) Response ¶
func (page ConnectorListResultPage) Response() ConnectorListResult
Response returns the raw server response from the last page request.
func (ConnectorListResultPage) Values ¶
func (page ConnectorListResultPage) Values() []ConnectorResourceFormat
Values returns the slice of values for the current page or nil if there are no values.
type ConnectorMapping ¶
type ConnectorMapping struct { // ConnectorName - 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 - The created time. Created *date.Time `json:"created,omitempty"` // LastModified - The last monified 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 - 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 - The DataFormat ID. DataFormatID *string `json:"dataFormatId,omitempty"` // MappingProperties - The properties of the mapping. MappingProperties *ConnectorMappingProperties `json:"mappingProperties,omitempty"` // NextRunTime - The next run time based on customer's settings. NextRunTime *date.Time `json:"nextRunTime,omitempty"` // RunID - The RunId. RunID *string `json:"runId,omitempty"` // State - State of connector mapping. Possible values include: 'Creating', 'Created', 'Failed', 'Ready', 'Running', 'Stopped', 'Expiring' State ConnectorMappingStates `json:"state,omitempty"` // TenantID - The hub name. TenantID *string `json:"tenantId,omitempty"` }
ConnectorMapping the connector mapping definition.
type ConnectorMappingAvailability ¶
type ConnectorMappingAvailability struct { // Frequency - The frequency to update. Possible values include: 'FrequencyTypesMinute', 'FrequencyTypesHour', 'FrequencyTypesDay', 'FrequencyTypesWeek', 'FrequencyTypesMonth' Frequency FrequencyTypes `json:"frequency,omitempty"` // Interval - The interval of the given frequency to use. Interval *int32 `json:"interval,omitempty"` }
ConnectorMappingAvailability connector mapping property availability.
type ConnectorMappingCompleteOperation ¶
type ConnectorMappingCompleteOperation struct { // CompletionOperationType - The type of completion operation. Possible values include: 'DoNothing', 'DeleteFile', 'MoveFile' CompletionOperationType CompletionOperationTypes `json:"completionOperationType,omitempty"` // DestinationFolder - The destination folder where files will be moved to once the import is done. DestinationFolder *string `json:"destinationFolder,omitempty"` }
ConnectorMappingCompleteOperation the complete operation.
type ConnectorMappingErrorManagement ¶
type ConnectorMappingErrorManagement struct { // ErrorManagementType - The type of error management to use for the mapping. Possible values include: 'RejectAndContinue', 'StopImport', 'RejectUntilLimit' ErrorManagementType ErrorManagementTypes `json:"errorManagementType,omitempty"` // ErrorLimit - The error limit allowed while importing data. ErrorLimit *int32 `json:"errorLimit,omitempty"` }
ConnectorMappingErrorManagement the error mangement.
type ConnectorMappingFormat ¶
type ConnectorMappingFormat struct { // FormatType - The type mapping format. FormatType *string `json:"formatType,omitempty"` // ColumnDelimiter - The character that signifies a break between columns. ColumnDelimiter *string `json:"columnDelimiter,omitempty"` // AcceptLanguage - The oData language. AcceptLanguage *string `json:"acceptLanguage,omitempty"` // QuoteCharacter - Quote character, used to indicate enquoted fields. QuoteCharacter *string `json:"quoteCharacter,omitempty"` // QuoteEscapeCharacter - Escape character for quotes, can be the same as the quoteCharacter. QuoteEscapeCharacter *string `json:"quoteEscapeCharacter,omitempty"` // ArraySeparator - Character separating array elements. ArraySeparator *string `json:"arraySeparator,omitempty"` }
ConnectorMappingFormat connector mapping property format.
type ConnectorMappingListResult ¶
type ConnectorMappingListResult struct { autorest.Response `json:"-"` // Value - Results of the list operation. Value *[]ConnectorMappingResourceFormat `json:"value,omitempty"` // NextLink - Link to the next set of results. NextLink *string `json:"nextLink,omitempty"` }
ConnectorMappingListResult the response of list connector mapping operation.
func (ConnectorMappingListResult) IsEmpty ¶
func (cmlr ConnectorMappingListResult) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
type ConnectorMappingListResultIterator ¶
type ConnectorMappingListResultIterator struct {
// contains filtered or unexported fields
}
ConnectorMappingListResultIterator provides access to a complete listing of ConnectorMappingResourceFormat values.
func (*ConnectorMappingListResultIterator) Next ¶
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.
func (ConnectorMappingListResultIterator) NotDone ¶
func (iter ConnectorMappingListResultIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (ConnectorMappingListResultIterator) Response ¶
func (iter ConnectorMappingListResultIterator) Response() ConnectorMappingListResult
Response returns the raw server response from the last page request.
func (ConnectorMappingListResultIterator) Value ¶
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 ¶
type ConnectorMappingListResultPage struct {
// contains filtered or unexported fields
}
ConnectorMappingListResultPage contains a page of ConnectorMappingResourceFormat values.
func (*ConnectorMappingListResultPage) Next ¶
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.
func (ConnectorMappingListResultPage) NotDone ¶
func (page ConnectorMappingListResultPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (ConnectorMappingListResultPage) Response ¶
func (page ConnectorMappingListResultPage) Response() ConnectorMappingListResult
Response returns the raw server response from the last page request.
func (ConnectorMappingListResultPage) Values ¶
func (page ConnectorMappingListResultPage) Values() []ConnectorMappingResourceFormat
Values returns the slice of values for the current page or nil if there are no values.
type ConnectorMappingProperties ¶
type ConnectorMappingProperties struct { // FolderPath - The folder path for the mapping. FolderPath *string `json:"folderPath,omitempty"` // FileFilter - The file filter for the mapping. FileFilter *string `json:"fileFilter,omitempty"` // HasHeader - If the file contains a header or not. HasHeader *bool `json:"hasHeader,omitempty"` // ErrorManagement - The error management setting for the mapping. ErrorManagement *ConnectorMappingErrorManagement `json:"errorManagement,omitempty"` // Format - The format of mapping property. Format *ConnectorMappingFormat `json:"format,omitempty"` // Availability - The availability of mapping property. Availability *ConnectorMappingAvailability `json:"availability,omitempty"` // Structure - Ingestion mapping information at property level. Structure *[]ConnectorMappingStructure `json:"structure,omitempty"` // CompleteOperation - The operation after import is done. CompleteOperation *ConnectorMappingCompleteOperation `json:"completeOperation,omitempty"` }
ConnectorMappingProperties the connector mapping properties.
type ConnectorMappingResourceFormat ¶
type ConnectorMappingResourceFormat struct { autorest.Response `json:"-"` *ConnectorMapping `json:"properties,omitempty"` // ID - Resource ID. ID *string `json:"id,omitempty"` // Name - Resource name. Name *string `json:"name,omitempty"` // Type - Resource type. Type *string `json:"type,omitempty"` }
ConnectorMappingResourceFormat the c onnector mapping resource format.
func (*ConnectorMappingResourceFormat) UnmarshalJSON ¶
func (cmrf *ConnectorMappingResourceFormat) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for ConnectorMappingResourceFormat struct.
type ConnectorMappingStates ¶
type ConnectorMappingStates string
ConnectorMappingStates enumerates the values for connector mapping states.
const ( // Created ... Created ConnectorMappingStates = "Created" // Creating ... Creating ConnectorMappingStates = "Creating" // Expiring ... Expiring ConnectorMappingStates = "Expiring" // Failed ... Failed ConnectorMappingStates = "Failed" // Ready ... Ready ConnectorMappingStates = "Ready" // Running ... Running ConnectorMappingStates = "Running" // Stopped ... Stopped ConnectorMappingStates = "Stopped" )
type ConnectorMappingStructure ¶
type ConnectorMappingStructure struct { // PropertyName - The property name of the mapping entity. PropertyName *string `json:"propertyName,omitempty"` // ColumnName - The column name of the import file. ColumnName *string `json:"columnName,omitempty"` // CustomFormatSpecifier - Custom format specifier for input parsing. CustomFormatSpecifier *string `json:"customFormatSpecifier,omitempty"` // IsEncrypted - Indicates if the column is encrypted. IsEncrypted *bool `json:"isEncrypted,omitempty"` }
ConnectorMappingStructure connector mapping property structure.
type ConnectorMappingsClient ¶
type ConnectorMappingsClient struct {
BaseClient
}
ConnectorMappingsClient is the the Azure Customer Insights management API provides a RESTful set of web services that interact with Azure Customer Insights service to manage your resources. The API has entities that capture the relationship between an end user and the Azure Customer Insights service.
func NewConnectorMappingsClient ¶
func NewConnectorMappingsClient(subscriptionID string) ConnectorMappingsClient
NewConnectorMappingsClient creates an instance of the ConnectorMappingsClient client.
func NewConnectorMappingsClientWithBaseURI ¶
func NewConnectorMappingsClientWithBaseURI(baseURI string, subscriptionID string) ConnectorMappingsClient
NewConnectorMappingsClientWithBaseURI creates an instance of the ConnectorMappingsClient client.
func (ConnectorMappingsClient) CreateOrUpdate ¶
func (client ConnectorMappingsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, hubName string, connectorName string, mappingName string, parameters ConnectorMappingResourceFormat) (result ConnectorMappingResourceFormat, err error)
CreateOrUpdate creates a connector mapping or updates an existing connector mapping in the connector.
resourceGroupName is the name of the resource group. hubName is the name of the hub. connectorName is the name of the connector. mappingName is the name of the connector mapping. parameters is parameters supplied to the CreateOrUpdate Connector Mapping operation.
func (ConnectorMappingsClient) CreateOrUpdatePreparer ¶
func (client ConnectorMappingsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, hubName string, connectorName string, mappingName string, parameters ConnectorMappingResourceFormat) (*http.Request, error)
CreateOrUpdatePreparer prepares the CreateOrUpdate request.
func (ConnectorMappingsClient) CreateOrUpdateResponder ¶
func (client ConnectorMappingsClient) CreateOrUpdateResponder(resp *http.Response) (result ConnectorMappingResourceFormat, err error)
CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.
func (ConnectorMappingsClient) CreateOrUpdateSender ¶
func (client ConnectorMappingsClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)
CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.
func (ConnectorMappingsClient) Delete ¶
func (client ConnectorMappingsClient) Delete(ctx context.Context, resourceGroupName string, hubName string, connectorName string, mappingName string) (result autorest.Response, err error)
Delete deletes a connector mapping in the connector.
resourceGroupName is the name of the resource group. hubName is the name of the hub. connectorName is the name of the connector. mappingName is the name of the connector mapping.
func (ConnectorMappingsClient) DeletePreparer ¶
func (client ConnectorMappingsClient) DeletePreparer(ctx context.Context, resourceGroupName string, hubName string, connectorName string, mappingName string) (*http.Request, error)
DeletePreparer prepares the Delete request.
func (ConnectorMappingsClient) DeleteResponder ¶
func (client ConnectorMappingsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.
func (ConnectorMappingsClient) DeleteSender ¶
DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.
func (ConnectorMappingsClient) Get ¶
func (client ConnectorMappingsClient) Get(ctx context.Context, resourceGroupName string, hubName string, connectorName string, mappingName string) (result ConnectorMappingResourceFormat, err error)
Get gets a connector mapping in the connector.
resourceGroupName is the name of the resource group. hubName is the name of the hub. connectorName is the name of the connector. mappingName is the name of the connector mapping.
func (ConnectorMappingsClient) GetPreparer ¶
func (client ConnectorMappingsClient) GetPreparer(ctx context.Context, resourceGroupName string, hubName string, connectorName string, mappingName string) (*http.Request, error)
GetPreparer prepares the Get request.
func (ConnectorMappingsClient) GetResponder ¶
func (client ConnectorMappingsClient) GetResponder(resp *http.Response) (result ConnectorMappingResourceFormat, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (ConnectorMappingsClient) GetSender ¶
GetSender sends the Get request. The method will close the http.Response Body if it receives an error.
func (ConnectorMappingsClient) ListByConnector ¶
func (client ConnectorMappingsClient) ListByConnector(ctx context.Context, resourceGroupName string, hubName string, connectorName string) (result ConnectorMappingListResultPage, err error)
ListByConnector gets all the connector mappings in the specified connector.
resourceGroupName is the name of the resource group. hubName is the name of the hub. connectorName is the name of the connector.
func (ConnectorMappingsClient) ListByConnectorComplete ¶
func (client ConnectorMappingsClient) ListByConnectorComplete(ctx context.Context, resourceGroupName string, hubName string, connectorName string) (result ConnectorMappingListResultIterator, err error)
ListByConnectorComplete enumerates all values, automatically crossing page boundaries as required.
func (ConnectorMappingsClient) ListByConnectorPreparer ¶
func (client ConnectorMappingsClient) ListByConnectorPreparer(ctx context.Context, resourceGroupName string, hubName string, connectorName string) (*http.Request, error)
ListByConnectorPreparer prepares the ListByConnector request.
func (ConnectorMappingsClient) ListByConnectorResponder ¶
func (client ConnectorMappingsClient) ListByConnectorResponder(resp *http.Response) (result ConnectorMappingListResult, err error)
ListByConnectorResponder handles the response to the ListByConnector request. The method always closes the http.Response Body.
func (ConnectorMappingsClient) ListByConnectorSender ¶
func (client ConnectorMappingsClient) ListByConnectorSender(req *http.Request) (*http.Response, error)
ListByConnectorSender sends the ListByConnector request. The method will close the http.Response Body if it receives an error.
type ConnectorResourceFormat ¶
type ConnectorResourceFormat struct { autorest.Response `json:"-"` *Connector `json:"properties,omitempty"` // ID - Resource ID. ID *string `json:"id,omitempty"` // Name - Resource name. Name *string `json:"name,omitempty"` // Type - Resource type. Type *string `json:"type,omitempty"` }
ConnectorResourceFormat the connector resource format.
func (*ConnectorResourceFormat) UnmarshalJSON ¶
func (crf *ConnectorResourceFormat) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for ConnectorResourceFormat struct.
type ConnectorStates ¶
type ConnectorStates string
ConnectorStates enumerates the values for connector states.
const ( // ConnectorStatesCreated ... ConnectorStatesCreated ConnectorStates = "Created" // ConnectorStatesCreating ... ConnectorStatesCreating ConnectorStates = "Creating" // ConnectorStatesDeleting ... ConnectorStatesDeleting ConnectorStates = "Deleting" // ConnectorStatesExpiring ... ConnectorStatesExpiring ConnectorStates = "Expiring" // ConnectorStatesFailed ... ConnectorStatesFailed ConnectorStates = "Failed" // ConnectorStatesReady ... ConnectorStatesReady ConnectorStates = "Ready" )
type ConnectorTypes ¶
type ConnectorTypes string
ConnectorTypes enumerates the values for connector types.
const ( // AzureBlob ... AzureBlob ConnectorTypes = "AzureBlob" // CRM ... CRM ConnectorTypes = "CRM" // ExchangeOnline ... ExchangeOnline ConnectorTypes = "ExchangeOnline" // None ... None ConnectorTypes = "None" // Outbound ... Outbound ConnectorTypes = "Outbound" // Salesforce ... Salesforce ConnectorTypes = "Salesforce" )
type ConnectorsClient ¶
type ConnectorsClient struct {
BaseClient
}
ConnectorsClient is the the Azure Customer Insights management API provides a RESTful set of web services that interact with Azure Customer Insights service to manage your resources. The API has entities that capture the relationship between an end user and the Azure Customer Insights service.
func NewConnectorsClient ¶
func NewConnectorsClient(subscriptionID string) ConnectorsClient
NewConnectorsClient creates an instance of the ConnectorsClient client.
func NewConnectorsClientWithBaseURI ¶
func NewConnectorsClientWithBaseURI(baseURI string, subscriptionID string) ConnectorsClient
NewConnectorsClientWithBaseURI creates an instance of the ConnectorsClient client.
func (ConnectorsClient) CreateOrUpdate ¶
func (client ConnectorsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, hubName string, connectorName string, parameters ConnectorResourceFormat) (result ConnectorsCreateOrUpdateFuture, err error)
CreateOrUpdate creates a connector or updates an existing connector in the hub.
resourceGroupName is the name of the resource group. hubName is the name of the hub. connectorName is the name of the connector. parameters is parameters supplied to the CreateOrUpdate Connector operation.
func (ConnectorsClient) CreateOrUpdatePreparer ¶
func (client ConnectorsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, hubName string, connectorName string, parameters ConnectorResourceFormat) (*http.Request, error)
CreateOrUpdatePreparer prepares the CreateOrUpdate request.
func (ConnectorsClient) CreateOrUpdateResponder ¶
func (client ConnectorsClient) CreateOrUpdateResponder(resp *http.Response) (result ConnectorResourceFormat, err error)
CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.
func (ConnectorsClient) CreateOrUpdateSender ¶
func (client ConnectorsClient) CreateOrUpdateSender(req *http.Request) (future ConnectorsCreateOrUpdateFuture, err error)
CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.
func (ConnectorsClient) Delete ¶
func (client ConnectorsClient) Delete(ctx context.Context, resourceGroupName string, hubName string, connectorName string) (result ConnectorsDeleteFuture, err error)
Delete deletes a connector in the hub.
resourceGroupName is the name of the resource group. hubName is the name of the hub. connectorName is the name of the connector.
func (ConnectorsClient) DeletePreparer ¶
func (client ConnectorsClient) DeletePreparer(ctx context.Context, resourceGroupName string, hubName string, connectorName string) (*http.Request, error)
DeletePreparer prepares the Delete request.
func (ConnectorsClient) DeleteResponder ¶
func (client ConnectorsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.
func (ConnectorsClient) DeleteSender ¶
func (client ConnectorsClient) DeleteSender(req *http.Request) (future ConnectorsDeleteFuture, err error)
DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.
func (ConnectorsClient) Get ¶
func (client ConnectorsClient) Get(ctx context.Context, resourceGroupName string, hubName string, connectorName string) (result ConnectorResourceFormat, err error)
Get gets a connector in the hub.
resourceGroupName is the name of the resource group. hubName is the name of the hub. connectorName is the name of the connector.
func (ConnectorsClient) GetPreparer ¶
func (client ConnectorsClient) GetPreparer(ctx context.Context, resourceGroupName string, hubName string, connectorName string) (*http.Request, error)
GetPreparer prepares the Get request.
func (ConnectorsClient) GetResponder ¶
func (client ConnectorsClient) GetResponder(resp *http.Response) (result ConnectorResourceFormat, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (ConnectorsClient) GetSender ¶
GetSender sends the Get request. The method will close the http.Response Body if it receives an error.
func (ConnectorsClient) ListByHub ¶
func (client ConnectorsClient) ListByHub(ctx context.Context, resourceGroupName string, hubName string) (result ConnectorListResultPage, err error)
ListByHub gets all the connectors in the specified hub.
resourceGroupName is the name of the resource group. hubName is the name of the hub.
func (ConnectorsClient) ListByHubComplete ¶
func (client ConnectorsClient) ListByHubComplete(ctx context.Context, resourceGroupName string, hubName string) (result ConnectorListResultIterator, err error)
ListByHubComplete enumerates all values, automatically crossing page boundaries as required.
func (ConnectorsClient) ListByHubPreparer ¶
func (client ConnectorsClient) ListByHubPreparer(ctx context.Context, resourceGroupName string, hubName string) (*http.Request, error)
ListByHubPreparer prepares the ListByHub request.
func (ConnectorsClient) ListByHubResponder ¶
func (client ConnectorsClient) ListByHubResponder(resp *http.Response) (result ConnectorListResult, err error)
ListByHubResponder handles the response to the ListByHub request. The method always closes the http.Response Body.
func (ConnectorsClient) ListByHubSender ¶
ListByHubSender sends the ListByHub request. The method will close the http.Response Body if it receives an error.
type ConnectorsCreateOrUpdateFuture ¶
type ConnectorsCreateOrUpdateFuture struct { azure.Future // contains filtered or unexported fields }
ConnectorsCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (ConnectorsCreateOrUpdateFuture) Result ¶
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 ¶
ConnectorsDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (ConnectorsDeleteFuture) Result ¶
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 ¶
type CrmConnectorEntities struct { // LogicalName - The logical name. LogicalName *string `json:"logicalName,omitempty"` // DisplayName - The display name. DisplayName *string `json:"displayName,omitempty"` // IsProfile - Indicating whether this is profile. IsProfile *bool `json:"isProfile,omitempty"` }
CrmConnectorEntities the CRM connector entities.
type CrmConnectorProperties ¶
type CrmConnectorProperties struct { // ConnectionString - The connection string. ConnectionString *string `json:"connectionString,omitempty"` // OrganizationID - The organization ID. OrganizationID *string `json:"organizationId,omitempty"` // OrganizationURL - The organization URL. OrganizationURL *string `json:"organizationUrl,omitempty"` // Entities - The entities like account, contact, opportunity. Entities *[]CrmConnectorEntities `json:"entities,omitempty"` // AccessToken - The access token. AccessToken *string `json:"accessToken,omitempty"` }
CrmConnectorProperties the CRM connector properties.
type DataSource ¶
type DataSource struct { // Name - The data source name Name *string `json:"name,omitempty"` // DataSourceType - The data source type. Possible values include: 'DataSourceTypeConnector', 'DataSourceTypeLinkInteraction', 'DataSourceTypeSystemDefault' DataSourceType DataSourceType `json:"dataSourceType,omitempty"` // Status - The data source status. Possible values include: 'StatusNone', 'StatusActive', 'StatusDeleted' Status Status `json:"status,omitempty"` // ID - The data source ID. ID *int32 `json:"id,omitempty"` // DataSourceReferenceID - 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 ¶
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) UnmarshalJSON ¶
func (dsp *DataSourcePrecedence) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for DataSourcePrecedence struct.
type DataSourceType ¶
type DataSourceType string
DataSourceType enumerates the values for data source type.
const ( // DataSourceTypeConnector ... DataSourceTypeConnector DataSourceType = "Connector" // DataSourceTypeLinkInteraction ... DataSourceTypeLinkInteraction DataSourceType = "LinkInteraction" // DataSourceTypeSystemDefault ... DataSourceTypeSystemDefault DataSourceType = "SystemDefault" )
type EnrichingKpi ¶
type EnrichingKpi struct { // EntityType - The mapping entity type. Possible values include: 'EntityTypesNone', 'EntityTypesProfile', 'EntityTypesInteraction', 'EntityTypesRelationship' EntityType EntityTypes `json:"entityType,omitempty"` // EntityTypeName - The mapping entity name. EntityTypeName *string `json:"entityTypeName,omitempty"` // TenantID - The hub name. TenantID *string `json:"tenantId,omitempty"` // KpiName - 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 - The KPI GroupByMetadata. GroupByMetadata *[]KpiGroupByMetadata `json:"groupByMetadata,omitempty"` // ParticipantProfilesMetadata - The participant profiles. ParticipantProfilesMetadata *[]KpiParticipantProfilesMetadata `json:"participantProfilesMetadata,omitempty"` // ProvisioningState - Provisioning state. Possible values include: 'ProvisioningStatesProvisioning', 'ProvisioningStatesSucceeded', 'ProvisioningStatesExpiring', 'ProvisioningStatesDeleting', 'ProvisioningStatesHumanIntervention', 'ProvisioningStatesFailed' ProvisioningState ProvisioningStates `json:"provisioningState,omitempty"` // ThresHolds - The KPI thresholds. ThresHolds *KpiThresholds `json:"thresHolds,omitempty"` // Aliases - The aliases. Aliases *[]KpiAlias `json:"aliases,omitempty"` // Extracts - The KPI extracts. Extracts *[]KpiExtract `json:"extracts,omitempty"` }
EnrichingKpi the enriching KPI definition.
func (EnrichingKpi) MarshalJSON ¶
func (ek EnrichingKpi) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for EnrichingKpi.
type EntityType ¶
type EntityType string
EntityType enumerates the values for entity type.
const ( // EntityTypeInteraction ... EntityTypeInteraction EntityType = "Interaction" // EntityTypeNone ... EntityTypeNone EntityType = "None" // EntityTypeProfile ... EntityTypeProfile EntityType = "Profile" // EntityTypeRelationship ... EntityTypeRelationship EntityType = "Relationship" )
type EntityTypeDefinition ¶
type EntityTypeDefinition struct { // APIEntitySetName - The api entity set name. This becomes the odata entity set name for the entity Type being refered 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 - The last changed time for the type definition. LastChangedUtc *date.Time `json:"lastChangedUtc,omitempty"` // ProvisioningState - 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 - The hub name. TenantID *string `json:"tenantId,omitempty"` // TimestampFieldName - The timestamp property name. Represents the time when the interaction or profile update happened. TimestampFieldName *string `json:"timestampFieldName,omitempty"` // TypeName - The name of the entity. TypeName *string `json:"typeName,omitempty"` // Attributes - The attributes for the Type. Attributes map[string][]string `json:"attributes"` // Description - Localized descriptions for the property. Description map[string]*string `json:"description"` // DisplayName - Localized display names for the property. DisplayName map[string]*string `json:"displayName"` // LocalizedAttributes - Any custom localized attributes for the Type. LocalizedAttributes map[string]map[string]*string `json:"localizedAttributes"` // SmallImage - Small Image associated with the Property or EntityType. SmallImage *string `json:"smallImage,omitempty"` // MediumImage - Medium Image associated with the Property or EntityType. MediumImage *string `json:"mediumImage,omitempty"` // LargeImage - Large Image associated with the Property or EntityType. LargeImage *string `json:"largeImage,omitempty"` }
EntityTypeDefinition describes an entity.
func (EntityTypeDefinition) MarshalJSON ¶
func (etd EntityTypeDefinition) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for EntityTypeDefinition.
type EntityTypes ¶
type EntityTypes string
EntityTypes enumerates the values for entity types.
const ( // EntityTypesInteraction ... EntityTypesInteraction EntityTypes = "Interaction" // EntityTypesNone ... EntityTypesNone EntityTypes = "None" // EntityTypesProfile ... EntityTypesProfile EntityTypes = "Profile" // EntityTypesRelationship ... EntityTypesRelationship EntityTypes = "Relationship" )
type ErrorManagementTypes ¶
type ErrorManagementTypes string
ErrorManagementTypes enumerates the values for error management types.
const ( // RejectAndContinue ... RejectAndContinue ErrorManagementTypes = "RejectAndContinue" // RejectUntilLimit ... RejectUntilLimit ErrorManagementTypes = "RejectUntilLimit" // StopImport ... StopImport ErrorManagementTypes = "StopImport" )
type FrequencyTypes ¶
type FrequencyTypes string
FrequencyTypes enumerates the values for frequency types.
const ( // FrequencyTypesDay ... FrequencyTypesDay FrequencyTypes = "Day" // FrequencyTypesHour ... FrequencyTypesHour FrequencyTypes = "Hour" // FrequencyTypesMinute ... FrequencyTypesMinute FrequencyTypes = "Minute" // FrequencyTypesMonth ... FrequencyTypesMonth FrequencyTypes = "Month" // FrequencyTypesWeek ... FrequencyTypesWeek FrequencyTypes = "Week" )
type GetImageUploadURLInput ¶
type GetImageUploadURLInput struct { // EntityType - Type of entity. Can be Profile or Interaction. EntityType *string `json:"entityType,omitempty"` // EntityTypeName - Name of the entity type. EntityTypeName *string `json:"entityTypeName,omitempty"` // RelativePath - Relative path of the image. RelativePath *string `json:"relativePath,omitempty"` }
GetImageUploadURLInput input type for getting image upload url.
type Hub ¶
type Hub struct { autorest.Response `json:"-"` *HubPropertiesFormat `json:"properties,omitempty"` // ID - Resource ID. ID *string `json:"id,omitempty"` // Name - Resource name. Name *string `json:"name,omitempty"` // Type - 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 ¶
MarshalJSON is the custom marshaler for Hub.
func (*Hub) UnmarshalJSON ¶
UnmarshalJSON is the custom unmarshaler for Hub struct.
type HubBillingInfoFormat ¶
type HubBillingInfoFormat struct { // SkuName - The sku name. SkuName *string `json:"skuName,omitempty"` // MinUnits - The minimum number of units will be billed. One unit is 10,000 Profiles and 100,000 Interactions. MinUnits *int32 `json:"minUnits,omitempty"` // MaxUnits - The maximum number of units can be used. One unit is 10,000 Profiles and 100,000 Interactions. MaxUnits *int32 `json:"maxUnits,omitempty"` }
HubBillingInfoFormat hub billing info.
type HubListResult ¶
type HubListResult struct { autorest.Response `json:"-"` // Value - Results of the list operation. Value *[]Hub `json:"value,omitempty"` // NextLink - Link for next set of results. NextLink *string `json:"nextLink,omitempty"` }
HubListResult response of list hub operation.
func (HubListResult) IsEmpty ¶
func (hlr HubListResult) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
type HubListResultIterator ¶
type HubListResultIterator struct {
// contains filtered or unexported fields
}
HubListResultIterator provides access to a complete listing of Hub values.
func (*HubListResultIterator) Next ¶
func (iter *HubListResultIterator) Next() error
Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.
func (HubListResultIterator) NotDone ¶
func (iter HubListResultIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (HubListResultIterator) Response ¶
func (iter HubListResultIterator) Response() HubListResult
Response returns the raw server response from the last page request.
func (HubListResultIterator) Value ¶
func (iter HubListResultIterator) Value() Hub
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
type HubListResultPage ¶
type HubListResultPage struct {
// contains filtered or unexported fields
}
HubListResultPage contains a page of Hub values.
func (*HubListResultPage) Next ¶
func (page *HubListResultPage) Next() error
Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.
func (HubListResultPage) NotDone ¶
func (page HubListResultPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (HubListResultPage) Response ¶
func (page HubListResultPage) Response() HubListResult
Response returns the raw server response from the last page request.
func (HubListResultPage) Values ¶
func (page HubListResultPage) Values() []Hub
Values returns the slice of values for the current page or nil if there are no values.
type HubPropertiesFormat ¶
type HubPropertiesFormat struct { // APIEndpoint - API endpoint URL of the hub. APIEndpoint *string `json:"apiEndpoint,omitempty"` // WebEndpoint - Web endpoint URL of the hub. WebEndpoint *string `json:"webEndpoint,omitempty"` // ProvisioningState - 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 ¶
type HubsClient struct {
BaseClient
}
HubsClient is the the Azure Customer Insights management API provides a RESTful set of web services that interact with Azure Customer Insights service to manage your resources. The API has entities that capture the relationship between an end user and the Azure Customer Insights service.
func NewHubsClient ¶
func NewHubsClient(subscriptionID string) HubsClient
NewHubsClient creates an instance of the HubsClient client.
func NewHubsClientWithBaseURI ¶
func NewHubsClientWithBaseURI(baseURI string, subscriptionID string) HubsClient
NewHubsClientWithBaseURI creates an instance of the HubsClient client.
func (HubsClient) CreateOrUpdate ¶
func (client HubsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, hubName string, parameters Hub) (result Hub, err error)
CreateOrUpdate creates a hub, or updates an existing hub.
resourceGroupName is the name of the resource group. hubName is the name of the Hub. parameters is parameters supplied to the CreateOrUpdate Hub operation.
func (HubsClient) CreateOrUpdatePreparer ¶
func (client HubsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, hubName string, parameters Hub) (*http.Request, error)
CreateOrUpdatePreparer prepares the CreateOrUpdate request.
func (HubsClient) CreateOrUpdateResponder ¶
func (client HubsClient) CreateOrUpdateResponder(resp *http.Response) (result Hub, err error)
CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.
func (HubsClient) CreateOrUpdateSender ¶
CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.
func (HubsClient) Delete ¶
func (client HubsClient) Delete(ctx context.Context, resourceGroupName string, hubName string) (result HubsDeleteFuture, err error)
Delete deletes the specified hub.
resourceGroupName is the name of the resource group. hubName is the name of the hub.
func (HubsClient) DeletePreparer ¶
func (client HubsClient) DeletePreparer(ctx context.Context, resourceGroupName string, hubName string) (*http.Request, error)
DeletePreparer prepares the Delete request.
func (HubsClient) DeleteResponder ¶
DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.
func (HubsClient) DeleteSender ¶
func (client HubsClient) DeleteSender(req *http.Request) (future HubsDeleteFuture, err error)
DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.
func (HubsClient) Get ¶
func (client HubsClient) Get(ctx context.Context, resourceGroupName string, hubName string) (result Hub, err error)
Get gets information about the specified hub.
resourceGroupName is the name of the resource group. hubName is the name of the hub.
func (HubsClient) GetPreparer ¶
func (client HubsClient) GetPreparer(ctx context.Context, resourceGroupName string, hubName string) (*http.Request, error)
GetPreparer prepares the Get request.
func (HubsClient) GetResponder ¶
func (client HubsClient) GetResponder(resp *http.Response) (result Hub, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (HubsClient) GetSender ¶
GetSender sends the Get request. The method will close the http.Response Body if it receives an error.
func (HubsClient) List ¶
func (client HubsClient) List(ctx context.Context) (result HubListResultPage, err error)
List gets all hubs in the specified subscription.
func (HubsClient) ListByResourceGroup ¶
func (client HubsClient) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result HubListResultPage, err error)
ListByResourceGroup gets all the hubs in a resource group.
resourceGroupName is the name of the resource group.
func (HubsClient) ListByResourceGroupComplete ¶
func (client HubsClient) ListByResourceGroupComplete(ctx context.Context, resourceGroupName string) (result HubListResultIterator, err error)
ListByResourceGroupComplete enumerates all values, automatically crossing page boundaries as required.
func (HubsClient) ListByResourceGroupPreparer ¶
func (client HubsClient) ListByResourceGroupPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error)
ListByResourceGroupPreparer prepares the ListByResourceGroup request.
func (HubsClient) ListByResourceGroupResponder ¶
func (client HubsClient) ListByResourceGroupResponder(resp *http.Response) (result HubListResult, err error)
ListByResourceGroupResponder handles the response to the ListByResourceGroup request. The method always closes the http.Response Body.
func (HubsClient) ListByResourceGroupSender ¶
ListByResourceGroupSender sends the ListByResourceGroup request. The method will close the http.Response Body if it receives an error.
func (HubsClient) ListComplete ¶
func (client HubsClient) ListComplete(ctx context.Context) (result HubListResultIterator, err error)
ListComplete enumerates all values, automatically crossing page boundaries as required.
func (HubsClient) ListPreparer ¶
ListPreparer prepares the List request.
func (HubsClient) ListResponder ¶
func (client HubsClient) ListResponder(resp *http.Response) (result HubListResult, err error)
ListResponder handles the response to the List request. The method always closes the http.Response Body.
func (HubsClient) ListSender ¶
ListSender sends the List request. The method will close the http.Response Body if it receives an error.
func (HubsClient) Update ¶
func (client HubsClient) Update(ctx context.Context, resourceGroupName string, hubName string, parameters Hub) (result Hub, err error)
Update updates a Hub.
resourceGroupName is the name of the resource group. hubName is the name of the Hub. parameters is parameters supplied to the Update Hub operation.
func (HubsClient) UpdatePreparer ¶
func (client HubsClient) UpdatePreparer(ctx context.Context, resourceGroupName string, hubName string, parameters Hub) (*http.Request, error)
UpdatePreparer prepares the Update request.
func (HubsClient) UpdateResponder ¶
func (client HubsClient) UpdateResponder(resp *http.Response) (result Hub, err error)
UpdateResponder handles the response to the Update request. The method always closes the http.Response Body.
func (HubsClient) UpdateSender ¶
UpdateSender sends the Update request. The method will close the http.Response Body if it receives an error.
type HubsDeleteFuture ¶
HubsDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (HubsDeleteFuture) Result ¶
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 ¶
type ImageDefinition struct { autorest.Response `json:"-"` // ImageExists - Whether image exists already. ImageExists *bool `json:"imageExists,omitempty"` // ContentURL - Content URL for the image blob. ContentURL *string `json:"contentUrl,omitempty"` // RelativePath - Relative path of the image. RelativePath *string `json:"relativePath,omitempty"` }
ImageDefinition the image definition.
type ImagesClient ¶
type ImagesClient struct {
BaseClient
}
ImagesClient is the the Azure Customer Insights management API provides a RESTful set of web services that interact with Azure Customer Insights service to manage your resources. The API has entities that capture the relationship between an end user and the Azure Customer Insights service.
func NewImagesClient ¶
func NewImagesClient(subscriptionID string) ImagesClient
NewImagesClient creates an instance of the ImagesClient client.
func NewImagesClientWithBaseURI ¶
func NewImagesClientWithBaseURI(baseURI string, subscriptionID string) ImagesClient
NewImagesClientWithBaseURI creates an instance of the ImagesClient client.
func (ImagesClient) GetUploadURLForData ¶
func (client ImagesClient) GetUploadURLForData(ctx context.Context, resourceGroupName string, hubName string, parameters GetImageUploadURLInput) (result ImageDefinition, err error)
GetUploadURLForData gets data image upload URL.
resourceGroupName is the name of the resource group. hubName is the name of the hub. parameters is parameters supplied to the GetUploadUrlForData operation.
func (ImagesClient) GetUploadURLForDataPreparer ¶
func (client ImagesClient) GetUploadURLForDataPreparer(ctx context.Context, resourceGroupName string, hubName string, parameters GetImageUploadURLInput) (*http.Request, error)
GetUploadURLForDataPreparer prepares the GetUploadURLForData request.
func (ImagesClient) GetUploadURLForDataResponder ¶
func (client ImagesClient) GetUploadURLForDataResponder(resp *http.Response) (result ImageDefinition, err error)
GetUploadURLForDataResponder handles the response to the GetUploadURLForData request. The method always closes the http.Response Body.
func (ImagesClient) GetUploadURLForDataSender ¶
GetUploadURLForDataSender sends the GetUploadURLForData request. The method will close the http.Response Body if it receives an error.
func (ImagesClient) GetUploadURLForEntityType ¶
func (client ImagesClient) GetUploadURLForEntityType(ctx context.Context, resourceGroupName string, hubName string, parameters GetImageUploadURLInput) (result ImageDefinition, err error)
GetUploadURLForEntityType gets entity type (profile or interaction) image upload URL.
resourceGroupName is the name of the resource group. hubName is the name of the hub. parameters is parameters supplied to the GetUploadUrlForEntityType operation.
func (ImagesClient) GetUploadURLForEntityTypePreparer ¶
func (client ImagesClient) GetUploadURLForEntityTypePreparer(ctx context.Context, resourceGroupName string, hubName string, parameters GetImageUploadURLInput) (*http.Request, error)
GetUploadURLForEntityTypePreparer prepares the GetUploadURLForEntityType request.
func (ImagesClient) GetUploadURLForEntityTypeResponder ¶
func (client ImagesClient) GetUploadURLForEntityTypeResponder(resp *http.Response) (result ImageDefinition, err error)
GetUploadURLForEntityTypeResponder handles the response to the GetUploadURLForEntityType request. The method always closes the http.Response Body.
func (ImagesClient) GetUploadURLForEntityTypeSender ¶
func (client ImagesClient) GetUploadURLForEntityTypeSender(req *http.Request) (*http.Response, error)
GetUploadURLForEntityTypeSender sends the GetUploadURLForEntityType request. The method will close the http.Response Body if it receives an error.
type InstanceOperationType ¶
type InstanceOperationType string
InstanceOperationType enumerates the values for instance operation type.
const ( // Delete ... Delete InstanceOperationType = "Delete" // Upsert ... Upsert InstanceOperationType = "Upsert" )
type InteractionListResult ¶
type InteractionListResult struct { autorest.Response `json:"-"` // Value - Results of the list operation. Value *[]InteractionResourceFormat `json:"value,omitempty"` // NextLink - Link to the next set of results. NextLink *string `json:"nextLink,omitempty"` }
InteractionListResult the response of list interaction operation.
func (InteractionListResult) IsEmpty ¶
func (ilr InteractionListResult) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
type InteractionListResultIterator ¶
type InteractionListResultIterator struct {
// contains filtered or unexported fields
}
InteractionListResultIterator provides access to a complete listing of InteractionResourceFormat values.
func (*InteractionListResultIterator) Next ¶
func (iter *InteractionListResultIterator) Next() error
Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.
func (InteractionListResultIterator) NotDone ¶
func (iter InteractionListResultIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (InteractionListResultIterator) Response ¶
func (iter InteractionListResultIterator) Response() InteractionListResult
Response returns the raw server response from the last page request.
func (InteractionListResultIterator) Value ¶
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 ¶
type InteractionListResultPage struct {
// contains filtered or unexported fields
}
InteractionListResultPage contains a page of InteractionResourceFormat values.
func (*InteractionListResultPage) Next ¶
func (page *InteractionListResultPage) Next() error
Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.
func (InteractionListResultPage) NotDone ¶
func (page InteractionListResultPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (InteractionListResultPage) Response ¶
func (page InteractionListResultPage) Response() InteractionListResult
Response returns the raw server response from the last page request.
func (InteractionListResultPage) Values ¶
func (page InteractionListResultPage) Values() []InteractionResourceFormat
Values returns the slice of values for the current page or nil if there are no values.
type InteractionResourceFormat ¶
type InteractionResourceFormat struct { autorest.Response `json:"-"` *InteractionTypeDefinition `json:"properties,omitempty"` // ID - Resource ID. ID *string `json:"id,omitempty"` // Name - Resource name. Name *string `json:"name,omitempty"` // Type - Resource type. Type *string `json:"type,omitempty"` }
InteractionResourceFormat the interaction resource format.
func (*InteractionResourceFormat) UnmarshalJSON ¶
func (irf *InteractionResourceFormat) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for InteractionResourceFormat struct.
type InteractionTypeDefinition ¶
type InteractionTypeDefinition struct { // IDPropertyNames - The id property names. Properties which uniquely identify an interaction instance. IDPropertyNames *[]string `json:"idPropertyNames,omitempty"` // ParticipantProfiles - Profiles that participated in the interaction. ParticipantProfiles *[]Participant `json:"participantProfiles,omitempty"` // PrimaryParticipantProfilePropertyName - The primary participant property name for an interaction ,This is used to logically represent the agent of the interaction, Specify the participant name here from ParticipantName. PrimaryParticipantProfilePropertyName *string `json:"primaryParticipantProfilePropertyName,omitempty"` // DataSourcePrecedenceRules - 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 refered 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 - The last changed time for the type definition. LastChangedUtc *date.Time `json:"lastChangedUtc,omitempty"` // ProvisioningState - 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 - The hub name. TenantID *string `json:"tenantId,omitempty"` // TimestampFieldName - The timestamp property name. Represents the time when the interaction or profile update happened. TimestampFieldName *string `json:"timestampFieldName,omitempty"` // TypeName - The name of the entity. TypeName *string `json:"typeName,omitempty"` // Attributes - The attributes for the Type. Attributes map[string][]string `json:"attributes"` // Description - Localized descriptions for the property. Description map[string]*string `json:"description"` // DisplayName - Localized display names for the property. DisplayName map[string]*string `json:"displayName"` // LocalizedAttributes - Any custom localized attributes for the Type. LocalizedAttributes map[string]map[string]*string `json:"localizedAttributes"` // SmallImage - Small Image associated with the Property or EntityType. SmallImage *string `json:"smallImage,omitempty"` // MediumImage - Medium Image associated with the Property or EntityType. MediumImage *string `json:"mediumImage,omitempty"` // LargeImage - Large Image associated with the Property or EntityType. LargeImage *string `json:"largeImage,omitempty"` }
InteractionTypeDefinition the Interaction Type Definition
func (InteractionTypeDefinition) MarshalJSON ¶
func (itd InteractionTypeDefinition) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for InteractionTypeDefinition.
func (*InteractionTypeDefinition) UnmarshalJSON ¶
func (itd *InteractionTypeDefinition) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for InteractionTypeDefinition struct.
type InteractionsClient ¶
type InteractionsClient struct {
BaseClient
}
InteractionsClient is the the Azure Customer Insights management API provides a RESTful set of web services that interact with Azure Customer Insights service to manage your resources. The API has entities that capture the relationship between an end user and the Azure Customer Insights service.
func NewInteractionsClient ¶
func NewInteractionsClient(subscriptionID string) InteractionsClient
NewInteractionsClient creates an instance of the InteractionsClient client.
func NewInteractionsClientWithBaseURI ¶
func NewInteractionsClientWithBaseURI(baseURI string, subscriptionID string) InteractionsClient
NewInteractionsClientWithBaseURI creates an instance of the InteractionsClient client.
func (InteractionsClient) CreateOrUpdate ¶
func (client InteractionsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, hubName string, interactionName string, parameters InteractionResourceFormat) (result InteractionsCreateOrUpdateFuture, err error)
CreateOrUpdate creates an interaction or updates an existing interaction within a hub.
resourceGroupName is the name of the resource group. hubName is the name of the hub. interactionName is the name of the interaction. parameters is parameters supplied to the CreateOrUpdate Interaction operation.
func (InteractionsClient) CreateOrUpdatePreparer ¶
func (client InteractionsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, hubName string, interactionName string, parameters InteractionResourceFormat) (*http.Request, error)
CreateOrUpdatePreparer prepares the CreateOrUpdate request.
func (InteractionsClient) CreateOrUpdateResponder ¶
func (client InteractionsClient) CreateOrUpdateResponder(resp *http.Response) (result InteractionResourceFormat, err error)
CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.
func (InteractionsClient) CreateOrUpdateSender ¶
func (client InteractionsClient) CreateOrUpdateSender(req *http.Request) (future InteractionsCreateOrUpdateFuture, err error)
CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.
func (InteractionsClient) Get ¶
func (client InteractionsClient) Get(ctx context.Context, resourceGroupName string, hubName string, interactionName string, localeCode string) (result InteractionResourceFormat, err error)
Get gets information about the specified interaction.
resourceGroupName is the name of the resource group. hubName is the name of the hub. interactionName is the name of the interaction. localeCode is locale of interaction to retrieve, default is en-us.
func (InteractionsClient) GetPreparer ¶
func (client InteractionsClient) GetPreparer(ctx context.Context, resourceGroupName string, hubName string, interactionName string, localeCode string) (*http.Request, error)
GetPreparer prepares the Get request.
func (InteractionsClient) GetResponder ¶
func (client InteractionsClient) GetResponder(resp *http.Response) (result InteractionResourceFormat, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (InteractionsClient) GetSender ¶
GetSender sends the Get request. The method will close the http.Response Body if it receives an error.
func (InteractionsClient) ListByHub ¶
func (client InteractionsClient) ListByHub(ctx context.Context, resourceGroupName string, hubName string, localeCode string) (result InteractionListResultPage, err error)
ListByHub gets all interactions in the hub.
resourceGroupName is the name of the resource group. hubName is the name of the hub. localeCode is locale of interaction to retrieve, default is en-us.
func (InteractionsClient) ListByHubComplete ¶
func (client InteractionsClient) ListByHubComplete(ctx context.Context, resourceGroupName string, hubName string, localeCode string) (result InteractionListResultIterator, err error)
ListByHubComplete enumerates all values, automatically crossing page boundaries as required.
func (InteractionsClient) ListByHubPreparer ¶
func (client InteractionsClient) ListByHubPreparer(ctx context.Context, resourceGroupName string, hubName string, localeCode string) (*http.Request, error)
ListByHubPreparer prepares the ListByHub request.
func (InteractionsClient) ListByHubResponder ¶
func (client InteractionsClient) ListByHubResponder(resp *http.Response) (result InteractionListResult, err error)
ListByHubResponder handles the response to the ListByHub request. The method always closes the http.Response Body.
func (InteractionsClient) ListByHubSender ¶
ListByHubSender sends the ListByHub request. The method will close the http.Response Body if it receives an error.
func (InteractionsClient) SuggestRelationshipLinks ¶
func (client InteractionsClient) SuggestRelationshipLinks(ctx context.Context, resourceGroupName string, hubName string, interactionName string) (result SuggestRelationshipLinksResponse, err error)
SuggestRelationshipLinks suggests relationships to create relationship links.
resourceGroupName is the name of the resource group. hubName is the name of the hub. interactionName is the name of the interaction.
func (InteractionsClient) SuggestRelationshipLinksPreparer ¶
func (client InteractionsClient) SuggestRelationshipLinksPreparer(ctx context.Context, resourceGroupName string, hubName string, interactionName string) (*http.Request, error)
SuggestRelationshipLinksPreparer prepares the SuggestRelationshipLinks request.
func (InteractionsClient) SuggestRelationshipLinksResponder ¶
func (client InteractionsClient) SuggestRelationshipLinksResponder(resp *http.Response) (result SuggestRelationshipLinksResponse, err error)
SuggestRelationshipLinksResponder handles the response to the SuggestRelationshipLinks request. The method always closes the http.Response Body.
func (InteractionsClient) SuggestRelationshipLinksSender ¶
func (client InteractionsClient) SuggestRelationshipLinksSender(req *http.Request) (*http.Response, error)
SuggestRelationshipLinksSender sends the SuggestRelationshipLinks request. The method will close the http.Response Body if it receives an error.
type InteractionsCreateOrUpdateFuture ¶
type InteractionsCreateOrUpdateFuture struct { azure.Future // contains filtered or unexported fields }
InteractionsCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (InteractionsCreateOrUpdateFuture) Result ¶
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 ¶
type KpiAlias struct { // AliasName - KPI alias name. AliasName *string `json:"aliasName,omitempty"` // Expression - The expression. Expression *string `json:"expression,omitempty"` }
KpiAlias the KPI alias.
type KpiClient ¶
type KpiClient struct {
BaseClient
}
KpiClient is the the Azure Customer Insights management API provides a RESTful set of web services that interact with Azure Customer Insights service to manage your resources. The API has entities that capture the relationship between an end user and the Azure Customer Insights service.
func NewKpiClient ¶
NewKpiClient creates an instance of the KpiClient client.
func NewKpiClientWithBaseURI ¶
NewKpiClientWithBaseURI creates an instance of the KpiClient client.
func (KpiClient) CreateOrUpdate ¶
func (client KpiClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, hubName string, kpiName string, parameters KpiResourceFormat) (result KpiCreateOrUpdateFuture, err error)
CreateOrUpdate creates a KPI or updates an existing KPI in the hub.
resourceGroupName is the name of the resource group. hubName is the name of the hub. kpiName is the name of the KPI. parameters is parameters supplied to the create/update KPI operation.
func (KpiClient) CreateOrUpdatePreparer ¶
func (client KpiClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, hubName string, kpiName string, parameters KpiResourceFormat) (*http.Request, error)
CreateOrUpdatePreparer prepares the CreateOrUpdate request.
func (KpiClient) CreateOrUpdateResponder ¶
func (client KpiClient) CreateOrUpdateResponder(resp *http.Response) (result KpiResourceFormat, err error)
CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.
func (KpiClient) CreateOrUpdateSender ¶
func (client KpiClient) CreateOrUpdateSender(req *http.Request) (future KpiCreateOrUpdateFuture, err error)
CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.
func (KpiClient) Delete ¶
func (client KpiClient) Delete(ctx context.Context, resourceGroupName string, hubName string, kpiName string) (result KpiDeleteFuture, err error)
Delete deletes a KPI in the hub.
resourceGroupName is the name of the resource group. hubName is the name of the hub. kpiName is the name of the KPI.
func (KpiClient) DeletePreparer ¶
func (client KpiClient) DeletePreparer(ctx context.Context, resourceGroupName string, hubName string, kpiName string) (*http.Request, error)
DeletePreparer prepares the Delete request.
func (KpiClient) DeleteResponder ¶
DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.
func (KpiClient) DeleteSender ¶
func (client KpiClient) DeleteSender(req *http.Request) (future KpiDeleteFuture, err error)
DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.
func (KpiClient) Get ¶
func (client KpiClient) Get(ctx context.Context, resourceGroupName string, hubName string, kpiName string) (result KpiResourceFormat, err error)
Get gets a KPI in the hub.
resourceGroupName is the name of the resource group. hubName is the name of the hub. kpiName is the name of the KPI.
func (KpiClient) GetPreparer ¶
func (client KpiClient) GetPreparer(ctx context.Context, resourceGroupName string, hubName string, kpiName string) (*http.Request, error)
GetPreparer prepares the Get request.
func (KpiClient) GetResponder ¶
func (client KpiClient) GetResponder(resp *http.Response) (result KpiResourceFormat, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (KpiClient) GetSender ¶
GetSender sends the Get request. The method will close the http.Response Body if it receives an error.
func (KpiClient) ListByHub ¶
func (client KpiClient) ListByHub(ctx context.Context, resourceGroupName string, hubName string) (result KpiListResultPage, err error)
ListByHub gets all the KPIs in the specified hub.
resourceGroupName is the name of the resource group. hubName is the name of the hub.
func (KpiClient) ListByHubComplete ¶
func (client KpiClient) ListByHubComplete(ctx context.Context, resourceGroupName string, hubName string) (result KpiListResultIterator, err error)
ListByHubComplete enumerates all values, automatically crossing page boundaries as required.
func (KpiClient) ListByHubPreparer ¶
func (client KpiClient) ListByHubPreparer(ctx context.Context, resourceGroupName string, hubName string) (*http.Request, error)
ListByHubPreparer prepares the ListByHub request.
func (KpiClient) ListByHubResponder ¶
func (client KpiClient) ListByHubResponder(resp *http.Response) (result KpiListResult, err error)
ListByHubResponder handles the response to the ListByHub request. The method always closes the http.Response Body.
func (KpiClient) ListByHubSender ¶
ListByHubSender sends the ListByHub request. The method will close the http.Response Body if it receives an error.
func (KpiClient) Reprocess ¶
func (client KpiClient) Reprocess(ctx context.Context, resourceGroupName string, hubName string, kpiName string) (result autorest.Response, err error)
Reprocess reprocesses the Kpi values of the specified KPI.
resourceGroupName is the name of the resource group. hubName is the name of the hub. kpiName is the name of the KPI.
func (KpiClient) ReprocessPreparer ¶
func (client KpiClient) ReprocessPreparer(ctx context.Context, resourceGroupName string, hubName string, kpiName string) (*http.Request, error)
ReprocessPreparer prepares the Reprocess request.
type KpiCreateOrUpdateFuture ¶
KpiCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (KpiCreateOrUpdateFuture) Result ¶
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 ¶
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 - The hub name. TenantID *string `json:"tenantId,omitempty"` // KpiName - 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 - The KPI GroupByMetadata. GroupByMetadata *[]KpiGroupByMetadata `json:"groupByMetadata,omitempty"` // ParticipantProfilesMetadata - The participant profiles. ParticipantProfilesMetadata *[]KpiParticipantProfilesMetadata `json:"participantProfilesMetadata,omitempty"` // ProvisioningState - Provisioning state. Possible values include: 'ProvisioningStatesProvisioning', 'ProvisioningStatesSucceeded', 'ProvisioningStatesExpiring', 'ProvisioningStatesDeleting', 'ProvisioningStatesHumanIntervention', 'ProvisioningStatesFailed' ProvisioningState ProvisioningStates `json:"provisioningState,omitempty"` // ThresHolds - The KPI thresholds. ThresHolds *KpiThresholds `json:"thresHolds,omitempty"` // Aliases - The aliases. Aliases *[]KpiAlias `json:"aliases,omitempty"` // Extracts - The KPI extracts. Extracts *[]KpiExtract `json:"extracts,omitempty"` }
KpiDefinition defines the KPI Threshold limits.
func (KpiDefinition) MarshalJSON ¶
func (kd KpiDefinition) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for KpiDefinition.
type KpiDeleteFuture ¶
KpiDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.
type KpiExtract ¶
type KpiExtract struct { // ExtractName - KPI extract name. ExtractName *string `json:"extractName,omitempty"` // Expression - The expression. Expression *string `json:"expression,omitempty"` }
KpiExtract the KPI extract.
type KpiFunctions ¶
type KpiFunctions string
KpiFunctions enumerates the values for kpi functions.
const ( // KpiFunctionsAvg ... KpiFunctionsAvg KpiFunctions = "Avg" // KpiFunctionsCount ... KpiFunctionsCount KpiFunctions = "Count" // KpiFunctionsCountDistinct ... KpiFunctionsCountDistinct KpiFunctions = "CountDistinct" // KpiFunctionsLast ... KpiFunctionsLast KpiFunctions = "Last" // KpiFunctionsMax ... KpiFunctionsMax KpiFunctions = "Max" // KpiFunctionsMin ... KpiFunctionsMin KpiFunctions = "Min" // KpiFunctionsNone ... KpiFunctionsNone KpiFunctions = "None" // KpiFunctionsSum ... KpiFunctionsSum KpiFunctions = "Sum" )
type KpiGroupByMetadata ¶
type KpiGroupByMetadata struct { // DisplayName - The display name. DisplayName map[string]*string `json:"displayName"` // FieldName - The name of the field. FieldName *string `json:"fieldName,omitempty"` // FieldType - The type of the field. FieldType *string `json:"fieldType,omitempty"` }
KpiGroupByMetadata the KPI GroupBy field metadata.
func (KpiGroupByMetadata) MarshalJSON ¶
func (kgbm KpiGroupByMetadata) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for KpiGroupByMetadata.
type KpiListResult ¶
type KpiListResult struct { autorest.Response `json:"-"` // Value - Results of the list operation. Value *[]KpiResourceFormat `json:"value,omitempty"` // NextLink - Link to the next set of results. NextLink *string `json:"nextLink,omitempty"` }
KpiListResult the response of list KPI operation.
func (KpiListResult) IsEmpty ¶
func (klr KpiListResult) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
type KpiListResultIterator ¶
type KpiListResultIterator struct {
// contains filtered or unexported fields
}
KpiListResultIterator provides access to a complete listing of KpiResourceFormat values.
func (*KpiListResultIterator) Next ¶
func (iter *KpiListResultIterator) Next() error
Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.
func (KpiListResultIterator) NotDone ¶
func (iter KpiListResultIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (KpiListResultIterator) Response ¶
func (iter KpiListResultIterator) Response() KpiListResult
Response returns the raw server response from the last page request.
func (KpiListResultIterator) Value ¶
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 ¶
type KpiListResultPage struct {
// contains filtered or unexported fields
}
KpiListResultPage contains a page of KpiResourceFormat values.
func (*KpiListResultPage) Next ¶
func (page *KpiListResultPage) Next() error
Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.
func (KpiListResultPage) NotDone ¶
func (page KpiListResultPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (KpiListResultPage) Response ¶
func (page KpiListResultPage) Response() KpiListResult
Response returns the raw server response from the last page request.
func (KpiListResultPage) Values ¶
func (page KpiListResultPage) Values() []KpiResourceFormat
Values returns the slice of values for the current page or nil if there are no values.
type KpiParticipantProfilesMetadata ¶
type KpiParticipantProfilesMetadata struct { // TypeName - Name of the type. TypeName *string `json:"typeName,omitempty"` }
KpiParticipantProfilesMetadata the KPI participant profile metadata.
type KpiResourceFormat ¶
type KpiResourceFormat struct { autorest.Response `json:"-"` *KpiDefinition `json:"properties,omitempty"` // ID - Resource ID. ID *string `json:"id,omitempty"` // Name - Resource name. Name *string `json:"name,omitempty"` // Type - Resource type. Type *string `json:"type,omitempty"` }
KpiResourceFormat the KPI resource format.
func (*KpiResourceFormat) UnmarshalJSON ¶
func (krf *KpiResourceFormat) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for KpiResourceFormat struct.
type KpiThresholds ¶
type KpiThresholds struct { // LowerLimit - The lower threshold limit. LowerLimit *decimal.Decimal `json:"lowerLimit,omitempty"` // UpperLimit - The upper threshold limit. UpperLimit *decimal.Decimal `json:"upperLimit,omitempty"` // IncreasingKpi - Whether or not the KPI is an increasing KPI. IncreasingKpi *bool `json:"increasingKpi,omitempty"` }
KpiThresholds defines the KPI Threshold limits.
type LinkDefinition ¶
type LinkDefinition struct { // TenantID - The hub name. TenantID *string `json:"tenantId,omitempty"` // LinkName - 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 - 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 ingored if the Mappings are defined. If the mappings are not defined and it is set to true, links processing will not create or update profiles. ReferenceOnly *bool `json:"referenceOnly,omitempty"` // OperationType - Determines whether this link is supposed to create or delete instances if Link is NOT Reference Only. Possible values include: 'Upsert', 'Delete' OperationType InstanceOperationType `json:"operationType,omitempty"` }
LinkDefinition the definition of Link.
func (LinkDefinition) MarshalJSON ¶
func (ld LinkDefinition) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for LinkDefinition.
type LinkListResult ¶
type LinkListResult struct { autorest.Response `json:"-"` // Value - Results of the list operation. Value *[]LinkResourceFormat `json:"value,omitempty"` // NextLink - Link to the next set of results. NextLink *string `json:"nextLink,omitempty"` }
LinkListResult the response of list link operation.
func (LinkListResult) IsEmpty ¶
func (llr LinkListResult) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
type LinkListResultIterator ¶
type LinkListResultIterator struct {
// contains filtered or unexported fields
}
LinkListResultIterator provides access to a complete listing of LinkResourceFormat values.
func (*LinkListResultIterator) Next ¶
func (iter *LinkListResultIterator) Next() error
Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.
func (LinkListResultIterator) NotDone ¶
func (iter LinkListResultIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (LinkListResultIterator) Response ¶
func (iter LinkListResultIterator) Response() LinkListResult
Response returns the raw server response from the last page request.
func (LinkListResultIterator) Value ¶
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 ¶
type LinkListResultPage struct {
// contains filtered or unexported fields
}
LinkListResultPage contains a page of LinkResourceFormat values.
func (*LinkListResultPage) Next ¶
func (page *LinkListResultPage) Next() error
Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.
func (LinkListResultPage) NotDone ¶
func (page LinkListResultPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (LinkListResultPage) Response ¶
func (page LinkListResultPage) Response() LinkListResult
Response returns the raw server response from the last page request.
func (LinkListResultPage) Values ¶
func (page LinkListResultPage) Values() []LinkResourceFormat
Values returns the slice of values for the current page or nil if there are no values.
type LinkResourceFormat ¶
type LinkResourceFormat struct { autorest.Response `json:"-"` *LinkDefinition `json:"properties,omitempty"` // ID - Resource ID. ID *string `json:"id,omitempty"` // Name - Resource name. Name *string `json:"name,omitempty"` // Type - Resource type. Type *string `json:"type,omitempty"` }
LinkResourceFormat the link resource format.
func (*LinkResourceFormat) UnmarshalJSON ¶
func (lrf *LinkResourceFormat) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for LinkResourceFormat struct.
type LinksClient ¶
type LinksClient struct {
BaseClient
}
LinksClient is the the Azure Customer Insights management API provides a RESTful set of web services that interact with Azure Customer Insights service to manage your resources. The API has entities that capture the relationship between an end user and the Azure Customer Insights service.
func NewLinksClient ¶
func NewLinksClient(subscriptionID string) LinksClient
NewLinksClient creates an instance of the LinksClient client.
func NewLinksClientWithBaseURI ¶
func NewLinksClientWithBaseURI(baseURI string, subscriptionID string) LinksClient
NewLinksClientWithBaseURI creates an instance of the LinksClient client.
func (LinksClient) CreateOrUpdate ¶
func (client LinksClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, hubName string, linkName string, parameters LinkResourceFormat) (result LinksCreateOrUpdateFuture, err error)
CreateOrUpdate creates a link or updates an existing link in the hub.
resourceGroupName is the name of the resource group. hubName is the name of the hub. linkName is the name of the link. parameters is parameters supplied to the CreateOrUpdate Link operation.
func (LinksClient) CreateOrUpdatePreparer ¶
func (client LinksClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, hubName string, linkName string, parameters LinkResourceFormat) (*http.Request, error)
CreateOrUpdatePreparer prepares the CreateOrUpdate request.
func (LinksClient) CreateOrUpdateResponder ¶
func (client LinksClient) CreateOrUpdateResponder(resp *http.Response) (result LinkResourceFormat, err error)
CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.
func (LinksClient) CreateOrUpdateSender ¶
func (client LinksClient) CreateOrUpdateSender(req *http.Request) (future LinksCreateOrUpdateFuture, err error)
CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.
func (LinksClient) Delete ¶
func (client LinksClient) Delete(ctx context.Context, resourceGroupName string, hubName string, linkName string) (result autorest.Response, err error)
Delete deletes a link in the hub.
resourceGroupName is the name of the resource group. hubName is the name of the hub. linkName is the name of the link.
func (LinksClient) DeletePreparer ¶
func (client LinksClient) DeletePreparer(ctx context.Context, resourceGroupName string, hubName string, linkName string) (*http.Request, error)
DeletePreparer prepares the Delete request.
func (LinksClient) DeleteResponder ¶
func (client LinksClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.
func (LinksClient) DeleteSender ¶
DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.
func (LinksClient) Get ¶
func (client LinksClient) Get(ctx context.Context, resourceGroupName string, hubName string, linkName string) (result LinkResourceFormat, err error)
Get gets a link in the hub.
resourceGroupName is the name of the resource group. hubName is the name of the hub. linkName is the name of the link.
func (LinksClient) GetPreparer ¶
func (client LinksClient) GetPreparer(ctx context.Context, resourceGroupName string, hubName string, linkName string) (*http.Request, error)
GetPreparer prepares the Get request.
func (LinksClient) GetResponder ¶
func (client LinksClient) GetResponder(resp *http.Response) (result LinkResourceFormat, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (LinksClient) GetSender ¶
GetSender sends the Get request. The method will close the http.Response Body if it receives an error.
func (LinksClient) ListByHub ¶
func (client LinksClient) ListByHub(ctx context.Context, resourceGroupName string, hubName string) (result LinkListResultPage, err error)
ListByHub gets all the links in the specified hub.
resourceGroupName is the name of the resource group. hubName is the name of the hub.
func (LinksClient) ListByHubComplete ¶
func (client LinksClient) ListByHubComplete(ctx context.Context, resourceGroupName string, hubName string) (result LinkListResultIterator, err error)
ListByHubComplete enumerates all values, automatically crossing page boundaries as required.
func (LinksClient) ListByHubPreparer ¶
func (client LinksClient) ListByHubPreparer(ctx context.Context, resourceGroupName string, hubName string) (*http.Request, error)
ListByHubPreparer prepares the ListByHub request.
func (LinksClient) ListByHubResponder ¶
func (client LinksClient) ListByHubResponder(resp *http.Response) (result LinkListResult, err error)
ListByHubResponder handles the response to the ListByHub request. The method always closes the http.Response Body.
func (LinksClient) ListByHubSender ¶
ListByHubSender sends the ListByHub request. The method will close the http.Response Body if it receives an error.
type LinksCreateOrUpdateFuture ¶
LinksCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (LinksCreateOrUpdateFuture) Result ¶
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 ¶
type ListKpiDefinition struct { autorest.Response `json:"-"` Value *[]KpiDefinition `json:"value,omitempty"` }
ListKpiDefinition ...
type MetadataDefinitionBase ¶
type MetadataDefinitionBase struct { // Attributes - The attributes for the Type. Attributes map[string][]string `json:"attributes"` // Description - Localized descriptions for the property. Description map[string]*string `json:"description"` // DisplayName - Localized display names for the property. DisplayName map[string]*string `json:"displayName"` // LocalizedAttributes - Any custom localized attributes for the Type. LocalizedAttributes map[string]map[string]*string `json:"localizedAttributes"` // SmallImage - Small Image associated with the Property or EntityType. SmallImage *string `json:"smallImage,omitempty"` // MediumImage - Medium Image associated with the Property or EntityType. MediumImage *string `json:"mediumImage,omitempty"` // LargeImage - Large Image associated with the Property or EntityType. LargeImage *string `json:"largeImage,omitempty"` }
MetadataDefinitionBase the Metadata definition base.
func (MetadataDefinitionBase) MarshalJSON ¶
func (mdb MetadataDefinitionBase) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for MetadataDefinitionBase.
type Operation ¶
type Operation struct { // Name - 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 ¶
type OperationDisplay struct { // Provider - Service provider: Microsoft.CustomerInsights Provider *string `json:"provider,omitempty"` // Resource - Resource on which the operation is performed: Invoice, etc. Resource *string `json:"resource,omitempty"` // Operation - Operation type: Read, write, delete, etc. Operation *string `json:"operation,omitempty"` }
OperationDisplay the object that represents the operation.
type OperationListResult ¶
type OperationListResult struct { autorest.Response `json:"-"` // Value - List of Customer Insights operations supported by the Microsoft.CustomerInsights resource provider. Value *[]Operation `json:"value,omitempty"` // NextLink - URL to get the next set of operation list results if there are any. NextLink *string `json:"nextLink,omitempty"` }
OperationListResult result of the request to list Customer Insights operations. It contains a list of operations and a URL link to get the next set of results.
func (OperationListResult) IsEmpty ¶
func (olr OperationListResult) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
type OperationListResultIterator ¶
type OperationListResultIterator struct {
// contains filtered or unexported fields
}
OperationListResultIterator provides access to a complete listing of Operation values.
func (*OperationListResultIterator) Next ¶
func (iter *OperationListResultIterator) Next() error
Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.
func (OperationListResultIterator) NotDone ¶
func (iter OperationListResultIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (OperationListResultIterator) Response ¶
func (iter OperationListResultIterator) Response() OperationListResult
Response returns the raw server response from the last page request.
func (OperationListResultIterator) Value ¶
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 ¶
type OperationListResultPage struct {
// contains filtered or unexported fields
}
OperationListResultPage contains a page of Operation values.
func (*OperationListResultPage) Next ¶
func (page *OperationListResultPage) Next() error
Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.
func (OperationListResultPage) NotDone ¶
func (page OperationListResultPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (OperationListResultPage) Response ¶
func (page OperationListResultPage) Response() OperationListResult
Response returns the raw server response from the last page request.
func (OperationListResultPage) Values ¶
func (page OperationListResultPage) Values() []Operation
Values returns the slice of values for the current page or nil if there are no values.
type OperationsClient ¶
type OperationsClient struct {
BaseClient
}
OperationsClient is the the Azure Customer Insights management API provides a RESTful set of web services that interact with Azure Customer Insights service to manage your resources. The API has entities that capture the relationship between an end user and the Azure Customer Insights service.
func NewOperationsClient ¶
func NewOperationsClient(subscriptionID string) OperationsClient
NewOperationsClient creates an instance of the OperationsClient client.
func NewOperationsClientWithBaseURI ¶
func NewOperationsClientWithBaseURI(baseURI string, subscriptionID string) OperationsClient
NewOperationsClientWithBaseURI creates an instance of the OperationsClient client.
func (OperationsClient) List ¶
func (client OperationsClient) List(ctx context.Context) (result OperationListResultPage, err error)
List lists all of the available Customer Insights REST API operations.
func (OperationsClient) ListComplete ¶
func (client OperationsClient) ListComplete(ctx context.Context) (result OperationListResultIterator, err error)
ListComplete enumerates all values, automatically crossing page boundaries as required.
func (OperationsClient) ListPreparer ¶
ListPreparer prepares the List request.
func (OperationsClient) ListResponder ¶
func (client OperationsClient) ListResponder(resp *http.Response) (result OperationListResult, err error)
ListResponder handles the response to the List request. The method always closes the http.Response Body.
func (OperationsClient) ListSender ¶
ListSender sends the List request. The method will close the http.Response Body if it receives an error.
type Participant ¶
type Participant struct { // ProfileTypeName - Profile type name. ProfileTypeName *string `json:"profileTypeName,omitempty"` // ParticipantPropertyReferences - The property references. ParticipantPropertyReferences *[]ParticipantPropertyReference `json:"participantPropertyReferences,omitempty"` // ParticipantName - Participant name. ParticipantName *string `json:"participantName,omitempty"` // DisplayName - Localized display name. DisplayName map[string]*string `json:"displayName"` // Description - Localized descriptions. Description map[string]*string `json:"description"` // Role - The role that the participant is playing in the interaction. Role *string `json:"role,omitempty"` }
Participant describes a profile type participating in an interaction.
func (Participant) MarshalJSON ¶
func (p Participant) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for Participant.
type ParticipantProfilePropertyReference ¶
type ParticipantProfilePropertyReference struct { // InteractionPropertyName - The source interaction property that maps to the target profile property. InteractionPropertyName *string `json:"interactionPropertyName,omitempty"` // ProfilePropertyName - The target profile property that maps to the source interaction property. ProfilePropertyName *string `json:"profilePropertyName,omitempty"` }
ParticipantProfilePropertyReference the participant profile property reference.
type ParticipantPropertyReference ¶
type ParticipantPropertyReference struct { // SourcePropertyName - The source property that maps to the target property. SourcePropertyName *string `json:"sourcePropertyName,omitempty"` // TargetPropertyName - The target property that maps to the source property. TargetPropertyName *string `json:"targetPropertyName,omitempty"` }
ParticipantPropertyReference the participant property reference.
type PermissionTypes ¶
type PermissionTypes string
PermissionTypes enumerates the values for permission types.
const ( // Manage ... Manage PermissionTypes = "Manage" // Read ... Read PermissionTypes = "Read" // Write ... Write PermissionTypes = "Write" )
type Prediction ¶
type Prediction struct { // Description - Description of the prediction. Description map[string]*string `json:"description"` // DisplayName - Display name of the prediction. DisplayName map[string]*string `json:"displayName"` // InvolvedInteractionTypes - Interaction types involved in the prediction. InvolvedInteractionTypes *[]string `json:"involvedInteractionTypes,omitempty"` // InvolvedKpiTypes - KPI types involved in the prediction. InvolvedKpiTypes *[]string `json:"involvedKpiTypes,omitempty"` // InvolvedRelationships - Relationships involved in the prediction. InvolvedRelationships *[]string `json:"involvedRelationships,omitempty"` // NegativeOutcomeExpression - Negative outcome expression. NegativeOutcomeExpression *string `json:"negativeOutcomeExpression,omitempty"` // PositiveOutcomeExpression - Positive outcome expression. PositiveOutcomeExpression *string `json:"positiveOutcomeExpression,omitempty"` // PrimaryProfileType - Primary profile type. PrimaryProfileType *string `json:"primaryProfileType,omitempty"` // ProvisioningState - 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 - 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 - System generated entities. SystemGeneratedEntities *PredictionSystemGeneratedEntities `json:"systemGeneratedEntities,omitempty"` }
Prediction the prediction definition.
func (Prediction) MarshalJSON ¶
func (p Prediction) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for Prediction.
type PredictionDistributionDefinition ¶
type PredictionDistributionDefinition struct { // TotalPositives - Total positive in the distribution. TotalPositives *int64 `json:"totalPositives,omitempty"` // TotalNegatives - Total negatives in the distribution. TotalNegatives *int64 `json:"totalNegatives,omitempty"` // Distributions - Distributions of the prediction. Distributions *[]PredictionDistributionDefinitionDistributionsItem `json:"distributions,omitempty"` }
PredictionDistributionDefinition the definition of the prediction distribution.
type PredictionDistributionDefinitionDistributionsItem ¶
type PredictionDistributionDefinitionDistributionsItem struct { // ScoreThreshold - Score threshold. ScoreThreshold *int32 `json:"scoreThreshold,omitempty"` // Positives - Number of positives. Positives *int64 `json:"positives,omitempty"` // Negatives - Number of negatives. Negatives *int64 `json:"negatives,omitempty"` // PositivesAboveThreshold - Number of positives above threshold. PositivesAboveThreshold *int64 `json:"positivesAboveThreshold,omitempty"` // NegativesAboveThreshold - Number of negatives above threshold. NegativesAboveThreshold *int64 `json:"negativesAboveThreshold,omitempty"` }
PredictionDistributionDefinitionDistributionsItem the definition of a prediction distribution.
type PredictionGradesItem ¶
type PredictionGradesItem struct { // GradeName - Name of the grade. GradeName *string `json:"gradeName,omitempty"` // MinScoreThreshold - Minimum score threshold. MinScoreThreshold *int32 `json:"minScoreThreshold,omitempty"` // MaxScoreThreshold - Maximum score threshold. MaxScoreThreshold *int32 `json:"maxScoreThreshold,omitempty"` }
PredictionGradesItem the definition of a prediction grade.
type PredictionListResult ¶
type PredictionListResult struct { autorest.Response `json:"-"` // Value - Results of the list operation. Value *[]PredictionResourceFormat `json:"value,omitempty"` // NextLink - Link to the next set of results. NextLink *string `json:"nextLink,omitempty"` }
PredictionListResult the response of list predictions operation.
func (PredictionListResult) IsEmpty ¶
func (plr PredictionListResult) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
type PredictionListResultIterator ¶
type PredictionListResultIterator struct {
// contains filtered or unexported fields
}
PredictionListResultIterator provides access to a complete listing of PredictionResourceFormat values.
func (*PredictionListResultIterator) Next ¶
func (iter *PredictionListResultIterator) Next() error
Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.
func (PredictionListResultIterator) NotDone ¶
func (iter PredictionListResultIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (PredictionListResultIterator) Response ¶
func (iter PredictionListResultIterator) Response() PredictionListResult
Response returns the raw server response from the last page request.
func (PredictionListResultIterator) Value ¶
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 ¶
type PredictionListResultPage struct {
// contains filtered or unexported fields
}
PredictionListResultPage contains a page of PredictionResourceFormat values.
func (*PredictionListResultPage) Next ¶
func (page *PredictionListResultPage) Next() error
Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.
func (PredictionListResultPage) NotDone ¶
func (page PredictionListResultPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (PredictionListResultPage) Response ¶
func (page PredictionListResultPage) Response() PredictionListResult
Response returns the raw server response from the last page request.
func (PredictionListResultPage) Values ¶
func (page PredictionListResultPage) Values() []PredictionResourceFormat
Values returns the slice of values for the current page or nil if there are no values.
type PredictionMappings ¶
type PredictionMappings struct { // Score - The score of the link mapping. Score *string `json:"score,omitempty"` // Grade - The grade of the link mapping. Grade *string `json:"grade,omitempty"` // Reason - The reason of the link mapping. Reason *string `json:"reason,omitempty"` }
PredictionMappings definition of the link mapping of prediction.
type PredictionModelLifeCycle ¶
type PredictionModelLifeCycle string
PredictionModelLifeCycle enumerates the values for prediction model life cycle.
const ( // PredictionModelLifeCycleActive ... PredictionModelLifeCycleActive PredictionModelLifeCycle = "Active" // PredictionModelLifeCycleDeleted ... PredictionModelLifeCycleDeleted PredictionModelLifeCycle = "Deleted" // PredictionModelLifeCycleDiscovering ... PredictionModelLifeCycleDiscovering PredictionModelLifeCycle = "Discovering" // PredictionModelLifeCycleEvaluating ... PredictionModelLifeCycleEvaluating PredictionModelLifeCycle = "Evaluating" // PredictionModelLifeCycleEvaluatingFailed ... PredictionModelLifeCycleEvaluatingFailed PredictionModelLifeCycle = "EvaluatingFailed" // PredictionModelLifeCycleFailed ... PredictionModelLifeCycleFailed PredictionModelLifeCycle = "Failed" // PredictionModelLifeCycleFeaturing ... PredictionModelLifeCycleFeaturing PredictionModelLifeCycle = "Featuring" // PredictionModelLifeCycleFeaturingFailed ... PredictionModelLifeCycleFeaturingFailed PredictionModelLifeCycle = "FeaturingFailed" // PredictionModelLifeCycleHumanIntervention ... PredictionModelLifeCycleHumanIntervention PredictionModelLifeCycle = "HumanIntervention" // PredictionModelLifeCycleNew ... PredictionModelLifeCycleNew PredictionModelLifeCycle = "New" // PredictionModelLifeCyclePendingDiscovering ... PredictionModelLifeCyclePendingDiscovering PredictionModelLifeCycle = "PendingDiscovering" // PredictionModelLifeCyclePendingFeaturing ... PredictionModelLifeCyclePendingFeaturing PredictionModelLifeCycle = "PendingFeaturing" // PredictionModelLifeCyclePendingModelConfirmation ... PredictionModelLifeCyclePendingModelConfirmation PredictionModelLifeCycle = "PendingModelConfirmation" // PredictionModelLifeCyclePendingTraining ... PredictionModelLifeCyclePendingTraining PredictionModelLifeCycle = "PendingTraining" // PredictionModelLifeCycleProvisioning ... PredictionModelLifeCycleProvisioning PredictionModelLifeCycle = "Provisioning" // PredictionModelLifeCycleProvisioningFailed ... PredictionModelLifeCycleProvisioningFailed PredictionModelLifeCycle = "ProvisioningFailed" // PredictionModelLifeCycleTraining ... PredictionModelLifeCycleTraining PredictionModelLifeCycle = "Training" // PredictionModelLifeCycleTrainingFailed ... PredictionModelLifeCycleTrainingFailed PredictionModelLifeCycle = "TrainingFailed" )
type PredictionModelStatus ¶
type PredictionModelStatus struct { autorest.Response `json:"-"` // TenantID - The hub name. TenantID *string `json:"tenantId,omitempty"` // PredictionName - The prediction name. PredictionName *string `json:"predictionName,omitempty"` // PredictionGUIDID - 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 - The model status message. Message *string `json:"message,omitempty"` // TrainingSetCount - Count of the training set. TrainingSetCount *int32 `json:"trainingSetCount,omitempty"` // TestSetCount - Count of the test set. TestSetCount *int32 `json:"testSetCount,omitempty"` // ValidationSetCount - Count of the validation set. ValidationSetCount *int32 `json:"validationSetCount,omitempty"` // TrainingAccuracy - The training accuracy. TrainingAccuracy *int32 `json:"trainingAccuracy,omitempty"` // SignalsUsed - The singnas used. SignalsUsed *int32 `json:"signalsUsed,omitempty"` // ModelVersion - Version of the model. ModelVersion *string `json:"modelVersion,omitempty"` }
PredictionModelStatus the prediction model status.
type PredictionResourceFormat ¶
type PredictionResourceFormat struct { autorest.Response `json:"-"` *Prediction `json:"properties,omitempty"` // ID - Resource ID. ID *string `json:"id,omitempty"` // Name - Resource name. Name *string `json:"name,omitempty"` // Type - Resource type. Type *string `json:"type,omitempty"` }
PredictionResourceFormat the prediction resource format.
func (*PredictionResourceFormat) UnmarshalJSON ¶
func (prf *PredictionResourceFormat) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for PredictionResourceFormat struct.
type PredictionSystemGeneratedEntities ¶
type PredictionSystemGeneratedEntities struct { // GeneratedInteractionTypes - Generated interaction types. GeneratedInteractionTypes *[]string `json:"generatedInteractionTypes,omitempty"` // GeneratedLinks - Generated links. GeneratedLinks *[]string `json:"generatedLinks,omitempty"` // GeneratedKpis - Generated KPIs. GeneratedKpis map[string]*string `json:"generatedKpis"` }
PredictionSystemGeneratedEntities system generated entities.
func (PredictionSystemGeneratedEntities) MarshalJSON ¶
func (pGe PredictionSystemGeneratedEntities) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for PredictionSystemGeneratedEntities.
type PredictionTrainingResults ¶
type PredictionTrainingResults struct { autorest.Response `json:"-"` // TenantID - The hub name. TenantID *string `json:"tenantId,omitempty"` // ScoreName - Score name. ScoreName *string `json:"scoreName,omitempty"` // PredictionDistribution - Prediction distribution. PredictionDistribution *PredictionDistributionDefinition `json:"predictionDistribution,omitempty"` // CanonicalProfiles - Canonical profiles. CanonicalProfiles *[]CanonicalProfileDefinition `json:"canonicalProfiles,omitempty"` // PrimaryProfileInstanceCount - Instance count of the primary profile. PrimaryProfileInstanceCount *int64 `json:"primaryProfileInstanceCount,omitempty"` }
PredictionTrainingResults the training results of the prediction.
type PredictionsClient ¶
type PredictionsClient struct {
BaseClient
}
PredictionsClient is the the Azure Customer Insights management API provides a RESTful set of web services that interact with Azure Customer Insights service to manage your resources. The API has entities that capture the relationship between an end user and the Azure Customer Insights service.
func NewPredictionsClient ¶
func NewPredictionsClient(subscriptionID string) PredictionsClient
NewPredictionsClient creates an instance of the PredictionsClient client.
func NewPredictionsClientWithBaseURI ¶
func NewPredictionsClientWithBaseURI(baseURI string, subscriptionID string) PredictionsClient
NewPredictionsClientWithBaseURI creates an instance of the PredictionsClient client.
func (PredictionsClient) CreateOrUpdate ¶
func (client PredictionsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, hubName string, predictionName string, parameters PredictionResourceFormat) (result PredictionsCreateOrUpdateFuture, err error)
CreateOrUpdate creates a Prediction or updates an existing Prediction in the hub.
resourceGroupName is the name of the resource group. hubName is the name of the hub. predictionName is the name of the Prediction. parameters is parameters supplied to the create/update Prediction operation.
func (PredictionsClient) CreateOrUpdatePreparer ¶
func (client PredictionsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, hubName string, predictionName string, parameters PredictionResourceFormat) (*http.Request, error)
CreateOrUpdatePreparer prepares the CreateOrUpdate request.
func (PredictionsClient) CreateOrUpdateResponder ¶
func (client PredictionsClient) CreateOrUpdateResponder(resp *http.Response) (result PredictionResourceFormat, err error)
CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.
func (PredictionsClient) CreateOrUpdateSender ¶
func (client PredictionsClient) CreateOrUpdateSender(req *http.Request) (future PredictionsCreateOrUpdateFuture, err error)
CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.
func (PredictionsClient) Delete ¶
func (client PredictionsClient) Delete(ctx context.Context, resourceGroupName string, hubName string, predictionName string) (result PredictionsDeleteFuture, err error)
Delete deletes a Prediction in the hub.
resourceGroupName is the name of the resource group. hubName is the name of the hub. predictionName is the name of the Prediction.
func (PredictionsClient) DeletePreparer ¶
func (client PredictionsClient) DeletePreparer(ctx context.Context, resourceGroupName string, hubName string, predictionName string) (*http.Request, error)
DeletePreparer prepares the Delete request.
func (PredictionsClient) DeleteResponder ¶
func (client PredictionsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.
func (PredictionsClient) DeleteSender ¶
func (client PredictionsClient) DeleteSender(req *http.Request) (future PredictionsDeleteFuture, err error)
DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.
func (PredictionsClient) Get ¶
func (client PredictionsClient) Get(ctx context.Context, resourceGroupName string, hubName string, predictionName string) (result PredictionResourceFormat, err error)
Get gets a Prediction in the hub.
resourceGroupName is the name of the resource group. hubName is the name of the hub. predictionName is the name of the Prediction.
func (PredictionsClient) GetModelStatus ¶
func (client PredictionsClient) GetModelStatus(ctx context.Context, resourceGroupName string, hubName string, predictionName string) (result PredictionModelStatus, err error)
GetModelStatus gets model status of the prediction.
resourceGroupName is the name of the resource group. hubName is the name of the hub. predictionName is the name of the Prediction.
func (PredictionsClient) GetModelStatusPreparer ¶
func (client PredictionsClient) GetModelStatusPreparer(ctx context.Context, resourceGroupName string, hubName string, predictionName string) (*http.Request, error)
GetModelStatusPreparer prepares the GetModelStatus request.
func (PredictionsClient) GetModelStatusResponder ¶
func (client PredictionsClient) GetModelStatusResponder(resp *http.Response) (result PredictionModelStatus, err error)
GetModelStatusResponder handles the response to the GetModelStatus request. The method always closes the http.Response Body.
func (PredictionsClient) GetModelStatusSender ¶
GetModelStatusSender sends the GetModelStatus request. The method will close the http.Response Body if it receives an error.
func (PredictionsClient) GetPreparer ¶
func (client PredictionsClient) GetPreparer(ctx context.Context, resourceGroupName string, hubName string, predictionName string) (*http.Request, error)
GetPreparer prepares the Get request.
func (PredictionsClient) GetResponder ¶
func (client PredictionsClient) GetResponder(resp *http.Response) (result PredictionResourceFormat, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (PredictionsClient) GetSender ¶
GetSender sends the Get request. The method will close the http.Response Body if it receives an error.
func (PredictionsClient) GetTrainingResults ¶
func (client PredictionsClient) GetTrainingResults(ctx context.Context, resourceGroupName string, hubName string, predictionName string) (result PredictionTrainingResults, err error)
GetTrainingResults gets training results.
resourceGroupName is the name of the resource group. hubName is the name of the hub. predictionName is the name of the Prediction.
func (PredictionsClient) GetTrainingResultsPreparer ¶
func (client PredictionsClient) GetTrainingResultsPreparer(ctx context.Context, resourceGroupName string, hubName string, predictionName string) (*http.Request, error)
GetTrainingResultsPreparer prepares the GetTrainingResults request.
func (PredictionsClient) GetTrainingResultsResponder ¶
func (client PredictionsClient) GetTrainingResultsResponder(resp *http.Response) (result PredictionTrainingResults, err error)
GetTrainingResultsResponder handles the response to the GetTrainingResults request. The method always closes the http.Response Body.
func (PredictionsClient) GetTrainingResultsSender ¶
GetTrainingResultsSender sends the GetTrainingResults request. The method will close the http.Response Body if it receives an error.
func (PredictionsClient) ListByHub ¶
func (client PredictionsClient) ListByHub(ctx context.Context, resourceGroupName string, hubName string) (result PredictionListResultPage, err error)
ListByHub gets all the predictions in the specified hub.
resourceGroupName is the name of the resource group. hubName is the name of the hub.
func (PredictionsClient) ListByHubComplete ¶
func (client PredictionsClient) ListByHubComplete(ctx context.Context, resourceGroupName string, hubName string) (result PredictionListResultIterator, err error)
ListByHubComplete enumerates all values, automatically crossing page boundaries as required.
func (PredictionsClient) ListByHubPreparer ¶
func (client PredictionsClient) ListByHubPreparer(ctx context.Context, resourceGroupName string, hubName string) (*http.Request, error)
ListByHubPreparer prepares the ListByHub request.
func (PredictionsClient) ListByHubResponder ¶
func (client PredictionsClient) ListByHubResponder(resp *http.Response) (result PredictionListResult, err error)
ListByHubResponder handles the response to the ListByHub request. The method always closes the http.Response Body.
func (PredictionsClient) ListByHubSender ¶
ListByHubSender sends the ListByHub request. The method will close the http.Response Body if it receives an error.
func (PredictionsClient) ModelStatus ¶
func (client PredictionsClient) ModelStatus(ctx context.Context, resourceGroupName string, hubName string, predictionName string, parameters PredictionModelStatus) (result autorest.Response, err error)
ModelStatus creates or updates the model status of prediction.
resourceGroupName is the name of the resource group. hubName is the name of the hub. predictionName is the name of the Prediction. parameters is parameters supplied to the create/update prediction model status operation.
func (PredictionsClient) ModelStatusPreparer ¶
func (client PredictionsClient) ModelStatusPreparer(ctx context.Context, resourceGroupName string, hubName string, predictionName string, parameters PredictionModelStatus) (*http.Request, error)
ModelStatusPreparer prepares the ModelStatus request.
func (PredictionsClient) ModelStatusResponder ¶
func (client PredictionsClient) ModelStatusResponder(resp *http.Response) (result autorest.Response, err error)
ModelStatusResponder handles the response to the ModelStatus request. The method always closes the http.Response Body.
func (PredictionsClient) ModelStatusSender ¶
ModelStatusSender sends the ModelStatus request. The method will close the http.Response Body if it receives an error.
type PredictionsCreateOrUpdateFuture ¶
type PredictionsCreateOrUpdateFuture struct { azure.Future // contains filtered or unexported fields }
PredictionsCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (PredictionsCreateOrUpdateFuture) Result ¶
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 ¶
PredictionsDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (PredictionsDeleteFuture) Result ¶
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 ¶
type ProfileEnumValidValuesFormat struct { // Value - The integer value of the enum member. Value *int32 `json:"value,omitempty"` // LocalizedValueNames - Localized names of the enum member. LocalizedValueNames map[string]*string `json:"localizedValueNames"` }
ProfileEnumValidValuesFormat valid enum values in case of an enum property.
func (ProfileEnumValidValuesFormat) MarshalJSON ¶
func (pevvf ProfileEnumValidValuesFormat) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ProfileEnumValidValuesFormat.
type ProfileListResult ¶
type ProfileListResult struct { autorest.Response `json:"-"` // Value - Results of the list operation. Value *[]ProfileResourceFormat `json:"value,omitempty"` // NextLink - Link to the next set of results. NextLink *string `json:"nextLink,omitempty"` }
ProfileListResult the response of list profile operation.
func (ProfileListResult) IsEmpty ¶
func (plr ProfileListResult) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
type ProfileListResultIterator ¶
type ProfileListResultIterator struct {
// contains filtered or unexported fields
}
ProfileListResultIterator provides access to a complete listing of ProfileResourceFormat values.
func (*ProfileListResultIterator) Next ¶
func (iter *ProfileListResultIterator) Next() error
Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.
func (ProfileListResultIterator) NotDone ¶
func (iter ProfileListResultIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (ProfileListResultIterator) Response ¶
func (iter ProfileListResultIterator) Response() ProfileListResult
Response returns the raw server response from the last page request.
func (ProfileListResultIterator) Value ¶
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 ¶
type ProfileListResultPage struct {
// contains filtered or unexported fields
}
ProfileListResultPage contains a page of ProfileResourceFormat values.
func (*ProfileListResultPage) Next ¶
func (page *ProfileListResultPage) Next() error
Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.
func (ProfileListResultPage) NotDone ¶
func (page ProfileListResultPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (ProfileListResultPage) Response ¶
func (page ProfileListResultPage) Response() ProfileListResult
Response returns the raw server response from the last page request.
func (ProfileListResultPage) Values ¶
func (page ProfileListResultPage) Values() []ProfileResourceFormat
Values returns the slice of values for the current page or nil if there are no values.
type ProfileResourceFormat ¶
type ProfileResourceFormat struct { autorest.Response `json:"-"` *ProfileTypeDefinition `json:"properties,omitempty"` // ID - Resource ID. ID *string `json:"id,omitempty"` // Name - Resource name. Name *string `json:"name,omitempty"` // Type - Resource type. Type *string `json:"type,omitempty"` }
ProfileResourceFormat the profile resource format.
func (*ProfileResourceFormat) UnmarshalJSON ¶
func (prf *ProfileResourceFormat) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for ProfileResourceFormat struct.
type ProfileTypeDefinition ¶
type ProfileTypeDefinition struct { // StrongIds - The strong IDs. StrongIds *[]StrongID `json:"strongIds,omitempty"` // APIEntitySetName - The api entity set name. This becomes the odata entity set name for the entity Type being refered 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 - The last changed time for the type definition. LastChangedUtc *date.Time `json:"lastChangedUtc,omitempty"` // ProvisioningState - 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 - The hub name. TenantID *string `json:"tenantId,omitempty"` // TimestampFieldName - The timestamp property name. Represents the time when the interaction or profile update happened. TimestampFieldName *string `json:"timestampFieldName,omitempty"` // TypeName - The name of the entity. TypeName *string `json:"typeName,omitempty"` // Attributes - The attributes for the Type. Attributes map[string][]string `json:"attributes"` // Description - Localized descriptions for the property. Description map[string]*string `json:"description"` // DisplayName - Localized display names for the property. DisplayName map[string]*string `json:"displayName"` // LocalizedAttributes - Any custom localized attributes for the Type. LocalizedAttributes map[string]map[string]*string `json:"localizedAttributes"` // SmallImage - Small Image associated with the Property or EntityType. SmallImage *string `json:"smallImage,omitempty"` // MediumImage - Medium Image associated with the Property or EntityType. MediumImage *string `json:"mediumImage,omitempty"` // LargeImage - Large Image associated with the Property or EntityType. LargeImage *string `json:"largeImage,omitempty"` }
ProfileTypeDefinition the profile type definition.
func (ProfileTypeDefinition) MarshalJSON ¶
func (ptd ProfileTypeDefinition) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ProfileTypeDefinition.
type ProfilesClient ¶
type ProfilesClient struct {
BaseClient
}
ProfilesClient is the the Azure Customer Insights management API provides a RESTful set of web services that interact with Azure Customer Insights service to manage your resources. The API has entities that capture the relationship between an end user and the Azure Customer Insights service.
func NewProfilesClient ¶
func NewProfilesClient(subscriptionID string) ProfilesClient
NewProfilesClient creates an instance of the ProfilesClient client.
func NewProfilesClientWithBaseURI ¶
func NewProfilesClientWithBaseURI(baseURI string, subscriptionID string) ProfilesClient
NewProfilesClientWithBaseURI creates an instance of the ProfilesClient client.
func (ProfilesClient) CreateOrUpdate ¶
func (client ProfilesClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, hubName string, profileName string, parameters ProfileResourceFormat) (result ProfilesCreateOrUpdateFuture, err error)
CreateOrUpdate creates a profile within a Hub, or updates an existing profile.
resourceGroupName is the name of the resource group. hubName is the name of the hub. profileName is the name of the profile. parameters is parameters supplied to the create/delete Profile type operation
func (ProfilesClient) CreateOrUpdatePreparer ¶
func (client ProfilesClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, hubName string, profileName string, parameters ProfileResourceFormat) (*http.Request, error)
CreateOrUpdatePreparer prepares the CreateOrUpdate request.
func (ProfilesClient) CreateOrUpdateResponder ¶
func (client ProfilesClient) CreateOrUpdateResponder(resp *http.Response) (result ProfileResourceFormat, err error)
CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.
func (ProfilesClient) CreateOrUpdateSender ¶
func (client ProfilesClient) CreateOrUpdateSender(req *http.Request) (future ProfilesCreateOrUpdateFuture, err error)
CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.
func (ProfilesClient) Delete ¶
func (client ProfilesClient) Delete(ctx context.Context, resourceGroupName string, hubName string, profileName string, localeCode string) (result ProfilesDeleteFuture, err error)
Delete deletes a profile within a hub
resourceGroupName is the name of the resource group. hubName is the name of the hub. profileName is the name of the profile. localeCode is locale of profile to retrieve, default is en-us.
func (ProfilesClient) DeletePreparer ¶
func (client ProfilesClient) DeletePreparer(ctx context.Context, resourceGroupName string, hubName string, profileName string, localeCode string) (*http.Request, error)
DeletePreparer prepares the Delete request.
func (ProfilesClient) DeleteResponder ¶
func (client ProfilesClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.
func (ProfilesClient) DeleteSender ¶
func (client ProfilesClient) DeleteSender(req *http.Request) (future ProfilesDeleteFuture, err error)
DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.
func (ProfilesClient) Get ¶
func (client ProfilesClient) Get(ctx context.Context, resourceGroupName string, hubName string, profileName string, localeCode string) (result ProfileResourceFormat, err error)
Get gets information about the specified profile.
resourceGroupName is the name of the resource group. hubName is the name of the hub. profileName is the name of the profile. localeCode is locale of profile to retrieve, default is en-us.
func (ProfilesClient) GetEnrichingKpis ¶
func (client ProfilesClient) GetEnrichingKpis(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.
resourceGroupName is the name of the resource group. hubName is the name of the hub. profileName is the name of the profile.
func (ProfilesClient) GetEnrichingKpisPreparer ¶
func (client ProfilesClient) GetEnrichingKpisPreparer(ctx context.Context, resourceGroupName string, hubName string, profileName string) (*http.Request, error)
GetEnrichingKpisPreparer prepares the GetEnrichingKpis request.
func (ProfilesClient) GetEnrichingKpisResponder ¶
func (client ProfilesClient) GetEnrichingKpisResponder(resp *http.Response) (result ListKpiDefinition, err error)
GetEnrichingKpisResponder handles the response to the GetEnrichingKpis request. The method always closes the http.Response Body.
func (ProfilesClient) GetEnrichingKpisSender ¶
GetEnrichingKpisSender sends the GetEnrichingKpis request. The method will close the http.Response Body if it receives an error.
func (ProfilesClient) GetPreparer ¶
func (client ProfilesClient) GetPreparer(ctx context.Context, resourceGroupName string, hubName string, profileName string, localeCode string) (*http.Request, error)
GetPreparer prepares the Get request.
func (ProfilesClient) GetResponder ¶
func (client ProfilesClient) GetResponder(resp *http.Response) (result ProfileResourceFormat, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (ProfilesClient) GetSender ¶
GetSender sends the Get request. The method will close the http.Response Body if it receives an error.
func (ProfilesClient) ListByHub ¶
func (client ProfilesClient) ListByHub(ctx context.Context, resourceGroupName string, hubName string, localeCode string) (result ProfileListResultPage, err error)
ListByHub gets all profile in the hub.
resourceGroupName is the name of the resource group. hubName is the name of the hub. localeCode is locale of profile to retrieve, default is en-us.
func (ProfilesClient) ListByHubComplete ¶
func (client ProfilesClient) ListByHubComplete(ctx context.Context, resourceGroupName string, hubName string, localeCode string) (result ProfileListResultIterator, err error)
ListByHubComplete enumerates all values, automatically crossing page boundaries as required.
func (ProfilesClient) ListByHubPreparer ¶
func (client ProfilesClient) ListByHubPreparer(ctx context.Context, resourceGroupName string, hubName string, localeCode string) (*http.Request, error)
ListByHubPreparer prepares the ListByHub request.
func (ProfilesClient) ListByHubResponder ¶
func (client ProfilesClient) ListByHubResponder(resp *http.Response) (result ProfileListResult, err error)
ListByHubResponder handles the response to the ListByHub request. The method always closes the http.Response Body.
func (ProfilesClient) ListByHubSender ¶
ListByHubSender sends the ListByHub request. The method will close the http.Response Body if it receives an error.
type ProfilesCreateOrUpdateFuture ¶
ProfilesCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (ProfilesCreateOrUpdateFuture) Result ¶
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 ¶
ProfilesDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (ProfilesDeleteFuture) Result ¶
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 ¶
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 Intercation. 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 - 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 ¶
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" )
type ProxyResource ¶
type ProxyResource struct { // ID - Resource ID. ID *string `json:"id,omitempty"` // Name - Resource name. Name *string `json:"name,omitempty"` // Type - Resource type. Type *string `json:"type,omitempty"` }
ProxyResource common properties of proxy resource.
type RelationshipDefinition ¶
type RelationshipDefinition struct { // Cardinality - The Relationship Cardinality. Possible values include: 'OneToOne', 'OneToMany', 'ManyToMany' Cardinality CardinalityTypes `json:"cardinality,omitempty"` // DisplayName - Localized display name for the Relationship. DisplayName map[string]*string `json:"displayName"` // Description - Localized descriptions for the Relationship. Description map[string]*string `json:"description"` // ExpiryDateTimeUtc - The expiry date time in UTC. ExpiryDateTimeUtc *date.Time `json:"expiryDateTimeUtc,omitempty"` // Fields - The properties of the Relationship. Fields *[]PropertyDefinition `json:"fields,omitempty"` // LookupMappings - Optional property to be used to map fields in profile to their strong ids in related profile. LookupMappings *[]RelationshipTypeMapping `json:"lookupMappings,omitempty"` // ProfileType - Profile type. ProfileType *string `json:"profileType,omitempty"` // ProvisioningState - Provisioning state. Possible values include: 'ProvisioningStatesProvisioning', 'ProvisioningStatesSucceeded', 'ProvisioningStatesExpiring', 'ProvisioningStatesDeleting', 'ProvisioningStatesHumanIntervention', 'ProvisioningStatesFailed' ProvisioningState ProvisioningStates `json:"provisioningState,omitempty"` // RelationshipName - The Relationship name. RelationshipName *string `json:"relationshipName,omitempty"` // RelatedProfileType - Related profile being referenced. RelatedProfileType *string `json:"relatedProfileType,omitempty"` // RelationshipGUIDID - The relationship guid id. RelationshipGUIDID *string `json:"relationshipGuidId,omitempty"` // TenantID - The hub name. TenantID *string `json:"tenantId,omitempty"` }
RelationshipDefinition the definition of Relationship.
func (RelationshipDefinition) MarshalJSON ¶
func (rd RelationshipDefinition) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for RelationshipDefinition.
type RelationshipLinkDefinition ¶
type RelationshipLinkDefinition struct { // DisplayName - Localized display name for the Relationship Link. DisplayName map[string]*string `json:"displayName"` // Description - Localized descriptions for the Relationship Link. Description map[string]*string `json:"description"` // InteractionType - The InteractionType associated with the Relationship Link. InteractionType *string `json:"interactionType,omitempty"` // LinkName - 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 - 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 - The relationship guid id. RelationshipGUIDID *string `json:"relationshipGuidId,omitempty"` // TenantID - The hub name. TenantID *string `json:"tenantId,omitempty"` }
RelationshipLinkDefinition the definition of relationship link.
func (RelationshipLinkDefinition) MarshalJSON ¶
func (rld RelationshipLinkDefinition) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for RelationshipLinkDefinition.
type RelationshipLinkFieldMapping ¶
type RelationshipLinkFieldMapping struct { // InteractionFieldName - The field name on the Interaction Type. InteractionFieldName *string `json:"interactionFieldName,omitempty"` // LinkType - Link type. Possible values include: 'UpdateAlways', 'CopyIfNull' LinkType LinkTypes `json:"linkType,omitempty"` // RelationshipFieldName - The field name on the Relationship metadata. RelationshipFieldName *string `json:"relationshipFieldName,omitempty"` }
RelationshipLinkFieldMapping the fields mapping for Relationships.
type RelationshipLinkListResult ¶
type RelationshipLinkListResult struct { autorest.Response `json:"-"` // Value - Results of the list operation. Value *[]RelationshipLinkResourceFormat `json:"value,omitempty"` // NextLink - Link to the next set of results. NextLink *string `json:"nextLink,omitempty"` }
RelationshipLinkListResult the response of list relationship link operation.
func (RelationshipLinkListResult) IsEmpty ¶
func (rllr RelationshipLinkListResult) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
type RelationshipLinkListResultIterator ¶
type RelationshipLinkListResultIterator struct {
// contains filtered or unexported fields
}
RelationshipLinkListResultIterator provides access to a complete listing of RelationshipLinkResourceFormat values.
func (*RelationshipLinkListResultIterator) Next ¶
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.
func (RelationshipLinkListResultIterator) NotDone ¶
func (iter RelationshipLinkListResultIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (RelationshipLinkListResultIterator) Response ¶
func (iter RelationshipLinkListResultIterator) Response() RelationshipLinkListResult
Response returns the raw server response from the last page request.
func (RelationshipLinkListResultIterator) Value ¶
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 ¶
type RelationshipLinkListResultPage struct {
// contains filtered or unexported fields
}
RelationshipLinkListResultPage contains a page of RelationshipLinkResourceFormat values.
func (*RelationshipLinkListResultPage) Next ¶
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.
func (RelationshipLinkListResultPage) NotDone ¶
func (page RelationshipLinkListResultPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (RelationshipLinkListResultPage) Response ¶
func (page RelationshipLinkListResultPage) Response() RelationshipLinkListResult
Response returns the raw server response from the last page request.
func (RelationshipLinkListResultPage) Values ¶
func (page RelationshipLinkListResultPage) Values() []RelationshipLinkResourceFormat
Values returns the slice of values for the current page or nil if there are no values.
type RelationshipLinkResourceFormat ¶
type RelationshipLinkResourceFormat struct { autorest.Response `json:"-"` *RelationshipLinkDefinition `json:"properties,omitempty"` // ID - Resource ID. ID *string `json:"id,omitempty"` // Name - Resource name. Name *string `json:"name,omitempty"` // Type - Resource type. Type *string `json:"type,omitempty"` }
RelationshipLinkResourceFormat the relationship link resource format.
func (*RelationshipLinkResourceFormat) UnmarshalJSON ¶
func (rlrf *RelationshipLinkResourceFormat) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for RelationshipLinkResourceFormat struct.
type RelationshipLinksClient ¶
type RelationshipLinksClient struct {
BaseClient
}
RelationshipLinksClient is the the Azure Customer Insights management API provides a RESTful set of web services that interact with Azure Customer Insights service to manage your resources. The API has entities that capture the relationship between an end user and the Azure Customer Insights service.
func NewRelationshipLinksClient ¶
func NewRelationshipLinksClient(subscriptionID string) RelationshipLinksClient
NewRelationshipLinksClient creates an instance of the RelationshipLinksClient client.
func NewRelationshipLinksClientWithBaseURI ¶
func NewRelationshipLinksClientWithBaseURI(baseURI string, subscriptionID string) RelationshipLinksClient
NewRelationshipLinksClientWithBaseURI creates an instance of the RelationshipLinksClient client.
func (RelationshipLinksClient) CreateOrUpdate ¶
func (client RelationshipLinksClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, hubName string, relationshipLinkName string, parameters RelationshipLinkResourceFormat) (result RelationshipLinksCreateOrUpdateFuture, err error)
CreateOrUpdate creates a relationship link or updates an existing relationship link within a hub.
resourceGroupName is the name of the resource group. hubName is the name of the hub. relationshipLinkName is the name of the relationship link. parameters is parameters supplied to the CreateOrUpdate relationship link operation.
func (RelationshipLinksClient) CreateOrUpdatePreparer ¶
func (client RelationshipLinksClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, hubName string, relationshipLinkName string, parameters RelationshipLinkResourceFormat) (*http.Request, error)
CreateOrUpdatePreparer prepares the CreateOrUpdate request.
func (RelationshipLinksClient) CreateOrUpdateResponder ¶
func (client RelationshipLinksClient) CreateOrUpdateResponder(resp *http.Response) (result RelationshipLinkResourceFormat, err error)
CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.
func (RelationshipLinksClient) CreateOrUpdateSender ¶
func (client RelationshipLinksClient) CreateOrUpdateSender(req *http.Request) (future RelationshipLinksCreateOrUpdateFuture, err error)
CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.
func (RelationshipLinksClient) Delete ¶
func (client RelationshipLinksClient) Delete(ctx context.Context, resourceGroupName string, hubName string, relationshipLinkName string) (result RelationshipLinksDeleteFuture, err error)
Delete deletes a relationship link within a hub.
resourceGroupName is the name of the resource group. hubName is the name of the hub. relationshipLinkName is the name of the relationship.
func (RelationshipLinksClient) DeletePreparer ¶
func (client RelationshipLinksClient) DeletePreparer(ctx context.Context, resourceGroupName string, hubName string, relationshipLinkName string) (*http.Request, error)
DeletePreparer prepares the Delete request.
func (RelationshipLinksClient) DeleteResponder ¶
func (client RelationshipLinksClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.
func (RelationshipLinksClient) DeleteSender ¶
func (client RelationshipLinksClient) DeleteSender(req *http.Request) (future RelationshipLinksDeleteFuture, err error)
DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.
func (RelationshipLinksClient) Get ¶
func (client RelationshipLinksClient) Get(ctx context.Context, resourceGroupName string, hubName string, relationshipLinkName string) (result RelationshipLinkResourceFormat, err error)
Get gets information about the specified relationship Link.
resourceGroupName is the name of the resource group. hubName is the name of the hub. relationshipLinkName is the name of the relationship link.
func (RelationshipLinksClient) GetPreparer ¶
func (client RelationshipLinksClient) GetPreparer(ctx context.Context, resourceGroupName string, hubName string, relationshipLinkName string) (*http.Request, error)
GetPreparer prepares the Get request.
func (RelationshipLinksClient) GetResponder ¶
func (client RelationshipLinksClient) GetResponder(resp *http.Response) (result RelationshipLinkResourceFormat, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (RelationshipLinksClient) GetSender ¶
GetSender sends the Get request. The method will close the http.Response Body if it receives an error.
func (RelationshipLinksClient) ListByHub ¶
func (client RelationshipLinksClient) ListByHub(ctx context.Context, resourceGroupName string, hubName string) (result RelationshipLinkListResultPage, err error)
ListByHub gets all relationship links in the hub.
resourceGroupName is the name of the resource group. hubName is the name of the hub.
func (RelationshipLinksClient) ListByHubComplete ¶
func (client RelationshipLinksClient) ListByHubComplete(ctx context.Context, resourceGroupName string, hubName string) (result RelationshipLinkListResultIterator, err error)
ListByHubComplete enumerates all values, automatically crossing page boundaries as required.
func (RelationshipLinksClient) ListByHubPreparer ¶
func (client RelationshipLinksClient) ListByHubPreparer(ctx context.Context, resourceGroupName string, hubName string) (*http.Request, error)
ListByHubPreparer prepares the ListByHub request.
func (RelationshipLinksClient) ListByHubResponder ¶
func (client RelationshipLinksClient) ListByHubResponder(resp *http.Response) (result RelationshipLinkListResult, err error)
ListByHubResponder handles the response to the ListByHub request. The method always closes the http.Response Body.
func (RelationshipLinksClient) ListByHubSender ¶
ListByHubSender sends the ListByHub request. The method will close the http.Response Body if it receives an error.
type RelationshipLinksCreateOrUpdateFuture ¶
type RelationshipLinksCreateOrUpdateFuture struct { azure.Future // contains filtered or unexported fields }
RelationshipLinksCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (RelationshipLinksCreateOrUpdateFuture) Result ¶
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 ¶
type RelationshipLinksDeleteFuture struct { azure.Future // contains filtered or unexported fields }
RelationshipLinksDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (RelationshipLinksDeleteFuture) Result ¶
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 ¶
type RelationshipListResult struct { autorest.Response `json:"-"` // Value - Results of the list operation. Value *[]RelationshipResourceFormat `json:"value,omitempty"` // NextLink - Link to the next set of results. NextLink *string `json:"nextLink,omitempty"` }
RelationshipListResult the response of list relationship operation.
func (RelationshipListResult) IsEmpty ¶
func (rlr RelationshipListResult) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
type RelationshipListResultIterator ¶
type RelationshipListResultIterator struct {
// contains filtered or unexported fields
}
RelationshipListResultIterator provides access to a complete listing of RelationshipResourceFormat values.
func (*RelationshipListResultIterator) Next ¶
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.
func (RelationshipListResultIterator) NotDone ¶
func (iter RelationshipListResultIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (RelationshipListResultIterator) Response ¶
func (iter RelationshipListResultIterator) Response() RelationshipListResult
Response returns the raw server response from the last page request.
func (RelationshipListResultIterator) Value ¶
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 ¶
type RelationshipListResultPage struct {
// contains filtered or unexported fields
}
RelationshipListResultPage contains a page of RelationshipResourceFormat values.
func (*RelationshipListResultPage) Next ¶
func (page *RelationshipListResultPage) Next() error
Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.
func (RelationshipListResultPage) NotDone ¶
func (page RelationshipListResultPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (RelationshipListResultPage) Response ¶
func (page RelationshipListResultPage) Response() RelationshipListResult
Response returns the raw server response from the last page request.
func (RelationshipListResultPage) Values ¶
func (page RelationshipListResultPage) Values() []RelationshipResourceFormat
Values returns the slice of values for the current page or nil if there are no values.
type RelationshipResourceFormat ¶
type RelationshipResourceFormat struct { autorest.Response `json:"-"` *RelationshipDefinition `json:"properties,omitempty"` // ID - Resource ID. ID *string `json:"id,omitempty"` // Name - Resource name. Name *string `json:"name,omitempty"` // Type - Resource type. Type *string `json:"type,omitempty"` }
RelationshipResourceFormat the relationship resource format.
func (*RelationshipResourceFormat) UnmarshalJSON ¶
func (rrf *RelationshipResourceFormat) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for RelationshipResourceFormat struct.
type RelationshipTypeFieldMapping ¶
type RelationshipTypeFieldMapping struct { // ProfileFieldName - Specifies the fieldName in profile. ProfileFieldName *string `json:"profileFieldName,omitempty"` // RelatedProfileKeyProperty - Specifies the KeyProperty (from StrongId) of the related profile. RelatedProfileKeyProperty *string `json:"relatedProfileKeyProperty,omitempty"` }
RelationshipTypeFieldMapping map a field of profile to its corresponding StrongId in Related Profile.
type RelationshipTypeMapping ¶
type RelationshipTypeMapping struct { // FieldMappings - Maps a profile property with the StrongId of related profile. This is an array to support StrongIds that are composite key as well. FieldMappings *[]RelationshipTypeFieldMapping `json:"fieldMappings,omitempty"` }
RelationshipTypeMapping maps fields in Profile to their corresponding StrongIds in Related Profile.
type RelationshipsClient ¶
type RelationshipsClient struct {
BaseClient
}
RelationshipsClient is the the Azure Customer Insights management API provides a RESTful set of web services that interact with Azure Customer Insights service to manage your resources. The API has entities that capture the relationship between an end user and the Azure Customer Insights service.
func NewRelationshipsClient ¶
func NewRelationshipsClient(subscriptionID string) RelationshipsClient
NewRelationshipsClient creates an instance of the RelationshipsClient client.
func NewRelationshipsClientWithBaseURI ¶
func NewRelationshipsClientWithBaseURI(baseURI string, subscriptionID string) RelationshipsClient
NewRelationshipsClientWithBaseURI creates an instance of the RelationshipsClient client.
func (RelationshipsClient) CreateOrUpdate ¶
func (client RelationshipsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, hubName string, relationshipName string, parameters RelationshipResourceFormat) (result RelationshipsCreateOrUpdateFuture, err error)
CreateOrUpdate creates a relationship or updates an existing relationship within a hub.
resourceGroupName is the name of the resource group. hubName is the name of the hub. relationshipName is the name of the Relationship. parameters is parameters supplied to the CreateOrUpdate Relationship operation.
func (RelationshipsClient) CreateOrUpdatePreparer ¶
func (client RelationshipsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, hubName string, relationshipName string, parameters RelationshipResourceFormat) (*http.Request, error)
CreateOrUpdatePreparer prepares the CreateOrUpdate request.
func (RelationshipsClient) CreateOrUpdateResponder ¶
func (client RelationshipsClient) CreateOrUpdateResponder(resp *http.Response) (result RelationshipResourceFormat, err error)
CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.
func (RelationshipsClient) CreateOrUpdateSender ¶
func (client RelationshipsClient) CreateOrUpdateSender(req *http.Request) (future RelationshipsCreateOrUpdateFuture, err error)
CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.
func (RelationshipsClient) Delete ¶
func (client RelationshipsClient) Delete(ctx context.Context, resourceGroupName string, hubName string, relationshipName string) (result RelationshipsDeleteFuture, err error)
Delete deletes a relationship within a hub.
resourceGroupName is the name of the resource group. hubName is the name of the hub. relationshipName is the name of the relationship.
func (RelationshipsClient) DeletePreparer ¶
func (client RelationshipsClient) DeletePreparer(ctx context.Context, resourceGroupName string, hubName string, relationshipName string) (*http.Request, error)
DeletePreparer prepares the Delete request.
func (RelationshipsClient) DeleteResponder ¶
func (client RelationshipsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.
func (RelationshipsClient) DeleteSender ¶
func (client RelationshipsClient) DeleteSender(req *http.Request) (future RelationshipsDeleteFuture, err error)
DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.
func (RelationshipsClient) Get ¶
func (client RelationshipsClient) Get(ctx context.Context, resourceGroupName string, hubName string, relationshipName string) (result RelationshipResourceFormat, err error)
Get gets information about the specified relationship.
resourceGroupName is the name of the resource group. hubName is the name of the hub. relationshipName is the name of the relationship.
func (RelationshipsClient) GetPreparer ¶
func (client RelationshipsClient) GetPreparer(ctx context.Context, resourceGroupName string, hubName string, relationshipName string) (*http.Request, error)
GetPreparer prepares the Get request.
func (RelationshipsClient) GetResponder ¶
func (client RelationshipsClient) GetResponder(resp *http.Response) (result RelationshipResourceFormat, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (RelationshipsClient) GetSender ¶
GetSender sends the Get request. The method will close the http.Response Body if it receives an error.
func (RelationshipsClient) ListByHub ¶
func (client RelationshipsClient) ListByHub(ctx context.Context, resourceGroupName string, hubName string) (result RelationshipListResultPage, err error)
ListByHub gets all relationships in the hub.
resourceGroupName is the name of the resource group. hubName is the name of the hub.
func (RelationshipsClient) ListByHubComplete ¶
func (client RelationshipsClient) ListByHubComplete(ctx context.Context, resourceGroupName string, hubName string) (result RelationshipListResultIterator, err error)
ListByHubComplete enumerates all values, automatically crossing page boundaries as required.
func (RelationshipsClient) ListByHubPreparer ¶
func (client RelationshipsClient) ListByHubPreparer(ctx context.Context, resourceGroupName string, hubName string) (*http.Request, error)
ListByHubPreparer prepares the ListByHub request.
func (RelationshipsClient) ListByHubResponder ¶
func (client RelationshipsClient) ListByHubResponder(resp *http.Response) (result RelationshipListResult, err error)
ListByHubResponder handles the response to the ListByHub request. The method always closes the http.Response Body.
func (RelationshipsClient) ListByHubSender ¶
ListByHubSender sends the ListByHub request. The method will close the http.Response Body if it receives an error.
type RelationshipsCreateOrUpdateFuture ¶
type RelationshipsCreateOrUpdateFuture struct { azure.Future // contains filtered or unexported fields }
RelationshipsCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (RelationshipsCreateOrUpdateFuture) Result ¶
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 RelationshipsDeleteFuture ¶
RelationshipsDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (RelationshipsDeleteFuture) Result ¶
func (future RelationshipsDeleteFuture) Result(client RelationshipsClient) (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 RelationshipsLookup ¶
type RelationshipsLookup struct { // ProfileName - The relationship profile. ProfileName *string `json:"profileName,omitempty"` // ProfilePropertyReferences - The property references for the profile type. ProfilePropertyReferences *[]ParticipantProfilePropertyReference `json:"profilePropertyReferences,omitempty"` // RelatedProfileName - The related profile. RelatedProfileName *string `json:"relatedProfileName,omitempty"` // RelatedProfilePropertyReferences - The property references for the related profile type. RelatedProfilePropertyReferences *[]ParticipantProfilePropertyReference `json:"relatedProfilePropertyReferences,omitempty"` // ExistingRelationshipName - The name of existing Relationship. ExistingRelationshipName *string `json:"existingRelationshipName,omitempty"` }
RelationshipsLookup the definition of suggested relationship for the type.
type Resource ¶
type Resource struct { // ID - Resource ID. ID *string `json:"id,omitempty"` // Name - Resource name. Name *string `json:"name,omitempty"` // Type - Resource type. Type *string `json:"type,omitempty"` // Location - Resource location. Location *string `json:"location,omitempty"` // Tags - Resource tags. Tags map[string]*string `json:"tags"` }
Resource common properties of Azure resource.
func (Resource) MarshalJSON ¶
MarshalJSON is the custom marshaler for Resource.
type ResourceSetDescription ¶
type ResourceSetDescription struct { // Elements - The elements included in the set. Elements *[]string `json:"elements,omitempty"` // Exceptions - The elements that are not included in the set, in case elements contains '*' indicating 'all'. Exceptions *[]string `json:"exceptions,omitempty"` }
ResourceSetDescription the resource set description.
type Role ¶
type Role struct { // RoleName - The role name. RoleName *string `json:"roleName,omitempty"` // Description - The description of the role. Description *string `json:"description,omitempty"` }
Role the Role definition.
type RoleAssignment ¶
type RoleAssignment struct { // TenantID - The hub name. TenantID *string `json:"tenantId,omitempty"` // AssignmentName - The name of the metadata object. AssignmentName *string `json:"assignmentName,omitempty"` // DisplayName - Localized display names for the metadata. DisplayName map[string]*string `json:"displayName"` // Description - Localized description for the metadata. Description map[string]*string `json:"description"` // ProvisioningState - Provisioning state. Possible values include: 'ProvisioningStatesProvisioning', 'ProvisioningStatesSucceeded', 'ProvisioningStatesExpiring', 'ProvisioningStatesDeleting', 'ProvisioningStatesHumanIntervention', 'ProvisioningStatesFailed' ProvisioningState ProvisioningStates `json:"provisioningState,omitempty"` // Role - Type of roles. Possible values include: 'Admin', 'Reader', 'ManageAdmin', 'ManageReader', 'DataAdmin', 'DataReader' Role RoleTypes `json:"role,omitempty"` // Principals - The principals being assigned to. Principals *[]AssignmentPrincipal `json:"principals,omitempty"` // Profiles - Profiles set for the assignment. Profiles *ResourceSetDescription `json:"profiles,omitempty"` // Interactions - Interactions set for the assignment. Interactions *ResourceSetDescription `json:"interactions,omitempty"` // Links - Links set for the assignment. Links *ResourceSetDescription `json:"links,omitempty"` // Kpis - Kpis set for the assignment. Kpis *ResourceSetDescription `json:"kpis,omitempty"` // SasPolicies - Sas Policies set for the assignment. SasPolicies *ResourceSetDescription `json:"sasPolicies,omitempty"` // Connectors - Connectors set for the assignment. Connectors *ResourceSetDescription `json:"connectors,omitempty"` // Views - Views set for the assignment. Views *ResourceSetDescription `json:"views,omitempty"` // RelationshipLinks - The Role assignments set for the relationship links. RelationshipLinks *ResourceSetDescription `json:"relationshipLinks,omitempty"` // Relationships - The Role assignments set for the relationships. Relationships *ResourceSetDescription `json:"relationships,omitempty"` // WidgetTypes - Widget types set for the assignment. WidgetTypes *ResourceSetDescription `json:"widgetTypes,omitempty"` // RoleAssignments - The Role assignments set for the assignment. RoleAssignments *ResourceSetDescription `json:"roleAssignments,omitempty"` // ConflationPolicies - Widget types set for the assignment. ConflationPolicies *ResourceSetDescription `json:"conflationPolicies,omitempty"` // Segments - The Role assignments set for the assignment. Segments *ResourceSetDescription `json:"segments,omitempty"` }
RoleAssignment the Role Assignment definition.
func (RoleAssignment) MarshalJSON ¶
func (ra RoleAssignment) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for RoleAssignment.
type RoleAssignmentListResult ¶
type RoleAssignmentListResult struct { autorest.Response `json:"-"` // Value - Results of the list operation. Value *[]RoleAssignmentResourceFormat `json:"value,omitempty"` // NextLink - Link to the next set of results. NextLink *string `json:"nextLink,omitempty"` }
RoleAssignmentListResult the response of list role assignment operation.
func (RoleAssignmentListResult) IsEmpty ¶
func (ralr RoleAssignmentListResult) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
type RoleAssignmentListResultIterator ¶
type RoleAssignmentListResultIterator struct {
// contains filtered or unexported fields
}
RoleAssignmentListResultIterator provides access to a complete listing of RoleAssignmentResourceFormat values.
func (*RoleAssignmentListResultIterator) Next ¶
func (iter *RoleAssignmentListResultIterator) Next() error
Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.
func (RoleAssignmentListResultIterator) NotDone ¶
func (iter RoleAssignmentListResultIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (RoleAssignmentListResultIterator) Response ¶
func (iter RoleAssignmentListResultIterator) Response() RoleAssignmentListResult
Response returns the raw server response from the last page request.
func (RoleAssignmentListResultIterator) Value ¶
func (iter RoleAssignmentListResultIterator) Value() RoleAssignmentResourceFormat
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
type RoleAssignmentListResultPage ¶
type RoleAssignmentListResultPage struct {
// contains filtered or unexported fields
}
RoleAssignmentListResultPage contains a page of RoleAssignmentResourceFormat values.
func (*RoleAssignmentListResultPage) Next ¶
func (page *RoleAssignmentListResultPage) Next() error
Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.
func (RoleAssignmentListResultPage) NotDone ¶
func (page RoleAssignmentListResultPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (RoleAssignmentListResultPage) Response ¶
func (page RoleAssignmentListResultPage) Response() RoleAssignmentListResult
Response returns the raw server response from the last page request.
func (RoleAssignmentListResultPage) Values ¶
func (page RoleAssignmentListResultPage) Values() []RoleAssignmentResourceFormat
Values returns the slice of values for the current page or nil if there are no values.
type RoleAssignmentResourceFormat ¶
type RoleAssignmentResourceFormat struct { autorest.Response `json:"-"` *RoleAssignment `json:"properties,omitempty"` // ID - Resource ID. ID *string `json:"id,omitempty"` // Name - Resource name. Name *string `json:"name,omitempty"` // Type - Resource type. Type *string `json:"type,omitempty"` }
RoleAssignmentResourceFormat the Role Assignment resource format.
func (*RoleAssignmentResourceFormat) UnmarshalJSON ¶
func (rarf *RoleAssignmentResourceFormat) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for RoleAssignmentResourceFormat struct.
type RoleAssignmentsClient ¶
type RoleAssignmentsClient struct {
BaseClient
}
RoleAssignmentsClient is the the Azure Customer Insights management API provides a RESTful set of web services that interact with Azure Customer Insights service to manage your resources. The API has entities that capture the relationship between an end user and the Azure Customer Insights service.
func NewRoleAssignmentsClient ¶
func NewRoleAssignmentsClient(subscriptionID string) RoleAssignmentsClient
NewRoleAssignmentsClient creates an instance of the RoleAssignmentsClient client.
func NewRoleAssignmentsClientWithBaseURI ¶
func NewRoleAssignmentsClientWithBaseURI(baseURI string, subscriptionID string) RoleAssignmentsClient
NewRoleAssignmentsClientWithBaseURI creates an instance of the RoleAssignmentsClient client.
func (RoleAssignmentsClient) CreateOrUpdate ¶
func (client RoleAssignmentsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, hubName string, assignmentName string, parameters RoleAssignmentResourceFormat) (result RoleAssignmentsCreateOrUpdateFuture, err error)
CreateOrUpdate creates or updates a role assignment in the hub.
resourceGroupName is the name of the resource group. hubName is the name of the hub. assignmentName is the assignment name parameters is parameters supplied to the CreateOrUpdate RoleAssignment operation.
func (RoleAssignmentsClient) CreateOrUpdatePreparer ¶
func (client RoleAssignmentsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, hubName string, assignmentName string, parameters RoleAssignmentResourceFormat) (*http.Request, error)
CreateOrUpdatePreparer prepares the CreateOrUpdate request.
func (RoleAssignmentsClient) CreateOrUpdateResponder ¶
func (client RoleAssignmentsClient) CreateOrUpdateResponder(resp *http.Response) (result RoleAssignmentResourceFormat, err error)
CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.
func (RoleAssignmentsClient) CreateOrUpdateSender ¶
func (client RoleAssignmentsClient) CreateOrUpdateSender(req *http.Request) (future RoleAssignmentsCreateOrUpdateFuture, err error)
CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.
func (RoleAssignmentsClient) Delete ¶
func (client RoleAssignmentsClient) Delete(ctx context.Context, resourceGroupName string, hubName string, assignmentName string) (result autorest.Response, err error)
Delete deletes the role assignment in the hub.
resourceGroupName is the name of the resource group. hubName is the name of the hub. assignmentName is the name of the role assignment.
func (RoleAssignmentsClient) DeletePreparer ¶
func (client RoleAssignmentsClient) DeletePreparer(ctx context.Context, resourceGroupName string, hubName string, assignmentName string) (*http.Request, error)
DeletePreparer prepares the Delete request.
func (RoleAssignmentsClient) DeleteResponder ¶
func (client RoleAssignmentsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.
func (RoleAssignmentsClient) DeleteSender ¶
DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.
func (RoleAssignmentsClient) Get ¶
func (client RoleAssignmentsClient) Get(ctx context.Context, resourceGroupName string, hubName string, assignmentName string) (result RoleAssignmentResourceFormat, err error)
Get gets the role assignment in the hub.
resourceGroupName is the name of the resource group. hubName is the name of the hub. assignmentName is the name of the role assignment.
func (RoleAssignmentsClient) GetPreparer ¶
func (client RoleAssignmentsClient) GetPreparer(ctx context.Context, resourceGroupName string, hubName string, assignmentName string) (*http.Request, error)
GetPreparer prepares the Get request.
func (RoleAssignmentsClient) GetResponder ¶
func (client RoleAssignmentsClient) GetResponder(resp *http.Response) (result RoleAssignmentResourceFormat, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (RoleAssignmentsClient) GetSender ¶
GetSender sends the Get request. The method will close the http.Response Body if it receives an error.
func (RoleAssignmentsClient) ListByHub ¶
func (client RoleAssignmentsClient) ListByHub(ctx context.Context, resourceGroupName string, hubName string) (result RoleAssignmentListResultPage, err error)
ListByHub gets all the role assignments for the specified hub.
resourceGroupName is the name of the resource group. hubName is the name of the hub.
func (RoleAssignmentsClient) ListByHubComplete ¶
func (client RoleAssignmentsClient) ListByHubComplete(ctx context.Context, resourceGroupName string, hubName string) (result RoleAssignmentListResultIterator, err error)
ListByHubComplete enumerates all values, automatically crossing page boundaries as required.
func (RoleAssignmentsClient) ListByHubPreparer ¶
func (client RoleAssignmentsClient) ListByHubPreparer(ctx context.Context, resourceGroupName string, hubName string) (*http.Request, error)
ListByHubPreparer prepares the ListByHub request.
func (RoleAssignmentsClient) ListByHubResponder ¶
func (client RoleAssignmentsClient) ListByHubResponder(resp *http.Response) (result RoleAssignmentListResult, err error)
ListByHubResponder handles the response to the ListByHub request. The method always closes the http.Response Body.
func (RoleAssignmentsClient) ListByHubSender ¶
ListByHubSender sends the ListByHub request. The method will close the http.Response Body if it receives an error.
type RoleAssignmentsCreateOrUpdateFuture ¶
type RoleAssignmentsCreateOrUpdateFuture struct { azure.Future // contains filtered or unexported fields }
RoleAssignmentsCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (RoleAssignmentsCreateOrUpdateFuture) Result ¶
func (future RoleAssignmentsCreateOrUpdateFuture) Result(client RoleAssignmentsClient) (rarf RoleAssignmentResourceFormat, err error)
Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.
type RoleListResult ¶
type RoleListResult struct { autorest.Response `json:"-"` // Value - Results of the list operation. Value *[]RoleResourceFormat `json:"value,omitempty"` // NextLink - Link to the next set of results. NextLink *string `json:"nextLink,omitempty"` }
RoleListResult the response of list role assignment operation.
func (RoleListResult) IsEmpty ¶
func (rlr RoleListResult) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
type RoleListResultIterator ¶
type RoleListResultIterator struct {
// contains filtered or unexported fields
}
RoleListResultIterator provides access to a complete listing of RoleResourceFormat values.
func (*RoleListResultIterator) Next ¶
func (iter *RoleListResultIterator) Next() error
Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.
func (RoleListResultIterator) NotDone ¶
func (iter RoleListResultIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (RoleListResultIterator) Response ¶
func (iter RoleListResultIterator) Response() RoleListResult
Response returns the raw server response from the last page request.
func (RoleListResultIterator) Value ¶
func (iter RoleListResultIterator) Value() RoleResourceFormat
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
type RoleListResultPage ¶
type RoleListResultPage struct {
// contains filtered or unexported fields
}
RoleListResultPage contains a page of RoleResourceFormat values.
func (*RoleListResultPage) Next ¶
func (page *RoleListResultPage) Next() error
Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.
func (RoleListResultPage) NotDone ¶
func (page RoleListResultPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (RoleListResultPage) Response ¶
func (page RoleListResultPage) Response() RoleListResult
Response returns the raw server response from the last page request.
func (RoleListResultPage) Values ¶
func (page RoleListResultPage) Values() []RoleResourceFormat
Values returns the slice of values for the current page or nil if there are no values.
type RoleResourceFormat ¶
type RoleResourceFormat struct { *Role `json:"properties,omitempty"` // ID - Resource ID. ID *string `json:"id,omitempty"` // Name - Resource name. Name *string `json:"name,omitempty"` // Type - Resource type. Type *string `json:"type,omitempty"` }
RoleResourceFormat the role resource format.
func (*RoleResourceFormat) UnmarshalJSON ¶
func (rrf *RoleResourceFormat) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for RoleResourceFormat struct.
type RoleTypes ¶
type RoleTypes string
RoleTypes enumerates the values for role types.
const ( // Admin ... Admin RoleTypes = "Admin" // DataAdmin ... DataAdmin RoleTypes = "DataAdmin" // DataReader ... DataReader RoleTypes = "DataReader" // ManageAdmin ... ManageAdmin RoleTypes = "ManageAdmin" // ManageReader ... ManageReader RoleTypes = "ManageReader" // Reader ... Reader RoleTypes = "Reader" )
type RolesClient ¶
type RolesClient struct {
BaseClient
}
RolesClient is the the Azure Customer Insights management API provides a RESTful set of web services that interact with Azure Customer Insights service to manage your resources. The API has entities that capture the relationship between an end user and the Azure Customer Insights service.
func NewRolesClient ¶
func NewRolesClient(subscriptionID string) RolesClient
NewRolesClient creates an instance of the RolesClient client.
func NewRolesClientWithBaseURI ¶
func NewRolesClientWithBaseURI(baseURI string, subscriptionID string) RolesClient
NewRolesClientWithBaseURI creates an instance of the RolesClient client.
func (RolesClient) ListByHub ¶
func (client RolesClient) ListByHub(ctx context.Context, resourceGroupName string, hubName string) (result RoleListResultPage, err error)
ListByHub gets all the roles for the hub.
resourceGroupName is the name of the resource group. hubName is the name of the hub.
func (RolesClient) ListByHubComplete ¶
func (client RolesClient) ListByHubComplete(ctx context.Context, resourceGroupName string, hubName string) (result RoleListResultIterator, err error)
ListByHubComplete enumerates all values, automatically crossing page boundaries as required.
func (RolesClient) ListByHubPreparer ¶
func (client RolesClient) ListByHubPreparer(ctx context.Context, resourceGroupName string, hubName string) (*http.Request, error)
ListByHubPreparer prepares the ListByHub request.
func (RolesClient) ListByHubResponder ¶
func (client RolesClient) ListByHubResponder(resp *http.Response) (result RoleListResult, err error)
ListByHubResponder handles the response to the ListByHub request. The method always closes the http.Response Body.
func (RolesClient) ListByHubSender ¶
ListByHubSender sends the ListByHub request. The method will close the http.Response Body if it receives an error.
type SalesforceConnectorProperties ¶
type SalesforceConnectorProperties struct { // Usersetting - The user settings. Usersetting *SalesforceDiscoverSetting `json:"usersetting,omitempty"` // Salesforcetables - The Salesforce tables. Salesforcetables *[]SalesforceTable `json:"salesforcetables,omitempty"` }
SalesforceConnectorProperties the Salesforce connector properties.
type SalesforceDiscoverSetting ¶
type SalesforceDiscoverSetting struct { // SalesforceConnectionStringSecretURL - The salesforce connection string secret URL. SalesforceConnectionStringSecretURL *string `json:"salesforceConnectionStringSecretUrl,omitempty"` }
SalesforceDiscoverSetting salesforce discover setting.
type SalesforceTable ¶
type SalesforceTable struct { // IsProfile - Indicating whether this instance is profile. IsProfile *string `json:"isProfile,omitempty"` // TableCategory - The table category. TableCategory *string `json:"tableCategory,omitempty"` // TableName - The name of the table. TableName *string `json:"tableName,omitempty"` // TableRemarks - The table remarks. TableRemarks *string `json:"tableRemarks,omitempty"` // TableSchema - The table schema. TableSchema *string `json:"tableSchema,omitempty"` }
SalesforceTable salesforce table.
type StrongID ¶
type StrongID struct { // KeyPropertyNames - The properties which make up the unique ID. KeyPropertyNames *[]string `json:"keyPropertyNames,omitempty"` // StrongIDName - The Name identifying the strong ID. StrongIDName *string `json:"strongIdName,omitempty"` // DisplayName - Localized display name. DisplayName map[string]*string `json:"displayName"` // Description - Localized descriptions. Description map[string]*string `json:"description"` }
StrongID property/Properties which represent a unique ID.
func (StrongID) MarshalJSON ¶
MarshalJSON is the custom marshaler for StrongID.
type SuggestRelationshipLinksResponse ¶
type SuggestRelationshipLinksResponse struct { autorest.Response `json:"-"` // InteractionName - The interaction name. InteractionName *string `json:"interactionName,omitempty"` // SuggestedRelationships - Suggested relationships for the type. SuggestedRelationships *[]RelationshipsLookup `json:"suggestedRelationships,omitempty"` }
SuggestRelationshipLinksResponse the response of suggest relationship links operation.
type TypePropertiesMapping ¶
type TypePropertiesMapping struct { // SourcePropertyName - Property name on the source Entity Type. SourcePropertyName *string `json:"sourcePropertyName,omitempty"` // TargetPropertyName - Property name on the target Entity Type. TargetPropertyName *string `json:"targetPropertyName,omitempty"` // LinkType - Link type. Possible values include: 'UpdateAlways', 'CopyIfNull' LinkType LinkTypes `json:"linkType,omitempty"` }
TypePropertiesMapping metadata for a Link's property mapping.
type View ¶
type View struct { // ViewName - Name of the view. ViewName *string `json:"viewName,omitempty"` // UserID - the user ID. UserID *string `json:"userId,omitempty"` // TenantID - the hub name. TenantID *string `json:"tenantId,omitempty"` // DisplayName - Localized display name for the view. DisplayName map[string]*string `json:"displayName"` // Definition - View definition. Definition *string `json:"definition,omitempty"` // Changed - Date time when view was last modified. Changed *date.Time `json:"changed,omitempty"` // Created - Date time when view was created. Created *date.Time `json:"created,omitempty"` }
View the view in Customer 360 web application.
func (View) MarshalJSON ¶
MarshalJSON is the custom marshaler for View.
type ViewListResult ¶
type ViewListResult struct { autorest.Response `json:"-"` // Value - Results of the list operation. Value *[]ViewResourceFormat `json:"value,omitempty"` // NextLink - Link to the next set of results. NextLink *string `json:"nextLink,omitempty"` }
ViewListResult the response of list view operation.
func (ViewListResult) IsEmpty ¶
func (vlr ViewListResult) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
type ViewListResultIterator ¶
type ViewListResultIterator struct {
// contains filtered or unexported fields
}
ViewListResultIterator provides access to a complete listing of ViewResourceFormat values.
func (*ViewListResultIterator) Next ¶
func (iter *ViewListResultIterator) Next() error
Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.
func (ViewListResultIterator) NotDone ¶
func (iter ViewListResultIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (ViewListResultIterator) Response ¶
func (iter ViewListResultIterator) Response() ViewListResult
Response returns the raw server response from the last page request.
func (ViewListResultIterator) Value ¶
func (iter ViewListResultIterator) Value() ViewResourceFormat
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
type ViewListResultPage ¶
type ViewListResultPage struct {
// contains filtered or unexported fields
}
ViewListResultPage contains a page of ViewResourceFormat values.
func (*ViewListResultPage) Next ¶
func (page *ViewListResultPage) Next() error
Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.
func (ViewListResultPage) NotDone ¶
func (page ViewListResultPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (ViewListResultPage) Response ¶
func (page ViewListResultPage) Response() ViewListResult
Response returns the raw server response from the last page request.
func (ViewListResultPage) Values ¶
func (page ViewListResultPage) Values() []ViewResourceFormat
Values returns the slice of values for the current page or nil if there are no values.
type ViewResourceFormat ¶
type ViewResourceFormat struct { autorest.Response `json:"-"` *View `json:"properties,omitempty"` // ID - Resource ID. ID *string `json:"id,omitempty"` // Name - Resource name. Name *string `json:"name,omitempty"` // Type - Resource type. Type *string `json:"type,omitempty"` }
ViewResourceFormat the view resource format.
func (*ViewResourceFormat) UnmarshalJSON ¶
func (vrf *ViewResourceFormat) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for ViewResourceFormat struct.
type ViewsClient ¶
type ViewsClient struct {
BaseClient
}
ViewsClient is the the Azure Customer Insights management API provides a RESTful set of web services that interact with Azure Customer Insights service to manage your resources. The API has entities that capture the relationship between an end user and the Azure Customer Insights service.
func NewViewsClient ¶
func NewViewsClient(subscriptionID string) ViewsClient
NewViewsClient creates an instance of the ViewsClient client.
func NewViewsClientWithBaseURI ¶
func NewViewsClientWithBaseURI(baseURI string, subscriptionID string) ViewsClient
NewViewsClientWithBaseURI creates an instance of the ViewsClient client.
func (ViewsClient) CreateOrUpdate ¶
func (client ViewsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, hubName string, viewName string, parameters ViewResourceFormat) (result ViewResourceFormat, err error)
CreateOrUpdate creates a view or updates an exisiting view in the hub.
resourceGroupName is the name of the resource group. hubName is the name of the hub. viewName is the name of the view. parameters is parameters supplied to the CreateOrUpdate View operation.
func (ViewsClient) CreateOrUpdatePreparer ¶
func (client ViewsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, hubName string, viewName string, parameters ViewResourceFormat) (*http.Request, error)
CreateOrUpdatePreparer prepares the CreateOrUpdate request.
func (ViewsClient) CreateOrUpdateResponder ¶
func (client ViewsClient) CreateOrUpdateResponder(resp *http.Response) (result ViewResourceFormat, err error)
CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.
func (ViewsClient) CreateOrUpdateSender ¶
CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.
func (ViewsClient) Delete ¶
func (client ViewsClient) Delete(ctx context.Context, resourceGroupName string, hubName string, viewName string, userID string) (result autorest.Response, err error)
Delete deletes a view in the specified hub.
resourceGroupName is the name of the resource group. hubName is the name of the hub. viewName is the name of the view. userID is the user ID. Use * to retreive hub level view.
func (ViewsClient) DeletePreparer ¶
func (client ViewsClient) DeletePreparer(ctx context.Context, resourceGroupName string, hubName string, viewName string, userID string) (*http.Request, error)
DeletePreparer prepares the Delete request.
func (ViewsClient) DeleteResponder ¶
func (client ViewsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.
func (ViewsClient) DeleteSender ¶
DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.
func (ViewsClient) Get ¶
func (client ViewsClient) Get(ctx context.Context, resourceGroupName string, hubName string, viewName string, userID string) (result ViewResourceFormat, err error)
Get gets a view in the hub.
resourceGroupName is the name of the resource group. hubName is the name of the hub. viewName is the name of the view. userID is the user ID. Use * to retreive hub level view.
func (ViewsClient) GetPreparer ¶
func (client ViewsClient) GetPreparer(ctx context.Context, resourceGroupName string, hubName string, viewName string, userID string) (*http.Request, error)
GetPreparer prepares the Get request.
func (ViewsClient) GetResponder ¶
func (client ViewsClient) GetResponder(resp *http.Response) (result ViewResourceFormat, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (ViewsClient) GetSender ¶
GetSender sends the Get request. The method will close the http.Response Body if it receives an error.
func (ViewsClient) ListByHub ¶
func (client ViewsClient) ListByHub(ctx context.Context, resourceGroupName string, hubName string, userID string) (result ViewListResultPage, err error)
ListByHub gets all available views for given user in the specified hub.
resourceGroupName is the name of the resource group. hubName is the name of the hub. userID is the user ID. Use * to retreive hub level views.
func (ViewsClient) ListByHubComplete ¶
func (client ViewsClient) ListByHubComplete(ctx context.Context, resourceGroupName string, hubName string, userID string) (result ViewListResultIterator, err error)
ListByHubComplete enumerates all values, automatically crossing page boundaries as required.
func (ViewsClient) ListByHubPreparer ¶
func (client ViewsClient) ListByHubPreparer(ctx context.Context, resourceGroupName string, hubName string, userID string) (*http.Request, error)
ListByHubPreparer prepares the ListByHub request.
func (ViewsClient) ListByHubResponder ¶
func (client ViewsClient) ListByHubResponder(resp *http.Response) (result ViewListResult, err error)
ListByHubResponder handles the response to the ListByHub request. The method always closes the http.Response Body.
func (ViewsClient) ListByHubSender ¶
ListByHubSender sends the ListByHub request. The method will close the http.Response Body if it receives an error.
type WidgetType ¶
type WidgetType struct { // WidgetTypeName - Name of the widget type. WidgetTypeName *string `json:"widgetTypeName,omitempty"` // Definition - Definition for widget type. Definition *string `json:"definition,omitempty"` // Description - Description for widget type. Description *string `json:"description,omitempty"` // DisplayName - Localized display name for the widget type. DisplayName map[string]*string `json:"displayName"` // ImageURL - The image URL. ImageURL *string `json:"imageUrl,omitempty"` // TenantID - The hub name. TenantID *string `json:"tenantId,omitempty"` // WidgetVersion - The widget version. WidgetVersion *string `json:"widgetVersion,omitempty"` // Changed - Date time when widget type was last modified. Changed *date.Time `json:"changed,omitempty"` // Created - Date time when widget type was created. Created *date.Time `json:"created,omitempty"` }
WidgetType definition of WidgetType.
func (WidgetType) MarshalJSON ¶
func (wt WidgetType) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for WidgetType.
type WidgetTypeListResult ¶
type WidgetTypeListResult struct { autorest.Response `json:"-"` // Value - Results of the list operation. Value *[]WidgetTypeResourceFormat `json:"value,omitempty"` // NextLink - Link to the next set of results. NextLink *string `json:"nextLink,omitempty"` }
WidgetTypeListResult the response of list widget type operation.
func (WidgetTypeListResult) IsEmpty ¶
func (wtlr WidgetTypeListResult) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
type WidgetTypeListResultIterator ¶
type WidgetTypeListResultIterator struct {
// contains filtered or unexported fields
}
WidgetTypeListResultIterator provides access to a complete listing of WidgetTypeResourceFormat values.
func (*WidgetTypeListResultIterator) Next ¶
func (iter *WidgetTypeListResultIterator) Next() error
Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.
func (WidgetTypeListResultIterator) NotDone ¶
func (iter WidgetTypeListResultIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (WidgetTypeListResultIterator) Response ¶
func (iter WidgetTypeListResultIterator) Response() WidgetTypeListResult
Response returns the raw server response from the last page request.
func (WidgetTypeListResultIterator) Value ¶
func (iter WidgetTypeListResultIterator) Value() WidgetTypeResourceFormat
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
type WidgetTypeListResultPage ¶
type WidgetTypeListResultPage struct {
// contains filtered or unexported fields
}
WidgetTypeListResultPage contains a page of WidgetTypeResourceFormat values.
func (*WidgetTypeListResultPage) Next ¶
func (page *WidgetTypeListResultPage) Next() error
Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.
func (WidgetTypeListResultPage) NotDone ¶
func (page WidgetTypeListResultPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (WidgetTypeListResultPage) Response ¶
func (page WidgetTypeListResultPage) Response() WidgetTypeListResult
Response returns the raw server response from the last page request.
func (WidgetTypeListResultPage) Values ¶
func (page WidgetTypeListResultPage) Values() []WidgetTypeResourceFormat
Values returns the slice of values for the current page or nil if there are no values.
type WidgetTypeResourceFormat ¶
type WidgetTypeResourceFormat struct { autorest.Response `json:"-"` *WidgetType `json:"properties,omitempty"` // ID - Resource ID. ID *string `json:"id,omitempty"` // Name - Resource name. Name *string `json:"name,omitempty"` // Type - Resource type. Type *string `json:"type,omitempty"` }
WidgetTypeResourceFormat the WidgetTypeResourceFormat
func (*WidgetTypeResourceFormat) UnmarshalJSON ¶
func (wtrf *WidgetTypeResourceFormat) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for WidgetTypeResourceFormat struct.
type WidgetTypesClient ¶
type WidgetTypesClient struct {
BaseClient
}
WidgetTypesClient is the the Azure Customer Insights management API provides a RESTful set of web services that interact with Azure Customer Insights service to manage your resources. The API has entities that capture the relationship between an end user and the Azure Customer Insights service.
func NewWidgetTypesClient ¶
func NewWidgetTypesClient(subscriptionID string) WidgetTypesClient
NewWidgetTypesClient creates an instance of the WidgetTypesClient client.
func NewWidgetTypesClientWithBaseURI ¶
func NewWidgetTypesClientWithBaseURI(baseURI string, subscriptionID string) WidgetTypesClient
NewWidgetTypesClientWithBaseURI creates an instance of the WidgetTypesClient client.
func (WidgetTypesClient) Get ¶
func (client WidgetTypesClient) Get(ctx context.Context, resourceGroupName string, hubName string, widgetTypeName string) (result WidgetTypeResourceFormat, err error)
Get gets a widget type in the specified hub.
resourceGroupName is the name of the resource group. hubName is the name of the hub. widgetTypeName is the name of the widget type.
func (WidgetTypesClient) GetPreparer ¶
func (client WidgetTypesClient) GetPreparer(ctx context.Context, resourceGroupName string, hubName string, widgetTypeName string) (*http.Request, error)
GetPreparer prepares the Get request.
func (WidgetTypesClient) GetResponder ¶
func (client WidgetTypesClient) GetResponder(resp *http.Response) (result WidgetTypeResourceFormat, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (WidgetTypesClient) GetSender ¶
GetSender sends the Get request. The method will close the http.Response Body if it receives an error.
func (WidgetTypesClient) ListByHub ¶
func (client WidgetTypesClient) ListByHub(ctx context.Context, resourceGroupName string, hubName string) (result WidgetTypeListResultPage, err error)
ListByHub gets all available widget types in the specified hub.
resourceGroupName is the name of the resource group. hubName is the name of the hub.
func (WidgetTypesClient) ListByHubComplete ¶
func (client WidgetTypesClient) ListByHubComplete(ctx context.Context, resourceGroupName string, hubName string) (result WidgetTypeListResultIterator, err error)
ListByHubComplete enumerates all values, automatically crossing page boundaries as required.
func (WidgetTypesClient) ListByHubPreparer ¶
func (client WidgetTypesClient) ListByHubPreparer(ctx context.Context, resourceGroupName string, hubName string) (*http.Request, error)
ListByHubPreparer prepares the ListByHub request.
func (WidgetTypesClient) ListByHubResponder ¶
func (client WidgetTypesClient) ListByHubResponder(resp *http.Response) (result WidgetTypeListResult, err error)
ListByHubResponder handles the response to the ListByHub request. The method always closes the http.Response Body.
func (WidgetTypesClient) ListByHubSender ¶
ListByHubSender sends the ListByHub request. The method will close the http.Response Body if it receives an error.