66
77import * as coreAuth from ' @azure/core-auth' ;
88import * as coreClient from ' @azure/core-client' ;
9+ import { OperationState } from ' @azure/core-lro' ;
910import { PagedAsyncIterableIterator } from ' @azure/core-paging' ;
10- import { PollerLike } from ' @azure/core-lro' ;
11- import { PollOperationState } from ' @azure/core-lro' ;
11+ import { SimplePollerLike } from ' @azure/core-lro' ;
1212
1313// @public
1414export interface AccountInfo {
1515 accountId? : string ;
1616 regionId? : string ;
1717}
1818
19- // @public
20- export interface AccountInfoSecure {
21- readonly accountId? : string ;
22- readonly apiKey? : string ;
23- readonly regionId? : string ;
24- }
25-
2619// @public
2720export type ActionType = string ;
2821
@@ -323,9 +316,9 @@ export interface LinkableEnvironmentListResponse {
323316
324317// @public
325318export interface LinkableEnvironmentRequest {
326- region? : string ;
327- tenantId? : string ;
328- userPrincipal? : string ;
319+ region: string ;
320+ tenantId: string ;
321+ userPrincipal: string ;
329322}
330323
331324// @public
@@ -349,12 +342,30 @@ export interface LogRules {
349342// @public
350343export type ManagedIdentityType = string ;
351344
345+ // @public
346+ export interface MarketplaceSaaSResourceDetailsRequest {
347+ tenantId: string ;
348+ }
349+
350+ // @public
351+ export interface MarketplaceSaaSResourceDetailsResponse {
352+ marketplaceSaaSResourceId? : string ;
353+ marketplaceSubscriptionStatus? : MarketplaceSubscriptionStatus ;
354+ planId? : string ;
355+ }
356+
352357// @public
353358export type MarketplaceSubscriptionStatus = string ;
354359
355360// @public
356361export interface MetricRules {
357362 filteringTags? : FilteringTag [];
363+ sendingMetrics? : SendingMetricsStatus ;
364+ }
365+
366+ // @public
367+ export interface MetricsStatusResponse {
368+ azureResourceIds? : string [];
358369}
359370
360371// @public
@@ -400,24 +411,20 @@ export interface MonitorResourceListResult {
400411
401412// @public
402413export interface MonitorResourceUpdate {
403- dynatraceEnvironmentProperties? : DynatraceEnvironmentProperties ;
404- marketplaceSubscriptionStatus? : MarketplaceSubscriptionStatus ;
405- monitoringStatus? : MonitoringStatus ;
406- planData? : PlanData ;
407414 tags? : {
408415 [propertyName : string ]: string ;
409416 };
410- userInfo? : UserInfo ;
411417}
412418
413419// @public
414420export interface Monitors {
415- beginCreateOrUpdate(resourceGroupName : string , monitorName : string , resource : MonitorResource , options ? : MonitorsCreateOrUpdateOptionalParams ): Promise <PollerLike < PollOperationState <MonitorsCreateOrUpdateResponse >, MonitorsCreateOrUpdateResponse >>;
421+ beginCreateOrUpdate(resourceGroupName : string , monitorName : string , resource : MonitorResource , options ? : MonitorsCreateOrUpdateOptionalParams ): Promise <SimplePollerLike < OperationState <MonitorsCreateOrUpdateResponse >, MonitorsCreateOrUpdateResponse >>;
416422 beginCreateOrUpdateAndWait(resourceGroupName : string , monitorName : string , resource : MonitorResource , options ? : MonitorsCreateOrUpdateOptionalParams ): Promise <MonitorsCreateOrUpdateResponse >;
417- beginDelete(resourceGroupName : string , monitorName : string , options ? : MonitorsDeleteOptionalParams ): Promise <PollerLike < PollOperationState <void >, void >>;
423+ beginDelete(resourceGroupName : string , monitorName : string , options ? : MonitorsDeleteOptionalParams ): Promise <SimplePollerLike < OperationState <void >, void >>;
418424 beginDeleteAndWait(resourceGroupName : string , monitorName : string , options ? : MonitorsDeleteOptionalParams ): Promise <void >;
419425 get(resourceGroupName : string , monitorName : string , options ? : MonitorsGetOptionalParams ): Promise <MonitorsGetResponse >;
420- getAccountCredentials(resourceGroupName : string , monitorName : string , options ? : MonitorsGetAccountCredentialsOptionalParams ): Promise <MonitorsGetAccountCredentialsResponse >;
426+ getMarketplaceSaaSResourceDetails(request : MarketplaceSaaSResourceDetailsRequest , options ? : MonitorsGetMarketplaceSaaSResourceDetailsOptionalParams ): Promise <MonitorsGetMarketplaceSaaSResourceDetailsResponse >;
427+ getMetricStatus(resourceGroupName : string , monitorName : string , options ? : MonitorsGetMetricStatusOptionalParams ): Promise <MonitorsGetMetricStatusResponse >;
421428 getSSODetails(resourceGroupName : string , monitorName : string , options ? : MonitorsGetSSODetailsOptionalParams ): Promise <MonitorsGetSSODetailsResponse >;
422429 getVMHostPayload(resourceGroupName : string , monitorName : string , options ? : MonitorsGetVMHostPayloadOptionalParams ): Promise <MonitorsGetVMHostPayloadResponse >;
423430 listAppServices(resourceGroupName : string , monitorName : string , options ? : MonitorsListAppServicesOptionalParams ): PagedAsyncIterableIterator <AppServiceInfo >;
@@ -445,11 +452,18 @@ export interface MonitorsDeleteOptionalParams extends coreClient.OperationOption
445452}
446453
447454// @public
448- export interface MonitorsGetAccountCredentialsOptionalParams extends coreClient .OperationOptions {
455+ export interface MonitorsGetMarketplaceSaaSResourceDetailsOptionalParams extends coreClient .OperationOptions {
449456}
450457
451458// @public
452- export type MonitorsGetAccountCredentialsResponse = AccountInfoSecure ;
459+ export type MonitorsGetMarketplaceSaaSResourceDetailsResponse = MarketplaceSaaSResourceDetailsResponse ;
460+
461+ // @public
462+ export interface MonitorsGetMetricStatusOptionalParams extends coreClient .OperationOptions {
463+ }
464+
465+ // @public
466+ export type MonitorsGetMetricStatusResponse = MetricsStatusResponse ;
453467
454468// @public
455469export interface MonitorsGetOptionalParams extends coreClient .OperationOptions {
@@ -648,7 +662,7 @@ export type SendSubscriptionLogsStatus = string;
648662
649663// @public
650664export interface SingleSignOn {
651- beginCreateOrUpdate(resourceGroupName : string , monitorName : string , configurationName : string , resource : DynatraceSingleSignOnResource , options ? : SingleSignOnCreateOrUpdateOptionalParams ): Promise <PollerLike < PollOperationState <SingleSignOnCreateOrUpdateResponse >, SingleSignOnCreateOrUpdateResponse >>;
665+ beginCreateOrUpdate(resourceGroupName : string , monitorName : string , configurationName : string , resource : DynatraceSingleSignOnResource , options ? : SingleSignOnCreateOrUpdateOptionalParams ): Promise <SimplePollerLike < OperationState <SingleSignOnCreateOrUpdateResponse >, SingleSignOnCreateOrUpdateResponse >>;
652666 beginCreateOrUpdateAndWait(resourceGroupName : string , monitorName : string , configurationName : string , resource : DynatraceSingleSignOnResource , options ? : SingleSignOnCreateOrUpdateOptionalParams ): Promise <SingleSignOnCreateOrUpdateResponse >;
653667 get(resourceGroupName : string , monitorName : string , configurationName : string , options ? : SingleSignOnGetOptionalParams ): Promise <SingleSignOnGetResponse >;
654668 list(resourceGroupName : string , monitorName : string , options ? : SingleSignOnListOptionalParams ): PagedAsyncIterableIterator <DynatraceSingleSignOnResource >;
@@ -689,7 +703,7 @@ export type SingleSignOnStates = string;
689703
690704// @public
691705export interface SSODetailsRequest {
692- userPrincipal? : string ;
706+ userPrincipal: string ;
693707}
694708
695709// @public
@@ -733,13 +747,12 @@ export interface TagRuleListResult {
733747
734748// @public
735749export interface TagRules {
736- beginCreateOrUpdate(resourceGroupName : string , monitorName : string , ruleSetName : string , resource : TagRule , options ? : TagRulesCreateOrUpdateOptionalParams ): Promise <PollerLike < PollOperationState <TagRulesCreateOrUpdateResponse >, TagRulesCreateOrUpdateResponse >>;
750+ beginCreateOrUpdate(resourceGroupName : string , monitorName : string , ruleSetName : string , resource : TagRule , options ? : TagRulesCreateOrUpdateOptionalParams ): Promise <SimplePollerLike < OperationState <TagRulesCreateOrUpdateResponse >, TagRulesCreateOrUpdateResponse >>;
737751 beginCreateOrUpdateAndWait(resourceGroupName : string , monitorName : string , ruleSetName : string , resource : TagRule , options ? : TagRulesCreateOrUpdateOptionalParams ): Promise <TagRulesCreateOrUpdateResponse >;
738- beginDelete(resourceGroupName : string , monitorName : string , ruleSetName : string , options ? : TagRulesDeleteOptionalParams ): Promise <PollerLike < PollOperationState <void >, void >>;
752+ beginDelete(resourceGroupName : string , monitorName : string , ruleSetName : string , options ? : TagRulesDeleteOptionalParams ): Promise <SimplePollerLike < OperationState <void >, void >>;
739753 beginDeleteAndWait(resourceGroupName : string , monitorName : string , ruleSetName : string , options ? : TagRulesDeleteOptionalParams ): Promise <void >;
740754 get(resourceGroupName : string , monitorName : string , ruleSetName : string , options ? : TagRulesGetOptionalParams ): Promise <TagRulesGetResponse >;
741755 list(resourceGroupName : string , monitorName : string , options ? : TagRulesListOptionalParams ): PagedAsyncIterableIterator <TagRule >;
742- update(resourceGroupName : string , monitorName : string , ruleSetName : string , resource : TagRuleUpdate , options ? : TagRulesUpdateOptionalParams ): Promise <TagRulesUpdateResponse >;
743756}
744757
745758// @public
@@ -778,19 +791,6 @@ export interface TagRulesListOptionalParams extends coreClient.OperationOptions
778791// @public
779792export type TagRulesListResponse = TagRuleListResult ;
780793
781- // @public
782- export interface TagRulesUpdateOptionalParams extends coreClient .OperationOptions {
783- }
784-
785- // @public
786- export type TagRulesUpdateResponse = TagRule ;
787-
788- // @public
789- export interface TagRuleUpdate {
790- logRules? : LogRules ;
791- metricRules? : MetricRules ;
792- }
793-
794794// @public
795795export interface TrackedResource extends Resource {
796796 location: string ;
0 commit comments