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
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:
- Dataset
Name string - The name of the telemetry dataset to retrieve.
- Resource
Group stringName - The name of the Azure resource group
- Sql
Server stringInstance Name - Name of SQL Server Instance
- Aggregation
Type string | Pulumi.Azure Native. Azure Arc Data. Aggregation Type - The aggregation type to use for the numerical columns in the dataset.
- Database
Names List<string> - The list of database names to return telemetry for. If not specified, telemetry for all databases will be aggregated and returned.
- End
Time 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
- Start
Time 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 string - The name of the telemetry dataset to retrieve.
- Resource
Group stringName - The name of the Azure resource group
- Sql
Server stringInstance Name - Name of SQL Server Instance
- Aggregation
Type string | AggregationType - The aggregation type to use for the numerical columns in the dataset.
- Database
Names []string - The list of database names to return telemetry for. If not specified, telemetry for all databases will be aggregated and returned.
- End
Time 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
- Start
Time 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 String - The name of the telemetry dataset to retrieve.
- resource
Group StringName - The name of the Azure resource group
- sql
Server StringInstance Name - Name of SQL Server Instance
- aggregation
Type String | AggregationType - The aggregation type to use for the numerical columns in the dataset.
- database
Names List<String> - The list of database names to return telemetry for. If not specified, telemetry for all databases will be aggregated and returned.
- end
Time 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
- start
Time 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 string - The name of the telemetry dataset to retrieve.
- resource
Group stringName - The name of the Azure resource group
- sql
Server stringInstance Name - Name of SQL Server Instance
- aggregation
Type string | AggregationType - The aggregation type to use for the numerical columns in the dataset.
- database
Names string[] - The list of database names to return telemetry for. If not specified, telemetry for all databases will be aggregated and returned.
- end
Time 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
- start
Time 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_ strname - The name of the Azure resource group
- sql_
server_ strinstance_ name - 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.
- dataset
Name String - The name of the telemetry dataset to retrieve.
- resource
Group StringName - The name of the Azure resource group
- sql
Server StringInstance Name - Name of SQL Server Instance
- aggregation
Type String | "Average" | "Minimum" | "Maximum" | "Sum" | "Count" - The aggregation type to use for the numerical columns in the dataset.
- database
Names List<String> - The list of database names to return telemetry for. If not specified, telemetry for all databases will be aggregated and returned.
- end
Time 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
- start
Time 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.
Azure Native. Azure Arc Data. Outputs. Sql Server Instance Telemetry Column Response> - The columns of the result telemetry table for the SQL Server instance.
- Next
Link 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<Immutable
Array<string>> - A list of rows from the result telemetry table for the SQL Server instance.
- Columns
[]Sql
Server Instance Telemetry Column Response - The columns of the result telemetry table for the SQL Server instance.
- Next
Link 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<Sql
Server Instance Telemetry Column Response> - The columns of the result telemetry table for the SQL Server instance.
- next
Link 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
Sql
Server Instance Telemetry Column Response[] - The columns of the result telemetry table for the SQL Server instance.
- next
Link 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[Sql
Server Instance Telemetry Column Response] - 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.
- next
Link 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
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.73.0 published on Wednesday, Nov 20, 2024 by Pulumi