Documentation ¶
Index ¶
- func PossibleValuesForCapacityReservationLevel() []int64
- func PossibleValuesForDataIngestionStatus() []string
- func PossibleValuesForPublicNetworkAccessType() []string
- func PossibleValuesForPurgeState() []string
- func PossibleValuesForSearchSortEnum() []string
- func PossibleValuesForWorkspaceEntityStatus() []string
- func PossibleValuesForWorkspaceSkuNameEnum() []string
- func ValidateGatewayID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateIntelligencePackID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateOperationID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateWorkspaceID(input interface{}, key string) (warnings []string, errors []error)
- type CapacityReservationLevel
- type CoreSummary
- type CreateOrUpdateOperationResponse
- type DataIngestionStatus
- type DeleteOperationOptions
- type DeleteOperationResponse
- type GatewayId
- type GatewaysDeleteOperationResponse
- type GetOperationResponse
- type IntelligencePack
- type IntelligencePackId
- type IntelligencePacksDisableOperationResponse
- type IntelligencePacksEnableOperationResponse
- type IntelligencePacksListOperationResponse
- type ListByResourceGroupOperationResponse
- type ListOperationResponse
- type ManagementGroup
- type ManagementGroupProperties
- type ManagementGroupsListOperationResponse
- type MetricName
- type OperationId
- type PrivateLinkScopedResource
- type PublicNetworkAccessType
- type PurgeState
- type SchemaGetOperationResponse
- type SearchGetSchemaResponse
- type SearchMetadata
- type SearchMetadataSchema
- type SearchSchemaValue
- type SearchSort
- type SearchSortEnum
- type SharedKeys
- type SharedKeysGetSharedKeysOperationResponse
- type SharedKeysRegenerateOperationResponse
- type UpdateOperationResponse
- type UsageMetric
- type UsagesListOperationResponse
- type Workspace
- type WorkspaceCapping
- type WorkspaceEntityStatus
- type WorkspaceFeatures
- type WorkspaceId
- type WorkspaceListManagementGroupsResult
- type WorkspaceListResult
- type WorkspaceListUsagesResult
- type WorkspacePatch
- type WorkspaceProperties
- type WorkspacePurgeBody
- type WorkspacePurgeBodyFilters
- type WorkspacePurgeGetPurgeStatusOperationResponse
- type WorkspacePurgePurgeOperationResponse
- type WorkspacePurgeResponse
- type WorkspacePurgeStatusResponse
- 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) GatewaysDelete(ctx context.Context, id GatewayId) (result GatewaysDeleteOperationResponse, err error)
- func (c WorkspacesClient) Get(ctx context.Context, id WorkspaceId) (result GetOperationResponse, err error)
- func (c WorkspacesClient) IntelligencePacksDisable(ctx context.Context, id IntelligencePackId) (result IntelligencePacksDisableOperationResponse, err error)
- func (c WorkspacesClient) IntelligencePacksEnable(ctx context.Context, id IntelligencePackId) (result IntelligencePacksEnableOperationResponse, err error)
- func (c WorkspacesClient) IntelligencePacksList(ctx context.Context, id WorkspaceId) (result IntelligencePacksListOperationResponse, 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) ManagementGroupsList(ctx context.Context, id WorkspaceId) (result ManagementGroupsListOperationResponse, err error)
- func (c WorkspacesClient) SchemaGet(ctx context.Context, id WorkspaceId) (result SchemaGetOperationResponse, err error)
- func (c WorkspacesClient) SharedKeysGetSharedKeys(ctx context.Context, id WorkspaceId) (result SharedKeysGetSharedKeysOperationResponse, err error)
- func (c WorkspacesClient) SharedKeysRegenerate(ctx context.Context, id WorkspaceId) (result SharedKeysRegenerateOperationResponse, err error)
- func (c WorkspacesClient) Update(ctx context.Context, id WorkspaceId, input WorkspacePatch) (result UpdateOperationResponse, err error)
- func (c WorkspacesClient) UsagesList(ctx context.Context, id WorkspaceId) (result UsagesListOperationResponse, err error)
- func (c WorkspacesClient) WorkspacePurgeGetPurgeStatus(ctx context.Context, id OperationId) (result WorkspacePurgeGetPurgeStatusOperationResponse, err error)
- func (c WorkspacesClient) WorkspacePurgePurge(ctx context.Context, id WorkspaceId, input WorkspacePurgeBody) (result WorkspacePurgePurgeOperationResponse, 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 PossibleValuesForPurgeState ¶ added in v0.20241017.1093842
func PossibleValuesForPurgeState() []string
func PossibleValuesForSearchSortEnum ¶ added in v0.20241017.1093842
func PossibleValuesForSearchSortEnum() []string
func PossibleValuesForWorkspaceEntityStatus ¶
func PossibleValuesForWorkspaceEntityStatus() []string
func PossibleValuesForWorkspaceSkuNameEnum ¶
func PossibleValuesForWorkspaceSkuNameEnum() []string
func ValidateGatewayID ¶ added in v0.20241017.1093842
ValidateGatewayID checks that 'input' can be parsed as a Gateway ID
func ValidateIntelligencePackID ¶ added in v0.20241017.1093842
ValidateIntelligencePackID checks that 'input' can be parsed as a Intelligence Pack ID
func ValidateOperationID ¶ added in v0.20241017.1093842
ValidateOperationID checks that 'input' can be parsed as a Operation ID
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 CapacityReservationLevelFiveZeroThousand CapacityReservationLevel = 50000 CapacityReservationLevelFourHundred CapacityReservationLevel = 400 CapacityReservationLevelOneHundred CapacityReservationLevel = 100 CapacityReservationLevelOneThousand CapacityReservationLevel = 1000 CapacityReservationLevelOneZeroThousand CapacityReservationLevel = 10000 CapacityReservationLevelThreeHundred CapacityReservationLevel = 300 CapacityReservationLevelTwoFiveThousand CapacityReservationLevel = 25000 CapacityReservationLevelTwoHundred CapacityReservationLevel = 200 CapacityReservationLevelTwoThousand CapacityReservationLevel = 2000 )
type CoreSummary ¶ added in v0.20241017.1093842
type DataIngestionStatus ¶
type DataIngestionStatus string
const ( DataIngestionStatusApproachingQuota DataIngestionStatus = "ApproachingQuota" DataIngestionStatusForceOff DataIngestionStatus = "ForceOff" DataIngestionStatusForceOn DataIngestionStatus = "ForceOn" DataIngestionStatusOverQuota DataIngestionStatus = "OverQuota" DataIngestionStatusRespectQuota DataIngestionStatus = "RespectQuota" DataIngestionStatusSubscriptionSuspended DataIngestionStatus = "SubscriptionSuspended" )
func (*DataIngestionStatus) UnmarshalJSON ¶
func (s *DataIngestionStatus) UnmarshalJSON(bytes []byte) error
type DeleteOperationOptions ¶
type DeleteOperationOptions struct {
Force *bool
}
func DefaultDeleteOperationOptions ¶
func DefaultDeleteOperationOptions() DeleteOperationOptions
func (DeleteOperationOptions) ToHeaders ¶
func (o DeleteOperationOptions) ToHeaders() *client.Headers
func (DeleteOperationOptions) ToOData ¶
func (o DeleteOperationOptions) ToOData() *odata.Query
func (DeleteOperationOptions) ToQuery ¶
func (o DeleteOperationOptions) ToQuery() *client.QueryParams
type DeleteOperationResponse ¶
type GatewayId ¶ added in v0.20241017.1093842
type GatewayId struct { SubscriptionId string ResourceGroupName string WorkspaceName string GatewayId string }
GatewayId is a struct representing the Resource ID for a Gateway
func NewGatewayID ¶ added in v0.20241017.1093842
func NewGatewayID(subscriptionId string, resourceGroupName string, workspaceName string, gatewayId string) GatewayId
NewGatewayID returns a new GatewayId struct
func ParseGatewayID ¶ added in v0.20241017.1093842
ParseGatewayID parses 'input' into a GatewayId
func ParseGatewayIDInsensitively ¶ added in v0.20241017.1093842
ParseGatewayIDInsensitively parses 'input' case-insensitively into a GatewayId note: this method should only be used for API response data and not user input
func (*GatewayId) FromParseResult ¶ added in v0.20241017.1093842
func (id *GatewayId) FromParseResult(input resourceids.ParseResult) error
func (GatewayId) Segments ¶ added in v0.20241017.1093842
func (id GatewayId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Gateway ID
type GatewaysDeleteOperationResponse ¶ added in v0.20241017.1093842
type GetOperationResponse ¶
type IntelligencePack ¶ added in v0.20241017.1093842
type IntelligencePackId ¶ added in v0.20241017.1093842
type IntelligencePackId struct { SubscriptionId string ResourceGroupName string WorkspaceName string IntelligencePackName string }
IntelligencePackId is a struct representing the Resource ID for a Intelligence Pack
func NewIntelligencePackID ¶ added in v0.20241017.1093842
func NewIntelligencePackID(subscriptionId string, resourceGroupName string, workspaceName string, intelligencePackName string) IntelligencePackId
NewIntelligencePackID returns a new IntelligencePackId struct
func ParseIntelligencePackID ¶ added in v0.20241017.1093842
func ParseIntelligencePackID(input string) (*IntelligencePackId, error)
ParseIntelligencePackID parses 'input' into a IntelligencePackId
func ParseIntelligencePackIDInsensitively ¶ added in v0.20241017.1093842
func ParseIntelligencePackIDInsensitively(input string) (*IntelligencePackId, error)
ParseIntelligencePackIDInsensitively parses 'input' case-insensitively into a IntelligencePackId note: this method should only be used for API response data and not user input
func (*IntelligencePackId) FromParseResult ¶ added in v0.20241017.1093842
func (id *IntelligencePackId) FromParseResult(input resourceids.ParseResult) error
func (IntelligencePackId) ID ¶ added in v0.20241017.1093842
func (id IntelligencePackId) ID() string
ID returns the formatted Intelligence Pack ID
func (IntelligencePackId) Segments ¶ added in v0.20241017.1093842
func (id IntelligencePackId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Intelligence Pack ID
func (IntelligencePackId) String ¶ added in v0.20241017.1093842
func (id IntelligencePackId) String() string
String returns a human-readable description of this Intelligence Pack ID
type IntelligencePacksDisableOperationResponse ¶ added in v0.20241017.1093842
type IntelligencePacksEnableOperationResponse ¶ added in v0.20241017.1093842
type IntelligencePacksListOperationResponse ¶ added in v0.20241017.1093842
type IntelligencePacksListOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]IntelligencePack }
type ListByResourceGroupOperationResponse ¶
type ListByResourceGroupOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *WorkspaceListResult }
type ListOperationResponse ¶
type ListOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *WorkspaceListResult }
type ManagementGroup ¶ added in v0.20241017.1093842
type ManagementGroup struct {
Properties *ManagementGroupProperties `json:"properties,omitempty"`
}
type ManagementGroupProperties ¶ added in v0.20241017.1093842
type ManagementGroupProperties struct { Created *string `json:"created,omitempty"` DataReceived *string `json:"dataReceived,omitempty"` Id *string `json:"id,omitempty"` IsGateway *bool `json:"isGateway,omitempty"` Name *string `json:"name,omitempty"` ServerCount *int64 `json:"serverCount,omitempty"` Sku *string `json:"sku,omitempty"` Version *string `json:"version,omitempty"` }
func (*ManagementGroupProperties) GetCreatedAsTime ¶ added in v0.20241017.1093842
func (o *ManagementGroupProperties) GetCreatedAsTime() (*time.Time, error)
func (*ManagementGroupProperties) GetDataReceivedAsTime ¶ added in v0.20241017.1093842
func (o *ManagementGroupProperties) GetDataReceivedAsTime() (*time.Time, error)
func (*ManagementGroupProperties) SetCreatedAsTime ¶ added in v0.20241017.1093842
func (o *ManagementGroupProperties) SetCreatedAsTime(input time.Time)
func (*ManagementGroupProperties) SetDataReceivedAsTime ¶ added in v0.20241017.1093842
func (o *ManagementGroupProperties) SetDataReceivedAsTime(input time.Time)
type ManagementGroupsListOperationResponse ¶ added in v0.20241017.1093842
type ManagementGroupsListOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *WorkspaceListManagementGroupsResult }
type MetricName ¶ added in v0.20241017.1093842
type OperationId ¶ added in v0.20241017.1093842
type OperationId struct { SubscriptionId string ResourceGroupName string WorkspaceName string PurgeId string }
OperationId is a struct representing the Resource ID for a Operation
func NewOperationID ¶ added in v0.20241017.1093842
func NewOperationID(subscriptionId string, resourceGroupName string, workspaceName string, purgeId string) OperationId
NewOperationID returns a new OperationId struct
func ParseOperationID ¶ added in v0.20241017.1093842
func ParseOperationID(input string) (*OperationId, error)
ParseOperationID parses 'input' into a OperationId
func ParseOperationIDInsensitively ¶ added in v0.20241017.1093842
func ParseOperationIDInsensitively(input string) (*OperationId, error)
ParseOperationIDInsensitively parses 'input' case-insensitively into a OperationId note: this method should only be used for API response data and not user input
func (*OperationId) FromParseResult ¶ added in v0.20241017.1093842
func (id *OperationId) FromParseResult(input resourceids.ParseResult) error
func (OperationId) ID ¶ added in v0.20241017.1093842
func (id OperationId) ID() string
ID returns the formatted Operation ID
func (OperationId) Segments ¶ added in v0.20241017.1093842
func (id OperationId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Operation ID
func (OperationId) String ¶ added in v0.20241017.1093842
func (id OperationId) String() string
String returns a human-readable description of this Operation ID
type PublicNetworkAccessType ¶
type PublicNetworkAccessType string
const ( PublicNetworkAccessTypeDisabled PublicNetworkAccessType = "Disabled" PublicNetworkAccessTypeEnabled PublicNetworkAccessType = "Enabled" )
func (*PublicNetworkAccessType) UnmarshalJSON ¶
func (s *PublicNetworkAccessType) UnmarshalJSON(bytes []byte) error
type PurgeState ¶ added in v0.20241017.1093842
type PurgeState string
const ( PurgeStateCompleted PurgeState = "completed" PurgeStatePending PurgeState = "pending" )
func (*PurgeState) UnmarshalJSON ¶ added in v0.20241017.1093842
func (s *PurgeState) UnmarshalJSON(bytes []byte) error
type SchemaGetOperationResponse ¶ added in v0.20241017.1093842
type SchemaGetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *SearchGetSchemaResponse }
type SearchGetSchemaResponse ¶ added in v0.20241017.1093842
type SearchGetSchemaResponse struct { Metadata *SearchMetadata `json:"metadata,omitempty"` Value *[]SearchSchemaValue `json:"value,omitempty"` }
type SearchMetadata ¶ added in v0.20241017.1093842
type SearchMetadata struct { AggregatedGroupingFields *string `json:"aggregatedGroupingFields,omitempty"` AggregatedValueField *string `json:"aggregatedValueField,omitempty"` CoreSummaries *[]CoreSummary `json:"coreSummaries,omitempty"` ETag *string `json:"eTag,omitempty"` Id *string `json:"id,omitempty"` LastUpdated *string `json:"lastUpdated,omitempty"` Max *int64 `json:"max,omitempty"` RequestId *string `json:"requestId,omitempty"` RequestTime *int64 `json:"requestTime,omitempty"` ResultType *string `json:"resultType,omitempty"` Schema *SearchMetadataSchema `json:"schema,omitempty"` Sort *[]SearchSort `json:"sort,omitempty"` StartTime *string `json:"startTime,omitempty"` Status *string `json:"status,omitempty"` Sum *int64 `json:"sum,omitempty"` Top *int64 `json:"top,omitempty"` Total *int64 `json:"total,omitempty"` }
func (*SearchMetadata) GetLastUpdatedAsTime ¶ added in v0.20241017.1093842
func (o *SearchMetadata) GetLastUpdatedAsTime() (*time.Time, error)
func (*SearchMetadata) GetStartTimeAsTime ¶ added in v0.20241017.1093842
func (o *SearchMetadata) GetStartTimeAsTime() (*time.Time, error)
func (*SearchMetadata) SetLastUpdatedAsTime ¶ added in v0.20241017.1093842
func (o *SearchMetadata) SetLastUpdatedAsTime(input time.Time)
func (*SearchMetadata) SetStartTimeAsTime ¶ added in v0.20241017.1093842
func (o *SearchMetadata) SetStartTimeAsTime(input time.Time)
type SearchMetadataSchema ¶ added in v0.20241017.1093842
type SearchSchemaValue ¶ added in v0.20241017.1093842
type SearchSort ¶ added in v0.20241017.1093842
type SearchSort struct { Name *string `json:"name,omitempty"` Order *SearchSortEnum `json:"order,omitempty"` }
type SearchSortEnum ¶ added in v0.20241017.1093842
type SearchSortEnum string
const ( SearchSortEnumAsc SearchSortEnum = "asc" SearchSortEnumDesc SearchSortEnum = "desc" )
func (*SearchSortEnum) UnmarshalJSON ¶ added in v0.20241017.1093842
func (s *SearchSortEnum) UnmarshalJSON(bytes []byte) error
type SharedKeys ¶ added in v0.20241017.1093842
type SharedKeys struct {}
type SharedKeysGetSharedKeysOperationResponse ¶ added in v0.20241017.1093842
type SharedKeysGetSharedKeysOperationResponse struct {}
type SharedKeysRegenerateOperationResponse ¶ added in v0.20241017.1093842
type SharedKeysRegenerateOperationResponse struct {}
type UpdateOperationResponse ¶
type UsageMetric ¶ added in v0.20241017.1093842
type UsageMetric struct { CurrentValue *float64 `json:"currentValue,omitempty"` Limit *float64 `json:"limit,omitempty"` Name *MetricName `json:"name,omitempty"` NextResetTime *string `json:"nextResetTime,omitempty"` QuotaPeriod *string `json:"quotaPeriod,omitempty"` Unit *string `json:"unit,omitempty"` }
func (*UsageMetric) GetNextResetTimeAsTime ¶ added in v0.20241017.1093842
func (o *UsageMetric) GetNextResetTimeAsTime() (*time.Time, error)
func (*UsageMetric) SetNextResetTimeAsTime ¶ added in v0.20241017.1093842
func (o *UsageMetric) SetNextResetTimeAsTime(input time.Time)
type UsagesListOperationResponse ¶ added in v0.20241017.1093842
type UsagesListOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *WorkspaceListUsagesResult }
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" )
func (*WorkspaceEntityStatus) UnmarshalJSON ¶
func (s *WorkspaceEntityStatus) UnmarshalJSON(bytes []byte) error
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"` UnifiedSentinelBillingOnly *bool `json:"unifiedSentinelBillingOnly,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) FromParseResult ¶
func (id *WorkspaceId) FromParseResult(input resourceids.ParseResult) error
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 WorkspaceListManagementGroupsResult ¶ added in v0.20241017.1093842
type WorkspaceListManagementGroupsResult struct {
Value *[]ManagementGroup `json:"value,omitempty"`
}
type WorkspaceListResult ¶
type WorkspaceListResult struct {
Value *[]Workspace `json:"value,omitempty"`
}
type WorkspaceListUsagesResult ¶ added in v0.20241017.1093842
type WorkspaceListUsagesResult struct {
Value *[]UsageMetric `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 WorkspacePurgeBody ¶ added in v0.20241017.1093842
type WorkspacePurgeBody struct { Filters []WorkspacePurgeBodyFilters `json:"filters"` Table string `json:"table"` }
type WorkspacePurgeBodyFilters ¶ added in v0.20241017.1093842
type WorkspacePurgeGetPurgeStatusOperationResponse ¶ added in v0.20241017.1093842
type WorkspacePurgeGetPurgeStatusOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *WorkspacePurgeStatusResponse }
type WorkspacePurgePurgeOperationResponse ¶ added in v0.20241017.1093842
type WorkspacePurgePurgeOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *WorkspacePurgeResponse }
type WorkspacePurgeResponse ¶ added in v0.20241017.1093842
type WorkspacePurgeResponse struct {
OperationId string `json:"operationId"`
}
type WorkspacePurgeStatusResponse ¶ added in v0.20241017.1093842
type WorkspacePurgeStatusResponse struct {
Status PurgeState `json:"status"`
}
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" )
func (*WorkspaceSkuNameEnum) UnmarshalJSON ¶
func (s *WorkspaceSkuNameEnum) UnmarshalJSON(bytes []byte) error
type WorkspacesClient ¶
type WorkspacesClient struct {
Client *resourcemanager.Client
}
func NewWorkspacesClientWithBaseURI ¶
func NewWorkspacesClientWithBaseURI(sdkApi sdkEnv.Api) (*WorkspacesClient, error)
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) GatewaysDelete ¶ added in v0.20241017.1093842
func (c WorkspacesClient) GatewaysDelete(ctx context.Context, id GatewayId) (result GatewaysDeleteOperationResponse, err error)
GatewaysDelete ...
func (WorkspacesClient) Get ¶
func (c WorkspacesClient) Get(ctx context.Context, id WorkspaceId) (result GetOperationResponse, err error)
Get ...
func (WorkspacesClient) IntelligencePacksDisable ¶ added in v0.20241017.1093842
func (c WorkspacesClient) IntelligencePacksDisable(ctx context.Context, id IntelligencePackId) (result IntelligencePacksDisableOperationResponse, err error)
IntelligencePacksDisable ...
func (WorkspacesClient) IntelligencePacksEnable ¶ added in v0.20241017.1093842
func (c WorkspacesClient) IntelligencePacksEnable(ctx context.Context, id IntelligencePackId) (result IntelligencePacksEnableOperationResponse, err error)
IntelligencePacksEnable ...
func (WorkspacesClient) IntelligencePacksList ¶ added in v0.20241017.1093842
func (c WorkspacesClient) IntelligencePacksList(ctx context.Context, id WorkspaceId) (result IntelligencePacksListOperationResponse, err error)
IntelligencePacksList ...
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) ManagementGroupsList ¶ added in v0.20241017.1093842
func (c WorkspacesClient) ManagementGroupsList(ctx context.Context, id WorkspaceId) (result ManagementGroupsListOperationResponse, err error)
ManagementGroupsList ...
func (WorkspacesClient) SchemaGet ¶ added in v0.20241017.1093842
func (c WorkspacesClient) SchemaGet(ctx context.Context, id WorkspaceId) (result SchemaGetOperationResponse, err error)
SchemaGet ...
func (WorkspacesClient) SharedKeysGetSharedKeys ¶ added in v0.20241017.1093842
func (c WorkspacesClient) SharedKeysGetSharedKeys(ctx context.Context, id WorkspaceId) (result SharedKeysGetSharedKeysOperationResponse, err error)
SharedKeysGetSharedKeys ...
func (WorkspacesClient) SharedKeysRegenerate ¶ added in v0.20241017.1093842
func (c WorkspacesClient) SharedKeysRegenerate(ctx context.Context, id WorkspaceId) (result SharedKeysRegenerateOperationResponse, err error)
SharedKeysRegenerate ...
func (WorkspacesClient) Update ¶
func (c WorkspacesClient) Update(ctx context.Context, id WorkspaceId, input WorkspacePatch) (result UpdateOperationResponse, err error)
Update ...
func (WorkspacesClient) UsagesList ¶ added in v0.20241017.1093842
func (c WorkspacesClient) UsagesList(ctx context.Context, id WorkspaceId) (result UsagesListOperationResponse, err error)
UsagesList ...
func (WorkspacesClient) WorkspacePurgeGetPurgeStatus ¶ added in v0.20241017.1093842
func (c WorkspacesClient) WorkspacePurgeGetPurgeStatus(ctx context.Context, id OperationId) (result WorkspacePurgeGetPurgeStatusOperationResponse, err error)
WorkspacePurgeGetPurgeStatus ...
func (WorkspacesClient) WorkspacePurgePurge ¶ added in v0.20241017.1093842
func (c WorkspacesClient) WorkspacePurgePurge(ctx context.Context, id WorkspaceId, input WorkspacePurgeBody) (result WorkspacePurgePurgeOperationResponse, err error)
WorkspacePurgePurge ...
Source Files ¶
- client.go
- constants.go
- id_gateway.go
- id_intelligencepack.go
- id_operation.go
- id_workspace.go
- method_createorupdate.go
- method_delete.go
- method_gatewaysdelete.go
- method_get.go
- method_intelligencepacksdisable.go
- method_intelligencepacksenable.go
- method_intelligencepackslist.go
- method_list.go
- method_listbyresourcegroup.go
- method_managementgroupslist.go
- method_schemaget.go
- method_sharedkeysgetsharedkeys.go
- method_sharedkeysregenerate.go
- method_update.go
- method_usageslist.go
- method_workspacepurgegetpurgestatus.go
- method_workspacepurgepurge.go
- model_coresummary.go
- model_intelligencepack.go
- model_managementgroup.go
- model_managementgroupproperties.go
- model_metricname.go
- model_privatelinkscopedresource.go
- model_searchgetschemaresponse.go
- model_searchmetadata.go
- model_searchmetadataschema.go
- model_searchschemavalue.go
- model_searchsort.go
- model_sharedkeys.go
- model_usagemetric.go
- model_workspace.go
- model_workspacecapping.go
- model_workspacefeatures.go
- model_workspacelistmanagementgroupsresult.go
- model_workspacelistresult.go
- model_workspacelistusagesresult.go
- model_workspacepatch.go
- model_workspaceproperties.go
- model_workspacepurgebody.go
- model_workspacepurgebodyfilters.go
- model_workspacepurgeresponse.go
- model_workspacepurgestatusresponse.go
- model_workspacesku.go
- version.go