Skip to content

Commit

Permalink
CodeGen from PR 28680 in Azure/azure-rest-api-specs
Browse files Browse the repository at this point in the history
Merge 7bdb5ea7420b35caaa0de32d65a54f11131b1f66 into 72d4c8cae964a12dc27ad4684b0bddf493225338
  • Loading branch information
SDKAuto committed Apr 12, 2024
1 parent 77fee43 commit de4b2df
Show file tree
Hide file tree
Showing 368 changed files with 1,200 additions and 23,069 deletions.
770 changes: 385 additions & 385 deletions common/config/rush/pnpm-lock.yaml

Large diffs are not rendered by default.

659 changes: 34 additions & 625 deletions sdk/monitor/arm-monitor/CHANGELOG.md

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions sdk/monitor/arm-monitor/_meta.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"commit": "6fc313ed7a6e926d4409d4ddb435f6532922652f",
"commit": "e9c520055571392cc35020b06d6f99b463769199",
"readme": "specification/monitor/resource-manager/readme.md",
"autorest_command": "autorest --version=3.9.7 --typescript --modelerfour.lenient-model-deduplication --azure-arm --head-as-boolean=true --license-header=MICROSOFT_MIT_NO_VERSION --generate-test --typescript-sdks-folder=D:\\Git\\azure-sdk-for-js ..\\azure-rest-api-specs\\specification\\monitor\\resource-manager\\readme.md --use=@autorest/typescript@6.0.18 --generate-sample=true",
"autorest_command": "autorest --version=3.9.7 --typescript --modelerfour.lenient-model-deduplication --azure-arm --head-as-boolean=true --license-header=MICROSOFT_MIT_NO_VERSION --generate-test --typescript-sdks-folder=/mnt/vss/_work/1/s/azure-sdk-for-js ../azure-rest-api-specs/specification/monitor/resource-manager/readme.md --use=@autorest/typescript@^6.0.12",
"repository_url": "https://github.com/Azure/azure-rest-api-specs.git",
"release_tool": "@azure-tools/js-sdk-release-tools@2.7.4",
"use": "@autorest/typescript@6.0.18"
"release_tool": "@azure-tools/js-sdk-release-tools@2.7.5",
"use": "@autorest/typescript@^6.0.12"
}
6 changes: 0 additions & 6 deletions sdk/monitor/arm-monitor/assets.json

This file was deleted.

18 changes: 3 additions & 15 deletions sdk/monitor/arm-monitor/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
"devDependencies": {
"@microsoft/api-extractor": "^7.31.1",
"mkdirp": "^2.1.2",
"typescript": "~5.4.5",
"typescript": "~5.3.3",
"uglify-js": "^3.4.9",
"rimraf": "^5.0.0",
"dotenv": "^16.0.0",
Expand All @@ -45,10 +45,6 @@
"chai": "^4.2.0",
"cross-env": "^7.0.2",
"@types/node": "^18.0.0",
"@azure/arm-eventhub": "5.2.0-beta.2",
"@azure/arm-logic": "^8.0.0",
"@azure/arm-operationalinsights": "^9.0.0",
"@azure/arm-storage": "^18.0.0",
"ts-node": "^10.0.0"
},
"repository": {
Expand Down Expand Up @@ -110,13 +106,5 @@
]
},
"autoPublish": true,
"homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/monitor/arm-monitor",
"//sampleConfiguration": {
"productName": "",
"productSlugs": [
"azure"
],
"disableDocsMs": true,
"apiRefLink": "https://docs.microsoft.com/javascript/api/@azure/arm-monitor?view=azure-node-preview"
}
}
"homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/monitor/arm-monitor"
}
114 changes: 114 additions & 0 deletions sdk/monitor/arm-monitor/review/arm-monitor.api.md
Original file line number Diff line number Diff line change
Expand Up @@ -283,6 +283,25 @@ export interface ActivityLogsListOptionalParams extends coreClient.OperationOpti
// @public
export type ActivityLogsListResponse = EventDataCollection;

// @public
export interface AdxDestination {
databaseName?: string;
readonly ingestionUri?: string;
name?: string;
resourceId?: string;
}

// @public
export interface AgentSetting {
name?: KnownAgentSettingName;
value?: string;
}

// @public
export interface AgentSettingsSpec {
logs?: AgentSetting[];
}

// @public
export type AggregationType = "None" | "Average" | "Count" | "Minimum" | "Maximum" | "Total";

Expand Down Expand Up @@ -989,19 +1008,26 @@ export type DataCollectionEndpointsUpdateResponse = DataCollectionEndpointResour

// @public
export interface DataCollectionRule {
agentSettings?: DataCollectionRuleAgentSettings;
dataCollectionEndpointId?: string;
dataFlows?: DataFlow[];
dataSources?: DataCollectionRuleDataSources;
description?: string;
destinations?: DataCollectionRuleDestinations;
readonly endpoints?: DataCollectionRuleEndpoints;
readonly immutableId?: string;
readonly metadata?: DataCollectionRuleMetadata;
readonly provisioningState?: KnownDataCollectionRuleProvisioningState;
references?: DataCollectionRuleReferences;
streamDeclarations?: {
[propertyName: string]: StreamDeclaration;
};
}

// @public
export interface DataCollectionRuleAgentSettings extends AgentSettingsSpec {
}

// @public
export interface DataCollectionRuleAssociation {
dataCollectionEndpointId?: string;
Expand Down Expand Up @@ -1122,17 +1148,27 @@ export interface DataCollectionRuleDataSources extends DataSourcesSpec {
export interface DataCollectionRuleDestinations extends DestinationsSpec {
}

// @public
export interface DataCollectionRuleEndpoints extends EndpointsSpec {
}

// @public
export interface DataCollectionRuleMetadata extends Metadata {
}

// @public
export interface DataCollectionRuleReferences extends ReferencesSpec {
}

// @public
export interface DataCollectionRuleResource {
agentSettings?: DataCollectionRuleAgentSettings;
dataCollectionEndpointId?: string;
dataFlows?: DataFlow[];
dataSources?: DataCollectionRuleDataSources;
description?: string;
destinations?: DataCollectionRuleDestinations;
readonly endpoints?: DataCollectionRuleEndpoints;
readonly etag?: string;
readonly id?: string;
identity?: DataCollectionRuleResourceIdentity;
Expand All @@ -1142,6 +1178,7 @@ export interface DataCollectionRuleResource {
readonly metadata?: DataCollectionRuleMetadata;
readonly name?: string;
readonly provisioningState?: KnownDataCollectionRuleProvisioningState;
references?: DataCollectionRuleReferences;
streamDeclarations?: {
[propertyName: string]: StreamDeclaration;
};
Expand Down Expand Up @@ -1190,6 +1227,7 @@ export type DataCollectionRulesCreateResponse = DataCollectionRuleResource;

// @public
export interface DataCollectionRulesDeleteOptionalParams extends coreClient.OperationOptions {
deleteAssociations?: boolean;
}

// @public
Expand Down Expand Up @@ -1243,6 +1281,7 @@ export interface DataContainer {
// @public
export interface DataFlow {
builtInTransform?: string;
captureOverflow?: boolean;
destinations?: string[];
outputStream?: string;
streams?: KnownDataFlowStreams[];
Expand Down Expand Up @@ -1286,10 +1325,12 @@ export interface DefaultErrorResponse {

// @public
export interface DestinationsSpec {
azureDataExplorer?: AdxDestination[];
azureMonitorMetrics?: DestinationsSpecAzureMonitorMetrics;
eventHubs?: EventHubDestination[];
eventHubsDirect?: EventHubDirectDestination[];
logAnalytics?: LogAnalyticsDestination[];
microsoftFabric?: MicrosoftFabricDestination[];
monitoringAccounts?: MonitoringAccountDestination[];
storageAccounts?: StorageBlobDestination[];
storageBlobsDirect?: StorageBlobDestination[];
Expand Down Expand Up @@ -1443,6 +1484,17 @@ export interface EnableRequest {
receiverName: string;
}

// @public
export interface EndpointsSpec {
readonly logsIngestion?: string;
readonly metricsIngestion?: string;
}

// @public
export interface EnrichmentData {
storageBlobs?: StorageBlob[];
}

// @public
export interface ErrorAdditionalInfo {
readonly info?: Record<string, unknown>;
Expand Down Expand Up @@ -1652,6 +1704,7 @@ export interface IisLogsDataSource {
logDirectories?: string[];
name?: string;
streams: string[];
transformKql?: string;
}

// @public
Expand Down Expand Up @@ -1697,6 +1750,9 @@ export enum KnownActionType {
Internal = "Internal"
}

// @public
export type KnownAgentSettingName = string;

// @public
export enum KnownAggregationTypeEnum {
Average = "Average",
Expand Down Expand Up @@ -1798,6 +1854,12 @@ export enum KnownKind {
LogToMetric = "LogToMetric"
}

// @public
export enum KnownKnownAgentSettingName {
MaxDiskQuotaInMB = "MaxDiskQuotaInMB",
UseTimeReceivedForForwardedEvents = "UseTimeReceivedForForwardedEvents"
}

// @public
export enum KnownKnownColumnDefinitionType {
Boolean = "boolean",
Expand Down Expand Up @@ -1881,6 +1943,7 @@ export enum KnownKnownLocationSpecProvisioningStatus {

// @public
export enum KnownKnownLogFilesDataSourceFormat {
Json = "json",
Text = "text"
}

Expand Down Expand Up @@ -1915,6 +1978,12 @@ export enum KnownKnownPublicNetworkAccessOptions {
SecuredByPerimeter = "SecuredByPerimeter"
}

// @public
export enum KnownKnownStorageBlobLookupType {
Cidr = "Cidr",
String = "String"
}

// @public
export enum KnownKnownSyslogDataSourceFacilityNames {
Alert = "alert",
Expand Down Expand Up @@ -1970,6 +2039,13 @@ export enum KnownKnownWindowsEventLogDataSourceStreams {
MicrosoftWindowsEvent = "Microsoft-WindowsEvent"
}

// @public
export enum KnownKnownWindowsFirewallLogsDataSourceProfileFilter {
Domain = "Domain",
Private = "Private",
Public = "Public"
}

// @public
export type KnownLocationSpecProvisioningStatus = string;

Expand Down Expand Up @@ -2111,6 +2187,9 @@ export enum KnownScaleRuleMetricDimensionOperationType {
NotEquals = "NotEquals"
}

// @public
export type KnownStorageBlobLookupType = string;

// @public
export type KnownSyslogDataSourceFacilityNames = string;

Expand All @@ -2132,6 +2211,9 @@ export enum KnownTimeAggregation {
// @public
export type KnownWindowsEventLogDataSourceStreams = string;

// @public
export type KnownWindowsFirewallLogsDataSourceProfileFilter = string;

// @public
export interface LocalizableString {
localizedValue?: string;
Expand Down Expand Up @@ -2171,6 +2253,7 @@ export interface LogFilesDataSource {
name?: string;
settings?: LogFilesDataSourceSettings;
streams: string[];
transformKql?: string;
}

// @public
Expand Down Expand Up @@ -2308,6 +2391,7 @@ export interface ManagementEventRuleCondition extends RuleCondition {
// @public
export interface Metadata {
readonly provisionedBy?: string;
readonly provisionedByImmutableId?: string;
readonly provisionedByResourceId?: string;
}

Expand Down Expand Up @@ -2723,6 +2807,15 @@ export interface MetricValue {
total?: number;
}

// @public
export interface MicrosoftFabricDestination {
artifactId?: string;
databaseName?: string;
ingestionUri?: string;
name?: string;
tenantId?: string;
}

// @public (undocumented)
export class MonitorClient extends coreClient.ServiceClient {
// (undocumented)
Expand Down Expand Up @@ -2958,6 +3051,7 @@ export interface PerfCounterDataSource {
name?: string;
samplingFrequencyInSeconds?: number;
streams?: KnownPerfCounterDataSourceStreams[];
transformKql?: string;
}

// @public
Expand Down Expand Up @@ -3292,6 +3386,15 @@ export interface RecurrentSchedule {
timeZone: string;
}

// @public
export interface ReferencesSpec {
enrichmentData?: ReferencesSpecEnrichmentData;
}

// @public
export interface ReferencesSpecEnrichmentData extends EnrichmentData {
}

// @public
export interface Resource {
readonly id?: string;
Expand Down Expand Up @@ -3699,6 +3802,14 @@ export interface SmsReceiverAutoGenerated {
readonly status?: ReceiverStatus;
}

// @public (undocumented)
export interface StorageBlob {
blobUrl?: string;
lookupType?: KnownStorageBlobLookupType;
name?: string;
resourceId?: string;
}

// @public (undocumented)
export interface StorageBlobDestination {
containerName?: string;
Expand Down Expand Up @@ -3762,6 +3873,7 @@ export interface SyslogDataSource {
logLevels?: KnownSyslogDataSourceLogLevels[];
name?: string;
streams?: KnownSyslogDataSourceStreams[];
transformKql?: string;
}

// @public
Expand Down Expand Up @@ -4032,12 +4144,14 @@ export interface WebtestLocationAvailabilityCriteria extends MetricAlertCriteria
export interface WindowsEventLogDataSource {
name?: string;
streams?: KnownWindowsEventLogDataSourceStreams[];
transformKql?: string;
xPathQueries?: string[];
}

// @public
export interface WindowsFirewallLogsDataSource {
name?: string;
profileFilter?: KnownWindowsFirewallLogsDataSourceProfileFilter[];
streams: string[];
}

Expand Down
Loading

0 comments on commit de4b2df

Please sign in to comment.