Documentation ¶
Index ¶
- func PossibleValuesForCapacityReservationLevel() []int64
- func PossibleValuesForDataIngestionStatus() []string
- func PossibleValuesForPublicNetworkAccessType() []string
- func PossibleValuesForWorkspaceEntityStatus() []string
- func PossibleValuesForWorkspaceSkuNameEnum() []string
- func ValidateWorkspaceID(input interface{}, key string) (warnings []string, errors []error)
- type CapacityReservationLevel
- type CreateOrUpdateOperationResponse
- type DataIngestionStatus
- type DeleteOperationOptions
- type DeleteOperationResponse
- type GetOperationResponse
- type ListByResourceGroupOperationResponse
- type ListOperationResponse
- type PrivateLinkScopedResource
- type PublicNetworkAccessType
- type UpdateOperationResponse
- type Workspace
- type WorkspaceCapping
- type WorkspaceEntityStatus
- type WorkspaceFeatures
- type WorkspaceId
- type WorkspaceListResult
- type WorkspacePatch
- type WorkspaceProperties
- type WorkspaceSku
- type WorkspaceSkuNameEnum
- type WorkspacesClient
- func (c WorkspacesClient) CreateOrUpdate(ctx context.Context, id WorkspaceId, input Workspace) (result CreateOrUpdateOperationResponse, err error)
- func (c WorkspacesClient) CreateOrUpdateThenPoll(ctx context.Context, id WorkspaceId, input Workspace) error
- func (c WorkspacesClient) Delete(ctx context.Context, id WorkspaceId, options DeleteOperationOptions) (result DeleteOperationResponse, err error)
- func (c WorkspacesClient) DeleteThenPoll(ctx context.Context, id WorkspaceId, options DeleteOperationOptions) error
- func (c WorkspacesClient) Get(ctx context.Context, id WorkspaceId) (result GetOperationResponse, err error)
- func (c WorkspacesClient) List(ctx context.Context, id commonids.SubscriptionId) (result ListOperationResponse, err error)
- func (c WorkspacesClient) ListByResourceGroup(ctx context.Context, id commonids.ResourceGroupId) (result ListByResourceGroupOperationResponse, err error)
- func (c WorkspacesClient) Update(ctx context.Context, id WorkspaceId, input WorkspacePatch) (result UpdateOperationResponse, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForCapacityReservationLevel ¶
func PossibleValuesForCapacityReservationLevel() []int64
func PossibleValuesForDataIngestionStatus ¶
func PossibleValuesForDataIngestionStatus() []string
func PossibleValuesForPublicNetworkAccessType ¶
func PossibleValuesForPublicNetworkAccessType() []string
func PossibleValuesForWorkspaceEntityStatus ¶
func PossibleValuesForWorkspaceEntityStatus() []string
func PossibleValuesForWorkspaceSkuNameEnum ¶
func PossibleValuesForWorkspaceSkuNameEnum() []string
func ValidateWorkspaceID ¶
ValidateWorkspaceID checks that 'input' can be parsed as a Workspace ID
Types ¶
type CapacityReservationLevel ¶
type CapacityReservationLevel int64
const ( CapacityReservationLevelFiveHundred CapacityReservationLevel = 500 CapacityReservationLevelFiveThousand CapacityReservationLevel = 5000 CapacityReservationLevelFourHundred CapacityReservationLevel = 400 CapacityReservationLevelOneHundred CapacityReservationLevel = 100 CapacityReservationLevelOneThousand CapacityReservationLevel = 1000 CapacityReservationLevelThreeHundred CapacityReservationLevel = 300 CapacityReservationLevelTwoHundred CapacityReservationLevel = 200 CapacityReservationLevelTwoThousand CapacityReservationLevel = 2000 )
type CreateOrUpdateOperationResponse ¶
type CreateOrUpdateOperationResponse struct { Poller polling.LongRunningPoller HttpResponse *http.Response }
type DataIngestionStatus ¶
type DataIngestionStatus string
const ( DataIngestionStatusApproachingQuota DataIngestionStatus = "ApproachingQuota" DataIngestionStatusForceOff DataIngestionStatus = "ForceOff" DataIngestionStatusForceOn DataIngestionStatus = "ForceOn" DataIngestionStatusOverQuota DataIngestionStatus = "OverQuota" DataIngestionStatusRespectQuota DataIngestionStatus = "RespectQuota" DataIngestionStatusSubscriptionSuspended DataIngestionStatus = "SubscriptionSuspended" )
type DeleteOperationOptions ¶
type DeleteOperationOptions struct {
Force *bool
}
func DefaultDeleteOperationOptions ¶
func DefaultDeleteOperationOptions() DeleteOperationOptions
type DeleteOperationResponse ¶
type DeleteOperationResponse struct { Poller polling.LongRunningPoller HttpResponse *http.Response }
type GetOperationResponse ¶
type ListByResourceGroupOperationResponse ¶
type ListByResourceGroupOperationResponse struct { HttpResponse *http.Response Model *WorkspaceListResult }
type ListOperationResponse ¶
type ListOperationResponse struct { HttpResponse *http.Response Model *WorkspaceListResult }
type PublicNetworkAccessType ¶
type PublicNetworkAccessType string
const ( PublicNetworkAccessTypeDisabled PublicNetworkAccessType = "Disabled" PublicNetworkAccessTypeEnabled PublicNetworkAccessType = "Enabled" )
type UpdateOperationResponse ¶
type Workspace ¶
type Workspace struct { Etag *string `json:"etag,omitempty"` Id *string `json:"id,omitempty"` Identity *identity.SystemOrUserAssignedMap `json:"identity,omitempty"` Location string `json:"location"` Name *string `json:"name,omitempty"` Properties *WorkspaceProperties `json:"properties,omitempty"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Tags *map[string]string `json:"tags,omitempty"` Type *string `json:"type,omitempty"` }
type WorkspaceCapping ¶
type WorkspaceCapping struct { DailyQuotaGb *float64 `json:"dailyQuotaGb,omitempty"` DataIngestionStatus *DataIngestionStatus `json:"dataIngestionStatus,omitempty"` QuotaNextResetTime *string `json:"quotaNextResetTime,omitempty"` }
type WorkspaceEntityStatus ¶
type WorkspaceEntityStatus string
const ( WorkspaceEntityStatusCanceled WorkspaceEntityStatus = "Canceled" WorkspaceEntityStatusCreating WorkspaceEntityStatus = "Creating" WorkspaceEntityStatusDeleting WorkspaceEntityStatus = "Deleting" WorkspaceEntityStatusFailed WorkspaceEntityStatus = "Failed" WorkspaceEntityStatusProvisioningAccount WorkspaceEntityStatus = "ProvisioningAccount" WorkspaceEntityStatusSucceeded WorkspaceEntityStatus = "Succeeded" WorkspaceEntityStatusUpdating WorkspaceEntityStatus = "Updating" )
type WorkspaceFeatures ¶
type WorkspaceFeatures struct { ClusterResourceId *string `json:"clusterResourceId,omitempty"` DisableLocalAuth *bool `json:"disableLocalAuth,omitempty"` EnableDataExport *bool `json:"enableDataExport,omitempty"` EnableLogAccessUsingOnlyResourcePermissions *bool `json:"enableLogAccessUsingOnlyResourcePermissions,omitempty"` ImmediatePurgeDataOn30Days *bool `json:"immediatePurgeDataOn30Days,omitempty"` }
type WorkspaceId ¶
WorkspaceId is a struct representing the Resource ID for a Workspace
func NewWorkspaceID ¶
func NewWorkspaceID(subscriptionId string, resourceGroupName string, workspaceName string) WorkspaceId
NewWorkspaceID returns a new WorkspaceId struct
func ParseWorkspaceID ¶
func ParseWorkspaceID(input string) (*WorkspaceId, error)
ParseWorkspaceID parses 'input' into a WorkspaceId
func ParseWorkspaceIDInsensitively ¶
func ParseWorkspaceIDInsensitively(input string) (*WorkspaceId, error)
ParseWorkspaceIDInsensitively parses 'input' case-insensitively into a WorkspaceId note: this method should only be used for API response data and not user input
func (WorkspaceId) Segments ¶
func (id WorkspaceId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Workspace ID
func (WorkspaceId) String ¶
func (id WorkspaceId) String() string
String returns a human-readable description of this Workspace ID
type WorkspaceListResult ¶
type WorkspaceListResult struct {
Value *[]Workspace `json:"value,omitempty"`
}
type WorkspacePatch ¶
type WorkspacePatch struct { Etag *string `json:"etag,omitempty"` Id *string `json:"id,omitempty"` Identity *identity.SystemOrUserAssignedMap `json:"identity,omitempty"` Name *string `json:"name,omitempty"` Properties *WorkspaceProperties `json:"properties,omitempty"` Tags *map[string]string `json:"tags,omitempty"` Type *string `json:"type,omitempty"` }
type WorkspaceProperties ¶
type WorkspaceProperties struct { CreatedDate *string `json:"createdDate,omitempty"` CustomerId *string `json:"customerId,omitempty"` DefaultDataCollectionRuleResourceId *string `json:"defaultDataCollectionRuleResourceId,omitempty"` Features *WorkspaceFeatures `json:"features,omitempty"` ForceCmkForQuery *bool `json:"forceCmkForQuery,omitempty"` ModifiedDate *string `json:"modifiedDate,omitempty"` PrivateLinkScopedResources *[]PrivateLinkScopedResource `json:"privateLinkScopedResources,omitempty"` ProvisioningState *WorkspaceEntityStatus `json:"provisioningState,omitempty"` PublicNetworkAccessForIngestion *PublicNetworkAccessType `json:"publicNetworkAccessForIngestion,omitempty"` PublicNetworkAccessForQuery *PublicNetworkAccessType `json:"publicNetworkAccessForQuery,omitempty"` RetentionInDays *int64 `json:"retentionInDays,omitempty"` Sku *WorkspaceSku `json:"sku,omitempty"` WorkspaceCapping *WorkspaceCapping `json:"workspaceCapping,omitempty"` }
type WorkspaceSku ¶
type WorkspaceSku struct { CapacityReservationLevel *CapacityReservationLevel `json:"capacityReservationLevel,omitempty"` LastSkuUpdate *string `json:"lastSkuUpdate,omitempty"` Name WorkspaceSkuNameEnum `json:"name"` }
type WorkspaceSkuNameEnum ¶
type WorkspaceSkuNameEnum string
const ( WorkspaceSkuNameEnumCapacityReservation WorkspaceSkuNameEnum = "CapacityReservation" WorkspaceSkuNameEnumFree WorkspaceSkuNameEnum = "Free" WorkspaceSkuNameEnumLACluster WorkspaceSkuNameEnum = "LACluster" WorkspaceSkuNameEnumPerGBTwoZeroOneEight WorkspaceSkuNameEnum = "PerGB2018" WorkspaceSkuNameEnumPerNode WorkspaceSkuNameEnum = "PerNode" WorkspaceSkuNameEnumPremium WorkspaceSkuNameEnum = "Premium" WorkspaceSkuNameEnumStandalone WorkspaceSkuNameEnum = "Standalone" WorkspaceSkuNameEnumStandard WorkspaceSkuNameEnum = "Standard" )
type WorkspacesClient ¶
func NewWorkspacesClientWithBaseURI ¶
func NewWorkspacesClientWithBaseURI(endpoint string) WorkspacesClient
func (WorkspacesClient) CreateOrUpdate ¶
func (c WorkspacesClient) CreateOrUpdate(ctx context.Context, id WorkspaceId, input Workspace) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (WorkspacesClient) CreateOrUpdateThenPoll ¶
func (c WorkspacesClient) CreateOrUpdateThenPoll(ctx context.Context, id WorkspaceId, input Workspace) error
CreateOrUpdateThenPoll performs CreateOrUpdate then polls until it's completed
func (WorkspacesClient) Delete ¶
func (c WorkspacesClient) Delete(ctx context.Context, id WorkspaceId, options DeleteOperationOptions) (result DeleteOperationResponse, err error)
Delete ...
func (WorkspacesClient) DeleteThenPoll ¶
func (c WorkspacesClient) DeleteThenPoll(ctx context.Context, id WorkspaceId, options DeleteOperationOptions) error
DeleteThenPoll performs Delete then polls until it's completed
func (WorkspacesClient) Get ¶
func (c WorkspacesClient) Get(ctx context.Context, id WorkspaceId) (result GetOperationResponse, err error)
Get ...
func (WorkspacesClient) List ¶
func (c WorkspacesClient) List(ctx context.Context, id commonids.SubscriptionId) (result ListOperationResponse, err error)
List ...
func (WorkspacesClient) ListByResourceGroup ¶
func (c WorkspacesClient) ListByResourceGroup(ctx context.Context, id commonids.ResourceGroupId) (result ListByResourceGroupOperationResponse, err error)
ListByResourceGroup ...
func (WorkspacesClient) Update ¶
func (c WorkspacesClient) Update(ctx context.Context, id WorkspaceId, input WorkspacePatch) (result UpdateOperationResponse, err error)
Update ...
Source Files ¶
- client.go
- constants.go
- id_workspace.go
- method_createorupdate_autorest.go
- method_delete_autorest.go
- method_get_autorest.go
- method_list_autorest.go
- method_listbyresourcegroup_autorest.go
- method_update_autorest.go
- model_privatelinkscopedresource.go
- model_workspace.go
- model_workspacecapping.go
- model_workspacefeatures.go
- model_workspacelistresult.go
- model_workspacepatch.go
- model_workspaceproperties.go
- model_workspacesku.go
- version.go