Documentation ¶
Overview ¶
nolint: lll Package loganalytics exports types, functions, subpackages for provisioning loganalytics 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 ¶
- type LinkedService
- func (r *LinkedService) ID() *pulumi.IDOutput
- func (r *LinkedService) LinkedServiceName() *pulumi.StringOutput
- func (r *LinkedService) LinkedServiceProperties() *pulumi.ArrayOutput
- func (r *LinkedService) Name() *pulumi.StringOutput
- func (r *LinkedService) ResourceGroupName() *pulumi.StringOutput
- func (r *LinkedService) ResourceId() *pulumi.StringOutput
- func (r *LinkedService) Tags() *pulumi.MapOutput
- func (r *LinkedService) URN() *pulumi.URNOutput
- func (r *LinkedService) WorkspaceName() *pulumi.StringOutput
- type LinkedServiceArgs
- type LinkedServiceState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LinkedService ¶
type LinkedService 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.
> This content is derived from https://github.com/terraform-providers/terraform-provider-azurerm/blob/master/website/docs/r/log_analytics_linked_service.html.markdown.
func GetLinkedService ¶
func GetLinkedService(ctx *pulumi.Context, name string, id pulumi.ID, state *LinkedServiceState, opts ...pulumi.ResourceOpt) (*LinkedService, error)
GetLinkedService gets an existing LinkedService 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 NewLinkedService ¶
func NewLinkedService(ctx *pulumi.Context, name string, args *LinkedServiceArgs, opts ...pulumi.ResourceOpt) (*LinkedService, error)
NewLinkedService registers a new resource with the given unique name, arguments, and options.
func (*LinkedService) ID ¶
func (r *LinkedService) ID() *pulumi.IDOutput
ID is this resource's unique identifier assigned by its provider.
func (*LinkedService) LinkedServiceName ¶
func (r *LinkedService) LinkedServiceName() *pulumi.StringOutput
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.
func (*LinkedService) LinkedServiceProperties ¶
func (r *LinkedService) LinkedServiceProperties() *pulumi.ArrayOutput
A `linkedServiceProperties` block as defined below.
func (*LinkedService) Name ¶
func (r *LinkedService) Name() *pulumi.StringOutput
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 (*LinkedService) ResourceGroupName ¶
func (r *LinkedService) 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 (*LinkedService) ResourceId ¶
func (r *LinkedService) 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 (*LinkedService) Tags ¶
func (r *LinkedService) Tags() *pulumi.MapOutput
A mapping of tags to assign to the resource.
func (*LinkedService) URN ¶
func (r *LinkedService) URN() *pulumi.URNOutput
URN is this resource's unique name assigned by Pulumi.
func (*LinkedService) WorkspaceName ¶
func (r *LinkedService) WorkspaceName() *pulumi.StringOutput
Name of the Log Analytics Workspace that will contain the linkedServices resource. Changing this forces a new resource to be created.
type LinkedServiceArgs ¶
type LinkedServiceArgs 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 interface{} // A `linkedServiceProperties` 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 `resourceId` 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 LinkedService resource.
type LinkedServiceState ¶
type LinkedServiceState 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 interface{} // A `linkedServiceProperties` 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 `resourceId` 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 LinkedService resources.