1. Packages
  2. Azure Native v1
  3. API Docs
  4. logz
  5. getMetricsSource
These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi

azure-native.logz.getMetricsSource

Explore with Pulumi AI

azure-native-v1 logo
These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi

    API Version: 2022-01-01-preview.

    Using getMetricsSource

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function getMetricsSource(args: GetMetricsSourceArgs, opts?: InvokeOptions): Promise<GetMetricsSourceResult>
    function getMetricsSourceOutput(args: GetMetricsSourceOutputArgs, opts?: InvokeOptions): Output<GetMetricsSourceResult>
    def get_metrics_source(metrics_source_name: Optional[str] = None,
                           monitor_name: Optional[str] = None,
                           resource_group_name: Optional[str] = None,
                           opts: Optional[InvokeOptions] = None) -> GetMetricsSourceResult
    def get_metrics_source_output(metrics_source_name: Optional[pulumi.Input[str]] = None,
                           monitor_name: Optional[pulumi.Input[str]] = None,
                           resource_group_name: Optional[pulumi.Input[str]] = None,
                           opts: Optional[InvokeOptions] = None) -> Output[GetMetricsSourceResult]
    func LookupMetricsSource(ctx *Context, args *LookupMetricsSourceArgs, opts ...InvokeOption) (*LookupMetricsSourceResult, error)
    func LookupMetricsSourceOutput(ctx *Context, args *LookupMetricsSourceOutputArgs, opts ...InvokeOption) LookupMetricsSourceResultOutput

    > Note: This function is named LookupMetricsSource in the Go SDK.

    public static class GetMetricsSource 
    {
        public static Task<GetMetricsSourceResult> InvokeAsync(GetMetricsSourceArgs args, InvokeOptions? opts = null)
        public static Output<GetMetricsSourceResult> Invoke(GetMetricsSourceInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetMetricsSourceResult> getMetricsSource(GetMetricsSourceArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: azure-native:logz:getMetricsSource
      arguments:
        # arguments dictionary

    The following arguments are supported:

    MetricsSourceName string
    Metrics Account resource name
    MonitorName string
    Monitor resource name
    ResourceGroupName string
    The name of the resource group. The name is case insensitive.
    MetricsSourceName string
    Metrics Account resource name
    MonitorName string
    Monitor resource name
    ResourceGroupName string
    The name of the resource group. The name is case insensitive.
    metricsSourceName String
    Metrics Account resource name
    monitorName String
    Monitor resource name
    resourceGroupName String
    The name of the resource group. The name is case insensitive.
    metricsSourceName string
    Metrics Account resource name
    monitorName string
    Monitor resource name
    resourceGroupName string
    The name of the resource group. The name is case insensitive.
    metrics_source_name str
    Metrics Account resource name
    monitor_name str
    Monitor resource name
    resource_group_name str
    The name of the resource group. The name is case insensitive.
    metricsSourceName String
    Metrics Account resource name
    monitorName String
    Monitor resource name
    resourceGroupName String
    The name of the resource group. The name is case insensitive.

    getMetricsSource Result

    The following output properties are available:

    Id string
    ARM id of the monitor resource.
    Location string
    Name string
    Name of the monitor resource.
    Properties Pulumi.AzureNative.Logz.Outputs.MonitorPropertiesResponse
    Properties specific to the monitor resource.
    SystemData Pulumi.AzureNative.Logz.Outputs.SystemDataResponse
    The system metadata relating to this resource
    Type string
    The type of the monitor resource.
    Identity Pulumi.AzureNative.Logz.Outputs.IdentityPropertiesResponse
    Tags Dictionary<string, string>
    Id string
    ARM id of the monitor resource.
    Location string
    Name string
    Name of the monitor resource.
    Properties MonitorPropertiesResponse
    Properties specific to the monitor resource.
    SystemData SystemDataResponse
    The system metadata relating to this resource
    Type string
    The type of the monitor resource.
    Identity IdentityPropertiesResponse
    Tags map[string]string
    id String
    ARM id of the monitor resource.
    location String
    name String
    Name of the monitor resource.
    properties MonitorPropertiesResponse
    Properties specific to the monitor resource.
    systemData SystemDataResponse
    The system metadata relating to this resource
    type String
    The type of the monitor resource.
    identity IdentityPropertiesResponse
    tags Map<String,String>
    id string
    ARM id of the monitor resource.
    location string
    name string
    Name of the monitor resource.
    properties MonitorPropertiesResponse
    Properties specific to the monitor resource.
    systemData SystemDataResponse
    The system metadata relating to this resource
    type string
    The type of the monitor resource.
    identity IdentityPropertiesResponse
    tags {[key: string]: string}
    id str
    ARM id of the monitor resource.
    location str
    name str
    Name of the monitor resource.
    properties MonitorPropertiesResponse
    Properties specific to the monitor resource.
    system_data SystemDataResponse
    The system metadata relating to this resource
    type str
    The type of the monitor resource.
    identity IdentityPropertiesResponse
    tags Mapping[str, str]
    id String
    ARM id of the monitor resource.
    location String
    name String
    Name of the monitor resource.
    properties Property Map
    Properties specific to the monitor resource.
    systemData Property Map
    The system metadata relating to this resource
    type String
    The type of the monitor resource.
    identity Property Map
    tags Map<String>

    Supporting Types

    IdentityPropertiesResponse

    PrincipalId string
    The identity ID.
    TenantId string
    The tenant ID of resource.
    Type string
    PrincipalId string
    The identity ID.
    TenantId string
    The tenant ID of resource.
    Type string
    principalId String
    The identity ID.
    tenantId String
    The tenant ID of resource.
    type String
    principalId string
    The identity ID.
    tenantId string
    The tenant ID of resource.
    type string
    principal_id str
    The identity ID.
    tenant_id str
    The tenant ID of resource.
    type str
    principalId String
    The identity ID.
    tenantId String
    The tenant ID of resource.
    type String

    LogzOrganizationPropertiesResponse

    Id string
    Id of the Logz organization.
    CompanyName string
    Name of the Logz organization.
    EnterpriseAppId string
    The Id of the Enterprise App used for Single sign on.
    SingleSignOnUrl string
    The login URL specific to this Logz Organization.
    Id string
    Id of the Logz organization.
    CompanyName string
    Name of the Logz organization.
    EnterpriseAppId string
    The Id of the Enterprise App used for Single sign on.
    SingleSignOnUrl string
    The login URL specific to this Logz Organization.
    id String
    Id of the Logz organization.
    companyName String
    Name of the Logz organization.
    enterpriseAppId String
    The Id of the Enterprise App used for Single sign on.
    singleSignOnUrl String
    The login URL specific to this Logz Organization.
    id string
    Id of the Logz organization.
    companyName string
    Name of the Logz organization.
    enterpriseAppId string
    The Id of the Enterprise App used for Single sign on.
    singleSignOnUrl string
    The login URL specific to this Logz Organization.
    id str
    Id of the Logz organization.
    company_name str
    Name of the Logz organization.
    enterprise_app_id str
    The Id of the Enterprise App used for Single sign on.
    single_sign_on_url str
    The login URL specific to this Logz Organization.
    id String
    Id of the Logz organization.
    companyName String
    Name of the Logz organization.
    enterpriseAppId String
    The Id of the Enterprise App used for Single sign on.
    singleSignOnUrl String
    The login URL specific to this Logz Organization.

    MonitorPropertiesResponse

    LiftrResourceCategory string
    LiftrResourcePreference int
    The priority of the resource.
    ProvisioningState string
    Flag specifying if the resource provisioning state as tracked by ARM.
    LogzOrganizationProperties Pulumi.AzureNative.Logz.Inputs.LogzOrganizationPropertiesResponse
    MarketplaceSubscriptionStatus string
    Flag specifying the Marketplace Subscription Status of the resource. If payment is not made in time, the resource will go in Suspended state.
    MonitoringStatus string
    Flag specifying if the resource monitoring is enabled or disabled.
    PlanData Pulumi.AzureNative.Logz.Inputs.PlanDataResponse
    UserInfo Pulumi.AzureNative.Logz.Inputs.UserInfoResponse
    LiftrResourceCategory string
    LiftrResourcePreference int
    The priority of the resource.
    ProvisioningState string
    Flag specifying if the resource provisioning state as tracked by ARM.
    LogzOrganizationProperties LogzOrganizationPropertiesResponse
    MarketplaceSubscriptionStatus string
    Flag specifying the Marketplace Subscription Status of the resource. If payment is not made in time, the resource will go in Suspended state.
    MonitoringStatus string
    Flag specifying if the resource monitoring is enabled or disabled.
    PlanData PlanDataResponse
    UserInfo UserInfoResponse
    liftrResourceCategory String
    liftrResourcePreference Integer
    The priority of the resource.
    provisioningState String
    Flag specifying if the resource provisioning state as tracked by ARM.
    logzOrganizationProperties LogzOrganizationPropertiesResponse
    marketplaceSubscriptionStatus String
    Flag specifying the Marketplace Subscription Status of the resource. If payment is not made in time, the resource will go in Suspended state.
    monitoringStatus String
    Flag specifying if the resource monitoring is enabled or disabled.
    planData PlanDataResponse
    userInfo UserInfoResponse
    liftrResourceCategory string
    liftrResourcePreference number
    The priority of the resource.
    provisioningState string
    Flag specifying if the resource provisioning state as tracked by ARM.
    logzOrganizationProperties LogzOrganizationPropertiesResponse
    marketplaceSubscriptionStatus string
    Flag specifying the Marketplace Subscription Status of the resource. If payment is not made in time, the resource will go in Suspended state.
    monitoringStatus string
    Flag specifying if the resource monitoring is enabled or disabled.
    planData PlanDataResponse
    userInfo UserInfoResponse
    liftr_resource_category str
    liftr_resource_preference int
    The priority of the resource.
    provisioning_state str
    Flag specifying if the resource provisioning state as tracked by ARM.
    logz_organization_properties LogzOrganizationPropertiesResponse
    marketplace_subscription_status str
    Flag specifying the Marketplace Subscription Status of the resource. If payment is not made in time, the resource will go in Suspended state.
    monitoring_status str
    Flag specifying if the resource monitoring is enabled or disabled.
    plan_data PlanDataResponse
    user_info UserInfoResponse
    liftrResourceCategory String
    liftrResourcePreference Number
    The priority of the resource.
    provisioningState String
    Flag specifying if the resource provisioning state as tracked by ARM.
    logzOrganizationProperties Property Map
    marketplaceSubscriptionStatus String
    Flag specifying the Marketplace Subscription Status of the resource. If payment is not made in time, the resource will go in Suspended state.
    monitoringStatus String
    Flag specifying if the resource monitoring is enabled or disabled.
    planData Property Map
    userInfo Property Map

    PlanDataResponse

    BillingCycle string
    different billing cycles like MONTHLY/WEEKLY. this could be enum
    EffectiveDate string
    date when plan was applied
    PlanDetails string
    plan id as published by Logz
    UsageType string
    different usage type like PAYG/COMMITTED. this could be enum
    BillingCycle string
    different billing cycles like MONTHLY/WEEKLY. this could be enum
    EffectiveDate string
    date when plan was applied
    PlanDetails string
    plan id as published by Logz
    UsageType string
    different usage type like PAYG/COMMITTED. this could be enum
    billingCycle String
    different billing cycles like MONTHLY/WEEKLY. this could be enum
    effectiveDate String
    date when plan was applied
    planDetails String
    plan id as published by Logz
    usageType String
    different usage type like PAYG/COMMITTED. this could be enum
    billingCycle string
    different billing cycles like MONTHLY/WEEKLY. this could be enum
    effectiveDate string
    date when plan was applied
    planDetails string
    plan id as published by Logz
    usageType string
    different usage type like PAYG/COMMITTED. this could be enum
    billing_cycle str
    different billing cycles like MONTHLY/WEEKLY. this could be enum
    effective_date str
    date when plan was applied
    plan_details str
    plan id as published by Logz
    usage_type str
    different usage type like PAYG/COMMITTED. this could be enum
    billingCycle String
    different billing cycles like MONTHLY/WEEKLY. this could be enum
    effectiveDate String
    date when plan was applied
    planDetails String
    plan id as published by Logz
    usageType String
    different usage type like PAYG/COMMITTED. this could be enum

    SystemDataResponse

    CreatedAt string
    The timestamp of resource creation (UTC).
    CreatedBy string
    The identity that created the resource.
    CreatedByType string
    The type of identity that created the resource.
    LastModifiedAt string
    The timestamp of resource last modification (UTC)
    LastModifiedBy string
    The identity that last modified the resource.
    LastModifiedByType string
    The type of identity that last modified the resource.
    CreatedAt string
    The timestamp of resource creation (UTC).
    CreatedBy string
    The identity that created the resource.
    CreatedByType string
    The type of identity that created the resource.
    LastModifiedAt string
    The timestamp of resource last modification (UTC)
    LastModifiedBy string
    The identity that last modified the resource.
    LastModifiedByType string
    The type of identity that last modified the resource.
    createdAt String
    The timestamp of resource creation (UTC).
    createdBy String
    The identity that created the resource.
    createdByType String
    The type of identity that created the resource.
    lastModifiedAt String
    The timestamp of resource last modification (UTC)
    lastModifiedBy String
    The identity that last modified the resource.
    lastModifiedByType String
    The type of identity that last modified the resource.
    createdAt string
    The timestamp of resource creation (UTC).
    createdBy string
    The identity that created the resource.
    createdByType string
    The type of identity that created the resource.
    lastModifiedAt string
    The timestamp of resource last modification (UTC)
    lastModifiedBy string
    The identity that last modified the resource.
    lastModifiedByType string
    The type of identity that last modified the resource.
    created_at str
    The timestamp of resource creation (UTC).
    created_by str
    The identity that created the resource.
    created_by_type str
    The type of identity that created the resource.
    last_modified_at str
    The timestamp of resource last modification (UTC)
    last_modified_by str
    The identity that last modified the resource.
    last_modified_by_type str
    The type of identity that last modified the resource.
    createdAt String
    The timestamp of resource creation (UTC).
    createdBy String
    The identity that created the resource.
    createdByType String
    The type of identity that created the resource.
    lastModifiedAt String
    The timestamp of resource last modification (UTC)
    lastModifiedBy String
    The identity that last modified the resource.
    lastModifiedByType String
    The type of identity that last modified the resource.

    UserInfoResponse

    EmailAddress string
    Email of the user used by Logz for contacting them if needed
    FirstName string
    First Name of the user
    LastName string
    Last Name of the user
    PhoneNumber string
    Phone number of the user used by Logz for contacting them if needed
    EmailAddress string
    Email of the user used by Logz for contacting them if needed
    FirstName string
    First Name of the user
    LastName string
    Last Name of the user
    PhoneNumber string
    Phone number of the user used by Logz for contacting them if needed
    emailAddress String
    Email of the user used by Logz for contacting them if needed
    firstName String
    First Name of the user
    lastName String
    Last Name of the user
    phoneNumber String
    Phone number of the user used by Logz for contacting them if needed
    emailAddress string
    Email of the user used by Logz for contacting them if needed
    firstName string
    First Name of the user
    lastName string
    Last Name of the user
    phoneNumber string
    Phone number of the user used by Logz for contacting them if needed
    email_address str
    Email of the user used by Logz for contacting them if needed
    first_name str
    First Name of the user
    last_name str
    Last Name of the user
    phone_number str
    Phone number of the user used by Logz for contacting them if needed
    emailAddress String
    Email of the user used by Logz for contacting them if needed
    firstName String
    First Name of the user
    lastName String
    Last Name of the user
    phoneNumber String
    Phone number of the user used by Logz for contacting them if needed

    Package Details

    Repository
    azure-native-v1 pulumi/pulumi-azure-native
    License
    Apache-2.0
    azure-native-v1 logo
    These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
    Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi