1. Packages
  2. Azure Native
  3. API Docs
  4. azurearcdata
  5. getSqlServerInstanceTelemetry
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.73.0 published on Wednesday, Nov 20, 2024 by Pulumi

azure-native.azurearcdata.getSqlServerInstanceTelemetry

Explore with Pulumi AI

azure-native logo
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.73.0 published on Wednesday, Nov 20, 2024 by Pulumi

    Retrieves SQL Server instance telemetry Azure REST API version: 2024-01-01.

    Other available API versions: 2024-05-01-preview.

    Using getSqlServerInstanceTelemetry

    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 getSqlServerInstanceTelemetry(args: GetSqlServerInstanceTelemetryArgs, opts?: InvokeOptions): Promise<GetSqlServerInstanceTelemetryResult>
    function getSqlServerInstanceTelemetryOutput(args: GetSqlServerInstanceTelemetryOutputArgs, opts?: InvokeOptions): Output<GetSqlServerInstanceTelemetryResult>
    def get_sql_server_instance_telemetry(aggregation_type: Optional[Union[str, AggregationType]] = None,
                                          database_names: Optional[Sequence[str]] = None,
                                          dataset_name: Optional[str] = None,
                                          end_time: Optional[str] = None,
                                          interval: Optional[str] = None,
                                          resource_group_name: Optional[str] = None,
                                          sql_server_instance_name: Optional[str] = None,
                                          start_time: Optional[str] = None,
                                          opts: Optional[InvokeOptions] = None) -> GetSqlServerInstanceTelemetryResult
    def get_sql_server_instance_telemetry_output(aggregation_type: Optional[pulumi.Input[Union[str, AggregationType]]] = None,
                                          database_names: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
                                          dataset_name: Optional[pulumi.Input[str]] = None,
                                          end_time: Optional[pulumi.Input[str]] = None,
                                          interval: Optional[pulumi.Input[str]] = None,
                                          resource_group_name: Optional[pulumi.Input[str]] = None,
                                          sql_server_instance_name: Optional[pulumi.Input[str]] = None,
                                          start_time: Optional[pulumi.Input[str]] = None,
                                          opts: Optional[InvokeOptions] = None) -> Output[GetSqlServerInstanceTelemetryResult]
    func GetSqlServerInstanceTelemetry(ctx *Context, args *GetSqlServerInstanceTelemetryArgs, opts ...InvokeOption) (*GetSqlServerInstanceTelemetryResult, error)
    func GetSqlServerInstanceTelemetryOutput(ctx *Context, args *GetSqlServerInstanceTelemetryOutputArgs, opts ...InvokeOption) GetSqlServerInstanceTelemetryResultOutput

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

    public static class GetSqlServerInstanceTelemetry 
    {
        public static Task<GetSqlServerInstanceTelemetryResult> InvokeAsync(GetSqlServerInstanceTelemetryArgs args, InvokeOptions? opts = null)
        public static Output<GetSqlServerInstanceTelemetryResult> Invoke(GetSqlServerInstanceTelemetryInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetSqlServerInstanceTelemetryResult> getSqlServerInstanceTelemetry(GetSqlServerInstanceTelemetryArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: azure-native:azurearcdata:getSqlServerInstanceTelemetry
      arguments:
        # arguments dictionary

    The following arguments are supported:

    DatasetName string
    The name of the telemetry dataset to retrieve.
    ResourceGroupName string
    The name of the Azure resource group
    SqlServerInstanceName string
    Name of SQL Server Instance
    AggregationType string | Pulumi.AzureNative.AzureArcData.AggregationType
    The aggregation type to use for the numerical columns in the dataset.
    DatabaseNames List<string>
    The list of database names to return telemetry for. If not specified, telemetry for all databases will be aggregated and returned.
    EndTime string
    The end time for the time range to fetch telemetry for. If not specified, the current time is used.
    Interval string
    The time granularity to fetch telemetry for. This is an ISO8601 duration. Examples: PT15M, PT1H, P1D
    StartTime string
    The start time for the time range to fetch telemetry for. If not specified, the current time minus 1 hour is used.
    DatasetName string
    The name of the telemetry dataset to retrieve.
    ResourceGroupName string
    The name of the Azure resource group
    SqlServerInstanceName string
    Name of SQL Server Instance
    AggregationType string | AggregationType
    The aggregation type to use for the numerical columns in the dataset.
    DatabaseNames []string
    The list of database names to return telemetry for. If not specified, telemetry for all databases will be aggregated and returned.
    EndTime string
    The end time for the time range to fetch telemetry for. If not specified, the current time is used.
    Interval string
    The time granularity to fetch telemetry for. This is an ISO8601 duration. Examples: PT15M, PT1H, P1D
    StartTime string
    The start time for the time range to fetch telemetry for. If not specified, the current time minus 1 hour is used.
    datasetName String
    The name of the telemetry dataset to retrieve.
    resourceGroupName String
    The name of the Azure resource group
    sqlServerInstanceName String
    Name of SQL Server Instance
    aggregationType String | AggregationType
    The aggregation type to use for the numerical columns in the dataset.
    databaseNames List<String>
    The list of database names to return telemetry for. If not specified, telemetry for all databases will be aggregated and returned.
    endTime String
    The end time for the time range to fetch telemetry for. If not specified, the current time is used.
    interval String
    The time granularity to fetch telemetry for. This is an ISO8601 duration. Examples: PT15M, PT1H, P1D
    startTime String
    The start time for the time range to fetch telemetry for. If not specified, the current time minus 1 hour is used.
    datasetName string
    The name of the telemetry dataset to retrieve.
    resourceGroupName string
    The name of the Azure resource group
    sqlServerInstanceName string
    Name of SQL Server Instance
    aggregationType string | AggregationType
    The aggregation type to use for the numerical columns in the dataset.
    databaseNames string[]
    The list of database names to return telemetry for. If not specified, telemetry for all databases will be aggregated and returned.
    endTime string
    The end time for the time range to fetch telemetry for. If not specified, the current time is used.
    interval string
    The time granularity to fetch telemetry for. This is an ISO8601 duration. Examples: PT15M, PT1H, P1D
    startTime string
    The start time for the time range to fetch telemetry for. If not specified, the current time minus 1 hour is used.
    dataset_name str
    The name of the telemetry dataset to retrieve.
    resource_group_name str
    The name of the Azure resource group
    sql_server_instance_name str
    Name of SQL Server Instance
    aggregation_type str | AggregationType
    The aggregation type to use for the numerical columns in the dataset.
    database_names Sequence[str]
    The list of database names to return telemetry for. If not specified, telemetry for all databases will be aggregated and returned.
    end_time str
    The end time for the time range to fetch telemetry for. If not specified, the current time is used.
    interval str
    The time granularity to fetch telemetry for. This is an ISO8601 duration. Examples: PT15M, PT1H, P1D
    start_time str
    The start time for the time range to fetch telemetry for. If not specified, the current time minus 1 hour is used.
    datasetName String
    The name of the telemetry dataset to retrieve.
    resourceGroupName String
    The name of the Azure resource group
    sqlServerInstanceName String
    Name of SQL Server Instance
    aggregationType String | "Average" | "Minimum" | "Maximum" | "Sum" | "Count"
    The aggregation type to use for the numerical columns in the dataset.
    databaseNames List<String>
    The list of database names to return telemetry for. If not specified, telemetry for all databases will be aggregated and returned.
    endTime String
    The end time for the time range to fetch telemetry for. If not specified, the current time is used.
    interval String
    The time granularity to fetch telemetry for. This is an ISO8601 duration. Examples: PT15M, PT1H, P1D
    startTime String
    The start time for the time range to fetch telemetry for. If not specified, the current time minus 1 hour is used.

    getSqlServerInstanceTelemetry Result

    The following output properties are available:

    Columns List<Pulumi.AzureNative.AzureArcData.Outputs.SqlServerInstanceTelemetryColumnResponse>
    The columns of the result telemetry table for the SQL Server instance.
    NextLink string
    The link to the next section of rows of the telemetry response for the SQL Server instance. Null if no more sections are available.
    Rows List<ImmutableArray<string>>
    A list of rows from the result telemetry table for the SQL Server instance.
    Columns []SqlServerInstanceTelemetryColumnResponse
    The columns of the result telemetry table for the SQL Server instance.
    NextLink string
    The link to the next section of rows of the telemetry response for the SQL Server instance. Null if no more sections are available.
    Rows [][]string
    A list of rows from the result telemetry table for the SQL Server instance.
    columns List<SqlServerInstanceTelemetryColumnResponse>
    The columns of the result telemetry table for the SQL Server instance.
    nextLink String
    The link to the next section of rows of the telemetry response for the SQL Server instance. Null if no more sections are available.
    rows List<List<String>>
    A list of rows from the result telemetry table for the SQL Server instance.
    columns SqlServerInstanceTelemetryColumnResponse[]
    The columns of the result telemetry table for the SQL Server instance.
    nextLink string
    The link to the next section of rows of the telemetry response for the SQL Server instance. Null if no more sections are available.
    rows string[][]
    A list of rows from the result telemetry table for the SQL Server instance.
    columns Sequence[SqlServerInstanceTelemetryColumnResponse]
    The columns of the result telemetry table for the SQL Server instance.
    next_link str
    The link to the next section of rows of the telemetry response for the SQL Server instance. Null if no more sections are available.
    rows Sequence[Sequence[str]]
    A list of rows from the result telemetry table for the SQL Server instance.
    columns List<Property Map>
    The columns of the result telemetry table for the SQL Server instance.
    nextLink String
    The link to the next section of rows of the telemetry response for the SQL Server instance. Null if no more sections are available.
    rows List<List<String>>
    A list of rows from the result telemetry table for the SQL Server instance.

    Supporting Types

    AggregationType

    SqlServerInstanceTelemetryColumnResponse

    Name string
    The name of the telemetry column.
    Type string
    The type of the telemetry column.
    Name string
    The name of the telemetry column.
    Type string
    The type of the telemetry column.
    name String
    The name of the telemetry column.
    type String
    The type of the telemetry column.
    name string
    The name of the telemetry column.
    type string
    The type of the telemetry column.
    name str
    The name of the telemetry column.
    type str
    The type of the telemetry column.
    name String
    The name of the telemetry column.
    type String
    The type of the telemetry column.

    Package Details

    Repository
    Azure Native pulumi/pulumi-azure-native
    License
    Apache-2.0
    azure-native logo
    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.73.0 published on Wednesday, Nov 20, 2024 by Pulumi