1. Packages
  2. Azure Classic
  3. API Docs
  4. monitoring
  5. LogzMonitor

We recommend using Azure Native.

Azure Classic v5.84.0 published on Tuesday, Jul 16, 2024 by Pulumi

azure.monitoring.LogzMonitor

Explore with Pulumi AI

azure logo

We recommend using Azure Native.

Azure Classic v5.84.0 published on Tuesday, Jul 16, 2024 by Pulumi

    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={
            "billingCycle": "MONTHLY",
            "effectiveDate": "2022-06-06T00:00:00Z",
            "usageType": "COMMITTED",
        },
        user={
            "email": "user@example.com",
            "firstName": "Example",
            "lastName": "User",
            "phoneNumber": "+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={
            "billingCycle": "string",
            "effectiveDate": "string",
            "usageType": "string",
            "planId": "string",
        },
        resource_group_name="string",
        user={
            "email": "string",
            "firstName": "string",
            "lastName": "string",
            "phoneNumber": "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 LogzMonitorPlan
    A plan block as defined below. Changing this forces a new resource to be created.
    ResourceGroupName string
    The name of the Resource Group where the logz Monitor should exist. Changing this forces a new logz Monitor to be created.
    User LogzMonitorUser
    A user block as defined below. Changing this forces a new resource to be created.
    CompanyName 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.
    EnterpriseAppId string

    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.
    Tags Dictionary<string, string>
    A mapping of tags which should be assigned to the logz Monitor.
    Plan LogzMonitorPlanArgs
    A plan block as defined below. Changing this forces a new resource to be created.
    ResourceGroupName string
    The name of the Resource Group where the logz Monitor should exist. Changing this forces a new logz Monitor to be created.
    User LogzMonitorUserArgs
    A user block as defined below. Changing this forces a new resource to be created.
    CompanyName 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.
    EnterpriseAppId string

    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.
    Tags map[string]string
    A mapping of tags which should be assigned to the logz Monitor.
    plan LogzMonitorPlan
    A plan block as defined below. Changing this forces a new resource to be created.
    resourceGroupName String
    The name of the Resource Group where the logz Monitor should exist. Changing this forces a new logz Monitor to be created.
    user LogzMonitorUser
    A user block as defined below. Changing this forces a new resource to be created.
    companyName 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.
    enterpriseAppId String

    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.
    tags Map<String,String>
    A mapping of tags which should be assigned to the logz Monitor.
    plan LogzMonitorPlan
    A plan block as defined below. Changing this forces a new resource to be created.
    resourceGroupName string
    The name of the Resource Group where the logz Monitor should exist. Changing this forces a new logz Monitor to be created.
    user LogzMonitorUser
    A user block as defined below. Changing this forces a new resource to be created.
    companyName 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.
    enterpriseAppId string

    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.
    tags {[key: string]: string}
    A mapping of tags which should be assigned to the logz Monitor.
    plan LogzMonitorPlanArgs
    A plan block as defined below. Changing this forces a new resource to be created.
    resource_group_name str
    The name of the Resource Group where the logz Monitor should exist. Changing this forces a new logz Monitor to be created.
    user LogzMonitorUserArgs
    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_id str

    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.
    tags 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.
    resourceGroupName String
    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.
    companyName 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.
    enterpriseAppId String

    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.
    tags 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.
    LogzOrganizationId string
    The ID associated with the logz organization of this logz Monitor.
    SingleSignOnUrl string
    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.
    LogzOrganizationId string
    The ID associated with the logz organization of this logz Monitor.
    SingleSignOnUrl string
    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.
    logzOrganizationId String
    The ID associated with the logz organization of this logz Monitor.
    singleSignOnUrl String
    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.
    logzOrganizationId string
    The ID associated with the logz organization of this logz Monitor.
    singleSignOnUrl string
    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_id str
    The ID associated with the logz organization of this logz Monitor.
    single_sign_on_url str
    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.
    logzOrganizationId String
    The ID associated with the logz organization of this logz Monitor.
    singleSignOnUrl String
    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.
    The following state arguments are supported:
    CompanyName 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.
    EnterpriseAppId string

    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.
    LogzOrganizationId string
    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 LogzMonitorPlan
    A plan block as defined below. Changing this forces a new resource to be created.
    ResourceGroupName string
    The name of the Resource Group where the logz Monitor should exist. Changing this forces a new logz Monitor to be created.
    SingleSignOnUrl string
    The single sign on url associated with the logz organization of this logz Monitor.
    Tags Dictionary<string, string>
    A mapping of tags which should be assigned to the logz Monitor.
    User LogzMonitorUser
    A user block as defined below. Changing this forces a new resource to be created.
    CompanyName 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.
    EnterpriseAppId string

    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.
    LogzOrganizationId string
    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 LogzMonitorPlanArgs
    A plan block as defined below. Changing this forces a new resource to be created.
    ResourceGroupName string
    The name of the Resource Group where the logz Monitor should exist. Changing this forces a new logz Monitor to be created.
    SingleSignOnUrl string
    The single sign on url associated with the logz organization of this logz Monitor.
    Tags map[string]string
    A mapping of tags which should be assigned to the logz Monitor.
    User LogzMonitorUserArgs
    A user block as defined below. Changing this forces a new resource to be created.
    companyName 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.
    enterpriseAppId String

    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.
    logzOrganizationId String
    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 LogzMonitorPlan
    A plan block as defined below. Changing this forces a new resource to be created.
    resourceGroupName String
    The name of the Resource Group where the logz Monitor should exist. Changing this forces a new logz Monitor to be created.
    singleSignOnUrl String
    The single sign on url associated with the logz organization of this logz Monitor.
    tags Map<String,String>
    A mapping of tags which should be assigned to the logz Monitor.
    user LogzMonitorUser
    A user block as defined below. Changing this forces a new resource to be created.
    companyName 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.
    enterpriseAppId string

    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.
    logzOrganizationId string
    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 LogzMonitorPlan
    A plan block as defined below. Changing this forces a new resource to be created.
    resourceGroupName string
    The name of the Resource Group where the logz Monitor should exist. Changing this forces a new logz Monitor to be created.
    singleSignOnUrl string
    The single sign on url associated with the logz organization of this logz Monitor.
    tags {[key: string]: string}
    A mapping of tags which should be assigned to the logz Monitor.
    user LogzMonitorUser
    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_id str

    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_id str
    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 LogzMonitorPlanArgs
    A plan block as defined below. Changing this forces a new resource to be created.
    resource_group_name str
    The name of the Resource Group where the logz Monitor should exist. Changing this forces a new logz Monitor to be created.
    single_sign_on_url str
    The single sign on url associated with the logz organization of this logz Monitor.
    tags Mapping[str, str]
    A mapping of tags which should be assigned to the logz Monitor.
    user LogzMonitorUserArgs
    A user block as defined below. Changing this forces a new resource to be created.
    companyName 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.
    enterpriseAppId String

    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.
    logzOrganizationId String
    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.
    resourceGroupName String
    The name of the Resource Group where the logz Monitor should exist. Changing this forces a new logz Monitor to be created.
    singleSignOnUrl String
    The single sign on url associated with the logz organization of this logz Monitor.
    tags 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

    BillingCycle string
    Different billing cycles. Possible values are MONTHLY or WEEKLY. Changing this forces a new logz Monitor to be created.
    EffectiveDate string
    Date when plan was applied. Changing this forces a new logz Monitor to be created.
    UsageType string
    Different usage types. Possible values are PAYG or COMMITTED. Changing this forces a new logz Monitor to be created.
    PlanId string
    Plan id as published by Logz. The only possible value is 100gb14days. Defaults to 100gb14days. Changing this forces a new logz Monitor to be created.
    BillingCycle string
    Different billing cycles. Possible values are MONTHLY or WEEKLY. Changing this forces a new logz Monitor to be created.
    EffectiveDate string
    Date when plan was applied. Changing this forces a new logz Monitor to be created.
    UsageType string
    Different usage types. Possible values are PAYG or COMMITTED. Changing this forces a new logz Monitor to be created.
    PlanId string
    Plan id as published by Logz. The only possible value is 100gb14days. Defaults to 100gb14days. Changing this forces a new logz Monitor to be created.
    billingCycle String
    Different billing cycles. Possible values are MONTHLY or WEEKLY. Changing this forces a new logz Monitor to be created.
    effectiveDate String
    Date when plan was applied. Changing this forces a new logz Monitor to be created.
    usageType String
    Different usage types. Possible values are PAYG or COMMITTED. Changing this forces a new logz Monitor to be created.
    planId String
    Plan id as published by Logz. The only possible value is 100gb14days. Defaults to 100gb14days. Changing this forces a new logz Monitor to be created.
    billingCycle string
    Different billing cycles. Possible values are MONTHLY or WEEKLY. Changing this forces a new logz Monitor to be created.
    effectiveDate string
    Date when plan was applied. Changing this forces a new logz Monitor to be created.
    usageType string
    Different usage types. Possible values are PAYG or COMMITTED. Changing this forces a new logz Monitor to be created.
    planId string
    Plan id as published by Logz. The only possible value is 100gb14days. Defaults to 100gb14days. Changing this forces a new logz Monitor to be created.
    billing_cycle str
    Different billing cycles. Possible values are MONTHLY or WEEKLY. 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 or COMMITTED. 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 to 100gb14days. Changing this forces a new logz Monitor to be created.
    billingCycle String
    Different billing cycles. Possible values are MONTHLY or WEEKLY. Changing this forces a new logz Monitor to be created.
    effectiveDate String
    Date when plan was applied. Changing this forces a new logz Monitor to be created.
    usageType String
    Different usage types. Possible values are PAYG or COMMITTED. Changing this forces a new logz Monitor to be created.
    planId String
    Plan id as published by Logz. The only possible value is 100gb14days. Defaults to 100gb14days. 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.

    FirstName string
    First Name of the user. Changing this forces a new logz Monitor to be created.
    LastName string
    Last Name of the user. Changing this forces a new logz Monitor to be created.
    PhoneNumber 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.

    FirstName string
    First Name of the user. Changing this forces a new logz Monitor to be created.
    LastName string
    Last Name of the user. Changing this forces a new logz Monitor to be created.
    PhoneNumber 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.

    firstName String
    First Name of the user. Changing this forces a new logz Monitor to be created.
    lastName String
    Last Name of the user. Changing this forces a new logz Monitor to be created.
    phoneNumber 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.

    firstName string
    First Name of the user. Changing this forces a new logz Monitor to be created.
    lastName string
    Last Name of the user. Changing this forces a new logz Monitor to be created.
    phoneNumber 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.

    firstName String
    First Name of the user. Changing this forces a new logz Monitor to be created.
    lastName String
    Last Name of the user. Changing this forces a new logz Monitor to be created.
    phoneNumber 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.
    azure logo

    We recommend using Azure Native.

    Azure Classic v5.84.0 published on Tuesday, Jul 16, 2024 by Pulumi