We recommend using Azure Native.
azure.monitoring.LogzMonitor
Explore with Pulumi AI
Manages a logz Monitor.
!> Note: Logz REST API is being deprecated by Azure and new resources cannot be created. This resource will be removed in version 4.0 of the provider.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as azure from "@pulumi/azure";
const example = new azure.core.ResourceGroup("example", {
name: "example-logz",
location: "West Europe",
});
const exampleLogzMonitor = new azure.monitoring.LogzMonitor("example", {
name: "example-monitor",
resourceGroupName: example.name,
location: example.location,
plan: {
billingCycle: "MONTHLY",
effectiveDate: "2022-06-06T00:00:00Z",
usageType: "COMMITTED",
},
user: {
email: "user@example.com",
firstName: "Example",
lastName: "User",
phoneNumber: "+12313803556",
},
});
import pulumi
import pulumi_azure as azure
example = azure.core.ResourceGroup("example",
name="example-logz",
location="West Europe")
example_logz_monitor = azure.monitoring.LogzMonitor("example",
name="example-monitor",
resource_group_name=example.name,
location=example.location,
plan=azure.monitoring.LogzMonitorPlanArgs(
billing_cycle="MONTHLY",
effective_date="2022-06-06T00:00:00Z",
usage_type="COMMITTED",
),
user=azure.monitoring.LogzMonitorUserArgs(
email="user@example.com",
first_name="Example",
last_name="User",
phone_number="+12313803556",
))
package main
import (
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/core"
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/monitoring"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
example, err := core.NewResourceGroup(ctx, "example", &core.ResourceGroupArgs{
Name: pulumi.String("example-logz"),
Location: pulumi.String("West Europe"),
})
if err != nil {
return err
}
_, err = monitoring.NewLogzMonitor(ctx, "example", &monitoring.LogzMonitorArgs{
Name: pulumi.String("example-monitor"),
ResourceGroupName: example.Name,
Location: example.Location,
Plan: &monitoring.LogzMonitorPlanArgs{
BillingCycle: pulumi.String("MONTHLY"),
EffectiveDate: pulumi.String("2022-06-06T00:00:00Z"),
UsageType: pulumi.String("COMMITTED"),
},
User: &monitoring.LogzMonitorUserArgs{
Email: pulumi.String("user@example.com"),
FirstName: pulumi.String("Example"),
LastName: pulumi.String("User"),
PhoneNumber: pulumi.String("+12313803556"),
},
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Azure = Pulumi.Azure;
return await Deployment.RunAsync(() =>
{
var example = new Azure.Core.ResourceGroup("example", new()
{
Name = "example-logz",
Location = "West Europe",
});
var exampleLogzMonitor = new Azure.Monitoring.LogzMonitor("example", new()
{
Name = "example-monitor",
ResourceGroupName = example.Name,
Location = example.Location,
Plan = new Azure.Monitoring.Inputs.LogzMonitorPlanArgs
{
BillingCycle = "MONTHLY",
EffectiveDate = "2022-06-06T00:00:00Z",
UsageType = "COMMITTED",
},
User = new Azure.Monitoring.Inputs.LogzMonitorUserArgs
{
Email = "user@example.com",
FirstName = "Example",
LastName = "User",
PhoneNumber = "+12313803556",
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azure.core.ResourceGroup;
import com.pulumi.azure.core.ResourceGroupArgs;
import com.pulumi.azure.monitoring.LogzMonitor;
import com.pulumi.azure.monitoring.LogzMonitorArgs;
import com.pulumi.azure.monitoring.inputs.LogzMonitorPlanArgs;
import com.pulumi.azure.monitoring.inputs.LogzMonitorUserArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var example = new ResourceGroup("example", ResourceGroupArgs.builder()
.name("example-logz")
.location("West Europe")
.build());
var exampleLogzMonitor = new LogzMonitor("exampleLogzMonitor", LogzMonitorArgs.builder()
.name("example-monitor")
.resourceGroupName(example.name())
.location(example.location())
.plan(LogzMonitorPlanArgs.builder()
.billingCycle("MONTHLY")
.effectiveDate("2022-06-06T00:00:00Z")
.usageType("COMMITTED")
.build())
.user(LogzMonitorUserArgs.builder()
.email("user@example.com")
.firstName("Example")
.lastName("User")
.phoneNumber("+12313803556")
.build())
.build());
}
}
resources:
example:
type: azure:core:ResourceGroup
properties:
name: example-logz
location: West Europe
exampleLogzMonitor:
type: azure:monitoring:LogzMonitor
name: example
properties:
name: example-monitor
resourceGroupName: ${example.name}
location: ${example.location}
plan:
billingCycle: MONTHLY
effectiveDate: 2022-06-06T00:00:00Z
usageType: COMMITTED
user:
email: user@example.com
firstName: Example
lastName: User
phoneNumber: '+12313803556'
Create LogzMonitor Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new LogzMonitor(name: string, args: LogzMonitorArgs, opts?: CustomResourceOptions);
@overload
def LogzMonitor(resource_name: str,
args: LogzMonitorArgs,
opts: Optional[ResourceOptions] = None)
@overload
def LogzMonitor(resource_name: str,
opts: Optional[ResourceOptions] = None,
plan: Optional[LogzMonitorPlanArgs] = None,
resource_group_name: Optional[str] = None,
user: Optional[LogzMonitorUserArgs] = None,
company_name: Optional[str] = None,
enabled: Optional[bool] = None,
enterprise_app_id: Optional[str] = None,
location: Optional[str] = None,
name: Optional[str] = None,
tags: Optional[Mapping[str, str]] = None)
func NewLogzMonitor(ctx *Context, name string, args LogzMonitorArgs, opts ...ResourceOption) (*LogzMonitor, error)
public LogzMonitor(string name, LogzMonitorArgs args, CustomResourceOptions? opts = null)
public LogzMonitor(String name, LogzMonitorArgs args)
public LogzMonitor(String name, LogzMonitorArgs args, CustomResourceOptions options)
type: azure:monitoring:LogzMonitor
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args LogzMonitorArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args LogzMonitorArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args LogzMonitorArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args LogzMonitorArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args LogzMonitorArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var logzMonitorResource = new Azure.Monitoring.LogzMonitor("logzMonitorResource", new()
{
Plan = new Azure.Monitoring.Inputs.LogzMonitorPlanArgs
{
BillingCycle = "string",
EffectiveDate = "string",
UsageType = "string",
PlanId = "string",
},
ResourceGroupName = "string",
User = new Azure.Monitoring.Inputs.LogzMonitorUserArgs
{
Email = "string",
FirstName = "string",
LastName = "string",
PhoneNumber = "string",
},
CompanyName = "string",
Enabled = false,
EnterpriseAppId = "string",
Location = "string",
Name = "string",
Tags =
{
{ "string", "string" },
},
});
example, err := monitoring.NewLogzMonitor(ctx, "logzMonitorResource", &monitoring.LogzMonitorArgs{
Plan: &monitoring.LogzMonitorPlanArgs{
BillingCycle: pulumi.String("string"),
EffectiveDate: pulumi.String("string"),
UsageType: pulumi.String("string"),
PlanId: pulumi.String("string"),
},
ResourceGroupName: pulumi.String("string"),
User: &monitoring.LogzMonitorUserArgs{
Email: pulumi.String("string"),
FirstName: pulumi.String("string"),
LastName: pulumi.String("string"),
PhoneNumber: pulumi.String("string"),
},
CompanyName: pulumi.String("string"),
Enabled: pulumi.Bool(false),
EnterpriseAppId: pulumi.String("string"),
Location: pulumi.String("string"),
Name: pulumi.String("string"),
Tags: pulumi.StringMap{
"string": pulumi.String("string"),
},
})
var logzMonitorResource = new LogzMonitor("logzMonitorResource", LogzMonitorArgs.builder()
.plan(LogzMonitorPlanArgs.builder()
.billingCycle("string")
.effectiveDate("string")
.usageType("string")
.planId("string")
.build())
.resourceGroupName("string")
.user(LogzMonitorUserArgs.builder()
.email("string")
.firstName("string")
.lastName("string")
.phoneNumber("string")
.build())
.companyName("string")
.enabled(false)
.enterpriseAppId("string")
.location("string")
.name("string")
.tags(Map.of("string", "string"))
.build());
logz_monitor_resource = azure.monitoring.LogzMonitor("logzMonitorResource",
plan=azure.monitoring.LogzMonitorPlanArgs(
billing_cycle="string",
effective_date="string",
usage_type="string",
plan_id="string",
),
resource_group_name="string",
user=azure.monitoring.LogzMonitorUserArgs(
email="string",
first_name="string",
last_name="string",
phone_number="string",
),
company_name="string",
enabled=False,
enterprise_app_id="string",
location="string",
name="string",
tags={
"string": "string",
})
const logzMonitorResource = new azure.monitoring.LogzMonitor("logzMonitorResource", {
plan: {
billingCycle: "string",
effectiveDate: "string",
usageType: "string",
planId: "string",
},
resourceGroupName: "string",
user: {
email: "string",
firstName: "string",
lastName: "string",
phoneNumber: "string",
},
companyName: "string",
enabled: false,
enterpriseAppId: "string",
location: "string",
name: "string",
tags: {
string: "string",
},
});
type: azure:monitoring:LogzMonitor
properties:
companyName: string
enabled: false
enterpriseAppId: string
location: string
name: string
plan:
billingCycle: string
effectiveDate: string
planId: string
usageType: string
resourceGroupName: string
tags:
string: string
user:
email: string
firstName: string
lastName: string
phoneNumber: string
LogzMonitor Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
The LogzMonitor resource accepts the following input properties:
- Plan
Logz
Monitor Plan - A
plan
block as defined below. Changing this forces a new resource to be created. - Resource
Group stringName - The name of the Resource Group where the logz Monitor should exist. Changing this forces a new logz Monitor to be created.
- User
Logz
Monitor User - A
user
block as defined below. Changing this forces a new resource to be created. - Company
Name string - Name of the Logz organization. Changing this forces a new logz Monitor to be created.
- Enabled bool
- Whether the resource monitoring is enabled? Defaults to
true
. - Enterprise
App stringId The ID of the Enterprise App. Changing this forces a new logz Monitor to be created.
NOTE Please follow Set up Logz.io single sign-on to create the ID of the Enterprise App.
- Location string
- The Azure Region where the logz Monitor should exist. Changing this forces a new logz Monitor to be created.
- Name string
- The name which should be used for this logz Monitor. Changing this forces a new logz Monitor to be created.
- Dictionary<string, string>
- A mapping of tags which should be assigned to the logz Monitor.
- Plan
Logz
Monitor Plan Args - A
plan
block as defined below. Changing this forces a new resource to be created. - Resource
Group stringName - The name of the Resource Group where the logz Monitor should exist. Changing this forces a new logz Monitor to be created.
- User
Logz
Monitor User Args - A
user
block as defined below. Changing this forces a new resource to be created. - Company
Name string - Name of the Logz organization. Changing this forces a new logz Monitor to be created.
- Enabled bool
- Whether the resource monitoring is enabled? Defaults to
true
. - Enterprise
App stringId The ID of the Enterprise App. Changing this forces a new logz Monitor to be created.
NOTE Please follow Set up Logz.io single sign-on to create the ID of the Enterprise App.
- Location string
- The Azure Region where the logz Monitor should exist. Changing this forces a new logz Monitor to be created.
- Name string
- The name which should be used for this logz Monitor. Changing this forces a new logz Monitor to be created.
- map[string]string
- A mapping of tags which should be assigned to the logz Monitor.
- plan
Logz
Monitor Plan - A
plan
block as defined below. Changing this forces a new resource to be created. - resource
Group StringName - The name of the Resource Group where the logz Monitor should exist. Changing this forces a new logz Monitor to be created.
- user
Logz
Monitor User - A
user
block as defined below. Changing this forces a new resource to be created. - company
Name String - Name of the Logz organization. Changing this forces a new logz Monitor to be created.
- enabled Boolean
- Whether the resource monitoring is enabled? Defaults to
true
. - enterprise
App StringId The ID of the Enterprise App. Changing this forces a new logz Monitor to be created.
NOTE Please follow Set up Logz.io single sign-on to create the ID of the Enterprise App.
- location String
- The Azure Region where the logz Monitor should exist. Changing this forces a new logz Monitor to be created.
- name String
- The name which should be used for this logz Monitor. Changing this forces a new logz Monitor to be created.
- Map<String,String>
- A mapping of tags which should be assigned to the logz Monitor.
- plan
Logz
Monitor Plan - A
plan
block as defined below. Changing this forces a new resource to be created. - resource
Group stringName - The name of the Resource Group where the logz Monitor should exist. Changing this forces a new logz Monitor to be created.
- user
Logz
Monitor User - A
user
block as defined below. Changing this forces a new resource to be created. - company
Name string - Name of the Logz organization. Changing this forces a new logz Monitor to be created.
- enabled boolean
- Whether the resource monitoring is enabled? Defaults to
true
. - enterprise
App stringId The ID of the Enterprise App. Changing this forces a new logz Monitor to be created.
NOTE Please follow Set up Logz.io single sign-on to create the ID of the Enterprise App.
- location string
- The Azure Region where the logz Monitor should exist. Changing this forces a new logz Monitor to be created.
- name string
- The name which should be used for this logz Monitor. Changing this forces a new logz Monitor to be created.
- {[key: string]: string}
- A mapping of tags which should be assigned to the logz Monitor.
- plan
Logz
Monitor Plan Args - A
plan
block as defined below. Changing this forces a new resource to be created. - resource_
group_ strname - The name of the Resource Group where the logz Monitor should exist. Changing this forces a new logz Monitor to be created.
- user
Logz
Monitor User Args - A
user
block as defined below. Changing this forces a new resource to be created. - company_
name str - Name of the Logz organization. Changing this forces a new logz Monitor to be created.
- enabled bool
- Whether the resource monitoring is enabled? Defaults to
true
. - enterprise_
app_ strid The ID of the Enterprise App. Changing this forces a new logz Monitor to be created.
NOTE Please follow Set up Logz.io single sign-on to create the ID of the Enterprise App.
- location str
- The Azure Region where the logz Monitor should exist. Changing this forces a new logz Monitor to be created.
- name str
- The name which should be used for this logz Monitor. Changing this forces a new logz Monitor to be created.
- Mapping[str, str]
- A mapping of tags which should be assigned to the logz Monitor.
- plan Property Map
- A
plan
block as defined below. Changing this forces a new resource to be created. - resource
Group StringName - The name of the Resource Group where the logz Monitor should exist. Changing this forces a new logz Monitor to be created.
- user Property Map
- A
user
block as defined below. Changing this forces a new resource to be created. - company
Name String - Name of the Logz organization. Changing this forces a new logz Monitor to be created.
- enabled Boolean
- Whether the resource monitoring is enabled? Defaults to
true
. - enterprise
App StringId The ID of the Enterprise App. Changing this forces a new logz Monitor to be created.
NOTE Please follow Set up Logz.io single sign-on to create the ID of the Enterprise App.
- location String
- The Azure Region where the logz Monitor should exist. Changing this forces a new logz Monitor to be created.
- name String
- The name which should be used for this logz Monitor. Changing this forces a new logz Monitor to be created.
- Map<String>
- A mapping of tags which should be assigned to the logz Monitor.
Outputs
All input properties are implicitly available as output properties. Additionally, the LogzMonitor resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Logz
Organization stringId - The ID associated with the logz organization of this logz Monitor.
- Single
Sign stringOn Url - The single sign on url associated with the logz organization of this logz Monitor.
- Id string
- The provider-assigned unique ID for this managed resource.
- Logz
Organization stringId - The ID associated with the logz organization of this logz Monitor.
- Single
Sign stringOn Url - The single sign on url associated with the logz organization of this logz Monitor.
- id String
- The provider-assigned unique ID for this managed resource.
- logz
Organization StringId - The ID associated with the logz organization of this logz Monitor.
- single
Sign StringOn Url - The single sign on url associated with the logz organization of this logz Monitor.
- id string
- The provider-assigned unique ID for this managed resource.
- logz
Organization stringId - The ID associated with the logz organization of this logz Monitor.
- single
Sign stringOn Url - The single sign on url associated with the logz organization of this logz Monitor.
- id str
- The provider-assigned unique ID for this managed resource.
- logz_
organization_ strid - The ID associated with the logz organization of this logz Monitor.
- single_
sign_ stron_ url - The single sign on url associated with the logz organization of this logz Monitor.
- id String
- The provider-assigned unique ID for this managed resource.
- logz
Organization StringId - The ID associated with the logz organization of this logz Monitor.
- single
Sign StringOn Url - The single sign on url associated with the logz organization of this logz Monitor.
Look up Existing LogzMonitor Resource
Get an existing LogzMonitor resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: LogzMonitorState, opts?: CustomResourceOptions): LogzMonitor
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
company_name: Optional[str] = None,
enabled: Optional[bool] = None,
enterprise_app_id: Optional[str] = None,
location: Optional[str] = None,
logz_organization_id: Optional[str] = None,
name: Optional[str] = None,
plan: Optional[LogzMonitorPlanArgs] = None,
resource_group_name: Optional[str] = None,
single_sign_on_url: Optional[str] = None,
tags: Optional[Mapping[str, str]] = None,
user: Optional[LogzMonitorUserArgs] = None) -> LogzMonitor
func GetLogzMonitor(ctx *Context, name string, id IDInput, state *LogzMonitorState, opts ...ResourceOption) (*LogzMonitor, error)
public static LogzMonitor Get(string name, Input<string> id, LogzMonitorState? state, CustomResourceOptions? opts = null)
public static LogzMonitor get(String name, Output<String> id, LogzMonitorState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Company
Name string - Name of the Logz organization. Changing this forces a new logz Monitor to be created.
- Enabled bool
- Whether the resource monitoring is enabled? Defaults to
true
. - Enterprise
App stringId The ID of the Enterprise App. Changing this forces a new logz Monitor to be created.
NOTE Please follow Set up Logz.io single sign-on to create the ID of the Enterprise App.
- Location string
- The Azure Region where the logz Monitor should exist. Changing this forces a new logz Monitor to be created.
- Logz
Organization stringId - The ID associated with the logz organization of this logz Monitor.
- Name string
- The name which should be used for this logz Monitor. Changing this forces a new logz Monitor to be created.
- Plan
Logz
Monitor Plan - A
plan
block as defined below. Changing this forces a new resource to be created. - Resource
Group stringName - The name of the Resource Group where the logz Monitor should exist. Changing this forces a new logz Monitor to be created.
- Single
Sign stringOn Url - The single sign on url associated with the logz organization of this logz Monitor.
- Dictionary<string, string>
- A mapping of tags which should be assigned to the logz Monitor.
- User
Logz
Monitor User - A
user
block as defined below. Changing this forces a new resource to be created.
- Company
Name string - Name of the Logz organization. Changing this forces a new logz Monitor to be created.
- Enabled bool
- Whether the resource monitoring is enabled? Defaults to
true
. - Enterprise
App stringId The ID of the Enterprise App. Changing this forces a new logz Monitor to be created.
NOTE Please follow Set up Logz.io single sign-on to create the ID of the Enterprise App.
- Location string
- The Azure Region where the logz Monitor should exist. Changing this forces a new logz Monitor to be created.
- Logz
Organization stringId - The ID associated with the logz organization of this logz Monitor.
- Name string
- The name which should be used for this logz Monitor. Changing this forces a new logz Monitor to be created.
- Plan
Logz
Monitor Plan Args - A
plan
block as defined below. Changing this forces a new resource to be created. - Resource
Group stringName - The name of the Resource Group where the logz Monitor should exist. Changing this forces a new logz Monitor to be created.
- Single
Sign stringOn Url - The single sign on url associated with the logz organization of this logz Monitor.
- map[string]string
- A mapping of tags which should be assigned to the logz Monitor.
- User
Logz
Monitor User Args - A
user
block as defined below. Changing this forces a new resource to be created.
- company
Name String - Name of the Logz organization. Changing this forces a new logz Monitor to be created.
- enabled Boolean
- Whether the resource monitoring is enabled? Defaults to
true
. - enterprise
App StringId The ID of the Enterprise App. Changing this forces a new logz Monitor to be created.
NOTE Please follow Set up Logz.io single sign-on to create the ID of the Enterprise App.
- location String
- The Azure Region where the logz Monitor should exist. Changing this forces a new logz Monitor to be created.
- logz
Organization StringId - The ID associated with the logz organization of this logz Monitor.
- name String
- The name which should be used for this logz Monitor. Changing this forces a new logz Monitor to be created.
- plan
Logz
Monitor Plan - A
plan
block as defined below. Changing this forces a new resource to be created. - resource
Group StringName - The name of the Resource Group where the logz Monitor should exist. Changing this forces a new logz Monitor to be created.
- single
Sign StringOn Url - The single sign on url associated with the logz organization of this logz Monitor.
- Map<String,String>
- A mapping of tags which should be assigned to the logz Monitor.
- user
Logz
Monitor User - A
user
block as defined below. Changing this forces a new resource to be created.
- company
Name string - Name of the Logz organization. Changing this forces a new logz Monitor to be created.
- enabled boolean
- Whether the resource monitoring is enabled? Defaults to
true
. - enterprise
App stringId The ID of the Enterprise App. Changing this forces a new logz Monitor to be created.
NOTE Please follow Set up Logz.io single sign-on to create the ID of the Enterprise App.
- location string
- The Azure Region where the logz Monitor should exist. Changing this forces a new logz Monitor to be created.
- logz
Organization stringId - The ID associated with the logz organization of this logz Monitor.
- name string
- The name which should be used for this logz Monitor. Changing this forces a new logz Monitor to be created.
- plan
Logz
Monitor Plan - A
plan
block as defined below. Changing this forces a new resource to be created. - resource
Group stringName - The name of the Resource Group where the logz Monitor should exist. Changing this forces a new logz Monitor to be created.
- single
Sign stringOn Url - The single sign on url associated with the logz organization of this logz Monitor.
- {[key: string]: string}
- A mapping of tags which should be assigned to the logz Monitor.
- user
Logz
Monitor User - A
user
block as defined below. Changing this forces a new resource to be created.
- company_
name str - Name of the Logz organization. Changing this forces a new logz Monitor to be created.
- enabled bool
- Whether the resource monitoring is enabled? Defaults to
true
. - enterprise_
app_ strid The ID of the Enterprise App. Changing this forces a new logz Monitor to be created.
NOTE Please follow Set up Logz.io single sign-on to create the ID of the Enterprise App.
- location str
- The Azure Region where the logz Monitor should exist. Changing this forces a new logz Monitor to be created.
- logz_
organization_ strid - The ID associated with the logz organization of this logz Monitor.
- name str
- The name which should be used for this logz Monitor. Changing this forces a new logz Monitor to be created.
- plan
Logz
Monitor Plan Args - A
plan
block as defined below. Changing this forces a new resource to be created. - resource_
group_ strname - The name of the Resource Group where the logz Monitor should exist. Changing this forces a new logz Monitor to be created.
- single_
sign_ stron_ url - The single sign on url associated with the logz organization of this logz Monitor.
- Mapping[str, str]
- A mapping of tags which should be assigned to the logz Monitor.
- user
Logz
Monitor User Args - A
user
block as defined below. Changing this forces a new resource to be created.
- company
Name String - Name of the Logz organization. Changing this forces a new logz Monitor to be created.
- enabled Boolean
- Whether the resource monitoring is enabled? Defaults to
true
. - enterprise
App StringId The ID of the Enterprise App. Changing this forces a new logz Monitor to be created.
NOTE Please follow Set up Logz.io single sign-on to create the ID of the Enterprise App.
- location String
- The Azure Region where the logz Monitor should exist. Changing this forces a new logz Monitor to be created.
- logz
Organization StringId - The ID associated with the logz organization of this logz Monitor.
- name String
- The name which should be used for this logz Monitor. Changing this forces a new logz Monitor to be created.
- plan Property Map
- A
plan
block as defined below. Changing this forces a new resource to be created. - resource
Group StringName - The name of the Resource Group where the logz Monitor should exist. Changing this forces a new logz Monitor to be created.
- single
Sign StringOn Url - The single sign on url associated with the logz organization of this logz Monitor.
- Map<String>
- A mapping of tags which should be assigned to the logz Monitor.
- user Property Map
- A
user
block as defined below. Changing this forces a new resource to be created.
Supporting Types
LogzMonitorPlan, LogzMonitorPlanArgs
- Billing
Cycle string - Different billing cycles. Possible values are
MONTHLY
orWEEKLY
. Changing this forces a new logz Monitor to be created. - Effective
Date string - Date when plan was applied. Changing this forces a new logz Monitor to be created.
- Usage
Type string - Different usage types. Possible values are
PAYG
orCOMMITTED
. Changing this forces a new logz Monitor to be created. - Plan
Id string - Plan id as published by Logz. The only possible value is
100gb14days
. Defaults to100gb14days
. Changing this forces a new logz Monitor to be created.
- Billing
Cycle string - Different billing cycles. Possible values are
MONTHLY
orWEEKLY
. Changing this forces a new logz Monitor to be created. - Effective
Date string - Date when plan was applied. Changing this forces a new logz Monitor to be created.
- Usage
Type string - Different usage types. Possible values are
PAYG
orCOMMITTED
. Changing this forces a new logz Monitor to be created. - Plan
Id string - Plan id as published by Logz. The only possible value is
100gb14days
. Defaults to100gb14days
. Changing this forces a new logz Monitor to be created.
- billing
Cycle String - Different billing cycles. Possible values are
MONTHLY
orWEEKLY
. Changing this forces a new logz Monitor to be created. - effective
Date String - Date when plan was applied. Changing this forces a new logz Monitor to be created.
- usage
Type String - Different usage types. Possible values are
PAYG
orCOMMITTED
. Changing this forces a new logz Monitor to be created. - plan
Id String - Plan id as published by Logz. The only possible value is
100gb14days
. Defaults to100gb14days
. Changing this forces a new logz Monitor to be created.
- billing
Cycle string - Different billing cycles. Possible values are
MONTHLY
orWEEKLY
. Changing this forces a new logz Monitor to be created. - effective
Date string - Date when plan was applied. Changing this forces a new logz Monitor to be created.
- usage
Type string - Different usage types. Possible values are
PAYG
orCOMMITTED
. Changing this forces a new logz Monitor to be created. - plan
Id string - Plan id as published by Logz. The only possible value is
100gb14days
. Defaults to100gb14days
. Changing this forces a new logz Monitor to be created.
- billing_
cycle str - Different billing cycles. Possible values are
MONTHLY
orWEEKLY
. Changing this forces a new logz Monitor to be created. - effective_
date str - Date when plan was applied. Changing this forces a new logz Monitor to be created.
- usage_
type str - Different usage types. Possible values are
PAYG
orCOMMITTED
. Changing this forces a new logz Monitor to be created. - plan_
id str - Plan id as published by Logz. The only possible value is
100gb14days
. Defaults to100gb14days
. Changing this forces a new logz Monitor to be created.
- billing
Cycle String - Different billing cycles. Possible values are
MONTHLY
orWEEKLY
. Changing this forces a new logz Monitor to be created. - effective
Date String - Date when plan was applied. Changing this forces a new logz Monitor to be created.
- usage
Type String - Different usage types. Possible values are
PAYG
orCOMMITTED
. Changing this forces a new logz Monitor to be created. - plan
Id String - Plan id as published by Logz. The only possible value is
100gb14days
. Defaults to100gb14days
. Changing this forces a new logz Monitor to be created.
LogzMonitorUser, LogzMonitorUserArgs
- Email string
Email of the user used by Logz for contacting them if needed. Changing this forces a new logz Monitor to be created.
NOTE If you use the Azure CLI to authenticate to Azure, the Email of your Azure account needs to be granted the admin permission in your Logz.io account. Otherwise, you may not be able to delete this resource. There is no such limitation for the Service Principal authentication.
- First
Name string - First Name of the user. Changing this forces a new logz Monitor to be created.
- Last
Name string - Last Name of the user. Changing this forces a new logz Monitor to be created.
- Phone
Number string - Phone number of the user used by Logz for contacting them if needed. Changing this forces a new logz Monitor to be created.
- Email string
Email of the user used by Logz for contacting them if needed. Changing this forces a new logz Monitor to be created.
NOTE If you use the Azure CLI to authenticate to Azure, the Email of your Azure account needs to be granted the admin permission in your Logz.io account. Otherwise, you may not be able to delete this resource. There is no such limitation for the Service Principal authentication.
- First
Name string - First Name of the user. Changing this forces a new logz Monitor to be created.
- Last
Name string - Last Name of the user. Changing this forces a new logz Monitor to be created.
- Phone
Number string - Phone number of the user used by Logz for contacting them if needed. Changing this forces a new logz Monitor to be created.
- email String
Email of the user used by Logz for contacting them if needed. Changing this forces a new logz Monitor to be created.
NOTE If you use the Azure CLI to authenticate to Azure, the Email of your Azure account needs to be granted the admin permission in your Logz.io account. Otherwise, you may not be able to delete this resource. There is no such limitation for the Service Principal authentication.
- first
Name String - First Name of the user. Changing this forces a new logz Monitor to be created.
- last
Name String - Last Name of the user. Changing this forces a new logz Monitor to be created.
- phone
Number String - Phone number of the user used by Logz for contacting them if needed. Changing this forces a new logz Monitor to be created.
- email string
Email of the user used by Logz for contacting them if needed. Changing this forces a new logz Monitor to be created.
NOTE If you use the Azure CLI to authenticate to Azure, the Email of your Azure account needs to be granted the admin permission in your Logz.io account. Otherwise, you may not be able to delete this resource. There is no such limitation for the Service Principal authentication.
- first
Name string - First Name of the user. Changing this forces a new logz Monitor to be created.
- last
Name string - Last Name of the user. Changing this forces a new logz Monitor to be created.
- phone
Number string - Phone number of the user used by Logz for contacting them if needed. Changing this forces a new logz Monitor to be created.
- email str
Email of the user used by Logz for contacting them if needed. Changing this forces a new logz Monitor to be created.
NOTE If you use the Azure CLI to authenticate to Azure, the Email of your Azure account needs to be granted the admin permission in your Logz.io account. Otherwise, you may not be able to delete this resource. There is no such limitation for the Service Principal authentication.
- first_
name str - First Name of the user. Changing this forces a new logz Monitor to be created.
- last_
name str - Last Name of the user. Changing this forces a new logz Monitor to be created.
- phone_
number str - Phone number of the user used by Logz for contacting them if needed. Changing this forces a new logz Monitor to be created.
- email String
Email of the user used by Logz for contacting them if needed. Changing this forces a new logz Monitor to be created.
NOTE If you use the Azure CLI to authenticate to Azure, the Email of your Azure account needs to be granted the admin permission in your Logz.io account. Otherwise, you may not be able to delete this resource. There is no such limitation for the Service Principal authentication.
- first
Name String - First Name of the user. Changing this forces a new logz Monitor to be created.
- last
Name String - Last Name of the user. Changing this forces a new logz Monitor to be created.
- phone
Number String - Phone number of the user used by Logz for contacting them if needed. Changing this forces a new logz Monitor to be created.
Import
logz Monitors can be imported using the resource id
, e.g.
$ pulumi import azure:monitoring/logzMonitor:LogzMonitor example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.Logz/monitors/monitor1
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Azure Classic pulumi/pulumi-azure
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
azurerm
Terraform Provider.