azure-sdk-for-go: github.com/Azure/azure-sdk-for-go/services/timeseriesinsights/mgmt/2017-11-15/timeseriesinsights Index | Files | Directories

package timeseriesinsights

import "github.com/Azure/azure-sdk-for-go/services/timeseriesinsights/mgmt/2017-11-15/timeseriesinsights"

Package timeseriesinsights implements the Azure ARM Timeseriesinsights service API version 2017-11-15.

Time Series Insights client

Index

Package Files

accesspolicies.go client.go environments.go eventsources.go models.go operations.go referencedatasets.go version.go

Constants

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

func UserAgent Uses

func UserAgent() string

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

func Version Uses

func Version() string

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

type AccessPoliciesClient Uses

type AccessPoliciesClient struct {
    BaseClient
}

AccessPoliciesClient is the time Series Insights client

func NewAccessPoliciesClient Uses

func NewAccessPoliciesClient(subscriptionID string) AccessPoliciesClient

NewAccessPoliciesClient creates an instance of the AccessPoliciesClient client.

func NewAccessPoliciesClientWithBaseURI Uses

func NewAccessPoliciesClientWithBaseURI(baseURI string, subscriptionID string) AccessPoliciesClient

NewAccessPoliciesClientWithBaseURI creates an instance of the AccessPoliciesClient client.

func (AccessPoliciesClient) CreateOrUpdate Uses

func (client AccessPoliciesClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, environmentName string, accessPolicyName string, parameters AccessPolicyCreateOrUpdateParameters) (result AccessPolicyResource, err error)

CreateOrUpdate create or update an access policy in the specified environment. Parameters: resourceGroupName - name of an Azure Resource group. environmentName - the name of the Time Series Insights environment associated with the specified resource group. accessPolicyName - name of the access policy. parameters - parameters for creating an access policy.

func (AccessPoliciesClient) CreateOrUpdatePreparer Uses

func (client AccessPoliciesClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, environmentName string, accessPolicyName string, parameters AccessPolicyCreateOrUpdateParameters) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (AccessPoliciesClient) CreateOrUpdateResponder Uses

func (client AccessPoliciesClient) CreateOrUpdateResponder(resp *http.Response) (result AccessPolicyResource, err error)

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

func (AccessPoliciesClient) CreateOrUpdateSender Uses

func (client AccessPoliciesClient) 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 (AccessPoliciesClient) Delete Uses

func (client AccessPoliciesClient) Delete(ctx context.Context, resourceGroupName string, environmentName string, accessPolicyName string) (result autorest.Response, err error)

Delete deletes the access policy with the specified name in the specified subscription, resource group, and environment Parameters: resourceGroupName - name of an Azure Resource group. environmentName - the name of the Time Series Insights environment associated with the specified resource group. accessPolicyName - the name of the Time Series Insights access policy associated with the specified environment.

func (AccessPoliciesClient) DeletePreparer Uses

func (client AccessPoliciesClient) DeletePreparer(ctx context.Context, resourceGroupName string, environmentName string, accessPolicyName string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (AccessPoliciesClient) DeleteResponder Uses

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

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

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

func (AccessPoliciesClient) Get Uses

func (client AccessPoliciesClient) Get(ctx context.Context, resourceGroupName string, environmentName string, accessPolicyName string) (result AccessPolicyResource, err error)

Get gets the access policy with the specified name in the specified environment. Parameters: resourceGroupName - name of an Azure Resource group. environmentName - the name of the Time Series Insights environment associated with the specified resource group. accessPolicyName - the name of the Time Series Insights access policy associated with the specified environment.

func (AccessPoliciesClient) GetPreparer Uses

func (client AccessPoliciesClient) GetPreparer(ctx context.Context, resourceGroupName string, environmentName string, accessPolicyName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (AccessPoliciesClient) GetResponder Uses

func (client AccessPoliciesClient) GetResponder(resp *http.Response) (result AccessPolicyResource, err error)

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

func (AccessPoliciesClient) GetSender Uses

func (client AccessPoliciesClient) GetSender(req *http.Request) (*http.Response, error)

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

func (AccessPoliciesClient) ListByEnvironment Uses

func (client AccessPoliciesClient) ListByEnvironment(ctx context.Context, resourceGroupName string, environmentName string) (result AccessPolicyListResponse, err error)

ListByEnvironment lists all the available access policies associated with the environment. Parameters: resourceGroupName - name of an Azure Resource group. environmentName - the name of the Time Series Insights environment associated with the specified resource group.

func (AccessPoliciesClient) ListByEnvironmentPreparer Uses

func (client AccessPoliciesClient) ListByEnvironmentPreparer(ctx context.Context, resourceGroupName string, environmentName string) (*http.Request, error)

ListByEnvironmentPreparer prepares the ListByEnvironment request.

func (AccessPoliciesClient) ListByEnvironmentResponder Uses

func (client AccessPoliciesClient) ListByEnvironmentResponder(resp *http.Response) (result AccessPolicyListResponse, err error)

ListByEnvironmentResponder handles the response to the ListByEnvironment request. The method always closes the http.Response Body.

func (AccessPoliciesClient) ListByEnvironmentSender Uses

func (client AccessPoliciesClient) ListByEnvironmentSender(req *http.Request) (*http.Response, error)

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

func (AccessPoliciesClient) Update Uses

func (client AccessPoliciesClient) Update(ctx context.Context, resourceGroupName string, environmentName string, accessPolicyName string, accessPolicyUpdateParameters AccessPolicyUpdateParameters) (result AccessPolicyResource, err error)

Update updates the access policy with the specified name in the specified subscription, resource group, and environment. Parameters: resourceGroupName - name of an Azure Resource group. environmentName - the name of the Time Series Insights environment associated with the specified resource group. accessPolicyName - the name of the Time Series Insights access policy associated with the specified environment. accessPolicyUpdateParameters - request object that contains the updated information for the access policy.

func (AccessPoliciesClient) UpdatePreparer Uses

func (client AccessPoliciesClient) UpdatePreparer(ctx context.Context, resourceGroupName string, environmentName string, accessPolicyName string, accessPolicyUpdateParameters AccessPolicyUpdateParameters) (*http.Request, error)

UpdatePreparer prepares the Update request.

func (AccessPoliciesClient) UpdateResponder Uses

func (client AccessPoliciesClient) UpdateResponder(resp *http.Response) (result AccessPolicyResource, err error)

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

func (AccessPoliciesClient) UpdateSender Uses

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

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

type AccessPolicyCreateOrUpdateParameters Uses

type AccessPolicyCreateOrUpdateParameters struct {
    *AccessPolicyResourceProperties `json:"properties,omitempty"`
}

AccessPolicyCreateOrUpdateParameters ...

func (AccessPolicyCreateOrUpdateParameters) MarshalJSON Uses

func (apcoup AccessPolicyCreateOrUpdateParameters) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for AccessPolicyCreateOrUpdateParameters.

func (*AccessPolicyCreateOrUpdateParameters) UnmarshalJSON Uses

func (apcoup *AccessPolicyCreateOrUpdateParameters) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for AccessPolicyCreateOrUpdateParameters struct.

type AccessPolicyListResponse Uses

type AccessPolicyListResponse struct {
    autorest.Response `json:"-"`
    // Value - Result of the List access policies operation.
    Value *[]AccessPolicyResource `json:"value,omitempty"`
}

AccessPolicyListResponse the response of the List access policies operation.

type AccessPolicyMutableProperties Uses

type AccessPolicyMutableProperties struct {
    // Description - An description of the access policy.
    Description *string `json:"description,omitempty"`
    // Roles - The list of roles the principal is assigned on the environment.
    Roles *[]AccessPolicyRole `json:"roles,omitempty"`
}

AccessPolicyMutableProperties an object that represents a set of mutable access policy resource properties.

type AccessPolicyResource Uses

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

AccessPolicyResource an access policy is used to grant users and applications access to the environment. Roles are assigned to service principals in Azure Active Directory. These roles define the actions the principal can perform through the Time Series Insights data plane APIs.

func (AccessPolicyResource) MarshalJSON Uses

func (apr AccessPolicyResource) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for AccessPolicyResource.

func (*AccessPolicyResource) UnmarshalJSON Uses

func (apr *AccessPolicyResource) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for AccessPolicyResource struct.

type AccessPolicyResourceProperties Uses

type AccessPolicyResourceProperties struct {
    // PrincipalObjectID - The objectId of the principal in Azure Active Directory.
    PrincipalObjectID *string `json:"principalObjectId,omitempty"`
    // Description - An description of the access policy.
    Description *string `json:"description,omitempty"`
    // Roles - The list of roles the principal is assigned on the environment.
    Roles *[]AccessPolicyRole `json:"roles,omitempty"`
}

AccessPolicyResourceProperties ...

type AccessPolicyRole Uses

type AccessPolicyRole string

AccessPolicyRole enumerates the values for access policy role.

const (
    // Contributor ...
    Contributor AccessPolicyRole = "Contributor"
    // Reader ...
    Reader AccessPolicyRole = "Reader"
)

func PossibleAccessPolicyRoleValues Uses

func PossibleAccessPolicyRoleValues() []AccessPolicyRole

PossibleAccessPolicyRoleValues returns an array of possible values for the AccessPolicyRole const type.

type AccessPolicyUpdateParameters Uses

type AccessPolicyUpdateParameters struct {
    *AccessPolicyMutableProperties `json:"properties,omitempty"`
}

AccessPolicyUpdateParameters ...

func (AccessPolicyUpdateParameters) MarshalJSON Uses

func (apup AccessPolicyUpdateParameters) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for AccessPolicyUpdateParameters.

func (*AccessPolicyUpdateParameters) UnmarshalJSON Uses

func (apup *AccessPolicyUpdateParameters) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for AccessPolicyUpdateParameters struct.

type AzureEventSourceProperties Uses

type AzureEventSourceProperties struct {
    // EventSourceResourceID - The resource id of the event source in Azure Resource Manager.
    EventSourceResourceID *string `json:"eventSourceResourceId,omitempty"`
    // TimestampPropertyName - The event property that will be used as the event source's timestamp. If a value isn't specified for timestampPropertyName, or if null or empty-string is specified, the event creation time will be used.
    TimestampPropertyName *string `json:"timestampPropertyName,omitempty"`
    // ProvisioningState - Provisioning state of the resource. Possible values include: 'Accepted', 'Creating', 'Updating', 'Succeeded', 'Failed', 'Deleting'
    ProvisioningState ProvisioningState `json:"provisioningState,omitempty"`
    // CreationTime - READ-ONLY; The time the resource was created.
    CreationTime *date.Time `json:"creationTime,omitempty"`
}

AzureEventSourceProperties properties of an event source that reads events from an event broker in Azure.

type BaseClient Uses

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

BaseClient is the base client for Timeseriesinsights.

func New Uses

func New(subscriptionID string) BaseClient

New creates an instance of the BaseClient client.

func NewWithBaseURI Uses

func NewWithBaseURI(baseURI string, subscriptionID string) BaseClient

NewWithBaseURI creates an instance of the BaseClient client.

type BasicEventSourceCreateOrUpdateParameters Uses

type BasicEventSourceCreateOrUpdateParameters interface {
    AsEventHubEventSourceCreateOrUpdateParameters() (*EventHubEventSourceCreateOrUpdateParameters, bool)
    AsIoTHubEventSourceCreateOrUpdateParameters() (*IoTHubEventSourceCreateOrUpdateParameters, bool)
    AsEventSourceCreateOrUpdateParameters() (*EventSourceCreateOrUpdateParameters, bool)
}

BasicEventSourceCreateOrUpdateParameters parameters supplied to the Create or Update Event Source operation.

type BasicEventSourceResource Uses

type BasicEventSourceResource interface {
    AsEventHubEventSourceResource() (*EventHubEventSourceResource, bool)
    AsIoTHubEventSourceResource() (*IoTHubEventSourceResource, bool)
    AsEventSourceResource() (*EventSourceResource, bool)
}

BasicEventSourceResource an environment receives data from one or more event sources. Each event source has associated connection info that allows the Time Series Insights ingress pipeline to connect to and pull data from the event source

type CloudError Uses

type CloudError struct {
    // Error - Describes a particular API error with an error code and a message.
    Error *CloudErrorBody `json:"error,omitempty"`
}

CloudError contains information about an API error.

type CloudErrorBody Uses

type CloudErrorBody struct {
    // Code - An error code that describes the error condition more precisely than an HTTP status code. Can be used to programmatically handle specific error cases.
    Code *string `json:"code,omitempty"`
    // Message - A message that describes the error in detail and provides debugging information.
    Message *string `json:"message,omitempty"`
    // Target - The target of the particular error (for example, the name of the property in error).
    Target *string `json:"target,omitempty"`
    // Details - Contains nested errors that are related to this error.
    Details *[]CloudErrorBody `json:"details,omitempty"`
}

CloudErrorBody describes a particular API error with an error code and a message.

type CreateOrUpdateTrackedResourceProperties Uses

type CreateOrUpdateTrackedResourceProperties struct {
    // Location - The location of the resource.
    Location *string `json:"location,omitempty"`
    // Tags - Key-value pairs of additional properties for the resource.
    Tags map[string]*string `json:"tags"`
}

CreateOrUpdateTrackedResourceProperties properties required to create any resource tracked by Azure Resource Manager.

func (CreateOrUpdateTrackedResourceProperties) MarshalJSON Uses

func (coutrp CreateOrUpdateTrackedResourceProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for CreateOrUpdateTrackedResourceProperties.

type DataStringComparisonBehavior Uses

type DataStringComparisonBehavior string

DataStringComparisonBehavior enumerates the values for data string comparison behavior.

const (
    // Ordinal ...
    Ordinal DataStringComparisonBehavior = "Ordinal"
    // OrdinalIgnoreCase ...
    OrdinalIgnoreCase DataStringComparisonBehavior = "OrdinalIgnoreCase"
)

func PossibleDataStringComparisonBehaviorValues Uses

func PossibleDataStringComparisonBehaviorValues() []DataStringComparisonBehavior

PossibleDataStringComparisonBehaviorValues returns an array of possible values for the DataStringComparisonBehavior const type.

type EnvironmentCreateOrUpdateParameters Uses

type EnvironmentCreateOrUpdateParameters struct {
    // Sku - The sku determines the capacity of the environment, the SLA (in queries-per-minute and total capacity), and the billing rate.
    Sku                            *Sku `json:"sku,omitempty"`
    *EnvironmentCreationProperties `json:"properties,omitempty"`
    // Location - The location of the resource.
    Location *string `json:"location,omitempty"`
    // Tags - Key-value pairs of additional properties for the resource.
    Tags map[string]*string `json:"tags"`
}

EnvironmentCreateOrUpdateParameters parameters supplied to the CreateOrUpdate Environment operation.

func (EnvironmentCreateOrUpdateParameters) MarshalJSON Uses

func (ecoup EnvironmentCreateOrUpdateParameters) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for EnvironmentCreateOrUpdateParameters.

func (*EnvironmentCreateOrUpdateParameters) UnmarshalJSON Uses

func (ecoup *EnvironmentCreateOrUpdateParameters) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for EnvironmentCreateOrUpdateParameters struct.

type EnvironmentCreationProperties Uses

type EnvironmentCreationProperties struct {
    // DataRetentionTime - ISO8601 timespan specifying the minimum number of days the environment's events will be available for query.
    DataRetentionTime *string `json:"dataRetentionTime,omitempty"`
    // StorageLimitExceededBehavior - The behavior the Time Series Insights service should take when the environment's capacity has been exceeded. If "PauseIngress" is specified, new events will not be read from the event source. If "PurgeOldData" is specified, new events will continue to be read and old events will be deleted from the environment. The default behavior is PurgeOldData. Possible values include: 'PurgeOldData', 'PauseIngress'
    StorageLimitExceededBehavior StorageLimitExceededBehavior `json:"storageLimitExceededBehavior,omitempty"`
    // PartitionKeyProperties - The list of partition keys according to which the data in the environment will be ordered.
    PartitionKeyProperties *[]PartitionKeyProperty `json:"partitionKeyProperties,omitempty"`
}

EnvironmentCreationProperties properties used to create an environment.

type EnvironmentListResponse Uses

type EnvironmentListResponse struct {
    autorest.Response `json:"-"`
    // Value - Result of the List Environments operation.
    Value *[]EnvironmentResource `json:"value,omitempty"`
}

EnvironmentListResponse the response of the List Environments operation.

type EnvironmentMutableProperties Uses

type EnvironmentMutableProperties struct {
    // DataRetentionTime - ISO8601 timespan specifying the minimum number of days the environment's events will be available for query.
    DataRetentionTime *string `json:"dataRetentionTime,omitempty"`
    // StorageLimitExceededBehavior - The behavior the Time Series Insights service should take when the environment's capacity has been exceeded. If "PauseIngress" is specified, new events will not be read from the event source. If "PurgeOldData" is specified, new events will continue to be read and old events will be deleted from the environment. The default behavior is PurgeOldData. Possible values include: 'PurgeOldData', 'PauseIngress'
    StorageLimitExceededBehavior StorageLimitExceededBehavior `json:"storageLimitExceededBehavior,omitempty"`
    // PartitionKeyProperties - The list of event properties which will be used to partition data in the environment.
    PartitionKeyProperties *[]PartitionKeyProperty `json:"partitionKeyProperties,omitempty"`
}

EnvironmentMutableProperties an object that represents a set of mutable environment resource properties.

type EnvironmentResource Uses

type EnvironmentResource struct {
    autorest.Response `json:"-"`
    // Sku - The sku determines the capacity of the environment, the SLA (in queries-per-minute and total capacity), and the billing rate.
    Sku                            *Sku `json:"sku,omitempty"`
    *EnvironmentResourceProperties `json:"properties,omitempty"`
    // Location - Resource location
    Location *string `json:"location,omitempty"`
    // Tags - Resource tags
    Tags map[string]*string `json:"tags"`
    // ID - READ-ONLY; Resource Id
    ID  *string `json:"id,omitempty"`
    // Name - READ-ONLY; Resource name
    Name *string `json:"name,omitempty"`
    // Type - READ-ONLY; Resource type
    Type *string `json:"type,omitempty"`
}

EnvironmentResource an environment is a set of time-series data available for query, and is the top level Azure Time Series Insights resource.

func (EnvironmentResource) MarshalJSON Uses

func (er EnvironmentResource) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for EnvironmentResource.

func (*EnvironmentResource) UnmarshalJSON Uses

func (er *EnvironmentResource) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for EnvironmentResource struct.

type EnvironmentResourceProperties Uses

type EnvironmentResourceProperties struct {
    // DataRetentionTime - ISO8601 timespan specifying the minimum number of days the environment's events will be available for query.
    DataRetentionTime *string `json:"dataRetentionTime,omitempty"`
    // StorageLimitExceededBehavior - The behavior the Time Series Insights service should take when the environment's capacity has been exceeded. If "PauseIngress" is specified, new events will not be read from the event source. If "PurgeOldData" is specified, new events will continue to be read and old events will be deleted from the environment. The default behavior is PurgeOldData. Possible values include: 'PurgeOldData', 'PauseIngress'
    StorageLimitExceededBehavior StorageLimitExceededBehavior `json:"storageLimitExceededBehavior,omitempty"`
    // PartitionKeyProperties - The list of partition keys according to which the data in the environment will be ordered.
    PartitionKeyProperties *[]PartitionKeyProperty `json:"partitionKeyProperties,omitempty"`
    // ProvisioningState - Provisioning state of the resource. Possible values include: 'Accepted', 'Creating', 'Updating', 'Succeeded', 'Failed', 'Deleting'
    ProvisioningState ProvisioningState `json:"provisioningState,omitempty"`
    // CreationTime - READ-ONLY; The time the resource was created.
    CreationTime *date.Time `json:"creationTime,omitempty"`
    // DataAccessID - READ-ONLY; An id used to access the environment data, e.g. to query the environment's events or upload reference data for the environment.
    DataAccessID *uuid.UUID `json:"dataAccessId,omitempty"`
    // DataAccessFqdn - READ-ONLY; The fully qualified domain name used to access the environment data, e.g. to query the environment's events or upload reference data for the environment.
    DataAccessFqdn *string `json:"dataAccessFqdn,omitempty"`
    // Status - An object that represents the status of the environment, and its internal state in the Time Series Insights service.
    Status *EnvironmentStatus `json:"status,omitempty"`
}

EnvironmentResourceProperties properties of the environment.

type EnvironmentStateDetails Uses

type EnvironmentStateDetails struct {
    // Code - Contains the code that represents the reason of an environment being in a particular state. Can be used to programmatically handle specific cases.
    Code *string `json:"code,omitempty"`
    // Message - A message that describes the state in detail.
    Message *string `json:"message,omitempty"`
}

EnvironmentStateDetails an object that contains the details about an environment's state.

type EnvironmentStatus Uses

type EnvironmentStatus struct {
    // Ingress - An object that represents the status of ingress on an environment.
    Ingress *IngressEnvironmentStatus `json:"ingress,omitempty"`
}

EnvironmentStatus an object that represents the status of the environment, and its internal state in the Time Series Insights service.

type EnvironmentUpdateParameters Uses

type EnvironmentUpdateParameters struct {
    // Sku - The sku of the environment.
    Sku *Sku `json:"sku,omitempty"`
    // Tags - Key-value pairs of additional properties for the environment.
    Tags map[string]*string `json:"tags"`
    // EnvironmentMutableProperties - Properties of the environment.
    *EnvironmentMutableProperties `json:"properties,omitempty"`
}

EnvironmentUpdateParameters parameters supplied to the Update Environment operation.

func (EnvironmentUpdateParameters) MarshalJSON Uses

func (eup EnvironmentUpdateParameters) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for EnvironmentUpdateParameters.

func (*EnvironmentUpdateParameters) UnmarshalJSON Uses

func (eup *EnvironmentUpdateParameters) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for EnvironmentUpdateParameters struct.

type EnvironmentsClient Uses

type EnvironmentsClient struct {
    BaseClient
}

EnvironmentsClient is the time Series Insights client

func NewEnvironmentsClient Uses

func NewEnvironmentsClient(subscriptionID string) EnvironmentsClient

NewEnvironmentsClient creates an instance of the EnvironmentsClient client.

func NewEnvironmentsClientWithBaseURI Uses

func NewEnvironmentsClientWithBaseURI(baseURI string, subscriptionID string) EnvironmentsClient

NewEnvironmentsClientWithBaseURI creates an instance of the EnvironmentsClient client.

func (EnvironmentsClient) CreateOrUpdate Uses

func (client EnvironmentsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, environmentName string, parameters EnvironmentCreateOrUpdateParameters) (result EnvironmentsCreateOrUpdateFuture, err error)

CreateOrUpdate create or update an environment in the specified subscription and resource group. Parameters: resourceGroupName - name of an Azure Resource group. environmentName - name of the environment parameters - parameters for creating an environment resource.

func (EnvironmentsClient) CreateOrUpdatePreparer Uses

func (client EnvironmentsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, environmentName string, parameters EnvironmentCreateOrUpdateParameters) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (EnvironmentsClient) CreateOrUpdateResponder Uses

func (client EnvironmentsClient) CreateOrUpdateResponder(resp *http.Response) (result EnvironmentResource, err error)

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

func (EnvironmentsClient) CreateOrUpdateSender Uses

func (client EnvironmentsClient) CreateOrUpdateSender(req *http.Request) (future EnvironmentsCreateOrUpdateFuture, err error)

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

func (EnvironmentsClient) Delete Uses

func (client EnvironmentsClient) Delete(ctx context.Context, resourceGroupName string, environmentName string) (result autorest.Response, err error)

Delete deletes the environment with the specified name in the specified subscription and resource group. Parameters: resourceGroupName - name of an Azure Resource group. environmentName - the name of the Time Series Insights environment associated with the specified resource group.

func (EnvironmentsClient) DeletePreparer Uses

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

DeletePreparer prepares the Delete request.

func (EnvironmentsClient) DeleteResponder Uses

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

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

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

func (EnvironmentsClient) Get Uses

func (client EnvironmentsClient) Get(ctx context.Context, resourceGroupName string, environmentName string, expand string) (result EnvironmentResource, err error)

Get gets the environment with the specified name in the specified subscription and resource group. Parameters: resourceGroupName - name of an Azure Resource group. environmentName - the name of the Time Series Insights environment associated with the specified resource group. expand - setting $expand=status will include the status of the internal services of the environment in the Time Series Insights service.

func (EnvironmentsClient) GetPreparer Uses

func (client EnvironmentsClient) GetPreparer(ctx context.Context, resourceGroupName string, environmentName string, expand string) (*http.Request, error)

GetPreparer prepares the Get request.

func (EnvironmentsClient) GetResponder Uses

func (client EnvironmentsClient) GetResponder(resp *http.Response) (result EnvironmentResource, err error)

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

func (EnvironmentsClient) GetSender Uses

func (client EnvironmentsClient) GetSender(req *http.Request) (*http.Response, error)

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

func (EnvironmentsClient) ListByResourceGroup Uses

func (client EnvironmentsClient) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result EnvironmentListResponse, err error)

ListByResourceGroup lists all the available environments associated with the subscription and within the specified resource group. Parameters: resourceGroupName - name of an Azure Resource group.

func (EnvironmentsClient) ListByResourceGroupPreparer Uses

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

ListByResourceGroupPreparer prepares the ListByResourceGroup request.

func (EnvironmentsClient) ListByResourceGroupResponder Uses

func (client EnvironmentsClient) ListByResourceGroupResponder(resp *http.Response) (result EnvironmentListResponse, err error)

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

func (EnvironmentsClient) ListByResourceGroupSender Uses

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

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

func (EnvironmentsClient) ListBySubscription Uses

func (client EnvironmentsClient) ListBySubscription(ctx context.Context) (result EnvironmentListResponse, err error)

ListBySubscription lists all the available environments within a subscription, irrespective of the resource groups.

func (EnvironmentsClient) ListBySubscriptionPreparer Uses

func (client EnvironmentsClient) ListBySubscriptionPreparer(ctx context.Context) (*http.Request, error)

ListBySubscriptionPreparer prepares the ListBySubscription request.

func (EnvironmentsClient) ListBySubscriptionResponder Uses

func (client EnvironmentsClient) ListBySubscriptionResponder(resp *http.Response) (result EnvironmentListResponse, err error)

ListBySubscriptionResponder handles the response to the ListBySubscription request. The method always closes the http.Response Body.

func (EnvironmentsClient) ListBySubscriptionSender Uses

func (client EnvironmentsClient) ListBySubscriptionSender(req *http.Request) (*http.Response, error)

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

func (EnvironmentsClient) Update Uses

func (client EnvironmentsClient) Update(ctx context.Context, resourceGroupName string, environmentName string, environmentUpdateParameters EnvironmentUpdateParameters) (result EnvironmentsUpdateFuture, err error)

Update updates the environment with the specified name in the specified subscription and resource group. Parameters: resourceGroupName - name of an Azure Resource group. environmentName - the name of the Time Series Insights environment associated with the specified resource group. environmentUpdateParameters - request object that contains the updated information for the environment.

func (EnvironmentsClient) UpdatePreparer Uses

func (client EnvironmentsClient) UpdatePreparer(ctx context.Context, resourceGroupName string, environmentName string, environmentUpdateParameters EnvironmentUpdateParameters) (*http.Request, error)

UpdatePreparer prepares the Update request.

func (EnvironmentsClient) UpdateResponder Uses

func (client EnvironmentsClient) UpdateResponder(resp *http.Response) (result EnvironmentResource, err error)

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

func (EnvironmentsClient) UpdateSender Uses

func (client EnvironmentsClient) UpdateSender(req *http.Request) (future EnvironmentsUpdateFuture, err error)

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

type EnvironmentsCreateOrUpdateFuture Uses

type EnvironmentsCreateOrUpdateFuture struct {
    azure.Future
}

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

func (*EnvironmentsCreateOrUpdateFuture) Result Uses

func (future *EnvironmentsCreateOrUpdateFuture) Result(client EnvironmentsClient) (er EnvironmentResource, err error)

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

type EnvironmentsUpdateFuture Uses

type EnvironmentsUpdateFuture struct {
    azure.Future
}

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

func (*EnvironmentsUpdateFuture) Result Uses

func (future *EnvironmentsUpdateFuture) Result(client EnvironmentsClient) (er EnvironmentResource, err error)

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

type EventHubEventSourceCommonProperties Uses

type EventHubEventSourceCommonProperties struct {
    // ServiceBusNamespace - The name of the service bus that contains the event hub.
    ServiceBusNamespace *string `json:"serviceBusNamespace,omitempty"`
    // EventHubName - The name of the event hub.
    EventHubName *string `json:"eventHubName,omitempty"`
    // ConsumerGroupName - The name of the event hub's consumer group that holds the partitions from which events will be read.
    ConsumerGroupName *string `json:"consumerGroupName,omitempty"`
    // KeyName - The name of the SAS key that grants the Time Series Insights service access to the event hub. The shared access policies for this key must grant 'Listen' permissions to the event hub.
    KeyName *string `json:"keyName,omitempty"`
    // EventSourceResourceID - The resource id of the event source in Azure Resource Manager.
    EventSourceResourceID *string `json:"eventSourceResourceId,omitempty"`
    // TimestampPropertyName - The event property that will be used as the event source's timestamp. If a value isn't specified for timestampPropertyName, or if null or empty-string is specified, the event creation time will be used.
    TimestampPropertyName *string `json:"timestampPropertyName,omitempty"`
    // ProvisioningState - Provisioning state of the resource. Possible values include: 'Accepted', 'Creating', 'Updating', 'Succeeded', 'Failed', 'Deleting'
    ProvisioningState ProvisioningState `json:"provisioningState,omitempty"`
    // CreationTime - READ-ONLY; The time the resource was created.
    CreationTime *date.Time `json:"creationTime,omitempty"`
}

EventHubEventSourceCommonProperties properties of the EventHub event source.

type EventHubEventSourceCreateOrUpdateParameters Uses

type EventHubEventSourceCreateOrUpdateParameters struct {
    *EventHubEventSourceCreationProperties `json:"properties,omitempty"`
    // Location - The location of the resource.
    Location *string `json:"location,omitempty"`
    // Tags - Key-value pairs of additional properties for the resource.
    Tags map[string]*string `json:"tags"`
    // Kind - Possible values include: 'KindEventSourceCreateOrUpdateParameters', 'KindMicrosoftEventHub', 'KindMicrosoftIoTHub'
    Kind Kind `json:"kind,omitempty"`
}

EventHubEventSourceCreateOrUpdateParameters parameters supplied to the Create or Update Event Source operation for an EventHub event source.

func (EventHubEventSourceCreateOrUpdateParameters) AsBasicEventSourceCreateOrUpdateParameters Uses

func (ehescoup EventHubEventSourceCreateOrUpdateParameters) AsBasicEventSourceCreateOrUpdateParameters() (BasicEventSourceCreateOrUpdateParameters, bool)

AsBasicEventSourceCreateOrUpdateParameters is the BasicEventSourceCreateOrUpdateParameters implementation for EventHubEventSourceCreateOrUpdateParameters.

func (EventHubEventSourceCreateOrUpdateParameters) AsEventHubEventSourceCreateOrUpdateParameters Uses

func (ehescoup EventHubEventSourceCreateOrUpdateParameters) AsEventHubEventSourceCreateOrUpdateParameters() (*EventHubEventSourceCreateOrUpdateParameters, bool)

AsEventHubEventSourceCreateOrUpdateParameters is the BasicEventSourceCreateOrUpdateParameters implementation for EventHubEventSourceCreateOrUpdateParameters.

func (EventHubEventSourceCreateOrUpdateParameters) AsEventSourceCreateOrUpdateParameters Uses

func (ehescoup EventHubEventSourceCreateOrUpdateParameters) AsEventSourceCreateOrUpdateParameters() (*EventSourceCreateOrUpdateParameters, bool)

AsEventSourceCreateOrUpdateParameters is the BasicEventSourceCreateOrUpdateParameters implementation for EventHubEventSourceCreateOrUpdateParameters.

func (EventHubEventSourceCreateOrUpdateParameters) AsIoTHubEventSourceCreateOrUpdateParameters Uses

func (ehescoup EventHubEventSourceCreateOrUpdateParameters) AsIoTHubEventSourceCreateOrUpdateParameters() (*IoTHubEventSourceCreateOrUpdateParameters, bool)

AsIoTHubEventSourceCreateOrUpdateParameters is the BasicEventSourceCreateOrUpdateParameters implementation for EventHubEventSourceCreateOrUpdateParameters.

func (EventHubEventSourceCreateOrUpdateParameters) MarshalJSON Uses

func (ehescoup EventHubEventSourceCreateOrUpdateParameters) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for EventHubEventSourceCreateOrUpdateParameters.

func (*EventHubEventSourceCreateOrUpdateParameters) UnmarshalJSON Uses

func (ehescoup *EventHubEventSourceCreateOrUpdateParameters) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for EventHubEventSourceCreateOrUpdateParameters struct.

type EventHubEventSourceCreationProperties Uses

type EventHubEventSourceCreationProperties struct {
    // SharedAccessKey - The value of the shared access key that grants the Time Series Insights service read access to the event hub. This property is not shown in event source responses.
    SharedAccessKey *string `json:"sharedAccessKey,omitempty"`
    // ServiceBusNamespace - The name of the service bus that contains the event hub.
    ServiceBusNamespace *string `json:"serviceBusNamespace,omitempty"`
    // EventHubName - The name of the event hub.
    EventHubName *string `json:"eventHubName,omitempty"`
    // ConsumerGroupName - The name of the event hub's consumer group that holds the partitions from which events will be read.
    ConsumerGroupName *string `json:"consumerGroupName,omitempty"`
    // KeyName - The name of the SAS key that grants the Time Series Insights service access to the event hub. The shared access policies for this key must grant 'Listen' permissions to the event hub.
    KeyName *string `json:"keyName,omitempty"`
    // EventSourceResourceID - The resource id of the event source in Azure Resource Manager.
    EventSourceResourceID *string `json:"eventSourceResourceId,omitempty"`
    // TimestampPropertyName - The event property that will be used as the event source's timestamp. If a value isn't specified for timestampPropertyName, or if null or empty-string is specified, the event creation time will be used.
    TimestampPropertyName *string `json:"timestampPropertyName,omitempty"`
    // ProvisioningState - Provisioning state of the resource. Possible values include: 'Accepted', 'Creating', 'Updating', 'Succeeded', 'Failed', 'Deleting'
    ProvisioningState ProvisioningState `json:"provisioningState,omitempty"`
    // CreationTime - READ-ONLY; The time the resource was created.
    CreationTime *date.Time `json:"creationTime,omitempty"`
}

EventHubEventSourceCreationProperties properties of the EventHub event source that are required on create or update requests.

type EventHubEventSourceMutableProperties Uses

type EventHubEventSourceMutableProperties struct {
    // SharedAccessKey - The value of the shared access key that grants the Time Series Insights service read access to the event hub. This property is not shown in event source responses.
    SharedAccessKey *string `json:"sharedAccessKey,omitempty"`
    // TimestampPropertyName - The event property that will be used as the event source's timestamp. If a value isn't specified for timestampPropertyName, or if null or empty-string is specified, the event creation time will be used.
    TimestampPropertyName *string `json:"timestampPropertyName,omitempty"`
    // LocalTimestamp - An object that represents the local timestamp property. It contains the format of local timestamp that needs to be used and the corresponding timezone offset information. If a value isn't specified for localTimestamp, or if null, then the local timestamp will not be ingressed with the events.
    LocalTimestamp *LocalTimestamp `json:"localTimestamp,omitempty"`
}

EventHubEventSourceMutableProperties an object that represents a set of mutable EventHub event source resource properties.

type EventHubEventSourceResource Uses

type EventHubEventSourceResource struct {
    *EventHubEventSourceResourceProperties `json:"properties,omitempty"`
    // Location - Resource location
    Location *string `json:"location,omitempty"`
    // Tags - Resource tags
    Tags map[string]*string `json:"tags"`
    // ID - READ-ONLY; Resource Id
    ID  *string `json:"id,omitempty"`
    // Name - READ-ONLY; Resource name
    Name *string `json:"name,omitempty"`
    // Type - READ-ONLY; Resource type
    Type *string `json:"type,omitempty"`
    // Kind - Possible values include: 'KindBasicEventSourceResourceKindEventSourceResource', 'KindBasicEventSourceResourceKindMicrosoftEventHub', 'KindBasicEventSourceResourceKindMicrosoftIotHub'
    Kind KindBasicEventSourceResource `json:"kind,omitempty"`
}

EventHubEventSourceResource an event source that receives its data from an Azure EventHub.

func (EventHubEventSourceResource) AsBasicEventSourceResource Uses

func (ehesr EventHubEventSourceResource) AsBasicEventSourceResource() (BasicEventSourceResource, bool)

AsBasicEventSourceResource is the BasicEventSourceResource implementation for EventHubEventSourceResource.

func (EventHubEventSourceResource) AsEventHubEventSourceResource Uses

func (ehesr EventHubEventSourceResource) AsEventHubEventSourceResource() (*EventHubEventSourceResource, bool)

AsEventHubEventSourceResource is the BasicEventSourceResource implementation for EventHubEventSourceResource.

func (EventHubEventSourceResource) AsEventSourceResource Uses

func (ehesr EventHubEventSourceResource) AsEventSourceResource() (*EventSourceResource, bool)

AsEventSourceResource is the BasicEventSourceResource implementation for EventHubEventSourceResource.

func (EventHubEventSourceResource) AsIoTHubEventSourceResource Uses

func (ehesr EventHubEventSourceResource) AsIoTHubEventSourceResource() (*IoTHubEventSourceResource, bool)

AsIoTHubEventSourceResource is the BasicEventSourceResource implementation for EventHubEventSourceResource.

func (EventHubEventSourceResource) MarshalJSON Uses

func (ehesr EventHubEventSourceResource) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for EventHubEventSourceResource.

func (*EventHubEventSourceResource) UnmarshalJSON Uses

func (ehesr *EventHubEventSourceResource) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for EventHubEventSourceResource struct.

type EventHubEventSourceResourceProperties Uses

type EventHubEventSourceResourceProperties struct {
    // ServiceBusNamespace - The name of the service bus that contains the event hub.
    ServiceBusNamespace *string `json:"serviceBusNamespace,omitempty"`
    // EventHubName - The name of the event hub.
    EventHubName *string `json:"eventHubName,omitempty"`
    // ConsumerGroupName - The name of the event hub's consumer group that holds the partitions from which events will be read.
    ConsumerGroupName *string `json:"consumerGroupName,omitempty"`
    // KeyName - The name of the SAS key that grants the Time Series Insights service access to the event hub. The shared access policies for this key must grant 'Listen' permissions to the event hub.
    KeyName *string `json:"keyName,omitempty"`
    // EventSourceResourceID - The resource id of the event source in Azure Resource Manager.
    EventSourceResourceID *string `json:"eventSourceResourceId,omitempty"`
    // TimestampPropertyName - The event property that will be used as the event source's timestamp. If a value isn't specified for timestampPropertyName, or if null or empty-string is specified, the event creation time will be used.
    TimestampPropertyName *string `json:"timestampPropertyName,omitempty"`
    // ProvisioningState - Provisioning state of the resource. Possible values include: 'Accepted', 'Creating', 'Updating', 'Succeeded', 'Failed', 'Deleting'
    ProvisioningState ProvisioningState `json:"provisioningState,omitempty"`
    // CreationTime - READ-ONLY; The time the resource was created.
    CreationTime *date.Time `json:"creationTime,omitempty"`
}

EventHubEventSourceResourceProperties properties of the EventHub event source resource.

type EventHubEventSourceUpdateParameters Uses

type EventHubEventSourceUpdateParameters struct {
    // EventHubEventSourceMutableProperties - Properties of the EventHub event source.
    *EventHubEventSourceMutableProperties `json:"properties,omitempty"`
    // Tags - Key-value pairs of additional properties for the event source.
    Tags map[string]*string `json:"tags"`
}

EventHubEventSourceUpdateParameters parameters supplied to the Update Event Source operation to update an EventHub event source.

func (EventHubEventSourceUpdateParameters) MarshalJSON Uses

func (ehesup EventHubEventSourceUpdateParameters) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for EventHubEventSourceUpdateParameters.

func (*EventHubEventSourceUpdateParameters) UnmarshalJSON Uses

func (ehesup *EventHubEventSourceUpdateParameters) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for EventHubEventSourceUpdateParameters struct.

type EventSourceCommonProperties Uses

type EventSourceCommonProperties struct {
    // TimestampPropertyName - The event property that will be used as the event source's timestamp. If a value isn't specified for timestampPropertyName, or if null or empty-string is specified, the event creation time will be used.
    TimestampPropertyName *string `json:"timestampPropertyName,omitempty"`
    // ProvisioningState - Provisioning state of the resource. Possible values include: 'Accepted', 'Creating', 'Updating', 'Succeeded', 'Failed', 'Deleting'
    ProvisioningState ProvisioningState `json:"provisioningState,omitempty"`
    // CreationTime - READ-ONLY; The time the resource was created.
    CreationTime *date.Time `json:"creationTime,omitempty"`
}

EventSourceCommonProperties properties of the event source.

type EventSourceCreateOrUpdateParameters Uses

type EventSourceCreateOrUpdateParameters struct {
    // Kind - Possible values include: 'KindEventSourceCreateOrUpdateParameters', 'KindMicrosoftEventHub', 'KindMicrosoftIoTHub'
    Kind Kind `json:"kind,omitempty"`
    // Location - The location of the resource.
    Location *string `json:"location,omitempty"`
    // Tags - Key-value pairs of additional properties for the resource.
    Tags map[string]*string `json:"tags"`
}

EventSourceCreateOrUpdateParameters parameters supplied to the Create or Update Event Source operation.

func (EventSourceCreateOrUpdateParameters) AsBasicEventSourceCreateOrUpdateParameters Uses

func (escoup EventSourceCreateOrUpdateParameters) AsBasicEventSourceCreateOrUpdateParameters() (BasicEventSourceCreateOrUpdateParameters, bool)

AsBasicEventSourceCreateOrUpdateParameters is the BasicEventSourceCreateOrUpdateParameters implementation for EventSourceCreateOrUpdateParameters.

func (EventSourceCreateOrUpdateParameters) AsEventHubEventSourceCreateOrUpdateParameters Uses

func (escoup EventSourceCreateOrUpdateParameters) AsEventHubEventSourceCreateOrUpdateParameters() (*EventHubEventSourceCreateOrUpdateParameters, bool)

AsEventHubEventSourceCreateOrUpdateParameters is the BasicEventSourceCreateOrUpdateParameters implementation for EventSourceCreateOrUpdateParameters.

func (EventSourceCreateOrUpdateParameters) AsEventSourceCreateOrUpdateParameters Uses

func (escoup EventSourceCreateOrUpdateParameters) AsEventSourceCreateOrUpdateParameters() (*EventSourceCreateOrUpdateParameters, bool)

AsEventSourceCreateOrUpdateParameters is the BasicEventSourceCreateOrUpdateParameters implementation for EventSourceCreateOrUpdateParameters.

func (EventSourceCreateOrUpdateParameters) AsIoTHubEventSourceCreateOrUpdateParameters Uses

func (escoup EventSourceCreateOrUpdateParameters) AsIoTHubEventSourceCreateOrUpdateParameters() (*IoTHubEventSourceCreateOrUpdateParameters, bool)

AsIoTHubEventSourceCreateOrUpdateParameters is the BasicEventSourceCreateOrUpdateParameters implementation for EventSourceCreateOrUpdateParameters.

func (EventSourceCreateOrUpdateParameters) MarshalJSON Uses

func (escoup EventSourceCreateOrUpdateParameters) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for EventSourceCreateOrUpdateParameters.

type EventSourceListResponse Uses

type EventSourceListResponse struct {
    autorest.Response `json:"-"`
    // Value - Result of the List EventSources operation.
    Value *[]BasicEventSourceResource `json:"value,omitempty"`
}

EventSourceListResponse the response of the List EventSources operation.

func (*EventSourceListResponse) UnmarshalJSON Uses

func (eslr *EventSourceListResponse) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for EventSourceListResponse struct.

type EventSourceMutableProperties Uses

type EventSourceMutableProperties struct {
    // TimestampPropertyName - The event property that will be used as the event source's timestamp. If a value isn't specified for timestampPropertyName, or if null or empty-string is specified, the event creation time will be used.
    TimestampPropertyName *string `json:"timestampPropertyName,omitempty"`
    // LocalTimestamp - An object that represents the local timestamp property. It contains the format of local timestamp that needs to be used and the corresponding timezone offset information. If a value isn't specified for localTimestamp, or if null, then the local timestamp will not be ingressed with the events.
    LocalTimestamp *LocalTimestamp `json:"localTimestamp,omitempty"`
}

EventSourceMutableProperties an object that represents a set of mutable event source resource properties.

type EventSourceResource Uses

type EventSourceResource struct {
    autorest.Response `json:"-"`
    // Kind - Possible values include: 'KindBasicEventSourceResourceKindEventSourceResource', 'KindBasicEventSourceResourceKindMicrosoftEventHub', 'KindBasicEventSourceResourceKindMicrosoftIotHub'
    Kind KindBasicEventSourceResource `json:"kind,omitempty"`
    // Location - Resource location
    Location *string `json:"location,omitempty"`
    // Tags - Resource tags
    Tags map[string]*string `json:"tags"`
    // ID - READ-ONLY; Resource Id
    ID  *string `json:"id,omitempty"`
    // Name - READ-ONLY; Resource name
    Name *string `json:"name,omitempty"`
    // Type - READ-ONLY; Resource type
    Type *string `json:"type,omitempty"`
}

EventSourceResource an environment receives data from one or more event sources. Each event source has associated connection info that allows the Time Series Insights ingress pipeline to connect to and pull data from the event source

func (EventSourceResource) AsBasicEventSourceResource Uses

func (esr EventSourceResource) AsBasicEventSourceResource() (BasicEventSourceResource, bool)

AsBasicEventSourceResource is the BasicEventSourceResource implementation for EventSourceResource.

func (EventSourceResource) AsEventHubEventSourceResource Uses

func (esr EventSourceResource) AsEventHubEventSourceResource() (*EventHubEventSourceResource, bool)

AsEventHubEventSourceResource is the BasicEventSourceResource implementation for EventSourceResource.

func (EventSourceResource) AsEventSourceResource Uses

func (esr EventSourceResource) AsEventSourceResource() (*EventSourceResource, bool)

AsEventSourceResource is the BasicEventSourceResource implementation for EventSourceResource.

func (EventSourceResource) AsIoTHubEventSourceResource Uses

func (esr EventSourceResource) AsIoTHubEventSourceResource() (*IoTHubEventSourceResource, bool)

AsIoTHubEventSourceResource is the BasicEventSourceResource implementation for EventSourceResource.

func (EventSourceResource) MarshalJSON Uses

func (esr EventSourceResource) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for EventSourceResource.

type EventSourceResourceModel Uses

type EventSourceResourceModel struct {
    autorest.Response `json:"-"`
    Value             BasicEventSourceResource `json:"value,omitempty"`
}

EventSourceResourceModel ...

func (*EventSourceResourceModel) UnmarshalJSON Uses

func (esrm *EventSourceResourceModel) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for EventSourceResourceModel struct.

type EventSourceUpdateParameters Uses

type EventSourceUpdateParameters struct {
    // Tags - Key-value pairs of additional properties for the event source.
    Tags map[string]*string `json:"tags"`
}

EventSourceUpdateParameters parameters supplied to the Update Event Source operation.

func (EventSourceUpdateParameters) MarshalJSON Uses

func (esup EventSourceUpdateParameters) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for EventSourceUpdateParameters.

type EventSourcesClient Uses

type EventSourcesClient struct {
    BaseClient
}

EventSourcesClient is the time Series Insights client

func NewEventSourcesClient Uses

func NewEventSourcesClient(subscriptionID string) EventSourcesClient

NewEventSourcesClient creates an instance of the EventSourcesClient client.

func NewEventSourcesClientWithBaseURI Uses

func NewEventSourcesClientWithBaseURI(baseURI string, subscriptionID string) EventSourcesClient

NewEventSourcesClientWithBaseURI creates an instance of the EventSourcesClient client.

func (EventSourcesClient) CreateOrUpdate Uses

func (client EventSourcesClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, environmentName string, eventSourceName string, parameters BasicEventSourceCreateOrUpdateParameters) (result EventSourceResourceModel, err error)

CreateOrUpdate create or update an event source under the specified environment. Parameters: resourceGroupName - name of an Azure Resource group. environmentName - the name of the Time Series Insights environment associated with the specified resource group. eventSourceName - name of the event source. parameters - parameters for creating an event source resource.

func (EventSourcesClient) CreateOrUpdatePreparer Uses

func (client EventSourcesClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, environmentName string, eventSourceName string, parameters BasicEventSourceCreateOrUpdateParameters) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (EventSourcesClient) CreateOrUpdateResponder Uses

func (client EventSourcesClient) CreateOrUpdateResponder(resp *http.Response) (result EventSourceResourceModel, err error)

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

func (EventSourcesClient) CreateOrUpdateSender Uses

func (client EventSourcesClient) 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 (EventSourcesClient) Delete Uses

func (client EventSourcesClient) Delete(ctx context.Context, resourceGroupName string, environmentName string, eventSourceName string) (result autorest.Response, err error)

Delete deletes the event source with the specified name in the specified subscription, resource group, and environment Parameters: resourceGroupName - name of an Azure Resource group. environmentName - the name of the Time Series Insights environment associated with the specified resource group. eventSourceName - the name of the Time Series Insights event source associated with the specified environment.

func (EventSourcesClient) DeletePreparer Uses

func (client EventSourcesClient) DeletePreparer(ctx context.Context, resourceGroupName string, environmentName string, eventSourceName string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (EventSourcesClient) DeleteResponder Uses

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

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

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

func (EventSourcesClient) Get Uses

func (client EventSourcesClient) Get(ctx context.Context, resourceGroupName string, environmentName string, eventSourceName string) (result EventSourceResourceModel, err error)

Get gets the event source with the specified name in the specified environment. Parameters: resourceGroupName - name of an Azure Resource group. environmentName - the name of the Time Series Insights environment associated with the specified resource group. eventSourceName - the name of the Time Series Insights event source associated with the specified environment.

func (EventSourcesClient) GetPreparer Uses

func (client EventSourcesClient) GetPreparer(ctx context.Context, resourceGroupName string, environmentName string, eventSourceName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (EventSourcesClient) GetResponder Uses

func (client EventSourcesClient) GetResponder(resp *http.Response) (result EventSourceResourceModel, err error)

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

func (EventSourcesClient) GetSender Uses

func (client EventSourcesClient) GetSender(req *http.Request) (*http.Response, error)

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

func (EventSourcesClient) ListByEnvironment Uses

func (client EventSourcesClient) ListByEnvironment(ctx context.Context, resourceGroupName string, environmentName string) (result EventSourceListResponse, err error)

ListByEnvironment lists all the available event sources associated with the subscription and within the specified resource group and environment. Parameters: resourceGroupName - name of an Azure Resource group. environmentName - the name of the Time Series Insights environment associated with the specified resource group.

func (EventSourcesClient) ListByEnvironmentPreparer Uses

func (client EventSourcesClient) ListByEnvironmentPreparer(ctx context.Context, resourceGroupName string, environmentName string) (*http.Request, error)

ListByEnvironmentPreparer prepares the ListByEnvironment request.

func (EventSourcesClient) ListByEnvironmentResponder Uses

func (client EventSourcesClient) ListByEnvironmentResponder(resp *http.Response) (result EventSourceListResponse, err error)

ListByEnvironmentResponder handles the response to the ListByEnvironment request. The method always closes the http.Response Body.

func (EventSourcesClient) ListByEnvironmentSender Uses

func (client EventSourcesClient) ListByEnvironmentSender(req *http.Request) (*http.Response, error)

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

func (EventSourcesClient) Update Uses

func (client EventSourcesClient) Update(ctx context.Context, resourceGroupName string, environmentName string, eventSourceName string, eventSourceUpdateParameters EventSourceUpdateParameters) (result EventSourceResourceModel, err error)

Update updates the event source with the specified name in the specified subscription, resource group, and environment. Parameters: resourceGroupName - name of an Azure Resource group. environmentName - the name of the Time Series Insights environment associated with the specified resource group. eventSourceName - the name of the Time Series Insights event source associated with the specified environment. eventSourceUpdateParameters - request object that contains the updated information for the event source.

func (EventSourcesClient) UpdatePreparer Uses

func (client EventSourcesClient) UpdatePreparer(ctx context.Context, resourceGroupName string, environmentName string, eventSourceName string, eventSourceUpdateParameters EventSourceUpdateParameters) (*http.Request, error)

UpdatePreparer prepares the Update request.

func (EventSourcesClient) UpdateResponder Uses

func (client EventSourcesClient) UpdateResponder(resp *http.Response) (result EventSourceResourceModel, err error)

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

func (EventSourcesClient) UpdateSender Uses

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

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

type IngressEnvironmentStatus Uses

type IngressEnvironmentStatus struct {
    // State - This string represents the state of ingress operations on an environment. It can be "Disabled", "Ready", "Running", "Paused" or "Unknown". Possible values include: 'Disabled', 'Ready', 'Running', 'Paused', 'Unknown'
    State IngressState `json:"state,omitempty"`
    // StateDetails - An object that contains the details about an environment's state.
    StateDetails *EnvironmentStateDetails `json:"stateDetails,omitempty"`
}

IngressEnvironmentStatus an object that represents the status of ingress on an environment.

type IngressState Uses

type IngressState string

IngressState enumerates the values for ingress state.

const (
    // Disabled ...
    Disabled IngressState = "Disabled"
    // Paused ...
    Paused IngressState = "Paused"
    // Ready ...
    Ready IngressState = "Ready"
    // Running ...
    Running IngressState = "Running"
    // Unknown ...
    Unknown IngressState = "Unknown"
)

func PossibleIngressStateValues Uses

func PossibleIngressStateValues() []IngressState

PossibleIngressStateValues returns an array of possible values for the IngressState const type.

type IoTHubEventSourceCommonProperties Uses

type IoTHubEventSourceCommonProperties struct {
    // IotHubName - The name of the iot hub.
    IotHubName *string `json:"iotHubName,omitempty"`
    // ConsumerGroupName - The name of the iot hub's consumer group that holds the partitions from which events will be read.
    ConsumerGroupName *string `json:"consumerGroupName,omitempty"`
    // KeyName - The name of the Shared Access Policy key that grants the Time Series Insights service access to the iot hub. This shared access policy key must grant 'service connect' permissions to the iot hub.
    KeyName *string `json:"keyName,omitempty"`
    // EventSourceResourceID - The resource id of the event source in Azure Resource Manager.
    EventSourceResourceID *string `json:"eventSourceResourceId,omitempty"`
    // TimestampPropertyName - The event property that will be used as the event source's timestamp. If a value isn't specified for timestampPropertyName, or if null or empty-string is specified, the event creation time will be used.
    TimestampPropertyName *string `json:"timestampPropertyName,omitempty"`
    // ProvisioningState - Provisioning state of the resource. Possible values include: 'Accepted', 'Creating', 'Updating', 'Succeeded', 'Failed', 'Deleting'
    ProvisioningState ProvisioningState `json:"provisioningState,omitempty"`
    // CreationTime - READ-ONLY; The time the resource was created.
    CreationTime *date.Time `json:"creationTime,omitempty"`
}

IoTHubEventSourceCommonProperties properties of the IoTHub event source.

type IoTHubEventSourceCreateOrUpdateParameters Uses

type IoTHubEventSourceCreateOrUpdateParameters struct {
    *IoTHubEventSourceCreationProperties `json:"properties,omitempty"`
    // Kind - Possible values include: 'KindEventSourceCreateOrUpdateParameters', 'KindMicrosoftEventHub', 'KindMicrosoftIoTHub'
    Kind Kind `json:"kind,omitempty"`
    // Location - The location of the resource.
    Location *string `json:"location,omitempty"`
    // Tags - Key-value pairs of additional properties for the resource.
    Tags map[string]*string `json:"tags"`
}

IoTHubEventSourceCreateOrUpdateParameters parameters supplied to the Create or Update Event Source operation for an IoTHub event source.

func (IoTHubEventSourceCreateOrUpdateParameters) AsBasicEventSourceCreateOrUpdateParameters Uses

func (ithescoup IoTHubEventSourceCreateOrUpdateParameters) AsBasicEventSourceCreateOrUpdateParameters() (BasicEventSourceCreateOrUpdateParameters, bool)

AsBasicEventSourceCreateOrUpdateParameters is the BasicEventSourceCreateOrUpdateParameters implementation for IoTHubEventSourceCreateOrUpdateParameters.

func (IoTHubEventSourceCreateOrUpdateParameters) AsEventHubEventSourceCreateOrUpdateParameters Uses

func (ithescoup IoTHubEventSourceCreateOrUpdateParameters) AsEventHubEventSourceCreateOrUpdateParameters() (*EventHubEventSourceCreateOrUpdateParameters, bool)

AsEventHubEventSourceCreateOrUpdateParameters is the BasicEventSourceCreateOrUpdateParameters implementation for IoTHubEventSourceCreateOrUpdateParameters.

func (IoTHubEventSourceCreateOrUpdateParameters) AsEventSourceCreateOrUpdateParameters Uses

func (ithescoup IoTHubEventSourceCreateOrUpdateParameters) AsEventSourceCreateOrUpdateParameters() (*EventSourceCreateOrUpdateParameters, bool)

AsEventSourceCreateOrUpdateParameters is the BasicEventSourceCreateOrUpdateParameters implementation for IoTHubEventSourceCreateOrUpdateParameters.

func (IoTHubEventSourceCreateOrUpdateParameters) AsIoTHubEventSourceCreateOrUpdateParameters Uses

func (ithescoup IoTHubEventSourceCreateOrUpdateParameters) AsIoTHubEventSourceCreateOrUpdateParameters() (*IoTHubEventSourceCreateOrUpdateParameters, bool)

AsIoTHubEventSourceCreateOrUpdateParameters is the BasicEventSourceCreateOrUpdateParameters implementation for IoTHubEventSourceCreateOrUpdateParameters.

func (IoTHubEventSourceCreateOrUpdateParameters) MarshalJSON Uses

func (ithescoup IoTHubEventSourceCreateOrUpdateParameters) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for IoTHubEventSourceCreateOrUpdateParameters.

func (*IoTHubEventSourceCreateOrUpdateParameters) UnmarshalJSON Uses

func (ithescoup *IoTHubEventSourceCreateOrUpdateParameters) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for IoTHubEventSourceCreateOrUpdateParameters struct.

type IoTHubEventSourceCreationProperties Uses

type IoTHubEventSourceCreationProperties struct {
    // SharedAccessKey - The value of the Shared Access Policy key that grants the Time Series Insights service read access to the iot hub. This property is not shown in event source responses.
    SharedAccessKey *string `json:"sharedAccessKey,omitempty"`
    // IotHubName - The name of the iot hub.
    IotHubName *string `json:"iotHubName,omitempty"`
    // ConsumerGroupName - The name of the iot hub's consumer group that holds the partitions from which events will be read.
    ConsumerGroupName *string `json:"consumerGroupName,omitempty"`
    // KeyName - The name of the Shared Access Policy key that grants the Time Series Insights service access to the iot hub. This shared access policy key must grant 'service connect' permissions to the iot hub.
    KeyName *string `json:"keyName,omitempty"`
    // EventSourceResourceID - The resource id of the event source in Azure Resource Manager.
    EventSourceResourceID *string `json:"eventSourceResourceId,omitempty"`
    // TimestampPropertyName - The event property that will be used as the event source's timestamp. If a value isn't specified for timestampPropertyName, or if null or empty-string is specified, the event creation time will be used.
    TimestampPropertyName *string `json:"timestampPropertyName,omitempty"`
    // ProvisioningState - Provisioning state of the resource. Possible values include: 'Accepted', 'Creating', 'Updating', 'Succeeded', 'Failed', 'Deleting'
    ProvisioningState ProvisioningState `json:"provisioningState,omitempty"`
    // CreationTime - READ-ONLY; The time the resource was created.
    CreationTime *date.Time `json:"creationTime,omitempty"`
}

IoTHubEventSourceCreationProperties properties of the IoTHub event source that are required on create or update requests.

type IoTHubEventSourceMutableProperties Uses

type IoTHubEventSourceMutableProperties struct {
    // SharedAccessKey - The value of the shared access key that grants the Time Series Insights service read access to the iot hub. This property is not shown in event source responses.
    SharedAccessKey *string `json:"sharedAccessKey,omitempty"`
    // TimestampPropertyName - The event property that will be used as the event source's timestamp. If a value isn't specified for timestampPropertyName, or if null or empty-string is specified, the event creation time will be used.
    TimestampPropertyName *string `json:"timestampPropertyName,omitempty"`
    // LocalTimestamp - An object that represents the local timestamp property. It contains the format of local timestamp that needs to be used and the corresponding timezone offset information. If a value isn't specified for localTimestamp, or if null, then the local timestamp will not be ingressed with the events.
    LocalTimestamp *LocalTimestamp `json:"localTimestamp,omitempty"`
}

IoTHubEventSourceMutableProperties an object that represents a set of mutable IoTHub event source resource properties.

type IoTHubEventSourceResource Uses

type IoTHubEventSourceResource struct {
    *IoTHubEventSourceResourceProperties `json:"properties,omitempty"`
    // Kind - Possible values include: 'KindBasicEventSourceResourceKindEventSourceResource', 'KindBasicEventSourceResourceKindMicrosoftEventHub', 'KindBasicEventSourceResourceKindMicrosoftIotHub'
    Kind KindBasicEventSourceResource `json:"kind,omitempty"`
    // Location - Resource location
    Location *string `json:"location,omitempty"`
    // Tags - Resource tags
    Tags map[string]*string `json:"tags"`
    // ID - READ-ONLY; Resource Id
    ID  *string `json:"id,omitempty"`
    // Name - READ-ONLY; Resource name
    Name *string `json:"name,omitempty"`
    // Type - READ-ONLY; Resource type
    Type *string `json:"type,omitempty"`
}

IoTHubEventSourceResource an event source that receives its data from an Azure IoTHub.

func (IoTHubEventSourceResource) AsBasicEventSourceResource Uses

func (ithesr IoTHubEventSourceResource) AsBasicEventSourceResource() (BasicEventSourceResource, bool)

AsBasicEventSourceResource is the BasicEventSourceResource implementation for IoTHubEventSourceResource.

func (IoTHubEventSourceResource) AsEventHubEventSourceResource Uses

func (ithesr IoTHubEventSourceResource) AsEventHubEventSourceResource() (*EventHubEventSourceResource, bool)

AsEventHubEventSourceResource is the BasicEventSourceResource implementation for IoTHubEventSourceResource.

func (IoTHubEventSourceResource) AsEventSourceResource Uses

func (ithesr IoTHubEventSourceResource) AsEventSourceResource() (*EventSourceResource, bool)

AsEventSourceResource is the BasicEventSourceResource implementation for IoTHubEventSourceResource.

func (IoTHubEventSourceResource) AsIoTHubEventSourceResource Uses

func (ithesr IoTHubEventSourceResource) AsIoTHubEventSourceResource() (*IoTHubEventSourceResource, bool)

AsIoTHubEventSourceResource is the BasicEventSourceResource implementation for IoTHubEventSourceResource.

func (IoTHubEventSourceResource) MarshalJSON Uses

func (ithesr IoTHubEventSourceResource) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for IoTHubEventSourceResource.

func (*IoTHubEventSourceResource) UnmarshalJSON Uses

func (ithesr *IoTHubEventSourceResource) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for IoTHubEventSourceResource struct.

type IoTHubEventSourceResourceProperties Uses

type IoTHubEventSourceResourceProperties struct {
    // IotHubName - The name of the iot hub.
    IotHubName *string `json:"iotHubName,omitempty"`
    // ConsumerGroupName - The name of the iot hub's consumer group that holds the partitions from which events will be read.
    ConsumerGroupName *string `json:"consumerGroupName,omitempty"`
    // KeyName - The name of the Shared Access Policy key that grants the Time Series Insights service access to the iot hub. This shared access policy key must grant 'service connect' permissions to the iot hub.
    KeyName *string `json:"keyName,omitempty"`
    // EventSourceResourceID - The resource id of the event source in Azure Resource Manager.
    EventSourceResourceID *string `json:"eventSourceResourceId,omitempty"`
    // TimestampPropertyName - The event property that will be used as the event source's timestamp. If a value isn't specified for timestampPropertyName, or if null or empty-string is specified, the event creation time will be used.
    TimestampPropertyName *string `json:"timestampPropertyName,omitempty"`
    // ProvisioningState - Provisioning state of the resource. Possible values include: 'Accepted', 'Creating', 'Updating', 'Succeeded', 'Failed', 'Deleting'
    ProvisioningState ProvisioningState `json:"provisioningState,omitempty"`
    // CreationTime - READ-ONLY; The time the resource was created.
    CreationTime *date.Time `json:"creationTime,omitempty"`
}

IoTHubEventSourceResourceProperties properties of the IoTHub event source resource.

type IoTHubEventSourceUpdateParameters Uses

type IoTHubEventSourceUpdateParameters struct {
    // IoTHubEventSourceMutableProperties - Properties of the IoTHub event source.
    *IoTHubEventSourceMutableProperties `json:"properties,omitempty"`
    // Tags - Key-value pairs of additional properties for the event source.
    Tags map[string]*string `json:"tags"`
}

IoTHubEventSourceUpdateParameters parameters supplied to the Update Event Source operation to update an IoTHub event source.

func (IoTHubEventSourceUpdateParameters) MarshalJSON Uses

func (ithesup IoTHubEventSourceUpdateParameters) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for IoTHubEventSourceUpdateParameters.

func (*IoTHubEventSourceUpdateParameters) UnmarshalJSON Uses

func (ithesup *IoTHubEventSourceUpdateParameters) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for IoTHubEventSourceUpdateParameters struct.

type Kind Uses

type Kind string

Kind enumerates the values for kind.

const (
    // KindEventSourceCreateOrUpdateParameters ...
    KindEventSourceCreateOrUpdateParameters Kind = "EventSourceCreateOrUpdateParameters"
    // KindMicrosoftEventHub ...
    KindMicrosoftEventHub Kind = "Microsoft.EventHub"
    // KindMicrosoftIoTHub ...
    KindMicrosoftIoTHub Kind = "Microsoft.IoTHub"
)

func PossibleKindValues Uses

func PossibleKindValues() []Kind

PossibleKindValues returns an array of possible values for the Kind const type.

type KindBasicEventSourceResource Uses

type KindBasicEventSourceResource string

KindBasicEventSourceResource enumerates the values for kind basic event source resource.

const (
    // KindBasicEventSourceResourceKindEventSourceResource ...
    KindBasicEventSourceResourceKindEventSourceResource KindBasicEventSourceResource = "EventSourceResource"
    // KindBasicEventSourceResourceKindMicrosoftEventHub ...
    KindBasicEventSourceResourceKindMicrosoftEventHub KindBasicEventSourceResource = "Microsoft.EventHub"
    // KindBasicEventSourceResourceKindMicrosoftIotHub ...
    KindBasicEventSourceResourceKindMicrosoftIotHub KindBasicEventSourceResource = "Microsoft.IotHub"
)

func PossibleKindBasicEventSourceResourceValues Uses

func PossibleKindBasicEventSourceResourceValues() []KindBasicEventSourceResource

PossibleKindBasicEventSourceResourceValues returns an array of possible values for the KindBasicEventSourceResource const type.

type LocalTimestamp Uses

type LocalTimestamp struct {
    // Format - An enum that represents the format of the local timestamp property that needs to be set. Possible values include: 'Embedded', 'Iana', 'TimeSpan'
    Format LocalTimestampFormat `json:"format,omitempty"`
    // TimeZoneOffset - An object that represents the offset information for the local timestamp format specified. Should not be specified for LocalTimestampFormat - Embedded.
    TimeZoneOffset *LocalTimestampTimeZoneOffset `json:"timeZoneOffset,omitempty"`
}

LocalTimestamp an object that represents the local timestamp property. It contains the format of local timestamp that needs to be used and the corresponding timezone offset information. If a value isn't specified for localTimestamp, or if null, then the local timestamp will not be ingressed with the events.

type LocalTimestampFormat Uses

type LocalTimestampFormat string

LocalTimestampFormat enumerates the values for local timestamp format.

const (
    // Embedded ...
    Embedded LocalTimestampFormat = "Embedded"
    // Iana ...
    Iana LocalTimestampFormat = "Iana"
    // TimeSpan ...
    TimeSpan LocalTimestampFormat = "TimeSpan"
)

func PossibleLocalTimestampFormatValues Uses

func PossibleLocalTimestampFormatValues() []LocalTimestampFormat

PossibleLocalTimestampFormatValues returns an array of possible values for the LocalTimestampFormat const type.

type LocalTimestampTimeZoneOffset Uses

type LocalTimestampTimeZoneOffset struct {
    // PropertyName - The event property that will be contain the offset information to calculate the local timestamp. When the LocalTimestampFormat is Iana, the property name will contain the name of the column which contains IANA Timezone Name (eg: Americas/Los Angeles). When LocalTimestampFormat is Timespan, it contains the name of property which contains values representing the offset (eg: P1D or 1.00:00:00)
    PropertyName *string `json:"propertyName,omitempty"`
}

LocalTimestampTimeZoneOffset an object that represents the offset information for the local timestamp format specified. Should not be specified for LocalTimestampFormat - Embedded.

type Operation Uses

type Operation struct {
    // Name - READ-ONLY; The name of the operation being performed on this particular object.
    Name *string `json:"name,omitempty"`
    // Display - READ-ONLY; Contains the localized display information for this particular operation / action.
    Display *OperationDisplay `json:"display,omitempty"`
}

Operation a Time Series Insights REST API operation

type OperationDisplay Uses

type OperationDisplay struct {
    // Provider - READ-ONLY; The localized friendly form of the resource provider name.
    Provider *string `json:"provider,omitempty"`
    // Resource - READ-ONLY; The localized friendly form of the resource type related to this action/operation.
    Resource *string `json:"resource,omitempty"`
    // Operation - READ-ONLY; The localized friendly name for the operation.
    Operation *string `json:"operation,omitempty"`
    // Description - READ-ONLY; The localized friendly description for the operation.
    Description *string `json:"description,omitempty"`
}

OperationDisplay contains the localized display information for this particular operation / action.

type OperationListResult Uses

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

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

func (OperationListResult) IsEmpty Uses

func (olr OperationListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type OperationListResultIterator Uses

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

OperationListResultIterator provides access to a complete listing of Operation values.

func NewOperationListResultIterator Uses

func NewOperationListResultIterator(page OperationListResultPage) OperationListResultIterator

Creates a new instance of the OperationListResultIterator type.

func (*OperationListResultIterator) Next Uses

func (iter *OperationListResultIterator) Next() error

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

func (*OperationListResultIterator) NextWithContext Uses

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

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

func (OperationListResultIterator) NotDone Uses

func (iter OperationListResultIterator) NotDone() bool

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

func (OperationListResultIterator) Response Uses

func (iter OperationListResultIterator) Response() OperationListResult

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

func (OperationListResultIterator) Value Uses

func (iter OperationListResultIterator) Value() Operation

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

type OperationListResultPage Uses

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

OperationListResultPage contains a page of Operation values.

func NewOperationListResultPage Uses

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

Creates a new instance of the OperationListResultPage type.

func (*OperationListResultPage) Next Uses

func (page *OperationListResultPage) Next() error

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

func (*OperationListResultPage) NextWithContext Uses

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

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

func (OperationListResultPage) NotDone Uses

func (page OperationListResultPage) NotDone() bool

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

func (OperationListResultPage) Response Uses

func (page OperationListResultPage) Response() OperationListResult

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

func (OperationListResultPage) Values Uses

func (page OperationListResultPage) Values() []Operation

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

type OperationsClient Uses

type OperationsClient struct {
    BaseClient
}

OperationsClient is the time Series Insights client

func NewOperationsClient Uses

func NewOperationsClient(subscriptionID string) OperationsClient

NewOperationsClient creates an instance of the OperationsClient client.

func NewOperationsClientWithBaseURI Uses

func NewOperationsClientWithBaseURI(baseURI string, subscriptionID string) OperationsClient

NewOperationsClientWithBaseURI creates an instance of the OperationsClient client.

func (OperationsClient) List Uses

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

List lists all of the available Time Series Insights related operations.

func (OperationsClient) ListComplete Uses

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

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

func (OperationsClient) ListPreparer Uses

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

ListPreparer prepares the List request.

func (OperationsClient) ListResponder Uses

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

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

func (OperationsClient) ListSender Uses

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

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

type PartitionKeyProperty Uses

type PartitionKeyProperty struct {
    // Name - The name of the property.
    Name *string `json:"name,omitempty"`
    // Type - The type of the property. Possible values include: 'String'
    Type PropertyType `json:"type,omitempty"`
}

PartitionKeyProperty the structure of the property that a partition key can have. An environment can have multiple such properties.

type PropertyType Uses

type PropertyType string

PropertyType enumerates the values for property type.

const (
    // String ...
    String PropertyType = "String"
)

func PossiblePropertyTypeValues Uses

func PossiblePropertyTypeValues() []PropertyType

PossiblePropertyTypeValues returns an array of possible values for the PropertyType const type.

type ProvisioningState Uses

type ProvisioningState string

ProvisioningState enumerates the values for provisioning state.

const (
    // Accepted ...
    Accepted ProvisioningState = "Accepted"
    // Creating ...
    Creating ProvisioningState = "Creating"
    // Deleting ...
    Deleting ProvisioningState = "Deleting"
    // Failed ...
    Failed ProvisioningState = "Failed"
    // Succeeded ...
    Succeeded ProvisioningState = "Succeeded"
    // Updating ...
    Updating ProvisioningState = "Updating"
)

func PossibleProvisioningStateValues Uses

func PossibleProvisioningStateValues() []ProvisioningState

PossibleProvisioningStateValues returns an array of possible values for the ProvisioningState const type.

type ReferenceDataKeyPropertyType Uses

type ReferenceDataKeyPropertyType string

ReferenceDataKeyPropertyType enumerates the values for reference data key property type.

const (
    // ReferenceDataKeyPropertyTypeBool ...
    ReferenceDataKeyPropertyTypeBool ReferenceDataKeyPropertyType = "Bool"
    // ReferenceDataKeyPropertyTypeDateTime ...
    ReferenceDataKeyPropertyTypeDateTime ReferenceDataKeyPropertyType = "DateTime"
    // ReferenceDataKeyPropertyTypeDouble ...
    ReferenceDataKeyPropertyTypeDouble ReferenceDataKeyPropertyType = "Double"
    // ReferenceDataKeyPropertyTypeString ...
    ReferenceDataKeyPropertyTypeString ReferenceDataKeyPropertyType = "String"
)

func PossibleReferenceDataKeyPropertyTypeValues Uses

func PossibleReferenceDataKeyPropertyTypeValues() []ReferenceDataKeyPropertyType

PossibleReferenceDataKeyPropertyTypeValues returns an array of possible values for the ReferenceDataKeyPropertyType const type.

type ReferenceDataSetCreateOrUpdateParameters Uses

type ReferenceDataSetCreateOrUpdateParameters struct {
    *ReferenceDataSetCreationProperties `json:"properties,omitempty"`
    // Location - The location of the resource.
    Location *string `json:"location,omitempty"`
    // Tags - Key-value pairs of additional properties for the resource.
    Tags map[string]*string `json:"tags"`
}

ReferenceDataSetCreateOrUpdateParameters ...

func (ReferenceDataSetCreateOrUpdateParameters) MarshalJSON Uses

func (rdscoup ReferenceDataSetCreateOrUpdateParameters) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ReferenceDataSetCreateOrUpdateParameters.

func (*ReferenceDataSetCreateOrUpdateParameters) UnmarshalJSON Uses

func (rdscoup *ReferenceDataSetCreateOrUpdateParameters) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for ReferenceDataSetCreateOrUpdateParameters struct.

type ReferenceDataSetCreationProperties Uses

type ReferenceDataSetCreationProperties struct {
    // KeyProperties - The list of key properties for the reference data set.
    KeyProperties *[]ReferenceDataSetKeyProperty `json:"keyProperties,omitempty"`
    // DataStringComparisonBehavior - The reference data set key comparison behavior can be set using this property. By default, the value is 'Ordinal' - which means case sensitive key comparison will be performed while joining reference data with events or while adding new reference data. When 'OrdinalIgnoreCase' is set, case insensitive comparison will be used. Possible values include: 'Ordinal', 'OrdinalIgnoreCase'
    DataStringComparisonBehavior DataStringComparisonBehavior `json:"dataStringComparisonBehavior,omitempty"`
}

ReferenceDataSetCreationProperties properties used to create a reference data set.

type ReferenceDataSetKeyProperty Uses

type ReferenceDataSetKeyProperty struct {
    // Name - The name of the key property.
    Name *string `json:"name,omitempty"`
    // Type - The type of the key property. Possible values include: 'ReferenceDataKeyPropertyTypeString', 'ReferenceDataKeyPropertyTypeDouble', 'ReferenceDataKeyPropertyTypeBool', 'ReferenceDataKeyPropertyTypeDateTime'
    Type ReferenceDataKeyPropertyType `json:"type,omitempty"`
}

ReferenceDataSetKeyProperty a key property for the reference data set. A reference data set can have multiple key properties.

type ReferenceDataSetListResponse Uses

type ReferenceDataSetListResponse struct {
    autorest.Response `json:"-"`
    // Value - Result of the List Reference Data Sets operation.
    Value *[]ReferenceDataSetResource `json:"value,omitempty"`
}

ReferenceDataSetListResponse the response of the List Reference Data Sets operation.

type ReferenceDataSetResource Uses

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

ReferenceDataSetResource a reference data set provides metadata about the events in an environment. Metadata in the reference data set will be joined with events as they are read from event sources. The metadata that makes up the reference data set is uploaded or modified through the Time Series Insights data plane APIs.

func (ReferenceDataSetResource) MarshalJSON Uses

func (rdsr ReferenceDataSetResource) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ReferenceDataSetResource.

func (*ReferenceDataSetResource) UnmarshalJSON Uses

func (rdsr *ReferenceDataSetResource) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for ReferenceDataSetResource struct.

type ReferenceDataSetResourceProperties Uses

type ReferenceDataSetResourceProperties struct {
    // KeyProperties - The list of key properties for the reference data set.
    KeyProperties *[]ReferenceDataSetKeyProperty `json:"keyProperties,omitempty"`
    // DataStringComparisonBehavior - The reference data set key comparison behavior can be set using this property. By default, the value is 'Ordinal' - which means case sensitive key comparison will be performed while joining reference data with events or while adding new reference data. When 'OrdinalIgnoreCase' is set, case insensitive comparison will be used. Possible values include: 'Ordinal', 'OrdinalIgnoreCase'
    DataStringComparisonBehavior DataStringComparisonBehavior `json:"dataStringComparisonBehavior,omitempty"`
    // ProvisioningState - Provisioning state of the resource. Possible values include: 'Accepted', 'Creating', 'Updating', 'Succeeded', 'Failed', 'Deleting'
    ProvisioningState ProvisioningState `json:"provisioningState,omitempty"`
    // CreationTime - READ-ONLY; The time the resource was created.
    CreationTime *date.Time `json:"creationTime,omitempty"`
}

ReferenceDataSetResourceProperties properties of the reference data set.

type ReferenceDataSetUpdateParameters Uses

type ReferenceDataSetUpdateParameters struct {
    // Tags - Key-value pairs of additional properties for the reference data set.
    Tags map[string]*string `json:"tags"`
}

ReferenceDataSetUpdateParameters parameters supplied to the Update Reference Data Set operation.

func (ReferenceDataSetUpdateParameters) MarshalJSON Uses

func (rdsup ReferenceDataSetUpdateParameters) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ReferenceDataSetUpdateParameters.

type ReferenceDataSetsClient Uses

type ReferenceDataSetsClient struct {
    BaseClient
}

ReferenceDataSetsClient is the time Series Insights client

func NewReferenceDataSetsClient Uses

func NewReferenceDataSetsClient(subscriptionID string) ReferenceDataSetsClient

NewReferenceDataSetsClient creates an instance of the ReferenceDataSetsClient client.

func NewReferenceDataSetsClientWithBaseURI Uses

func NewReferenceDataSetsClientWithBaseURI(baseURI string, subscriptionID string) ReferenceDataSetsClient

NewReferenceDataSetsClientWithBaseURI creates an instance of the ReferenceDataSetsClient client.

func (ReferenceDataSetsClient) CreateOrUpdate Uses

func (client ReferenceDataSetsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, environmentName string, referenceDataSetName string, parameters ReferenceDataSetCreateOrUpdateParameters) (result ReferenceDataSetResource, err error)

CreateOrUpdate create or update a reference data set in the specified environment. Parameters: resourceGroupName - name of an Azure Resource group. environmentName - the name of the Time Series Insights environment associated with the specified resource group. referenceDataSetName - name of the reference data set. parameters - parameters for creating a reference data set.

func (ReferenceDataSetsClient) CreateOrUpdatePreparer Uses

func (client ReferenceDataSetsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, environmentName string, referenceDataSetName string, parameters ReferenceDataSetCreateOrUpdateParameters) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (ReferenceDataSetsClient) CreateOrUpdateResponder Uses

func (client ReferenceDataSetsClient) CreateOrUpdateResponder(resp *http.Response) (result ReferenceDataSetResource, err error)

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

func (ReferenceDataSetsClient) CreateOrUpdateSender Uses

func (client ReferenceDataSetsClient) 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 (ReferenceDataSetsClient) Delete Uses

func (client ReferenceDataSetsClient) Delete(ctx context.Context, resourceGroupName string, environmentName string, referenceDataSetName string) (result autorest.Response, err error)

Delete deletes the reference data set with the specified name in the specified subscription, resource group, and environment Parameters: resourceGroupName - name of an Azure Resource group. environmentName - the name of the Time Series Insights environment associated with the specified resource group. referenceDataSetName - the name of the Time Series Insights reference data set associated with the specified environment.

func (ReferenceDataSetsClient) DeletePreparer Uses

func (client ReferenceDataSetsClient) DeletePreparer(ctx context.Context, resourceGroupName string, environmentName string, referenceDataSetName string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (ReferenceDataSetsClient) DeleteResponder Uses

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

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

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

func (ReferenceDataSetsClient) Get Uses

func (client ReferenceDataSetsClient) Get(ctx context.Context, resourceGroupName string, environmentName string, referenceDataSetName string) (result ReferenceDataSetResource, err error)

Get gets the reference data set with the specified name in the specified environment. Parameters: resourceGroupName - name of an Azure Resource group. environmentName - the name of the Time Series Insights environment associated with the specified resource group. referenceDataSetName - the name of the Time Series Insights reference data set associated with the specified environment.

func (ReferenceDataSetsClient) GetPreparer Uses

func (client ReferenceDataSetsClient) GetPreparer(ctx context.Context, resourceGroupName string, environmentName string, referenceDataSetName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (ReferenceDataSetsClient) GetResponder Uses

func (client ReferenceDataSetsClient) GetResponder(resp *http.Response) (result ReferenceDataSetResource, err error)

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

func (ReferenceDataSetsClient) GetSender Uses

func (client ReferenceDataSetsClient) GetSender(req *http.Request) (*http.Response, error)

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

func (ReferenceDataSetsClient) ListByEnvironment Uses

func (client ReferenceDataSetsClient) ListByEnvironment(ctx context.Context, resourceGroupName string, environmentName string) (result ReferenceDataSetListResponse, err error)

ListByEnvironment lists all the available reference data sets associated with the subscription and within the specified resource group and environment. Parameters: resourceGroupName - name of an Azure Resource group. environmentName - the name of the Time Series Insights environment associated with the specified resource group.

func (ReferenceDataSetsClient) ListByEnvironmentPreparer Uses

func (client ReferenceDataSetsClient) ListByEnvironmentPreparer(ctx context.Context, resourceGroupName string, environmentName string) (*http.Request, error)

ListByEnvironmentPreparer prepares the ListByEnvironment request.

func (ReferenceDataSetsClient) ListByEnvironmentResponder Uses

func (client ReferenceDataSetsClient) ListByEnvironmentResponder(resp *http.Response) (result ReferenceDataSetListResponse, err error)

ListByEnvironmentResponder handles the response to the ListByEnvironment request. The method always closes the http.Response Body.

func (ReferenceDataSetsClient) ListByEnvironmentSender Uses

func (client ReferenceDataSetsClient) ListByEnvironmentSender(req *http.Request) (*http.Response, error)

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

func (ReferenceDataSetsClient) Update Uses

func (client ReferenceDataSetsClient) Update(ctx context.Context, resourceGroupName string, environmentName string, referenceDataSetName string, referenceDataSetUpdateParameters ReferenceDataSetUpdateParameters) (result ReferenceDataSetResource, err error)

Update updates the reference data set with the specified name in the specified subscription, resource group, and environment. Parameters: resourceGroupName - name of an Azure Resource group. environmentName - the name of the Time Series Insights environment associated with the specified resource group. referenceDataSetName - the name of the Time Series Insights reference data set associated with the specified environment. referenceDataSetUpdateParameters - request object that contains the updated information for the reference data set.

func (ReferenceDataSetsClient) UpdatePreparer Uses

func (client ReferenceDataSetsClient) UpdatePreparer(ctx context.Context, resourceGroupName string, environmentName string, referenceDataSetName string, referenceDataSetUpdateParameters ReferenceDataSetUpdateParameters) (*http.Request, error)

UpdatePreparer prepares the Update request.

func (ReferenceDataSetsClient) UpdateResponder Uses

func (client ReferenceDataSetsClient) UpdateResponder(resp *http.Response) (result ReferenceDataSetResource, err error)

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

func (ReferenceDataSetsClient) UpdateSender Uses

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

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

type Resource Uses

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

Resource time Series Insights resource

type ResourceProperties Uses

type ResourceProperties struct {
    // ProvisioningState - Provisioning state of the resource. Possible values include: 'Accepted', 'Creating', 'Updating', 'Succeeded', 'Failed', 'Deleting'
    ProvisioningState ProvisioningState `json:"provisioningState,omitempty"`
    // CreationTime - READ-ONLY; The time the resource was created.
    CreationTime *date.Time `json:"creationTime,omitempty"`
}

ResourceProperties properties that are common to all tracked resources.

type Sku Uses

type Sku struct {
    // Name - The name of this SKU. Possible values include: 'S1', 'S2'
    Name SkuName `json:"name,omitempty"`
    // Capacity - The capacity of the sku. This value can be changed to support scale out of environments after they have been created.
    Capacity *int32 `json:"capacity,omitempty"`
}

Sku the sku determines the capacity of the environment, the SLA (in queries-per-minute and total capacity), and the billing rate.

type SkuName Uses

type SkuName string

SkuName enumerates the values for sku name.

const (
    // S1 ...
    S1  SkuName = "S1"
    // S2 ...
    S2  SkuName = "S2"
)

func PossibleSkuNameValues Uses

func PossibleSkuNameValues() []SkuName

PossibleSkuNameValues returns an array of possible values for the SkuName const type.

type StorageLimitExceededBehavior Uses

type StorageLimitExceededBehavior string

StorageLimitExceededBehavior enumerates the values for storage limit exceeded behavior.

const (
    // PauseIngress ...
    PauseIngress StorageLimitExceededBehavior = "PauseIngress"
    // PurgeOldData ...
    PurgeOldData StorageLimitExceededBehavior = "PurgeOldData"
)

func PossibleStorageLimitExceededBehaviorValues Uses

func PossibleStorageLimitExceededBehaviorValues() []StorageLimitExceededBehavior

PossibleStorageLimitExceededBehaviorValues returns an array of possible values for the StorageLimitExceededBehavior const type.

type TrackedResource Uses

type TrackedResource struct {
    // Location - Resource location
    Location *string `json:"location,omitempty"`
    // Tags - Resource tags
    Tags map[string]*string `json:"tags"`
    // ID - READ-ONLY; Resource Id
    ID  *string `json:"id,omitempty"`
    // Name - READ-ONLY; Resource name
    Name *string `json:"name,omitempty"`
    // Type - READ-ONLY; Resource type
    Type *string `json:"type,omitempty"`
}

TrackedResource time Series Insights resource that is tracked by Azure Resource Manager.

func (TrackedResource) MarshalJSON Uses

func (tr TrackedResource) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for TrackedResource.

Directories

PathSynopsis
timeseriesinsightsapi

Package timeseriesinsights imports 11 packages (graph) and is imported by 4 packages. Updated 2019-07-30. Refresh now. Tools for package owners.