Documentation ¶
Overview ¶
Code generated by azure-service-operator-codegen. DO NOT EDIT. Copyright (c) Microsoft Corporation. Licensed under the MIT license.
Code generated by azure-service-operator-codegen. DO NOT EDIT. Copyright (c) Microsoft Corporation. Licensed under the MIT license.
Index ¶
- Constants
- type PrivateLinkScopedResource_STATUS
- type PublicNetworkAccessType
- type PublicNetworkAccessType_STATUS
- type WorkspaceCapping
- type WorkspaceCapping_DataIngestionStatus_STATUS
- type WorkspaceCapping_STATUS
- type WorkspaceFeatures
- type WorkspaceFeatures_STATUS
- type WorkspaceProperties
- type WorkspaceProperties_ProvisioningState
- type WorkspaceProperties_ProvisioningState_STATUS
- type WorkspaceProperties_STATUS
- type WorkspaceSku
- type WorkspaceSku_CapacityReservationLevel
- type WorkspaceSku_CapacityReservationLevel_STATUS
- type WorkspaceSku_Name
- type WorkspaceSku_Name_STATUS
- type WorkspaceSku_STATUS
- type Workspace_STATUS
- type Workspace_Spec
Constants ¶
const ( PublicNetworkAccessType_Disabled = PublicNetworkAccessType("Disabled") PublicNetworkAccessType_Enabled = PublicNetworkAccessType("Enabled") )
const ( WorkspaceProperties_ProvisioningState_Canceled = WorkspaceProperties_ProvisioningState("Canceled") WorkspaceProperties_ProvisioningState_Creating = WorkspaceProperties_ProvisioningState("Creating") WorkspaceProperties_ProvisioningState_Deleting = WorkspaceProperties_ProvisioningState("Deleting") WorkspaceProperties_ProvisioningState_Failed = WorkspaceProperties_ProvisioningState("Failed") WorkspaceProperties_ProvisioningState_ProvisioningAccount = WorkspaceProperties_ProvisioningState("ProvisioningAccount") WorkspaceProperties_ProvisioningState_Succeeded = WorkspaceProperties_ProvisioningState("Succeeded") WorkspaceProperties_ProvisioningState_Updating = WorkspaceProperties_ProvisioningState("Updating") )
const ( WorkspaceSku_CapacityReservationLevel_100 = WorkspaceSku_CapacityReservationLevel(100) WorkspaceSku_CapacityReservationLevel_200 = WorkspaceSku_CapacityReservationLevel(200) WorkspaceSku_CapacityReservationLevel_300 = WorkspaceSku_CapacityReservationLevel(300) WorkspaceSku_CapacityReservationLevel_400 = WorkspaceSku_CapacityReservationLevel(400) WorkspaceSku_CapacityReservationLevel_500 = WorkspaceSku_CapacityReservationLevel(500) WorkspaceSku_CapacityReservationLevel_1000 = WorkspaceSku_CapacityReservationLevel(1000) WorkspaceSku_CapacityReservationLevel_2000 = WorkspaceSku_CapacityReservationLevel(2000) WorkspaceSku_CapacityReservationLevel_5000 = WorkspaceSku_CapacityReservationLevel(5000) )
const ( WorkspaceSku_Name_CapacityReservation = WorkspaceSku_Name("CapacityReservation") WorkspaceSku_Name_Free = WorkspaceSku_Name("Free") WorkspaceSku_Name_LACluster = WorkspaceSku_Name("LACluster") WorkspaceSku_Name_PerGB2018 = WorkspaceSku_Name("PerGB2018") WorkspaceSku_Name_PerNode = WorkspaceSku_Name("PerNode") WorkspaceSku_Name_Premium = WorkspaceSku_Name("Premium") WorkspaceSku_Name_Standalone = WorkspaceSku_Name("Standalone") WorkspaceSku_Name_Standard = WorkspaceSku_Name("Standard") )
const ( PublicNetworkAccessType_STATUS_Disabled = PublicNetworkAccessType_STATUS("Disabled") PublicNetworkAccessType_STATUS_Enabled = PublicNetworkAccessType_STATUS("Enabled") )
const ( WorkspaceProperties_ProvisioningState_STATUS_Canceled = WorkspaceProperties_ProvisioningState_STATUS("Canceled") WorkspaceProperties_ProvisioningState_STATUS_Creating = WorkspaceProperties_ProvisioningState_STATUS("Creating") WorkspaceProperties_ProvisioningState_STATUS_Deleting = WorkspaceProperties_ProvisioningState_STATUS("Deleting") WorkspaceProperties_ProvisioningState_STATUS_Failed = WorkspaceProperties_ProvisioningState_STATUS("Failed") WorkspaceProperties_ProvisioningState_STATUS_ProvisioningAccount = WorkspaceProperties_ProvisioningState_STATUS("ProvisioningAccount") WorkspaceProperties_ProvisioningState_STATUS_Succeeded = WorkspaceProperties_ProvisioningState_STATUS("Succeeded") WorkspaceProperties_ProvisioningState_STATUS_Updating = WorkspaceProperties_ProvisioningState_STATUS("Updating") )
const ( WorkspaceCapping_DataIngestionStatus_STATUS_ApproachingQuota = WorkspaceCapping_DataIngestionStatus_STATUS("ApproachingQuota") WorkspaceCapping_DataIngestionStatus_STATUS_ForceOff = WorkspaceCapping_DataIngestionStatus_STATUS("ForceOff") WorkspaceCapping_DataIngestionStatus_STATUS_ForceOn = WorkspaceCapping_DataIngestionStatus_STATUS("ForceOn") WorkspaceCapping_DataIngestionStatus_STATUS_OverQuota = WorkspaceCapping_DataIngestionStatus_STATUS("OverQuota") WorkspaceCapping_DataIngestionStatus_STATUS_RespectQuota = WorkspaceCapping_DataIngestionStatus_STATUS("RespectQuota") WorkspaceCapping_DataIngestionStatus_STATUS_SubscriptionSuspended = WorkspaceCapping_DataIngestionStatus_STATUS("SubscriptionSuspended") )
const ( WorkspaceSku_CapacityReservationLevel_STATUS_100 = WorkspaceSku_CapacityReservationLevel_STATUS(100) WorkspaceSku_CapacityReservationLevel_STATUS_200 = WorkspaceSku_CapacityReservationLevel_STATUS(200) WorkspaceSku_CapacityReservationLevel_STATUS_300 = WorkspaceSku_CapacityReservationLevel_STATUS(300) WorkspaceSku_CapacityReservationLevel_STATUS_400 = WorkspaceSku_CapacityReservationLevel_STATUS(400) WorkspaceSku_CapacityReservationLevel_STATUS_500 = WorkspaceSku_CapacityReservationLevel_STATUS(500) WorkspaceSku_CapacityReservationLevel_STATUS_1000 = WorkspaceSku_CapacityReservationLevel_STATUS(1000) WorkspaceSku_CapacityReservationLevel_STATUS_2000 = WorkspaceSku_CapacityReservationLevel_STATUS(2000) WorkspaceSku_CapacityReservationLevel_STATUS_5000 = WorkspaceSku_CapacityReservationLevel_STATUS(5000) )
const ( WorkspaceSku_Name_STATUS_CapacityReservation = WorkspaceSku_Name_STATUS("CapacityReservation") WorkspaceSku_Name_STATUS_Free = WorkspaceSku_Name_STATUS("Free") WorkspaceSku_Name_STATUS_LACluster = WorkspaceSku_Name_STATUS("LACluster") WorkspaceSku_Name_STATUS_PerGB2018 = WorkspaceSku_Name_STATUS("PerGB2018") WorkspaceSku_Name_STATUS_PerNode = WorkspaceSku_Name_STATUS("PerNode") WorkspaceSku_Name_STATUS_Premium = WorkspaceSku_Name_STATUS("Premium") WorkspaceSku_Name_STATUS_Standalone = WorkspaceSku_Name_STATUS("Standalone") WorkspaceSku_Name_STATUS_Standard = WorkspaceSku_Name_STATUS("Standard") )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PrivateLinkScopedResource_STATUS ¶
type PrivateLinkScopedResource_STATUS struct { // ResourceId: The full resource Id of the private link scope resource. ResourceId *string `json:"resourceId,omitempty"` // ScopeId: The private link scope unique Identifier. ScopeId *string `json:"scopeId,omitempty"` }
The private link scope resource reference.
type PublicNetworkAccessType ¶
type PublicNetworkAccessType string
The network access type for operating on the Log Analytics Workspace. By default it is Enabled +kubebuilder:validation:Enum={"Disabled","Enabled"}
type PublicNetworkAccessType_STATUS ¶
type PublicNetworkAccessType_STATUS string
The network access type for operating on the Log Analytics Workspace. By default it is Enabled
type WorkspaceCapping ¶
type WorkspaceCapping struct { // DailyQuotaGb: The workspace daily quota for ingestion. DailyQuotaGb *float64 `json:"dailyQuotaGb,omitempty"` }
The daily volume cap for ingestion.
type WorkspaceCapping_DataIngestionStatus_STATUS ¶
type WorkspaceCapping_DataIngestionStatus_STATUS string
type WorkspaceCapping_STATUS ¶
type WorkspaceCapping_STATUS struct { // DailyQuotaGb: The workspace daily quota for ingestion. DailyQuotaGb *float64 `json:"dailyQuotaGb,omitempty"` // DataIngestionStatus: The status of data ingestion for this workspace. DataIngestionStatus *WorkspaceCapping_DataIngestionStatus_STATUS `json:"dataIngestionStatus,omitempty"` // QuotaNextResetTime: The time when the quota will be rest. QuotaNextResetTime *string `json:"quotaNextResetTime,omitempty"` }
The daily volume cap for ingestion.
type WorkspaceFeatures ¶
type WorkspaceFeatures struct { ClusterResourceId *string `json:"clusterResourceId,omitempty"` // DisableLocalAuth: Disable Non-AAD based Auth. DisableLocalAuth *bool `json:"disableLocalAuth,omitempty"` // EnableDataExport: Flag that indicate if data should be exported. EnableDataExport *bool `json:"enableDataExport,omitempty"` // EnableLogAccessUsingOnlyResourcePermissions: Flag that indicate which permission to use - resource or workspace or both. EnableLogAccessUsingOnlyResourcePermissions *bool `json:"enableLogAccessUsingOnlyResourcePermissions,omitempty"` // ImmediatePurgeDataOn30Days: Flag that describes if we want to remove the data after 30 days. ImmediatePurgeDataOn30Days *bool `json:"immediatePurgeDataOn30Days,omitempty"` }
Workspace features.
type WorkspaceFeatures_STATUS ¶
type WorkspaceFeatures_STATUS struct { // ClusterResourceId: Dedicated LA cluster resourceId that is linked to the workspaces. ClusterResourceId *string `json:"clusterResourceId,omitempty"` // DisableLocalAuth: Disable Non-AAD based Auth. DisableLocalAuth *bool `json:"disableLocalAuth,omitempty"` // EnableDataExport: Flag that indicate if data should be exported. EnableDataExport *bool `json:"enableDataExport,omitempty"` // EnableLogAccessUsingOnlyResourcePermissions: Flag that indicate which permission to use - resource or workspace or both. EnableLogAccessUsingOnlyResourcePermissions *bool `json:"enableLogAccessUsingOnlyResourcePermissions,omitempty"` // ImmediatePurgeDataOn30Days: Flag that describes if we want to remove the data after 30 days. ImmediatePurgeDataOn30Days *bool `json:"immediatePurgeDataOn30Days,omitempty"` }
Workspace features.
type WorkspaceProperties ¶
type WorkspaceProperties struct { // Features: Workspace features. Features *WorkspaceFeatures `json:"features,omitempty"` // ForceCmkForQuery: Indicates whether customer managed storage is mandatory for query management. ForceCmkForQuery *bool `json:"forceCmkForQuery,omitempty"` // ProvisioningState: The provisioning state of the workspace. ProvisioningState *WorkspaceProperties_ProvisioningState `json:"provisioningState,omitempty"` // PublicNetworkAccessForIngestion: The network access type for accessing Log Analytics ingestion. PublicNetworkAccessForIngestion *PublicNetworkAccessType `json:"publicNetworkAccessForIngestion,omitempty"` // PublicNetworkAccessForQuery: The network access type for accessing Log Analytics query. PublicNetworkAccessForQuery *PublicNetworkAccessType `json:"publicNetworkAccessForQuery,omitempty"` // RetentionInDays: The workspace data retention in days. Allowed values are per pricing plan. See pricing tiers // documentation for details. RetentionInDays *int `json:"retentionInDays,omitempty"` // Sku: The SKU of the workspace. Sku *WorkspaceSku `json:"sku,omitempty"` // WorkspaceCapping: The daily volume cap for ingestion. WorkspaceCapping *WorkspaceCapping `json:"workspaceCapping,omitempty"` }
Workspace properties.
type WorkspaceProperties_ProvisioningState ¶
type WorkspaceProperties_ProvisioningState string
+kubebuilder:validation:Enum={"Canceled","Creating","Deleting","Failed","ProvisioningAccount","Succeeded","Updating"}
type WorkspaceProperties_ProvisioningState_STATUS ¶
type WorkspaceProperties_ProvisioningState_STATUS string
type WorkspaceProperties_STATUS ¶
type WorkspaceProperties_STATUS struct { // CreatedDate: Workspace creation date. CreatedDate *string `json:"createdDate,omitempty"` // CustomerId: This is a read-only property. Represents the ID associated with the workspace. CustomerId *string `json:"customerId,omitempty"` // Features: Workspace features. Features *WorkspaceFeatures_STATUS `json:"features,omitempty"` // ForceCmkForQuery: Indicates whether customer managed storage is mandatory for query management. ForceCmkForQuery *bool `json:"forceCmkForQuery,omitempty"` // ModifiedDate: Workspace modification date. ModifiedDate *string `json:"modifiedDate,omitempty"` // PrivateLinkScopedResources: List of linked private link scope resources. PrivateLinkScopedResources []PrivateLinkScopedResource_STATUS `json:"privateLinkScopedResources,omitempty"` // ProvisioningState: The provisioning state of the workspace. ProvisioningState *WorkspaceProperties_ProvisioningState_STATUS `json:"provisioningState,omitempty"` // PublicNetworkAccessForIngestion: The network access type for accessing Log Analytics ingestion. PublicNetworkAccessForIngestion *PublicNetworkAccessType_STATUS `json:"publicNetworkAccessForIngestion,omitempty"` // PublicNetworkAccessForQuery: The network access type for accessing Log Analytics query. PublicNetworkAccessForQuery *PublicNetworkAccessType_STATUS `json:"publicNetworkAccessForQuery,omitempty"` // RetentionInDays: The workspace data retention in days. Allowed values are per pricing plan. See pricing tiers // documentation for details. RetentionInDays *int `json:"retentionInDays,omitempty"` // Sku: The SKU of the workspace. Sku *WorkspaceSku_STATUS `json:"sku,omitempty"` // WorkspaceCapping: The daily volume cap for ingestion. WorkspaceCapping *WorkspaceCapping_STATUS `json:"workspaceCapping,omitempty"` }
Workspace properties.
type WorkspaceSku ¶
type WorkspaceSku struct { // CapacityReservationLevel: The capacity reservation level in GB for this workspace, when CapacityReservation sku is // selected. CapacityReservationLevel *WorkspaceSku_CapacityReservationLevel `json:"capacityReservationLevel,omitempty"` // Name: The name of the SKU. Name *WorkspaceSku_Name `json:"name,omitempty"` }
The SKU (tier) of a workspace.
type WorkspaceSku_CapacityReservationLevel ¶
type WorkspaceSku_CapacityReservationLevel int
+kubebuilder:validation:Enum={100,200,300,400,500,1000,2000,5000}
type WorkspaceSku_CapacityReservationLevel_STATUS ¶
type WorkspaceSku_CapacityReservationLevel_STATUS int
type WorkspaceSku_Name ¶
type WorkspaceSku_Name string
+kubebuilder:validation:Enum={"CapacityReservation","Free","LACluster","PerGB2018","PerNode","Premium","Standalone","Standard"}
type WorkspaceSku_Name_STATUS ¶
type WorkspaceSku_Name_STATUS string
type WorkspaceSku_STATUS ¶
type WorkspaceSku_STATUS struct { // CapacityReservationLevel: The capacity reservation level in GB for this workspace, when CapacityReservation sku is // selected. CapacityReservationLevel *WorkspaceSku_CapacityReservationLevel_STATUS `json:"capacityReservationLevel,omitempty"` // LastSkuUpdate: The last time when the sku was updated. LastSkuUpdate *string `json:"lastSkuUpdate,omitempty"` // Name: The name of the SKU. Name *WorkspaceSku_Name_STATUS `json:"name,omitempty"` }
The SKU (tier) of a workspace.
type Workspace_STATUS ¶
type Workspace_STATUS struct { // Etag: The etag of the workspace. Etag *string `json:"etag,omitempty"` // Id: Fully qualified resource ID for the resource. Ex - // /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} Id *string `json:"id,omitempty"` // Location: The geo-location where the resource lives Location *string `json:"location,omitempty"` // Name: The name of the resource Name *string `json:"name,omitempty"` // Properties: Workspace properties. Properties *WorkspaceProperties_STATUS `json:"properties,omitempty"` // Tags: Resource tags. Tags map[string]string `json:"tags,omitempty"` // Type: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" Type *string `json:"type,omitempty"` }
The top level Workspace resource container.
type Workspace_Spec ¶
type Workspace_Spec struct { // Etag: The etag of the workspace. Etag *string `json:"etag,omitempty"` // Location: The geo-location where the resource lives Location *string `json:"location,omitempty"` Name string `json:"name,omitempty"` // Properties: Workspace properties. Properties *WorkspaceProperties `json:"properties,omitempty"` // Tags: Resource tags. Tags map[string]string `json:"tags,omitempty"` }
func (Workspace_Spec) GetAPIVersion ¶
func (workspace Workspace_Spec) GetAPIVersion() string
GetAPIVersion returns the ARM API version of the resource. This is always "2021-06-01"
func (*Workspace_Spec) GetName ¶
func (workspace *Workspace_Spec) GetName() string
GetName returns the Name of the resource
func (*Workspace_Spec) GetType ¶
func (workspace *Workspace_Spec) GetType() string
GetType returns the ARM Type of the resource. This is always "Microsoft.OperationalInsights/workspaces"