azure-sdk-for-go: github.com/Azure/azure-sdk-for-go/services/kusto/mgmt/2019-11-09/kusto Index | Files | Directories

package kusto

import "github.com/Azure/azure-sdk-for-go/services/kusto/mgmt/2019-11-09/kusto"

Package kusto implements the Azure ARM Kusto service API version 2019-11-09.

The Azure Kusto management API provides a RESTful set of web services that interact with Azure Kusto services to manage your clusters and databases. The API enables you to create, update, and delete clusters and databases.

Index

Package Files

attacheddatabaseconfigurations.go client.go clusterprincipalassignments.go clusters.go databaseprincipalassignments.go databases.go dataconnections.go enums.go models.go operations.go version.go

Constants

const (
    // DefaultBaseURI is the default URI used for the service Kusto
    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 AttachedDatabaseConfiguration Uses

type AttachedDatabaseConfiguration struct {
    autorest.Response `json:"-"`
    // Location - Resource location.
    Location *string `json:"location,omitempty"`
    // AttachedDatabaseConfigurationProperties - The properties of the attached database configuration.
    *AttachedDatabaseConfigurationProperties `json:"properties,omitempty"`
    // ID - READ-ONLY; Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
    ID  *string `json:"id,omitempty"`
    // Name - READ-ONLY; The name of the resource
    Name *string `json:"name,omitempty"`
    // Type - READ-ONLY; The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    Type *string `json:"type,omitempty"`
}

AttachedDatabaseConfiguration class representing an attached database configuration.

func (AttachedDatabaseConfiguration) MarshalJSON Uses

func (adc AttachedDatabaseConfiguration) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for AttachedDatabaseConfiguration.

func (*AttachedDatabaseConfiguration) UnmarshalJSON Uses

func (adc *AttachedDatabaseConfiguration) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for AttachedDatabaseConfiguration struct.

type AttachedDatabaseConfigurationListResult Uses

type AttachedDatabaseConfigurationListResult struct {
    autorest.Response `json:"-"`
    // Value - The list of attached database configurations.
    Value *[]AttachedDatabaseConfiguration `json:"value,omitempty"`
}

AttachedDatabaseConfigurationListResult the list attached database configurations operation response.

type AttachedDatabaseConfigurationProperties Uses

type AttachedDatabaseConfigurationProperties struct {
    // ProvisioningState - READ-ONLY; The provisioned state of the resource. Possible values include: 'Running', 'Creating', 'Deleting', 'Succeeded', 'Failed', 'Moving'
    ProvisioningState ProvisioningState `json:"provisioningState,omitempty"`
    // DatabaseName - The name of the database which you would like to attach, use * if you want to follow all current and future databases.
    DatabaseName *string `json:"databaseName,omitempty"`
    // ClusterResourceID - The resource id of the cluster where the databases you would like to attach reside.
    ClusterResourceID *string `json:"clusterResourceId,omitempty"`
    // AttachedDatabaseNames - READ-ONLY; The list of databases from the clusterResourceId which are currently attached to the cluster.
    AttachedDatabaseNames *[]string `json:"attachedDatabaseNames,omitempty"`
    // DefaultPrincipalsModificationKind - The default principals modification kind. Possible values include: 'DefaultPrincipalsModificationKindUnion', 'DefaultPrincipalsModificationKindReplace', 'DefaultPrincipalsModificationKindNone'
    DefaultPrincipalsModificationKind DefaultPrincipalsModificationKind `json:"defaultPrincipalsModificationKind,omitempty"`
}

AttachedDatabaseConfigurationProperties class representing the an attached database configuration properties of kind specific.

func (AttachedDatabaseConfigurationProperties) MarshalJSON Uses

func (adcp AttachedDatabaseConfigurationProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for AttachedDatabaseConfigurationProperties.

type AttachedDatabaseConfigurationsClient Uses

type AttachedDatabaseConfigurationsClient struct {
    BaseClient
}

AttachedDatabaseConfigurationsClient is the the Azure Kusto management API provides a RESTful set of web services that interact with Azure Kusto services to manage your clusters and databases. The API enables you to create, update, and delete clusters and databases.

func NewAttachedDatabaseConfigurationsClient Uses

func NewAttachedDatabaseConfigurationsClient(subscriptionID string) AttachedDatabaseConfigurationsClient

NewAttachedDatabaseConfigurationsClient creates an instance of the AttachedDatabaseConfigurationsClient client.

func NewAttachedDatabaseConfigurationsClientWithBaseURI Uses

func NewAttachedDatabaseConfigurationsClientWithBaseURI(baseURI string, subscriptionID string) AttachedDatabaseConfigurationsClient

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

func (AttachedDatabaseConfigurationsClient) CreateOrUpdate Uses

func (client AttachedDatabaseConfigurationsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, clusterName string, attachedDatabaseConfigurationName string, parameters AttachedDatabaseConfiguration) (result AttachedDatabaseConfigurationsCreateOrUpdateFuture, err error)

CreateOrUpdate creates or updates an attached database configuration. Parameters: resourceGroupName - the name of the resource group containing the Kusto cluster. clusterName - the name of the Kusto cluster. attachedDatabaseConfigurationName - the name of the attached database configuration. parameters - the database parameters supplied to the CreateOrUpdate operation.

func (AttachedDatabaseConfigurationsClient) CreateOrUpdatePreparer Uses

func (client AttachedDatabaseConfigurationsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, clusterName string, attachedDatabaseConfigurationName string, parameters AttachedDatabaseConfiguration) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (AttachedDatabaseConfigurationsClient) CreateOrUpdateResponder Uses

func (client AttachedDatabaseConfigurationsClient) CreateOrUpdateResponder(resp *http.Response) (result AttachedDatabaseConfiguration, err error)

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

func (AttachedDatabaseConfigurationsClient) CreateOrUpdateSender Uses

func (client AttachedDatabaseConfigurationsClient) CreateOrUpdateSender(req *http.Request) (future AttachedDatabaseConfigurationsCreateOrUpdateFuture, err error)

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

func (AttachedDatabaseConfigurationsClient) Delete Uses

func (client AttachedDatabaseConfigurationsClient) Delete(ctx context.Context, resourceGroupName string, clusterName string, attachedDatabaseConfigurationName string) (result AttachedDatabaseConfigurationsDeleteFuture, err error)

Delete deletes the attached database configuration with the given name. Parameters: resourceGroupName - the name of the resource group containing the Kusto cluster. clusterName - the name of the Kusto cluster. attachedDatabaseConfigurationName - the name of the attached database configuration.

func (AttachedDatabaseConfigurationsClient) DeletePreparer Uses

func (client AttachedDatabaseConfigurationsClient) DeletePreparer(ctx context.Context, resourceGroupName string, clusterName string, attachedDatabaseConfigurationName string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (AttachedDatabaseConfigurationsClient) DeleteResponder Uses

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

func (client AttachedDatabaseConfigurationsClient) DeleteSender(req *http.Request) (future AttachedDatabaseConfigurationsDeleteFuture, err error)

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

func (AttachedDatabaseConfigurationsClient) Get Uses

func (client AttachedDatabaseConfigurationsClient) Get(ctx context.Context, resourceGroupName string, clusterName string, attachedDatabaseConfigurationName string) (result AttachedDatabaseConfiguration, err error)

Get returns an attached database configuration. Parameters: resourceGroupName - the name of the resource group containing the Kusto cluster. clusterName - the name of the Kusto cluster. attachedDatabaseConfigurationName - the name of the attached database configuration.

func (AttachedDatabaseConfigurationsClient) GetPreparer Uses

func (client AttachedDatabaseConfigurationsClient) GetPreparer(ctx context.Context, resourceGroupName string, clusterName string, attachedDatabaseConfigurationName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (AttachedDatabaseConfigurationsClient) GetResponder Uses

func (client AttachedDatabaseConfigurationsClient) GetResponder(resp *http.Response) (result AttachedDatabaseConfiguration, err error)

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

func (AttachedDatabaseConfigurationsClient) GetSender Uses

func (client AttachedDatabaseConfigurationsClient) 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 (AttachedDatabaseConfigurationsClient) ListByCluster Uses

func (client AttachedDatabaseConfigurationsClient) ListByCluster(ctx context.Context, resourceGroupName string, clusterName string) (result AttachedDatabaseConfigurationListResult, err error)

ListByCluster returns the list of attached database configurations of the given Kusto cluster. Parameters: resourceGroupName - the name of the resource group containing the Kusto cluster. clusterName - the name of the Kusto cluster.

func (AttachedDatabaseConfigurationsClient) ListByClusterPreparer Uses

func (client AttachedDatabaseConfigurationsClient) ListByClusterPreparer(ctx context.Context, resourceGroupName string, clusterName string) (*http.Request, error)

ListByClusterPreparer prepares the ListByCluster request.

func (AttachedDatabaseConfigurationsClient) ListByClusterResponder Uses

func (client AttachedDatabaseConfigurationsClient) ListByClusterResponder(resp *http.Response) (result AttachedDatabaseConfigurationListResult, err error)

ListByClusterResponder handles the response to the ListByCluster request. The method always closes the http.Response Body.

func (AttachedDatabaseConfigurationsClient) ListByClusterSender Uses

func (client AttachedDatabaseConfigurationsClient) ListByClusterSender(req *http.Request) (*http.Response, error)

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

type AttachedDatabaseConfigurationsCreateOrUpdateFuture Uses

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

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

type AttachedDatabaseConfigurationsDeleteFuture Uses

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

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

type AzureCapacity Uses

type AzureCapacity struct {
    // ScaleType - Scale type. Possible values include: 'Automatic', 'Manual', 'None'
    ScaleType AzureScaleType `json:"scaleType,omitempty"`
    // Minimum - Minimum allowed capacity.
    Minimum *int32 `json:"minimum,omitempty"`
    // Maximum - Maximum allowed capacity.
    Maximum *int32 `json:"maximum,omitempty"`
    // Default - The default capacity that would be used.
    Default *int32 `json:"default,omitempty"`
}

AzureCapacity azure capacity definition.

type AzureEntityResource Uses

type AzureEntityResource struct {
    // Etag - READ-ONLY; Resource Etag.
    Etag *string `json:"etag,omitempty"`
    // ID - READ-ONLY; Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
    ID  *string `json:"id,omitempty"`
    // Name - READ-ONLY; The name of the resource
    Name *string `json:"name,omitempty"`
    // Type - READ-ONLY; The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    Type *string `json:"type,omitempty"`
}

AzureEntityResource the resource model definition for an Azure Resource Manager resource with an etag.

type AzureResourceSku Uses

type AzureResourceSku struct {
    // ResourceType - Resource Namespace and Type.
    ResourceType *string `json:"resourceType,omitempty"`
    // Sku - The SKU details.
    Sku *AzureSku `json:"sku,omitempty"`
    // Capacity - The number of instances of the cluster.
    Capacity *AzureCapacity `json:"capacity,omitempty"`
}

AzureResourceSku azure resource SKU definition.

type AzureScaleType Uses

type AzureScaleType string

AzureScaleType enumerates the values for azure scale type.

const (
    // Automatic ...
    Automatic AzureScaleType = "automatic"
    // Manual ...
    Manual AzureScaleType = "manual"
    // None ...
    None AzureScaleType = "none"
)

func PossibleAzureScaleTypeValues Uses

func PossibleAzureScaleTypeValues() []AzureScaleType

PossibleAzureScaleTypeValues returns an array of possible values for the AzureScaleType const type.

type AzureSku Uses

type AzureSku struct {
    // Name - SKU name. Possible values include: 'StandardDS13V21TBPS', 'StandardDS13V22TBPS', 'StandardDS14V23TBPS', 'StandardDS14V24TBPS', 'StandardD13V2', 'StandardD14V2', 'StandardL8s', 'StandardL16s', 'StandardD11V2', 'StandardD12V2', 'StandardL4s', 'DevNoSLAStandardD11V2'
    Name AzureSkuName `json:"name,omitempty"`
    // Capacity - The number of instances of the cluster.
    Capacity *int32 `json:"capacity,omitempty"`
    // Tier - SKU tier. Possible values include: 'Basic', 'Standard'
    Tier AzureSkuTier `json:"tier,omitempty"`
}

AzureSku azure SKU definition.

type AzureSkuName Uses

type AzureSkuName string

AzureSkuName enumerates the values for azure sku name.

const (
    // DevNoSLAStandardD11V2 ...
    DevNoSLAStandardD11V2 AzureSkuName = "Dev(No SLA)_Standard_D11_v2"
    // StandardD11V2 ...
    StandardD11V2 AzureSkuName = "Standard_D11_v2"
    // StandardD12V2 ...
    StandardD12V2 AzureSkuName = "Standard_D12_v2"
    // StandardD13V2 ...
    StandardD13V2 AzureSkuName = "Standard_D13_v2"
    // StandardD14V2 ...
    StandardD14V2 AzureSkuName = "Standard_D14_v2"
    // StandardDS13V21TBPS ...
    StandardDS13V21TBPS AzureSkuName = "Standard_DS13_v2+1TB_PS"
    // StandardDS13V22TBPS ...
    StandardDS13V22TBPS AzureSkuName = "Standard_DS13_v2+2TB_PS"
    // StandardDS14V23TBPS ...
    StandardDS14V23TBPS AzureSkuName = "Standard_DS14_v2+3TB_PS"
    // StandardDS14V24TBPS ...
    StandardDS14V24TBPS AzureSkuName = "Standard_DS14_v2+4TB_PS"
    // StandardL16s ...
    StandardL16s AzureSkuName = "Standard_L16s"
    // StandardL4s ...
    StandardL4s AzureSkuName = "Standard_L4s"
    // StandardL8s ...
    StandardL8s AzureSkuName = "Standard_L8s"
)

func PossibleAzureSkuNameValues Uses

func PossibleAzureSkuNameValues() []AzureSkuName

PossibleAzureSkuNameValues returns an array of possible values for the AzureSkuName const type.

type AzureSkuTier Uses

type AzureSkuTier string

AzureSkuTier enumerates the values for azure sku tier.

const (
    // Basic ...
    Basic AzureSkuTier = "Basic"
    // Standard ...
    Standard AzureSkuTier = "Standard"
)

func PossibleAzureSkuTierValues Uses

func PossibleAzureSkuTierValues() []AzureSkuTier

PossibleAzureSkuTierValues returns an array of possible values for the AzureSkuTier const type.

type BaseClient Uses

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

BaseClient is the base client for Kusto.

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 using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

type BasicDataConnection Uses

type BasicDataConnection interface {
    AsEventHubDataConnection() (*EventHubDataConnection, bool)
    AsIotHubDataConnection() (*IotHubDataConnection, bool)
    AsEventGridDataConnection() (*EventGridDataConnection, bool)
    AsDataConnection() (*DataConnection, bool)
}

BasicDataConnection class representing an data connection.

type BasicDatabase Uses

type BasicDatabase interface {
    AsReadWriteDatabase() (*ReadWriteDatabase, bool)
    AsReadOnlyFollowingDatabase() (*ReadOnlyFollowingDatabase, bool)
    AsDatabase() (*Database, bool)
}

BasicDatabase class representing a Kusto database.

type CheckNameRequest Uses

type CheckNameRequest struct {
    // Name - Resource name.
    Name *string `json:"name,omitempty"`
    // Type - The type of resource, for instance Microsoft.Kusto/clusters/databases. Possible values include: 'MicrosoftKustoclustersdatabases', 'MicrosoftKustoclustersattachedDatabaseConfigurations'
    Type Type `json:"type,omitempty"`
}

CheckNameRequest the result returned from a database check name availability request.

type CheckNameResult Uses

type CheckNameResult struct {
    autorest.Response `json:"-"`
    // NameAvailable - Specifies a Boolean value that indicates if the name is available.
    NameAvailable *bool `json:"nameAvailable,omitempty"`
    // Name - The name that was checked.
    Name *string `json:"name,omitempty"`
    // Message - Message indicating an unavailable name due to a conflict, or a description of the naming rules that are violated.
    Message *string `json:"message,omitempty"`
    // Reason - Message providing the reason why the given name is invalid. Possible values include: 'Invalid', 'AlreadyExists'
    Reason Reason `json:"reason,omitempty"`
}

CheckNameResult the result returned from a check name availability request.

type CloudError Uses

type CloudError struct {
    // Error - An error response from Kusto.
    Error *CloudErrorBody `json:"error,omitempty"`
}

CloudError an error response from Kusto.

type CloudErrorBody Uses

type CloudErrorBody struct {
    // Code - An identifier for the error. Codes are invariant and are intended to be consumed programmatically.
    Code *string `json:"code,omitempty"`
    // Message - A message describing the error, intended to be suitable for displaying in a user interface.
    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 - A list of additional details about the error.
    Details *[]CloudErrorBody `json:"details,omitempty"`
}

CloudErrorBody an error response from Kusto.

type Cluster Uses

type Cluster struct {
    autorest.Response `json:"-"`
    // Sku - The SKU of the cluster.
    Sku *AzureSku `json:"sku,omitempty"`
    // Zones - The availability zones of the cluster.
    Zones *[]string `json:"zones,omitempty"`
    // Identity - The identity of the cluster, if configured.
    Identity *Identity `json:"identity,omitempty"`
    // ClusterProperties - The cluster properties.
    *ClusterProperties `json:"properties,omitempty"`
    // Tags - Resource tags.
    Tags map[string]*string `json:"tags"`
    // Location - The geo-location where the resource lives
    Location *string `json:"location,omitempty"`
    // ID - READ-ONLY; Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
    ID  *string `json:"id,omitempty"`
    // Name - READ-ONLY; The name of the resource
    Name *string `json:"name,omitempty"`
    // Type - READ-ONLY; The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    Type *string `json:"type,omitempty"`
}

Cluster class representing a Kusto cluster.

func (Cluster) MarshalJSON Uses

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

MarshalJSON is the custom marshaler for Cluster.

func (*Cluster) UnmarshalJSON Uses

func (c *Cluster) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for Cluster struct.

type ClusterCheckNameRequest Uses

type ClusterCheckNameRequest struct {
    // Name - Cluster name.
    Name *string `json:"name,omitempty"`
    // Type - The type of resource, Microsoft.Kusto/clusters.
    Type *string `json:"type,omitempty"`
}

ClusterCheckNameRequest the result returned from a cluster check name availability request.

type ClusterListResult Uses

type ClusterListResult struct {
    autorest.Response `json:"-"`
    // Value - The list of Kusto clusters.
    Value *[]Cluster `json:"value,omitempty"`
}

ClusterListResult the list Kusto clusters operation response.

type ClusterPrincipalAssignment Uses

type ClusterPrincipalAssignment struct {
    autorest.Response `json:"-"`
    // ClusterPrincipalProperties - The cluster principal.
    *ClusterPrincipalProperties `json:"properties,omitempty"`
    // ID - READ-ONLY; Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
    ID  *string `json:"id,omitempty"`
    // Name - READ-ONLY; The name of the resource
    Name *string `json:"name,omitempty"`
    // Type - READ-ONLY; The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    Type *string `json:"type,omitempty"`
}

ClusterPrincipalAssignment class representing a cluster principal assignment.

func (ClusterPrincipalAssignment) MarshalJSON Uses

func (cpa ClusterPrincipalAssignment) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ClusterPrincipalAssignment.

func (*ClusterPrincipalAssignment) UnmarshalJSON Uses

func (cpa *ClusterPrincipalAssignment) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for ClusterPrincipalAssignment struct.

type ClusterPrincipalAssignmentCheckNameRequest Uses

type ClusterPrincipalAssignmentCheckNameRequest struct {
    // Name - Principal Assignment resource name.
    Name *string `json:"name,omitempty"`
    // Type - The type of resource, Microsoft.Kusto/clusters/principalAssignments.
    Type *string `json:"type,omitempty"`
}

ClusterPrincipalAssignmentCheckNameRequest a principal assignment check name availability request.

type ClusterPrincipalAssignmentListResult Uses

type ClusterPrincipalAssignmentListResult struct {
    autorest.Response `json:"-"`
    // Value - The list of Kusto cluster principal assignments.
    Value *[]ClusterPrincipalAssignment `json:"value,omitempty"`
}

ClusterPrincipalAssignmentListResult the list Kusto cluster principal assignments operation response.

type ClusterPrincipalAssignmentsClient Uses

type ClusterPrincipalAssignmentsClient struct {
    BaseClient
}

ClusterPrincipalAssignmentsClient is the the Azure Kusto management API provides a RESTful set of web services that interact with Azure Kusto services to manage your clusters and databases. The API enables you to create, update, and delete clusters and databases.

func NewClusterPrincipalAssignmentsClient Uses

func NewClusterPrincipalAssignmentsClient(subscriptionID string) ClusterPrincipalAssignmentsClient

NewClusterPrincipalAssignmentsClient creates an instance of the ClusterPrincipalAssignmentsClient client.

func NewClusterPrincipalAssignmentsClientWithBaseURI Uses

func NewClusterPrincipalAssignmentsClientWithBaseURI(baseURI string, subscriptionID string) ClusterPrincipalAssignmentsClient

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

func (ClusterPrincipalAssignmentsClient) CheckNameAvailability Uses

func (client ClusterPrincipalAssignmentsClient) CheckNameAvailability(ctx context.Context, resourceGroupName string, clusterName string, principalAssignmentName ClusterPrincipalAssignmentCheckNameRequest) (result CheckNameResult, err error)

CheckNameAvailability checks that the principal assignment name is valid and is not already in use. Parameters: resourceGroupName - the name of the resource group containing the Kusto cluster. clusterName - the name of the Kusto cluster. principalAssignmentName - the name of the principal assignment.

func (ClusterPrincipalAssignmentsClient) CheckNameAvailabilityPreparer Uses

func (client ClusterPrincipalAssignmentsClient) CheckNameAvailabilityPreparer(ctx context.Context, resourceGroupName string, clusterName string, principalAssignmentName ClusterPrincipalAssignmentCheckNameRequest) (*http.Request, error)

CheckNameAvailabilityPreparer prepares the CheckNameAvailability request.

func (ClusterPrincipalAssignmentsClient) CheckNameAvailabilityResponder Uses

func (client ClusterPrincipalAssignmentsClient) CheckNameAvailabilityResponder(resp *http.Response) (result CheckNameResult, err error)

CheckNameAvailabilityResponder handles the response to the CheckNameAvailability request. The method always closes the http.Response Body.

func (ClusterPrincipalAssignmentsClient) CheckNameAvailabilitySender Uses

func (client ClusterPrincipalAssignmentsClient) CheckNameAvailabilitySender(req *http.Request) (*http.Response, error)

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

func (ClusterPrincipalAssignmentsClient) CreateOrUpdate Uses

func (client ClusterPrincipalAssignmentsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, clusterName string, principalAssignmentName string, parameters ClusterPrincipalAssignment) (result ClusterPrincipalAssignmentsCreateOrUpdateFuture, err error)

CreateOrUpdate create a Kusto cluster principalAssignment. Parameters: resourceGroupName - the name of the resource group containing the Kusto cluster. clusterName - the name of the Kusto cluster. principalAssignmentName - the name of the Kusto principalAssignment. parameters - the Kusto cluster principalAssignment's parameters supplied for the operation.

func (ClusterPrincipalAssignmentsClient) CreateOrUpdatePreparer Uses

func (client ClusterPrincipalAssignmentsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, clusterName string, principalAssignmentName string, parameters ClusterPrincipalAssignment) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (ClusterPrincipalAssignmentsClient) CreateOrUpdateResponder Uses

func (client ClusterPrincipalAssignmentsClient) CreateOrUpdateResponder(resp *http.Response) (result ClusterPrincipalAssignment, err error)

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

func (ClusterPrincipalAssignmentsClient) CreateOrUpdateSender Uses

func (client ClusterPrincipalAssignmentsClient) CreateOrUpdateSender(req *http.Request) (future ClusterPrincipalAssignmentsCreateOrUpdateFuture, err error)

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

func (ClusterPrincipalAssignmentsClient) Delete Uses

func (client ClusterPrincipalAssignmentsClient) Delete(ctx context.Context, resourceGroupName string, clusterName string, principalAssignmentName string) (result ClusterPrincipalAssignmentsDeleteFuture, err error)

Delete deletes a Kusto cluster principalAssignment. Parameters: resourceGroupName - the name of the resource group containing the Kusto cluster. clusterName - the name of the Kusto cluster. principalAssignmentName - the name of the Kusto principalAssignment.

func (ClusterPrincipalAssignmentsClient) DeletePreparer Uses

func (client ClusterPrincipalAssignmentsClient) DeletePreparer(ctx context.Context, resourceGroupName string, clusterName string, principalAssignmentName string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (ClusterPrincipalAssignmentsClient) DeleteResponder Uses

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

func (client ClusterPrincipalAssignmentsClient) DeleteSender(req *http.Request) (future ClusterPrincipalAssignmentsDeleteFuture, err error)

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

func (ClusterPrincipalAssignmentsClient) Get Uses

func (client ClusterPrincipalAssignmentsClient) Get(ctx context.Context, resourceGroupName string, clusterName string, principalAssignmentName string) (result ClusterPrincipalAssignment, err error)

Get gets a Kusto cluster principalAssignment. Parameters: resourceGroupName - the name of the resource group containing the Kusto cluster. clusterName - the name of the Kusto cluster. principalAssignmentName - the name of the Kusto principalAssignment.

func (ClusterPrincipalAssignmentsClient) GetPreparer Uses

func (client ClusterPrincipalAssignmentsClient) GetPreparer(ctx context.Context, resourceGroupName string, clusterName string, principalAssignmentName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (ClusterPrincipalAssignmentsClient) GetResponder Uses

func (client ClusterPrincipalAssignmentsClient) GetResponder(resp *http.Response) (result ClusterPrincipalAssignment, err error)

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

func (ClusterPrincipalAssignmentsClient) GetSender Uses

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

func (client ClusterPrincipalAssignmentsClient) List(ctx context.Context, resourceGroupName string, clusterName string) (result ClusterPrincipalAssignmentListResult, err error)

List lists all Kusto cluster principalAssignments. Parameters: resourceGroupName - the name of the resource group containing the Kusto cluster. clusterName - the name of the Kusto cluster.

func (ClusterPrincipalAssignmentsClient) ListPreparer Uses

func (client ClusterPrincipalAssignmentsClient) ListPreparer(ctx context.Context, resourceGroupName string, clusterName string) (*http.Request, error)

ListPreparer prepares the List request.

func (ClusterPrincipalAssignmentsClient) ListResponder Uses

func (client ClusterPrincipalAssignmentsClient) ListResponder(resp *http.Response) (result ClusterPrincipalAssignmentListResult, err error)

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

func (ClusterPrincipalAssignmentsClient) ListSender Uses

func (client ClusterPrincipalAssignmentsClient) 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 ClusterPrincipalAssignmentsCreateOrUpdateFuture Uses

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

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

type ClusterPrincipalAssignmentsDeleteFuture Uses

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

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

type ClusterPrincipalProperties Uses

type ClusterPrincipalProperties struct {
    // PrincipalID - The principal ID assigned to the cluster principal. It can be a user email, application ID, or security group name.
    PrincipalID *string `json:"principalId,omitempty"`
    // Role - Cluster principal role. Possible values include: 'AllDatabasesAdmin', 'AllDatabasesViewer'
    Role ClusterPrincipalRole `json:"role,omitempty"`
    // TenantID - The tenant id of the principal
    TenantID *string `json:"tenantId,omitempty"`
    // PrincipalType - Principal type. Possible values include: 'PrincipalTypeApp', 'PrincipalTypeGroup', 'PrincipalTypeUser'
    PrincipalType PrincipalType `json:"principalType,omitempty"`
    // TenantName - READ-ONLY; The tenant name of the principal
    TenantName *string `json:"tenantName,omitempty"`
    // PrincipalName - READ-ONLY; The principal name
    PrincipalName *string `json:"principalName,omitempty"`
    // ProvisioningState - READ-ONLY; The provisioned state of the resource. Possible values include: 'Running', 'Creating', 'Deleting', 'Succeeded', 'Failed', 'Moving'
    ProvisioningState ProvisioningState `json:"provisioningState,omitempty"`
}

ClusterPrincipalProperties a class representing cluster principal property.

func (ClusterPrincipalProperties) MarshalJSON Uses

func (cpp ClusterPrincipalProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ClusterPrincipalProperties.

type ClusterPrincipalRole Uses

type ClusterPrincipalRole string

ClusterPrincipalRole enumerates the values for cluster principal role.

const (
    // AllDatabasesAdmin ...
    AllDatabasesAdmin ClusterPrincipalRole = "AllDatabasesAdmin"
    // AllDatabasesViewer ...
    AllDatabasesViewer ClusterPrincipalRole = "AllDatabasesViewer"
)

func PossibleClusterPrincipalRoleValues Uses

func PossibleClusterPrincipalRoleValues() []ClusterPrincipalRole

PossibleClusterPrincipalRoleValues returns an array of possible values for the ClusterPrincipalRole const type.

type ClusterProperties Uses

type ClusterProperties struct {
    // State - READ-ONLY; The state of the resource. Possible values include: 'StateCreating', 'StateUnavailable', 'StateRunning', 'StateDeleting', 'StateDeleted', 'StateStopping', 'StateStopped', 'StateStarting', 'StateUpdating'
    State State `json:"state,omitempty"`
    // ProvisioningState - READ-ONLY; The provisioned state of the resource. Possible values include: 'Running', 'Creating', 'Deleting', 'Succeeded', 'Failed', 'Moving'
    ProvisioningState ProvisioningState `json:"provisioningState,omitempty"`
    // URI - READ-ONLY; The cluster URI.
    URI *string `json:"uri,omitempty"`
    // DataIngestionURI - READ-ONLY; The cluster data ingestion URI.
    DataIngestionURI *string `json:"dataIngestionUri,omitempty"`
    // StateReason - READ-ONLY; The reason for the cluster's current state.
    StateReason *string `json:"stateReason,omitempty"`
    // TrustedExternalTenants - The cluster's external tenants.
    TrustedExternalTenants *[]TrustedExternalTenant `json:"trustedExternalTenants,omitempty"`
    // OptimizedAutoscale - Optimized auto scale definition.
    OptimizedAutoscale *OptimizedAutoscale `json:"optimizedAutoscale,omitempty"`
    // EnableDiskEncryption - A boolean value that indicates if the cluster's disks are encrypted.
    EnableDiskEncryption *bool `json:"enableDiskEncryption,omitempty"`
    // EnableStreamingIngest - A boolean value that indicates if the streaming ingest is enabled.
    EnableStreamingIngest *bool `json:"enableStreamingIngest,omitempty"`
    // VirtualNetworkConfiguration - Virtual network definition.
    VirtualNetworkConfiguration *VirtualNetworkConfiguration `json:"virtualNetworkConfiguration,omitempty"`
    // KeyVaultProperties - KeyVault properties for the cluster encryption.
    KeyVaultProperties *KeyVaultProperties `json:"keyVaultProperties,omitempty"`
}

ClusterProperties class representing the Kusto cluster properties.

func (ClusterProperties) MarshalJSON Uses

func (cp ClusterProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ClusterProperties.

type ClusterUpdate Uses

type ClusterUpdate struct {
    // Tags - Resource tags.
    Tags map[string]*string `json:"tags"`
    // Location - Resource location.
    Location *string `json:"location,omitempty"`
    // Sku - The SKU of the cluster.
    Sku *AzureSku `json:"sku,omitempty"`
    // Identity - The identity of the cluster, if configured.
    Identity *Identity `json:"identity,omitempty"`
    // ClusterProperties - The cluster properties.
    *ClusterProperties `json:"properties,omitempty"`
    // ID - READ-ONLY; Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
    ID  *string `json:"id,omitempty"`
    // Name - READ-ONLY; The name of the resource
    Name *string `json:"name,omitempty"`
    // Type - READ-ONLY; The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    Type *string `json:"type,omitempty"`
}

ClusterUpdate class representing an update to a Kusto cluster.

func (ClusterUpdate) MarshalJSON Uses

func (cu ClusterUpdate) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ClusterUpdate.

func (*ClusterUpdate) UnmarshalJSON Uses

func (cu *ClusterUpdate) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for ClusterUpdate struct.

type ClustersClient Uses

type ClustersClient struct {
    BaseClient
}

ClustersClient is the the Azure Kusto management API provides a RESTful set of web services that interact with Azure Kusto services to manage your clusters and databases. The API enables you to create, update, and delete clusters and databases.

func NewClustersClient Uses

func NewClustersClient(subscriptionID string) ClustersClient

NewClustersClient creates an instance of the ClustersClient client.

func NewClustersClientWithBaseURI Uses

func NewClustersClientWithBaseURI(baseURI string, subscriptionID string) ClustersClient

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

func (ClustersClient) CheckNameAvailability Uses

func (client ClustersClient) CheckNameAvailability(ctx context.Context, location string, clusterName ClusterCheckNameRequest) (result CheckNameResult, err error)

CheckNameAvailability checks that the cluster name is valid and is not already in use. Parameters: location - azure location. clusterName - the name of the cluster.

func (ClustersClient) CheckNameAvailabilityPreparer Uses

func (client ClustersClient) CheckNameAvailabilityPreparer(ctx context.Context, location string, clusterName ClusterCheckNameRequest) (*http.Request, error)

CheckNameAvailabilityPreparer prepares the CheckNameAvailability request.

func (ClustersClient) CheckNameAvailabilityResponder Uses

func (client ClustersClient) CheckNameAvailabilityResponder(resp *http.Response) (result CheckNameResult, err error)

CheckNameAvailabilityResponder handles the response to the CheckNameAvailability request. The method always closes the http.Response Body.

func (ClustersClient) CheckNameAvailabilitySender Uses

func (client ClustersClient) CheckNameAvailabilitySender(req *http.Request) (*http.Response, error)

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

func (ClustersClient) CreateOrUpdate Uses

func (client ClustersClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, clusterName string, parameters Cluster) (result ClustersCreateOrUpdateFuture, err error)

CreateOrUpdate create or update a Kusto cluster. Parameters: resourceGroupName - the name of the resource group containing the Kusto cluster. clusterName - the name of the Kusto cluster. parameters - the Kusto cluster parameters supplied to the CreateOrUpdate operation.

func (ClustersClient) CreateOrUpdatePreparer Uses

func (client ClustersClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, clusterName string, parameters Cluster) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (ClustersClient) CreateOrUpdateResponder Uses

func (client ClustersClient) CreateOrUpdateResponder(resp *http.Response) (result Cluster, err error)

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

func (ClustersClient) CreateOrUpdateSender Uses

func (client ClustersClient) CreateOrUpdateSender(req *http.Request) (future ClustersCreateOrUpdateFuture, err error)

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

func (ClustersClient) Delete Uses

func (client ClustersClient) Delete(ctx context.Context, resourceGroupName string, clusterName string) (result ClustersDeleteFuture, err error)

Delete deletes a Kusto cluster. Parameters: resourceGroupName - the name of the resource group containing the Kusto cluster. clusterName - the name of the Kusto cluster.

func (ClustersClient) DeletePreparer Uses

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

DeletePreparer prepares the Delete request.

func (ClustersClient) DeleteResponder Uses

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

func (client ClustersClient) DeleteSender(req *http.Request) (future ClustersDeleteFuture, err error)

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

func (ClustersClient) DetachFollowerDatabases Uses

func (client ClustersClient) DetachFollowerDatabases(ctx context.Context, resourceGroupName string, clusterName string, followerDatabaseToRemove FollowerDatabaseDefinition) (result ClustersDetachFollowerDatabasesFuture, err error)

DetachFollowerDatabases detaches all followers of a database owned by this cluster. Parameters: resourceGroupName - the name of the resource group containing the Kusto cluster. clusterName - the name of the Kusto cluster. followerDatabaseToRemove - the follower databases properties to remove.

func (ClustersClient) DetachFollowerDatabasesPreparer Uses

func (client ClustersClient) DetachFollowerDatabasesPreparer(ctx context.Context, resourceGroupName string, clusterName string, followerDatabaseToRemove FollowerDatabaseDefinition) (*http.Request, error)

DetachFollowerDatabasesPreparer prepares the DetachFollowerDatabases request.

func (ClustersClient) DetachFollowerDatabasesResponder Uses

func (client ClustersClient) DetachFollowerDatabasesResponder(resp *http.Response) (result autorest.Response, err error)

DetachFollowerDatabasesResponder handles the response to the DetachFollowerDatabases request. The method always closes the http.Response Body.

func (ClustersClient) DetachFollowerDatabasesSender Uses

func (client ClustersClient) DetachFollowerDatabasesSender(req *http.Request) (future ClustersDetachFollowerDatabasesFuture, err error)

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

func (ClustersClient) DiagnoseVirtualNetwork Uses

func (client ClustersClient) DiagnoseVirtualNetwork(ctx context.Context, resourceGroupName string, clusterName string) (result ClustersDiagnoseVirtualNetworkFuture, err error)

DiagnoseVirtualNetwork diagnoses network connectivity status for external resources on which the service is dependent on. Parameters: resourceGroupName - the name of the resource group containing the Kusto cluster. clusterName - the name of the Kusto cluster.

func (ClustersClient) DiagnoseVirtualNetworkPreparer Uses

func (client ClustersClient) DiagnoseVirtualNetworkPreparer(ctx context.Context, resourceGroupName string, clusterName string) (*http.Request, error)

DiagnoseVirtualNetworkPreparer prepares the DiagnoseVirtualNetwork request.

func (ClustersClient) DiagnoseVirtualNetworkResponder Uses

func (client ClustersClient) DiagnoseVirtualNetworkResponder(resp *http.Response) (result DiagnoseVirtualNetworkResult, err error)

DiagnoseVirtualNetworkResponder handles the response to the DiagnoseVirtualNetwork request. The method always closes the http.Response Body.

func (ClustersClient) DiagnoseVirtualNetworkSender Uses

func (client ClustersClient) DiagnoseVirtualNetworkSender(req *http.Request) (future ClustersDiagnoseVirtualNetworkFuture, err error)

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

func (ClustersClient) Get Uses

func (client ClustersClient) Get(ctx context.Context, resourceGroupName string, clusterName string) (result Cluster, err error)

Get gets a Kusto cluster. Parameters: resourceGroupName - the name of the resource group containing the Kusto cluster. clusterName - the name of the Kusto cluster.

func (ClustersClient) GetPreparer Uses

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

GetPreparer prepares the Get request.

func (ClustersClient) GetResponder Uses

func (client ClustersClient) GetResponder(resp *http.Response) (result Cluster, err error)

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

func (ClustersClient) GetSender Uses

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

func (client ClustersClient) List(ctx context.Context) (result ClusterListResult, err error)

List lists all Kusto clusters within a subscription.

func (ClustersClient) ListByResourceGroup Uses

func (client ClustersClient) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result ClusterListResult, err error)

ListByResourceGroup lists all Kusto clusters within a resource group. Parameters: resourceGroupName - the name of the resource group containing the Kusto cluster.

func (ClustersClient) ListByResourceGroupPreparer Uses

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

ListByResourceGroupPreparer prepares the ListByResourceGroup request.

func (ClustersClient) ListByResourceGroupResponder Uses

func (client ClustersClient) ListByResourceGroupResponder(resp *http.Response) (result ClusterListResult, err error)

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

func (ClustersClient) ListByResourceGroupSender Uses

func (client ClustersClient) 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 (ClustersClient) ListFollowerDatabases Uses

func (client ClustersClient) ListFollowerDatabases(ctx context.Context, resourceGroupName string, clusterName string) (result FollowerDatabaseListResult, err error)

ListFollowerDatabases returns a list of databases that are owned by this cluster and were followed by another cluster. Parameters: resourceGroupName - the name of the resource group containing the Kusto cluster. clusterName - the name of the Kusto cluster.

func (ClustersClient) ListFollowerDatabasesPreparer Uses

func (client ClustersClient) ListFollowerDatabasesPreparer(ctx context.Context, resourceGroupName string, clusterName string) (*http.Request, error)

ListFollowerDatabasesPreparer prepares the ListFollowerDatabases request.

func (ClustersClient) ListFollowerDatabasesResponder Uses

func (client ClustersClient) ListFollowerDatabasesResponder(resp *http.Response) (result FollowerDatabaseListResult, err error)

ListFollowerDatabasesResponder handles the response to the ListFollowerDatabases request. The method always closes the http.Response Body.

func (ClustersClient) ListFollowerDatabasesSender Uses

func (client ClustersClient) ListFollowerDatabasesSender(req *http.Request) (*http.Response, error)

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

func (ClustersClient) ListPreparer Uses

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

ListPreparer prepares the List request.

func (ClustersClient) ListResponder Uses

func (client ClustersClient) ListResponder(resp *http.Response) (result ClusterListResult, err error)

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

func (ClustersClient) ListSender Uses

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

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

func (ClustersClient) ListSkus Uses

func (client ClustersClient) ListSkus(ctx context.Context) (result SkuDescriptionList, err error)

ListSkus lists eligible SKUs for Kusto resource provider.

func (ClustersClient) ListSkusByResource Uses

func (client ClustersClient) ListSkusByResource(ctx context.Context, resourceGroupName string, clusterName string) (result ListResourceSkusResult, err error)

ListSkusByResource returns the SKUs available for the provided resource. Parameters: resourceGroupName - the name of the resource group containing the Kusto cluster. clusterName - the name of the Kusto cluster.

func (ClustersClient) ListSkusByResourcePreparer Uses

func (client ClustersClient) ListSkusByResourcePreparer(ctx context.Context, resourceGroupName string, clusterName string) (*http.Request, error)

ListSkusByResourcePreparer prepares the ListSkusByResource request.

func (ClustersClient) ListSkusByResourceResponder Uses

func (client ClustersClient) ListSkusByResourceResponder(resp *http.Response) (result ListResourceSkusResult, err error)

ListSkusByResourceResponder handles the response to the ListSkusByResource request. The method always closes the http.Response Body.

func (ClustersClient) ListSkusByResourceSender Uses

func (client ClustersClient) ListSkusByResourceSender(req *http.Request) (*http.Response, error)

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

func (ClustersClient) ListSkusPreparer Uses

func (client ClustersClient) ListSkusPreparer(ctx context.Context) (*http.Request, error)

ListSkusPreparer prepares the ListSkus request.

func (ClustersClient) ListSkusResponder Uses

func (client ClustersClient) ListSkusResponder(resp *http.Response) (result SkuDescriptionList, err error)

ListSkusResponder handles the response to the ListSkus request. The method always closes the http.Response Body.

func (ClustersClient) ListSkusSender Uses

func (client ClustersClient) ListSkusSender(req *http.Request) (*http.Response, error)

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

func (ClustersClient) Start Uses

func (client ClustersClient) Start(ctx context.Context, resourceGroupName string, clusterName string) (result ClustersStartFuture, err error)

Start starts a Kusto cluster. Parameters: resourceGroupName - the name of the resource group containing the Kusto cluster. clusterName - the name of the Kusto cluster.

func (ClustersClient) StartPreparer Uses

func (client ClustersClient) StartPreparer(ctx context.Context, resourceGroupName string, clusterName string) (*http.Request, error)

StartPreparer prepares the Start request.

func (ClustersClient) StartResponder Uses

func (client ClustersClient) StartResponder(resp *http.Response) (result autorest.Response, err error)

StartResponder handles the response to the Start request. The method always closes the http.Response Body.

func (ClustersClient) StartSender Uses

func (client ClustersClient) StartSender(req *http.Request) (future ClustersStartFuture, err error)

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

func (ClustersClient) Stop Uses

func (client ClustersClient) Stop(ctx context.Context, resourceGroupName string, clusterName string) (result ClustersStopFuture, err error)

Stop stops a Kusto cluster. Parameters: resourceGroupName - the name of the resource group containing the Kusto cluster. clusterName - the name of the Kusto cluster.

func (ClustersClient) StopPreparer Uses

func (client ClustersClient) StopPreparer(ctx context.Context, resourceGroupName string, clusterName string) (*http.Request, error)

StopPreparer prepares the Stop request.

func (ClustersClient) StopResponder Uses

func (client ClustersClient) StopResponder(resp *http.Response) (result autorest.Response, err error)

StopResponder handles the response to the Stop request. The method always closes the http.Response Body.

func (ClustersClient) StopSender Uses

func (client ClustersClient) StopSender(req *http.Request) (future ClustersStopFuture, err error)

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

func (ClustersClient) Update Uses

func (client ClustersClient) Update(ctx context.Context, resourceGroupName string, clusterName string, parameters ClusterUpdate) (result ClustersUpdateFuture, err error)

Update update a Kusto cluster. Parameters: resourceGroupName - the name of the resource group containing the Kusto cluster. clusterName - the name of the Kusto cluster. parameters - the Kusto cluster parameters supplied to the Update operation.

func (ClustersClient) UpdatePreparer Uses

func (client ClustersClient) UpdatePreparer(ctx context.Context, resourceGroupName string, clusterName string, parameters ClusterUpdate) (*http.Request, error)

UpdatePreparer prepares the Update request.

func (ClustersClient) UpdateResponder Uses

func (client ClustersClient) UpdateResponder(resp *http.Response) (result Cluster, err error)

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

func (ClustersClient) UpdateSender Uses

func (client ClustersClient) UpdateSender(req *http.Request) (future ClustersUpdateFuture, err error)

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

type ClustersCreateOrUpdateFuture Uses

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

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

type ClustersDeleteFuture Uses

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

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

type ClustersDetachFollowerDatabasesFuture Uses

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

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

type ClustersDiagnoseVirtualNetworkFuture Uses

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

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

type ClustersStartFuture Uses

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

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

type ClustersStopFuture Uses

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

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

type ClustersUpdateFuture Uses

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

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

type Compression Uses

type Compression string

Compression enumerates the values for compression.

const (
    // CompressionGZip ...
    CompressionGZip Compression = "GZip"
    // CompressionNone ...
    CompressionNone Compression = "None"
)

func PossibleCompressionValues Uses

func PossibleCompressionValues() []Compression

PossibleCompressionValues returns an array of possible values for the Compression const type.

type DataConnection Uses

type DataConnection struct {
    autorest.Response `json:"-"`
    // Location - Resource location.
    Location *string `json:"location,omitempty"`
    // Kind - Possible values include: 'KindDataConnection', 'KindEventHub', 'KindIotHub', 'KindEventGrid'
    Kind KindBasicDataConnection `json:"kind,omitempty"`
    // ID - READ-ONLY; Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
    ID  *string `json:"id,omitempty"`
    // Name - READ-ONLY; The name of the resource
    Name *string `json:"name,omitempty"`
    // Type - READ-ONLY; The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    Type *string `json:"type,omitempty"`
}

DataConnection class representing an data connection.

func (DataConnection) AsBasicDataConnection Uses

func (dc DataConnection) AsBasicDataConnection() (BasicDataConnection, bool)

AsBasicDataConnection is the BasicDataConnection implementation for DataConnection.

func (DataConnection) AsDataConnection Uses

func (dc DataConnection) AsDataConnection() (*DataConnection, bool)

AsDataConnection is the BasicDataConnection implementation for DataConnection.

func (DataConnection) AsEventGridDataConnection Uses

func (dc DataConnection) AsEventGridDataConnection() (*EventGridDataConnection, bool)

AsEventGridDataConnection is the BasicDataConnection implementation for DataConnection.

func (DataConnection) AsEventHubDataConnection Uses

func (dc DataConnection) AsEventHubDataConnection() (*EventHubDataConnection, bool)

AsEventHubDataConnection is the BasicDataConnection implementation for DataConnection.

func (DataConnection) AsIotHubDataConnection Uses

func (dc DataConnection) AsIotHubDataConnection() (*IotHubDataConnection, bool)

AsIotHubDataConnection is the BasicDataConnection implementation for DataConnection.

func (DataConnection) MarshalJSON Uses

func (dc DataConnection) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for DataConnection.

type DataConnectionCheckNameRequest Uses

type DataConnectionCheckNameRequest struct {
    // Name - Data Connection name.
    Name *string `json:"name,omitempty"`
    // Type - The type of resource, Microsoft.Kusto/clusters/databases/dataConnections.
    Type *string `json:"type,omitempty"`
}

DataConnectionCheckNameRequest a data connection check name availability request.

type DataConnectionListResult Uses

type DataConnectionListResult struct {
    autorest.Response `json:"-"`
    // Value - The list of Kusto data connections.
    Value *[]BasicDataConnection `json:"value,omitempty"`
}

DataConnectionListResult the list Kusto data connections operation response.

func (*DataConnectionListResult) UnmarshalJSON Uses

func (dclr *DataConnectionListResult) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for DataConnectionListResult struct.

type DataConnectionModel Uses

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

DataConnectionModel ...

func (*DataConnectionModel) UnmarshalJSON Uses

func (dcm *DataConnectionModel) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for DataConnectionModel struct.

type DataConnectionValidation Uses

type DataConnectionValidation struct {
    // DataConnectionName - The name of the data connection.
    DataConnectionName *string `json:"dataConnectionName,omitempty"`
    // Properties - The data connection properties to validate.
    Properties BasicDataConnection `json:"properties,omitempty"`
}

DataConnectionValidation class representing an data connection validation.

func (*DataConnectionValidation) UnmarshalJSON Uses

func (dcv *DataConnectionValidation) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for DataConnectionValidation struct.

type DataConnectionValidationListResult Uses

type DataConnectionValidationListResult struct {
    autorest.Response `json:"-"`
    // Value - The list of Kusto data connection validation errors.
    Value *[]DataConnectionValidationResult `json:"value,omitempty"`
}

DataConnectionValidationListResult the list Kusto data connection validation result.

type DataConnectionValidationResult Uses

type DataConnectionValidationResult struct {
    // ErrorMessage - A message which indicates a problem in data connection validation.
    ErrorMessage *string `json:"errorMessage,omitempty"`
}

DataConnectionValidationResult the result returned from a data connection validation request.

type DataConnectionsClient Uses

type DataConnectionsClient struct {
    BaseClient
}

DataConnectionsClient is the the Azure Kusto management API provides a RESTful set of web services that interact with Azure Kusto services to manage your clusters and databases. The API enables you to create, update, and delete clusters and databases.

func NewDataConnectionsClient Uses

func NewDataConnectionsClient(subscriptionID string) DataConnectionsClient

NewDataConnectionsClient creates an instance of the DataConnectionsClient client.

func NewDataConnectionsClientWithBaseURI Uses

func NewDataConnectionsClientWithBaseURI(baseURI string, subscriptionID string) DataConnectionsClient

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

func (DataConnectionsClient) CheckNameAvailability Uses

func (client DataConnectionsClient) CheckNameAvailability(ctx context.Context, resourceGroupName string, clusterName string, databaseName string, dataConnectionName DataConnectionCheckNameRequest) (result CheckNameResult, err error)

CheckNameAvailability checks that the data connection name is valid and is not already in use. Parameters: resourceGroupName - the name of the resource group containing the Kusto cluster. clusterName - the name of the Kusto cluster. databaseName - the name of the database in the Kusto cluster. dataConnectionName - the name of the data connection.

func (DataConnectionsClient) CheckNameAvailabilityPreparer Uses

func (client DataConnectionsClient) CheckNameAvailabilityPreparer(ctx context.Context, resourceGroupName string, clusterName string, databaseName string, dataConnectionName DataConnectionCheckNameRequest) (*http.Request, error)

CheckNameAvailabilityPreparer prepares the CheckNameAvailability request.

func (DataConnectionsClient) CheckNameAvailabilityResponder Uses

func (client DataConnectionsClient) CheckNameAvailabilityResponder(resp *http.Response) (result CheckNameResult, err error)

CheckNameAvailabilityResponder handles the response to the CheckNameAvailability request. The method always closes the http.Response Body.

func (DataConnectionsClient) CheckNameAvailabilitySender Uses

func (client DataConnectionsClient) CheckNameAvailabilitySender(req *http.Request) (*http.Response, error)

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

func (DataConnectionsClient) CreateOrUpdate Uses

func (client DataConnectionsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, clusterName string, databaseName string, dataConnectionName string, parameters BasicDataConnection) (result DataConnectionsCreateOrUpdateFuture, err error)

CreateOrUpdate creates or updates a data connection. Parameters: resourceGroupName - the name of the resource group containing the Kusto cluster. clusterName - the name of the Kusto cluster. databaseName - the name of the database in the Kusto cluster. dataConnectionName - the name of the data connection. parameters - the data connection parameters supplied to the CreateOrUpdate operation.

func (DataConnectionsClient) CreateOrUpdatePreparer Uses

func (client DataConnectionsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, clusterName string, databaseName string, dataConnectionName string, parameters BasicDataConnection) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (DataConnectionsClient) CreateOrUpdateResponder Uses

func (client DataConnectionsClient) CreateOrUpdateResponder(resp *http.Response) (result DataConnectionModel, err error)

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

func (DataConnectionsClient) CreateOrUpdateSender Uses

func (client DataConnectionsClient) CreateOrUpdateSender(req *http.Request) (future DataConnectionsCreateOrUpdateFuture, err error)

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

func (DataConnectionsClient) DataConnectionValidationMethod Uses

func (client DataConnectionsClient) DataConnectionValidationMethod(ctx context.Context, resourceGroupName string, clusterName string, databaseName string, parameters DataConnectionValidation) (result DataConnectionValidationListResult, err error)

DataConnectionValidationMethod checks that the data connection parameters are valid. Parameters: resourceGroupName - the name of the resource group containing the Kusto cluster. clusterName - the name of the Kusto cluster. databaseName - the name of the database in the Kusto cluster. parameters - the data connection parameters supplied to the CreateOrUpdate operation.

func (DataConnectionsClient) DataConnectionValidationMethodPreparer Uses

func (client DataConnectionsClient) DataConnectionValidationMethodPreparer(ctx context.Context, resourceGroupName string, clusterName string, databaseName string, parameters DataConnectionValidation) (*http.Request, error)

DataConnectionValidationMethodPreparer prepares the DataConnectionValidationMethod request.

func (DataConnectionsClient) DataConnectionValidationMethodResponder Uses

func (client DataConnectionsClient) DataConnectionValidationMethodResponder(resp *http.Response) (result DataConnectionValidationListResult, err error)

DataConnectionValidationMethodResponder handles the response to the DataConnectionValidationMethod request. The method always closes the http.Response Body.

func (DataConnectionsClient) DataConnectionValidationMethodSender Uses

func (client DataConnectionsClient) DataConnectionValidationMethodSender(req *http.Request) (*http.Response, error)

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

func (DataConnectionsClient) Delete Uses

func (client DataConnectionsClient) Delete(ctx context.Context, resourceGroupName string, clusterName string, databaseName string, dataConnectionName string) (result DataConnectionsDeleteFuture, err error)

Delete deletes the data connection with the given name. Parameters: resourceGroupName - the name of the resource group containing the Kusto cluster. clusterName - the name of the Kusto cluster. databaseName - the name of the database in the Kusto cluster. dataConnectionName - the name of the data connection.

func (DataConnectionsClient) DeletePreparer Uses

func (client DataConnectionsClient) DeletePreparer(ctx context.Context, resourceGroupName string, clusterName string, databaseName string, dataConnectionName string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (DataConnectionsClient) DeleteResponder Uses

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

func (client DataConnectionsClient) DeleteSender(req *http.Request) (future DataConnectionsDeleteFuture, err error)

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

func (DataConnectionsClient) Get Uses

func (client DataConnectionsClient) Get(ctx context.Context, resourceGroupName string, clusterName string, databaseName string, dataConnectionName string) (result DataConnectionModel, err error)

Get returns a data connection. Parameters: resourceGroupName - the name of the resource group containing the Kusto cluster. clusterName - the name of the Kusto cluster. databaseName - the name of the database in the Kusto cluster. dataConnectionName - the name of the data connection.

func (DataConnectionsClient) GetPreparer Uses

func (client DataConnectionsClient) GetPreparer(ctx context.Context, resourceGroupName string, clusterName string, databaseName string, dataConnectionName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (DataConnectionsClient) GetResponder Uses

func (client DataConnectionsClient) GetResponder(resp *http.Response) (result DataConnectionModel, err error)

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

func (DataConnectionsClient) GetSender Uses

func (client DataConnectionsClient) 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 (DataConnectionsClient) ListByDatabase Uses

func (client DataConnectionsClient) ListByDatabase(ctx context.Context, resourceGroupName string, clusterName string, databaseName string) (result DataConnectionListResult, err error)

ListByDatabase returns the list of data connections of the given Kusto database. Parameters: resourceGroupName - the name of the resource group containing the Kusto cluster. clusterName - the name of the Kusto cluster. databaseName - the name of the database in the Kusto cluster.

func (DataConnectionsClient) ListByDatabasePreparer Uses

func (client DataConnectionsClient) ListByDatabasePreparer(ctx context.Context, resourceGroupName string, clusterName string, databaseName string) (*http.Request, error)

ListByDatabasePreparer prepares the ListByDatabase request.

func (DataConnectionsClient) ListByDatabaseResponder Uses

func (client DataConnectionsClient) ListByDatabaseResponder(resp *http.Response) (result DataConnectionListResult, err error)

ListByDatabaseResponder handles the response to the ListByDatabase request. The method always closes the http.Response Body.

func (DataConnectionsClient) ListByDatabaseSender Uses

func (client DataConnectionsClient) ListByDatabaseSender(req *http.Request) (*http.Response, error)

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

func (DataConnectionsClient) Update Uses

func (client DataConnectionsClient) Update(ctx context.Context, resourceGroupName string, clusterName string, databaseName string, dataConnectionName string, parameters BasicDataConnection) (result DataConnectionsUpdateFuture, err error)

Update updates a data connection. Parameters: resourceGroupName - the name of the resource group containing the Kusto cluster. clusterName - the name of the Kusto cluster. databaseName - the name of the database in the Kusto cluster. dataConnectionName - the name of the data connection. parameters - the data connection parameters supplied to the Update operation.

func (DataConnectionsClient) UpdatePreparer Uses

func (client DataConnectionsClient) UpdatePreparer(ctx context.Context, resourceGroupName string, clusterName string, databaseName string, dataConnectionName string, parameters BasicDataConnection) (*http.Request, error)

UpdatePreparer prepares the Update request.

func (DataConnectionsClient) UpdateResponder Uses

func (client DataConnectionsClient) UpdateResponder(resp *http.Response) (result DataConnectionModel, err error)

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

func (DataConnectionsClient) UpdateSender Uses

func (client DataConnectionsClient) UpdateSender(req *http.Request) (future DataConnectionsUpdateFuture, err error)

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

type DataConnectionsCreateOrUpdateFuture Uses

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

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

type DataConnectionsDeleteFuture Uses

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

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

type DataConnectionsUpdateFuture Uses

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

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

type Database Uses

type Database struct {
    autorest.Response `json:"-"`
    // Location - Resource location.
    Location *string `json:"location,omitempty"`
    // Kind - Possible values include: 'KindDatabase', 'KindReadWrite', 'KindReadOnlyFollowing'
    Kind Kind `json:"kind,omitempty"`
    // ID - READ-ONLY; Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
    ID  *string `json:"id,omitempty"`
    // Name - READ-ONLY; The name of the resource
    Name *string `json:"name,omitempty"`
    // Type - READ-ONLY; The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    Type *string `json:"type,omitempty"`
}

Database class representing a Kusto database.

func (Database) AsBasicDatabase Uses

func (d Database) AsBasicDatabase() (BasicDatabase, bool)

AsBasicDatabase is the BasicDatabase implementation for Database.

func (Database) AsDatabase Uses

func (d Database) AsDatabase() (*Database, bool)

AsDatabase is the BasicDatabase implementation for Database.

func (Database) AsReadOnlyFollowingDatabase Uses

func (d Database) AsReadOnlyFollowingDatabase() (*ReadOnlyFollowingDatabase, bool)

AsReadOnlyFollowingDatabase is the BasicDatabase implementation for Database.

func (Database) AsReadWriteDatabase Uses

func (d Database) AsReadWriteDatabase() (*ReadWriteDatabase, bool)

AsReadWriteDatabase is the BasicDatabase implementation for Database.

func (Database) MarshalJSON Uses

func (d Database) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for Database.

type DatabaseListResult Uses

type DatabaseListResult struct {
    autorest.Response `json:"-"`
    // Value - The list of Kusto databases.
    Value *[]BasicDatabase `json:"value,omitempty"`
}

DatabaseListResult the list Kusto databases operation response.

func (*DatabaseListResult) UnmarshalJSON Uses

func (dlr *DatabaseListResult) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for DatabaseListResult struct.

type DatabaseModel Uses

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

DatabaseModel ...

func (*DatabaseModel) UnmarshalJSON Uses

func (dm *DatabaseModel) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for DatabaseModel struct.

type DatabasePrincipal Uses

type DatabasePrincipal struct {
    // Role - Database principal role. Possible values include: 'Admin', 'Ingestor', 'Monitor', 'User', 'UnrestrictedViewers', 'Viewer'
    Role DatabasePrincipalRole `json:"role,omitempty"`
    // Name - Database principal name.
    Name *string `json:"name,omitempty"`
    // Type - Database principal type. Possible values include: 'DatabasePrincipalTypeApp', 'DatabasePrincipalTypeGroup', 'DatabasePrincipalTypeUser'
    Type DatabasePrincipalType `json:"type,omitempty"`
    // Fqn - Database principal fully qualified name.
    Fqn *string `json:"fqn,omitempty"`
    // Email - Database principal email if exists.
    Email *string `json:"email,omitempty"`
    // AppID - Application id - relevant only for application principal type.
    AppID *string `json:"appId,omitempty"`
    // TenantName - READ-ONLY; The tenant name of the principal
    TenantName *string `json:"tenantName,omitempty"`
}

DatabasePrincipal a class representing database principal entity.

func (DatabasePrincipal) MarshalJSON Uses

func (dp DatabasePrincipal) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for DatabasePrincipal.

type DatabasePrincipalAssignment Uses

type DatabasePrincipalAssignment struct {
    autorest.Response `json:"-"`
    // DatabasePrincipalProperties - The database principal.
    *DatabasePrincipalProperties `json:"properties,omitempty"`
    // ID - READ-ONLY; Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
    ID  *string `json:"id,omitempty"`
    // Name - READ-ONLY; The name of the resource
    Name *string `json:"name,omitempty"`
    // Type - READ-ONLY; The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    Type *string `json:"type,omitempty"`
}

DatabasePrincipalAssignment class representing a database principal assignment.

func (DatabasePrincipalAssignment) MarshalJSON Uses

func (dpa DatabasePrincipalAssignment) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for DatabasePrincipalAssignment.

func (*DatabasePrincipalAssignment) UnmarshalJSON Uses

func (dpa *DatabasePrincipalAssignment) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for DatabasePrincipalAssignment struct.

type DatabasePrincipalAssignmentCheckNameRequest Uses

type DatabasePrincipalAssignmentCheckNameRequest struct {
    // Name - Principal Assignment resource name.
    Name *string `json:"name,omitempty"`
    // Type - The type of resource, Microsoft.Kusto/clusters/databases/principalAssignments.
    Type *string `json:"type,omitempty"`
}

DatabasePrincipalAssignmentCheckNameRequest a principal assignment check name availability request.

type DatabasePrincipalAssignmentListResult Uses

type DatabasePrincipalAssignmentListResult struct {
    autorest.Response `json:"-"`
    // Value - The list of Kusto database principal assignments.
    Value *[]DatabasePrincipalAssignment `json:"value,omitempty"`
}

DatabasePrincipalAssignmentListResult the list Kusto database principal assignments operation response.

type DatabasePrincipalAssignmentsClient Uses

type DatabasePrincipalAssignmentsClient struct {
    BaseClient
}

DatabasePrincipalAssignmentsClient is the the Azure Kusto management API provides a RESTful set of web services that interact with Azure Kusto services to manage your clusters and databases. The API enables you to create, update, and delete clusters and databases.

func NewDatabasePrincipalAssignmentsClient Uses

func NewDatabasePrincipalAssignmentsClient(subscriptionID string) DatabasePrincipalAssignmentsClient

NewDatabasePrincipalAssignmentsClient creates an instance of the DatabasePrincipalAssignmentsClient client.

func NewDatabasePrincipalAssignmentsClientWithBaseURI Uses

func NewDatabasePrincipalAssignmentsClientWithBaseURI(baseURI string, subscriptionID string) DatabasePrincipalAssignmentsClient

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

func (DatabasePrincipalAssignmentsClient) CheckNameAvailability Uses

func (client DatabasePrincipalAssignmentsClient) CheckNameAvailability(ctx context.Context, resourceGroupName string, clusterName string, databaseName string, principalAssignmentName DatabasePrincipalAssignmentCheckNameRequest) (result CheckNameResult, err error)

CheckNameAvailability checks that the database principal assignment is valid and is not already in use. Parameters: resourceGroupName - the name of the resource group containing the Kusto cluster. clusterName - the name of the Kusto cluster. databaseName - the name of the database in the Kusto cluster. principalAssignmentName - the name of the resource.

func (DatabasePrincipalAssignmentsClient) CheckNameAvailabilityPreparer Uses

func (client DatabasePrincipalAssignmentsClient) CheckNameAvailabilityPreparer(ctx context.Context, resourceGroupName string, clusterName string, databaseName string, principalAssignmentName DatabasePrincipalAssignmentCheckNameRequest) (*http.Request, error)

CheckNameAvailabilityPreparer prepares the CheckNameAvailability request.

func (DatabasePrincipalAssignmentsClient) CheckNameAvailabilityResponder Uses

func (client DatabasePrincipalAssignmentsClient) CheckNameAvailabilityResponder(resp *http.Response) (result CheckNameResult, err error)

CheckNameAvailabilityResponder handles the response to the CheckNameAvailability request. The method always closes the http.Response Body.

func (DatabasePrincipalAssignmentsClient) CheckNameAvailabilitySender Uses

func (client DatabasePrincipalAssignmentsClient) CheckNameAvailabilitySender(req *http.Request) (*http.Response, error)

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

func (DatabasePrincipalAssignmentsClient) CreateOrUpdate Uses

func (client DatabasePrincipalAssignmentsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, clusterName string, databaseName string, principalAssignmentName string, parameters DatabasePrincipalAssignment) (result DatabasePrincipalAssignmentsCreateOrUpdateFuture, err error)

CreateOrUpdate creates a Kusto cluster database principalAssignment. Parameters: resourceGroupName - the name of the resource group containing the Kusto cluster. clusterName - the name of the Kusto cluster. databaseName - the name of the database in the Kusto cluster. principalAssignmentName - the name of the Kusto principalAssignment. parameters - the Kusto principalAssignments parameters supplied for the operation.

func (DatabasePrincipalAssignmentsClient) CreateOrUpdatePreparer Uses

func (client DatabasePrincipalAssignmentsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, clusterName string, databaseName string, principalAssignmentName string, parameters DatabasePrincipalAssignment) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (DatabasePrincipalAssignmentsClient) CreateOrUpdateResponder Uses

func (client DatabasePrincipalAssignmentsClient) CreateOrUpdateResponder(resp *http.Response) (result DatabasePrincipalAssignment, err error)

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

func (DatabasePrincipalAssignmentsClient) CreateOrUpdateSender Uses

func (client DatabasePrincipalAssignmentsClient) CreateOrUpdateSender(req *http.Request) (future DatabasePrincipalAssignmentsCreateOrUpdateFuture, err error)

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

func (DatabasePrincipalAssignmentsClient) Delete Uses

func (client DatabasePrincipalAssignmentsClient) Delete(ctx context.Context, resourceGroupName string, clusterName string, databaseName string, principalAssignmentName string) (result DatabasePrincipalAssignmentsDeleteFuture, err error)

Delete deletes a Kusto principalAssignment. Parameters: resourceGroupName - the name of the resource group containing the Kusto cluster. clusterName - the name of the Kusto cluster. databaseName - the name of the database in the Kusto cluster. principalAssignmentName - the name of the Kusto principalAssignment.

func (DatabasePrincipalAssignmentsClient) DeletePreparer Uses

func (client DatabasePrincipalAssignmentsClient) DeletePreparer(ctx context.Context, resourceGroupName string, clusterName string, databaseName string, principalAssignmentName string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (DatabasePrincipalAssignmentsClient) DeleteResponder Uses

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

func (client DatabasePrincipalAssignmentsClient) DeleteSender(req *http.Request) (future DatabasePrincipalAssignmentsDeleteFuture, err error)

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

func (DatabasePrincipalAssignmentsClient) Get Uses

func (client DatabasePrincipalAssignmentsClient) Get(ctx context.Context, resourceGroupName string, clusterName string, databaseName string, principalAssignmentName string) (result DatabasePrincipalAssignment, err error)

Get gets a Kusto cluster database principalAssignment. Parameters: resourceGroupName - the name of the resource group containing the Kusto cluster. clusterName - the name of the Kusto cluster. databaseName - the name of the database in the Kusto cluster. principalAssignmentName - the name of the Kusto principalAssignment.

func (DatabasePrincipalAssignmentsClient) GetPreparer Uses

func (client DatabasePrincipalAssignmentsClient) GetPreparer(ctx context.Context, resourceGroupName string, clusterName string, databaseName string, principalAssignmentName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (DatabasePrincipalAssignmentsClient) GetResponder Uses

func (client DatabasePrincipalAssignmentsClient) GetResponder(resp *http.Response) (result DatabasePrincipalAssignment, err error)

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

func (DatabasePrincipalAssignmentsClient) GetSender Uses

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

func (client DatabasePrincipalAssignmentsClient) List(ctx context.Context, resourceGroupName string, clusterName string, databaseName string) (result DatabasePrincipalAssignmentListResult, err error)

List lists all Kusto cluster database principalAssignments. Parameters: resourceGroupName - the name of the resource group containing the Kusto cluster. clusterName - the name of the Kusto cluster. databaseName - the name of the database in the Kusto cluster.

func (DatabasePrincipalAssignmentsClient) ListPreparer Uses

func (client DatabasePrincipalAssignmentsClient) ListPreparer(ctx context.Context, resourceGroupName string, clusterName string, databaseName string) (*http.Request, error)

ListPreparer prepares the List request.

func (DatabasePrincipalAssignmentsClient) ListResponder Uses

func (client DatabasePrincipalAssignmentsClient) ListResponder(resp *http.Response) (result DatabasePrincipalAssignmentListResult, err error)

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

func (DatabasePrincipalAssignmentsClient) ListSender Uses

func (client DatabasePrincipalAssignmentsClient) 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 DatabasePrincipalAssignmentsCreateOrUpdateFuture Uses

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

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

type DatabasePrincipalAssignmentsDeleteFuture Uses

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

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

type DatabasePrincipalListRequest Uses

type DatabasePrincipalListRequest struct {
    // Value - The list of Kusto database principals.
    Value *[]DatabasePrincipal `json:"value,omitempty"`
}

DatabasePrincipalListRequest the list Kusto database principals operation request.

type DatabasePrincipalListResult Uses

type DatabasePrincipalListResult struct {
    autorest.Response `json:"-"`
    // Value - The list of Kusto database principals.
    Value *[]DatabasePrincipal `json:"value,omitempty"`
}

DatabasePrincipalListResult the list Kusto database principals operation response.

type DatabasePrincipalProperties Uses

type DatabasePrincipalProperties struct {
    // PrincipalID - The principal ID assigned to the database principal. It can be a user email, application ID, or security group name.
    PrincipalID *string `json:"principalId,omitempty"`
    // Role - Database principal role. Possible values include: 'Admin', 'Ingestor', 'Monitor', 'User', 'UnrestrictedViewers', 'Viewer'
    Role DatabasePrincipalRole `json:"role,omitempty"`
    // TenantID - The tenant id of the principal
    TenantID *string `json:"tenantId,omitempty"`
    // PrincipalType - Principal type. Possible values include: 'PrincipalTypeApp', 'PrincipalTypeGroup', 'PrincipalTypeUser'
    PrincipalType PrincipalType `json:"principalType,omitempty"`
    // TenantName - READ-ONLY; The tenant name of the principal
    TenantName *string `json:"tenantName,omitempty"`
    // PrincipalName - READ-ONLY; The principal name
    PrincipalName *string `json:"principalName,omitempty"`
    // ProvisioningState - READ-ONLY; The provisioned state of the resource. Possible values include: 'Running', 'Creating', 'Deleting', 'Succeeded', 'Failed', 'Moving'
    ProvisioningState ProvisioningState `json:"provisioningState,omitempty"`
}

DatabasePrincipalProperties a class representing database principal property.

func (DatabasePrincipalProperties) MarshalJSON Uses

func (dpp DatabasePrincipalProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for DatabasePrincipalProperties.

type DatabasePrincipalRole Uses

type DatabasePrincipalRole string

DatabasePrincipalRole enumerates the values for database principal role.

const (
    // Admin ...
    Admin DatabasePrincipalRole = "Admin"
    // Ingestor ...
    Ingestor DatabasePrincipalRole = "Ingestor"
    // Monitor ...
    Monitor DatabasePrincipalRole = "Monitor"
    // UnrestrictedViewers ...
    UnrestrictedViewers DatabasePrincipalRole = "UnrestrictedViewers"
    // User ...
    User DatabasePrincipalRole = "User"
    // Viewer ...
    Viewer DatabasePrincipalRole = "Viewer"
)

func PossibleDatabasePrincipalRoleValues Uses

func PossibleDatabasePrincipalRoleValues() []DatabasePrincipalRole

PossibleDatabasePrincipalRoleValues returns an array of possible values for the DatabasePrincipalRole const type.

type DatabasePrincipalType Uses

type DatabasePrincipalType string

DatabasePrincipalType enumerates the values for database principal type.

const (
    // DatabasePrincipalTypeApp ...
    DatabasePrincipalTypeApp DatabasePrincipalType = "App"
    // DatabasePrincipalTypeGroup ...
    DatabasePrincipalTypeGroup DatabasePrincipalType = "Group"
    // DatabasePrincipalTypeUser ...
    DatabasePrincipalTypeUser DatabasePrincipalType = "User"
)

func PossibleDatabasePrincipalTypeValues Uses

func PossibleDatabasePrincipalTypeValues() []DatabasePrincipalType

PossibleDatabasePrincipalTypeValues returns an array of possible values for the DatabasePrincipalType const type.

type DatabaseStatistics Uses

type DatabaseStatistics struct {
    // Size - The database size - the total size of compressed data and index in bytes.
    Size *float64 `json:"size,omitempty"`
}

DatabaseStatistics a class that contains database statistics information.

type DatabasesClient Uses

type DatabasesClient struct {
    BaseClient
}

DatabasesClient is the the Azure Kusto management API provides a RESTful set of web services that interact with Azure Kusto services to manage your clusters and databases. The API enables you to create, update, and delete clusters and databases.

func NewDatabasesClient Uses

func NewDatabasesClient(subscriptionID string) DatabasesClient

NewDatabasesClient creates an instance of the DatabasesClient client.

func NewDatabasesClientWithBaseURI Uses

func NewDatabasesClientWithBaseURI(baseURI string, subscriptionID string) DatabasesClient

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

func (DatabasesClient) AddPrincipals Uses

func (client DatabasesClient) AddPrincipals(ctx context.Context, resourceGroupName string, clusterName string, databaseName string, databasePrincipalsToAdd DatabasePrincipalListRequest) (result DatabasePrincipalListResult, err error)

AddPrincipals add Database principals permissions. Parameters: resourceGroupName - the name of the resource group containing the Kusto cluster. clusterName - the name of the Kusto cluster. databaseName - the name of the database in the Kusto cluster. databasePrincipalsToAdd - list of database principals to add.

func (DatabasesClient) AddPrincipalsPreparer Uses

func (client DatabasesClient) AddPrincipalsPreparer(ctx context.Context, resourceGroupName string, clusterName string, databaseName string, databasePrincipalsToAdd DatabasePrincipalListRequest) (*http.Request, error)

AddPrincipalsPreparer prepares the AddPrincipals request.

func (DatabasesClient) AddPrincipalsResponder Uses

func (client DatabasesClient) AddPrincipalsResponder(resp *http.Response) (result DatabasePrincipalListResult, err error)

AddPrincipalsResponder handles the response to the AddPrincipals request. The method always closes the http.Response Body.

func (DatabasesClient) AddPrincipalsSender Uses

func (client DatabasesClient) AddPrincipalsSender(req *http.Request) (*http.Response, error)

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

func (DatabasesClient) CheckNameAvailability Uses

func (client DatabasesClient) CheckNameAvailability(ctx context.Context, resourceGroupName string, clusterName string, resourceName CheckNameRequest) (result CheckNameResult, err error)

CheckNameAvailability checks that the database name is valid and is not already in use. Parameters: resourceGroupName - the name of the resource group containing the Kusto cluster. clusterName - the name of the Kusto cluster. resourceName - the name of the resource.

func (DatabasesClient) CheckNameAvailabilityPreparer Uses

func (client DatabasesClient) CheckNameAvailabilityPreparer(ctx context.Context, resourceGroupName string, clusterName string, resourceName CheckNameRequest) (*http.Request, error)

CheckNameAvailabilityPreparer prepares the CheckNameAvailability request.

func (DatabasesClient) CheckNameAvailabilityResponder Uses

func (client DatabasesClient) CheckNameAvailabilityResponder(resp *http.Response) (result CheckNameResult, err error)

CheckNameAvailabilityResponder handles the response to the CheckNameAvailability request. The method always closes the http.Response Body.

func (DatabasesClient) CheckNameAvailabilitySender Uses

func (client DatabasesClient) CheckNameAvailabilitySender(req *http.Request) (*http.Response, error)

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

func (DatabasesClient) CreateOrUpdate Uses

func (client DatabasesClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, clusterName string, databaseName string, parameters BasicDatabase) (result DatabasesCreateOrUpdateFuture, err error)

CreateOrUpdate creates or updates a database. Parameters: resourceGroupName - the name of the resource group containing the Kusto cluster. clusterName - the name of the Kusto cluster. databaseName - the name of the database in the Kusto cluster. parameters - the database parameters supplied to the CreateOrUpdate operation.

func (DatabasesClient) CreateOrUpdatePreparer Uses

func (client DatabasesClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, clusterName string, databaseName string, parameters BasicDatabase) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (DatabasesClient) CreateOrUpdateResponder Uses

func (client DatabasesClient) CreateOrUpdateResponder(resp *http.Response) (result DatabaseModel, err error)

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

func (DatabasesClient) CreateOrUpdateSender Uses

func (client DatabasesClient) CreateOrUpdateSender(req *http.Request) (future DatabasesCreateOrUpdateFuture, err error)

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

func (DatabasesClient) Delete Uses

func (client DatabasesClient) Delete(ctx context.Context, resourceGroupName string, clusterName string, databaseName string) (result DatabasesDeleteFuture, err error)

Delete deletes the database with the given name. Parameters: resourceGroupName - the name of the resource group containing the Kusto cluster. clusterName - the name of the Kusto cluster. databaseName - the name of the database in the Kusto cluster.

func (DatabasesClient) DeletePreparer Uses

func (client DatabasesClient) DeletePreparer(ctx context.Context, resourceGroupName string, clusterName string, databaseName string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (DatabasesClient) DeleteResponder Uses

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

func (client DatabasesClient) DeleteSender(req *http.Request) (future DatabasesDeleteFuture, err error)

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

func (DatabasesClient) Get Uses

func (client DatabasesClient) Get(ctx context.Context, resourceGroupName string, clusterName string, databaseName string) (result DatabaseModel, err error)

Get returns a database. Parameters: resourceGroupName - the name of the resource group containing the Kusto cluster. clusterName - the name of the Kusto cluster. databaseName - the name of the database in the Kusto cluster.

func (DatabasesClient) GetPreparer Uses

func (client DatabasesClient) GetPreparer(ctx context.Context, resourceGroupName string, clusterName string, databaseName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (DatabasesClient) GetResponder Uses

func (client DatabasesClient) GetResponder(resp *http.Response) (result DatabaseModel, err error)

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

func (DatabasesClient) GetSender Uses

func (client DatabasesClient) 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 (DatabasesClient) ListByCluster Uses

func (client DatabasesClient) ListByCluster(ctx context.Context, resourceGroupName string, clusterName string) (result DatabaseListResult, err error)

ListByCluster returns the list of databases of the given Kusto cluster. Parameters: resourceGroupName - the name of the resource group containing the Kusto cluster. clusterName - the name of the Kusto cluster.

func (DatabasesClient) ListByClusterPreparer Uses

func (client DatabasesClient) ListByClusterPreparer(ctx context.Context, resourceGroupName string, clusterName string) (*http.Request, error)

ListByClusterPreparer prepares the ListByCluster request.

func (DatabasesClient) ListByClusterResponder Uses

func (client DatabasesClient) ListByClusterResponder(resp *http.Response) (result DatabaseListResult, err error)

ListByClusterResponder handles the response to the ListByCluster request. The method always closes the http.Response Body.

func (DatabasesClient) ListByClusterSender Uses

func (client DatabasesClient) ListByClusterSender(req *http.Request) (*http.Response, error)

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

func (DatabasesClient) ListPrincipals Uses

func (client DatabasesClient) ListPrincipals(ctx context.Context, resourceGroupName string, clusterName string, databaseName string) (result DatabasePrincipalListResult, err error)

ListPrincipals returns a list of database principals of the given Kusto cluster and database. Parameters: resourceGroupName - the name of the resource group containing the Kusto cluster. clusterName - the name of the Kusto cluster. databaseName - the name of the database in the Kusto cluster.

func (DatabasesClient) ListPrincipalsPreparer Uses

func (client DatabasesClient) ListPrincipalsPreparer(ctx context.Context, resourceGroupName string, clusterName string, databaseName string) (*http.Request, error)

ListPrincipalsPreparer prepares the ListPrincipals request.

func (DatabasesClient) ListPrincipalsResponder Uses

func (client DatabasesClient) ListPrincipalsResponder(resp *http.Response) (result DatabasePrincipalListResult, err error)

ListPrincipalsResponder handles the response to the ListPrincipals request. The method always closes the http.Response Body.

func (DatabasesClient) ListPrincipalsSender Uses

func (client DatabasesClient) ListPrincipalsSender(req *http.Request) (*http.Response, error)

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

func (DatabasesClient) RemovePrincipals Uses

func (client DatabasesClient) RemovePrincipals(ctx context.Context, resourceGroupName string, clusterName string, databaseName string, databasePrincipalsToRemove DatabasePrincipalListRequest) (result DatabasePrincipalListResult, err error)

RemovePrincipals remove Database principals permissions. Parameters: resourceGroupName - the name of the resource group containing the Kusto cluster. clusterName - the name of the Kusto cluster. databaseName - the name of the database in the Kusto cluster. databasePrincipalsToRemove - list of database principals to remove.

func (DatabasesClient) RemovePrincipalsPreparer Uses

func (client DatabasesClient) RemovePrincipalsPreparer(ctx context.Context, resourceGroupName string, clusterName string, databaseName string, databasePrincipalsToRemove DatabasePrincipalListRequest) (*http.Request, error)

RemovePrincipalsPreparer prepares the RemovePrincipals request.

func (DatabasesClient) RemovePrincipalsResponder Uses

func (client DatabasesClient) RemovePrincipalsResponder(resp *http.Response) (result DatabasePrincipalListResult, err error)

RemovePrincipalsResponder handles the response to the RemovePrincipals request. The method always closes the http.Response Body.

func (DatabasesClient) RemovePrincipalsSender Uses

func (client DatabasesClient) RemovePrincipalsSender(req *http.Request) (*http.Response, error)

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

func (DatabasesClient) Update Uses

func (client DatabasesClient) Update(ctx context.Context, resourceGroupName string, clusterName string, databaseName string, parameters BasicDatabase) (result DatabasesUpdateFuture, err error)

Update updates a database. Parameters: resourceGroupName - the name of the resource group containing the Kusto cluster. clusterName - the name of the Kusto cluster. databaseName - the name of the database in the Kusto cluster. parameters - the database parameters supplied to the Update operation.

func (DatabasesClient) UpdatePreparer Uses

func (client DatabasesClient) UpdatePreparer(ctx context.Context, resourceGroupName string, clusterName string, databaseName string, parameters BasicDatabase) (*http.Request, error)

UpdatePreparer prepares the Update request.

func (DatabasesClient) UpdateResponder Uses

func (client DatabasesClient) UpdateResponder(resp *http.Response) (result DatabaseModel, err error)

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

func (DatabasesClient) UpdateSender Uses

func (client DatabasesClient) UpdateSender(req *http.Request) (future DatabasesUpdateFuture, err error)

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

type DatabasesCreateOrUpdateFuture Uses

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

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

type DatabasesDeleteFuture Uses

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

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

type DatabasesUpdateFuture Uses

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

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

type DefaultPrincipalsModificationKind Uses

type DefaultPrincipalsModificationKind string

DefaultPrincipalsModificationKind enumerates the values for default principals modification kind.

const (
    // DefaultPrincipalsModificationKindNone ...
    DefaultPrincipalsModificationKindNone DefaultPrincipalsModificationKind = "None"
    // DefaultPrincipalsModificationKindReplace ...
    DefaultPrincipalsModificationKindReplace DefaultPrincipalsModificationKind = "Replace"
    // DefaultPrincipalsModificationKindUnion ...
    DefaultPrincipalsModificationKindUnion DefaultPrincipalsModificationKind = "Union"
)

func PossibleDefaultPrincipalsModificationKindValues Uses

func PossibleDefaultPrincipalsModificationKindValues() []DefaultPrincipalsModificationKind

PossibleDefaultPrincipalsModificationKindValues returns an array of possible values for the DefaultPrincipalsModificationKind const type.

type DiagnoseVirtualNetworkResult Uses

type DiagnoseVirtualNetworkResult struct {
    autorest.Response `json:"-"`
    // Findings - The list of network connectivity diagnostic finding
    Findings *[]string `json:"findings,omitempty"`
}

DiagnoseVirtualNetworkResult ...

type EventGridConnectionProperties Uses

type EventGridConnectionProperties struct {
    // StorageAccountResourceID - The resource ID of the storage account where the data resides.
    StorageAccountResourceID *string `json:"storageAccountResourceId,omitempty"`
    // EventHubResourceID - The resource ID where the event grid is configured to send events.
    EventHubResourceID *string `json:"eventHubResourceId,omitempty"`
    // ConsumerGroup - The event hub consumer group.
    ConsumerGroup *string `json:"consumerGroup,omitempty"`
    // TableName - The table where the data should be ingested. Optionally the table information can be added to each message.
    TableName *string `json:"tableName,omitempty"`
    // MappingRuleName - The mapping rule to be used to ingest the data. Optionally the mapping information can be added to each message.
    MappingRuleName *string `json:"mappingRuleName,omitempty"`
    // DataFormat - The data format of the message. Optionally the data format can be added to each message. Possible values include: 'MULTIJSON', 'JSON', 'CSV', 'TSV', 'SCSV', 'SOHSV', 'PSV', 'TXT', 'RAW', 'SINGLEJSON', 'AVRO', 'TSVE', 'PARQUET', 'ORC'
    DataFormat EventGridDataFormat `json:"dataFormat,omitempty"`
}

EventGridConnectionProperties class representing the Kusto event grid connection properties.

type EventGridDataConnection Uses

type EventGridDataConnection struct {
    // EventGridConnectionProperties - The properties of the Event Grid data connection.
    *EventGridConnectionProperties `json:"properties,omitempty"`
    // Location - Resource location.
    Location *string `json:"location,omitempty"`
    // Kind - Possible values include: 'KindDataConnection', 'KindEventHub', 'KindIotHub', 'KindEventGrid'
    Kind KindBasicDataConnection `json:"kind,omitempty"`
    // ID - READ-ONLY; Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
    ID  *string `json:"id,omitempty"`
    // Name - READ-ONLY; The name of the resource
    Name *string `json:"name,omitempty"`
    // Type - READ-ONLY; The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    Type *string `json:"type,omitempty"`
}

EventGridDataConnection class representing an Event Grid data connection.

func (EventGridDataConnection) AsBasicDataConnection Uses

func (egdc EventGridDataConnection) AsBasicDataConnection() (BasicDataConnection, bool)

AsBasicDataConnection is the BasicDataConnection implementation for EventGridDataConnection.

func (EventGridDataConnection) AsDataConnection Uses

func (egdc EventGridDataConnection) AsDataConnection() (*DataConnection, bool)

AsDataConnection is the BasicDataConnection implementation for EventGridDataConnection.

func (EventGridDataConnection) AsEventGridDataConnection Uses

func (egdc EventGridDataConnection) AsEventGridDataConnection() (*EventGridDataConnection, bool)

AsEventGridDataConnection is the BasicDataConnection implementation for EventGridDataConnection.

func (EventGridDataConnection) AsEventHubDataConnection Uses

func (egdc EventGridDataConnection) AsEventHubDataConnection() (*EventHubDataConnection, bool)

AsEventHubDataConnection is the BasicDataConnection implementation for EventGridDataConnection.

func (EventGridDataConnection) AsIotHubDataConnection Uses

func (egdc EventGridDataConnection) AsIotHubDataConnection() (*IotHubDataConnection, bool)

AsIotHubDataConnection is the BasicDataConnection implementation for EventGridDataConnection.

func (EventGridDataConnection) MarshalJSON Uses

func (egdc EventGridDataConnection) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for EventGridDataConnection.

func (*EventGridDataConnection) UnmarshalJSON Uses

func (egdc *EventGridDataConnection) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for EventGridDataConnection struct.

type EventGridDataFormat Uses

type EventGridDataFormat string

EventGridDataFormat enumerates the values for event grid data format.

const (
    // AVRO ...
    AVRO EventGridDataFormat = "AVRO"
    // CSV ...
    CSV EventGridDataFormat = "CSV"
    // JSON ...
    JSON EventGridDataFormat = "JSON"
    // MULTIJSON ...
    MULTIJSON EventGridDataFormat = "MULTIJSON"
    // ORC ...
    ORC EventGridDataFormat = "ORC"
    // PARQUET ...
    PARQUET EventGridDataFormat = "PARQUET"
    // PSV ...
    PSV EventGridDataFormat = "PSV"
    // RAW ...
    RAW EventGridDataFormat = "RAW"
    // SCSV ...
    SCSV EventGridDataFormat = "SCSV"
    // SINGLEJSON ...
    SINGLEJSON EventGridDataFormat = "SINGLEJSON"
    // SOHSV ...
    SOHSV EventGridDataFormat = "SOHSV"
    // TSV ...
    TSV EventGridDataFormat = "TSV"
    // TSVE ...
    TSVE EventGridDataFormat = "TSVE"
    // TXT ...
    TXT EventGridDataFormat = "TXT"
)

func PossibleEventGridDataFormatValues Uses

func PossibleEventGridDataFormatValues() []EventGridDataFormat

PossibleEventGridDataFormatValues returns an array of possible values for the EventGridDataFormat const type.

type EventHubConnectionProperties Uses

type EventHubConnectionProperties struct {
    // EventHubResourceID - The resource ID of the event hub to be used to create a data connection.
    EventHubResourceID *string `json:"eventHubResourceId,omitempty"`
    // ConsumerGroup - The event hub consumer group.
    ConsumerGroup *string `json:"consumerGroup,omitempty"`
    // TableName - The table where the data should be ingested. Optionally the table information can be added to each message.
    TableName *string `json:"tableName,omitempty"`
    // MappingRuleName - The mapping rule to be used to ingest the data. Optionally the mapping information can be added to each message.
    MappingRuleName *string `json:"mappingRuleName,omitempty"`
    // DataFormat - The data format of the message. Optionally the data format can be added to each message. Possible values include: 'EventHubDataFormatMULTIJSON', 'EventHubDataFormatJSON', 'EventHubDataFormatCSV', 'EventHubDataFormatTSV', 'EventHubDataFormatSCSV', 'EventHubDataFormatSOHSV', 'EventHubDataFormatPSV', 'EventHubDataFormatTXT', 'EventHubDataFormatRAW', 'EventHubDataFormatSINGLEJSON', 'EventHubDataFormatAVRO', 'EventHubDataFormatTSVE', 'EventHubDataFormatPARQUET', 'EventHubDataFormatORC'
    DataFormat EventHubDataFormat `json:"dataFormat,omitempty"`
    // EventSystemProperties - System properties of the event hub
    EventSystemProperties *[]string `json:"eventSystemProperties,omitempty"`
    // Compression - The event hub messages compression type. Possible values include: 'CompressionNone', 'CompressionGZip'
    Compression Compression `json:"compression,omitempty"`
}

EventHubConnectionProperties class representing the Kusto event hub connection properties.

type EventHubDataConnection Uses

type EventHubDataConnection struct {
    // EventHubConnectionProperties - The Event Hub data connection properties to validate.
    *EventHubConnectionProperties `json:"properties,omitempty"`
    // Location - Resource location.
    Location *string `json:"location,omitempty"`
    // Kind - Possible values include: 'KindDataConnection', 'KindEventHub', 'KindIotHub', 'KindEventGrid'
    Kind KindBasicDataConnection `json:"kind,omitempty"`
    // ID - READ-ONLY; Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
    ID  *string `json:"id,omitempty"`
    // Name - READ-ONLY; The name of the resource
    Name *string `json:"name,omitempty"`
    // Type - READ-ONLY; The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    Type *string `json:"type,omitempty"`
}

EventHubDataConnection class representing an event hub data connection.

func (EventHubDataConnection) AsBasicDataConnection Uses

func (ehdc EventHubDataConnection) AsBasicDataConnection() (BasicDataConnection, bool)

AsBasicDataConnection is the BasicDataConnection implementation for EventHubDataConnection.

func (EventHubDataConnection) AsDataConnection Uses

func (ehdc EventHubDataConnection) AsDataConnection() (*DataConnection, bool)

AsDataConnection is the BasicDataConnection implementation for EventHubDataConnection.

func (EventHubDataConnection) AsEventGridDataConnection Uses

func (ehdc EventHubDataConnection) AsEventGridDataConnection() (*EventGridDataConnection, bool)

AsEventGridDataConnection is the BasicDataConnection implementation for EventHubDataConnection.

func (EventHubDataConnection) AsEventHubDataConnection Uses

func (ehdc EventHubDataConnection) AsEventHubDataConnection() (*EventHubDataConnection, bool)

AsEventHubDataConnection is the BasicDataConnection implementation for EventHubDataConnection.

func (EventHubDataConnection) AsIotHubDataConnection Uses

func (ehdc EventHubDataConnection) AsIotHubDataConnection() (*IotHubDataConnection, bool)

AsIotHubDataConnection is the BasicDataConnection implementation for EventHubDataConnection.

func (EventHubDataConnection) MarshalJSON Uses

func (ehdc EventHubDataConnection) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for EventHubDataConnection.

func (*EventHubDataConnection) UnmarshalJSON Uses

func (ehdc *EventHubDataConnection) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for EventHubDataConnection struct.

type EventHubDataFormat Uses

type EventHubDataFormat string

EventHubDataFormat enumerates the values for event hub data format.

const (
    // EventHubDataFormatAVRO ...
    EventHubDataFormatAVRO EventHubDataFormat = "AVRO"
    // EventHubDataFormatCSV ...
    EventHubDataFormatCSV EventHubDataFormat = "CSV"
    // EventHubDataFormatJSON ...
    EventHubDataFormatJSON EventHubDataFormat = "JSON"
    // EventHubDataFormatMULTIJSON ...
    EventHubDataFormatMULTIJSON EventHubDataFormat = "MULTIJSON"
    // EventHubDataFormatORC ...
    EventHubDataFormatORC EventHubDataFormat = "ORC"
    // EventHubDataFormatPARQUET ...
    EventHubDataFormatPARQUET EventHubDataFormat = "PARQUET"
    // EventHubDataFormatPSV ...
    EventHubDataFormatPSV EventHubDataFormat = "PSV"
    // EventHubDataFormatRAW ...
    EventHubDataFormatRAW EventHubDataFormat = "RAW"
    // EventHubDataFormatSCSV ...
    EventHubDataFormatSCSV EventHubDataFormat = "SCSV"
    // EventHubDataFormatSINGLEJSON ...
    EventHubDataFormatSINGLEJSON EventHubDataFormat = "SINGLEJSON"
    // EventHubDataFormatSOHSV ...
    EventHubDataFormatSOHSV EventHubDataFormat = "SOHSV"
    // EventHubDataFormatTSV ...
    EventHubDataFormatTSV EventHubDataFormat = "TSV"
    // EventHubDataFormatTSVE ...
    EventHubDataFormatTSVE EventHubDataFormat = "TSVE"
    // EventHubDataFormatTXT ...
    EventHubDataFormatTXT EventHubDataFormat = "TXT"
)

func PossibleEventHubDataFormatValues Uses

func PossibleEventHubDataFormatValues() []EventHubDataFormat

PossibleEventHubDataFormatValues returns an array of possible values for the EventHubDataFormat const type.

type FollowerDatabaseDefinition Uses

type FollowerDatabaseDefinition struct {
    // ClusterResourceID - Resource id of the cluster that follows a database owned by this cluster.
    ClusterResourceID *string `json:"clusterResourceId,omitempty"`
    // AttachedDatabaseConfigurationName - Resource name of the attached database configuration in the follower cluster.
    AttachedDatabaseConfigurationName *string `json:"attachedDatabaseConfigurationName,omitempty"`
    // DatabaseName - READ-ONLY; The database name owned by this cluster that was followed. * in case following all databases.
    DatabaseName *string `json:"databaseName,omitempty"`
}

FollowerDatabaseDefinition a class representing follower database request.

func (FollowerDatabaseDefinition) MarshalJSON Uses

func (fdd FollowerDatabaseDefinition) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for FollowerDatabaseDefinition.

type FollowerDatabaseListResult Uses

type FollowerDatabaseListResult struct {
    autorest.Response `json:"-"`
    // Value - The list of follower database result.
    Value *[]FollowerDatabaseDefinition `json:"value,omitempty"`
}

FollowerDatabaseListResult the list Kusto database principals operation response.

type Identity Uses

type Identity struct {
    // PrincipalID - READ-ONLY; The principal ID of resource identity.
    PrincipalID *string `json:"principalId,omitempty"`
    // TenantID - READ-ONLY; The tenant ID of resource.
    TenantID *string `json:"tenantId,omitempty"`
    // Type - The identity type. Possible values include: 'IdentityTypeNone', 'IdentityTypeSystemAssigned'
    Type IdentityType `json:"type,omitempty"`
    // UserAssignedIdentities - The list of user identities associated with the Kusto cluster. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.
    UserAssignedIdentities map[string]*IdentityUserAssignedIdentitiesValue `json:"userAssignedIdentities"`
}

Identity identity for the resource.

func (Identity) MarshalJSON Uses

func (i Identity) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for Identity.

type IdentityType Uses

type IdentityType string

IdentityType enumerates the values for identity type.

const (
    // IdentityTypeNone ...
    IdentityTypeNone IdentityType = "None"
    // IdentityTypeSystemAssigned ...
    IdentityTypeSystemAssigned IdentityType = "SystemAssigned"
)

func PossibleIdentityTypeValues Uses

func PossibleIdentityTypeValues() []IdentityType

PossibleIdentityTypeValues returns an array of possible values for the IdentityType const type.

type IdentityUserAssignedIdentitiesValue Uses

type IdentityUserAssignedIdentitiesValue struct {
    // PrincipalID - READ-ONLY; The principal id of user assigned identity.
    PrincipalID *string `json:"principalId,omitempty"`
    // ClientID - READ-ONLY; The client id of user assigned identity.
    ClientID *string `json:"clientId,omitempty"`
}

IdentityUserAssignedIdentitiesValue ...

type IotHubConnectionProperties Uses

type IotHubConnectionProperties struct {
    // IotHubResourceID - The resource ID of the Iot hub to be used to create a data connection.
    IotHubResourceID *string `json:"iotHubResourceId,omitempty"`
    // ConsumerGroup - The iot hub consumer group.
    ConsumerGroup *string `json:"consumerGroup,omitempty"`
    // TableName - The table where the data should be ingested. Optionally the table information can be added to each message.
    TableName *string `json:"tableName,omitempty"`
    // MappingRuleName - The mapping rule to be used to ingest the data. Optionally the mapping information can be added to each message.
    MappingRuleName *string `json:"mappingRuleName,omitempty"`
    // DataFormat - The data format of the message. Optionally the data format can be added to each message. Possible values include: 'IotHubDataFormatMULTIJSON', 'IotHubDataFormatJSON', 'IotHubDataFormatCSV', 'IotHubDataFormatTSV', 'IotHubDataFormatSCSV', 'IotHubDataFormatSOHSV', 'IotHubDataFormatPSV', 'IotHubDataFormatTXT', 'IotHubDataFormatRAW', 'IotHubDataFormatSINGLEJSON', 'IotHubDataFormatAVRO', 'IotHubDataFormatTSVE', 'IotHubDataFormatPARQUET', 'IotHubDataFormatORC'
    DataFormat IotHubDataFormat `json:"dataFormat,omitempty"`
    // EventSystemProperties - System properties of the iot hub
    EventSystemProperties *[]string `json:"eventSystemProperties,omitempty"`
    // SharedAccessPolicyName - The name of the share access policy
    SharedAccessPolicyName *string `json:"sharedAccessPolicyName,omitempty"`
}

IotHubConnectionProperties class representing the Kusto Iot hub connection properties.

type IotHubDataConnection Uses

type IotHubDataConnection struct {
    // IotHubConnectionProperties - The Iot Hub data connection properties.
    *IotHubConnectionProperties `json:"properties,omitempty"`
    // Location - Resource location.
    Location *string `json:"location,omitempty"`
    // Kind - Possible values include: 'KindDataConnection', 'KindEventHub', 'KindIotHub', 'KindEventGrid'
    Kind KindBasicDataConnection `json:"kind,omitempty"`
    // ID - READ-ONLY; Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
    ID  *string `json:"id,omitempty"`
    // Name - READ-ONLY; The name of the resource
    Name *string `json:"name,omitempty"`
    // Type - READ-ONLY; The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    Type *string `json:"type,omitempty"`
}

IotHubDataConnection class representing an iot hub data connection.

func (IotHubDataConnection) AsBasicDataConnection Uses

func (ihdc IotHubDataConnection) AsBasicDataConnection() (BasicDataConnection, bool)

AsBasicDataConnection is the BasicDataConnection implementation for IotHubDataConnection.

func (IotHubDataConnection) AsDataConnection Uses

func (ihdc IotHubDataConnection) AsDataConnection() (*DataConnection, bool)

AsDataConnection is the BasicDataConnection implementation for IotHubDataConnection.

func (IotHubDataConnection) AsEventGridDataConnection Uses

func (ihdc IotHubDataConnection) AsEventGridDataConnection() (*EventGridDataConnection, bool)

AsEventGridDataConnection is the BasicDataConnection implementation for IotHubDataConnection.

func (IotHubDataConnection) AsEventHubDataConnection Uses

func (ihdc IotHubDataConnection) AsEventHubDataConnection() (*EventHubDataConnection, bool)

AsEventHubDataConnection is the BasicDataConnection implementation for IotHubDataConnection.

func (IotHubDataConnection) AsIotHubDataConnection Uses

func (ihdc IotHubDataConnection) AsIotHubDataConnection() (*IotHubDataConnection, bool)

AsIotHubDataConnection is the BasicDataConnection implementation for IotHubDataConnection.

func (IotHubDataConnection) MarshalJSON Uses

func (ihdc IotHubDataConnection) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for IotHubDataConnection.

func (*IotHubDataConnection) UnmarshalJSON Uses

func (ihdc *IotHubDataConnection) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for IotHubDataConnection struct.

type IotHubDataFormat Uses

type IotHubDataFormat string

IotHubDataFormat enumerates the values for iot hub data format.

const (
    // IotHubDataFormatAVRO ...
    IotHubDataFormatAVRO IotHubDataFormat = "AVRO"
    // IotHubDataFormatCSV ...
    IotHubDataFormatCSV IotHubDataFormat = "CSV"
    // IotHubDataFormatJSON ...
    IotHubDataFormatJSON IotHubDataFormat = "JSON"
    // IotHubDataFormatMULTIJSON ...
    IotHubDataFormatMULTIJSON IotHubDataFormat = "MULTIJSON"
    // IotHubDataFormatORC ...
    IotHubDataFormatORC IotHubDataFormat = "ORC"
    // IotHubDataFormatPARQUET ...
    IotHubDataFormatPARQUET IotHubDataFormat = "PARQUET"
    // IotHubDataFormatPSV ...
    IotHubDataFormatPSV IotHubDataFormat = "PSV"
    // IotHubDataFormatRAW ...
    IotHubDataFormatRAW IotHubDataFormat = "RAW"
    // IotHubDataFormatSCSV ...
    IotHubDataFormatSCSV IotHubDataFormat = "SCSV"
    // IotHubDataFormatSINGLEJSON ...
    IotHubDataFormatSINGLEJSON IotHubDataFormat = "SINGLEJSON"
    // IotHubDataFormatSOHSV ...
    IotHubDataFormatSOHSV IotHubDataFormat = "SOHSV"
    // IotHubDataFormatTSV ...
    IotHubDataFormatTSV IotHubDataFormat = "TSV"
    // IotHubDataFormatTSVE ...
    IotHubDataFormatTSVE IotHubDataFormat = "TSVE"
    // IotHubDataFormatTXT ...
    IotHubDataFormatTXT IotHubDataFormat = "TXT"
)

func PossibleIotHubDataFormatValues Uses

func PossibleIotHubDataFormatValues() []IotHubDataFormat

PossibleIotHubDataFormatValues returns an array of possible values for the IotHubDataFormat const type.

type KeyVaultProperties Uses

type KeyVaultProperties struct {
    // KeyName - The name of the key vault key.
    KeyName *string `json:"keyName,omitempty"`
    // KeyVersion - The version of the key vault key.
    KeyVersion *string `json:"keyVersion,omitempty"`
    // KeyVaultURI - The Uri of the key vault.
    KeyVaultURI *string `json:"keyVaultUri,omitempty"`
}

KeyVaultProperties properties of the key vault.

type Kind Uses

type Kind string

Kind enumerates the values for kind.

const (
    // KindDatabase ...
    KindDatabase Kind = "Database"
    // KindReadOnlyFollowing ...
    KindReadOnlyFollowing Kind = "ReadOnlyFollowing"
    // KindReadWrite ...
    KindReadWrite Kind = "ReadWrite"
)

func PossibleKindValues Uses

func PossibleKindValues() []Kind

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

type KindBasicDataConnection Uses

type KindBasicDataConnection string

KindBasicDataConnection enumerates the values for kind basic data connection.

const (
    // KindDataConnection ...
    KindDataConnection KindBasicDataConnection = "DataConnection"
    // KindEventGrid ...
    KindEventGrid KindBasicDataConnection = "EventGrid"
    // KindEventHub ...
    KindEventHub KindBasicDataConnection = "EventHub"
    // KindIotHub ...
    KindIotHub KindBasicDataConnection = "IotHub"
)

func PossibleKindBasicDataConnectionValues Uses

func PossibleKindBasicDataConnectionValues() []KindBasicDataConnection

PossibleKindBasicDataConnectionValues returns an array of possible values for the KindBasicDataConnection const type.

type ListResourceSkusResult Uses

type ListResourceSkusResult struct {
    autorest.Response `json:"-"`
    // Value - The collection of available SKUs for an existing resource.
    Value *[]AzureResourceSku `json:"value,omitempty"`
}

ListResourceSkusResult list of available SKUs for a Kusto Cluster.

type Operation Uses

type Operation struct {
    // Name - This is of the format {provider}/{resource}/{operation}.
    Name       *string           `json:"name,omitempty"`
    Display    *OperationDisplay `json:"display,omitempty"`
    Origin     *string           `json:"origin,omitempty"`
    Properties interface{}       `json:"properties,omitempty"`
}

Operation ...

type OperationDisplay Uses

type OperationDisplay struct {
    Provider *string `json:"provider,omitempty"`
    // Operation - For example: read, write, delete.
    Operation   *string `json:"operation,omitempty"`
    Resource    *string `json:"resource,omitempty"`
    Description *string `json:"description,omitempty"`
}

OperationDisplay ...

type OperationListResult Uses

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

OperationListResult ...

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(cur OperationListResult, getNextPage func(context.Context, OperationListResult) (OperationListResult, error)) OperationListResultPage

Creates a new instance of the OperationListResultPage type.

func (*OperationListResultPage) Next Uses

func (page *OperationListResultPage) Next() error

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

func (*OperationListResultPage) NextWithContext Uses

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

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

func (OperationListResultPage) NotDone Uses

func (page OperationListResultPage) NotDone() bool

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

func (OperationListResultPage) Response Uses

func (page OperationListResultPage) Response() OperationListResult

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

func (OperationListResultPage) Values Uses

func (page OperationListResultPage) Values() []Operation

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

type OperationsClient Uses

type OperationsClient struct {
    BaseClient
}

OperationsClient is the the Azure Kusto management API provides a RESTful set of web services that interact with Azure Kusto services to manage your clusters and databases. The API enables you to create, update, and delete clusters and databases.

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 using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (OperationsClient) List Uses

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

List lists available operations for the Microsoft.Kusto provider.

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 OptimizedAutoscale Uses

type OptimizedAutoscale struct {
    // Version - The version of the template defined, for instance 1.
    Version *int32 `json:"version,omitempty"`
    // IsEnabled - A boolean value that indicate if the optimized autoscale feature is enabled or not.
    IsEnabled *bool `json:"isEnabled,omitempty"`
    // Minimum - Minimum allowed instances count.
    Minimum *int32 `json:"minimum,omitempty"`
    // Maximum - Maximum allowed instances count.
    Maximum *int32 `json:"maximum,omitempty"`
}

OptimizedAutoscale a class that contains the optimized auto scale definition.

type PrincipalType Uses

type PrincipalType string

PrincipalType enumerates the values for principal type.

const (
    // PrincipalTypeApp ...
    PrincipalTypeApp PrincipalType = "App"
    // PrincipalTypeGroup ...
    PrincipalTypeGroup PrincipalType = "Group"
    // PrincipalTypeUser ...
    PrincipalTypeUser PrincipalType = "User"
)

func PossiblePrincipalTypeValues Uses

func PossiblePrincipalTypeValues() []PrincipalType

PossiblePrincipalTypeValues returns an array of possible values for the PrincipalType const type.

type PrincipalsModificationKind Uses

type PrincipalsModificationKind string

PrincipalsModificationKind enumerates the values for principals modification kind.

const (
    // PrincipalsModificationKindNone ...
    PrincipalsModificationKindNone PrincipalsModificationKind = "None"
    // PrincipalsModificationKindReplace ...
    PrincipalsModificationKindReplace PrincipalsModificationKind = "Replace"
    // PrincipalsModificationKindUnion ...
    PrincipalsModificationKindUnion PrincipalsModificationKind = "Union"
)

func PossiblePrincipalsModificationKindValues Uses

func PossiblePrincipalsModificationKindValues() []PrincipalsModificationKind

PossiblePrincipalsModificationKindValues returns an array of possible values for the PrincipalsModificationKind const type.

type ProvisioningState Uses

type ProvisioningState string

ProvisioningState enumerates the values for provisioning state.

const (
    // Creating ...
    Creating ProvisioningState = "Creating"
    // Deleting ...
    Deleting ProvisioningState = "Deleting"
    // Failed ...
    Failed ProvisioningState = "Failed"
    // Moving ...
    Moving ProvisioningState = "Moving"
    // Running ...
    Running ProvisioningState = "Running"
    // Succeeded ...
    Succeeded ProvisioningState = "Succeeded"
)

func PossibleProvisioningStateValues Uses

func PossibleProvisioningStateValues() []ProvisioningState

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

type ProxyResource Uses

type ProxyResource struct {
    // ID - READ-ONLY; Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
    ID  *string `json:"id,omitempty"`
    // Name - READ-ONLY; The name of the resource
    Name *string `json:"name,omitempty"`
    // Type - READ-ONLY; The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    Type *string `json:"type,omitempty"`
}

ProxyResource the resource model definition for a Azure Resource Manager proxy resource. It will not have tags and a location

type ReadOnlyFollowingDatabase Uses

type ReadOnlyFollowingDatabase struct {
    // ReadOnlyFollowingDatabaseProperties - The database properties.
    *ReadOnlyFollowingDatabaseProperties `json:"properties,omitempty"`
    // Location - Resource location.
    Location *string `json:"location,omitempty"`
    // Kind - Possible values include: 'KindDatabase', 'KindReadWrite', 'KindReadOnlyFollowing'
    Kind Kind `json:"kind,omitempty"`
    // ID - READ-ONLY; Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
    ID  *string `json:"id,omitempty"`
    // Name - READ-ONLY; The name of the resource
    Name *string `json:"name,omitempty"`
    // Type - READ-ONLY; The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    Type *string `json:"type,omitempty"`
}

ReadOnlyFollowingDatabase class representing a read only following database.

func (ReadOnlyFollowingDatabase) AsBasicDatabase Uses

func (rofd ReadOnlyFollowingDatabase) AsBasicDatabase() (BasicDatabase, bool)

AsBasicDatabase is the BasicDatabase implementation for ReadOnlyFollowingDatabase.

func (ReadOnlyFollowingDatabase) AsDatabase Uses

func (rofd ReadOnlyFollowingDatabase) AsDatabase() (*Database, bool)

AsDatabase is the BasicDatabase implementation for ReadOnlyFollowingDatabase.

func (ReadOnlyFollowingDatabase) AsReadOnlyFollowingDatabase Uses

func (rofd ReadOnlyFollowingDatabase) AsReadOnlyFollowingDatabase() (*ReadOnlyFollowingDatabase, bool)

AsReadOnlyFollowingDatabase is the BasicDatabase implementation for ReadOnlyFollowingDatabase.

func (ReadOnlyFollowingDatabase) AsReadWriteDatabase Uses

func (rofd ReadOnlyFollowingDatabase) AsReadWriteDatabase() (*ReadWriteDatabase, bool)

AsReadWriteDatabase is the BasicDatabase implementation for ReadOnlyFollowingDatabase.

func (ReadOnlyFollowingDatabase) MarshalJSON Uses

func (rofd ReadOnlyFollowingDatabase) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ReadOnlyFollowingDatabase.

func (*ReadOnlyFollowingDatabase) UnmarshalJSON Uses

func (rofd *ReadOnlyFollowingDatabase) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for ReadOnlyFollowingDatabase struct.

type ReadOnlyFollowingDatabaseProperties Uses

type ReadOnlyFollowingDatabaseProperties struct {
    // ProvisioningState - READ-ONLY; The provisioned state of the resource. Possible values include: 'Running', 'Creating', 'Deleting', 'Succeeded', 'Failed', 'Moving'
    ProvisioningState ProvisioningState `json:"provisioningState,omitempty"`
    // SoftDeletePeriod - READ-ONLY; The time the data should be kept before it stops being accessible to queries in TimeSpan.
    SoftDeletePeriod *string `json:"softDeletePeriod,omitempty"`
    // HotCachePeriod - The time the data should be kept in cache for fast queries in TimeSpan.
    HotCachePeriod *string `json:"hotCachePeriod,omitempty"`
    // Statistics - The statistics of the database.
    Statistics *DatabaseStatistics `json:"statistics,omitempty"`
    // LeaderClusterResourceID - READ-ONLY; The name of the leader cluster
    LeaderClusterResourceID *string `json:"leaderClusterResourceId,omitempty"`
    // AttachedDatabaseConfigurationName - READ-ONLY; The name of the attached database configuration cluster
    AttachedDatabaseConfigurationName *string `json:"attachedDatabaseConfigurationName,omitempty"`
    // PrincipalsModificationKind - READ-ONLY; The principals modification kind of the database. Possible values include: 'PrincipalsModificationKindUnion', 'PrincipalsModificationKindReplace', 'PrincipalsModificationKindNone'
    PrincipalsModificationKind PrincipalsModificationKind `json:"principalsModificationKind,omitempty"`
}

ReadOnlyFollowingDatabaseProperties class representing the Kusto database properties.

func (ReadOnlyFollowingDatabaseProperties) MarshalJSON Uses

func (rofdp ReadOnlyFollowingDatabaseProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ReadOnlyFollowingDatabaseProperties.

type ReadWriteDatabase Uses

type ReadWriteDatabase struct {
    // ReadWriteDatabaseProperties - The database properties.
    *ReadWriteDatabaseProperties `json:"properties,omitempty"`
    // Location - Resource location.
    Location *string `json:"location,omitempty"`
    // Kind - Possible values include: 'KindDatabase', 'KindReadWrite', 'KindReadOnlyFollowing'
    Kind Kind `json:"kind,omitempty"`
    // ID - READ-ONLY; Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
    ID  *string `json:"id,omitempty"`
    // Name - READ-ONLY; The name of the resource
    Name *string `json:"name,omitempty"`
    // Type - READ-ONLY; The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    Type *string `json:"type,omitempty"`
}

ReadWriteDatabase class representing a read write database.

func (ReadWriteDatabase) AsBasicDatabase Uses

func (rwd ReadWriteDatabase) AsBasicDatabase() (BasicDatabase, bool)

AsBasicDatabase is the BasicDatabase implementation for ReadWriteDatabase.

func (ReadWriteDatabase) AsDatabase Uses

func (rwd ReadWriteDatabase) AsDatabase() (*Database, bool)

AsDatabase is the BasicDatabase implementation for ReadWriteDatabase.

func (ReadWriteDatabase) AsReadOnlyFollowingDatabase Uses

func (rwd ReadWriteDatabase) AsReadOnlyFollowingDatabase() (*ReadOnlyFollowingDatabase, bool)

AsReadOnlyFollowingDatabase is the BasicDatabase implementation for ReadWriteDatabase.

func (ReadWriteDatabase) AsReadWriteDatabase Uses

func (rwd ReadWriteDatabase) AsReadWriteDatabase() (*ReadWriteDatabase, bool)

AsReadWriteDatabase is the BasicDatabase implementation for ReadWriteDatabase.

func (ReadWriteDatabase) MarshalJSON Uses

func (rwd ReadWriteDatabase) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ReadWriteDatabase.

func (*ReadWriteDatabase) UnmarshalJSON Uses

func (rwd *ReadWriteDatabase) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for ReadWriteDatabase struct.

type ReadWriteDatabaseProperties Uses

type ReadWriteDatabaseProperties struct {
    // ProvisioningState - READ-ONLY; The provisioned state of the resource. Possible values include: 'Running', 'Creating', 'Deleting', 'Succeeded', 'Failed', 'Moving'
    ProvisioningState ProvisioningState `json:"provisioningState,omitempty"`
    // SoftDeletePeriod - The time the data should be kept before it stops being accessible to queries in TimeSpan.
    SoftDeletePeriod *string `json:"softDeletePeriod,omitempty"`
    // HotCachePeriod - The time the data should be kept in cache for fast queries in TimeSpan.
    HotCachePeriod *string `json:"hotCachePeriod,omitempty"`
    // Statistics - The statistics of the database.
    Statistics *DatabaseStatistics `json:"statistics,omitempty"`
    // IsFollowed - READ-ONLY; Indicates whether the database is followed.
    IsFollowed *string `json:"isFollowed,omitempty"`
}

ReadWriteDatabaseProperties class representing the Kusto database properties.

func (ReadWriteDatabaseProperties) MarshalJSON Uses

func (rwdp ReadWriteDatabaseProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ReadWriteDatabaseProperties.

type Reason Uses

type Reason string

Reason enumerates the values for reason.

const (
    // AlreadyExists ...
    AlreadyExists Reason = "AlreadyExists"
    // Invalid ...
    Invalid Reason = "Invalid"
)

func PossibleReasonValues Uses

func PossibleReasonValues() []Reason

PossibleReasonValues returns an array of possible values for the Reason const type.

type Resource Uses

type Resource struct {
    // ID - READ-ONLY; Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
    ID  *string `json:"id,omitempty"`
    // Name - READ-ONLY; The name of the resource
    Name *string `json:"name,omitempty"`
    // Type - READ-ONLY; The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    Type *string `json:"type,omitempty"`
}

Resource common fields that are returned in the response for all Azure Resource Manager resources

type SkuDescription Uses

type SkuDescription struct {
    // ResourceType - READ-ONLY; The resource type
    ResourceType *string `json:"resourceType,omitempty"`
    // Name - READ-ONLY; The name of the SKU
    Name *string `json:"name,omitempty"`
    // Tier - READ-ONLY; The tier of the SKU
    Tier *string `json:"tier,omitempty"`
    // Locations - READ-ONLY; The set of locations that the SKU is available
    Locations *[]string `json:"locations,omitempty"`
    // LocationInfo - READ-ONLY; Locations and zones
    LocationInfo *[]SkuLocationInfoItem `json:"locationInfo,omitempty"`
    // Restrictions - READ-ONLY; The restrictions because of which SKU cannot be used
    Restrictions *[]interface{} `json:"restrictions,omitempty"`
}

SkuDescription the Kusto SKU description of given resource type

type SkuDescriptionList Uses

type SkuDescriptionList struct {
    autorest.Response `json:"-"`
    // Value - READ-ONLY; SKU descriptions
    Value *[]SkuDescription `json:"value,omitempty"`
}

SkuDescriptionList the list of the EngagementFabric SKU descriptions

type SkuLocationInfoItem Uses

type SkuLocationInfoItem struct {
    // Location - The available location of the SKU.
    Location *string `json:"location,omitempty"`
    // Zones - The available zone of the SKU.
    Zones *[]string `json:"zones,omitempty"`
}

SkuLocationInfoItem the locations and zones info for SKU.

type State Uses

type State string

State enumerates the values for state.

const (
    // StateCreating ...
    StateCreating State = "Creating"
    // StateDeleted ...
    StateDeleted State = "Deleted"
    // StateDeleting ...
    StateDeleting State = "Deleting"
    // StateRunning ...
    StateRunning State = "Running"
    // StateStarting ...
    StateStarting State = "Starting"
    // StateStopped ...
    StateStopped State = "Stopped"
    // StateStopping ...
    StateStopping State = "Stopping"
    // StateUnavailable ...
    StateUnavailable State = "Unavailable"
    // StateUpdating ...
    StateUpdating State = "Updating"
)

func PossibleStateValues Uses

func PossibleStateValues() []State

PossibleStateValues returns an array of possible values for the State const type.

type TrackedResource Uses

type TrackedResource struct {
    // Tags - Resource tags.
    Tags map[string]*string `json:"tags"`
    // Location - The geo-location where the resource lives
    Location *string `json:"location,omitempty"`
    // ID - READ-ONLY; Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
    ID  *string `json:"id,omitempty"`
    // Name - READ-ONLY; The name of the resource
    Name *string `json:"name,omitempty"`
    // Type - READ-ONLY; The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    Type *string `json:"type,omitempty"`
}

TrackedResource the resource model definition for an Azure Resource Manager tracked top level resource which has 'tags' and a 'location'

func (TrackedResource) MarshalJSON Uses

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

MarshalJSON is the custom marshaler for TrackedResource.

type TrustedExternalTenant Uses

type TrustedExternalTenant struct {
    // Value - GUID representing an external tenant.
    Value *string `json:"value,omitempty"`
}

TrustedExternalTenant represents a tenant ID that is trusted by the cluster.

type Type Uses

type Type string

Type enumerates the values for type.

const (
    // MicrosoftKustoclustersattachedDatabaseConfigurations ...
    MicrosoftKustoclustersattachedDatabaseConfigurations Type = "Microsoft.Kusto/clusters/attachedDatabaseConfigurations"
    // MicrosoftKustoclustersdatabases ...
    MicrosoftKustoclustersdatabases Type = "Microsoft.Kusto/clusters/databases"
)

func PossibleTypeValues Uses

func PossibleTypeValues() []Type

PossibleTypeValues returns an array of possible values for the Type const type.

type VirtualNetworkConfiguration Uses

type VirtualNetworkConfiguration struct {
    // SubnetID - The subnet resource id.
    SubnetID *string `json:"subnetId,omitempty"`
    // EnginePublicIPID - Engine service's public IP address resource id.
    EnginePublicIPID *string `json:"enginePublicIpId,omitempty"`
    // DataManagementPublicIPID - Data management's service public IP address resource id.
    DataManagementPublicIPID *string `json:"dataManagementPublicIpId,omitempty"`
}

VirtualNetworkConfiguration a class that contains virtual network definition.

Directories

PathSynopsis
kustoapi

Package kusto imports 9 packages (graph) and is imported by 1 packages. Updated 2021-01-16. Refresh now. Tools for package owners.