Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[AutoPR @azure/arm-security] Add Security Settings new API version #5375

Closed
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion sdk/security/arm-security/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"rollup-plugin-sourcemaps": "^0.4.2",
"uglify-js": "^3.6.0"
},
"homepage": "https://github.com/Azure/azure-sdk-for-js/tree/feature/v4/sdk/security/arm-security",
"homepage": "https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/security/arm-security",
"repository": {
"type": "git",
"url": "https://github.com/Azure/azure-sdk-for-js.git"
Expand Down
8 changes: 4 additions & 4 deletions sdk/security/arm-security/src/models/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7566,19 +7566,19 @@ export type InformationProtectionPolicyName1 = 'effective' | 'custom';

/**
* Defines values for SettingName.
* Possible values include: 'MCAS', 'WDATP', 'Sentinel'
* Possible values include: 'MCAS', 'WDATP', 'WDATP_EXCLUDE_LINUX_PUBLIC_PREVIEW', 'Sentinel'
* @readonly
* @enum {string}
*/
export type SettingName = 'MCAS' | 'WDATP' | 'Sentinel';
export type SettingName = 'MCAS' | 'WDATP' | 'WDATP_EXCLUDE_LINUX_PUBLIC_PREVIEW' | 'Sentinel';

/**
* Defines values for SettingName1.
* Possible values include: 'MCAS', 'WDATP', 'Sentinel'
* Possible values include: 'MCAS', 'WDATP', 'WDATP_EXCLUDE_LINUX_PUBLIC_PREVIEW', 'Sentinel'
* @readonly
* @enum {string}
*/
export type SettingName1 = 'MCAS' | 'WDATP' | 'Sentinel';
export type SettingName1 = 'MCAS' | 'WDATP' | 'WDATP_EXCLUDE_LINUX_PUBLIC_PREVIEW' | 'Sentinel';

/**
* Contains response data for the list operation.
Expand Down
2 changes: 1 addition & 1 deletion sdk/security/arm-security/src/models/parameters.ts
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ export const apiVersion12: msRest.OperationQueryParameter = {
required: true,
isConstant: true,
serializedName: "api-version",
defaultValue: '2021-06-01',
defaultValue: '2021-07-01',
type: {
name: "String"
}
Expand Down
18 changes: 12 additions & 6 deletions sdk/security/arm-security/src/operations/settings.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,18 +51,21 @@ export class Settings {

/**
* Settings of different configurations in security center
* @param settingName The name of the setting. Possible values include: 'MCAS', 'WDATP', 'Sentinel'
* @param settingName The name of the setting. Possible values include: 'MCAS', 'WDATP',
* 'WDATP_EXCLUDE_LINUX_PUBLIC_PREVIEW', 'Sentinel'
* @param [options] The optional parameters
* @returns Promise<Models.SettingsGetResponse>
*/
get(settingName: Models.SettingName, options?: msRest.RequestOptionsBase): Promise<Models.SettingsGetResponse>;
/**
* @param settingName The name of the setting. Possible values include: 'MCAS', 'WDATP', 'Sentinel'
* @param settingName The name of the setting. Possible values include: 'MCAS', 'WDATP',
* 'WDATP_EXCLUDE_LINUX_PUBLIC_PREVIEW', 'Sentinel'
* @param callback The callback
*/
get(settingName: Models.SettingName, callback: msRest.ServiceCallback<Models.SettingUnion>): void;
/**
* @param settingName The name of the setting. Possible values include: 'MCAS', 'WDATP', 'Sentinel'
* @param settingName The name of the setting. Possible values include: 'MCAS', 'WDATP',
* 'WDATP_EXCLUDE_LINUX_PUBLIC_PREVIEW', 'Sentinel'
* @param options The optional parameters
* @param callback The callback
*/
Expand All @@ -79,20 +82,23 @@ export class Settings {

/**
* updating settings about different configurations in security center
* @param settingName The name of the setting. Possible values include: 'MCAS', 'WDATP', 'Sentinel'
* @param settingName The name of the setting. Possible values include: 'MCAS', 'WDATP',
* 'WDATP_EXCLUDE_LINUX_PUBLIC_PREVIEW', 'Sentinel'
* @param setting Setting object
* @param [options] The optional parameters
* @returns Promise<Models.SettingsUpdateResponse>
*/
update(settingName: Models.SettingName1, setting: Models.SettingUnion, options?: msRest.RequestOptionsBase): Promise<Models.SettingsUpdateResponse>;
/**
* @param settingName The name of the setting. Possible values include: 'MCAS', 'WDATP', 'Sentinel'
* @param settingName The name of the setting. Possible values include: 'MCAS', 'WDATP',
* 'WDATP_EXCLUDE_LINUX_PUBLIC_PREVIEW', 'Sentinel'
* @param setting Setting object
* @param callback The callback
*/
update(settingName: Models.SettingName1, setting: Models.SettingUnion, callback: msRest.ServiceCallback<Models.SettingUnion>): void;
/**
* @param settingName The name of the setting. Possible values include: 'MCAS', 'WDATP', 'Sentinel'
* @param settingName The name of the setting. Possible values include: 'MCAS', 'WDATP',
* 'WDATP_EXCLUDE_LINUX_PUBLIC_PREVIEW', 'Sentinel'
* @param setting Setting object
* @param options The optional parameters
* @param callback The callback
Expand Down