This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.89.1 published on Sunday, Mar 2, 2025 by Pulumi
azure-native.logz.getMetricsSource
Explore with Pulumi AI
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.89.1 published on Sunday, Mar 2, 2025 by Pulumi
Azure REST 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)
public static Output<GetMetricsSourceResult> getMetricsSource(GetMetricsSourceArgs args, InvokeOptions options)
fn::invoke:
  function: azure-native:logz:getMetricsSource
  arguments:
    # arguments dictionaryThe following arguments are supported:
- MetricsSource stringName 
- Metrics Account resource name
- MonitorName string
- Monitor resource name
- ResourceGroup stringName 
- The name of the resource group. The name is case insensitive.
- MetricsSource stringName 
- Metrics Account resource name
- MonitorName string
- Monitor resource name
- ResourceGroup stringName 
- The name of the resource group. The name is case insensitive.
- metricsSource StringName 
- Metrics Account resource name
- monitorName String
- Monitor resource name
- resourceGroup StringName 
- The name of the resource group. The name is case insensitive.
- metricsSource stringName 
- Metrics Account resource name
- monitorName string
- Monitor resource name
- resourceGroup stringName 
- The name of the resource group. The name is case insensitive.
- metrics_source_ strname 
- Metrics Account resource name
- monitor_name str
- Monitor resource name
- resource_group_ strname 
- The name of the resource group. The name is case insensitive.
- metricsSource StringName 
- Metrics Account resource name
- monitorName String
- Monitor resource name
- resourceGroup StringName 
- 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.Azure Native. Logz. Outputs. Monitor Properties Response 
- Properties specific to the monitor resource.
- SystemData Pulumi.Azure Native. Logz. Outputs. System Data Response 
- The system metadata relating to this resource
- Type string
- The type of the monitor resource.
- Identity
Pulumi.Azure Native. Logz. Outputs. Identity Properties Response 
- Dictionary<string, string>
- Id string
- ARM id of the monitor resource.
- Location string
- Name string
- Name of the monitor resource.
- Properties
MonitorProperties Response 
- Properties specific to the monitor resource.
- SystemData SystemData Response 
- The system metadata relating to this resource
- Type string
- The type of the monitor resource.
- Identity
IdentityProperties Response 
- map[string]string
- id String
- ARM id of the monitor resource.
- location String
- name String
- Name of the monitor resource.
- properties
MonitorProperties Response 
- Properties specific to the monitor resource.
- systemData SystemData Response 
- The system metadata relating to this resource
- type String
- The type of the monitor resource.
- identity
IdentityProperties Response 
- Map<String,String>
- id string
- ARM id of the monitor resource.
- location string
- name string
- Name of the monitor resource.
- properties
MonitorProperties Response 
- Properties specific to the monitor resource.
- systemData SystemData Response 
- The system metadata relating to this resource
- type string
- The type of the monitor resource.
- identity
IdentityProperties Response 
- {[key: string]: string}
- id str
- ARM id of the monitor resource.
- location str
- name str
- Name of the monitor resource.
- properties
MonitorProperties Response 
- Properties specific to the monitor resource.
- system_data SystemData Response 
- The system metadata relating to this resource
- type str
- The type of the monitor resource.
- identity
IdentityProperties Response 
- 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
- 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.
- EnterpriseApp stringId 
- The Id of the Enterprise App used for Single sign on.
- SingleSign stringOn Url 
- The login URL specific to this Logz Organization.
- Id string
- Id of the Logz organization.
- CompanyName string
- Name of the Logz organization.
- EnterpriseApp stringId 
- The Id of the Enterprise App used for Single sign on.
- SingleSign stringOn Url 
- The login URL specific to this Logz Organization.
- id String
- Id of the Logz organization.
- companyName String
- Name of the Logz organization.
- enterpriseApp StringId 
- The Id of the Enterprise App used for Single sign on.
- singleSign StringOn Url 
- The login URL specific to this Logz Organization.
- id string
- Id of the Logz organization.
- companyName string
- Name of the Logz organization.
- enterpriseApp stringId 
- The Id of the Enterprise App used for Single sign on.
- singleSign stringOn Url 
- 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_ strid 
- The Id of the Enterprise App used for Single sign on.
- single_sign_ stron_ url 
- The login URL specific to this Logz Organization.
- id String
- Id of the Logz organization.
- companyName String
- Name of the Logz organization.
- enterpriseApp StringId 
- The Id of the Enterprise App used for Single sign on.
- singleSign StringOn Url 
- The login URL specific to this Logz Organization.
MonitorPropertiesResponse  
- LiftrResource stringCategory 
- LiftrResource intPreference 
- The priority of the resource.
- ProvisioningState string
- Flag specifying if the resource provisioning state as tracked by ARM.
- LogzOrganization Pulumi.Properties Azure Native. Logz. Inputs. Logz Organization Properties Response 
- MarketplaceSubscription stringStatus 
- 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.Azure Native. Logz. Inputs. Plan Data Response 
- UserInfo Pulumi.Azure Native. Logz. Inputs. User Info Response 
- LiftrResource stringCategory 
- LiftrResource intPreference 
- The priority of the resource.
- ProvisioningState string
- Flag specifying if the resource provisioning state as tracked by ARM.
- LogzOrganization LogzProperties Organization Properties Response 
- MarketplaceSubscription stringStatus 
- 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 PlanData Response 
- UserInfo UserInfo Response 
- liftrResource StringCategory 
- liftrResource IntegerPreference 
- The priority of the resource.
- provisioningState String
- Flag specifying if the resource provisioning state as tracked by ARM.
- logzOrganization LogzProperties Organization Properties Response 
- marketplaceSubscription StringStatus 
- 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 PlanData Response 
- userInfo UserInfo Response 
- liftrResource stringCategory 
- liftrResource numberPreference 
- The priority of the resource.
- provisioningState string
- Flag specifying if the resource provisioning state as tracked by ARM.
- logzOrganization LogzProperties Organization Properties Response 
- marketplaceSubscription stringStatus 
- 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 PlanData Response 
- userInfo UserInfo Response 
- liftr_resource_ strcategory 
- liftr_resource_ intpreference 
- The priority of the resource.
- provisioning_state str
- Flag specifying if the resource provisioning state as tracked by ARM.
- logz_organization_ Logzproperties Organization Properties Response 
- marketplace_subscription_ strstatus 
- 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 PlanData Response 
- user_info UserInfo Response 
- liftrResource StringCategory 
- liftrResource NumberPreference 
- The priority of the resource.
- provisioningState String
- Flag specifying if the resource provisioning state as tracked by ARM.
- logzOrganization Property MapProperties 
- marketplaceSubscription StringStatus 
- 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.
- CreatedBy stringType 
- The type of identity that created the resource.
- LastModified stringAt 
- The timestamp of resource last modification (UTC)
- LastModified stringBy 
- The identity that last modified the resource.
- LastModified stringBy Type 
- 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.
- CreatedBy stringType 
- The type of identity that created the resource.
- LastModified stringAt 
- The timestamp of resource last modification (UTC)
- LastModified stringBy 
- The identity that last modified the resource.
- LastModified stringBy Type 
- 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.
- createdBy StringType 
- The type of identity that created the resource.
- lastModified StringAt 
- The timestamp of resource last modification (UTC)
- lastModified StringBy 
- The identity that last modified the resource.
- lastModified StringBy Type 
- 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.
- createdBy stringType 
- The type of identity that created the resource.
- lastModified stringAt 
- The timestamp of resource last modification (UTC)
- lastModified stringBy 
- The identity that last modified the resource.
- lastModified stringBy Type 
- 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_ strtype 
- The type of identity that created the resource.
- last_modified_ strat 
- The timestamp of resource last modification (UTC)
- last_modified_ strby 
- The identity that last modified the resource.
- last_modified_ strby_ type 
- 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.
- createdBy StringType 
- The type of identity that created the resource.
- lastModified StringAt 
- The timestamp of resource last modification (UTC)
- lastModified StringBy 
- The identity that last modified the resource.
- lastModified StringBy Type 
- 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 pulumi/pulumi-azure-native
- License
- Apache-2.0
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.89.1 published on Sunday, Mar 2, 2025 by Pulumi