Skip to content

Commit

Permalink
[mgmt] dynatrace release (Azure#26815)
Browse files Browse the repository at this point in the history
  • Loading branch information
kazrael2119 authored Aug 25, 2023
1 parent da25d88 commit 77c0cac
Show file tree
Hide file tree
Showing 99 changed files with 1,279 additions and 1,361 deletions.
6 changes: 3 additions & 3 deletions common/config/rush/pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

39 changes: 29 additions & 10 deletions sdk/dynatrace/arm-dynatrace/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,34 @@
# Release History

## 2.0.0 (2023-08-15)

**Features**

## 1.0.2 (Unreleased)

### Features Added

### Breaking Changes

### Bugs Fixed

### Other Changes

- Added operation Monitors.getMarketplaceSaaSResourceDetails
- Added operation Monitors.getMetricStatus
- Added Interface MarketplaceSaaSResourceDetailsRequest
- Added Interface MarketplaceSaaSResourceDetailsResponse
- Added Interface MetricsStatusResponse
- Added Interface MonitorsGetMarketplaceSaaSResourceDetailsOptionalParams
- Added Interface MonitorsGetMetricStatusOptionalParams
- Added Type Alias MonitorsGetMarketplaceSaaSResourceDetailsResponse
- Added Type Alias MonitorsGetMetricStatusResponse
- Interface MetricRules has a new optional parameter sendingMetrics

**Breaking Changes**

- Removed operation Monitors.getAccountCredentials
- Removed operation TagRules.update
- Interface MonitorResourceUpdate no longer has parameter dynatraceEnvironmentProperties
- Interface MonitorResourceUpdate no longer has parameter marketplaceSubscriptionStatus
- Interface MonitorResourceUpdate no longer has parameter monitoringStatus
- Interface MonitorResourceUpdate no longer has parameter planData
- Interface MonitorResourceUpdate no longer has parameter userInfo
- Parameter region of interface LinkableEnvironmentRequest is now required
- Parameter tenantId of interface LinkableEnvironmentRequest is now required
- Parameter userPrincipal of interface LinkableEnvironmentRequest is now required
- Parameter userPrincipal of interface SSODetailsRequest is now required

## 1.0.1 (2023-01-09)

**Features**
Expand Down
10 changes: 5 additions & 5 deletions sdk/dynatrace/arm-dynatrace/_meta.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"commit": "e24bbf6a66cb0a19c072c6f15cee163acbd7acf7",
"readme": "specification\\dynatrace\\resource-manager\\readme.md",
"autorest_command": "autorest --version=3.9.3 --typescript --modelerfour.lenient-model-deduplication --azure-arm --head-as-boolean=true --license-header=MICROSOFT_MIT_NO_VERSION --generate-test --typescript-sdks-folder=F:\\azure-sdk-for-js ..\\azure-rest-api-specs\\specification\\dynatrace\\resource-manager\\readme.md --use=@autorest/typescript@6.0.0-rc.6.20221226.1 --generate-sample=true",
"commit": "2d2d12d271c13bd1b56c1ed5e41c5f418ae46067",
"readme": "specification/dynatrace/resource-manager/readme.md",
"autorest_command": "autorest --version=3.9.3 --typescript --modelerfour.lenient-model-deduplication --azure-arm --head-as-boolean=true --license-header=MICROSOFT_MIT_NO_VERSION --generate-test --typescript-sdks-folder=F:\\azure-sdk-for-js ..\\azure-rest-api-specs\\specification\\dynatrace\\resource-manager\\readme.md --use=@autorest/typescript@6.0.5 --generate-sample=true",
"repository_url": "https://github.com/Azure/azure-rest-api-specs.git",
"release_tool": "@azure-tools/js-sdk-release-tools@2.5.4",
"use": "@autorest/typescript@6.0.0-rc.6.20221226.1"
"release_tool": "@azure-tools/js-sdk-release-tools@2.7.0",
"use": "@autorest/typescript@6.0.5"
}
2 changes: 1 addition & 1 deletion sdk/dynatrace/arm-dynatrace/assets.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
"AssetsRepo": "Azure/azure-sdk-assets",
"AssetsRepoPrefixPath": "js",
"TagPrefix": "js/dynatrace/arm-dynatrace",
"Tag": "js/dynatrace/arm-dynatrace_67e4ea5380"
"Tag": "js/dynatrace/arm-dynatrace_2eb0042c84"
}
12 changes: 6 additions & 6 deletions sdk/dynatrace/arm-dynatrace/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,15 @@
"sdk-type": "mgmt",
"author": "Microsoft Corporation",
"description": "A generated SDK for DynatraceObservability.",
"version": "1.0.2",
"version": "2.0.0",
"engines": {
"node": ">=14.0.0"
},
"dependencies": {
"@azure/core-lro": "^2.2.0",
"@azure/core-lro": "^2.5.3",
"@azure/abort-controller": "^1.0.0",
"@azure/core-paging": "^1.2.0",
"@azure/core-client": "^1.6.1",
"@azure/core-client": "^1.7.0",
"@azure/core-auth": "^1.3.0",
"@azure/core-rest-pipeline": "^1.8.0",
"tslib": "^2.2.0"
Expand All @@ -33,13 +33,13 @@
"@rollup/plugin-json": "^6.0.0",
"@rollup/plugin-multi-entry": "^6.0.0",
"@rollup/plugin-node-resolve": "^13.1.3",
"mkdirp": "^1.0.4",
"mkdirp": "^2.1.2",
"rollup": "^2.66.1",
"rollup-plugin-sourcemaps": "^0.6.3",
"typescript": "~5.0.0",
"uglify-js": "^3.4.9",
"rimraf": "^3.0.0",
"dotenv": "^8.2.0",
"dotenv": "^16.0.0",
"@azure/identity": "^2.0.1",
"@azure-tools/test-recorder": "^3.0.0",
"@azure-tools/test-credential": "^1.0.0",
Expand Down Expand Up @@ -121,4 +121,4 @@
"disableDocsMs": true,
"apiRefLink": "https://docs.microsoft.com/javascript/api/@azure/arm-dynatrace?view=azure-node-preview"
}
}
}
80 changes: 40 additions & 40 deletions sdk/dynatrace/arm-dynatrace/review/arm-dynatrace.api.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,23 +6,16 @@

import * as coreAuth from '@azure/core-auth';
import * as coreClient from '@azure/core-client';
import { OperationState } from '@azure/core-lro';
import { PagedAsyncIterableIterator } from '@azure/core-paging';
import { PollerLike } from '@azure/core-lro';
import { PollOperationState } from '@azure/core-lro';
import { SimplePollerLike } from '@azure/core-lro';

// @public
export interface AccountInfo {
accountId?: string;
regionId?: string;
}

// @public
export interface AccountInfoSecure {
readonly accountId?: string;
readonly apiKey?: string;
readonly regionId?: string;
}

// @public
export type ActionType = string;

Expand Down Expand Up @@ -323,9 +316,9 @@ export interface LinkableEnvironmentListResponse {

// @public
export interface LinkableEnvironmentRequest {
region?: string;
tenantId?: string;
userPrincipal?: string;
region: string;
tenantId: string;
userPrincipal: string;
}

// @public
Expand All @@ -349,12 +342,30 @@ export interface LogRules {
// @public
export type ManagedIdentityType = string;

// @public
export interface MarketplaceSaaSResourceDetailsRequest {
tenantId: string;
}

// @public
export interface MarketplaceSaaSResourceDetailsResponse {
marketplaceSaaSResourceId?: string;
marketplaceSubscriptionStatus?: MarketplaceSubscriptionStatus;
planId?: string;
}

// @public
export type MarketplaceSubscriptionStatus = string;

// @public
export interface MetricRules {
filteringTags?: FilteringTag[];
sendingMetrics?: SendingMetricsStatus;
}

// @public
export interface MetricsStatusResponse {
azureResourceIds?: string[];
}

// @public
Expand Down Expand Up @@ -400,24 +411,20 @@ export interface MonitorResourceListResult {

// @public
export interface MonitorResourceUpdate {
dynatraceEnvironmentProperties?: DynatraceEnvironmentProperties;
marketplaceSubscriptionStatus?: MarketplaceSubscriptionStatus;
monitoringStatus?: MonitoringStatus;
planData?: PlanData;
tags?: {
[propertyName: string]: string;
};
userInfo?: UserInfo;
}

// @public
export interface Monitors {
beginCreateOrUpdate(resourceGroupName: string, monitorName: string, resource: MonitorResource, options?: MonitorsCreateOrUpdateOptionalParams): Promise<PollerLike<PollOperationState<MonitorsCreateOrUpdateResponse>, MonitorsCreateOrUpdateResponse>>;
beginCreateOrUpdate(resourceGroupName: string, monitorName: string, resource: MonitorResource, options?: MonitorsCreateOrUpdateOptionalParams): Promise<SimplePollerLike<OperationState<MonitorsCreateOrUpdateResponse>, MonitorsCreateOrUpdateResponse>>;
beginCreateOrUpdateAndWait(resourceGroupName: string, monitorName: string, resource: MonitorResource, options?: MonitorsCreateOrUpdateOptionalParams): Promise<MonitorsCreateOrUpdateResponse>;
beginDelete(resourceGroupName: string, monitorName: string, options?: MonitorsDeleteOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
beginDelete(resourceGroupName: string, monitorName: string, options?: MonitorsDeleteOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>;
beginDeleteAndWait(resourceGroupName: string, monitorName: string, options?: MonitorsDeleteOptionalParams): Promise<void>;
get(resourceGroupName: string, monitorName: string, options?: MonitorsGetOptionalParams): Promise<MonitorsGetResponse>;
getAccountCredentials(resourceGroupName: string, monitorName: string, options?: MonitorsGetAccountCredentialsOptionalParams): Promise<MonitorsGetAccountCredentialsResponse>;
getMarketplaceSaaSResourceDetails(request: MarketplaceSaaSResourceDetailsRequest, options?: MonitorsGetMarketplaceSaaSResourceDetailsOptionalParams): Promise<MonitorsGetMarketplaceSaaSResourceDetailsResponse>;
getMetricStatus(resourceGroupName: string, monitorName: string, options?: MonitorsGetMetricStatusOptionalParams): Promise<MonitorsGetMetricStatusResponse>;
getSSODetails(resourceGroupName: string, monitorName: string, options?: MonitorsGetSSODetailsOptionalParams): Promise<MonitorsGetSSODetailsResponse>;
getVMHostPayload(resourceGroupName: string, monitorName: string, options?: MonitorsGetVMHostPayloadOptionalParams): Promise<MonitorsGetVMHostPayloadResponse>;
listAppServices(resourceGroupName: string, monitorName: string, options?: MonitorsListAppServicesOptionalParams): PagedAsyncIterableIterator<AppServiceInfo>;
Expand Down Expand Up @@ -445,11 +452,18 @@ export interface MonitorsDeleteOptionalParams extends coreClient.OperationOption
}

// @public
export interface MonitorsGetAccountCredentialsOptionalParams extends coreClient.OperationOptions {
export interface MonitorsGetMarketplaceSaaSResourceDetailsOptionalParams extends coreClient.OperationOptions {
}

// @public
export type MonitorsGetAccountCredentialsResponse = AccountInfoSecure;
export type MonitorsGetMarketplaceSaaSResourceDetailsResponse = MarketplaceSaaSResourceDetailsResponse;

// @public
export interface MonitorsGetMetricStatusOptionalParams extends coreClient.OperationOptions {
}

// @public
export type MonitorsGetMetricStatusResponse = MetricsStatusResponse;

// @public
export interface MonitorsGetOptionalParams extends coreClient.OperationOptions {
Expand Down Expand Up @@ -648,7 +662,7 @@ export type SendSubscriptionLogsStatus = string;

// @public
export interface SingleSignOn {
beginCreateOrUpdate(resourceGroupName: string, monitorName: string, configurationName: string, resource: DynatraceSingleSignOnResource, options?: SingleSignOnCreateOrUpdateOptionalParams): Promise<PollerLike<PollOperationState<SingleSignOnCreateOrUpdateResponse>, SingleSignOnCreateOrUpdateResponse>>;
beginCreateOrUpdate(resourceGroupName: string, monitorName: string, configurationName: string, resource: DynatraceSingleSignOnResource, options?: SingleSignOnCreateOrUpdateOptionalParams): Promise<SimplePollerLike<OperationState<SingleSignOnCreateOrUpdateResponse>, SingleSignOnCreateOrUpdateResponse>>;
beginCreateOrUpdateAndWait(resourceGroupName: string, monitorName: string, configurationName: string, resource: DynatraceSingleSignOnResource, options?: SingleSignOnCreateOrUpdateOptionalParams): Promise<SingleSignOnCreateOrUpdateResponse>;
get(resourceGroupName: string, monitorName: string, configurationName: string, options?: SingleSignOnGetOptionalParams): Promise<SingleSignOnGetResponse>;
list(resourceGroupName: string, monitorName: string, options?: SingleSignOnListOptionalParams): PagedAsyncIterableIterator<DynatraceSingleSignOnResource>;
Expand Down Expand Up @@ -689,7 +703,7 @@ export type SingleSignOnStates = string;

// @public
export interface SSODetailsRequest {
userPrincipal?: string;
userPrincipal: string;
}

// @public
Expand Down Expand Up @@ -733,13 +747,12 @@ export interface TagRuleListResult {

// @public
export interface TagRules {
beginCreateOrUpdate(resourceGroupName: string, monitorName: string, ruleSetName: string, resource: TagRule, options?: TagRulesCreateOrUpdateOptionalParams): Promise<PollerLike<PollOperationState<TagRulesCreateOrUpdateResponse>, TagRulesCreateOrUpdateResponse>>;
beginCreateOrUpdate(resourceGroupName: string, monitorName: string, ruleSetName: string, resource: TagRule, options?: TagRulesCreateOrUpdateOptionalParams): Promise<SimplePollerLike<OperationState<TagRulesCreateOrUpdateResponse>, TagRulesCreateOrUpdateResponse>>;
beginCreateOrUpdateAndWait(resourceGroupName: string, monitorName: string, ruleSetName: string, resource: TagRule, options?: TagRulesCreateOrUpdateOptionalParams): Promise<TagRulesCreateOrUpdateResponse>;
beginDelete(resourceGroupName: string, monitorName: string, ruleSetName: string, options?: TagRulesDeleteOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
beginDelete(resourceGroupName: string, monitorName: string, ruleSetName: string, options?: TagRulesDeleteOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>;
beginDeleteAndWait(resourceGroupName: string, monitorName: string, ruleSetName: string, options?: TagRulesDeleteOptionalParams): Promise<void>;
get(resourceGroupName: string, monitorName: string, ruleSetName: string, options?: TagRulesGetOptionalParams): Promise<TagRulesGetResponse>;
list(resourceGroupName: string, monitorName: string, options?: TagRulesListOptionalParams): PagedAsyncIterableIterator<TagRule>;
update(resourceGroupName: string, monitorName: string, ruleSetName: string, resource: TagRuleUpdate, options?: TagRulesUpdateOptionalParams): Promise<TagRulesUpdateResponse>;
}

// @public
Expand Down Expand Up @@ -778,19 +791,6 @@ export interface TagRulesListOptionalParams extends coreClient.OperationOptions
// @public
export type TagRulesListResponse = TagRuleListResult;

// @public
export interface TagRulesUpdateOptionalParams extends coreClient.OperationOptions {
}

// @public
export type TagRulesUpdateResponse = TagRule;

// @public
export interface TagRuleUpdate {
logRules?: LogRules;
metricRules?: MetricRules;
}

// @public
export interface TrackedResource extends Resource {
location: string;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ dotenv.config();
* This sample demonstrates how to Create a MonitorResource
*
* @summary Create a MonitorResource
* x-ms-original-file: specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2021-09-01/examples/Monitors_CreateOrUpdate_MaximumSet_Gen.json
* x-ms-original-file: specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2023-04-27/examples/Monitors_CreateOrUpdate_MaximumSet_Gen.json
*/
async function monitorsCreateOrUpdateMaximumSetGen() {
const subscriptionId =
Expand Down Expand Up @@ -68,7 +68,7 @@ async function monitorsCreateOrUpdateMaximumSetGen() {
* This sample demonstrates how to Create a MonitorResource
*
* @summary Create a MonitorResource
* x-ms-original-file: specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2021-09-01/examples/Monitors_CreateOrUpdate_MinimumSet_Gen.json
* x-ms-original-file: specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2023-04-27/examples/Monitors_CreateOrUpdate_MinimumSet_Gen.json
*/
async function monitorsCreateOrUpdateMinimumSetGen() {
const subscriptionId =
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ dotenv.config();
* This sample demonstrates how to Delete a MonitorResource
*
* @summary Delete a MonitorResource
* x-ms-original-file: specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2021-09-01/examples/Monitors_Delete_MaximumSet_Gen.json
* x-ms-original-file: specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2023-04-27/examples/Monitors_Delete_MaximumSet_Gen.json
*/
async function monitorsDeleteMaximumSetGen() {
const subscriptionId =
Expand All @@ -40,7 +40,7 @@ async function monitorsDeleteMaximumSetGen() {
* This sample demonstrates how to Delete a MonitorResource
*
* @summary Delete a MonitorResource
* x-ms-original-file: specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2021-09-01/examples/Monitors_Delete_MinimumSet_Gen.json
* x-ms-original-file: specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2023-04-27/examples/Monitors_Delete_MinimumSet_Gen.json
*/
async function monitorsDeleteMinimumSetGen() {
const subscriptionId =
Expand Down
Loading

0 comments on commit 77c0cac

Please sign in to comment.