Condividi tramite


Azure.Developer.LoadTesting Namespace

Classes

Name Description
ArtifactsContainerInfo

Artifacts container info.

AutoStopCriteria

Auto stop criteria for a test. This will automatically stop a load test if the error percentage is high for a certain time window.

AzureDeveloperLoadTestingContext

Context class which will be filled in by the System.ClientModel.SourceGeneration. For more information https://github.com/Azure/azure-sdk-for-net/blob/main/sdk/core/System.ClientModel/src/docs/ModelReaderWriterContext.md

DailyRecurrence

Recurrence model when frequency is set as Daily.

DimensionFilter

Dimension name and values to filter.

DimensionValue

Represents a metric dimension value.

ErrorDetails

Error details if there is any failure in load test run.

FileUploadResultOperation

Represents a long-running operation for uploading a file to a test.

FunctionFlexConsumptionResourceConfiguration

Resource configuration instance for a Flex Consumption based Azure Function App.

FunctionFlexConsumptionTargetResourceConfigurations

Configurations for a Function App using Flex Consumption Plan.

HourlyRecurrence

Recurrence model when frequency is set as Hourly.

LoadTest

Load test model.

LoadTestAdministrationClient

The LoadTestAdministrationClient.

LoadTestConfiguration

Configurations for the load test.

LoadTestingAppComponent

An Azure resource object (Refer azure generic resource model :https://learn.microsoft.com/en-us/rest/api/resources/resources/get-by-id#genericresource).

LoadTestingClientOptions

Client options for clients in this library.

LoadTestingModelFactory

A factory class for creating instances of the models for mocking.

LoadTestingRecurrence

Recurrence model. Please note this is the abstract base class. The derived classes available for instantiation are: DailyRecurrence, HourlyRecurrence, MonthlyRecurrenceByWeekDays, MonthlyRecurrenceByDates, RecurrenceWithCron, and WeeklyRecurrence.

LoadTestingTrigger

Trigger model. Please note this is the abstract base class. The derived classes available for instantiation are: ScheduleTestsTrigger.

LoadTestRun

Load test run model.

LoadTestRunClient

The LoadTestRunClient.

MetricAvailability

Metric availability specifies the time grain (aggregation interval or frequency).

MetricDefinition

Metric definition.

MetricDefinitions

Represents collection of metric definitions.

MetricNamespace

Metric namespace class specifies the metadata for a metric namespace.

MetricNamespaces

Represents collection of metric namespaces.

MetricsFilters

Filters to fetch the set of metric.

MetricValue

Represents a metric value.

MonthlyRecurrenceByDates

Recurrence model when frequency is set as MonthlyByDates.

MonthlyRecurrenceByWeekDays

Recurrence model when frequency is set as MonthlyByDays .

NameAndDescription

The name and description.

NotificationRule

Notification rule model. Please note this is the abstract base class. The derived classes available for instantiation are: TestsNotificationRule.

OperationStatus

Status of a long running operation.

OptionalLoadTestConfiguration

Configuration for quick load test.

PassFailCriteria

Pass fail criteria for a test.

PassFailMetric

Pass fail metric.

PassFailServerMetric

Pass fail server metric.

RecurrenceEnd

Recurrence end model. Either provide numberOfOccurrences if you want recurrence to end after a specified number of occurrences or provide endDate if you want recurrence to end after a specified end date. If both values are provided, a validation error will be thrown indicating that only one field should be provided. If neither value is provided, the recurrence will end when manually ended.

RecurrenceStatus

Actual state of the recurrence for the trigger.

RecurrenceWithCron

Recurrence is set based on cron expression.

RegionalConfiguration

Region distribution configuration for the load test.

ResourceMetric

Associated metric definition for particular metrics of the azure resource ( Refer : https://learn.microsoft.com/en-us/rest/api/monitor/metric-definitions/list#metricdefinition).

ScheduleTestsTrigger

ScheduleTestsTrigger model.

StateDetails

State details of the trigger.

TargetResourceConfigurations

Configurations of a target resource. This varies with the kind of resource. Please note this is the abstract base class. The derived classes available for instantiation are: FunctionFlexConsumptionTargetResourceConfigurations.

TestAppComponents

Test app components.

TestCertificate

Certificates metadata.

TestFileInfo

Test file info.

TestInputArtifacts

The input artifacts for the test.

TestPreferences

Preferences for the test.

TestProfile

Test Profile Model.

TestProfileRun

Test Profile Run model.

TestProfileRunRecommendation

A recommendation object that provides a list of configuration that optimizes its category.

TestProfileRunResultOperation

Represents a long running operation for Test Profile Run.

TestRunAppComponents

Test run app component.

TestRunArtifacts

Collection of test run artifacts.

TestRunDetail

Details of a particular test run for a test profile run.

TestRunEndedEventCondition

TestRunEnded Event condition.

TestRunEndedNotificationEventFilter

The notification event filter when the event type is TestRunEnded and scope is Tests.

TestRunFileInfo

Test run file info.

TestRunInputArtifacts

The input artifacts for the test run.

TestRunInsightColumn

Represents a column of the test run insight.

TestRunInsights

Represents insights for the test run.

TestRunOutputArtifacts

The output artifacts for the test run.

TestRunResultOperation

Represents a long-running operation for TestRun.

TestRunServerMetricsConfiguration

Test run server metrics configuration.

TestRunStartedNotificationEventFilter

The notification event filter when the event type is TestRunStarted and scope is Tests.

TestRunStatistics

Test run statistics.

TestSecret

Secret.

TestServerMetricsConfiguration

Test server metrics configuration.

TestsNotificationEventFilter

The notification event filter for Tests scope. Please note this is the abstract base class. The derived classes available for instantiation are: TestRunEndedNotificationEventFilter, TestRunStartedNotificationEventFilter, TriggerCompletedNotificationEventFilter, and TriggerDisabledNotificationEventFilter.

TestsNotificationRule

Tests Notification rule model.

TimeSeriesElement

The time series returned when a data query is performed.

TriggerCompletedNotificationEventFilter

The notification event filter when the event type is TriggerCompleted.

TriggerDisabledNotificationEventFilter

The notification event filter when the event type is TriggerDisabled.

WeeklyRecurrence

Recurrence model when frequency is set as weekly.

Structs

Name Description
AggregationType

Aggregation type.

CertificateType

Types of certificates supported.

CreatedByType

The type of the entity that created the test run. (E.x. User, ScheduleTrigger, etc).

FileValidationStatus

File status.

LoadTestingFileType

Types of file supported.

LoadTestingManagedIdentityType

Managed identity type.

LoadTestKind

Test kind.

MetricUnit

Metric unit.

OperationKind

Kind of the long running operation.

OperationState

Enum describing allowed operation states.

PassFailAction

Action to take on failure of pass/fail criteria.

PassFailAggregationFunction

Aggregation functions for pass/fail criteria.

PassFailResult

Pass/fail criteria result.

PassFailTestResult

Test result based on pass/fail criteria.

PfMetrics

Metrics for pass/fail criteria.

RecommendationCategory

Category of Recommendation.

RequestDataLevel

Request data collection level for test run.

SecretType

Types of secrets supported.

TestProfileRunStatus

Test profile run status.

TestRunStatus

Test run status.

TimeGrain

Time Grain.

TriggerState

Current state of a trigger.

WeekDays

Defines the days of the week.

Enums

Name Description
LoadTestingClientOptions.ServiceVersion

The version of the service to use.