deletedworkspaces

package
v0.20231020.1124011 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 20, 2023 License: MPL-2.0 Imports: 10 Imported by: 1

README

github.com/hashicorp/go-azure-sdk/resource-manager/operationalinsights/2020-08-01/deletedworkspaces Documentation

The deletedworkspaces SDK allows for interaction with the Azure Resource Manager Service operationalinsights (API Version 2020-08-01).

This readme covers example usages, but further information on using this SDK can be found in the project root.

Import Path

import "github.com/hashicorp/go-azure-sdk/resource-manager/operationalinsights/2020-08-01/deletedworkspaces"

Client Initialization

client := deletedworkspaces.NewDeletedWorkspacesClientWithBaseURI("https://management.azure.com")
client.Client.Authorizer = authorizer

Example Usage: DeletedWorkspacesClient.List

ctx := context.TODO()
id := deletedworkspaces.NewSubscriptionID("12345678-1234-9876-4563-123456789012")

read, err := client.List(ctx, id)
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: DeletedWorkspacesClient.ListByResourceGroup

ctx := context.TODO()
id := deletedworkspaces.NewResourceGroupID("12345678-1234-9876-4563-123456789012", "example-resource-group")

read, err := client.ListByResourceGroup(ctx, id)
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PossibleValuesForDataIngestionStatus

func PossibleValuesForDataIngestionStatus() []string

func PossibleValuesForPublicNetworkAccessType

func PossibleValuesForPublicNetworkAccessType() []string

func PossibleValuesForWorkspaceEntityStatus

func PossibleValuesForWorkspaceEntityStatus() []string

func PossibleValuesForWorkspaceSkuNameEnum

func PossibleValuesForWorkspaceSkuNameEnum() []string

Types

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 added in v0.20230825.1030756

func (s *DataIngestionStatus) UnmarshalJSON(bytes []byte) error

type DeletedWorkspacesClient

type DeletedWorkspacesClient struct {
	Client *resourcemanager.Client
}

func NewDeletedWorkspacesClientWithBaseURI

func NewDeletedWorkspacesClientWithBaseURI(sdkApi sdkEnv.Api) (*DeletedWorkspacesClient, error)

func (DeletedWorkspacesClient) List

List ...

func (DeletedWorkspacesClient) ListByResourceGroup

ListByResourceGroup ...

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 PrivateLinkScopedResource

type PrivateLinkScopedResource struct {
	ResourceId *string `json:"resourceId,omitempty"`
	ScopeId    *string `json:"scopeId,omitempty"`
}

type PublicNetworkAccessType

type PublicNetworkAccessType string
const (
	PublicNetworkAccessTypeDisabled PublicNetworkAccessType = "Disabled"
	PublicNetworkAccessTypeEnabled  PublicNetworkAccessType = "Enabled"
)

func (*PublicNetworkAccessType) UnmarshalJSON added in v0.20230825.1030756

func (s *PublicNetworkAccessType) UnmarshalJSON(bytes []byte) error

type Workspace

type Workspace struct {
	ETag       *string              `json:"eTag,omitempty"`
	Id         *string              `json:"id,omitempty"`
	Location   string               `json:"location"`
	Name       *string              `json:"name,omitempty"`
	Properties *WorkspaceProperties `json:"properties,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 added in v0.20230825.1030756

func (s *WorkspaceEntityStatus) UnmarshalJSON(bytes []byte) error

type WorkspaceListResult

type WorkspaceListResult struct {
	Value *[]Workspace `json:"value,omitempty"`
}

type WorkspaceProperties

type WorkspaceProperties struct {
	CreatedDate                     *string                      `json:"createdDate,omitempty"`
	CustomerId                      *string                      `json:"customerId,omitempty"`
	Features                        *interface{}                 `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    *int64               `json:"capacityReservationLevel,omitempty"`
	LastSkuUpdate               *string              `json:"lastSkuUpdate,omitempty"`
	MaxCapacityReservationLevel *int64               `json:"maxCapacityReservationLevel,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 added in v0.20230825.1030756

func (s *WorkspaceSkuNameEnum) UnmarshalJSON(bytes []byte) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL