operationalinsights

package
v0.19.3 Latest Latest
Warning

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

Go to latest
Published: Jul 22, 2019 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Overview

nolint: lll Package operationalinsights exports types, functions, subpackages for provisioning operationalinsights resources.

> This provider is a derived work of the [Terraform Provider](https://github.com/terraform-providers/terraform-provider-azurerm) > distributed under [MPL 2.0](https://www.mozilla.org/en-US/MPL/2.0/). If you encounter a bug or missing feature, > first check the [`pulumi/pulumi-azure` repo](https://github.com/pulumi/pulumi-azure/issues); however, if that doesn't turn up anything, > please consult the source [`terraform-providers/terraform-provider-azurerm` repo](https://github.com/terraform-providers/terraform-provider-azurerm/issues).

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AnalyticsSolution

type AnalyticsSolution struct {
	// contains filtered or unexported fields
}

Manages a Log Analytics (formally Operational Insights) Solution.

> This content is derived from https://github.com/terraform-providers/terraform-provider-azurerm/blob/master/website/docs/r/log_analytics_solution.html.markdown.

func GetAnalyticsSolution

func GetAnalyticsSolution(ctx *pulumi.Context,
	name string, id pulumi.ID, state *AnalyticsSolutionState, opts ...pulumi.ResourceOpt) (*AnalyticsSolution, error)

GetAnalyticsSolution gets an existing AnalyticsSolution resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewAnalyticsSolution

func NewAnalyticsSolution(ctx *pulumi.Context,
	name string, args *AnalyticsSolutionArgs, opts ...pulumi.ResourceOpt) (*AnalyticsSolution, error)

NewAnalyticsSolution registers a new resource with the given unique name, arguments, and options.

func (*AnalyticsSolution) ID

ID is this resource's unique identifier assigned by its provider.

func (*AnalyticsSolution) Location

func (r *AnalyticsSolution) Location() *pulumi.StringOutput

Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.

func (*AnalyticsSolution) Plan

func (r *AnalyticsSolution) Plan() *pulumi.Output

A `plan` block as documented below.

func (*AnalyticsSolution) ResourceGroupName

func (r *AnalyticsSolution) ResourceGroupName() *pulumi.StringOutput

The name of the resource group in which the Log Analytics solution is created. Changing this forces a new resource to be created. Note: The solution and it's related workspace can only exist in the same resource group.

func (*AnalyticsSolution) SolutionName

func (r *AnalyticsSolution) SolutionName() *pulumi.StringOutput

Specifies the name of the solution to be deployed. See [here for options](https://docs.microsoft.com/en-us/azure/log-analytics/log-analytics-add-solutions).Changing this forces a new resource to be created.

func (*AnalyticsSolution) URN

URN is this resource's unique name assigned by Pulumi.

func (*AnalyticsSolution) WorkspaceName

func (r *AnalyticsSolution) WorkspaceName() *pulumi.StringOutput

The full name of the Log Analytics workspace with which the solution will be linked. Changing this forces a new resource to be created.

func (*AnalyticsSolution) WorkspaceResourceId

func (r *AnalyticsSolution) WorkspaceResourceId() *pulumi.StringOutput

The full resource ID of the Log Analytics workspace with which the solution will be linked. Changing this forces a new resource to be created.

type AnalyticsSolutionArgs

type AnalyticsSolutionArgs struct {
	// Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
	Location interface{}
	// A `plan` block as documented below.
	Plan interface{}
	// The name of the resource group in which the Log Analytics solution is created. Changing this forces a new resource to be created. Note: The solution and it's related workspace can only exist in the same resource group.
	ResourceGroupName interface{}
	// Specifies the name of the solution to be deployed. See [here for options](https://docs.microsoft.com/en-us/azure/log-analytics/log-analytics-add-solutions).Changing this forces a new resource to be created.
	SolutionName interface{}
	// The full name of the Log Analytics workspace with which the solution will be linked. Changing this forces a new resource to be created.
	WorkspaceName interface{}
	// The full resource ID of the Log Analytics workspace with which the solution will be linked. Changing this forces a new resource to be created.
	WorkspaceResourceId interface{}
}

The set of arguments for constructing a AnalyticsSolution resource.

type AnalyticsSolutionState

type AnalyticsSolutionState struct {
	// Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
	Location interface{}
	// A `plan` block as documented below.
	Plan interface{}
	// The name of the resource group in which the Log Analytics solution is created. Changing this forces a new resource to be created. Note: The solution and it's related workspace can only exist in the same resource group.
	ResourceGroupName interface{}
	// Specifies the name of the solution to be deployed. See [here for options](https://docs.microsoft.com/en-us/azure/log-analytics/log-analytics-add-solutions).Changing this forces a new resource to be created.
	SolutionName interface{}
	// The full name of the Log Analytics workspace with which the solution will be linked. Changing this forces a new resource to be created.
	WorkspaceName interface{}
	// The full resource ID of the Log Analytics workspace with which the solution will be linked. Changing this forces a new resource to be created.
	WorkspaceResourceId interface{}
}

Input properties used for looking up and filtering AnalyticsSolution resources.

type AnalyticsWorkspace

type AnalyticsWorkspace struct {
	// contains filtered or unexported fields
}

Manages a Log Analytics (formally Operational Insights) Workspace.

> This content is derived from https://github.com/terraform-providers/terraform-provider-azurerm/blob/master/website/docs/r/log_analytics_workspace.html.markdown.

func GetAnalyticsWorkspace

func GetAnalyticsWorkspace(ctx *pulumi.Context,
	name string, id pulumi.ID, state *AnalyticsWorkspaceState, opts ...pulumi.ResourceOpt) (*AnalyticsWorkspace, error)

GetAnalyticsWorkspace gets an existing AnalyticsWorkspace resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewAnalyticsWorkspace

func NewAnalyticsWorkspace(ctx *pulumi.Context,
	name string, args *AnalyticsWorkspaceArgs, opts ...pulumi.ResourceOpt) (*AnalyticsWorkspace, error)

NewAnalyticsWorkspace registers a new resource with the given unique name, arguments, and options.

func (*AnalyticsWorkspace) ID

ID is this resource's unique identifier assigned by its provider.

func (*AnalyticsWorkspace) Location

func (r *AnalyticsWorkspace) Location() *pulumi.StringOutput

Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.

func (*AnalyticsWorkspace) Name

Specifies the name of the Log Analytics Workspace. Workspace name should include 4-63 letters, digits or '-'. The '-' shouldn't be the first or the last symbol. Changing this forces a new resource to be created.

func (*AnalyticsWorkspace) PortalUrl

func (r *AnalyticsWorkspace) PortalUrl() *pulumi.StringOutput

The Portal URL for the Log Analytics Workspace.

func (*AnalyticsWorkspace) PrimarySharedKey

func (r *AnalyticsWorkspace) PrimarySharedKey() *pulumi.StringOutput

The Primary shared key for the Log Analytics Workspace.

func (*AnalyticsWorkspace) ResourceGroupName

func (r *AnalyticsWorkspace) ResourceGroupName() *pulumi.StringOutput

The name of the resource group in which the Log Analytics workspace is created. Changing this forces a new resource to be created.

func (*AnalyticsWorkspace) RetentionInDays

func (r *AnalyticsWorkspace) RetentionInDays() *pulumi.IntOutput

The workspace data retention in days. Possible values range between 30 and 730.

func (*AnalyticsWorkspace) SecondarySharedKey

func (r *AnalyticsWorkspace) SecondarySharedKey() *pulumi.StringOutput

The Secondary shared key for the Log Analytics Workspace.

func (*AnalyticsWorkspace) Sku

Specifies the Sku of the Log Analytics Workspace. Possible values are `Free`, `PerNode`, `Premium`, `Standard`, `Standalone`, `Unlimited`, and `PerGB2018` (new Sku as of `2018-04-03`).

func (*AnalyticsWorkspace) Tags

func (r *AnalyticsWorkspace) Tags() *pulumi.MapOutput

A mapping of tags to assign to the resource.

func (*AnalyticsWorkspace) URN

URN is this resource's unique name assigned by Pulumi.

func (*AnalyticsWorkspace) WorkspaceId

func (r *AnalyticsWorkspace) WorkspaceId() *pulumi.StringOutput

The Workspace (or Customer) ID for the Log Analytics Workspace.

type AnalyticsWorkspaceArgs

type AnalyticsWorkspaceArgs struct {
	// Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
	Location interface{}
	// Specifies the name of the Log Analytics Workspace. Workspace name should include 4-63 letters, digits or '-'. The '-' shouldn't be the first or the last symbol. Changing this forces a new resource to be created.
	Name interface{}
	// The name of the resource group in which the Log Analytics workspace is created. Changing this forces a new resource to be created.
	ResourceGroupName interface{}
	// The workspace data retention in days. Possible values range between 30 and 730.
	RetentionInDays interface{}
	// Specifies the Sku of the Log Analytics Workspace. Possible values are `Free`, `PerNode`, `Premium`, `Standard`, `Standalone`, `Unlimited`, and `PerGB2018` (new Sku as of `2018-04-03`).
	Sku interface{}
	// A mapping of tags to assign to the resource.
	Tags interface{}
}

The set of arguments for constructing a AnalyticsWorkspace resource.

type AnalyticsWorkspaceLinkedService added in v0.16.5

type AnalyticsWorkspaceLinkedService struct {
	// contains filtered or unexported fields
}

Links a Log Analytics (formally Operational Insights) Workspace to another resource. The (currently) only linkable service is an Azure Automation Account.

> **NOTE:** This resource has been deprecated in favour of the `azurerm_log_analytics_linked_service` resource and will be removed in the next major version of the AzureRM Provider. The new resource shares the same fields as this one, and information on migrating across can be found in this guide.

> This content is derived from https://github.com/terraform-providers/terraform-provider-azurerm/blob/master/website/docs/r/log_analytics_workspace_linked_service.html.markdown.

func GetAnalyticsWorkspaceLinkedService added in v0.16.5

func GetAnalyticsWorkspaceLinkedService(ctx *pulumi.Context,
	name string, id pulumi.ID, state *AnalyticsWorkspaceLinkedServiceState, opts ...pulumi.ResourceOpt) (*AnalyticsWorkspaceLinkedService, error)

GetAnalyticsWorkspaceLinkedService gets an existing AnalyticsWorkspaceLinkedService resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewAnalyticsWorkspaceLinkedService added in v0.16.5

func NewAnalyticsWorkspaceLinkedService(ctx *pulumi.Context,
	name string, args *AnalyticsWorkspaceLinkedServiceArgs, opts ...pulumi.ResourceOpt) (*AnalyticsWorkspaceLinkedService, error)

NewAnalyticsWorkspaceLinkedService registers a new resource with the given unique name, arguments, and options.

func (*AnalyticsWorkspaceLinkedService) ID added in v0.16.5

ID is this resource's unique identifier assigned by its provider.

func (*AnalyticsWorkspaceLinkedService) LinkedServiceName added in v0.16.5

func (r *AnalyticsWorkspaceLinkedService) LinkedServiceName() *pulumi.StringOutput

Name of the type of linkedServices resource to connect to the Log Analytics Workspace specified in `workspace_name`. Currently it defaults to and only supports `automation` as a value. Changing this forces a new resource to be created.

func (*AnalyticsWorkspaceLinkedService) LinkedServiceProperties added in v0.16.5

func (r *AnalyticsWorkspaceLinkedService) LinkedServiceProperties() *pulumi.ArrayOutput

A `linked_service_properties` block as defined below.

func (*AnalyticsWorkspaceLinkedService) Name added in v0.16.5

The automatically generated name of the Linked Service. This cannot be specified. The format is always `<workspace_name>/<linked_service_name>` e.g. `workspace1/Automation`

func (*AnalyticsWorkspaceLinkedService) ResourceGroupName added in v0.16.5

func (r *AnalyticsWorkspaceLinkedService) ResourceGroupName() *pulumi.StringOutput

The name of the resource group in which the Log Analytics Linked Service is created. Changing this forces a new resource to be created.

func (*AnalyticsWorkspaceLinkedService) ResourceId added in v0.16.8

The resource id of the resource that will be linked to the workspace. This field has been deprecated in favour of the top-level `resource_id` field and will be removed in v2.0 of the AzureRM Provider.

func (*AnalyticsWorkspaceLinkedService) Tags added in v0.16.5

A mapping of tags to assign to the resource.

func (*AnalyticsWorkspaceLinkedService) URN added in v0.16.5

URN is this resource's unique name assigned by Pulumi.

func (*AnalyticsWorkspaceLinkedService) WorkspaceName added in v0.16.5

Name of the Log Analytics Workspace that will contain the linkedServices resource. Changing this forces a new resource to be created.

type AnalyticsWorkspaceLinkedServiceArgs added in v0.16.5

type AnalyticsWorkspaceLinkedServiceArgs struct {
	// Name of the type of linkedServices resource to connect to the Log Analytics Workspace specified in `workspace_name`. Currently it defaults to and only supports `automation` as a value. Changing this forces a new resource to be created.
	LinkedServiceName interface{}
	// A `linked_service_properties` block as defined below.
	LinkedServiceProperties interface{}
	// The name of the resource group in which the Log Analytics Linked Service is created. Changing this forces a new resource to be created.
	ResourceGroupName interface{}
	// The resource id of the resource that will be linked to the workspace. This field has been deprecated in favour of the top-level `resource_id` field and will be removed in v2.0 of the AzureRM Provider.
	ResourceId interface{}
	// A mapping of tags to assign to the resource.
	Tags interface{}
	// Name of the Log Analytics Workspace that will contain the linkedServices resource. Changing this forces a new resource to be created.
	WorkspaceName interface{}
}

The set of arguments for constructing a AnalyticsWorkspaceLinkedService resource.

type AnalyticsWorkspaceLinkedServiceState added in v0.16.5

type AnalyticsWorkspaceLinkedServiceState struct {
	// Name of the type of linkedServices resource to connect to the Log Analytics Workspace specified in `workspace_name`. Currently it defaults to and only supports `automation` as a value. Changing this forces a new resource to be created.
	LinkedServiceName interface{}
	// A `linked_service_properties` block as defined below.
	LinkedServiceProperties interface{}
	// The automatically generated name of the Linked Service. This cannot be specified. The format is always `<workspace_name>/<linked_service_name>` e.g. `workspace1/Automation`
	Name interface{}
	// The name of the resource group in which the Log Analytics Linked Service is created. Changing this forces a new resource to be created.
	ResourceGroupName interface{}
	// The resource id of the resource that will be linked to the workspace. This field has been deprecated in favour of the top-level `resource_id` field and will be removed in v2.0 of the AzureRM Provider.
	ResourceId interface{}
	// A mapping of tags to assign to the resource.
	Tags interface{}
	// Name of the Log Analytics Workspace that will contain the linkedServices resource. Changing this forces a new resource to be created.
	WorkspaceName interface{}
}

Input properties used for looking up and filtering AnalyticsWorkspaceLinkedService resources.

type AnalyticsWorkspaceState

type AnalyticsWorkspaceState struct {
	// Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
	Location interface{}
	// Specifies the name of the Log Analytics Workspace. Workspace name should include 4-63 letters, digits or '-'. The '-' shouldn't be the first or the last symbol. Changing this forces a new resource to be created.
	Name interface{}
	// The Portal URL for the Log Analytics Workspace.
	PortalUrl interface{}
	// The Primary shared key for the Log Analytics Workspace.
	PrimarySharedKey interface{}
	// The name of the resource group in which the Log Analytics workspace is created. Changing this forces a new resource to be created.
	ResourceGroupName interface{}
	// The workspace data retention in days. Possible values range between 30 and 730.
	RetentionInDays interface{}
	// The Secondary shared key for the Log Analytics Workspace.
	SecondarySharedKey interface{}
	// Specifies the Sku of the Log Analytics Workspace. Possible values are `Free`, `PerNode`, `Premium`, `Standard`, `Standalone`, `Unlimited`, and `PerGB2018` (new Sku as of `2018-04-03`).
	Sku interface{}
	// A mapping of tags to assign to the resource.
	Tags interface{}
	// The Workspace (or Customer) ID for the Log Analytics Workspace.
	WorkspaceId interface{}
}

Input properties used for looking up and filtering AnalyticsWorkspace resources.

type GetAnalyticsWorkspaceArgs added in v0.15.2

type GetAnalyticsWorkspaceArgs struct {
	// Specifies the name of the Log Analytics Workspace.
	Name interface{}
	// The name of the resource group in which the Log Analytics workspace is located in.
	ResourceGroupName interface{}
}

A collection of arguments for invoking getAnalyticsWorkspace.

type GetAnalyticsWorkspaceResult added in v0.15.2

type GetAnalyticsWorkspaceResult struct {
	Location interface{}
	Name     interface{}
	// The Portal URL for the Log Analytics Workspace.
	PortalUrl interface{}
	// The Primary shared key for the Log Analytics Workspace.
	PrimarySharedKey  interface{}
	ResourceGroupName interface{}
	// The workspace data retention in days.
	RetentionInDays interface{}
	// The Secondary shared key for the Log Analytics Workspace.
	SecondarySharedKey interface{}
	// The Sku of the Log Analytics Workspace.
	Sku interface{}
	// A mapping of tags assigned to the resource.
	Tags interface{}
	// The Workspace (or Customer) ID for the Log Analytics Workspace.
	WorkspaceId interface{}
	// id is the provider-assigned unique ID for this managed resource.
	Id interface{}
}

A collection of values returned by getAnalyticsWorkspace.

func LookupAnalyticsWorkspace added in v0.15.2

func LookupAnalyticsWorkspace(ctx *pulumi.Context, args *GetAnalyticsWorkspaceArgs) (*GetAnalyticsWorkspaceResult, error)

Use this data source to access information about an existing Log Analytics (formally Operational Insights) Workspace.

> This content is derived from https://github.com/terraform-providers/terraform-provider-azurerm/blob/master/website/docs/d/log_analytics_workspace.html.markdown.

Jump to

Keyboard shortcuts

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