Documentation ¶
Overview ¶
nolint: lll
nolint: lll
nolint: lll
nolint: lll
nolint: lll
Index ¶
- type AnalyticsSolution
- type AnalyticsSolutionArgs
- type AnalyticsSolutionPlan
- type AnalyticsSolutionPlanArgs
- func (AnalyticsSolutionPlanArgs) ElementType() reflect.Type
- func (i AnalyticsSolutionPlanArgs) ToAnalyticsSolutionPlanOutput() AnalyticsSolutionPlanOutput
- func (i AnalyticsSolutionPlanArgs) ToAnalyticsSolutionPlanOutputWithContext(ctx context.Context) AnalyticsSolutionPlanOutput
- func (i AnalyticsSolutionPlanArgs) ToAnalyticsSolutionPlanPtrOutput() AnalyticsSolutionPlanPtrOutput
- func (i AnalyticsSolutionPlanArgs) ToAnalyticsSolutionPlanPtrOutputWithContext(ctx context.Context) AnalyticsSolutionPlanPtrOutput
- type AnalyticsSolutionPlanInput
- type AnalyticsSolutionPlanOutput
- func (AnalyticsSolutionPlanOutput) ElementType() reflect.Type
- func (o AnalyticsSolutionPlanOutput) Name() pulumi.StringPtrOutput
- func (o AnalyticsSolutionPlanOutput) Product() pulumi.StringOutput
- func (o AnalyticsSolutionPlanOutput) PromotionCode() pulumi.StringPtrOutput
- func (o AnalyticsSolutionPlanOutput) Publisher() pulumi.StringOutput
- func (o AnalyticsSolutionPlanOutput) ToAnalyticsSolutionPlanOutput() AnalyticsSolutionPlanOutput
- func (o AnalyticsSolutionPlanOutput) ToAnalyticsSolutionPlanOutputWithContext(ctx context.Context) AnalyticsSolutionPlanOutput
- func (o AnalyticsSolutionPlanOutput) ToAnalyticsSolutionPlanPtrOutput() AnalyticsSolutionPlanPtrOutput
- func (o AnalyticsSolutionPlanOutput) ToAnalyticsSolutionPlanPtrOutputWithContext(ctx context.Context) AnalyticsSolutionPlanPtrOutput
- type AnalyticsSolutionPlanPtrInput
- type AnalyticsSolutionPlanPtrOutput
- func (o AnalyticsSolutionPlanPtrOutput) Elem() AnalyticsSolutionPlanOutput
- func (AnalyticsSolutionPlanPtrOutput) ElementType() reflect.Type
- func (o AnalyticsSolutionPlanPtrOutput) Name() pulumi.StringPtrOutput
- func (o AnalyticsSolutionPlanPtrOutput) Product() pulumi.StringOutput
- func (o AnalyticsSolutionPlanPtrOutput) PromotionCode() pulumi.StringPtrOutput
- func (o AnalyticsSolutionPlanPtrOutput) Publisher() pulumi.StringOutput
- func (o AnalyticsSolutionPlanPtrOutput) ToAnalyticsSolutionPlanPtrOutput() AnalyticsSolutionPlanPtrOutput
- func (o AnalyticsSolutionPlanPtrOutput) ToAnalyticsSolutionPlanPtrOutputWithContext(ctx context.Context) AnalyticsSolutionPlanPtrOutput
- type AnalyticsSolutionState
- type AnalyticsWorkspace
- type AnalyticsWorkspaceArgs
- type AnalyticsWorkspaceLinkedService
- func GetAnalyticsWorkspaceLinkedService(ctx *pulumi.Context, name string, id pulumi.IDInput, ...) (*AnalyticsWorkspaceLinkedService, error)
- func NewAnalyticsWorkspaceLinkedService(ctx *pulumi.Context, name string, args *AnalyticsWorkspaceLinkedServiceArgs, ...) (*AnalyticsWorkspaceLinkedService, error)
- type AnalyticsWorkspaceLinkedServiceArgs
- type AnalyticsWorkspaceLinkedServiceLinkedServiceProperties
- type AnalyticsWorkspaceLinkedServiceLinkedServicePropertiesArgs
- func (AnalyticsWorkspaceLinkedServiceLinkedServicePropertiesArgs) ElementType() reflect.Type
- func (i AnalyticsWorkspaceLinkedServiceLinkedServicePropertiesArgs) ToAnalyticsWorkspaceLinkedServiceLinkedServicePropertiesOutput() AnalyticsWorkspaceLinkedServiceLinkedServicePropertiesOutput
- func (i AnalyticsWorkspaceLinkedServiceLinkedServicePropertiesArgs) ToAnalyticsWorkspaceLinkedServiceLinkedServicePropertiesOutputWithContext(ctx context.Context) AnalyticsWorkspaceLinkedServiceLinkedServicePropertiesOutput
- func (i AnalyticsWorkspaceLinkedServiceLinkedServicePropertiesArgs) ToAnalyticsWorkspaceLinkedServiceLinkedServicePropertiesPtrOutput() AnalyticsWorkspaceLinkedServiceLinkedServicePropertiesPtrOutput
- func (i AnalyticsWorkspaceLinkedServiceLinkedServicePropertiesArgs) ToAnalyticsWorkspaceLinkedServiceLinkedServicePropertiesPtrOutputWithContext(ctx context.Context) AnalyticsWorkspaceLinkedServiceLinkedServicePropertiesPtrOutput
- type AnalyticsWorkspaceLinkedServiceLinkedServicePropertiesInput
- type AnalyticsWorkspaceLinkedServiceLinkedServicePropertiesOutput
- func (AnalyticsWorkspaceLinkedServiceLinkedServicePropertiesOutput) ElementType() reflect.Type
- func (o AnalyticsWorkspaceLinkedServiceLinkedServicePropertiesOutput) ResourceId() pulumi.StringOutput
- func (o AnalyticsWorkspaceLinkedServiceLinkedServicePropertiesOutput) ToAnalyticsWorkspaceLinkedServiceLinkedServicePropertiesOutput() AnalyticsWorkspaceLinkedServiceLinkedServicePropertiesOutput
- func (o AnalyticsWorkspaceLinkedServiceLinkedServicePropertiesOutput) ToAnalyticsWorkspaceLinkedServiceLinkedServicePropertiesOutputWithContext(ctx context.Context) AnalyticsWorkspaceLinkedServiceLinkedServicePropertiesOutput
- func (o AnalyticsWorkspaceLinkedServiceLinkedServicePropertiesOutput) ToAnalyticsWorkspaceLinkedServiceLinkedServicePropertiesPtrOutput() AnalyticsWorkspaceLinkedServiceLinkedServicePropertiesPtrOutput
- func (o AnalyticsWorkspaceLinkedServiceLinkedServicePropertiesOutput) ToAnalyticsWorkspaceLinkedServiceLinkedServicePropertiesPtrOutputWithContext(ctx context.Context) AnalyticsWorkspaceLinkedServiceLinkedServicePropertiesPtrOutput
- type AnalyticsWorkspaceLinkedServiceLinkedServicePropertiesPtrInput
- type AnalyticsWorkspaceLinkedServiceLinkedServicePropertiesPtrOutput
- func (o AnalyticsWorkspaceLinkedServiceLinkedServicePropertiesPtrOutput) Elem() AnalyticsWorkspaceLinkedServiceLinkedServicePropertiesOutput
- func (AnalyticsWorkspaceLinkedServiceLinkedServicePropertiesPtrOutput) ElementType() reflect.Type
- func (o AnalyticsWorkspaceLinkedServiceLinkedServicePropertiesPtrOutput) ResourceId() pulumi.StringOutput
- func (o AnalyticsWorkspaceLinkedServiceLinkedServicePropertiesPtrOutput) ToAnalyticsWorkspaceLinkedServiceLinkedServicePropertiesPtrOutput() AnalyticsWorkspaceLinkedServiceLinkedServicePropertiesPtrOutput
- func (o AnalyticsWorkspaceLinkedServiceLinkedServicePropertiesPtrOutput) ToAnalyticsWorkspaceLinkedServiceLinkedServicePropertiesPtrOutputWithContext(ctx context.Context) AnalyticsWorkspaceLinkedServiceLinkedServicePropertiesPtrOutput
- type AnalyticsWorkspaceLinkedServiceState
- type AnalyticsWorkspaceState
- type LookupAnalyticsWorkspaceArgs
- type LookupAnalyticsWorkspaceResult
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AnalyticsSolution ¶
type AnalyticsSolution struct { pulumi.CustomResourceState // Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created. Location pulumi.StringOutput `pulumi:"location"` // A `plan` block as documented below. Plan AnalyticsSolutionPlanOutput `pulumi:"plan"` // 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 pulumi.StringOutput `pulumi:"resourceGroupName"` // 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 pulumi.StringOutput `pulumi:"solutionName"` // 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 pulumi.StringOutput `pulumi:"workspaceName"` // 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 pulumi.StringOutput `pulumi:"workspaceResourceId"` }
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.IDInput, state *AnalyticsSolutionState, opts ...pulumi.ResourceOption) (*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.ResourceOption) (*AnalyticsSolution, error)
NewAnalyticsSolution registers a new resource with the given unique name, arguments, and options.
type AnalyticsSolutionArgs ¶
type AnalyticsSolutionArgs struct { // Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created. Location pulumi.StringPtrInput // A `plan` block as documented below. Plan AnalyticsSolutionPlanInput // 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 pulumi.StringInput // 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 pulumi.StringInput // 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 pulumi.StringInput // 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 pulumi.StringInput }
The set of arguments for constructing a AnalyticsSolution resource.
func (AnalyticsSolutionArgs) ElementType ¶ added in v1.12.0
func (AnalyticsSolutionArgs) ElementType() reflect.Type
type AnalyticsSolutionPlan ¶ added in v1.12.0
type AnalyticsSolutionPlanArgs ¶ added in v1.12.0
type AnalyticsSolutionPlanArgs struct { Name pulumi.StringPtrInput `pulumi:"name"` Product pulumi.StringInput `pulumi:"product"` PromotionCode pulumi.StringPtrInput `pulumi:"promotionCode"` Publisher pulumi.StringInput `pulumi:"publisher"` }
func (AnalyticsSolutionPlanArgs) ElementType ¶ added in v1.12.0
func (AnalyticsSolutionPlanArgs) ElementType() reflect.Type
func (AnalyticsSolutionPlanArgs) ToAnalyticsSolutionPlanOutput ¶ added in v1.12.0
func (i AnalyticsSolutionPlanArgs) ToAnalyticsSolutionPlanOutput() AnalyticsSolutionPlanOutput
func (AnalyticsSolutionPlanArgs) ToAnalyticsSolutionPlanOutputWithContext ¶ added in v1.12.0
func (i AnalyticsSolutionPlanArgs) ToAnalyticsSolutionPlanOutputWithContext(ctx context.Context) AnalyticsSolutionPlanOutput
func (AnalyticsSolutionPlanArgs) ToAnalyticsSolutionPlanPtrOutput ¶ added in v1.12.0
func (i AnalyticsSolutionPlanArgs) ToAnalyticsSolutionPlanPtrOutput() AnalyticsSolutionPlanPtrOutput
func (AnalyticsSolutionPlanArgs) ToAnalyticsSolutionPlanPtrOutputWithContext ¶ added in v1.12.0
func (i AnalyticsSolutionPlanArgs) ToAnalyticsSolutionPlanPtrOutputWithContext(ctx context.Context) AnalyticsSolutionPlanPtrOutput
type AnalyticsSolutionPlanInput ¶ added in v1.12.0
type AnalyticsSolutionPlanInput interface { pulumi.Input ToAnalyticsSolutionPlanOutput() AnalyticsSolutionPlanOutput ToAnalyticsSolutionPlanOutputWithContext(context.Context) AnalyticsSolutionPlanOutput }
type AnalyticsSolutionPlanOutput ¶ added in v1.12.0
type AnalyticsSolutionPlanOutput struct{ *pulumi.OutputState }
func (AnalyticsSolutionPlanOutput) ElementType ¶ added in v1.12.0
func (AnalyticsSolutionPlanOutput) ElementType() reflect.Type
func (AnalyticsSolutionPlanOutput) Name ¶ added in v1.12.0
func (o AnalyticsSolutionPlanOutput) Name() pulumi.StringPtrOutput
func (AnalyticsSolutionPlanOutput) Product ¶ added in v1.12.0
func (o AnalyticsSolutionPlanOutput) Product() pulumi.StringOutput
func (AnalyticsSolutionPlanOutput) PromotionCode ¶ added in v1.12.0
func (o AnalyticsSolutionPlanOutput) PromotionCode() pulumi.StringPtrOutput
func (AnalyticsSolutionPlanOutput) Publisher ¶ added in v1.12.0
func (o AnalyticsSolutionPlanOutput) Publisher() pulumi.StringOutput
func (AnalyticsSolutionPlanOutput) ToAnalyticsSolutionPlanOutput ¶ added in v1.12.0
func (o AnalyticsSolutionPlanOutput) ToAnalyticsSolutionPlanOutput() AnalyticsSolutionPlanOutput
func (AnalyticsSolutionPlanOutput) ToAnalyticsSolutionPlanOutputWithContext ¶ added in v1.12.0
func (o AnalyticsSolutionPlanOutput) ToAnalyticsSolutionPlanOutputWithContext(ctx context.Context) AnalyticsSolutionPlanOutput
func (AnalyticsSolutionPlanOutput) ToAnalyticsSolutionPlanPtrOutput ¶ added in v1.12.0
func (o AnalyticsSolutionPlanOutput) ToAnalyticsSolutionPlanPtrOutput() AnalyticsSolutionPlanPtrOutput
func (AnalyticsSolutionPlanOutput) ToAnalyticsSolutionPlanPtrOutputWithContext ¶ added in v1.12.0
func (o AnalyticsSolutionPlanOutput) ToAnalyticsSolutionPlanPtrOutputWithContext(ctx context.Context) AnalyticsSolutionPlanPtrOutput
type AnalyticsSolutionPlanPtrInput ¶ added in v1.12.0
type AnalyticsSolutionPlanPtrInput interface { pulumi.Input ToAnalyticsSolutionPlanPtrOutput() AnalyticsSolutionPlanPtrOutput ToAnalyticsSolutionPlanPtrOutputWithContext(context.Context) AnalyticsSolutionPlanPtrOutput }
func AnalyticsSolutionPlanPtr ¶ added in v1.12.0
func AnalyticsSolutionPlanPtr(v *AnalyticsSolutionPlanArgs) AnalyticsSolutionPlanPtrInput
type AnalyticsSolutionPlanPtrOutput ¶ added in v1.12.0
type AnalyticsSolutionPlanPtrOutput struct{ *pulumi.OutputState }
func (AnalyticsSolutionPlanPtrOutput) Elem ¶ added in v1.12.0
func (o AnalyticsSolutionPlanPtrOutput) Elem() AnalyticsSolutionPlanOutput
func (AnalyticsSolutionPlanPtrOutput) ElementType ¶ added in v1.12.0
func (AnalyticsSolutionPlanPtrOutput) ElementType() reflect.Type
func (AnalyticsSolutionPlanPtrOutput) Name ¶ added in v1.12.0
func (o AnalyticsSolutionPlanPtrOutput) Name() pulumi.StringPtrOutput
func (AnalyticsSolutionPlanPtrOutput) Product ¶ added in v1.12.0
func (o AnalyticsSolutionPlanPtrOutput) Product() pulumi.StringOutput
func (AnalyticsSolutionPlanPtrOutput) PromotionCode ¶ added in v1.12.0
func (o AnalyticsSolutionPlanPtrOutput) PromotionCode() pulumi.StringPtrOutput
func (AnalyticsSolutionPlanPtrOutput) Publisher ¶ added in v1.12.0
func (o AnalyticsSolutionPlanPtrOutput) Publisher() pulumi.StringOutput
func (AnalyticsSolutionPlanPtrOutput) ToAnalyticsSolutionPlanPtrOutput ¶ added in v1.12.0
func (o AnalyticsSolutionPlanPtrOutput) ToAnalyticsSolutionPlanPtrOutput() AnalyticsSolutionPlanPtrOutput
func (AnalyticsSolutionPlanPtrOutput) ToAnalyticsSolutionPlanPtrOutputWithContext ¶ added in v1.12.0
func (o AnalyticsSolutionPlanPtrOutput) ToAnalyticsSolutionPlanPtrOutputWithContext(ctx context.Context) AnalyticsSolutionPlanPtrOutput
type AnalyticsSolutionState ¶
type AnalyticsSolutionState struct { // Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created. Location pulumi.StringPtrInput // A `plan` block as documented below. Plan AnalyticsSolutionPlanPtrInput // 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 pulumi.StringPtrInput // 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 pulumi.StringPtrInput // 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 pulumi.StringPtrInput // 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 pulumi.StringPtrInput }
func (AnalyticsSolutionState) ElementType ¶ added in v1.12.0
func (AnalyticsSolutionState) ElementType() reflect.Type
type AnalyticsWorkspace ¶
type AnalyticsWorkspace struct { pulumi.CustomResourceState // Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created. Location pulumi.StringOutput `pulumi:"location"` // 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 pulumi.StringOutput `pulumi:"name"` // The Portal URL for the Log Analytics Workspace. PortalUrl pulumi.StringOutput `pulumi:"portalUrl"` PrimarySharedKey pulumi.StringOutput `pulumi:"primarySharedKey"` // The name of the resource group in which the Log Analytics workspace is created. Changing this forces a new resource to be created. ResourceGroupName pulumi.StringOutput `pulumi:"resourceGroupName"` // The workspace data retention in days. Possible values range between 30 and 730. RetentionInDays pulumi.IntOutput `pulumi:"retentionInDays"` SecondarySharedKey pulumi.StringOutput `pulumi:"secondarySharedKey"` // 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 pulumi.StringOutput `pulumi:"sku"` // A mapping of tags to assign to the resource. Tags pulumi.StringMapOutput `pulumi:"tags"` // The Workspace (or Customer) ID for the Log Analytics Workspace. WorkspaceId pulumi.StringOutput `pulumi:"workspaceId"` }
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.IDInput, state *AnalyticsWorkspaceState, opts ...pulumi.ResourceOption) (*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.ResourceOption) (*AnalyticsWorkspace, error)
NewAnalyticsWorkspace registers a new resource with the given unique name, arguments, and options.
type AnalyticsWorkspaceArgs ¶
type AnalyticsWorkspaceArgs struct { // Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created. Location pulumi.StringPtrInput // 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 pulumi.StringPtrInput // The name of the resource group in which the Log Analytics workspace is created. Changing this forces a new resource to be created. ResourceGroupName pulumi.StringInput // The workspace data retention in days. Possible values range between 30 and 730. RetentionInDays pulumi.IntPtrInput // 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 pulumi.StringInput // A mapping of tags to assign to the resource. Tags pulumi.StringMapInput }
The set of arguments for constructing a AnalyticsWorkspace resource.
func (AnalyticsWorkspaceArgs) ElementType ¶ added in v1.12.0
func (AnalyticsWorkspaceArgs) ElementType() reflect.Type
type AnalyticsWorkspaceLinkedService ¶ added in v0.16.5
type AnalyticsWorkspaceLinkedService struct { pulumi.CustomResourceState // Name of the type of linkedServices resource to connect to the Log Analytics Workspace specified in `workspaceName`. Currently it defaults to and only supports `automation` as a value. Changing this forces a new resource to be created. LinkedServiceName pulumi.StringPtrOutput `pulumi:"linkedServiceName"` // A `linkedServiceProperties` block as defined below. LinkedServiceProperties AnalyticsWorkspaceLinkedServiceLinkedServicePropertiesOutput `pulumi:"linkedServiceProperties"` // 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 pulumi.StringOutput `pulumi:"name"` // 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 pulumi.StringOutput `pulumi:"resourceGroupName"` // The resource id of the resource that will be linked to the workspace. This field has been deprecated in favour of the top-level `resourceId` field and will be removed in v2.0 of the AzureRM Provider. ResourceId pulumi.StringOutput `pulumi:"resourceId"` // A mapping of tags to assign to the resource. Tags pulumi.StringMapOutput `pulumi:"tags"` // Name of the Log Analytics Workspace that will contain the linkedServices resource. Changing this forces a new resource to be created. WorkspaceName pulumi.StringOutput `pulumi:"workspaceName"` }
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 `loganalytics.LinkedService` 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.IDInput, state *AnalyticsWorkspaceLinkedServiceState, opts ...pulumi.ResourceOption) (*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.ResourceOption) (*AnalyticsWorkspaceLinkedService, error)
NewAnalyticsWorkspaceLinkedService registers a new resource with the given unique name, arguments, and options.
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 `workspaceName`. Currently it defaults to and only supports `automation` as a value. Changing this forces a new resource to be created. LinkedServiceName pulumi.StringPtrInput // A `linkedServiceProperties` block as defined below. LinkedServiceProperties AnalyticsWorkspaceLinkedServiceLinkedServicePropertiesPtrInput // 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 pulumi.StringInput // The resource id of the resource that will be linked to the workspace. This field has been deprecated in favour of the top-level `resourceId` field and will be removed in v2.0 of the AzureRM Provider. ResourceId pulumi.StringPtrInput // A mapping of tags to assign to the resource. Tags pulumi.StringMapInput // Name of the Log Analytics Workspace that will contain the linkedServices resource. Changing this forces a new resource to be created. WorkspaceName pulumi.StringInput }
The set of arguments for constructing a AnalyticsWorkspaceLinkedService resource.
func (AnalyticsWorkspaceLinkedServiceArgs) ElementType ¶ added in v1.12.0
func (AnalyticsWorkspaceLinkedServiceArgs) ElementType() reflect.Type
type AnalyticsWorkspaceLinkedServiceLinkedServiceProperties ¶ added in v1.12.0
type AnalyticsWorkspaceLinkedServiceLinkedServiceProperties struct { // The resource id of the resource that will be linked to the workspace. This field has been deprecated in favour of the top-level `resourceId` field and will be removed in v2.0 of the AzureRM Provider. ResourceId string `pulumi:"resourceId"` }
type AnalyticsWorkspaceLinkedServiceLinkedServicePropertiesArgs ¶ added in v1.12.0
type AnalyticsWorkspaceLinkedServiceLinkedServicePropertiesArgs struct { // The resource id of the resource that will be linked to the workspace. This field has been deprecated in favour of the top-level `resourceId` field and will be removed in v2.0 of the AzureRM Provider. ResourceId pulumi.StringInput `pulumi:"resourceId"` }
func (AnalyticsWorkspaceLinkedServiceLinkedServicePropertiesArgs) ElementType ¶ added in v1.12.0
func (AnalyticsWorkspaceLinkedServiceLinkedServicePropertiesArgs) ElementType() reflect.Type
func (AnalyticsWorkspaceLinkedServiceLinkedServicePropertiesArgs) ToAnalyticsWorkspaceLinkedServiceLinkedServicePropertiesOutput ¶ added in v1.12.0
func (i AnalyticsWorkspaceLinkedServiceLinkedServicePropertiesArgs) ToAnalyticsWorkspaceLinkedServiceLinkedServicePropertiesOutput() AnalyticsWorkspaceLinkedServiceLinkedServicePropertiesOutput
func (AnalyticsWorkspaceLinkedServiceLinkedServicePropertiesArgs) ToAnalyticsWorkspaceLinkedServiceLinkedServicePropertiesOutputWithContext ¶ added in v1.12.0
func (i AnalyticsWorkspaceLinkedServiceLinkedServicePropertiesArgs) ToAnalyticsWorkspaceLinkedServiceLinkedServicePropertiesOutputWithContext(ctx context.Context) AnalyticsWorkspaceLinkedServiceLinkedServicePropertiesOutput
func (AnalyticsWorkspaceLinkedServiceLinkedServicePropertiesArgs) ToAnalyticsWorkspaceLinkedServiceLinkedServicePropertiesPtrOutput ¶ added in v1.12.0
func (i AnalyticsWorkspaceLinkedServiceLinkedServicePropertiesArgs) ToAnalyticsWorkspaceLinkedServiceLinkedServicePropertiesPtrOutput() AnalyticsWorkspaceLinkedServiceLinkedServicePropertiesPtrOutput
func (AnalyticsWorkspaceLinkedServiceLinkedServicePropertiesArgs) ToAnalyticsWorkspaceLinkedServiceLinkedServicePropertiesPtrOutputWithContext ¶ added in v1.12.0
func (i AnalyticsWorkspaceLinkedServiceLinkedServicePropertiesArgs) ToAnalyticsWorkspaceLinkedServiceLinkedServicePropertiesPtrOutputWithContext(ctx context.Context) AnalyticsWorkspaceLinkedServiceLinkedServicePropertiesPtrOutput
type AnalyticsWorkspaceLinkedServiceLinkedServicePropertiesInput ¶ added in v1.12.0
type AnalyticsWorkspaceLinkedServiceLinkedServicePropertiesInput interface { pulumi.Input ToAnalyticsWorkspaceLinkedServiceLinkedServicePropertiesOutput() AnalyticsWorkspaceLinkedServiceLinkedServicePropertiesOutput ToAnalyticsWorkspaceLinkedServiceLinkedServicePropertiesOutputWithContext(context.Context) AnalyticsWorkspaceLinkedServiceLinkedServicePropertiesOutput }
type AnalyticsWorkspaceLinkedServiceLinkedServicePropertiesOutput ¶ added in v1.12.0
type AnalyticsWorkspaceLinkedServiceLinkedServicePropertiesOutput struct{ *pulumi.OutputState }
func (AnalyticsWorkspaceLinkedServiceLinkedServicePropertiesOutput) ElementType ¶ added in v1.12.0
func (AnalyticsWorkspaceLinkedServiceLinkedServicePropertiesOutput) ElementType() reflect.Type
func (AnalyticsWorkspaceLinkedServiceLinkedServicePropertiesOutput) ResourceId ¶ added in v1.12.0
func (o AnalyticsWorkspaceLinkedServiceLinkedServicePropertiesOutput) ResourceId() pulumi.StringOutput
The resource id of the resource that will be linked to the workspace. This field has been deprecated in favour of the top-level `resourceId` field and will be removed in v2.0 of the AzureRM Provider.
func (AnalyticsWorkspaceLinkedServiceLinkedServicePropertiesOutput) ToAnalyticsWorkspaceLinkedServiceLinkedServicePropertiesOutput ¶ added in v1.12.0
func (o AnalyticsWorkspaceLinkedServiceLinkedServicePropertiesOutput) ToAnalyticsWorkspaceLinkedServiceLinkedServicePropertiesOutput() AnalyticsWorkspaceLinkedServiceLinkedServicePropertiesOutput
func (AnalyticsWorkspaceLinkedServiceLinkedServicePropertiesOutput) ToAnalyticsWorkspaceLinkedServiceLinkedServicePropertiesOutputWithContext ¶ added in v1.12.0
func (o AnalyticsWorkspaceLinkedServiceLinkedServicePropertiesOutput) ToAnalyticsWorkspaceLinkedServiceLinkedServicePropertiesOutputWithContext(ctx context.Context) AnalyticsWorkspaceLinkedServiceLinkedServicePropertiesOutput
func (AnalyticsWorkspaceLinkedServiceLinkedServicePropertiesOutput) ToAnalyticsWorkspaceLinkedServiceLinkedServicePropertiesPtrOutput ¶ added in v1.12.0
func (o AnalyticsWorkspaceLinkedServiceLinkedServicePropertiesOutput) ToAnalyticsWorkspaceLinkedServiceLinkedServicePropertiesPtrOutput() AnalyticsWorkspaceLinkedServiceLinkedServicePropertiesPtrOutput
func (AnalyticsWorkspaceLinkedServiceLinkedServicePropertiesOutput) ToAnalyticsWorkspaceLinkedServiceLinkedServicePropertiesPtrOutputWithContext ¶ added in v1.12.0
func (o AnalyticsWorkspaceLinkedServiceLinkedServicePropertiesOutput) ToAnalyticsWorkspaceLinkedServiceLinkedServicePropertiesPtrOutputWithContext(ctx context.Context) AnalyticsWorkspaceLinkedServiceLinkedServicePropertiesPtrOutput
type AnalyticsWorkspaceLinkedServiceLinkedServicePropertiesPtrInput ¶ added in v1.12.0
type AnalyticsWorkspaceLinkedServiceLinkedServicePropertiesPtrInput interface { pulumi.Input ToAnalyticsWorkspaceLinkedServiceLinkedServicePropertiesPtrOutput() AnalyticsWorkspaceLinkedServiceLinkedServicePropertiesPtrOutput ToAnalyticsWorkspaceLinkedServiceLinkedServicePropertiesPtrOutputWithContext(context.Context) AnalyticsWorkspaceLinkedServiceLinkedServicePropertiesPtrOutput }
func AnalyticsWorkspaceLinkedServiceLinkedServicePropertiesPtr ¶ added in v1.12.0
func AnalyticsWorkspaceLinkedServiceLinkedServicePropertiesPtr(v *AnalyticsWorkspaceLinkedServiceLinkedServicePropertiesArgs) AnalyticsWorkspaceLinkedServiceLinkedServicePropertiesPtrInput
type AnalyticsWorkspaceLinkedServiceLinkedServicePropertiesPtrOutput ¶ added in v1.12.0
type AnalyticsWorkspaceLinkedServiceLinkedServicePropertiesPtrOutput struct{ *pulumi.OutputState }
func (AnalyticsWorkspaceLinkedServiceLinkedServicePropertiesPtrOutput) ElementType ¶ added in v1.12.0
func (AnalyticsWorkspaceLinkedServiceLinkedServicePropertiesPtrOutput) ElementType() reflect.Type
func (AnalyticsWorkspaceLinkedServiceLinkedServicePropertiesPtrOutput) ResourceId ¶ added in v1.12.0
func (o AnalyticsWorkspaceLinkedServiceLinkedServicePropertiesPtrOutput) ResourceId() pulumi.StringOutput
The resource id of the resource that will be linked to the workspace. This field has been deprecated in favour of the top-level `resourceId` field and will be removed in v2.0 of the AzureRM Provider.
func (AnalyticsWorkspaceLinkedServiceLinkedServicePropertiesPtrOutput) ToAnalyticsWorkspaceLinkedServiceLinkedServicePropertiesPtrOutput ¶ added in v1.12.0
func (o AnalyticsWorkspaceLinkedServiceLinkedServicePropertiesPtrOutput) ToAnalyticsWorkspaceLinkedServiceLinkedServicePropertiesPtrOutput() AnalyticsWorkspaceLinkedServiceLinkedServicePropertiesPtrOutput
func (AnalyticsWorkspaceLinkedServiceLinkedServicePropertiesPtrOutput) ToAnalyticsWorkspaceLinkedServiceLinkedServicePropertiesPtrOutputWithContext ¶ added in v1.12.0
func (o AnalyticsWorkspaceLinkedServiceLinkedServicePropertiesPtrOutput) ToAnalyticsWorkspaceLinkedServiceLinkedServicePropertiesPtrOutputWithContext(ctx context.Context) AnalyticsWorkspaceLinkedServiceLinkedServicePropertiesPtrOutput
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 `workspaceName`. Currently it defaults to and only supports `automation` as a value. Changing this forces a new resource to be created. LinkedServiceName pulumi.StringPtrInput // A `linkedServiceProperties` block as defined below. LinkedServiceProperties AnalyticsWorkspaceLinkedServiceLinkedServicePropertiesPtrInput // 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 pulumi.StringPtrInput // 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 pulumi.StringPtrInput // The resource id of the resource that will be linked to the workspace. This field has been deprecated in favour of the top-level `resourceId` field and will be removed in v2.0 of the AzureRM Provider. ResourceId pulumi.StringPtrInput // A mapping of tags to assign to the resource. Tags pulumi.StringMapInput // Name of the Log Analytics Workspace that will contain the linkedServices resource. Changing this forces a new resource to be created. WorkspaceName pulumi.StringPtrInput }
func (AnalyticsWorkspaceLinkedServiceState) ElementType ¶ added in v1.12.0
func (AnalyticsWorkspaceLinkedServiceState) ElementType() reflect.Type
type AnalyticsWorkspaceState ¶
type AnalyticsWorkspaceState struct { // Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created. Location pulumi.StringPtrInput // 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 pulumi.StringPtrInput // The Portal URL for the Log Analytics Workspace. PortalUrl pulumi.StringPtrInput PrimarySharedKey pulumi.StringPtrInput // The name of the resource group in which the Log Analytics workspace is created. Changing this forces a new resource to be created. ResourceGroupName pulumi.StringPtrInput // The workspace data retention in days. Possible values range between 30 and 730. RetentionInDays pulumi.IntPtrInput SecondarySharedKey pulumi.StringPtrInput // 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 pulumi.StringPtrInput // A mapping of tags to assign to the resource. Tags pulumi.StringMapInput // The Workspace (or Customer) ID for the Log Analytics Workspace. WorkspaceId pulumi.StringPtrInput }
func (AnalyticsWorkspaceState) ElementType ¶ added in v1.12.0
func (AnalyticsWorkspaceState) ElementType() reflect.Type
type LookupAnalyticsWorkspaceArgs ¶ added in v1.12.0
type LookupAnalyticsWorkspaceArgs struct { // Specifies the name of the Log Analytics Workspace. Name string `pulumi:"name"` // The name of the resource group in which the Log Analytics workspace is located in. ResourceGroupName string `pulumi:"resourceGroupName"` }
A collection of arguments for invoking getAnalyticsWorkspace.
type LookupAnalyticsWorkspaceResult ¶ added in v1.12.0
type LookupAnalyticsWorkspaceResult struct { // id is the provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` Location string `pulumi:"location"` Name string `pulumi:"name"` // The Portal URL for the Log Analytics Workspace. PortalUrl string `pulumi:"portalUrl"` // The Primary shared key for the Log Analytics Workspace. ResourceGroupName string `pulumi:"resourceGroupName"` // The workspace data retention in days. RetentionInDays int `pulumi:"retentionInDays"` SecondarySharedKey string `pulumi:"secondarySharedKey"` // The Sku of the Log Analytics Workspace. Sku string `pulumi:"sku"` // A mapping of tags assigned to the resource. Tags map[string]string `pulumi:"tags"` // The Workspace (or Customer) ID for the Log Analytics Workspace. WorkspaceId string `pulumi:"workspaceId"` }
A collection of values returned by getAnalyticsWorkspace.
func LookupAnalyticsWorkspace ¶ added in v0.15.2
func LookupAnalyticsWorkspace(ctx *pulumi.Context, args *LookupAnalyticsWorkspaceArgs, opts ...pulumi.InvokeOption) (*LookupAnalyticsWorkspaceResult, 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.