Generate @azure/arm-monitor package (#1560)

* Generate @azure/arm-monitor package

* Generate @azure/arm-monitor package
This commit is contained in:
Kamil Pajdzik 2019-03-13 18:28:41 -07:00 коммит произвёл GitHub
Родитель 3ef706719b
Коммит a1c7a11b6b
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
5 изменённых файлов: 69 добавлений и 3 удалений

Просмотреть файл

@ -1065,6 +1065,10 @@ export interface EmailReceiver {
* The email address of this receiver.
*/
emailAddress: string;
/**
* Indicates whether to use common alert schema.
*/
useCommonAlertSchema: boolean;
/**
* The receiver status of the e-mail. Possible values include: 'NotSpecified', 'Enabled',
* 'Disabled'
@ -1110,6 +1114,10 @@ export interface WebhookReceiver {
* The URI where webhooks should be sent.
*/
serviceUri: string;
/**
* Indicates whether to use common alert schema.
*/
useCommonAlertSchema: boolean;
}
/**
@ -1184,6 +1192,10 @@ export interface AutomationRunbookReceiver {
* The URI where webhooks should be sent.
*/
serviceUri?: string;
/**
* Indicates whether to use common alert schema.
*/
useCommonAlertSchema: boolean;
}
/**
@ -1222,6 +1234,10 @@ export interface LogicAppReceiver {
* The callback url where http request sent to.
*/
callbackUrl: string;
/**
* Indicates whether to use common alert schema.
*/
useCommonAlertSchema: boolean;
}
/**
@ -1245,6 +1261,10 @@ export interface AzureFunctionReceiver {
* The http trigger url where http request sent to.
*/
httpTriggerUrl: string;
/**
* Indicates whether to use common alert schema.
*/
useCommonAlertSchema: boolean;
}
/**
@ -1260,6 +1280,10 @@ export interface ArmRoleReceiver {
* The arm role id.
*/
roleId: string;
/**
* Indicates whether to use common alert schema.
*/
useCommonAlertSchema: boolean;
}
/**

Просмотреть файл

@ -1692,6 +1692,13 @@ export const EmailReceiver: msRest.CompositeMapper = {
name: "String"
}
},
useCommonAlertSchema: {
required: true,
serializedName: "useCommonAlertSchema",
type: {
name: "Boolean"
}
},
status: {
readOnly: true,
serializedName: "status",
@ -1770,6 +1777,13 @@ export const WebhookReceiver: msRest.CompositeMapper = {
type: {
name: "String"
}
},
useCommonAlertSchema: {
required: true,
serializedName: "useCommonAlertSchema",
type: {
name: "Boolean"
}
}
}
}
@ -1889,6 +1903,13 @@ export const AutomationRunbookReceiver: msRest.CompositeMapper = {
type: {
name: "String"
}
},
useCommonAlertSchema: {
required: true,
serializedName: "useCommonAlertSchema",
type: {
name: "Boolean"
}
}
}
}
@ -1951,6 +1972,13 @@ export const LogicAppReceiver: msRest.CompositeMapper = {
type: {
name: "String"
}
},
useCommonAlertSchema: {
required: true,
serializedName: "useCommonAlertSchema",
type: {
name: "Boolean"
}
}
}
}
@ -1989,6 +2017,13 @@ export const AzureFunctionReceiver: msRest.CompositeMapper = {
type: {
name: "String"
}
},
useCommonAlertSchema: {
required: true,
serializedName: "useCommonAlertSchema",
type: {
name: "Boolean"
}
}
}
}
@ -2013,6 +2048,13 @@ export const ArmRoleReceiver: msRest.CompositeMapper = {
type: {
name: "String"
}
},
useCommonAlertSchema: {
required: true,
serializedName: "useCommonAlertSchema",
type: {
name: "Boolean"
}
}
}
}

Просмотреть файл

@ -106,7 +106,7 @@ export const apiVersion3: msRest.OperationQueryParameter = {
required: true,
isConstant: true,
serializedName: "api-version",
defaultValue: '2018-09-01',
defaultValue: '2019-03-01',
type: {
name: "String"
}

Просмотреть файл

@ -13,7 +13,7 @@ import * as msRest from "@azure/ms-rest-js";
import * as msRestAzure from "@azure/ms-rest-azure-js";
const packageName = "@azure/arm-monitor";
const packageVersion = "5.2.0";
const packageVersion = "5.4.0";
export class MonitorManagementClientContext extends msRestAzure.AzureServiceClient {
credentials: msRest.ServiceClientCredentials;

Просмотреть файл

@ -2,7 +2,7 @@
"name": "@azure/arm-monitor",
"author": "Microsoft Corporation",
"description": "MonitorManagementClient Library with typescript type definitions for node.js and browser.",
"version": "5.3.0",
"version": "5.4.0",
"dependencies": {
"@azure/ms-rest-azure-js": "^1.3.2",
"@azure/ms-rest-js": "^1.6.0",