deletedworkspaces

package
v0.20231114.1102450 Latest Latest
Warning

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

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

README

github.com/hashicorp/go-azure-sdk/resource-manager/operationalinsights/2021-06-01/deletedworkspaces Documentation

The deletedworkspaces SDK allows for interaction with the Azure Resource Manager Service operationalinsights (API Version 2021-06-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/2021-06-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 PossibleValuesForCapacityReservationLevel

func PossibleValuesForCapacityReservationLevel() []int64

func PossibleValuesForDataIngestionStatus

func PossibleValuesForDataIngestionStatus() []string

func PossibleValuesForPublicNetworkAccessType

func PossibleValuesForPublicNetworkAccessType() []string

func PossibleValuesForWorkspaceEntityStatus

func PossibleValuesForWorkspaceEntityStatus() []string

func PossibleValuesForWorkspaceSkuNameEnum

func PossibleValuesForWorkspaceSkuNameEnum() []string

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

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

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"`
}

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                        *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"
)

func (*WorkspaceSkuNameEnum) UnmarshalJSON

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