From 92d5321f21372ffa0fa7ba491d4873b4ca74c7f9 Mon Sep 17 00:00:00 2001 From: "openapi-bot[bot]" <37845953+openapi-bot[bot]@users.noreply.github.com> Date: Wed, 31 Jul 2019 22:42:01 +0000 Subject: [PATCH] Generated from dea80a5e1da4b383480342bba4eca97ba55c053b (#4492) remove paging from IoTSecurityAlertedDevicesList --- sdk/security/arm-security/src/models/index.ts | 2365 ++++++------- .../arm-security/src/models/mappers.ts | 2918 +++++++++-------- .../arm-security/src/models/parameters.ts | 16 +- .../operations/adaptiveApplicationControls.ts | 6 +- .../operations/advancedThreatProtection.ts | 4 +- .../src/operations/allowedConnections.ts | 6 +- .../operations/autoProvisioningSettings.ts | 6 +- .../src/operations/compliances.ts | 4 +- .../operations/discoveredSecuritySolutions.ts | 6 +- .../operations/externalSecuritySolutions.ts | 6 +- .../arm-security/src/operations/index.ts | 16 +- .../informationProtectionPolicies.ts | 6 +- .../src/operations/ioTSecuritySolutions.ts | 2 +- .../ioTSecuritySolutionsAnalytics.ts | 4 +- ...curitySolutionsAnalyticsAggregatedAlert.ts | 4 +- ...uritySolutionsAnalyticsAggregatedAlerts.ts | 2 +- ...ecuritySolutionsAnalyticsRecommendation.ts | 2 +- ...curitySolutionsAnalyticsRecommendations.ts | 2 +- .../ioTSecuritySolutionsResourceGroup.ts | 2 +- .../src/operations/iotSecuritySolution.ts | 8 +- .../operations/jitNetworkAccessPolicies.ts | 16 +- .../arm-security/src/operations/locations.ts | 4 +- .../arm-security/src/operations/operations.ts | 2 +- .../regulatoryComplianceAssessments.ts | 4 +- .../regulatoryComplianceControls.ts | 4 +- .../regulatoryComplianceStandards.ts | 4 +- .../src/operations/securityContacts.ts | 10 +- ...serverVulnerabilityAssessmentOperations.ts | 8 +- .../arm-security/src/operations/tasks.ts | 14 +- .../arm-security/src/operations/topology.ts | 6 +- .../src/operations/workspaceSettings.ts | 10 +- .../arm-security/src/securityCenter.ts | 32 +- 32 files changed, 2799 insertions(+), 2700 deletions(-) diff --git a/sdk/security/arm-security/src/models/index.ts b/sdk/security/arm-security/src/models/index.ts index e31e22523b5d..60e3f2d9588f 100644 --- a/sdk/security/arm-security/src/models/index.ts +++ b/sdk/security/arm-security/src/models/index.ts @@ -256,51 +256,59 @@ export interface DataExportSetting extends Setting { } /** - * Describes properties of a connected resource + * A container holding only the Tags for a resource, allowing the user to update the tags. */ -export interface ConnectedResource { +export interface TagsResource { /** - * The Azure resource id of the connected resource - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Resource tags */ - readonly connectedResourceId?: string; + tags?: { [propertyName: string]: string }; +} + +/** + * Properties of the solution's user defined resources. + */ +export interface UserDefinedResourcesProperties { /** - * The allowed tcp ports - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Azure Resource Graph query which represents the security solution's user defined resources. + * Required to start with "where type != "Microsoft.Devices/IotHubs"" */ - readonly tcpPorts?: string; + query: string; /** - * The allowed udp ports - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * List of Azure subscription ids on which the user defined resources query should be executed. */ - readonly udpPorts?: string; + querySubscriptions: string[]; } /** - * Describes the allowed inbound and outbound traffic of an Azure resource + * Recommendation configuration */ -export interface ConnectableResource { +export interface RecommendationConfigurationProperties { /** - * The Azure resource id - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * The recommendation type. Possible values include: 'IoT_ACRAuthentication', + * 'IoT_AgentSendsUnutilizedMessages', 'IoT_Baseline', 'IoT_EdgeHubMemOptimize', + * 'IoT_EdgeLoggingOptions', 'IoT_InconsistentModuleSettings', 'IoT_InstallAgent', + * 'IoT_IPFilter_DenyAll', 'IoT_IPFilter_PermissiveRule', 'IoT_OpenPorts', + * 'IoT_PermissiveFirewallPolicy', 'IoT_PermissiveInputFirewallRules', + * 'IoT_PermissiveOutputFirewallRules', 'IoT_PrivilegedDockerOptions', 'IoT_SharedCredentials', + * 'IoT_VulnerableTLSCipherSuite' */ - readonly id?: string; + recommendationType: RecommendationType; /** - * The list of Azure resources that the resource has inbound allowed connection from * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly inboundConnectedResources?: ConnectedResource[]; + readonly name?: string; /** - * The list of Azure resources that the resource has outbound allowed connection to - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Recommendation status. The recommendation is not generated when the status is disabled. + * Possible values include: 'Disabled', 'Enabled'. Default value: 'Enabled'. */ - readonly outboundConnectedResources?: ConnectedResource[]; + status: RecommendationConfigStatus; } /** - * The resource whose properties describes the allowed traffic between Azure resources + * Security Solution */ -export interface AllowedConnectionsResource { +export interface IoTSecuritySolutionModel { /** * Resource Id * **NOTE: This property will not be serialized. It can only be populated by the server.** @@ -317,392 +325,325 @@ export interface AllowedConnectionsResource { */ readonly type?: string; /** - * Location where the resource is stored - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly location?: string; - /** - * The UTC time on which the allowed connections resource was calculated - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly calculatedDateTime?: Date; - /** - * List of connectable resources - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly connectableResources?: ConnectableResource[]; -} - -/** - * Describes an Azure resource with location - */ -export interface Location { - /** - * Location where the resource is stored - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Resource tags */ - readonly location?: string; -} - -/** - * An interface representing DiscoveredSecuritySolution. - */ -export interface DiscoveredSecuritySolution { + tags?: { [propertyName: string]: string }; /** - * Resource Id - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * The resource location. */ - readonly id?: string; + location?: string; /** - * Resource name - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Workspace resource ID */ - readonly name?: string; + workspace: string; /** - * Resource type - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Resource display name. */ - readonly type?: string; + displayName: string; /** - * Location where the resource is stored - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Security solution status. Possible values include: 'Enabled', 'Disabled'. Default value: + * 'Enabled'. */ - readonly location?: string; + status?: SecuritySolutionStatus; /** - * The security family of the discovered solution. Possible values include: 'Waf', 'Ngfw', - * 'SaasWaf', 'Va' + * List of additional export to workspace data options */ - securityFamily: SecurityFamily; + exportProperty?: ExportData[]; /** - * The security solutions' image offer + * Disabled data sources. Disabling these data sources compromises the system. */ - offer: string; + disabledDataSources?: DataSource[]; /** - * The security solutions' image publisher + * IoT Hub resource IDs */ - publisher: string; + iotHubs: string[]; + userDefinedResources?: UserDefinedResourcesProperties; /** - * The security solutions' image sku + * List of resources that were automatically discovered as relevant to the security solution. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - sku: string; + readonly autoDiscoveredResources?: string[]; + recommendationsConfiguration?: RecommendationConfigurationProperties[]; } /** - * Contains the possible cases for ExternalSecuritySolution. + * An interface representing UpdateIotSecuritySolutionData. */ -export type ExternalSecuritySolutionUnion = ExternalSecuritySolution | CefExternalSecuritySolution | AtaExternalSecuritySolution | AadExternalSecuritySolution; +export interface UpdateIotSecuritySolutionData extends TagsResource { + userDefinedResources?: UserDefinedResourcesProperties; + recommendationsConfiguration?: RecommendationConfigurationProperties[]; +} /** - * Represents a security solution external to Azure Security Center which sends information to an - * OMS workspace and whose data is displayed by Azure Security Center. + * Severity metrics */ -export interface ExternalSecuritySolution { - /** - * Polymorphic Discriminator - */ - kind: "ExternalSecuritySolution"; - /** - * Resource Id - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly id?: string; +export interface IoTSeverityMetrics { /** - * Resource name - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * count of high severity items */ - readonly name?: string; + high?: number; /** - * Resource type - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * count of medium severity items */ - readonly type?: string; + medium?: number; /** - * Location where the resource is stored - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * count of low severity items */ - readonly location?: string; + low?: number; } /** - * The solution properties (correspond to the solution kind) + * An interface representing IoTSecuritySolutionAnalyticsModelPropertiesDevicesMetricsItem. */ -export interface ExternalSecuritySolutionProperties { - deviceVendor?: string; - deviceType?: string; - workspace?: ConnectedWorkspace; +export interface IoTSecuritySolutionAnalyticsModelPropertiesDevicesMetricsItem { /** - * Describes unknown properties. The value of an unknown property can be of "any" type. + * the date of the metrics */ - [property: string]: any; + date?: Date; + /** + * devices alerts count by severity. + */ + devicesMetrics?: IoTSeverityMetrics; } /** - * An interface representing CefSolutionProperties. - * @summary The external security solution properties for CEF solutions + * Statistic information about the number of alerts per device during the last period */ -export interface CefSolutionProperties extends ExternalSecuritySolutionProperties { - hostname?: string; - agent?: string; - lastEventReceived?: string; +export interface IoTSecurityAlertedDevice { + /** + * Name of the alert type + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly deviceId?: string; + /** + * the number of alerts raised for this device + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly alertsCount?: number; } /** - * Represents a security solution which sends CEF logs to an OMS workspace + * List of devices with the count of raised alerts */ -export interface CefExternalSecuritySolution { +export interface IoTSecurityAlertedDevicesList { /** - * Polymorphic Discriminator + * List of aggregated alerts data */ - kind: "CEF"; + value: IoTSecurityAlertedDevice[]; /** - * Resource Id + * The URI to fetch the next page. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly id?: string; + readonly nextLink?: string; +} + +/** + * Statistic information about the number of alerts per alert type during the last period + */ +export interface IoTSecurityDeviceAlert { /** - * Resource name + * Display name of the alert * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly name?: string; + readonly alertDisplayName?: string; /** - * Resource type + * Estimated severity of this alert. Possible values include: 'Informational', 'Low', 'Medium', + * 'High' * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly type?: string; + readonly reportedSeverity?: ReportedSeverity; /** - * Location where the resource is stored + * the number of alerts raised for this alert type * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly location?: string; - properties?: CefSolutionProperties; + readonly alertsCount?: number; } /** - * An interface representing AtaSolutionProperties. - * @summary The external security solution properties for ATA solutions + * List of alerts with the count of raised alerts */ -export interface AtaSolutionProperties extends ExternalSecuritySolutionProperties { - lastEventReceived?: string; +export interface IoTSecurityDeviceAlertsList { + /** + * List of top alerts data + */ + value: IoTSecurityDeviceAlert[]; + /** + * The URI to fetch the next page. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly nextLink?: string; } /** - * Represents an ATA security solution which sends logs to an OMS workspace + * Statistic information about the number of recommendations per recommendation type */ -export interface AtaExternalSecuritySolution { +export interface IoTSecurityDeviceRecommendation { /** - * Polymorphic Discriminator + * Display name of the recommendation + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - kind: "ATA"; + readonly recommendationDisplayName?: string; /** - * Resource Id + * Estimated severity of this recommendation. Possible values include: 'Informational', 'Low', + * 'Medium', 'High' * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly id?: string; - /** - * Resource name - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly name?: string; - /** - * Resource type - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly type?: string; + readonly reportedSeverity?: ReportedSeverity; /** - * Location where the resource is stored + * the number of device with this recommendation * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly location?: string; - properties?: AtaSolutionProperties; + readonly devicesCount?: number; } /** - * An interface representing ConnectedWorkspace. - * @summary Represents an OMS workspace to which the solution is connected + * List of recommendations with the count of devices */ -export interface ConnectedWorkspace { +export interface IoTSecurityDeviceRecommendationsList { /** - * Azure resource ID of the connected OMS workspace + * List of aggregated recommendation data */ - id?: string; + value: IoTSecurityDeviceRecommendation[]; } /** - * An interface representing AadSolutionProperties. - * @summary The external security solution properties for AAD solutions + * Security Analytics of a security solution */ -export interface AadSolutionProperties { - deviceVendor?: string; - deviceType?: string; - workspace?: ConnectedWorkspace; +export interface IoTSecuritySolutionAnalyticsModel extends Resource { /** - * The connectivity state of the external AAD solution . Possible values include: 'Discovered', - * 'NotLicensed', 'Connected' + * Security Analytics of a security solution + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - connectivityState?: AadConnectivityState; -} - -/** - * Represents an AAD identity protection solution which sends logs to an OMS workspace. - */ -export interface AadExternalSecuritySolution { + readonly metrics?: IoTSeverityMetrics; /** - * Polymorphic Discriminator + * number of unhealthy devices + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - kind: "AAD"; + readonly unhealthyDeviceCount?: number; /** - * Resource Id + * The list of devices metrics by the aggregated date. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly id?: string; + readonly devicesMetrics?: IoTSecuritySolutionAnalyticsModelPropertiesDevicesMetricsItem[]; /** - * Resource name - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * The list of top 3 devices with the most attacked. */ - readonly name?: string; + topAlertedDevices?: IoTSecurityAlertedDevicesList; /** - * Resource type - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * The list of most prevalent 3 alerts. */ - readonly type?: string; + mostPrevalentDeviceAlerts?: IoTSecurityDeviceAlertsList; /** - * Location where the resource is stored - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * The list of most prevalent 3 recommendations. */ - readonly location?: string; - properties?: AadSolutionProperties; + mostPrevalentDeviceRecommendations?: IoTSecurityDeviceRecommendationsList; } /** - * Describes an Azure resource with kind + * List of Security Analytics of a security solution */ -export interface ExternalSecuritySolutionKind1 { +export interface IoTSecuritySolutionAnalyticsModelList { /** - * The kind of the external solution. Possible values include: 'CEF', 'ATA', 'AAD' + * List of Security Analytics of a security solution */ - kind?: ExternalSecuritySolutionKind; -} - -/** - * Describes an Azure resource with kind - */ -export interface AadConnectivityState1 { + value: IoTSecuritySolutionAnalyticsModel[]; /** - * The connectivity state of the external AAD solution . Possible values include: 'Discovered', - * 'NotLicensed', 'Connected' + * The URI to fetch the next page. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - connectivityState?: AadConnectivityState; + readonly nextLink?: string; } /** - * An interface representing JitNetworkAccessPortRule. + * Security Solution Aggregated Alert information */ -export interface JitNetworkAccessPortRule { - number: number; - /** - * Possible values include: 'TCP', 'UDP', 'All' - */ - protocol: Protocol; +export interface IoTSecurityAggregatedAlert { /** - * Mutually exclusive with the "allowedSourceAddressPrefixes" parameter. Should be an IP address - * or CIDR, for example "192.168.0.3" or "192.168.0.0/16". + * Resource Id + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - allowedSourceAddressPrefix?: string; + readonly id?: string; /** - * Mutually exclusive with the "allowedSourceAddressPrefix" parameter. + * Resource name + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - allowedSourceAddressPrefixes?: string[]; + readonly name?: string; /** - * Maximum duration requests can be made for. In ISO 8601 duration format. Minimum 5 minutes, - * maximum 1 day + * Resource type + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - maxRequestAccessDuration: string; -} - -/** - * An interface representing JitNetworkAccessPolicyVirtualMachine. - */ -export interface JitNetworkAccessPolicyVirtualMachine { + readonly type?: string; /** - * Resource ID of the virtual machine that is linked to this policy + * Resource tags */ - id: string; + tags?: { [propertyName: string]: string }; /** - * Port configurations for the virtual machine + * Name of the alert type + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - ports: JitNetworkAccessPortRule[]; + readonly alertType?: string; /** - * Public IP address of the Azure Firewall that is linked to this policy, if applicable + * Display name of the alert type + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - publicIpAddress?: string; -} - -/** - * An interface representing JitNetworkAccessRequestPort. - */ -export interface JitNetworkAccessRequestPort { - number: number; + readonly alertDisplayName?: string; /** - * Mutually exclusive with the "allowedSourceAddressPrefixes" parameter. Should be an IP address - * or CIDR, for example "192.168.0.3" or "192.168.0.0/16". + * The date the incidents were detected by the vendor + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - allowedSourceAddressPrefix?: string; + readonly aggregatedDateUtc?: Date; /** - * Mutually exclusive with the "allowedSourceAddressPrefix" parameter. + * Name of the vendor that discovered the incident + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - allowedSourceAddressPrefixes?: string[]; + readonly vendorName?: string; /** - * The date & time at which the request ends in UTC + * Estimated severity of this alert. Possible values include: 'Informational', 'Low', 'Medium', + * 'High' + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - endTimeUtc: Date; + readonly reportedSeverity?: ReportedSeverity; /** - * The status of the port. Possible values include: 'Revoked', 'Initiated' + * Recommended steps for remediation + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - status: Status; + readonly remediationSteps?: string; /** - * A description of why the `status` has its value. Possible values include: 'Expired', - * 'UserRequested', 'NewerRequestInitiated' + * Description of the incident and what it means + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - statusReason: StatusReason; + readonly description?: string; /** - * The port which is mapped to this port's `number` in the Azure Firewall, if applicable + * Occurrence number of the alert within the aggregated date + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - mappedPort?: number; -} - -/** - * An interface representing JitNetworkAccessRequestVirtualMachine. - */ -export interface JitNetworkAccessRequestVirtualMachine { + readonly count?: number; /** - * Resource ID of the virtual machine that is linked to this policy + * Azure resource ID of the resource that got the alerts + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - id: string; + readonly effectedResourceType?: string; /** - * The ports that were opened for the virtual machine + * The type of the alerted resource (Azure, Non-Azure) + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - ports: JitNetworkAccessRequestPort[]; -} - -/** - * An interface representing JitNetworkAccessRequest. - */ -export interface JitNetworkAccessRequest { - virtualMachines: JitNetworkAccessRequestVirtualMachine[]; + readonly type?: string; /** - * The start time of the request in UTC + * The action that was taken as a response to the alert (Active, Blocked etc.) + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - startTimeUtc: Date; + readonly actionTaken?: string; /** - * The identity of the person who made the request + * query in log analytics to get the list of affected devices/alerts + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - requestor: string; + readonly logAnalyticsQuery?: string; } /** - * An interface representing JitNetworkAccessPolicy. + * Security Solution Recommendation Information */ -export interface JitNetworkAccessPolicy { +export interface IoTSecurityAggregatedRecommendation { /** * Resource Id * **NOTE: This property will not be serialized. It can only be populated by the server.** @@ -719,182 +660,207 @@ export interface JitNetworkAccessPolicy { */ readonly type?: string; /** - * Kind of the resource + * Resource tags */ - kind?: string; + tags?: { [propertyName: string]: string }; /** - * Location where the resource is stored + * Name of the recommendation + */ + recommendationName?: string; + /** + * Display name of the recommendation type. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly location?: string; + readonly recommendationDisplayName?: string; /** - * Configurations for Microsoft.Compute/virtualMachines resource type. + * Description of the incident and what it means + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - virtualMachines: JitNetworkAccessPolicyVirtualMachine[]; - requests?: JitNetworkAccessRequest[]; + readonly description?: string; /** - * Gets the provisioning state of the Just-in-Time policy. + * The recommendation-type GUID. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly provisioningState?: string; -} - -/** - * An interface representing JitNetworkAccessPolicyInitiatePort. - */ -export interface JitNetworkAccessPolicyInitiatePort { - number: number; + readonly recommendationTypeId?: string; /** - * Source of the allowed traffic. If omitted, the request will be for the source IP address of - * the initiate request. + * Name of the vendor that discovered the issue + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - allowedSourceAddressPrefix?: string; + readonly detectedBy?: string; /** - * The time to close the request in UTC + * Recommended steps for remediation + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - endTimeUtc: Date; -} - -/** - * An interface representing JitNetworkAccessPolicyInitiateVirtualMachine. - */ -export interface JitNetworkAccessPolicyInitiateVirtualMachine { + readonly remediationSteps?: string; /** - * Resource ID of the virtual machine that is linked to this policy + * Estimated severity of this recommendation. Possible values include: 'Informational', 'Low', + * 'Medium', 'High' + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - id: string; + readonly reportedSeverity?: ReportedSeverity; /** - * The ports to open for the resource with the `id` + * the number of the healthy devices within the solution + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - ports: JitNetworkAccessPolicyInitiatePort[]; -} - -/** - * An interface representing JitNetworkAccessPolicyInitiateRequest. - */ -export interface JitNetworkAccessPolicyInitiateRequest { + readonly healthyDevices?: number; /** - * A list of virtual machines & ports to open access for + * the number of the unhealthy devices within the solution + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - virtualMachines: JitNetworkAccessPolicyInitiateVirtualMachine[]; -} - -/** - * Describes an Azure resource with kind - */ -export interface Kind { + readonly unhealthyDeviceCount?: number; /** - * Kind of the resource + * query in log analytics to get the list of affected devices/alerts + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - kind?: string; + readonly logAnalyticsQuery?: string; } /** - * Represents a summary of the alerts of the VM/server group + * Describes properties of a connected resource */ -export interface AppWhitelistingIssueSummary { +export interface ConnectedResource { /** - * Possible values include: 'ViolationsAudited', 'ViolationsBlocked', - * 'MsiAndScriptViolationsAudited', 'MsiAndScriptViolationsBlocked', - * 'ExecutableViolationsAudited', 'RulesViolatedManually' + * The Azure resource id of the connected resource + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly connectedResourceId?: string; + /** + * The allowed tcp ports + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - issue?: Issue; + readonly tcpPorts?: string; /** - * The number of machines in the VM/server group that have this alert + * The allowed udp ports + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - numberOfVms?: number; + readonly udpPorts?: string; } /** - * Represents a machine that is part of a VM/server group + * Describes the allowed inbound and outbound traffic of an Azure resource */ -export interface VmRecommendation { +export interface ConnectableResource { /** - * Possible values include: 'Configured', 'NotConfigured', 'InProgress', 'Failed', 'NoStatus' + * The Azure resource id + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - configurationStatus?: ConfigurationStatus; + readonly id?: string; /** - * Possible values include: 'Recommended', 'Add', 'Remove' + * The list of Azure resources that the resource has inbound allowed connection from + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - recommendationAction?: RecommendationAction; - resourceId?: string; + readonly inboundConnectedResources?: ConnectedResource[]; + /** + * The list of Azure resources that the resource has outbound allowed connection to + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly outboundConnectedResources?: ConnectedResource[]; } /** - * Represents the publisher information of a process/rule + * The resource whose properties describes the allowed traffic between Azure resources */ -export interface PublisherInfo { +export interface AllowedConnectionsResource { /** - * The Subject field of the x.509 certificate used to sign the code, using the following fields - - * O = Organization, L = Locality, S = State or Province, and C = Country + * Resource Id + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - publisherName?: string; + readonly id?: string; /** - * The product name taken from the file's version resource + * Resource name + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - productName?: string; + readonly name?: string; /** - * The "OriginalName" field taken from the file's version resource + * Resource type + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - binaryName?: string; + readonly type?: string; /** - * The binary file version taken from the file's version resource + * Location where the resource is stored + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - version?: string; + readonly location?: string; + /** + * The UTC time on which the allowed connections resource was calculated + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly calculatedDateTime?: Date; + /** + * List of connectable resources + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly connectableResources?: ConnectableResource[]; } /** - * Represents a user that is recommended to be allowed for a certain rule + * Describes an Azure resource with location */ -export interface UserRecommendation { - /** - * Represents a user that is recommended to be allowed for a certain rule - */ - username?: string; +export interface Location { /** - * Possible values include: 'Recommended', 'Add', 'Remove' + * Location where the resource is stored + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - recommendationAction?: RecommendationAction1; + readonly location?: string; } /** - * Represents a path that is recommended to be allowed and its properties + * An interface representing DiscoveredSecuritySolution. */ -export interface PathRecommendation { +export interface DiscoveredSecuritySolution { /** - * The full path to whitelist + * Resource Id + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - path?: string; + readonly id?: string; /** - * Possible values include: 'Recommended', 'Add', 'Remove' + * Resource name + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - action?: Action; + readonly name?: string; /** - * Possible values include: 'File', 'FileHash', 'PublisherSignature', 'ProductSignature', - * 'BinarySignature', 'VersionAndAboveSignature' + * Resource type + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - type?: Type; - publisherInfo?: PublisherInfo; + readonly type?: string; /** - * Whether the path is commonly run on the machine + * Location where the resource is stored + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - common?: boolean; - userSids?: string[]; - usernames?: UserRecommendation[]; + readonly location?: string; /** - * Possible values include: 'Exe', 'Dll', 'Msi', 'Script', 'Executable', 'Unknown' + * The security family of the discovered solution. Possible values include: 'Waf', 'Ngfw', + * 'SaasWaf', 'Va' */ - fileType?: FileType; + securityFamily: SecurityFamily; /** - * Possible values include: 'Configured', 'NotConfigured', 'InProgress', 'Failed', 'NoStatus' + * The security solutions' image offer */ - configurationStatus?: ConfigurationStatus1; + offer: string; + /** + * The security solutions' image publisher + */ + publisher: string; + /** + * The security solutions' image sku + */ + sku: string; } /** - * An interface representing AppWhitelistingGroup. + * Contains the possible cases for ExternalSecuritySolution. */ -export interface AppWhitelistingGroup { +export type ExternalSecuritySolutionUnion = ExternalSecuritySolution | CefExternalSecuritySolution | AtaExternalSecuritySolution | AadExternalSecuritySolution; + +/** + * Represents a security solution external to Azure Security Center which sends information to an + * OMS workspace and whose data is displayed by Azure Security Center. + */ +export interface ExternalSecuritySolution { + /** + * Polymorphic Discriminator + */ + kind: "ExternalSecuritySolution"; /** * Resource Id * **NOTE: This property will not be serialized. It can only be populated by the server.** @@ -915,478 +881,486 @@ export interface AppWhitelistingGroup { * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly location?: string; +} + +/** + * The solution properties (correspond to the solution kind) + */ +export interface ExternalSecuritySolutionProperties { + deviceVendor?: string; + deviceType?: string; + workspace?: ConnectedWorkspace; /** - * Possible values include: 'Audit', 'Enforce' + * Describes unknown properties. The value of an unknown property can be of "any" type. */ - enforcementMode?: EnforcementMode; + [property: string]: any; +} + +/** + * An interface representing CefSolutionProperties. + * @summary The external security solution properties for CEF solutions + */ +export interface CefSolutionProperties extends ExternalSecuritySolutionProperties { + hostname?: string; + agent?: string; + lastEventReceived?: string; +} + +/** + * Represents a security solution which sends CEF logs to an OMS workspace + */ +export interface CefExternalSecuritySolution { /** - * Possible values include: 'Configured', 'NotConfigured', 'InProgress', 'Failed', 'NoStatus' + * Polymorphic Discriminator */ - configurationStatus?: ConfigurationStatus2; + kind: "CEF"; /** - * Possible values include: 'Recommended', 'NotRecommended', 'NotAvailable', 'NoStatus' + * Resource Id + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - recommendationStatus?: RecommendationStatus; - issues?: AppWhitelistingIssueSummary[]; + readonly id?: string; /** - * Possible values include: 'Azure_AppLocker', 'Azure_AuditD', 'NonAzure_AppLocker', - * 'NonAzure_AuditD', 'None' + * Resource name + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - sourceSystem?: SourceSystem; - vmRecommendations?: VmRecommendation[]; - pathRecommendations?: PathRecommendation[]; + readonly name?: string; + /** + * Resource type + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly type?: string; + /** + * Location where the resource is stored + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly location?: string; + properties?: CefSolutionProperties; } /** - * Represents a list of VM/server groups and set of rules that are Recommended by Azure Security - * Center to be allowed + * An interface representing AtaSolutionProperties. + * @summary The external security solution properties for ATA solutions */ -export interface AppWhitelistingGroups { - value?: AppWhitelistingGroup[]; +export interface AtaSolutionProperties extends ExternalSecuritySolutionProperties { + lastEventReceived?: string; } /** - * The altered data of the recommended VM/server group policy + * Represents an ATA security solution which sends logs to an OMS workspace */ -export interface AppWhitelistingPutGroupData { +export interface AtaExternalSecuritySolution { /** - * Possible values include: 'Audit', 'Enforce' + * Polymorphic Discriminator */ - enforcementMode?: EnforcementMode1; - vmRecommendations?: VmRecommendation[]; - pathRecommendations?: PathRecommendation[]; -} - -/** - * Security operation display - */ -export interface OperationDisplay { + kind: "ATA"; /** - * The resource provider for the operation. + * Resource Id * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly provider?: string; + readonly id?: string; /** - * The display name of the resource the operation applies to. + * Resource name * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly resource?: string; + readonly name?: string; /** - * The display name of the security operation. + * Resource type * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly operation?: string; + readonly type?: string; /** - * The description of the operation. + * Location where the resource is stored * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly description?: string; + readonly location?: string; + properties?: AtaSolutionProperties; } /** - * Possible operation in the REST API of Microsoft.Security + * An interface representing ConnectedWorkspace. + * @summary Represents an OMS workspace to which the solution is connected */ -export interface Operation { +export interface ConnectedWorkspace { /** - * Name of the operation - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Azure resource ID of the connected OMS workspace */ - readonly name?: string; + id?: string; +} + +/** + * An interface representing AadSolutionProperties. + * @summary The external security solution properties for AAD solutions + */ +export interface AadSolutionProperties { + deviceVendor?: string; + deviceType?: string; + workspace?: ConnectedWorkspace; /** - * Where the operation is originated - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * The connectivity state of the external AAD solution . Possible values include: 'Discovered', + * 'NotLicensed', 'Connected' */ - readonly origin?: string; - display?: OperationDisplay; + connectivityState?: AadConnectivityState; } /** - * Changing set of properties, depending on the task type that is derived from the name field + * Represents an AAD identity protection solution which sends logs to an OMS workspace. */ -export interface SecurityTaskParameters { +export interface AadExternalSecuritySolution { /** - * Name of the task type + * Polymorphic Discriminator + */ + kind: "AAD"; + /** + * Resource Id * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly name?: string; + issue?: Issue; /** - * Describes unknown properties. The value of an unknown property can be of "any" type. + * Resource name + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - [property: string]: any; + numberOfVms?: number; } /** - * Security task that we recommend to do in order to strengthen security + * Represents a machine that is part of a VM/server group */ -export interface SecurityTask extends Resource { - /** - * State of the task (Active, Resolved etc.) - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly state?: string; - /** - * The time this task was discovered in UTC - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly creationTimeUtc?: Date; - securityTaskParameters?: SecurityTaskParameters; +export interface VmRecommendation { /** - * The time this task's details were last changed in UTC + * Resource type * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly lastStateChangeTimeUtc?: Date; + configurationStatus?: ConfigurationStatus; /** - * Additional data on the state of the task + * Location where the resource is stored * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly subState?: string; + readonly location?: string; + properties?: AadSolutionProperties; } /** - * An interface representing TopologySingleResourceParent. + * Describes an Azure resource with kind */ -export interface TopologySingleResourceParent { +export interface ExternalSecuritySolutionKind1 { /** - * Azure resource id which serves as parent resource in topology view - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * The kind of the external solution. Possible values include: 'CEF', 'ATA', 'AAD' */ - readonly resourceId?: string; + kind?: ExternalSecuritySolutionKind; } /** - * An interface representing TopologySingleResourceChild. + * Describes an Azure resource with kind */ -export interface TopologySingleResourceChild { +export interface AadConnectivityState1 { /** - * Azure resource id which serves as child resource in topology view - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * The connectivity state of the external AAD solution . Possible values include: 'Discovered', + * 'NotLicensed', 'Connected' */ - readonly resourceId?: string; + connectivityState?: AadConnectivityState; } /** - * An interface representing TopologySingleResource. + * An interface representing JitNetworkAccessPortRule. */ -export interface TopologySingleResource { - /** - * Azure resource id - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly resourceId?: string; +export interface JitNetworkAccessPortRule { + number: number; /** - * The security severity of the resource - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Possible values include: 'TCP', 'UDP', 'All' */ - readonly severity?: string; + protocol: Protocol; /** - * Indicates if the resource has security recommendations - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Mutually exclusive with the "allowedSourceAddressPrefixes" parameter. Should be an IP address + * or CIDR, for example "192.168.0.3" or "192.168.0.0/16". */ - readonly recommendationsExist?: boolean; + allowedSourceAddressPrefix?: string; /** - * Indicates the resource connectivity level to the Internet (InternetFacing, Internal ,etc.) - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Mutually exclusive with the "allowedSourceAddressPrefix" parameter. */ - readonly networkZones?: string; + allowedSourceAddressPrefixes?: string[]; /** - * Score of the resource based on its security severity - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Maximum duration requests can be made for. In ISO 8601 duration format. Minimum 5 minutes, + * maximum 1 day */ - readonly topologyScore?: number; + maxRequestAccessDuration: string; +} + +/** + * An interface representing JitNetworkAccessPolicyVirtualMachine. + */ +export interface JitNetworkAccessPolicyVirtualMachine { /** - * The location of this resource - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Resource ID of the virtual machine that is linked to this policy */ - readonly location?: string; + id: string; /** - * Azure resources connected to this resource which are in higher level in the topology view - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Port configurations for the virtual machine */ - readonly parents?: TopologySingleResourceParent[]; + ports: JitNetworkAccessPortRule[]; /** - * Azure resources connected to this resource which are in lower level in the topology view - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Public IP address of the Azure Firewall that is linked to this policy, if applicable */ - readonly children?: TopologySingleResourceChild[]; + publicIpAddress?: string; } /** - * An interface representing TopologyResource. + * An interface representing JitNetworkAccessRequestPort. */ -export interface TopologyResource { +export interface JitNetworkAccessRequestPort { + number: number; /** - * Resource Id - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Mutually exclusive with the "allowedSourceAddressPrefixes" parameter. Should be an IP address + * or CIDR, for example "192.168.0.3" or "192.168.0.0/16". */ - readonly id?: string; + allowedSourceAddressPrefix?: string; /** - * Resource name - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Mutually exclusive with the "allowedSourceAddressPrefix" parameter. */ - readonly name?: string; + allowedSourceAddressPrefixes?: string[]; /** - * Resource type - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * The date & time at which the request ends in UTC */ - readonly type?: string; + endTimeUtc: Date; /** - * Location where the resource is stored - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * The status of the port. Possible values include: 'Revoked', 'Initiated' */ - readonly location?: string; + status: Status; /** - * The UTC time on which the topology was calculated - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * A description of why the `status` has its value. Possible values include: 'Expired', + * 'UserRequested', 'NewerRequestInitiated' */ - readonly calculatedDateTime?: Date; + statusReason: StatusReason; /** - * Azure resources which are part of this topology resource - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * The port which is mapped to this port's `number` in the Azure Firewall, if applicable */ - readonly topologyResources?: TopologySingleResource[]; + mappedPort?: number; } /** - * The Advanced Threat Protection resource. + * An interface representing JitNetworkAccessRequestVirtualMachine. */ -export interface AdvancedThreatProtectionSetting extends Resource { +export interface JitNetworkAccessRequestVirtualMachine { /** - * Indicates whether Advanced Threat Protection is enabled. + * Resource ID of the virtual machine that is linked to this policy */ - isEnabled?: boolean; -} - -/** - * Auto provisioning setting - */ -export interface AutoProvisioningSetting extends Resource { + id: string; /** - * Describes what kind of security agent provisioning action to take. Possible values include: - * 'On', 'Off' + * The ports that were opened for the virtual machine */ - autoProvision: AutoProvision; + ports: JitNetworkAccessRequestPort[]; } /** - * A segment of a compliance assessment. + * An interface representing JitNetworkAccessRequest. */ -export interface ComplianceSegment { +export interface JitNetworkAccessRequest { + virtualMachines: JitNetworkAccessRequestVirtualMachine[]; /** - * The segment type, e.g. compliant, non-compliance, insufficient coverage, N/A, etc. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * The start time of the request in UTC */ - readonly segmentType?: string; + startTimeUtc: Date; /** - * The size (%) of the segment. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * The identity of the person who made the request */ - readonly percentage?: number; + requestor: string; } /** - * Compliance of a scope + * An interface representing JitNetworkAccessPolicy. */ -export interface Compliance extends Resource { +export interface JitNetworkAccessPolicy { /** - * The timestamp when the Compliance calculation was conducted. + * Resource Id * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly assessmentTimestampUtcDate?: Date; + readonly id?: string; /** - * The resource count of the given subscription for which the Compliance calculation was - * conducted (needed for Management Group Compliance calculation). + * Resource name * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly resourceCount?: number; + readonly name?: string; /** - * An array of segment, which is the actually the compliance assessment. + * Resource type * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly assessmentResult?: ComplianceSegment[]; -} - -/** - * The sensitivity label. - */ -export interface SensitivityLabel { + readonly type?: string; /** - * The name of the sensitivity label. + * Kind of the resource */ - displayName?: string; + kind?: string; /** - * The order of the sensitivity label. + * Location where the resource is stored + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - order?: number; + readonly location?: string; /** - * Indicates whether the label is enabled or not. + * Configurations for Microsoft.Compute/virtualMachines resource type. */ - enabled?: boolean; + virtualMachines: JitNetworkAccessPolicyVirtualMachine[]; + requests?: JitNetworkAccessRequest[]; + /** + * Gets the provisioning state of the Just-in-Time policy. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly provisioningState?: string; } /** - * The information type keyword. + * An interface representing JitNetworkAccessPolicyInitiatePort. */ -export interface InformationProtectionKeyword { +export interface JitNetworkAccessPolicyInitiatePort { + number: number; /** - * The keyword pattern. + * Source of the allowed traffic. If omitted, the request will be for the source IP address of + * the initiate request. */ - pattern?: string; + allowedSourceAddressPrefix?: string; /** - * Indicates whether the keyword is custom or not. + * The time to close the request in UTC */ - custom?: boolean; + endTimeUtc: Date; +} + +/** + * An interface representing JitNetworkAccessPolicyInitiateVirtualMachine. + */ +export interface JitNetworkAccessPolicyInitiateVirtualMachine { /** - * Indicates whether the keyword can be applied on numeric types or not. + * Resource ID of the virtual machine that is linked to this policy */ - canBeNumeric?: boolean; + id: string; /** - * Indicates whether the keyword is excluded or not. + * The ports to open for the resource with the `id` */ - excluded?: boolean; + ports: JitNetworkAccessPolicyInitiatePort[]; } /** - * The information type. + * An interface representing JitNetworkAccessPolicyInitiateRequest. */ -export interface InformationType { - /** - * The name of the information type. - */ - displayName?: string; - /** - * The order of the information type. - */ - order?: number; +export interface JitNetworkAccessPolicyInitiateRequest { /** - * The recommended label id to be associated with this information type. + * A list of virtual machines & ports to open access for */ - recommendedLabelId?: string; + virtualMachines: JitNetworkAccessPolicyInitiateVirtualMachine[]; +} + +/** + * Describes an Azure resource with kind + */ +export interface Kind { /** - * Indicates whether the information type is enabled or not. + * Kind of the resource */ - enabled?: boolean; + kind?: string; +} + +/** + * Represents a summary of the alerts of the VM/server group + */ +export interface AppWhitelistingIssueSummary { /** - * Indicates whether the information type is custom or not. + * Possible values include: 'ViolationsAudited', 'ViolationsBlocked', + * 'MsiAndScriptViolationsAudited', 'MsiAndScriptViolationsBlocked', + * 'ExecutableViolationsAudited', 'RulesViolatedManually' */ - custom?: boolean; + issue?: Issue; /** - * The information type keywords. + * The number of machines in the VM/server group that have this alert */ - keywords?: InformationProtectionKeyword[]; + numberOfVms?: number; } /** - * Information protection policy. + * Represents a machine that is part of a VM/server group */ -export interface InformationProtectionPolicy extends Resource { - /** - * Describes the last UTC time the policy was modified. - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly lastModifiedUtc?: Date; +export interface VmRecommendation { /** - * Dictionary of sensitivity labels. + * Possible values include: 'Configured', 'NotConfigured', 'InProgress', 'Failed', 'NoStatus' */ - labels?: { [propertyName: string]: SensitivityLabel }; + configurationStatus?: ConfigurationStatus; /** - * The sensitivity information types. + * Possible values include: 'Recommended', 'Add', 'Remove' */ - informationTypes?: { [propertyName: string]: InformationType }; + recommendationAction?: RecommendationAction; + resourceId?: string; } /** - * Contact details for security issues + * Represents the publisher information of a process/rule */ -export interface SecurityContact extends Resource { +export interface PublisherInfo { /** - * The email of this security contact + * The Subject field of the x.509 certificate used to sign the code, using the following fields - + * O = Organization, L = Locality, S = State or Province, and C = Country */ - email: string; + publisherName?: string; /** - * The phone number of this security contact + * The product name taken from the file's version resource */ - phone?: string; + productName?: string; /** - * Whether to send security alerts notifications to the security contact. Possible values - * include: 'On', 'Off' + * The "OriginalName" field taken from the file's version resource */ - alertNotifications: AlertNotifications; + binaryName?: string; /** - * Whether to send security alerts notifications to subscription admins. Possible values include: - * 'On', 'Off' + * The binary file version taken from the file's version resource */ - alertsToAdmins: AlertsToAdmins; + version?: string; } /** - * Configures where to store the OMS agent data for workspaces under a scope + * Represents a user that is recommended to be allowed for a certain rule */ -export interface WorkspaceSetting extends Resource { +export interface UserRecommendation { /** - * The full Azure ID of the workspace to save the data in + * Represents a user that is recommended to be allowed for a certain rule */ - workspaceId: string; + username?: string; /** - * All the VMs in this scope will send their security data to the mentioned workspace unless - * overridden by a setting with more specific scope + * Possible values include: 'Recommended', 'Add', 'Remove' */ - scope: string; + recommendationAction?: RecommendationAction1; } /** - * A container holding only the Tags for a resource, allowing the user to update the tags. + * Represents a path that is recommended to be allowed and its properties */ -export interface TagsResource { +export interface PathRecommendation { /** - * Resource tags + * The full path to whitelist */ - tags?: { [propertyName: string]: string }; -} - -/** - * Properties of the solution's user defined resources. - */ -export interface UserDefinedResourcesProperties { + path?: string; /** - * Azure Resource Graph query which represents the security solution's user defined resources. - * Required to start with "where type != "Microsoft.Devices/IotHubs"" + * Possible values include: 'Recommended', 'Add', 'Remove' */ - query: string; + action?: Action; /** - * List of Azure subscription ids on which the user defined resources query should be executed. + * Possible values include: 'File', 'FileHash', 'PublisherSignature', 'ProductSignature', + * 'BinarySignature', 'VersionAndAboveSignature' */ - querySubscriptions: string[]; -} - -/** - * Recommendation configuration - */ -export interface RecommendationConfigurationProperties { + type?: Type; + publisherInfo?: PublisherInfo; /** - * The recommendation type. Possible values include: 'IoT_ACRAuthentication', - * 'IoT_AgentSendsUnutilizedMessages', 'IoT_Baseline', 'IoT_EdgeHubMemOptimize', - * 'IoT_EdgeLoggingOptions', 'IoT_InconsistentModuleSettings', 'IoT_InstallAgent', - * 'IoT_IPFilter_DenyAll', 'IoT_IPFilter_PermissiveRule', 'IoT_OpenPorts', - * 'IoT_PermissiveFirewallPolicy', 'IoT_PermissiveInputFirewallRules', - * 'IoT_PermissiveOutputFirewallRules', 'IoT_PrivilegedDockerOptions', 'IoT_SharedCredentials', - * 'IoT_VulnerableTLSCipherSuite' + * Whether the path is commonly run on the machine */ - recommendationType: RecommendationType; + common?: boolean; + userSids?: string[]; + usernames?: UserRecommendation[]; /** - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Possible values include: 'Exe', 'Dll', 'Msi', 'Script', 'Executable', 'Unknown' */ - readonly name?: string; + fileType?: FileType; /** - * Recommendation status. The recommendation is not generated when the status is disabled. - * Possible values include: 'Disabled', 'Enabled'. Default value: 'Enabled'. + * Possible values include: 'Configured', 'NotConfigured', 'InProgress', 'Failed', 'NoStatus' */ - status: RecommendationConfigStatus; + configurationStatus?: ConfigurationStatus1; } /** - * Security Solution + * An interface representing AppWhitelistingGroup. */ -export interface IoTSecuritySolutionModel { +export interface AppWhitelistingGroup { /** * Resource Id * **NOTE: This property will not be serialized. It can only be populated by the server.** @@ -1403,244 +1377,209 @@ export interface IoTSecuritySolutionModel { */ readonly type?: string; /** - * Resource tags - */ - tags?: { [propertyName: string]: string }; - /** - * The resource location. - */ - location?: string; - /** - * Workspace resource ID - */ - workspace: string; - /** - * Resource display name. - */ - displayName: string; - /** - * Security solution status. Possible values include: 'Enabled', 'Disabled'. Default value: - * 'Enabled'. + * Location where the resource is stored + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - status?: SecuritySolutionStatus; + readonly location?: string; /** - * List of additional export to workspace data options + * Possible values include: 'Audit', 'Enforce' */ - exportProperty?: ExportData[]; + enforcementMode?: EnforcementMode; /** - * Disabled data sources. Disabling these data sources compromises the system. + * Possible values include: 'Configured', 'NotConfigured', 'InProgress', 'Failed', 'NoStatus' */ - disabledDataSources?: DataSource[]; + configurationStatus?: ConfigurationStatus2; /** - * IoT Hub resource IDs + * Possible values include: 'Recommended', 'NotRecommended', 'NotAvailable', 'NoStatus' */ - iotHubs: string[]; - userDefinedResources?: UserDefinedResourcesProperties; + recommendationStatus?: RecommendationStatus; + issues?: AppWhitelistingIssueSummary[]; /** - * List of resources that were automatically discovered as relevant to the security solution. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Possible values include: 'Azure_AppLocker', 'Azure_AuditD', 'NonAzure_AppLocker', + * 'NonAzure_AuditD', 'None' */ - readonly autoDiscoveredResources?: string[]; - recommendationsConfiguration?: RecommendationConfigurationProperties[]; -} - -/** - * An interface representing UpdateIotSecuritySolutionData. - */ -export interface UpdateIotSecuritySolutionData extends TagsResource { - userDefinedResources?: UserDefinedResourcesProperties; - recommendationsConfiguration?: RecommendationConfigurationProperties[]; + sourceSystem?: SourceSystem; + vmRecommendations?: VmRecommendation[]; + pathRecommendations?: PathRecommendation[]; } /** - * Severity metrics + * Represents a list of VM/server groups and set of rules that are Recommended by Azure Security + * Center to be allowed */ -export interface IoTSeverityMetrics { - /** - * count of high severity items - */ - high?: number; - /** - * count of medium severity items - */ - medium?: number; - /** - * count of low severity items - */ - low?: number; +export interface AppWhitelistingGroups { + value?: AppWhitelistingGroup[]; } /** - * An interface representing IoTSecuritySolutionAnalyticsModelPropertiesDevicesMetricsItem. + * The altered data of the recommended VM/server group policy */ -export interface IoTSecuritySolutionAnalyticsModelPropertiesDevicesMetricsItem { - /** - * the date of the metrics - */ - date?: Date; +export interface AppWhitelistingPutGroupData { /** - * devices alerts count by severity. + * Possible values include: 'Audit', 'Enforce' */ - devicesMetrics?: IoTSeverityMetrics; + enforcementMode?: EnforcementMode1; + vmRecommendations?: VmRecommendation[]; + pathRecommendations?: PathRecommendation[]; } /** - * Statistic information about the number of alerts per device during the last period + * Security operation display */ -export interface IoTSecurityAlertedDevice { +export interface OperationDisplay { /** - * Name of the alert type + * The resource provider for the operation. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly deviceId?: string; + readonly provider?: string; /** - * the number of alerts raised for this device + * The display name of the resource the operation applies to. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly alertsCount?: number; -} - -/** - * List of devices with the count of raised alerts - */ -export interface IoTSecurityAlertedDevicesList { + readonly resource?: string; /** - * List of aggregated alerts data + * The display name of the security operation. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - value: IoTSecurityAlertedDevice[]; + readonly operation?: string; /** - * The URI to fetch the next page. + * The description of the operation. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly nextLink?: string; + readonly description?: string; } /** - * Statistic information about the number of alerts per alert type during the last period + * Possible operation in the REST API of Microsoft.Security */ -export interface IoTSecurityDeviceAlert { - /** - * Display name of the alert - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly alertDisplayName?: string; +export interface Operation { /** - * Estimated severity of this alert. Possible values include: 'Informational', 'Low', 'Medium', - * 'High' + * Name of the operation * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly reportedSeverity?: ReportedSeverity; + readonly name?: string; /** - * the number of alerts raised for this alert type + * Where the operation is originated * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly alertsCount?: number; + readonly origin?: string; + display?: OperationDisplay; } /** - * List of alerts with the count of raised alerts + * Changing set of properties, depending on the task type that is derived from the name field */ -export interface IoTSecurityDeviceAlertsList { +export interface SecurityTaskParameters { /** - * List of top alerts data + * Name of the task type + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - value: IoTSecurityDeviceAlert[]; + readonly name?: string; /** - * The URI to fetch the next page. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Describes unknown properties. The value of an unknown property can be of "any" type. */ - readonly nextLink?: string; + [property: string]: any; } /** - * Statistic information about the number of recommendations per recommendation type + * Security task that we recommend to do in order to strengthen security */ -export interface IoTSecurityDeviceRecommendation { +export interface SecurityTask extends Resource { /** - * Display name of the recommendation + * State of the task (Active, Resolved etc.) * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly recommendationDisplayName?: string; + readonly state?: string; /** - * Estimated severity of this recommendation. Possible values include: 'Informational', 'Low', - * 'Medium', 'High' + * The time this task was discovered in UTC * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly reportedSeverity?: ReportedSeverity; + readonly creationTimeUtc?: Date; + securityTaskParameters?: SecurityTaskParameters; /** - * the number of device with this recommendation + * The time this task's details were last changed in UTC * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly devicesCount?: number; + readonly lastStateChangeTimeUtc?: Date; + /** + * Additional data on the state of the task + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly subState?: string; } /** - * List of recommendations with the count of devices + * An interface representing TopologySingleResourceParent. */ -export interface IoTSecurityDeviceRecommendationsList { +export interface TopologySingleResourceParent { /** - * List of aggregated recommendation data + * Azure resource id which serves as parent resource in topology view + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - value: IoTSecurityDeviceRecommendation[]; + readonly resourceId?: string; +} + +/** + * An interface representing TopologySingleResourceChild. + */ +export interface TopologySingleResourceChild { /** - * The URI to fetch the next page. + * Azure resource id which serves as child resource in topology view * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly nextLink?: string; + readonly resourceId?: string; } /** - * Security Analytics of a security solution + * An interface representing TopologySingleResource. */ -export interface IoTSecuritySolutionAnalyticsModel extends Resource { +export interface TopologySingleResource { /** - * Security Analytics of a security solution + * Azure resource id * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly metrics?: IoTSeverityMetrics; + readonly resourceId?: string; /** - * number of unhealthy devices + * The security severity of the resource * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly unhealthyDeviceCount?: number; + readonly severity?: string; /** - * The list of devices metrics by the aggregated date. + * Indicates if the resource has security recommendations * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly devicesMetrics?: IoTSecuritySolutionAnalyticsModelPropertiesDevicesMetricsItem[]; + readonly recommendationsExist?: boolean; /** - * The list of top 3 devices with the most attacked. + * Indicates the resource connectivity level to the Internet (InternetFacing, Internal ,etc.) + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - topAlertedDevices?: IoTSecurityAlertedDevicesList; + readonly networkZones?: string; /** - * The list of most prevalent 3 alerts. + * Score of the resource based on its security severity + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - mostPrevalentDeviceAlerts?: IoTSecurityDeviceAlertsList; + readonly topologyScore?: number; /** - * The list of most prevalent 3 recommendations. + * The location of this resource + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - mostPrevalentDeviceRecommendations?: IoTSecurityDeviceRecommendationsList; -} - -/** - * List of Security Analytics of a security solution - */ -export interface IoTSecuritySolutionAnalyticsModelList { + readonly location?: string; /** - * List of Security Analytics of a security solution + * Azure resources connected to this resource which are in higher level in the topology view + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - value: IoTSecuritySolutionAnalyticsModel[]; + readonly parents?: TopologySingleResourceParent[]; /** - * The URI to fetch the next page. + * Azure resources connected to this resource which are in lower level in the topology view * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly nextLink?: string; + readonly children?: TopologySingleResourceChild[]; } /** - * Security Solution Aggregated Alert information + * An interface representing TopologyResource. */ -export interface IoTSecurityAggregatedAlert { +export interface TopologyResource { /** * Resource Id * **NOTE: This property will not be serialized. It can only be populated by the server.** @@ -1657,145 +1596,207 @@ export interface IoTSecurityAggregatedAlert { */ readonly type?: string; /** - * Resource tags + * Location where the resource is stored + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - tags?: { [propertyName: string]: string }; + readonly location?: string; /** - * Name of the alert type + * The UTC time on which the topology was calculated * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly alertType?: string; + readonly calculatedDateTime?: Date; /** - * Display name of the alert type + * Azure resources which are part of this topology resource * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly alertDisplayName?: string; + readonly topologyResources?: TopologySingleResource[]; +} + +/** + * The Advanced Threat Protection resource. + */ +export interface AdvancedThreatProtectionSetting extends Resource { /** - * The date the incidents were detected by the vendor - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Indicates whether Advanced Threat Protection is enabled. */ - readonly aggregatedDateUtc?: Date; + isEnabled?: boolean; +} + +/** + * Auto provisioning setting + */ +export interface AutoProvisioningSetting extends Resource { /** - * Name of the vendor that discovered the incident - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Describes what kind of security agent provisioning action to take. Possible values include: + * 'On', 'Off' */ - readonly vendorName?: string; + autoProvision: AutoProvision; +} + +/** + * A segment of a compliance assessment. + */ +export interface ComplianceSegment { /** - * Estimated severity of this alert. Possible values include: 'Informational', 'Low', 'Medium', - * 'High' + * The segment type, e.g. compliant, non-compliance, insufficient coverage, N/A, etc. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly reportedSeverity?: ReportedSeverity; + readonly segmentType?: string; /** - * Recommended steps for remediation + * The size (%) of the segment. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly remediationSteps?: string; + readonly percentage?: number; +} + +/** + * Compliance of a scope + */ +export interface Compliance extends Resource { /** - * Description of the incident and what it means + * The timestamp when the Compliance calculation was conducted. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly description?: string; + readonly assessmentTimestampUtcDate?: Date; /** - * Occurrence number of the alert within the aggregated date + * The resource count of the given subscription for which the Compliance calculation was + * conducted (needed for Management Group Compliance calculation). * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly count?: number; + readonly resourceCount?: number; /** - * Azure resource ID of the resource that got the alerts + * An array of segment, which is the actually the compliance assessment. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly effectedResourceType?: string; + readonly assessmentResult?: ComplianceSegment[]; +} + +/** + * The sensitivity label. + */ +export interface SensitivityLabel { /** - * The type of the alerted resource (Azure, Non-Azure) - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * The name of the sensitivity label. */ - readonly systemSource?: string; + displayName?: string; /** - * The action that was taken as a response to the alert (Active, Blocked etc.) - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * The order of the sensitivity label. */ - readonly actionTaken?: string; + order?: number; /** - * query in log analytics to get the list of affected devices/alerts - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Indicates whether the label is enabled or not. */ - readonly logAnalyticsQuery?: string; + enabled?: boolean; } /** - * Security Solution Recommendation Information + * The information type keyword. */ -export interface IoTSecurityAggregatedRecommendation { +export interface InformationProtectionKeyword { + /** + * The keyword pattern. + */ + pattern?: string; + /** + * Indicates whether the keyword is custom or not. + */ + custom?: boolean; + /** + * Indicates whether the keyword can be applied on numeric types or not. + */ + canBeNumeric?: boolean; + /** + * Indicates whether the keyword is excluded or not. + */ + excluded?: boolean; +} + +/** + * The information type. + */ +export interface InformationType { + /** + * The name of the information type. + */ + displayName?: string; /** - * Resource Id - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * The order of the information type. */ - readonly id?: string; + order?: number; /** - * Resource name - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * The recommended label id to be associated with this information type. */ - readonly name?: string; + recommendedLabelId?: string; /** - * Resource type - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Indicates whether the information type is enabled or not. */ - readonly type?: string; + enabled?: boolean; /** - * Resource tags + * Indicates whether the information type is custom or not. */ - tags?: { [propertyName: string]: string }; + custom?: boolean; /** - * Name of the recommendation + * The information type keywords. */ - recommendationName?: string; + keywords?: InformationProtectionKeyword[]; +} + +/** + * Information protection policy. + */ +export interface InformationProtectionPolicy extends Resource { /** - * Display name of the recommendation type. + * Describes the last UTC time the policy was modified. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly recommendationDisplayName?: string; + readonly lastModifiedUtc?: Date; /** - * Description of the incident and what it means - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Dictionary of sensitivity labels. */ - readonly description?: string; + labels?: { [propertyName: string]: SensitivityLabel }; /** - * The recommendation-type GUID. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * The sensitivity information types. */ - readonly recommendationTypeId?: string; + informationTypes?: { [propertyName: string]: InformationType }; +} + +/** + * Contact details for security issues + */ +export interface SecurityContact extends Resource { /** - * Name of the vendor that discovered the issue - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * The email of this security contact */ - readonly detectedBy?: string; + email: string; /** - * Recommended steps for remediation - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * The phone number of this security contact */ - readonly remediationSteps?: string; + phone?: string; /** - * Estimated severity of this recommendation. Possible values include: 'Informational', 'Low', - * 'Medium', 'High' - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Whether to send security alerts notifications to the security contact. Possible values + * include: 'On', 'Off' */ - readonly reportedSeverity?: ReportedSeverity; + alertNotifications: AlertNotifications; /** - * the number of the healthy devices within the solution - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Whether to send security alerts notifications to subscription admins. Possible values include: + * 'On', 'Off' */ - readonly healthyDevices?: number; + alertsToAdmins: AlertsToAdmins; +} + +/** + * Configures where to store the OMS agent data for workspaces under a scope + */ +export interface WorkspaceSetting extends Resource { /** - * the number of the unhealthy devices within the solution - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * The full Azure ID of the workspace to save the data in */ - readonly unhealthyDeviceCount?: number; + workspaceId: string; /** - * query in log analytics to get the list of affected devices/alerts - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * All the VMs in this scope will send their security data to the mentioned workspace unless + * overridden by a setting with more specific scope */ - readonly logAnalyticsQuery?: string; + scope: string; } /** @@ -2008,23 +2009,19 @@ export interface AlertsListResourceGroupLevelAlertsByRegionOptionalParams extend /** * Optional Parameters. */ -export interface AdaptiveApplicationControlsListOptionalParams extends msRest.RequestOptionsBase { - /** - * Include the policy rules - */ - includePathRecommendations?: boolean; +export interface IoTSecuritySolutionsListOptionalParams extends msRest.RequestOptionsBase { /** - * Return output in a summarized form + * filter the Security Solution with OData syntax. supporting filter by iotHubs */ - summary?: boolean; + filter?: string; } /** * Optional Parameters. */ -export interface TasksListOptionalParams extends msRest.RequestOptionsBase { +export interface IoTSecuritySolutionsResourceGroupListOptionalParams extends msRest.RequestOptionsBase { /** - * OData filter. Optional. + * filter the Security Solution with OData syntax. supporting filter by iotHubs */ filter?: string; } @@ -2032,39 +2029,43 @@ export interface TasksListOptionalParams extends msRest.RequestOptionsBase { /** * Optional Parameters. */ -export interface TasksListByHomeRegionOptionalParams extends msRest.RequestOptionsBase { +export interface IoTSecuritySolutionsAnalyticsAggregatedAlertsListOptionalParams extends msRest.RequestOptionsBase { /** - * OData filter. Optional. + * The number of results to retrieve. */ - filter?: string; + top?: number; } /** * Optional Parameters. */ -export interface TasksListByResourceGroupOptionalParams extends msRest.RequestOptionsBase { +export interface IoTSecuritySolutionsAnalyticsRecommendationsListOptionalParams extends msRest.RequestOptionsBase { /** - * OData filter. Optional. + * The number of results to retrieve. */ - filter?: string; + top?: number; } /** * Optional Parameters. */ -export interface IoTSecuritySolutionsListOptionalParams extends msRest.RequestOptionsBase { +export interface AdaptiveApplicationControlsListOptionalParams extends msRest.RequestOptionsBase { /** - * filter the Security Solution with OData syntax. supporting filter by iotHubs + * Include the policy rules */ - filter?: string; + includePathRecommendations?: boolean; + /** + * Return output in a summarized form + */ + summary?: boolean; } /** * Optional Parameters. */ -export interface IoTSecuritySolutionsResourceGroupListOptionalParams extends msRest.RequestOptionsBase { +export interface TasksListOptionalParams extends msRest.RequestOptionsBase { /** - * filter the Security Solution with OData syntax. supporting filter by iotHubs + * OData filter. Optional. */ filter?: string; } @@ -2072,21 +2073,21 @@ export interface IoTSecuritySolutionsResourceGroupListOptionalParams extends msR /** * Optional Parameters. */ -export interface IoTSecuritySolutionsAnalyticsAggregatedAlertsListOptionalParams extends msRest.RequestOptionsBase { +export interface TasksListByHomeRegionOptionalParams extends msRest.RequestOptionsBase { /** - * The number of results to retrieve. + * OData filter. Optional. */ - top?: number; + filter?: string; } /** * Optional Parameters. */ -export interface IoTSecuritySolutionsAnalyticsRecommendationsListOptionalParams extends msRest.RequestOptionsBase { +export interface TasksListByResourceGroupOptionalParams extends msRest.RequestOptionsBase { /** - * The number of results to retrieve. + * OData filter. Optional. */ - top?: number; + filter?: string; } /** @@ -2165,6 +2166,45 @@ export interface SettingsList extends Array { readonly nextLink?: string; } +/** + * @interface + * List of iot solutions + * @extends Array + */ +export interface IoTSecuritySolutionsList extends Array { + /** + * The URI to fetch the next page. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly nextLink?: string; +} + +/** + * @interface + * List of IoT aggregated security alerts + * @extends Array + */ +export interface IoTSecurityAggregatedAlertList extends Array { + /** + * The URI to fetch the next page. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly nextLink?: string; +} + +/** + * @interface + * List of IoT aggregated security recommendations + * @extends Array + */ +export interface IoTSecurityAggregatedRecommendationList extends Array { + /** + * The URI to fetch the next page. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly nextLink?: string; +} + /** * @interface * List of all possible traffic between Azure resources @@ -2334,45 +2374,6 @@ export interface WorkspaceSettingList extends Array { readonly nextLink?: string; } -/** - * @interface - * List of iot solutions - * @extends Array - */ -export interface IoTSecuritySolutionsList extends Array { - /** - * The URI to fetch the next page. - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly nextLink?: string; -} - -/** - * @interface - * List of IoT aggregated security alerts - * @extends Array - */ -export interface IoTSecurityAggregatedAlertList extends Array { - /** - * The URI to fetch the next page. - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly nextLink?: string; -} - -/** - * @interface - * List of IoT aggregated security recommendations - * @extends Array - */ -export interface IoTSecurityAggregatedRecommendationList extends Array { - /** - * The URI to fetch the next page. - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly nextLink?: string; -} - /** * @interface * List of regulatory compliance standards response @@ -2434,15 +2435,60 @@ export type PricingTier = 'Free' | 'Standard'; * @readonly * @enum {string} */ -export type ReportedSeverity = 'Informational' | 'Low' | 'Medium' | 'High'; +export type ReportedSeverity = 'Informational' | 'Low' | 'Medium' | 'High'; + +/** + * Defines values for SettingKind. + * Possible values include: 'DataExportSetting', 'AlertSuppressionSetting' + * @readonly + * @enum {string} + */ +export type SettingKind = 'DataExportSetting' | 'AlertSuppressionSetting'; + +/** + * Defines values for SecuritySolutionStatus. + * Possible values include: 'Enabled', 'Disabled' + * @readonly + * @enum {string} + */ +export type SecuritySolutionStatus = 'Enabled' | 'Disabled'; + +/** + * Defines values for ExportData. + * Possible values include: 'RawEvents' + * @readonly + * @enum {string} + */ +export type ExportData = 'RawEvents'; + +/** + * Defines values for DataSource. + * Possible values include: 'TwinData' + * @readonly + * @enum {string} + */ +export type DataSource = 'TwinData'; + +/** + * Defines values for RecommendationType. + * Possible values include: 'IoT_ACRAuthentication', 'IoT_AgentSendsUnutilizedMessages', + * 'IoT_Baseline', 'IoT_EdgeHubMemOptimize', 'IoT_EdgeLoggingOptions', + * 'IoT_InconsistentModuleSettings', 'IoT_InstallAgent', 'IoT_IPFilter_DenyAll', + * 'IoT_IPFilter_PermissiveRule', 'IoT_OpenPorts', 'IoT_PermissiveFirewallPolicy', + * 'IoT_PermissiveInputFirewallRules', 'IoT_PermissiveOutputFirewallRules', + * 'IoT_PrivilegedDockerOptions', 'IoT_SharedCredentials', 'IoT_VulnerableTLSCipherSuite' + * @readonly + * @enum {string} + */ +export type RecommendationType = 'IoT_ACRAuthentication' | 'IoT_AgentSendsUnutilizedMessages' | 'IoT_Baseline' | 'IoT_EdgeHubMemOptimize' | 'IoT_EdgeLoggingOptions' | 'IoT_InconsistentModuleSettings' | 'IoT_InstallAgent' | 'IoT_IPFilter_DenyAll' | 'IoT_IPFilter_PermissiveRule' | 'IoT_OpenPorts' | 'IoT_PermissiveFirewallPolicy' | 'IoT_PermissiveInputFirewallRules' | 'IoT_PermissiveOutputFirewallRules' | 'IoT_PrivilegedDockerOptions' | 'IoT_SharedCredentials' | 'IoT_VulnerableTLSCipherSuite'; /** - * Defines values for SettingKind. - * Possible values include: 'DataExportSetting', 'AlertSuppressionSetting' + * Defines values for RecommendationConfigStatus. + * Possible values include: 'Disabled', 'Enabled' * @readonly * @enum {string} */ -export type SettingKind = 'DataExportSetting' | 'AlertSuppressionSetting'; +export type RecommendationConfigStatus = 'Disabled' | 'Enabled'; /** * Defines values for SecurityFamily. @@ -2516,51 +2562,6 @@ export type AlertNotifications = 'On' | 'Off'; */ export type AlertsToAdmins = 'On' | 'Off'; -/** - * Defines values for SecuritySolutionStatus. - * Possible values include: 'Enabled', 'Disabled' - * @readonly - * @enum {string} - */ -export type SecuritySolutionStatus = 'Enabled' | 'Disabled'; - -/** - * Defines values for ExportData. - * Possible values include: 'RawEvents' - * @readonly - * @enum {string} - */ -export type ExportData = 'RawEvents'; - -/** - * Defines values for DataSource. - * Possible values include: 'TwinData' - * @readonly - * @enum {string} - */ -export type DataSource = 'TwinData'; - -/** - * Defines values for RecommendationType. - * Possible values include: 'IoT_ACRAuthentication', 'IoT_AgentSendsUnutilizedMessages', - * 'IoT_Baseline', 'IoT_EdgeHubMemOptimize', 'IoT_EdgeLoggingOptions', - * 'IoT_InconsistentModuleSettings', 'IoT_InstallAgent', 'IoT_IPFilter_DenyAll', - * 'IoT_IPFilter_PermissiveRule', 'IoT_OpenPorts', 'IoT_PermissiveFirewallPolicy', - * 'IoT_PermissiveInputFirewallRules', 'IoT_PermissiveOutputFirewallRules', - * 'IoT_PrivilegedDockerOptions', 'IoT_SharedCredentials', 'IoT_VulnerableTLSCipherSuite' - * @readonly - * @enum {string} - */ -export type RecommendationType = 'IoT_ACRAuthentication' | 'IoT_AgentSendsUnutilizedMessages' | 'IoT_Baseline' | 'IoT_EdgeHubMemOptimize' | 'IoT_EdgeLoggingOptions' | 'IoT_InconsistentModuleSettings' | 'IoT_InstallAgent' | 'IoT_IPFilter_DenyAll' | 'IoT_IPFilter_PermissiveRule' | 'IoT_OpenPorts' | 'IoT_PermissiveFirewallPolicy' | 'IoT_PermissiveInputFirewallRules' | 'IoT_PermissiveOutputFirewallRules' | 'IoT_PrivilegedDockerOptions' | 'IoT_SharedCredentials' | 'IoT_VulnerableTLSCipherSuite'; - -/** - * Defines values for RecommendationConfigStatus. - * Possible values include: 'Disabled', 'Enabled' - * @readonly - * @enum {string} - */ -export type RecommendationConfigStatus = 'Disabled' | 'Enabled'; - /** * Defines values for State. * Possible values include: 'Passed', 'Failed', 'Skipped', 'Unsupported' @@ -3160,7 +3161,7 @@ export type SettingsListNextResponse = SettingsList & { /** * Contains response data for the list operation. */ -export type AllowedConnectionsListResponse = AllowedConnectionsList & { +export type IoTSecuritySolutionsListResponse = IoTSecuritySolutionsList & { /** * The underlying HTTP response. */ @@ -3173,14 +3174,14 @@ export type AllowedConnectionsListResponse = AllowedConnectionsList & { /** * The response body as parsed JSON or XML */ - parsedBody: AllowedConnectionsList; + parsedBody: IoTSecuritySolutionsList; }; }; /** - * Contains response data for the listByHomeRegion operation. + * Contains response data for the listNext operation. */ -export type AllowedConnectionsListByHomeRegionResponse = AllowedConnectionsList & { +export type IoTSecuritySolutionsListNextResponse = IoTSecuritySolutionsList & { /** * The underlying HTTP response. */ @@ -3193,14 +3194,14 @@ export type AllowedConnectionsListByHomeRegionResponse = AllowedConnectionsList /** * The response body as parsed JSON or XML */ - parsedBody: AllowedConnectionsList; + parsedBody: IoTSecuritySolutionsList; }; }; /** - * Contains response data for the get operation. + * Contains response data for the list operation. */ -export type AllowedConnectionsGetResponse = AllowedConnectionsResource & { +export type IoTSecuritySolutionsResourceGroupListResponse = IoTSecuritySolutionsList & { /** * The underlying HTTP response. */ @@ -3213,14 +3214,14 @@ export type AllowedConnectionsGetResponse = AllowedConnectionsResource & { /** * The response body as parsed JSON or XML */ - parsedBody: AllowedConnectionsResource; + parsedBody: IoTSecuritySolutionsList; }; }; /** * Contains response data for the listNext operation. */ -export type AllowedConnectionsListNextResponse = AllowedConnectionsList & { +export type IoTSecuritySolutionsResourceGroupListNextResponse = IoTSecuritySolutionsList & { /** * The underlying HTTP response. */ @@ -3233,14 +3234,14 @@ export type AllowedConnectionsListNextResponse = AllowedConnectionsList & { /** * The response body as parsed JSON or XML */ - parsedBody: AllowedConnectionsList; + parsedBody: IoTSecuritySolutionsList; }; }; /** - * Contains response data for the listByHomeRegionNext operation. + * Contains response data for the get operation. */ -export type AllowedConnectionsListByHomeRegionNextResponse = AllowedConnectionsList & { +export type IotSecuritySolutionGetResponse = IoTSecuritySolutionModel & { /** * The underlying HTTP response. */ @@ -3253,14 +3254,14 @@ export type AllowedConnectionsListByHomeRegionNextResponse = AllowedConnectionsL /** * The response body as parsed JSON or XML */ - parsedBody: AllowedConnectionsList; + parsedBody: IoTSecuritySolutionModel; }; }; /** - * Contains response data for the list operation. + * Contains response data for the create operation. */ -export type DiscoveredSecuritySolutionsListResponse = DiscoveredSecuritySolutionList & { +export type IotSecuritySolutionCreateResponse = IoTSecuritySolutionModel & { /** * The underlying HTTP response. */ @@ -3273,14 +3274,14 @@ export type DiscoveredSecuritySolutionsListResponse = DiscoveredSecuritySolution /** * The response body as parsed JSON or XML */ - parsedBody: DiscoveredSecuritySolutionList; + parsedBody: IoTSecuritySolutionModel; }; }; /** - * Contains response data for the listByHomeRegion operation. + * Contains response data for the update operation. */ -export type DiscoveredSecuritySolutionsListByHomeRegionResponse = DiscoveredSecuritySolutionList & { +export type IotSecuritySolutionUpdateResponse = IoTSecuritySolutionModel & { /** * The underlying HTTP response. */ @@ -3293,14 +3294,14 @@ export type DiscoveredSecuritySolutionsListByHomeRegionResponse = DiscoveredSecu /** * The response body as parsed JSON or XML */ - parsedBody: DiscoveredSecuritySolutionList; + parsedBody: IoTSecuritySolutionModel; }; }; /** - * Contains response data for the get operation. + * Contains response data for the getAll operation. */ -export type DiscoveredSecuritySolutionsGetResponse = DiscoveredSecuritySolution & { +export type IoTSecuritySolutionsAnalyticsGetAllResponse = IoTSecuritySolutionAnalyticsModelList & { /** * The underlying HTTP response. */ @@ -3313,14 +3314,14 @@ export type DiscoveredSecuritySolutionsGetResponse = DiscoveredSecuritySolution /** * The response body as parsed JSON or XML */ - parsedBody: DiscoveredSecuritySolution; + parsedBody: IoTSecuritySolutionAnalyticsModelList; }; }; /** - * Contains response data for the listNext operation. + * Contains response data for the getDefault operation. */ -export type DiscoveredSecuritySolutionsListNextResponse = DiscoveredSecuritySolutionList & { +export type IoTSecuritySolutionsAnalyticsGetDefaultResponse = IoTSecuritySolutionAnalyticsModel & { /** * The underlying HTTP response. */ @@ -3333,14 +3334,14 @@ export type DiscoveredSecuritySolutionsListNextResponse = DiscoveredSecuritySolu /** * The response body as parsed JSON or XML */ - parsedBody: DiscoveredSecuritySolutionList; + parsedBody: IoTSecuritySolutionAnalyticsModel; }; }; /** - * Contains response data for the listByHomeRegionNext operation. + * Contains response data for the listNext operation. */ -export type DiscoveredSecuritySolutionsListByHomeRegionNextResponse = DiscoveredSecuritySolutionList & { +export type IoTSecuritySolutionsAnalyticsAggregatedAlertsListResponse = IoTSecurityAggregatedAlertList & { /** * The underlying HTTP response. */ @@ -3353,14 +3354,14 @@ export type DiscoveredSecuritySolutionsListByHomeRegionNextResponse = Discovered /** * The response body as parsed JSON or XML */ - parsedBody: DiscoveredSecuritySolutionList; + parsedBody: IoTSecurityAggregatedAlertList; }; }; /** - * Contains response data for the list operation. + * Contains response data for the listNext operation. */ -export type ExternalSecuritySolutionsListResponse = ExternalSecuritySolutionList & { +export type IoTSecuritySolutionsAnalyticsAggregatedAlertsListNextResponse = IoTSecurityAggregatedAlertList & { /** * The underlying HTTP response. */ @@ -3373,14 +3374,14 @@ export type ExternalSecuritySolutionsListResponse = ExternalSecuritySolutionList /** * The response body as parsed JSON or XML */ - parsedBody: ExternalSecuritySolutionList; + parsedBody: IoTSecurityAggregatedAlertList; }; }; /** - * Contains response data for the listByHomeRegion operation. + * Contains response data for the get operation. */ -export type ExternalSecuritySolutionsListByHomeRegionResponse = ExternalSecuritySolutionList & { +export type IoTSecuritySolutionsAnalyticsAggregatedAlertGetResponse = IoTSecurityAggregatedAlert & { /** * The underlying HTTP response. */ @@ -3393,14 +3394,14 @@ export type ExternalSecuritySolutionsListByHomeRegionResponse = ExternalSecurity /** * The response body as parsed JSON or XML */ - parsedBody: ExternalSecuritySolutionList; + parsedBody: IoTSecurityAggregatedAlert; }; }; /** * Contains response data for the get operation. */ -export type ExternalSecuritySolutionsGetResponse = ExternalSecuritySolutionUnion & { +export type IoTSecuritySolutionsAnalyticsRecommendationGetResponse = IoTSecurityAggregatedRecommendation & { /** * The underlying HTTP response. */ @@ -3413,14 +3414,14 @@ export type ExternalSecuritySolutionsGetResponse = ExternalSecuritySolutionUnion /** * The response body as parsed JSON or XML */ - parsedBody: ExternalSecuritySolutionUnion; + parsedBody: IoTSecurityAggregatedRecommendation; }; }; /** - * Contains response data for the listNext operation. + * Contains response data for the list operation. */ -export type ExternalSecuritySolutionsListNextResponse = ExternalSecuritySolutionList & { +export type IoTSecuritySolutionsAnalyticsRecommendationsListResponse = IoTSecurityAggregatedRecommendationList & { /** * The underlying HTTP response. */ @@ -3433,14 +3434,14 @@ export type ExternalSecuritySolutionsListNextResponse = ExternalSecuritySolution /** * The response body as parsed JSON or XML */ - parsedBody: ExternalSecuritySolutionList; + parsedBody: IoTSecurityAggregatedRecommendationList; }; }; /** - * Contains response data for the listByHomeRegionNext operation. + * Contains response data for the listNext operation. */ -export type ExternalSecuritySolutionsListByHomeRegionNextResponse = ExternalSecuritySolutionList & { +export type IoTSecuritySolutionsAnalyticsRecommendationsListNextResponse = IoTSecurityAggregatedRecommendationList & { /** * The underlying HTTP response. */ @@ -3453,14 +3454,14 @@ export type ExternalSecuritySolutionsListByHomeRegionNextResponse = ExternalSecu /** * The response body as parsed JSON or XML */ - parsedBody: ExternalSecuritySolutionList; + parsedBody: IoTSecurityAggregatedRecommendationList; }; }; /** * Contains response data for the list operation. */ -export type JitNetworkAccessPoliciesListResponse = JitNetworkAccessPoliciesList & { +export type AllowedConnectionsListResponse = AllowedConnectionsList & { /** * The underlying HTTP response. */ @@ -3473,14 +3474,14 @@ export type JitNetworkAccessPoliciesListResponse = JitNetworkAccessPoliciesList /** * The response body as parsed JSON or XML */ - parsedBody: JitNetworkAccessPoliciesList; + parsedBody: AllowedConnectionsList; }; }; /** - * Contains response data for the listByRegion operation. + * Contains response data for the listByHomeRegion operation. */ -export type JitNetworkAccessPoliciesListByRegionResponse = JitNetworkAccessPoliciesList & { +export type AllowedConnectionsListByHomeRegionResponse = AllowedConnectionsList & { /** * The underlying HTTP response. */ @@ -3493,14 +3494,14 @@ export type JitNetworkAccessPoliciesListByRegionResponse = JitNetworkAccessPolic /** * The response body as parsed JSON or XML */ - parsedBody: JitNetworkAccessPoliciesList; + parsedBody: AllowedConnectionsList; }; }; /** - * Contains response data for the listByResourceGroup operation. + * Contains response data for the get operation. */ -export type JitNetworkAccessPoliciesListByResourceGroupResponse = JitNetworkAccessPoliciesList & { +export type AllowedConnectionsGetResponse = AllowedConnectionsResource & { /** * The underlying HTTP response. */ @@ -3513,14 +3514,14 @@ export type JitNetworkAccessPoliciesListByResourceGroupResponse = JitNetworkAcce /** * The response body as parsed JSON or XML */ - parsedBody: JitNetworkAccessPoliciesList; + parsedBody: AllowedConnectionsResource; }; }; /** - * Contains response data for the listByResourceGroupAndRegion operation. + * Contains response data for the listNext operation. */ -export type JitNetworkAccessPoliciesListByResourceGroupAndRegionResponse = JitNetworkAccessPoliciesList & { +export type AllowedConnectionsListNextResponse = AllowedConnectionsList & { /** * The underlying HTTP response. */ @@ -3533,14 +3534,14 @@ export type JitNetworkAccessPoliciesListByResourceGroupAndRegionResponse = JitNe /** * The response body as parsed JSON or XML */ - parsedBody: JitNetworkAccessPoliciesList; + parsedBody: AllowedConnectionsList; }; }; /** - * Contains response data for the get operation. + * Contains response data for the listByHomeRegionNext operation. */ -export type JitNetworkAccessPoliciesGetResponse = JitNetworkAccessPolicy & { +export type AllowedConnectionsListByHomeRegionNextResponse = AllowedConnectionsList & { /** * The underlying HTTP response. */ @@ -3553,14 +3554,14 @@ export type JitNetworkAccessPoliciesGetResponse = JitNetworkAccessPolicy & { /** * The response body as parsed JSON or XML */ - parsedBody: JitNetworkAccessPolicy; + parsedBody: AllowedConnectionsList; }; }; /** - * Contains response data for the createOrUpdate operation. + * Contains response data for the list operation. */ -export type JitNetworkAccessPoliciesCreateOrUpdateResponse = JitNetworkAccessPolicy & { +export type DiscoveredSecuritySolutionsListResponse = DiscoveredSecuritySolutionList & { /** * The underlying HTTP response. */ @@ -3573,14 +3574,14 @@ export type JitNetworkAccessPoliciesCreateOrUpdateResponse = JitNetworkAccessPol /** * The response body as parsed JSON or XML */ - parsedBody: JitNetworkAccessPolicy; + parsedBody: DiscoveredSecuritySolutionList; }; }; /** - * Contains response data for the initiate operation. + * Contains response data for the listByHomeRegion operation. */ -export type JitNetworkAccessPoliciesInitiateResponse = JitNetworkAccessRequest & { +export type DiscoveredSecuritySolutionsListByHomeRegionResponse = DiscoveredSecuritySolutionList & { /** * The underlying HTTP response. */ @@ -3593,14 +3594,14 @@ export type JitNetworkAccessPoliciesInitiateResponse = JitNetworkAccessRequest & /** * The response body as parsed JSON or XML */ - parsedBody: JitNetworkAccessRequest; + parsedBody: DiscoveredSecuritySolutionList; }; }; /** - * Contains response data for the listNext operation. + * Contains response data for the get operation. */ -export type JitNetworkAccessPoliciesListNextResponse = JitNetworkAccessPoliciesList & { +export type DiscoveredSecuritySolutionsGetResponse = DiscoveredSecuritySolution & { /** * The underlying HTTP response. */ @@ -3613,14 +3614,14 @@ export type JitNetworkAccessPoliciesListNextResponse = JitNetworkAccessPoliciesL /** * The response body as parsed JSON or XML */ - parsedBody: JitNetworkAccessPoliciesList; + parsedBody: DiscoveredSecuritySolution; }; }; /** - * Contains response data for the listByRegionNext operation. + * Contains response data for the listNext operation. */ -export type JitNetworkAccessPoliciesListByRegionNextResponse = JitNetworkAccessPoliciesList & { +export type DiscoveredSecuritySolutionsListNextResponse = DiscoveredSecuritySolutionList & { /** * The underlying HTTP response. */ @@ -3633,14 +3634,14 @@ export type JitNetworkAccessPoliciesListByRegionNextResponse = JitNetworkAccessP /** * The response body as parsed JSON or XML */ - parsedBody: JitNetworkAccessPoliciesList; + parsedBody: DiscoveredSecuritySolutionList; }; }; /** - * Contains response data for the listByResourceGroupNext operation. + * Contains response data for the listByHomeRegionNext operation. */ -export type JitNetworkAccessPoliciesListByResourceGroupNextResponse = JitNetworkAccessPoliciesList & { +export type DiscoveredSecuritySolutionsListByHomeRegionNextResponse = DiscoveredSecuritySolutionList & { /** * The underlying HTTP response. */ @@ -3653,14 +3654,14 @@ export type JitNetworkAccessPoliciesListByResourceGroupNextResponse = JitNetwork /** * The response body as parsed JSON or XML */ - parsedBody: JitNetworkAccessPoliciesList; + parsedBody: DiscoveredSecuritySolutionList; }; }; /** - * Contains response data for the listByResourceGroupAndRegionNext operation. + * Contains response data for the list operation. */ -export type JitNetworkAccessPoliciesListByResourceGroupAndRegionNextResponse = JitNetworkAccessPoliciesList & { +export type ExternalSecuritySolutionsListResponse = ExternalSecuritySolutionList & { /** * The underlying HTTP response. */ @@ -3673,14 +3674,14 @@ export type JitNetworkAccessPoliciesListByResourceGroupAndRegionNextResponse = J /** * The response body as parsed JSON or XML */ - parsedBody: JitNetworkAccessPoliciesList; + parsedBody: ExternalSecuritySolutionList; }; }; /** - * Contains response data for the list operation. + * Contains response data for the listByHomeRegion operation. */ -export type AdaptiveApplicationControlsListResponse = AppWhitelistingGroups & { +export type ExternalSecuritySolutionsListByHomeRegionResponse = ExternalSecuritySolutionList & { /** * The underlying HTTP response. */ @@ -3693,14 +3694,14 @@ export type AdaptiveApplicationControlsListResponse = AppWhitelistingGroups & { /** * The response body as parsed JSON or XML */ - parsedBody: AppWhitelistingGroups; + parsedBody: ExternalSecuritySolutionList; }; }; /** * Contains response data for the get operation. */ -export type AdaptiveApplicationControlsGetResponse = AppWhitelistingGroup & { +export type ExternalSecuritySolutionsGetResponse = ExternalSecuritySolutionUnion & { /** * The underlying HTTP response. */ @@ -3713,14 +3714,14 @@ export type AdaptiveApplicationControlsGetResponse = AppWhitelistingGroup & { /** * The response body as parsed JSON or XML */ - parsedBody: AppWhitelistingGroup; + parsedBody: ExternalSecuritySolutionUnion; }; }; /** - * Contains response data for the put operation. + * Contains response data for the listNext operation. */ -export type AdaptiveApplicationControlsPutResponse = AppWhitelistingGroup & { +export type ExternalSecuritySolutionsListNextResponse = ExternalSecuritySolutionList & { /** * The underlying HTTP response. */ @@ -3733,14 +3734,34 @@ export type AdaptiveApplicationControlsPutResponse = AppWhitelistingGroup & { /** * The response body as parsed JSON or XML */ - parsedBody: AppWhitelistingGroup; + parsedBody: ExternalSecuritySolutionList; + }; +}; + +/** + * Contains response data for the listByHomeRegionNext operation. + */ +export type ExternalSecuritySolutionsListByHomeRegionNextResponse = ExternalSecuritySolutionList & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: ExternalSecuritySolutionList; }; }; /** * Contains response data for the list operation. */ -export type LocationsListResponse = AscLocationList & { +export type JitNetworkAccessPoliciesListResponse = JitNetworkAccessPoliciesList & { /** * The underlying HTTP response. */ @@ -3753,14 +3774,14 @@ export type LocationsListResponse = AscLocationList & { /** * The response body as parsed JSON or XML */ - parsedBody: AscLocationList; + parsedBody: JitNetworkAccessPoliciesList; }; }; /** - * Contains response data for the get operation. + * Contains response data for the listByRegion operation. */ -export type LocationsGetResponse = AscLocation & { +export type JitNetworkAccessPoliciesListByRegionResponse = JitNetworkAccessPoliciesList & { /** * The underlying HTTP response. */ @@ -3773,14 +3794,14 @@ export type LocationsGetResponse = AscLocation & { /** * The response body as parsed JSON or XML */ - parsedBody: AscLocation; + parsedBody: JitNetworkAccessPoliciesList; }; }; /** - * Contains response data for the listNext operation. + * Contains response data for the listByResourceGroup operation. */ -export type LocationsListNextResponse = AscLocationList & { +export type JitNetworkAccessPoliciesListByResourceGroupResponse = JitNetworkAccessPoliciesList & { /** * The underlying HTTP response. */ @@ -3793,14 +3814,14 @@ export type LocationsListNextResponse = AscLocationList & { /** * The response body as parsed JSON or XML */ - parsedBody: AscLocationList; + parsedBody: JitNetworkAccessPoliciesList; }; }; /** - * Contains response data for the list operation. + * Contains response data for the listByResourceGroupAndRegion operation. */ -export type OperationsListResponse = OperationList & { +export type JitNetworkAccessPoliciesListByResourceGroupAndRegionResponse = JitNetworkAccessPoliciesList & { /** * The underlying HTTP response. */ @@ -3813,14 +3834,14 @@ export type OperationsListResponse = OperationList & { /** * The response body as parsed JSON or XML */ - parsedBody: OperationList; + parsedBody: JitNetworkAccessPoliciesList; }; }; /** * Contains response data for the listNext operation. */ -export type OperationsListNextResponse = OperationList & { +export type JitNetworkAccessPoliciesGetResponse = JitNetworkAccessPolicy & { /** * The underlying HTTP response. */ @@ -3833,14 +3854,14 @@ export type OperationsListNextResponse = OperationList & { /** * The response body as parsed JSON or XML */ - parsedBody: OperationList; + parsedBody: JitNetworkAccessPolicy; }; }; /** - * Contains response data for the list operation. + * Contains response data for the createOrUpdate operation. */ -export type TasksListResponse = SecurityTaskList & { +export type JitNetworkAccessPoliciesCreateOrUpdateResponse = JitNetworkAccessPolicy & { /** * The underlying HTTP response. */ @@ -3853,14 +3874,14 @@ export type TasksListResponse = SecurityTaskList & { /** * The response body as parsed JSON or XML */ - parsedBody: SecurityTaskList; + parsedBody: JitNetworkAccessPolicy; }; }; /** - * Contains response data for the listByHomeRegion operation. + * Contains response data for the initiate operation. */ -export type TasksListByHomeRegionResponse = SecurityTaskList & { +export type JitNetworkAccessPoliciesInitiateResponse = JitNetworkAccessRequest & { /** * The underlying HTTP response. */ @@ -3873,14 +3894,14 @@ export type TasksListByHomeRegionResponse = SecurityTaskList & { /** * The response body as parsed JSON or XML */ - parsedBody: SecurityTaskList; + parsedBody: JitNetworkAccessRequest; }; }; /** - * Contains response data for the getSubscriptionLevelTask operation. + * Contains response data for the listNext operation. */ -export type TasksGetSubscriptionLevelTaskResponse = SecurityTask & { +export type JitNetworkAccessPoliciesListNextResponse = JitNetworkAccessPoliciesList & { /** * The underlying HTTP response. */ @@ -3893,14 +3914,14 @@ export type TasksGetSubscriptionLevelTaskResponse = SecurityTask & { /** * The response body as parsed JSON or XML */ - parsedBody: SecurityTask; + parsedBody: JitNetworkAccessPoliciesList; }; }; /** - * Contains response data for the listByResourceGroup operation. + * Contains response data for the listByRegionNext operation. */ -export type TasksListByResourceGroupResponse = SecurityTaskList & { +export type JitNetworkAccessPoliciesListByRegionNextResponse = JitNetworkAccessPoliciesList & { /** * The underlying HTTP response. */ @@ -3913,14 +3934,14 @@ export type TasksListByResourceGroupResponse = SecurityTaskList & { /** * The response body as parsed JSON or XML */ - parsedBody: SecurityTaskList; + parsedBody: JitNetworkAccessPoliciesList; }; }; /** - * Contains response data for the getResourceGroupLevelTask operation. + * Contains response data for the listByResourceGroupNext operation. */ -export type TasksGetResourceGroupLevelTaskResponse = SecurityTask & { +export type JitNetworkAccessPoliciesListByResourceGroupNextResponse = JitNetworkAccessPoliciesList & { /** * The underlying HTTP response. */ @@ -3933,14 +3954,14 @@ export type TasksGetResourceGroupLevelTaskResponse = SecurityTask & { /** * The response body as parsed JSON or XML */ - parsedBody: SecurityTask; + parsedBody: JitNetworkAccessPoliciesList; }; }; /** - * Contains response data for the listNext operation. + * Contains response data for the listByResourceGroupAndRegionNext operation. */ -export type TasksListNextResponse = SecurityTaskList & { +export type JitNetworkAccessPoliciesListByResourceGroupAndRegionNextResponse = JitNetworkAccessPoliciesList & { /** * The underlying HTTP response. */ @@ -3953,14 +3974,14 @@ export type TasksListNextResponse = SecurityTaskList & { /** * The response body as parsed JSON or XML */ - parsedBody: SecurityTaskList; + parsedBody: JitNetworkAccessPoliciesList; }; }; /** - * Contains response data for the listByHomeRegionNext operation. + * Contains response data for the list operation. */ -export type TasksListByHomeRegionNextResponse = SecurityTaskList & { +export type AdaptiveApplicationControlsListResponse = AppWhitelistingGroups & { /** * The underlying HTTP response. */ @@ -3973,14 +3994,14 @@ export type TasksListByHomeRegionNextResponse = SecurityTaskList & { /** * The response body as parsed JSON or XML */ - parsedBody: SecurityTaskList; + parsedBody: AppWhitelistingGroups; }; }; /** - * Contains response data for the listByResourceGroupNext operation. + * Contains response data for the get operation. */ -export type TasksListByResourceGroupNextResponse = SecurityTaskList & { +export type AdaptiveApplicationControlsGetResponse = AppWhitelistingGroup & { /** * The underlying HTTP response. */ @@ -3993,14 +4014,14 @@ export type TasksListByResourceGroupNextResponse = SecurityTaskList & { /** * The response body as parsed JSON or XML */ - parsedBody: SecurityTaskList; + parsedBody: AppWhitelistingGroup; }; }; /** - * Contains response data for the list operation. + * Contains response data for the put operation. */ -export type TopologyListResponse = TopologyList & { +export type AdaptiveApplicationControlsPutResponse = AppWhitelistingGroup & { /** * The underlying HTTP response. */ @@ -4013,14 +4034,14 @@ export type TopologyListResponse = TopologyList & { /** * The response body as parsed JSON or XML */ - parsedBody: TopologyList; + parsedBody: AppWhitelistingGroup; }; }; /** * Contains response data for the listByHomeRegion operation. */ -export type TopologyListByHomeRegionResponse = TopologyList & { +export type LocationsListResponse = AscLocationList & { /** * The underlying HTTP response. */ @@ -4033,14 +4054,14 @@ export type TopologyListByHomeRegionResponse = TopologyList & { /** * The response body as parsed JSON or XML */ - parsedBody: TopologyList; + parsedBody: AscLocationList; }; }; /** * Contains response data for the get operation. */ -export type TopologyGetResponse = TopologyResource & { +export type LocationsGetResponse = AscLocation & { /** * The underlying HTTP response. */ @@ -4053,14 +4074,14 @@ export type TopologyGetResponse = TopologyResource & { /** * The response body as parsed JSON or XML */ - parsedBody: TopologyResource; + parsedBody: AscLocation; }; }; /** * Contains response data for the listNext operation. */ -export type TopologyListNextResponse = TopologyList & { +export type LocationsListNextResponse = AscLocationList & { /** * The underlying HTTP response. */ @@ -4078,9 +4099,9 @@ export type TopologyListNextResponse = TopologyList & { }; /** - * Contains response data for the listByHomeRegionNext operation. + * Contains response data for the list operation. */ -export type TopologyListByHomeRegionNextResponse = TopologyList & { +export type OperationsListResponse = OperationList & { /** * The underlying HTTP response. */ @@ -4093,14 +4114,14 @@ export type TopologyListByHomeRegionNextResponse = TopologyList & { /** * The response body as parsed JSON or XML */ - parsedBody: TopologyList; + parsedBody: OperationList; }; }; /** * Contains response data for the get operation. */ -export type AdvancedThreatProtectionGetResponse = AdvancedThreatProtectionSetting & { +export type OperationsListNextResponse = OperationList & { /** * The underlying HTTP response. */ @@ -4113,7 +4134,7 @@ export type AdvancedThreatProtectionGetResponse = AdvancedThreatProtectionSettin /** * The response body as parsed JSON or XML */ - parsedBody: AdvancedThreatProtectionSetting; + parsedBody: OperationList; }; }; @@ -4253,14 +4274,14 @@ export type CompliancesGetResponse = Compliance & { /** * The response body as parsed JSON or XML */ - parsedBody: Compliance; + parsedBody: ComplianceList; }; }; /** - * Contains response data for the listNext operation. + * Contains response data for the listByResourceGroupNext operation. */ -export type CompliancesListNextResponse = ComplianceList & { +export type TasksListByResourceGroupNextResponse = SecurityTaskList & { /** * The underlying HTTP response. */ @@ -4273,14 +4294,14 @@ export type CompliancesListNextResponse = ComplianceList & { /** * The response body as parsed JSON or XML */ - parsedBody: ComplianceList; + parsedBody: SecurityTaskList; }; }; /** - * Contains response data for the get operation. + * Contains response data for the list operation. */ -export type InformationProtectionPoliciesGetResponse = InformationProtectionPolicy & { +export type TopologyListResponse = TopologyList & { /** * The underlying HTTP response. */ @@ -4293,14 +4314,14 @@ export type InformationProtectionPoliciesGetResponse = InformationProtectionPoli /** * The response body as parsed JSON or XML */ - parsedBody: InformationProtectionPolicy; + parsedBody: TopologyList; }; }; /** - * Contains response data for the createOrUpdate operation. + * Contains response data for the listByHomeRegion operation. */ -export type InformationProtectionPoliciesCreateOrUpdateResponse = InformationProtectionPolicy & { +export type TopologyListByHomeRegionResponse = TopologyList & { /** * The underlying HTTP response. */ @@ -4313,14 +4334,14 @@ export type InformationProtectionPoliciesCreateOrUpdateResponse = InformationPro /** * The response body as parsed JSON or XML */ - parsedBody: InformationProtectionPolicy; + parsedBody: TopologyList; }; }; /** - * Contains response data for the list operation. + * Contains response data for the get operation. */ -export type InformationProtectionPoliciesListResponse = InformationProtectionPolicyList & { +export type TopologyGetResponse = TopologyResource & { /** * The underlying HTTP response. */ @@ -4333,14 +4354,14 @@ export type InformationProtectionPoliciesListResponse = InformationProtectionPol /** * The response body as parsed JSON or XML */ - parsedBody: InformationProtectionPolicyList; + parsedBody: TopologyResource; }; }; /** * Contains response data for the listNext operation. */ -export type InformationProtectionPoliciesListNextResponse = InformationProtectionPolicyList & { +export type TopologyListNextResponse = TopologyList & { /** * The underlying HTTP response. */ @@ -4353,14 +4374,14 @@ export type InformationProtectionPoliciesListNextResponse = InformationProtectio /** * The response body as parsed JSON or XML */ - parsedBody: InformationProtectionPolicyList; + parsedBody: TopologyList; }; }; /** - * Contains response data for the list operation. + * Contains response data for the listByHomeRegionNext operation. */ -export type SecurityContactsListResponse = SecurityContactList & { +export type TopologyListByHomeRegionNextResponse = TopologyList & { /** * The underlying HTTP response. */ @@ -4373,14 +4394,14 @@ export type SecurityContactsListResponse = SecurityContactList & { /** * The response body as parsed JSON or XML */ - parsedBody: SecurityContactList; + parsedBody: TopologyList; }; }; /** * Contains response data for the get operation. */ -export type SecurityContactsGetResponse = SecurityContact & { +export type AdvancedThreatProtectionGetResponse = AdvancedThreatProtectionSetting & { /** * The underlying HTTP response. */ @@ -4393,14 +4414,14 @@ export type SecurityContactsGetResponse = SecurityContact & { /** * The response body as parsed JSON or XML */ - parsedBody: SecurityContact; + parsedBody: AdvancedThreatProtectionSetting; }; }; /** * Contains response data for the create operation. */ -export type SecurityContactsCreateResponse = SecurityContact & { +export type AdvancedThreatProtectionCreateResponse = AdvancedThreatProtectionSetting & { /** * The underlying HTTP response. */ @@ -4413,14 +4434,14 @@ export type SecurityContactsCreateResponse = SecurityContact & { /** * The response body as parsed JSON or XML */ - parsedBody: SecurityContact; + parsedBody: AdvancedThreatProtectionSetting; }; }; /** - * Contains response data for the update operation. + * Contains response data for the list operation. */ -export type SecurityContactsUpdateResponse = SecurityContact & { +export type AutoProvisioningSettingsListResponse = AutoProvisioningSettingList & { /** * The underlying HTTP response. */ @@ -4433,14 +4454,14 @@ export type SecurityContactsUpdateResponse = SecurityContact & { /** * The response body as parsed JSON or XML */ - parsedBody: SecurityContact; + parsedBody: AutoProvisioningSettingList; }; }; /** - * Contains response data for the listNext operation. + * Contains response data for the get operation. */ -export type SecurityContactsListNextResponse = SecurityContactList & { +export type AutoProvisioningSettingsGetResponse = AutoProvisioningSetting & { /** * The underlying HTTP response. */ @@ -4453,14 +4474,14 @@ export type SecurityContactsListNextResponse = SecurityContactList & { /** * The response body as parsed JSON or XML */ - parsedBody: SecurityContactList; + parsedBody: AutoProvisioningSetting; }; }; /** - * Contains response data for the list operation. + * Contains response data for the create operation. */ -export type WorkspaceSettingsListResponse = WorkspaceSettingList & { +export type AutoProvisioningSettingsCreateResponse = AutoProvisioningSetting & { /** * The underlying HTTP response. */ @@ -4473,14 +4494,14 @@ export type WorkspaceSettingsListResponse = WorkspaceSettingList & { /** * The response body as parsed JSON or XML */ - parsedBody: WorkspaceSettingList; + parsedBody: AutoProvisioningSetting; }; }; /** - * Contains response data for the get operation. + * Contains response data for the listNext operation. */ -export type WorkspaceSettingsGetResponse = WorkspaceSetting & { +export type AutoProvisioningSettingsListNextResponse = AutoProvisioningSettingList & { /** * The underlying HTTP response. */ @@ -4493,14 +4514,14 @@ export type WorkspaceSettingsGetResponse = WorkspaceSetting & { /** * The response body as parsed JSON or XML */ - parsedBody: WorkspaceSetting; + parsedBody: AutoProvisioningSettingList; }; }; /** - * Contains response data for the create operation. + * Contains response data for the list operation. */ -export type WorkspaceSettingsCreateResponse = WorkspaceSetting & { +export type CompliancesListResponse = ComplianceList & { /** * The underlying HTTP response. */ @@ -4513,14 +4534,14 @@ export type WorkspaceSettingsCreateResponse = WorkspaceSetting & { /** * The response body as parsed JSON or XML */ - parsedBody: WorkspaceSetting; + parsedBody: ComplianceList; }; }; /** - * Contains response data for the update operation. + * Contains response data for the get operation. */ -export type WorkspaceSettingsUpdateResponse = WorkspaceSetting & { +export type CompliancesGetResponse = Compliance & { /** * The underlying HTTP response. */ @@ -4533,14 +4554,14 @@ export type WorkspaceSettingsUpdateResponse = WorkspaceSetting & { /** * The response body as parsed JSON or XML */ - parsedBody: WorkspaceSetting; + parsedBody: Compliance; }; }; /** * Contains response data for the listNext operation. */ -export type WorkspaceSettingsListNextResponse = WorkspaceSettingList & { +export type CompliancesListNextResponse = ComplianceList & { /** * The underlying HTTP response. */ @@ -4553,14 +4574,14 @@ export type WorkspaceSettingsListNextResponse = WorkspaceSettingList & { /** * The response body as parsed JSON or XML */ - parsedBody: WorkspaceSettingList; + parsedBody: ComplianceList; }; }; /** - * Contains response data for the list operation. + * Contains response data for the get operation. */ -export type IoTSecuritySolutionsListResponse = IoTSecuritySolutionsList & { +export type InformationProtectionPoliciesGetResponse = InformationProtectionPolicy & { /** * The underlying HTTP response. */ @@ -4573,14 +4594,14 @@ export type IoTSecuritySolutionsListResponse = IoTSecuritySolutionsList & { /** * The response body as parsed JSON or XML */ - parsedBody: IoTSecuritySolutionsList; + parsedBody: InformationProtectionPolicy; }; }; /** - * Contains response data for the listNext operation. + * Contains response data for the createOrUpdate operation. */ -export type IoTSecuritySolutionsListNextResponse = IoTSecuritySolutionsList & { +export type InformationProtectionPoliciesCreateOrUpdateResponse = InformationProtectionPolicy & { /** * The underlying HTTP response. */ @@ -4593,14 +4614,14 @@ export type IoTSecuritySolutionsListNextResponse = IoTSecuritySolutionsList & { /** * The response body as parsed JSON or XML */ - parsedBody: IoTSecuritySolutionsList; + parsedBody: InformationProtectionPolicy; }; }; /** * Contains response data for the list operation. */ -export type IoTSecuritySolutionsResourceGroupListResponse = IoTSecuritySolutionsList & { +export type InformationProtectionPoliciesListResponse = InformationProtectionPolicyList & { /** * The underlying HTTP response. */ @@ -4613,14 +4634,14 @@ export type IoTSecuritySolutionsResourceGroupListResponse = IoTSecuritySolutions /** * The response body as parsed JSON or XML */ - parsedBody: IoTSecuritySolutionsList; + parsedBody: InformationProtectionPolicyList; }; }; /** * Contains response data for the listNext operation. */ -export type IoTSecuritySolutionsResourceGroupListNextResponse = IoTSecuritySolutionsList & { +export type InformationProtectionPoliciesListNextResponse = InformationProtectionPolicyList & { /** * The underlying HTTP response. */ @@ -4633,14 +4654,14 @@ export type IoTSecuritySolutionsResourceGroupListNextResponse = IoTSecuritySolut /** * The response body as parsed JSON or XML */ - parsedBody: IoTSecuritySolutionsList; + parsedBody: InformationProtectionPolicyList; }; }; /** - * Contains response data for the get operation. + * Contains response data for the list operation. */ -export type IotSecuritySolutionGetResponse = IoTSecuritySolutionModel & { +export type SecurityContactsListResponse = SecurityContactList & { /** * The underlying HTTP response. */ @@ -4653,14 +4674,14 @@ export type IotSecuritySolutionGetResponse = IoTSecuritySolutionModel & { /** * The response body as parsed JSON or XML */ - parsedBody: IoTSecuritySolutionModel; + parsedBody: SecurityContactList; }; }; /** - * Contains response data for the create operation. + * Contains response data for the get operation. */ -export type IotSecuritySolutionCreateResponse = IoTSecuritySolutionModel & { +export type SecurityContactsGetResponse = SecurityContact & { /** * The underlying HTTP response. */ @@ -4673,14 +4694,14 @@ export type IotSecuritySolutionCreateResponse = IoTSecuritySolutionModel & { /** * The response body as parsed JSON or XML */ - parsedBody: IoTSecuritySolutionModel; + parsedBody: SecurityContact; }; }; /** - * Contains response data for the update operation. + * Contains response data for the create operation. */ -export type IotSecuritySolutionUpdateResponse = IoTSecuritySolutionModel & { +export type SecurityContactsCreateResponse = SecurityContact & { /** * The underlying HTTP response. */ @@ -4693,14 +4714,14 @@ export type IotSecuritySolutionUpdateResponse = IoTSecuritySolutionModel & { /** * The response body as parsed JSON or XML */ - parsedBody: IoTSecuritySolutionModel; + parsedBody: SecurityContact; }; }; /** - * Contains response data for the getAll operation. + * Contains response data for the update operation. */ -export type IoTSecuritySolutionsAnalyticsGetAllResponse = IoTSecuritySolutionAnalyticsModelList & { +export type SecurityContactsUpdateResponse = SecurityContact & { /** * The underlying HTTP response. */ @@ -4713,14 +4734,14 @@ export type IoTSecuritySolutionsAnalyticsGetAllResponse = IoTSecuritySolutionAna /** * The response body as parsed JSON or XML */ - parsedBody: IoTSecuritySolutionAnalyticsModelList; + parsedBody: SecurityContact; }; }; /** - * Contains response data for the getDefault operation. + * Contains response data for the listNext operation. */ -export type IoTSecuritySolutionsAnalyticsGetDefaultResponse = IoTSecuritySolutionAnalyticsModel & { +export type SecurityContactsListNextResponse = SecurityContactList & { /** * The underlying HTTP response. */ @@ -4733,34 +4754,14 @@ export type IoTSecuritySolutionsAnalyticsGetDefaultResponse = IoTSecuritySolutio /** * The response body as parsed JSON or XML */ - parsedBody: IoTSecuritySolutionAnalyticsModel; + parsedBody: SecurityContactList; }; }; /** * Contains response data for the list operation. */ -export type IoTSecuritySolutionsAnalyticsAggregatedAlertsListResponse = IoTSecurityAggregatedAlertList & { - /** - * The underlying HTTP response. - */ - _response: msRest.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; - - /** - * The response body as parsed JSON or XML - */ - parsedBody: IoTSecurityAggregatedAlertList; - }; -}; - -/** - * Contains response data for the listNext operation. - */ -export type IoTSecuritySolutionsAnalyticsAggregatedAlertsListNextResponse = IoTSecurityAggregatedAlertList & { +export type WorkspaceSettingsListResponse = WorkspaceSettingList & { /** * The underlying HTTP response. */ @@ -4773,14 +4774,14 @@ export type IoTSecuritySolutionsAnalyticsAggregatedAlertsListNextResponse = IoTS /** * The response body as parsed JSON or XML */ - parsedBody: IoTSecurityAggregatedAlertList; + parsedBody: WorkspaceSettingList; }; }; /** * Contains response data for the get operation. */ -export type IoTSecuritySolutionsAnalyticsAggregatedAlertGetResponse = IoTSecurityAggregatedAlert & { +export type WorkspaceSettingsGetResponse = WorkspaceSetting & { /** * The underlying HTTP response. */ @@ -4793,14 +4794,14 @@ export type IoTSecuritySolutionsAnalyticsAggregatedAlertGetResponse = IoTSecurit /** * The response body as parsed JSON or XML */ - parsedBody: IoTSecurityAggregatedAlert; + parsedBody: WorkspaceSetting; }; }; /** - * Contains response data for the get operation. + * Contains response data for the create operation. */ -export type IoTSecuritySolutionsAnalyticsRecommendationGetResponse = IoTSecurityAggregatedRecommendation & { +export type WorkspaceSettingsCreateResponse = WorkspaceSetting & { /** * The underlying HTTP response. */ @@ -4813,14 +4814,14 @@ export type IoTSecuritySolutionsAnalyticsRecommendationGetResponse = IoTSecurity /** * The response body as parsed JSON or XML */ - parsedBody: IoTSecurityAggregatedRecommendation; + parsedBody: WorkspaceSetting; }; }; /** - * Contains response data for the list operation. + * Contains response data for the update operation. */ -export type IoTSecuritySolutionsAnalyticsRecommendationsListResponse = IoTSecurityAggregatedRecommendationList & { +export type WorkspaceSettingsUpdateResponse = WorkspaceSetting & { /** * The underlying HTTP response. */ @@ -4833,14 +4834,14 @@ export type IoTSecuritySolutionsAnalyticsRecommendationsListResponse = IoTSecuri /** * The response body as parsed JSON or XML */ - parsedBody: IoTSecurityAggregatedRecommendationList; + parsedBody: WorkspaceSetting; }; }; /** * Contains response data for the listNext operation. */ -export type IoTSecuritySolutionsAnalyticsRecommendationsListNextResponse = IoTSecurityAggregatedRecommendationList & { +export type WorkspaceSettingsListNextResponse = WorkspaceSettingList & { /** * The underlying HTTP response. */ @@ -4853,7 +4854,7 @@ export type IoTSecuritySolutionsAnalyticsRecommendationsListNextResponse = IoTSe /** * The response body as parsed JSON or XML */ - parsedBody: IoTSecurityAggregatedRecommendationList; + parsedBody: WorkspaceSettingList; }; }; diff --git a/sdk/security/arm-security/src/models/mappers.ts b/sdk/security/arm-security/src/models/mappers.ts index ea0848a5ef41..f851fa471301 100644 --- a/sdk/security/arm-security/src/models/mappers.ts +++ b/sdk/security/arm-security/src/models/mappers.ts @@ -414,72 +414,50 @@ export const DataExportSetting: msRest.CompositeMapper = { } }; -export const ConnectedResource: msRest.CompositeMapper = { - serializedName: "ConnectedResource", +export const TagsResource: msRest.CompositeMapper = { + serializedName: "TagsResource", type: { name: "Composite", - className: "ConnectedResource", + className: "TagsResource", modelProperties: { - connectedResourceId: { - readOnly: true, - serializedName: "connectedResourceId", - type: { - name: "String" - } - }, - tcpPorts: { - readOnly: true, - serializedName: "tcpPorts", - type: { - name: "String" - } - }, - udpPorts: { - readOnly: true, - serializedName: "udpPorts", + tags: { + serializedName: "tags", type: { - name: "String" + name: "Dictionary", + value: { + type: { + name: "String" + } + } } } } } }; -export const ConnectableResource: msRest.CompositeMapper = { - serializedName: "ConnectableResource", +export const UserDefinedResourcesProperties: msRest.CompositeMapper = { + serializedName: "UserDefinedResourcesProperties", type: { name: "Composite", - className: "ConnectableResource", + className: "UserDefinedResourcesProperties", modelProperties: { - id: { - readOnly: true, - serializedName: "id", + query: { + required: true, + nullable: true, + serializedName: "query", type: { name: "String" } }, - inboundConnectedResources: { - readOnly: true, - serializedName: "inboundConnectedResources", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "ConnectedResource" - } - } - } - }, - outboundConnectedResources: { - readOnly: true, - serializedName: "outboundConnectedResources", + querySubscriptions: { + required: true, + nullable: true, + serializedName: "querySubscriptions", type: { name: "Sequence", element: { type: { - name: "Composite", - className: "ConnectedResource" + name: "String" } } } @@ -488,15 +466,15 @@ export const ConnectableResource: msRest.CompositeMapper = { } }; -export const AllowedConnectionsResource: msRest.CompositeMapper = { - serializedName: "AllowedConnectionsResource", +export const RecommendationConfigurationProperties: msRest.CompositeMapper = { + serializedName: "RecommendationConfigurationProperties", type: { name: "Composite", - className: "AllowedConnectionsResource", + className: "RecommendationConfigurationProperties", modelProperties: { - id: { - readOnly: true, - serializedName: "id", + recommendationType: { + required: true, + serializedName: "recommendationType", type: { name: "String" } @@ -508,53 +486,10 @@ export const AllowedConnectionsResource: msRest.CompositeMapper = { name: "String" } }, - type: { - readOnly: true, - serializedName: "type", - type: { - name: "String" - } - }, - location: { - readOnly: true, - serializedName: "location", - type: { - name: "String" - } - }, - calculatedDateTime: { - readOnly: true, - serializedName: "properties.calculatedDateTime", - type: { - name: "DateTime" - } - }, - connectableResources: { - readOnly: true, - serializedName: "properties.connectableResources", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "ConnectableResource" - } - } - } - } - } - } -}; - -export const Location: msRest.CompositeMapper = { - serializedName: "Location", - type: { - name: "Composite", - className: "Location", - modelProperties: { - location: { - readOnly: true, - serializedName: "location", + status: { + required: true, + serializedName: "status", + defaultValue: 'Enabled', type: { name: "String" } @@ -563,11 +498,11 @@ export const Location: msRest.CompositeMapper = { } }; -export const DiscoveredSecuritySolution: msRest.CompositeMapper = { - serializedName: "DiscoveredSecuritySolution", +export const IoTSecuritySolutionModel: msRest.CompositeMapper = { + serializedName: "IoTSecuritySolutionModel", type: { name: "Composite", - className: "DiscoveredSecuritySolution", + className: "IoTSecuritySolutionModel", modelProperties: { id: { readOnly: true, @@ -590,227 +525,240 @@ export const DiscoveredSecuritySolution: msRest.CompositeMapper = { name: "String" } }, + tags: { + serializedName: "tags", + type: { + name: "Dictionary", + value: { + type: { + name: "String" + } + } + } + }, location: { - readOnly: true, serializedName: "location", type: { name: "String" } }, - securityFamily: { + workspace: { required: true, - serializedName: "properties.securityFamily", + serializedName: "properties.workspace", type: { name: "String" } }, - offer: { + displayName: { required: true, - serializedName: "properties.offer", + serializedName: "properties.displayName", type: { name: "String" } }, - publisher: { - required: true, - serializedName: "properties.publisher", + status: { + serializedName: "properties.status", + defaultValue: 'Enabled', type: { name: "String" } }, - sku: { - required: true, - serializedName: "properties.sku", + exportProperty: { + serializedName: "properties.export", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "String" + } + } } - } - } - } -}; - -export const ExternalSecuritySolution: msRest.CompositeMapper = { - serializedName: "ExternalSecuritySolution", - type: { - name: "Composite", - polymorphicDiscriminator: { - serializedName: "kind", - clientName: "kind" - }, - uberParent: "ExternalSecuritySolution", - className: "ExternalSecuritySolution", - modelProperties: { - id: { - readOnly: true, - serializedName: "id", + }, + disabledDataSources: { + serializedName: "properties.disabledDataSources", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "String" + } + } } }, - name: { - readOnly: true, - serializedName: "name", + iotHubs: { + required: true, + serializedName: "properties.iotHubs", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "String" + } + } } }, - type: { - readOnly: true, - serializedName: "type", + userDefinedResources: { + serializedName: "properties.userDefinedResources", type: { - name: "String" + name: "Composite", + className: "UserDefinedResourcesProperties" } }, - location: { + autoDiscoveredResources: { readOnly: true, - serializedName: "location", + serializedName: "properties.autoDiscoveredResources", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "String" + } + } } }, - kind: { - required: true, - serializedName: "kind", + recommendationsConfiguration: { + serializedName: "properties.recommendationsConfiguration", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "RecommendationConfigurationProperties" + } + } } } } } }; -export const ExternalSecuritySolutionProperties: msRest.CompositeMapper = { - serializedName: "ExternalSecuritySolutionProperties", +export const UpdateIotSecuritySolutionData: msRest.CompositeMapper = { + serializedName: "UpdateIotSecuritySolutionData", type: { name: "Composite", - className: "ExternalSecuritySolutionProperties", + className: "UpdateIotSecuritySolutionData", modelProperties: { - deviceVendor: { - serializedName: "deviceVendor", - type: { - name: "String" - } - }, - deviceType: { - serializedName: "deviceType", + ...TagsResource.type.modelProperties, + userDefinedResources: { + serializedName: "userDefinedResources", type: { - name: "String" + name: "Composite", + className: "UserDefinedResourcesProperties" } }, - workspace: { - serializedName: "workspace", + recommendationsConfiguration: { + serializedName: "recommendationsConfiguration", type: { - name: "Composite", - className: "ConnectedWorkspace" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "RecommendationConfigurationProperties" + } + } } } - }, - additionalProperties: { - type: { - name: "Object" - } } } }; -export const CefSolutionProperties: msRest.CompositeMapper = { - serializedName: "CefSolutionProperties", +export const IoTSeverityMetrics: msRest.CompositeMapper = { + serializedName: "IoTSeverityMetrics", type: { name: "Composite", - className: "CefSolutionProperties", + className: "IoTSeverityMetrics", modelProperties: { - ...ExternalSecuritySolutionProperties.type.modelProperties, - hostname: { - serializedName: "hostname", + high: { + serializedName: "high", type: { - name: "String" + name: "Number" } }, - agent: { - serializedName: "agent", + medium: { + serializedName: "medium", type: { - name: "String" + name: "Number" } }, - lastEventReceived: { - serializedName: "lastEventReceived", + low: { + serializedName: "low", type: { - name: "String" + name: "Number" } } - }, - additionalProperties: ExternalSecuritySolutionProperties.type.additionalProperties + } } }; -export const CefExternalSecuritySolution: msRest.CompositeMapper = { - serializedName: "CEF", +export const IoTSecuritySolutionAnalyticsModelPropertiesDevicesMetricsItem: msRest.CompositeMapper = { + serializedName: "IoTSecuritySolutionAnalyticsModelProperties_devicesMetricsItem", type: { name: "Composite", - polymorphicDiscriminator: ExternalSecuritySolution.type.polymorphicDiscriminator, - uberParent: "ExternalSecuritySolution", - className: "CefExternalSecuritySolution", + className: "IoTSecuritySolutionAnalyticsModelPropertiesDevicesMetricsItem", modelProperties: { - ...ExternalSecuritySolution.type.modelProperties, - properties: { - serializedName: "properties", + date: { + serializedName: "date", + type: { + name: "DateTime" + } + }, + devicesMetrics: { + serializedName: "devicesMetrics", type: { name: "Composite", - className: "CefSolutionProperties", - additionalProperties: ExternalSecuritySolutionProperties.type.additionalProperties + className: "IoTSeverityMetrics" } } } } }; -export const AtaSolutionProperties: msRest.CompositeMapper = { - serializedName: "AtaSolutionProperties", +export const IoTSecurityAlertedDevice: msRest.CompositeMapper = { + serializedName: "IoTSecurityAlertedDevice", type: { name: "Composite", - className: "AtaSolutionProperties", + className: "IoTSecurityAlertedDevice", modelProperties: { - ...ExternalSecuritySolutionProperties.type.modelProperties, - lastEventReceived: { - serializedName: "lastEventReceived", + deviceId: { + readOnly: true, + serializedName: "deviceId", type: { name: "String" } - } - }, - additionalProperties: ExternalSecuritySolutionProperties.type.additionalProperties - } -}; - -export const AtaExternalSecuritySolution: msRest.CompositeMapper = { - serializedName: "ATA", - type: { - name: "Composite", - polymorphicDiscriminator: ExternalSecuritySolution.type.polymorphicDiscriminator, - uberParent: "ExternalSecuritySolution", - className: "AtaExternalSecuritySolution", - modelProperties: { - ...ExternalSecuritySolution.type.modelProperties, - properties: { - serializedName: "properties", + }, + alertsCount: { + readOnly: true, + serializedName: "alertsCount", type: { - name: "Composite", - className: "AtaSolutionProperties", - additionalProperties: ExternalSecuritySolutionProperties.type.additionalProperties + name: "Number" } } } } }; -export const ConnectedWorkspace: msRest.CompositeMapper = { - serializedName: "ConnectedWorkspace", +export const IoTSecurityAlertedDevicesList: msRest.CompositeMapper = { + serializedName: "IoTSecurityAlertedDevicesList", type: { name: "Composite", - className: "ConnectedWorkspace", + className: "IoTSecurityAlertedDevicesList", modelProperties: { - id: { - serializedName: "id", + value: { + required: true, + serializedName: "value", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "IoTSecurityAlertedDevice" + } + } + } + }, + nextLink: { + readOnly: true, + serializedName: "nextLink", type: { name: "String" } @@ -819,169 +767,203 @@ export const ConnectedWorkspace: msRest.CompositeMapper = { } }; -export const AadSolutionProperties: msRest.CompositeMapper = { - serializedName: "AadSolutionProperties", +export const IoTSecurityDeviceAlert: msRest.CompositeMapper = { + serializedName: "IoTSecurityDeviceAlert", type: { name: "Composite", - className: "AadSolutionProperties", + className: "IoTSecurityDeviceAlert", modelProperties: { - deviceVendor: { - serializedName: "deviceVendor", + alertDisplayName: { + readOnly: true, + serializedName: "alertDisplayName", type: { name: "String" } }, - deviceType: { - serializedName: "deviceType", + reportedSeverity: { + readOnly: true, + serializedName: "reportedSeverity", type: { name: "String" } }, - workspace: { - serializedName: "workspace", - type: { - name: "Composite", - className: "ConnectedWorkspace" - } - }, - connectivityState: { - serializedName: "connectivityState", + alertsCount: { + readOnly: true, + serializedName: "alertsCount", type: { - name: "String" + name: "Number" } } } } }; -export const AadExternalSecuritySolution: msRest.CompositeMapper = { - serializedName: "AAD", +export const IoTSecurityDeviceAlertsList: msRest.CompositeMapper = { + serializedName: "IoTSecurityDeviceAlertsList", type: { name: "Composite", - polymorphicDiscriminator: ExternalSecuritySolution.type.polymorphicDiscriminator, - uberParent: "ExternalSecuritySolution", - className: "AadExternalSecuritySolution", + className: "IoTSecurityDeviceAlertsList", modelProperties: { - ...ExternalSecuritySolution.type.modelProperties, - properties: { - serializedName: "properties", + value: { + required: true, + serializedName: "value", type: { - name: "Composite", - className: "AadSolutionProperties" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "IoTSecurityDeviceAlert" + } + } + } + }, + nextLink: { + readOnly: true, + serializedName: "nextLink", + type: { + name: "String" } } } } }; -export const ExternalSecuritySolutionKind1: msRest.CompositeMapper = { - serializedName: "ExternalSecuritySolutionKind", +export const IoTSecurityDeviceRecommendation: msRest.CompositeMapper = { + serializedName: "IoTSecurityDeviceRecommendation", type: { name: "Composite", - className: "ExternalSecuritySolutionKind1", + className: "IoTSecurityDeviceRecommendation", modelProperties: { - kind: { - serializedName: "kind", + recommendationDisplayName: { + readOnly: true, + serializedName: "recommendationDisplayName", + type: { + name: "String" + } + }, + reportedSeverity: { + readOnly: true, + serializedName: "reportedSeverity", type: { name: "String" } + }, + devicesCount: { + readOnly: true, + serializedName: "devicesCount", + type: { + name: "Number" + } } } } }; -export const AadConnectivityState1: msRest.CompositeMapper = { - serializedName: "AadConnectivityState", +export const IoTSecurityDeviceRecommendationsList: msRest.CompositeMapper = { + serializedName: "IoTSecurityDeviceRecommendationsList", type: { name: "Composite", - className: "AadConnectivityState1", + className: "IoTSecurityDeviceRecommendationsList", modelProperties: { - connectivityState: { - serializedName: "connectivityState", + value: { + required: true, + serializedName: "value", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "IoTSecurityDeviceRecommendation" + } + } } } } } }; -export const JitNetworkAccessPortRule: msRest.CompositeMapper = { - serializedName: "JitNetworkAccessPortRule", +export const IoTSecuritySolutionAnalyticsModel: msRest.CompositeMapper = { + serializedName: "IoTSecuritySolutionAnalyticsModel", type: { name: "Composite", - className: "JitNetworkAccessPortRule", + className: "IoTSecuritySolutionAnalyticsModel", modelProperties: { - number: { - required: true, - serializedName: "number", - type: { - name: "Number" - } - }, - protocol: { - required: true, - serializedName: "protocol", + ...Resource.type.modelProperties, + metrics: { + readOnly: true, + serializedName: "properties.metrics", type: { - name: "String" + name: "Composite", + className: "IoTSeverityMetrics" } }, - allowedSourceAddressPrefix: { - serializedName: "allowedSourceAddressPrefix", + unhealthyDeviceCount: { + readOnly: true, + serializedName: "properties.unhealthyDeviceCount", type: { - name: "String" + name: "Number" } }, - allowedSourceAddressPrefixes: { - serializedName: "allowedSourceAddressPrefixes", + devicesMetrics: { + readOnly: true, + serializedName: "properties.devicesMetrics", type: { name: "Sequence", element: { type: { - name: "String" + name: "Composite", + className: "IoTSecuritySolutionAnalyticsModelPropertiesDevicesMetricsItem" } } } }, - maxRequestAccessDuration: { - required: true, - serializedName: "maxRequestAccessDuration", + topAlertedDevices: { + serializedName: "properties.topAlertedDevices", type: { - name: "String" + name: "Composite", + className: "IoTSecurityAlertedDevicesList" + } + }, + mostPrevalentDeviceAlerts: { + serializedName: "properties.mostPrevalentDeviceAlerts", + type: { + name: "Composite", + className: "IoTSecurityDeviceAlertsList" + } + }, + mostPrevalentDeviceRecommendations: { + serializedName: "properties.mostPrevalentDeviceRecommendations", + type: { + name: "Composite", + className: "IoTSecurityDeviceRecommendationsList" } } } } }; -export const JitNetworkAccessPolicyVirtualMachine: msRest.CompositeMapper = { - serializedName: "JitNetworkAccessPolicyVirtualMachine", +export const IoTSecuritySolutionAnalyticsModelList: msRest.CompositeMapper = { + serializedName: "IoTSecuritySolutionAnalyticsModelList", type: { name: "Composite", - className: "JitNetworkAccessPolicyVirtualMachine", + className: "IoTSecuritySolutionAnalyticsModelList", modelProperties: { - id: { - required: true, - serializedName: "id", - type: { - name: "String" - } - }, - ports: { + value: { required: true, - serializedName: "ports", + serializedName: "value", type: { name: "Sequence", element: { type: { name: "Composite", - className: "JitNetworkAccessPortRule" + className: "IoTSecuritySolutionAnalyticsModel" } } } }, - publicIpAddress: { - serializedName: "publicIpAddress", + nextLink: { + readOnly: true, + serializedName: "nextLink", type: { name: "String" } @@ -990,126 +972,124 @@ export const JitNetworkAccessPolicyVirtualMachine: msRest.CompositeMapper = { } }; -export const JitNetworkAccessRequestPort: msRest.CompositeMapper = { - serializedName: "JitNetworkAccessRequestPort", +export const IoTSecurityAggregatedAlert: msRest.CompositeMapper = { + serializedName: "IoTSecurityAggregatedAlert", type: { name: "Composite", - className: "JitNetworkAccessRequestPort", + className: "IoTSecurityAggregatedAlert", modelProperties: { - number: { - required: true, - serializedName: "number", + id: { + readOnly: true, + serializedName: "id", type: { - name: "Number" + name: "String" } }, - allowedSourceAddressPrefix: { - serializedName: "allowedSourceAddressPrefix", + name: { + readOnly: true, + serializedName: "name", type: { name: "String" } }, - allowedSourceAddressPrefixes: { - serializedName: "allowedSourceAddressPrefixes", + type: { + readOnly: true, + serializedName: "type", type: { - name: "Sequence", - element: { + name: "String" + } + }, + tags: { + serializedName: "tags", + type: { + name: "Dictionary", + value: { type: { name: "String" } } } }, - endTimeUtc: { - required: true, - serializedName: "endTimeUtc", + alertType: { + readOnly: true, + serializedName: "properties.alertType", type: { - name: "DateTime" + name: "String" } }, - status: { - required: true, - serializedName: "status", + alertDisplayName: { + readOnly: true, + serializedName: "properties.alertDisplayName", type: { name: "String" } }, - statusReason: { - required: true, - serializedName: "statusReason", + aggregatedDateUtc: { + readOnly: true, + serializedName: "properties.aggregatedDateUtc", + type: { + name: "Date" + } + }, + vendorName: { + readOnly: true, + serializedName: "properties.vendorName", type: { name: "String" } }, - mappedPort: { - serializedName: "mappedPort", + reportedSeverity: { + readOnly: true, + serializedName: "properties.reportedSeverity", type: { - name: "Number" + name: "String" } - } - } - } -}; - -export const JitNetworkAccessRequestVirtualMachine: msRest.CompositeMapper = { - serializedName: "JitNetworkAccessRequestVirtualMachine", - type: { - name: "Composite", - className: "JitNetworkAccessRequestVirtualMachine", - modelProperties: { - id: { - required: true, - serializedName: "id", + }, + remediationSteps: { + readOnly: true, + serializedName: "properties.remediationSteps", type: { name: "String" } }, - ports: { - required: true, - serializedName: "ports", + description: { + readOnly: true, + serializedName: "properties.description", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "JitNetworkAccessRequestPort" - } - } + name: "String" } - } - } - } -}; - -export const JitNetworkAccessRequest: msRest.CompositeMapper = { - serializedName: "JitNetworkAccessRequest", - type: { - name: "Composite", - className: "JitNetworkAccessRequest", - modelProperties: { - virtualMachines: { - required: true, - serializedName: "virtualMachines", + }, + count: { + readOnly: true, + serializedName: "properties.count", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "JitNetworkAccessRequestVirtualMachine" - } - } + name: "Number" } }, - startTimeUtc: { - required: true, - serializedName: "startTimeUtc", + effectedResourceType: { + readOnly: true, + serializedName: "properties.effectedResourceType", type: { - name: "DateTime" + name: "String" } }, - requestor: { - required: true, - serializedName: "requestor", + systemSource: { + readOnly: true, + serializedName: "properties.systemSource", + type: { + name: "String" + } + }, + actionTaken: { + readOnly: true, + serializedName: "properties.actionTaken", + type: { + name: "String" + } + }, + logAnalyticsQuery: { + readOnly: true, + serializedName: "properties.logAnalyticsQuery", type: { name: "String" } @@ -1118,11 +1098,11 @@ export const JitNetworkAccessRequest: msRest.CompositeMapper = { } }; -export const JitNetworkAccessPolicy: msRest.CompositeMapper = { - serializedName: "JitNetworkAccessPolicy", +export const IoTSecurityAggregatedRecommendation: msRest.CompositeMapper = { + serializedName: "IoTSecurityAggregatedRecommendation", type: { name: "Composite", - className: "JitNetworkAccessPolicy", + className: "IoTSecurityAggregatedRecommendation", modelProperties: { id: { readOnly: true, @@ -1145,47 +1125,82 @@ export const JitNetworkAccessPolicy: msRest.CompositeMapper = { name: "String" } }, - kind: { - serializedName: "kind", + tags: { + serializedName: "tags", + type: { + name: "Dictionary", + value: { + type: { + name: "String" + } + } + } + }, + recommendationName: { + serializedName: "properties.recommendationName", type: { name: "String" } }, - location: { + recommendationDisplayName: { readOnly: true, - serializedName: "location", + serializedName: "properties.recommendationDisplayName", type: { name: "String" } }, - virtualMachines: { - required: true, - serializedName: "properties.virtualMachines", + description: { + readOnly: true, + serializedName: "properties.description", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "JitNetworkAccessPolicyVirtualMachine" - } - } + name: "String" } }, - requests: { - serializedName: "properties.requests", + recommendationTypeId: { + readOnly: true, + serializedName: "properties.recommendationTypeId", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "JitNetworkAccessRequest" - } - } + name: "String" } }, - provisioningState: { + detectedBy: { readOnly: true, - serializedName: "properties.provisioningState", + serializedName: "properties.detectedBy", + type: { + name: "String" + } + }, + remediationSteps: { + readOnly: true, + serializedName: "properties.remediationSteps", + type: { + name: "String" + } + }, + reportedSeverity: { + readOnly: true, + serializedName: "properties.reportedSeverity", + type: { + name: "String" + } + }, + healthyDevices: { + readOnly: true, + serializedName: "properties.healthyDevices", + type: { + name: "Number" + } + }, + unhealthyDeviceCount: { + readOnly: true, + serializedName: "properties.unhealthyDeviceCount", + type: { + name: "Number" + } + }, + logAnalyticsQuery: { + readOnly: true, + serializedName: "properties.logAnalyticsQuery", type: { name: "String" } @@ -1194,58 +1209,72 @@ export const JitNetworkAccessPolicy: msRest.CompositeMapper = { } }; -export const JitNetworkAccessPolicyInitiatePort: msRest.CompositeMapper = { - serializedName: "JitNetworkAccessPolicyInitiatePort", +export const ConnectedResource: msRest.CompositeMapper = { + serializedName: "ConnectedResource", type: { name: "Composite", - className: "JitNetworkAccessPolicyInitiatePort", + className: "ConnectedResource", modelProperties: { - number: { - required: true, - serializedName: "number", + connectedResourceId: { + readOnly: true, + serializedName: "connectedResourceId", type: { - name: "Number" + name: "String" } }, - allowedSourceAddressPrefix: { - serializedName: "allowedSourceAddressPrefix", + tcpPorts: { + readOnly: true, + serializedName: "tcpPorts", type: { name: "String" } }, - endTimeUtc: { - required: true, - serializedName: "endTimeUtc", + udpPorts: { + readOnly: true, + serializedName: "udpPorts", type: { - name: "DateTime" + name: "String" } } } } }; -export const JitNetworkAccessPolicyInitiateVirtualMachine: msRest.CompositeMapper = { - serializedName: "JitNetworkAccessPolicyInitiateVirtualMachine", +export const ConnectableResource: msRest.CompositeMapper = { + serializedName: "ConnectableResource", type: { name: "Composite", - className: "JitNetworkAccessPolicyInitiateVirtualMachine", + className: "ConnectableResource", modelProperties: { id: { - required: true, + readOnly: true, serializedName: "id", type: { name: "String" } }, - ports: { - required: true, - serializedName: "ports", + inboundConnectedResources: { + readOnly: true, + serializedName: "inboundConnectedResources", type: { name: "Sequence", element: { type: { name: "Composite", - className: "JitNetworkAccessPolicyInitiatePort" + className: "ConnectedResource" + } + } + } + }, + outboundConnectedResources: { + readOnly: true, + serializedName: "outboundConnectedResources", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ConnectedResource" } } } @@ -1254,21 +1283,56 @@ export const JitNetworkAccessPolicyInitiateVirtualMachine: msRest.CompositeMappe } }; -export const JitNetworkAccessPolicyInitiateRequest: msRest.CompositeMapper = { - serializedName: "JitNetworkAccessPolicyInitiateRequest", +export const AllowedConnectionsResource: msRest.CompositeMapper = { + serializedName: "AllowedConnectionsResource", type: { name: "Composite", - className: "JitNetworkAccessPolicyInitiateRequest", + className: "AllowedConnectionsResource", modelProperties: { - virtualMachines: { - required: true, - serializedName: "virtualMachines", + id: { + readOnly: true, + serializedName: "id", + type: { + name: "String" + } + }, + name: { + readOnly: true, + serializedName: "name", + type: { + name: "String" + } + }, + type: { + readOnly: true, + serializedName: "type", + type: { + name: "String" + } + }, + location: { + readOnly: true, + serializedName: "location", + type: { + name: "String" + } + }, + calculatedDateTime: { + readOnly: true, + serializedName: "properties.calculatedDateTime", + type: { + name: "DateTime" + } + }, + connectableResources: { + readOnly: true, + serializedName: "properties.connectableResources", type: { name: "Sequence", element: { type: { name: "Composite", - className: "JitNetworkAccessPolicyInitiateVirtualMachine" + className: "ConnectableResource" } } } @@ -1277,14 +1341,15 @@ export const JitNetworkAccessPolicyInitiateRequest: msRest.CompositeMapper = { } }; -export const Kind: msRest.CompositeMapper = { - serializedName: "Kind", +export const Location: msRest.CompositeMapper = { + serializedName: "Location", type: { name: "Composite", - className: "Kind", + className: "Location", modelProperties: { - kind: { - serializedName: "kind", + location: { + readOnly: true, + serializedName: "location", type: { name: "String" } @@ -1293,82 +1358,64 @@ export const Kind: msRest.CompositeMapper = { } }; -export const AppWhitelistingIssueSummary: msRest.CompositeMapper = { - serializedName: "AppWhitelistingIssueSummary", +export const DiscoveredSecuritySolution: msRest.CompositeMapper = { + serializedName: "DiscoveredSecuritySolution", type: { name: "Composite", - className: "AppWhitelistingIssueSummary", + className: "DiscoveredSecuritySolution", modelProperties: { - issue: { - serializedName: "issue", + id: { + readOnly: true, + serializedName: "id", type: { name: "String" } }, - numberOfVms: { - serializedName: "numberOfVms", - type: { - name: "Number" - } - } - } - } -}; - -export const VmRecommendation: msRest.CompositeMapper = { - serializedName: "VmRecommendation", - type: { - name: "Composite", - className: "VmRecommendation", - modelProperties: { - configurationStatus: { - serializedName: "configurationStatus", + name: { + readOnly: true, + serializedName: "name", type: { name: "String" } }, - recommendationAction: { - serializedName: "recommendationAction", + type: { + readOnly: true, + serializedName: "type", type: { name: "String" } }, - resourceId: { - serializedName: "resourceId", + location: { + readOnly: true, + serializedName: "location", type: { name: "String" } - } - } - } -}; - -export const PublisherInfo: msRest.CompositeMapper = { - serializedName: "PublisherInfo", - type: { - name: "Composite", - className: "PublisherInfo", - modelProperties: { - publisherName: { - serializedName: "publisherName", + }, + securityFamily: { + required: true, + serializedName: "properties.securityFamily", type: { name: "String" } }, - productName: { - serializedName: "productName", + offer: { + required: true, + serializedName: "properties.offer", type: { name: "String" } }, - binaryName: { - serializedName: "binaryName", + publisher: { + required: true, + serializedName: "properties.publisher", type: { name: "String" } }, - version: { - serializedName: "version", + sku: { + required: true, + serializedName: "properties.sku", type: { name: "String" } @@ -1377,20 +1424,48 @@ export const PublisherInfo: msRest.CompositeMapper = { } }; -export const UserRecommendation: msRest.CompositeMapper = { - serializedName: "UserRecommendation", - type: { +export const ExternalSecuritySolution: msRest.CompositeMapper = { + serializedName: "ExternalSecuritySolution", + type: { name: "Composite", - className: "UserRecommendation", + polymorphicDiscriminator: { + serializedName: "kind", + clientName: "kind" + }, + uberParent: "ExternalSecuritySolution", + className: "ExternalSecuritySolution", modelProperties: { - username: { - serializedName: "username", + id: { + readOnly: true, + serializedName: "id", type: { name: "String" } }, - recommendationAction: { - serializedName: "recommendationAction", + name: { + readOnly: true, + serializedName: "name", + type: { + name: "String" + } + }, + type: { + readOnly: true, + serializedName: "type", + type: { + name: "String" + } + }, + location: { + readOnly: true, + serializedName: "location", + type: { + name: "String" + } + }, + kind: { + required: true, + serializedName: "kind", type: { name: "String" } @@ -1399,74 +1474,209 @@ export const UserRecommendation: msRest.CompositeMapper = { } }; -export const PathRecommendation: msRest.CompositeMapper = { - serializedName: "PathRecommendation", +export const ExternalSecuritySolutionProperties: msRest.CompositeMapper = { + serializedName: "ExternalSecuritySolutionProperties", type: { name: "Composite", - className: "PathRecommendation", + className: "ExternalSecuritySolutionProperties", modelProperties: { - path: { - serializedName: "path", + deviceVendor: { + serializedName: "deviceVendor", type: { name: "String" } }, - action: { - serializedName: "action", + deviceType: { + serializedName: "deviceType", type: { name: "String" } }, + workspace: { + serializedName: "workspace", + type: { + name: "Composite", + className: "ConnectedWorkspace" + } + } + }, + additionalProperties: { type: { - serializedName: "type", + name: "Object" + } + } + } +}; + +export const CefSolutionProperties: msRest.CompositeMapper = { + serializedName: "CefSolutionProperties", + type: { + name: "Composite", + className: "CefSolutionProperties", + modelProperties: { + ...ExternalSecuritySolutionProperties.type.modelProperties, + hostname: { + serializedName: "hostname", type: { name: "String" } }, - publisherInfo: { - serializedName: "publisherInfo", + agent: { + serializedName: "agent", type: { - name: "Composite", - className: "PublisherInfo" + name: "String" } }, - common: { - serializedName: "common", + lastEventReceived: { + serializedName: "lastEventReceived", type: { - name: "Boolean" + name: "String" + } + } + }, + additionalProperties: ExternalSecuritySolutionProperties.type.additionalProperties + } +}; + +export const CefExternalSecuritySolution: msRest.CompositeMapper = { + serializedName: "CEF", + type: { + name: "Composite", + polymorphicDiscriminator: ExternalSecuritySolution.type.polymorphicDiscriminator, + uberParent: "ExternalSecuritySolution", + className: "CefExternalSecuritySolution", + modelProperties: { + ...ExternalSecuritySolution.type.modelProperties, + properties: { + serializedName: "properties", + type: { + name: "Composite", + className: "CefSolutionProperties", + additionalProperties: ExternalSecuritySolutionProperties.type.additionalProperties + } + } + } + } +}; + +export const AtaSolutionProperties: msRest.CompositeMapper = { + serializedName: "AtaSolutionProperties", + type: { + name: "Composite", + className: "AtaSolutionProperties", + modelProperties: { + ...ExternalSecuritySolutionProperties.type.modelProperties, + lastEventReceived: { + serializedName: "lastEventReceived", + type: { + name: "String" + } + } + }, + additionalProperties: ExternalSecuritySolutionProperties.type.additionalProperties + } +}; + +export const AtaExternalSecuritySolution: msRest.CompositeMapper = { + serializedName: "ATA", + type: { + name: "Composite", + polymorphicDiscriminator: ExternalSecuritySolution.type.polymorphicDiscriminator, + uberParent: "ExternalSecuritySolution", + className: "AtaExternalSecuritySolution", + modelProperties: { + ...ExternalSecuritySolution.type.modelProperties, + properties: { + serializedName: "properties", + type: { + name: "Composite", + className: "AtaSolutionProperties", + additionalProperties: ExternalSecuritySolutionProperties.type.additionalProperties + } + } + } + } +}; + +export const ConnectedWorkspace: msRest.CompositeMapper = { + serializedName: "ConnectedWorkspace", + type: { + name: "Composite", + className: "ConnectedWorkspace", + modelProperties: { + id: { + serializedName: "id", + type: { + name: "String" + } + } + } + } +}; + +export const AadSolutionProperties: msRest.CompositeMapper = { + serializedName: "AadSolutionProperties", + type: { + name: "Composite", + className: "AadSolutionProperties", + modelProperties: { + deviceVendor: { + serializedName: "deviceVendor", + type: { + name: "String" } }, - userSids: { - serializedName: "userSids", + deviceType: { + serializedName: "deviceType", type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } + name: "String" } }, - usernames: { - serializedName: "usernames", + workspace: { + serializedName: "workspace", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "UserRecommendation" - } - } + name: "Composite", + className: "ConnectedWorkspace" } }, - fileType: { - serializedName: "fileType", + connectivityState: { + serializedName: "connectivityState", type: { name: "String" } - }, - configurationStatus: { - serializedName: "configurationStatus", + } + } + } +}; + +export const AadExternalSecuritySolution: msRest.CompositeMapper = { + serializedName: "AAD", + type: { + name: "Composite", + polymorphicDiscriminator: ExternalSecuritySolution.type.polymorphicDiscriminator, + uberParent: "ExternalSecuritySolution", + className: "AadExternalSecuritySolution", + modelProperties: { + ...ExternalSecuritySolution.type.modelProperties, + properties: { + serializedName: "properties", + type: { + name: "Composite", + className: "AadSolutionProperties" + } + } + } + } +}; + +export const ExternalSecuritySolutionKind1: msRest.CompositeMapper = { + serializedName: "ExternalSecuritySolutionKind", + type: { + name: "Composite", + className: "ExternalSecuritySolutionKind1", + modelProperties: { + kind: { + serializedName: "kind", type: { name: "String" } @@ -1475,118 +1685,189 @@ export const PathRecommendation: msRest.CompositeMapper = { } }; -export const AppWhitelistingGroup: msRest.CompositeMapper = { - serializedName: "AppWhitelistingGroup", +export const AadConnectivityState1: msRest.CompositeMapper = { + serializedName: "AadConnectivityState", type: { name: "Composite", - className: "AppWhitelistingGroup", + className: "AadConnectivityState1", modelProperties: { - id: { - readOnly: true, - serializedName: "id", + connectivityState: { + serializedName: "connectivityState", type: { name: "String" } + } + } + } +}; + +export const JitNetworkAccessPortRule: msRest.CompositeMapper = { + serializedName: "JitNetworkAccessPortRule", + type: { + name: "Composite", + className: "JitNetworkAccessPortRule", + modelProperties: { + number: { + required: true, + serializedName: "number", + type: { + name: "Number" + } }, - name: { - readOnly: true, - serializedName: "name", + protocol: { + required: true, + serializedName: "protocol", type: { name: "String" } }, - type: { - readOnly: true, - serializedName: "type", + allowedSourceAddressPrefix: { + serializedName: "allowedSourceAddressPrefix", type: { name: "String" } }, - location: { - readOnly: true, - serializedName: "location", + allowedSourceAddressPrefixes: { + serializedName: "allowedSourceAddressPrefixes", + type: { + name: "Sequence", + element: { + type: { + name: "String" + } + } + } + }, + maxRequestAccessDuration: { + required: true, + serializedName: "maxRequestAccessDuration", type: { name: "String" } + } + } + } +}; + +export const JitNetworkAccessPolicyVirtualMachine: msRest.CompositeMapper = { + serializedName: "JitNetworkAccessPolicyVirtualMachine", + type: { + name: "Composite", + className: "JitNetworkAccessPolicyVirtualMachine", + modelProperties: { + id: { + required: true, + serializedName: "id", + type: { + name: "String" + } + }, + ports: { + required: true, + serializedName: "ports", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "JitNetworkAccessPortRule" + } + } + } }, - enforcementMode: { - serializedName: "properties.enforcementMode", + publicIpAddress: { + serializedName: "publicIpAddress", type: { name: "String" } - }, - configurationStatus: { - serializedName: "properties.configurationStatus", + } + } + } +}; + +export const JitNetworkAccessRequestPort: msRest.CompositeMapper = { + serializedName: "JitNetworkAccessRequestPort", + type: { + name: "Composite", + className: "JitNetworkAccessRequestPort", + modelProperties: { + number: { + required: true, + serializedName: "number", type: { - name: "String" + name: "Number" } }, - recommendationStatus: { - serializedName: "properties.recommendationStatus", + allowedSourceAddressPrefix: { + serializedName: "allowedSourceAddressPrefix", type: { name: "String" } }, - issues: { - serializedName: "properties.issues", + allowedSourceAddressPrefixes: { + serializedName: "allowedSourceAddressPrefixes", type: { name: "Sequence", element: { type: { - name: "Composite", - className: "AppWhitelistingIssueSummary" + name: "String" } } } }, - sourceSystem: { - serializedName: "properties.sourceSystem", + endTimeUtc: { + required: true, + serializedName: "endTimeUtc", + type: { + name: "DateTime" + } + }, + status: { + required: true, + serializedName: "status", type: { name: "String" } }, - vmRecommendations: { - serializedName: "properties.vmRecommendations", + statusReason: { + required: true, + serializedName: "statusReason", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "VmRecommendation" - } - } + name: "String" } }, - pathRecommendations: { - serializedName: "properties.pathRecommendations", + mappedPort: { + serializedName: "mappedPort", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "PathRecommendation" - } - } + name: "Number" } } } } }; -export const AppWhitelistingGroups: msRest.CompositeMapper = { - serializedName: "AppWhitelistingGroups", +export const JitNetworkAccessRequestVirtualMachine: msRest.CompositeMapper = { + serializedName: "JitNetworkAccessRequestVirtualMachine", type: { name: "Composite", - className: "AppWhitelistingGroups", + className: "JitNetworkAccessRequestVirtualMachine", modelProperties: { - value: { - serializedName: "value", + id: { + required: true, + serializedName: "id", + type: { + name: "String" + } + }, + ports: { + required: true, + serializedName: "ports", type: { name: "Sequence", element: { type: { name: "Composite", - className: "AppWhitelistingGroup" + className: "JitNetworkAccessRequestPort" } } } @@ -1595,197 +1876,210 @@ export const AppWhitelistingGroups: msRest.CompositeMapper = { } }; -export const AppWhitelistingPutGroupData: msRest.CompositeMapper = { - serializedName: "AppWhitelistingPutGroupData", +export const JitNetworkAccessRequest: msRest.CompositeMapper = { + serializedName: "JitNetworkAccessRequest", type: { name: "Composite", - className: "AppWhitelistingPutGroupData", + className: "JitNetworkAccessRequest", modelProperties: { - enforcementMode: { - serializedName: "enforcementMode", - type: { - name: "String" - } - }, - vmRecommendations: { - serializedName: "vmRecommendations", + virtualMachines: { + required: true, + serializedName: "virtualMachines", type: { name: "Sequence", element: { type: { name: "Composite", - className: "VmRecommendation" + className: "JitNetworkAccessRequestVirtualMachine" } } } }, - pathRecommendations: { - serializedName: "pathRecommendations", + startTimeUtc: { + required: true, + serializedName: "startTimeUtc", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "PathRecommendation" - } - } + name: "DateTime" + } + }, + requestor: { + required: true, + serializedName: "requestor", + type: { + name: "String" } } } } }; -export const OperationDisplay: msRest.CompositeMapper = { - serializedName: "OperationDisplay", +export const JitNetworkAccessPolicy: msRest.CompositeMapper = { + serializedName: "JitNetworkAccessPolicy", type: { name: "Composite", - className: "OperationDisplay", + className: "JitNetworkAccessPolicy", modelProperties: { - provider: { + id: { readOnly: true, - serializedName: "provider", + serializedName: "id", type: { - name: "String" + name: "Number" } }, - resource: { + name: { readOnly: true, - serializedName: "resource", + serializedName: "name", type: { name: "String" } }, - operation: { + type: { readOnly: true, - serializedName: "operation", + serializedName: "type", type: { name: "String" } }, - description: { + kind: { + serializedName: "kind", + type: { + name: "String" + } + }, + location: { readOnly: true, - serializedName: "description", + serializedName: "location", type: { name: "String" } + }, + virtualMachines: { + required: true, + serializedName: "properties.virtualMachines", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "JitNetworkAccessPolicyVirtualMachine" + } + } + } + }, + requests: { + serializedName: "properties.requests", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "JitNetworkAccessRequest" + } + } + } + }, + provisioningState: { + readOnly: true, + serializedName: "properties.provisioningState", + type: { + name: "Boolean" + } } } } }; -export const Operation: msRest.CompositeMapper = { - serializedName: "Operation", +export const JitNetworkAccessPolicyInitiatePort: msRest.CompositeMapper = { + serializedName: "JitNetworkAccessPolicyInitiatePort", type: { name: "Composite", - className: "Operation", + className: "JitNetworkAccessPolicyInitiatePort", modelProperties: { - name: { - readOnly: true, - serializedName: "name", + number: { + required: true, + serializedName: "number", type: { - name: "String" + name: "Number" } }, - origin: { - readOnly: true, - serializedName: "origin", + allowedSourceAddressPrefix: { + serializedName: "allowedSourceAddressPrefix", type: { name: "String" } }, - display: { - serializedName: "display", + endTimeUtc: { + required: true, + serializedName: "endTimeUtc", type: { - name: "Composite", - className: "OperationDisplay" + name: "DateTime" } } } } }; -export const SecurityTaskParameters: msRest.CompositeMapper = { - serializedName: "SecurityTaskParameters", +export const JitNetworkAccessPolicyInitiateVirtualMachine: msRest.CompositeMapper = { + serializedName: "JitNetworkAccessPolicyInitiateVirtualMachine", type: { name: "Composite", - className: "SecurityTaskParameters", + className: "JitNetworkAccessPolicyInitiateVirtualMachine", modelProperties: { - name: { - readOnly: true, - serializedName: "name", + id: { + required: true, + serializedName: "id", type: { name: "String" } - } - }, - additionalProperties: { - type: { - name: "Object" + }, + ports: { + required: true, + serializedName: "ports", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "JitNetworkAccessPolicyInitiatePort" + } + } + } } } } }; -export const SecurityTask: msRest.CompositeMapper = { - serializedName: "SecurityTask", +export const JitNetworkAccessPolicyInitiateRequest: msRest.CompositeMapper = { + serializedName: "JitNetworkAccessPolicyInitiateRequest", type: { name: "Composite", - className: "SecurityTask", + className: "JitNetworkAccessPolicyInitiateRequest", modelProperties: { - ...Resource.type.modelProperties, - state: { - readOnly: true, - serializedName: "properties.state", - type: { - name: "String" - } - }, - creationTimeUtc: { - readOnly: true, - serializedName: "properties.creationTimeUtc", - type: { - name: "DateTime" - } - }, - securityTaskParameters: { - serializedName: "properties.securityTaskParameters", + virtualMachines: { + required: true, + serializedName: "virtualMachines", type: { - name: "Composite", - className: "SecurityTaskParameters", - additionalProperties: { + name: "Sequence", + element: { type: { - name: "Object" + name: "Composite", + className: "JitNetworkAccessPolicyInitiateVirtualMachine" } } } - }, - lastStateChangeTimeUtc: { - readOnly: true, - serializedName: "properties.lastStateChangeTimeUtc", - type: { - name: "DateTime" - } - }, - subState: { - readOnly: true, - serializedName: "properties.subState", - type: { - name: "String" - } } } } }; -export const TopologySingleResourceParent: msRest.CompositeMapper = { - serializedName: "TopologySingleResourceParent", +export const Kind: msRest.CompositeMapper = { + serializedName: "Kind", type: { name: "Composite", - className: "TopologySingleResourceParent", + className: "Kind", modelProperties: { - resourceId: { - readOnly: true, - serializedName: "resourceId", + kind: { + serializedName: "kind", type: { name: "String" } @@ -1794,186 +2088,104 @@ export const TopologySingleResourceParent: msRest.CompositeMapper = { } }; -export const TopologySingleResourceChild: msRest.CompositeMapper = { - serializedName: "TopologySingleResourceChild", +export const AppWhitelistingIssueSummary: msRest.CompositeMapper = { + serializedName: "AppWhitelistingIssueSummary", type: { name: "Composite", - className: "TopologySingleResourceChild", + className: "AppWhitelistingIssueSummary", modelProperties: { - resourceId: { - readOnly: true, - serializedName: "resourceId", + issue: { + serializedName: "issue", type: { name: "String" } + }, + numberOfVms: { + serializedName: "numberOfVms", + type: { + name: "Number" + } } } } }; -export const TopologySingleResource: msRest.CompositeMapper = { - serializedName: "TopologySingleResource", +export const VmRecommendation: msRest.CompositeMapper = { + serializedName: "VmRecommendation", type: { name: "Composite", - className: "TopologySingleResource", + className: "VmRecommendation", modelProperties: { - resourceId: { - readOnly: true, - serializedName: "resourceId", - type: { - name: "String" - } - }, - severity: { - readOnly: true, - serializedName: "severity", + configurationStatus: { + serializedName: "configurationStatus", type: { name: "String" } }, - recommendationsExist: { - readOnly: true, - serializedName: "recommendationsExist", - type: { - name: "Boolean" - } - }, - networkZones: { - readOnly: true, - serializedName: "networkZones", + recommendationAction: { + serializedName: "recommendationAction", type: { name: "String" } }, - topologyScore: { - readOnly: true, - serializedName: "topologyScore", - type: { - name: "Number" - } - }, - location: { - readOnly: true, - serializedName: "location", + resourceId: { + serializedName: "resourceId", type: { name: "String" } - }, - parents: { - readOnly: true, - serializedName: "parents", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "TopologySingleResourceParent" - } - } - } - }, - children: { - readOnly: true, - serializedName: "children", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "TopologySingleResourceChild" - } - } - } } } } }; -export const TopologyResource: msRest.CompositeMapper = { - serializedName: "TopologyResource", +export const PublisherInfo: msRest.CompositeMapper = { + serializedName: "PublisherInfo", type: { name: "Composite", - className: "TopologyResource", + className: "PublisherInfo", modelProperties: { - id: { - readOnly: true, - serializedName: "id", + publisherName: { + serializedName: "publisherName", type: { name: "String" } }, - name: { - readOnly: true, - serializedName: "name", + productName: { + serializedName: "productName", type: { name: "String" } }, - type: { - readOnly: true, - serializedName: "type", + binaryName: { + serializedName: "binaryName", type: { name: "String" } }, - location: { - readOnly: true, - serializedName: "location", + version: { + serializedName: "version", type: { name: "String" } - }, - calculatedDateTime: { - readOnly: true, - serializedName: "properties.calculatedDateTime", - type: { - name: "DateTime" - } - }, - topologyResources: { - readOnly: true, - serializedName: "properties.topologyResources", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "TopologySingleResource" - } - } - } } } } }; -export const AdvancedThreatProtectionSetting: msRest.CompositeMapper = { - serializedName: "AdvancedThreatProtectionSetting", +export const UserRecommendation: msRest.CompositeMapper = { + serializedName: "UserRecommendation", type: { name: "Composite", - className: "AdvancedThreatProtectionSetting", + className: "UserRecommendation", modelProperties: { - ...Resource.type.modelProperties, - isEnabled: { - serializedName: "properties.isEnabled", + username: { + serializedName: "username", type: { - name: "Boolean" + name: "String" } - } - } - } -}; - -export const AutoProvisioningSetting: msRest.CompositeMapper = { - serializedName: "AutoProvisioningSetting", - type: { - name: "Composite", - className: "AutoProvisioningSetting", - modelProperties: { - ...Resource.type.modelProperties, - autoProvision: { - required: true, - serializedName: "properties.autoProvision", + }, + recommendationAction: { + serializedName: "recommendationAction", type: { name: "String" } @@ -1982,174 +2194,172 @@ export const AutoProvisioningSetting: msRest.CompositeMapper = { } }; -export const ComplianceSegment: msRest.CompositeMapper = { - serializedName: "ComplianceSegment", +export const PathRecommendation: msRest.CompositeMapper = { + serializedName: "PathRecommendation", type: { name: "Composite", - className: "ComplianceSegment", + className: "PathRecommendation", modelProperties: { - segmentType: { - readOnly: true, - serializedName: "segmentType", + path: { + serializedName: "path", type: { name: "String" } }, - percentage: { - readOnly: true, - serializedName: "percentage", + action: { + serializedName: "action", type: { - name: "Number" + name: "String" } - } - } - } -}; - -export const Compliance: msRest.CompositeMapper = { - serializedName: "Compliance", - type: { - name: "Composite", - className: "Compliance", - modelProperties: { - ...Resource.type.modelProperties, - assessmentTimestampUtcDate: { - readOnly: true, - serializedName: "properties.assessmentTimestampUtcDate", + }, + type: { + serializedName: "type", type: { - name: "DateTime" + name: "String" } }, - resourceCount: { - readOnly: true, - serializedName: "properties.resourceCount", + publisherInfo: { + serializedName: "publisherInfo", type: { - name: "Number" + name: "Composite", + className: "PublisherInfo" } }, - assessmentResult: { - readOnly: true, - serializedName: "properties.assessmentResult", + common: { + serializedName: "common", + type: { + name: "Boolean" + } + }, + userSids: { + serializedName: "userSids", + type: { + name: "Sequence", + element: { + type: { + name: "String" + } + } + } + }, + usernames: { + serializedName: "usernames", type: { name: "Sequence", element: { type: { name: "Composite", - className: "ComplianceSegment" + className: "UserRecommendation" } } } - } - } - } -}; - -export const SensitivityLabel: msRest.CompositeMapper = { - serializedName: "SensitivityLabel", - type: { - name: "Composite", - className: "SensitivityLabel", - modelProperties: { - displayName: { - serializedName: "displayName", - type: { - name: "String" - } }, - order: { - serializedName: "order", + fileType: { + serializedName: "fileType", type: { - name: "Number" + name: "String" } }, - enabled: { - serializedName: "enabled", + configurationStatus: { + serializedName: "configurationStatus", type: { - name: "Boolean" + name: "String" } } } } }; -export const InformationProtectionKeyword: msRest.CompositeMapper = { - serializedName: "InformationProtectionKeyword", +export const AppWhitelistingGroup: msRest.CompositeMapper = { + serializedName: "AppWhitelistingGroup", type: { name: "Composite", - className: "InformationProtectionKeyword", + className: "AppWhitelistingGroup", modelProperties: { - pattern: { - serializedName: "pattern", + id: { + readOnly: true, + serializedName: "id", type: { name: "String" } }, - custom: { - serializedName: "custom", + name: { + readOnly: true, + serializedName: "name", type: { - name: "Boolean" + name: "String" } }, - canBeNumeric: { - serializedName: "canBeNumeric", + type: { + readOnly: true, + serializedName: "type", type: { - name: "Boolean" + name: "String" } }, - excluded: { - serializedName: "excluded", + location: { + readOnly: true, + serializedName: "location", type: { - name: "Boolean" + name: "String" } - } - } - } -}; - -export const InformationType: msRest.CompositeMapper = { - serializedName: "InformationType", - type: { - name: "Composite", - className: "InformationType", - modelProperties: { - displayName: { - serializedName: "displayName", + }, + enforcementMode: { + serializedName: "properties.enforcementMode", type: { name: "String" } }, - order: { - serializedName: "order", + configurationStatus: { + serializedName: "properties.configurationStatus", type: { - name: "Number" + name: "String" } }, - recommendedLabelId: { - serializedName: "recommendedLabelId", + recommendationStatus: { + serializedName: "properties.recommendationStatus", type: { - name: "Uuid" + name: "String" } }, - enabled: { - serializedName: "enabled", + issues: { + serializedName: "properties.issues", type: { - name: "Boolean" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "AppWhitelistingIssueSummary" + } + } } }, - custom: { - serializedName: "custom", + sourceSystem: { + serializedName: "properties.sourceSystem", type: { - name: "Boolean" + name: "String" } }, - keywords: { - serializedName: "keywords", + vmRecommendations: { + serializedName: "properties.vmRecommendations", type: { name: "Sequence", element: { type: { name: "Composite", - className: "InformationProtectionKeyword" + className: "VmRecommendation" + } + } + } + }, + pathRecommendations: { + serializedName: "properties.pathRecommendations", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "PathRecommendation" } } } @@ -2158,40 +2368,60 @@ export const InformationType: msRest.CompositeMapper = { } }; -export const InformationProtectionPolicy: msRest.CompositeMapper = { - serializedName: "InformationProtectionPolicy", +export const AppWhitelistingGroups: msRest.CompositeMapper = { + serializedName: "AppWhitelistingGroups", type: { name: "Composite", - className: "InformationProtectionPolicy", + className: "AppWhitelistingGroups", modelProperties: { - ...Resource.type.modelProperties, - lastModifiedUtc: { - readOnly: true, - serializedName: "properties.lastModifiedUtc", + value: { + serializedName: "value", type: { - name: "DateTime" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "AppWhitelistingGroup" + } + } + } + } + } + } +}; + +export const AppWhitelistingPutGroupData: msRest.CompositeMapper = { + serializedName: "AppWhitelistingPutGroupData", + type: { + name: "Composite", + className: "AppWhitelistingPutGroupData", + modelProperties: { + enforcementMode: { + serializedName: "enforcementMode", + type: { + name: "String" } }, - labels: { - serializedName: "properties.labels", + vmRecommendations: { + serializedName: "vmRecommendations", type: { - name: "Dictionary", - value: { + name: "Sequence", + element: { type: { name: "Composite", - className: "SensitivityLabel" + className: "VmRecommendation" } } } }, - informationTypes: { - serializedName: "properties.informationTypes", + pathRecommendations: { + serializedName: "pathRecommendations", type: { - name: "Dictionary", - value: { + name: "Sequence", + element: { type: { name: "Composite", - className: "InformationType" + className: "PathRecommendation" } } } @@ -2200,61 +2430,140 @@ export const InformationProtectionPolicy: msRest.CompositeMapper = { } }; -export const SecurityContact: msRest.CompositeMapper = { - serializedName: "SecurityContact", +export const OperationDisplay: msRest.CompositeMapper = { + serializedName: "OperationDisplay", type: { name: "Composite", - className: "SecurityContact", + className: "OperationDisplay", modelProperties: { - ...Resource.type.modelProperties, - email: { - required: true, - serializedName: "properties.email", + provider: { + readOnly: true, + serializedName: "provider", type: { name: "String" } }, - phone: { - serializedName: "properties.phone", + resource: { + readOnly: true, + serializedName: "resource", type: { name: "String" } }, - alertNotifications: { - required: true, - serializedName: "properties.alertNotifications", + operation: { + readOnly: true, + serializedName: "operation", + type: { + name: "Number" + } + }, + description: { + readOnly: true, + serializedName: "description", + type: { + name: "String" + } + } + } + } +}; + +export const Operation: msRest.CompositeMapper = { + serializedName: "Operation", + type: { + name: "Composite", + className: "Operation", + modelProperties: { + name: { + readOnly: true, + serializedName: "name", type: { name: "String" } }, - alertsToAdmins: { - required: true, - serializedName: "properties.alertsToAdmins", + origin: { + readOnly: true, + serializedName: "origin", + type: { + name: "String" + } + }, + display: { + serializedName: "display", + type: { + name: "Composite", + className: "OperationDisplay" + } + } + } + } +}; + +export const SecurityTaskParameters: msRest.CompositeMapper = { + serializedName: "SecurityTaskParameters", + type: { + name: "Composite", + className: "SecurityTaskParameters", + modelProperties: { + name: { + readOnly: true, + serializedName: "name", type: { - name: "String" + name: "Boolean" } } + }, + additionalProperties: { + type: { + name: "Object" + } } } }; -export const WorkspaceSetting: msRest.CompositeMapper = { - serializedName: "WorkspaceSetting", +export const SecurityTask: msRest.CompositeMapper = { + serializedName: "SecurityTask", type: { name: "Composite", - className: "WorkspaceSetting", + className: "SecurityTask", modelProperties: { ...Resource.type.modelProperties, - workspaceId: { - required: true, - serializedName: "properties.workspaceId", + state: { + readOnly: true, + serializedName: "properties.state", type: { name: "String" } }, - scope: { - required: true, - serializedName: "properties.scope", + creationTimeUtc: { + readOnly: true, + serializedName: "properties.creationTimeUtc", + type: { + name: "DateTime" + } + }, + securityTaskParameters: { + serializedName: "properties.securityTaskParameters", + type: { + name: "Composite", + className: "SecurityTaskParameters", + additionalProperties: { + type: { + name: "Object" + } + } + } + }, + lastStateChangeTimeUtc: { + readOnly: true, + serializedName: "properties.lastStateChangeTimeUtc", + type: { + name: "DateTime" + } + }, + subState: { + readOnly: true, + serializedName: "properties.subState", type: { name: "String" } @@ -2511,164 +2820,33 @@ export const UpdateIotSecuritySolutionData: msRest.CompositeMapper = { } }; -export const IoTSeverityMetrics: msRest.CompositeMapper = { - serializedName: "IoTSeverityMetrics", - type: { - name: "Composite", - className: "IoTSeverityMetrics", - modelProperties: { - high: { - serializedName: "high", - type: { - name: "Number" - } - }, - medium: { - serializedName: "medium", - type: { - name: "Number" - } - }, - low: { - serializedName: "low", - type: { - name: "Number" - } - } - } - } -}; - -export const IoTSecuritySolutionAnalyticsModelPropertiesDevicesMetricsItem: msRest.CompositeMapper = { - serializedName: "IoTSecuritySolutionAnalyticsModelProperties_devicesMetricsItem", - type: { - name: "Composite", - className: "IoTSecuritySolutionAnalyticsModelPropertiesDevicesMetricsItem", - modelProperties: { - date: { - serializedName: "date", - type: { - name: "DateTime" - } - }, - devicesMetrics: { - serializedName: "devicesMetrics", - type: { - name: "Composite", - className: "IoTSeverityMetrics" - } - } - } - } -}; - -export const IoTSecurityAlertedDevice: msRest.CompositeMapper = { - serializedName: "IoTSecurityAlertedDevice", - type: { - name: "Composite", - className: "IoTSecurityAlertedDevice", - modelProperties: { - deviceId: { - readOnly: true, - serializedName: "deviceId", - type: { - name: "String" - } - }, - alertsCount: { - readOnly: true, - serializedName: "alertsCount", - type: { - name: "Number" - } - } - } - } -}; - -export const IoTSecurityAlertedDevicesList: msRest.CompositeMapper = { - serializedName: "IoTSecurityAlertedDevicesList", - type: { - name: "Composite", - className: "IoTSecurityAlertedDevicesList", - modelProperties: { - value: { - required: true, - serializedName: "value", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "IoTSecurityAlertedDevice" - } - } - } - }, - nextLink: { - readOnly: true, - serializedName: "nextLink", - type: { - name: "String" - } - } - } - } -}; - -export const IoTSecurityDeviceAlert: msRest.CompositeMapper = { - serializedName: "IoTSecurityDeviceAlert", +export const AdvancedThreatProtectionSetting: msRest.CompositeMapper = { + serializedName: "AdvancedThreatProtectionSetting", type: { name: "Composite", - className: "IoTSecurityDeviceAlert", + className: "AdvancedThreatProtectionSetting", modelProperties: { - alertDisplayName: { - readOnly: true, - serializedName: "alertDisplayName", - type: { - name: "String" - } - }, - reportedSeverity: { - readOnly: true, - serializedName: "reportedSeverity", - type: { - name: "String" - } - }, - alertsCount: { - readOnly: true, - serializedName: "alertsCount", + ...Resource.type.modelProperties, + isEnabled: { + serializedName: "properties.isEnabled", type: { - name: "Number" + name: "Boolean" } } } } }; -export const IoTSecurityDeviceAlertsList: msRest.CompositeMapper = { - serializedName: "IoTSecurityDeviceAlertsList", +export const AutoProvisioningSetting: msRest.CompositeMapper = { + serializedName: "AutoProvisioningSetting", type: { name: "Composite", - className: "IoTSecurityDeviceAlertsList", + className: "AutoProvisioningSetting", modelProperties: { - value: { + ...Resource.type.modelProperties, + autoProvision: { required: true, - serializedName: "value", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "IoTSecurityDeviceAlert" - } - } - } - }, - nextLink: { - readOnly: true, - serializedName: "nextLink", + serializedName: "properties.autoProvision", type: { name: "String" } @@ -2677,389 +2855,282 @@ export const IoTSecurityDeviceAlertsList: msRest.CompositeMapper = { } }; -export const IoTSecurityDeviceRecommendation: msRest.CompositeMapper = { - serializedName: "IoTSecurityDeviceRecommendation", +export const ComplianceSegment: msRest.CompositeMapper = { + serializedName: "ComplianceSegment", type: { name: "Composite", - className: "IoTSecurityDeviceRecommendation", + className: "ComplianceSegment", modelProperties: { - recommendationDisplayName: { - readOnly: true, - serializedName: "recommendationDisplayName", - type: { - name: "String" - } - }, - reportedSeverity: { - readOnly: true, - serializedName: "reportedSeverity", - type: { - name: "String" - } - }, - devicesCount: { + segmentType: { readOnly: true, - serializedName: "devicesCount", - type: { - name: "Number" - } - } - } - } -}; - -export const IoTSecurityDeviceRecommendationsList: msRest.CompositeMapper = { - serializedName: "IoTSecurityDeviceRecommendationsList", - type: { - name: "Composite", - className: "IoTSecurityDeviceRecommendationsList", - modelProperties: { - value: { - required: true, - serializedName: "value", + serializedName: "segmentType", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "IoTSecurityDeviceRecommendation" - } - } + name: "String" } }, - nextLink: { + percentage: { readOnly: true, - serializedName: "nextLink", + serializedName: "percentage", type: { - name: "String" + name: "Number" } } } } }; -export const IoTSecuritySolutionAnalyticsModel: msRest.CompositeMapper = { - serializedName: "IoTSecuritySolutionAnalyticsModel", +export const Compliance: msRest.CompositeMapper = { + serializedName: "Compliance", type: { name: "Composite", - className: "IoTSecuritySolutionAnalyticsModel", + className: "Compliance", modelProperties: { ...Resource.type.modelProperties, - metrics: { + assessmentTimestampUtcDate: { readOnly: true, - serializedName: "properties.metrics", + serializedName: "properties.assessmentTimestampUtcDate", type: { - name: "Composite", - className: "IoTSeverityMetrics" + name: "DateTime" } }, - unhealthyDeviceCount: { + resourceCount: { readOnly: true, - serializedName: "properties.unhealthyDeviceCount", + serializedName: "properties.resourceCount", type: { name: "Number" } }, - devicesMetrics: { + assessmentResult: { readOnly: true, - serializedName: "properties.devicesMetrics", + serializedName: "properties.assessmentResult", type: { name: "Sequence", element: { type: { name: "Composite", - className: "IoTSecuritySolutionAnalyticsModelPropertiesDevicesMetricsItem" + className: "ComplianceSegment" } } } - }, - topAlertedDevices: { - serializedName: "properties.topAlertedDevices", - type: { - name: "Composite", - className: "IoTSecurityAlertedDevicesList" - } - }, - mostPrevalentDeviceAlerts: { - serializedName: "properties.mostPrevalentDeviceAlerts", - type: { - name: "Composite", - className: "IoTSecurityDeviceAlertsList" - } - }, - mostPrevalentDeviceRecommendations: { - serializedName: "properties.mostPrevalentDeviceRecommendations", - type: { - name: "Composite", - className: "IoTSecurityDeviceRecommendationsList" - } } } } }; -export const IoTSecuritySolutionAnalyticsModelList: msRest.CompositeMapper = { - serializedName: "IoTSecuritySolutionAnalyticsModelList", +export const SensitivityLabel: msRest.CompositeMapper = { + serializedName: "SensitivityLabel", type: { name: "Composite", - className: "IoTSecuritySolutionAnalyticsModelList", + className: "SensitivityLabel", modelProperties: { - value: { - required: true, - serializedName: "value", + displayName: { + serializedName: "displayName", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "IoTSecuritySolutionAnalyticsModel" - } - } + name: "String" } }, - nextLink: { - readOnly: true, - serializedName: "nextLink", + order: { + serializedName: "order", type: { - name: "String" + name: "Number" + } + }, + enabled: { + serializedName: "enabled", + type: { + name: "Boolean" } } } } }; -export const IoTSecurityAggregatedAlert: msRest.CompositeMapper = { - serializedName: "IoTSecurityAggregatedAlert", +export const InformationProtectionKeyword: msRest.CompositeMapper = { + serializedName: "InformationProtectionKeyword", type: { name: "Composite", - className: "IoTSecurityAggregatedAlert", + className: "InformationProtectionKeyword", modelProperties: { - id: { - readOnly: true, - serializedName: "id", - type: { - name: "String" - } - }, - name: { - readOnly: true, - serializedName: "name", - type: { - name: "String" - } - }, - type: { - readOnly: true, - serializedName: "type", - type: { - name: "String" - } - }, - tags: { - serializedName: "tags", - type: { - name: "Dictionary", - value: { - type: { - name: "String" - } - } - } - }, - alertType: { - readOnly: true, - serializedName: "properties.alertType", - type: { - name: "String" - } - }, - alertDisplayName: { - readOnly: true, - serializedName: "properties.alertDisplayName", + pattern: { + serializedName: "pattern", type: { name: "String" } }, - aggregatedDateUtc: { - readOnly: true, - serializedName: "properties.aggregatedDateUtc", - type: { - name: "Date" - } - }, - vendorName: { - readOnly: true, - serializedName: "properties.vendorName", + custom: { + serializedName: "custom", type: { - name: "String" + name: "Boolean" } }, - reportedSeverity: { - readOnly: true, - serializedName: "properties.reportedSeverity", + canBeNumeric: { + serializedName: "canBeNumeric", type: { - name: "String" + name: "Boolean" } }, - remediationSteps: { - readOnly: true, - serializedName: "properties.remediationSteps", + excluded: { + serializedName: "excluded", type: { - name: "String" + name: "Boolean" } - }, - description: { - readOnly: true, - serializedName: "properties.description", + } + } + } +}; + +export const InformationType: msRest.CompositeMapper = { + serializedName: "InformationType", + type: { + name: "Composite", + className: "InformationType", + modelProperties: { + displayName: { + serializedName: "displayName", type: { name: "String" } }, - count: { - readOnly: true, - serializedName: "properties.count", + order: { + serializedName: "order", type: { name: "Number" } }, - effectedResourceType: { - readOnly: true, - serializedName: "properties.effectedResourceType", + recommendedLabelId: { + serializedName: "recommendedLabelId", type: { - name: "String" + name: "Uuid" } }, - systemSource: { - readOnly: true, - serializedName: "properties.systemSource", + enabled: { + serializedName: "enabled", type: { - name: "String" + name: "Boolean" } }, - actionTaken: { - readOnly: true, - serializedName: "properties.actionTaken", + custom: { + serializedName: "custom", type: { - name: "String" + name: "Boolean" } }, - logAnalyticsQuery: { - readOnly: true, - serializedName: "properties.logAnalyticsQuery", + keywords: { + serializedName: "keywords", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "InformationProtectionKeyword" + } + } } } } } }; -export const IoTSecurityAggregatedRecommendation: msRest.CompositeMapper = { - serializedName: "IoTSecurityAggregatedRecommendation", +export const InformationProtectionPolicy: msRest.CompositeMapper = { + serializedName: "InformationProtectionPolicy", type: { name: "Composite", - className: "IoTSecurityAggregatedRecommendation", + className: "InformationProtectionPolicy", modelProperties: { - id: { - readOnly: true, - serializedName: "id", - type: { - name: "String" - } - }, - name: { - readOnly: true, - serializedName: "name", - type: { - name: "String" - } - }, - type: { + ...Resource.type.modelProperties, + lastModifiedUtc: { readOnly: true, - serializedName: "type", + serializedName: "properties.lastModifiedUtc", type: { - name: "String" + name: "DateTime" } }, - tags: { - serializedName: "tags", + labels: { + serializedName: "properties.labels", type: { name: "Dictionary", value: { type: { - name: "String" + name: "Composite", + className: "SensitivityLabel" } } } }, - recommendationName: { - serializedName: "properties.recommendationName", - type: { - name: "String" - } - }, - recommendationDisplayName: { - readOnly: true, - serializedName: "properties.recommendationDisplayName", + informationTypes: { + serializedName: "properties.informationTypes", type: { - name: "String" + name: "Dictionary", + value: { + type: { + name: "Composite", + className: "InformationType" + } + } } - }, - description: { - readOnly: true, - serializedName: "properties.description", + } + } + } +}; + +export const SecurityContact: msRest.CompositeMapper = { + serializedName: "SecurityContact", + type: { + name: "Composite", + className: "SecurityContact", + modelProperties: { + ...Resource.type.modelProperties, + email: { + required: true, + serializedName: "properties.email", type: { name: "String" } }, - recommendationTypeId: { - readOnly: true, - serializedName: "properties.recommendationTypeId", + phone: { + serializedName: "properties.phone", type: { name: "String" } }, - detectedBy: { - readOnly: true, - serializedName: "properties.detectedBy", + alertNotifications: { + required: true, + serializedName: "properties.alertNotifications", type: { name: "String" } }, - remediationSteps: { - readOnly: true, - serializedName: "properties.remediationSteps", + alertsToAdmins: { + required: true, + serializedName: "properties.alertsToAdmins", type: { name: "String" } - }, - reportedSeverity: { - readOnly: true, - serializedName: "properties.reportedSeverity", + } + } + } +}; + +export const WorkspaceSetting: msRest.CompositeMapper = { + serializedName: "WorkspaceSetting", + type: { + name: "Composite", + className: "WorkspaceSetting", + modelProperties: { + ...Resource.type.modelProperties, + workspaceId: { + required: true, + serializedName: "properties.workspaceId", type: { name: "String" } }, - healthyDevices: { - readOnly: true, - serializedName: "properties.healthyDevices", - type: { - name: "Number" - } - }, - unhealthyDeviceCount: { - readOnly: true, - serializedName: "properties.unhealthyDeviceCount", + scope: { + required: true, + serializedName: "properties.scope", type: { name: "Number" } - }, - logAnalyticsQuery: { - readOnly: true, - serializedName: "properties.logAnalyticsQuery", - type: { - name: "String" - } } } } @@ -3180,7 +3251,7 @@ export const RegulatoryComplianceAssessment: msRest.CompositeMapper = { readOnly: true, serializedName: "properties.assessmentDetailsLink", type: { - name: "String" + name: "Number" } }, state: { @@ -3232,7 +3303,7 @@ export const ServerVulnerabilityAssessment: msRest.CompositeMapper = { readOnly: true, serializedName: "properties.provisioningState", type: { - name: "String" + name: "Number" } } } @@ -3313,7 +3384,13 @@ export const AlertList: msRest.CompositeMapper = { readOnly: true, serializedName: "nextLink", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ServerVulnerabilityAssessment" + } + } } } } @@ -3349,25 +3426,32 @@ export const SettingsList: msRest.CompositeMapper = { } }; -export const AllowedConnectionsList: msRest.CompositeMapper = { - serializedName: "AllowedConnectionsList", +export const IoTSecuritySolutionsList: msRest.CompositeMapper = { + serializedName: "IoTSecuritySolutionsList", type: { name: "Composite", - className: "AllowedConnectionsList", + className: "IoTSecuritySolutionsList", modelProperties: { value: { - readOnly: true, + required: true, serializedName: "", type: { name: "Sequence", element: { type: { name: "Composite", - className: "AllowedConnectionsResource" + className: "IoTSecuritySolutionModel" } } } }, + nextLink: { + readOnly: true, + serializedName: "nextLink", + type: { + name: "String" + } + }, nextLink: { readOnly: true, serializedName: "nextLink", @@ -3379,20 +3463,21 @@ export const AllowedConnectionsList: msRest.CompositeMapper = { } }; -export const DiscoveredSecuritySolutionList: msRest.CompositeMapper = { - serializedName: "DiscoveredSecuritySolutionList", +export const IoTSecurityAggregatedAlertList: msRest.CompositeMapper = { + serializedName: "IoTSecurityAggregatedAlertList", type: { name: "Composite", - className: "DiscoveredSecuritySolutionList", + className: "IoTSecurityAggregatedAlertList", modelProperties: { value: { + required: true, serializedName: "", type: { name: "Sequence", element: { type: { name: "Composite", - className: "DiscoveredSecuritySolution" + className: "IoTSecurityAggregatedAlert" } } } @@ -3408,20 +3493,21 @@ export const DiscoveredSecuritySolutionList: msRest.CompositeMapper = { } }; -export const ExternalSecuritySolutionList: msRest.CompositeMapper = { - serializedName: "ExternalSecuritySolutionList", +export const IoTSecurityAggregatedRecommendationList: msRest.CompositeMapper = { + serializedName: "IoTSecurityAggregatedRecommendationList", type: { name: "Composite", - className: "ExternalSecuritySolutionList", + className: "IoTSecurityAggregatedRecommendationList", modelProperties: { value: { + required: true, serializedName: "", type: { name: "Sequence", element: { type: { name: "Composite", - className: "ExternalSecuritySolution" + className: "IoTSecurityAggregatedRecommendation" } } } @@ -3437,20 +3523,21 @@ export const ExternalSecuritySolutionList: msRest.CompositeMapper = { } }; -export const JitNetworkAccessPoliciesList: msRest.CompositeMapper = { - serializedName: "JitNetworkAccessPoliciesList", +export const AllowedConnectionsList: msRest.CompositeMapper = { + serializedName: "AllowedConnectionsList", type: { name: "Composite", - className: "JitNetworkAccessPoliciesList", + className: "AllowedConnectionsList", modelProperties: { value: { + readOnly: true, serializedName: "", type: { name: "Sequence", element: { type: { name: "Composite", - className: "JitNetworkAccessPolicy" + className: "AllowedConnectionsResource" } } } @@ -3466,21 +3553,20 @@ export const JitNetworkAccessPoliciesList: msRest.CompositeMapper = { } }; -export const AscLocationList: msRest.CompositeMapper = { - serializedName: "AscLocationList", +export const DiscoveredSecuritySolutionList: msRest.CompositeMapper = { + serializedName: "DiscoveredSecuritySolutionList", type: { name: "Composite", - className: "AscLocationList", + className: "DiscoveredSecuritySolutionList", modelProperties: { value: { - readOnly: true, serializedName: "", type: { name: "Sequence", element: { type: { name: "Composite", - className: "AscLocation" + className: "DiscoveredSecuritySolution" } } } @@ -3496,11 +3582,11 @@ export const AscLocationList: msRest.CompositeMapper = { } }; -export const OperationList: msRest.CompositeMapper = { - serializedName: "OperationList", +export const ExternalSecuritySolutionList: msRest.CompositeMapper = { + serializedName: "ExternalSecuritySolutionList", type: { name: "Composite", - className: "OperationList", + className: "ExternalSecuritySolutionList", modelProperties: { value: { serializedName: "", @@ -3509,7 +3595,7 @@ export const OperationList: msRest.CompositeMapper = { element: { type: { name: "Composite", - className: "Operation" + className: "ExternalSecuritySolution" } } } @@ -3525,11 +3611,11 @@ export const OperationList: msRest.CompositeMapper = { } }; -export const SecurityTaskList: msRest.CompositeMapper = { - serializedName: "SecurityTaskList", +export const JitNetworkAccessPoliciesList: msRest.CompositeMapper = { + serializedName: "JitNetworkAccessPoliciesList", type: { name: "Composite", - className: "SecurityTaskList", + className: "JitNetworkAccessPoliciesList", modelProperties: { value: { readOnly: true, @@ -3539,7 +3625,7 @@ export const SecurityTaskList: msRest.CompositeMapper = { element: { type: { name: "Composite", - className: "SecurityTask" + className: "JitNetworkAccessPolicy" } } } @@ -3555,11 +3641,11 @@ export const SecurityTaskList: msRest.CompositeMapper = { } }; -export const TopologyList: msRest.CompositeMapper = { - serializedName: "TopologyList", +export const AscLocationList: msRest.CompositeMapper = { + serializedName: "AscLocationList", type: { name: "Composite", - className: "TopologyList", + className: "AscLocationList", modelProperties: { value: { readOnly: true, @@ -3569,7 +3655,7 @@ export const TopologyList: msRest.CompositeMapper = { element: { type: { name: "Composite", - className: "TopologyResource" + className: "AscLocation" } } } @@ -3585,11 +3671,11 @@ export const TopologyList: msRest.CompositeMapper = { } }; -export const AutoProvisioningSettingList: msRest.CompositeMapper = { - serializedName: "AutoProvisioningSettingList", +export const OperationList: msRest.CompositeMapper = { + serializedName: "OperationList", type: { name: "Composite", - className: "AutoProvisioningSettingList", + className: "OperationList", modelProperties: { value: { serializedName: "", @@ -3598,7 +3684,7 @@ export const AutoProvisioningSettingList: msRest.CompositeMapper = { element: { type: { name: "Composite", - className: "AutoProvisioningSetting" + className: "Operation" } } } @@ -3614,20 +3700,21 @@ export const AutoProvisioningSettingList: msRest.CompositeMapper = { } }; -export const ComplianceList: msRest.CompositeMapper = { - serializedName: "ComplianceList", +export const SecurityTaskList: msRest.CompositeMapper = { + serializedName: "SecurityTaskList", type: { name: "Composite", - className: "ComplianceList", + className: "SecurityTaskList", modelProperties: { value: { + readOnly: true, serializedName: "", type: { name: "Sequence", element: { type: { name: "Composite", - className: "Compliance" + className: "SecurityTask" } } } @@ -3643,20 +3730,21 @@ export const ComplianceList: msRest.CompositeMapper = { } }; -export const InformationProtectionPolicyList: msRest.CompositeMapper = { - serializedName: "InformationProtectionPolicyList", +export const TopologyList: msRest.CompositeMapper = { + serializedName: "TopologyList", type: { name: "Composite", - className: "InformationProtectionPolicyList", + className: "TopologyList", modelProperties: { value: { + readOnly: true, serializedName: "", type: { name: "Sequence", element: { type: { name: "Composite", - className: "InformationProtectionPolicy" + className: "TopologyResource" } } } @@ -3672,21 +3760,20 @@ export const InformationProtectionPolicyList: msRest.CompositeMapper = { } }; -export const SecurityContactList: msRest.CompositeMapper = { - serializedName: "SecurityContactList", +export const AutoProvisioningSettingList: msRest.CompositeMapper = { + serializedName: "AutoProvisioningSettingList", type: { name: "Composite", - className: "SecurityContactList", + className: "AutoProvisioningSettingList", modelProperties: { value: { - readOnly: true, serializedName: "", type: { name: "Sequence", element: { type: { name: "Composite", - className: "SecurityContact" + className: "AutoProvisioningSetting" } } } @@ -3702,21 +3789,20 @@ export const SecurityContactList: msRest.CompositeMapper = { } }; -export const WorkspaceSettingList: msRest.CompositeMapper = { - serializedName: "WorkspaceSettingList", +export const ComplianceList: msRest.CompositeMapper = { + serializedName: "ComplianceList", type: { name: "Composite", - className: "WorkspaceSettingList", + className: "ComplianceList", modelProperties: { value: { - required: true, serializedName: "", type: { name: "Sequence", element: { type: { name: "Composite", - className: "WorkspaceSetting" + className: "Compliance" } } } @@ -3732,11 +3818,11 @@ export const WorkspaceSettingList: msRest.CompositeMapper = { } }; -export const IoTSecuritySolutionsList: msRest.CompositeMapper = { - serializedName: "IoTSecuritySolutionsList", +export const InformationProtectionPolicyList: msRest.CompositeMapper = { + serializedName: "InformationProtectionPolicyList", type: { name: "Composite", - className: "IoTSecuritySolutionsList", + className: "InformationProtectionPolicyList", modelProperties: { value: { required: true, @@ -3746,7 +3832,7 @@ export const IoTSecuritySolutionsList: msRest.CompositeMapper = { element: { type: { name: "Composite", - className: "IoTSecuritySolutionModel" + className: "InformationProtectionPolicy" } } } @@ -3762,21 +3848,21 @@ export const IoTSecuritySolutionsList: msRest.CompositeMapper = { } }; -export const IoTSecurityAggregatedAlertList: msRest.CompositeMapper = { - serializedName: "IoTSecurityAggregatedAlertList", +export const SecurityContactList: msRest.CompositeMapper = { + serializedName: "SecurityContactList", type: { name: "Composite", - className: "IoTSecurityAggregatedAlertList", + className: "SecurityContactList", modelProperties: { value: { - required: true, + readOnly: true, serializedName: "", type: { name: "Sequence", element: { type: { name: "Composite", - className: "IoTSecurityAggregatedAlert" + className: "SecurityContact" } } } @@ -3792,11 +3878,11 @@ export const IoTSecurityAggregatedAlertList: msRest.CompositeMapper = { } }; -export const IoTSecurityAggregatedRecommendationList: msRest.CompositeMapper = { - serializedName: "IoTSecurityAggregatedRecommendationList", +export const WorkspaceSettingList: msRest.CompositeMapper = { + serializedName: "WorkspaceSettingList", type: { name: "Composite", - className: "IoTSecurityAggregatedRecommendationList", + className: "WorkspaceSettingList", modelProperties: { value: { required: true, @@ -3806,7 +3892,7 @@ export const IoTSecurityAggregatedRecommendationList: msRest.CompositeMapper = { element: { type: { name: "Composite", - className: "IoTSecurityAggregatedRecommendation" + className: "WorkspaceSetting" } } } diff --git a/sdk/security/arm-security/src/models/parameters.ts b/sdk/security/arm-security/src/models/parameters.ts index 1da6ad620056..354053bede0d 100644 --- a/sdk/security/arm-security/src/models/parameters.ts +++ b/sdk/security/arm-security/src/models/parameters.ts @@ -102,7 +102,7 @@ export const apiVersion3: msRest.OperationQueryParameter = { required: true, isConstant: true, serializedName: "api-version", - defaultValue: '2015-06-01-preview', + defaultValue: '2019-08-01', type: { name: "String" } @@ -114,13 +114,25 @@ export const apiVersion4: msRest.OperationQueryParameter = { required: true, isConstant: true, serializedName: "api-version", - defaultValue: '2017-08-01-preview', + defaultValue: '2015-06-01-preview', type: { name: "String" } } }; export const apiVersion5: msRest.OperationQueryParameter = { + parameterPath: "apiVersion", + mapper: { + required: true, + isConstant: true, + serializedName: "api-version", + defaultValue: '2017-08-01-preview', + type: { + name: "String" + } + } +}; +export const apiVersion6: msRest.OperationQueryParameter = { parameterPath: "apiVersion", mapper: { required: true, diff --git a/sdk/security/arm-security/src/operations/adaptiveApplicationControls.ts b/sdk/security/arm-security/src/operations/adaptiveApplicationControls.ts index d7eca15826e7..c216a9b59d00 100644 --- a/sdk/security/arm-security/src/operations/adaptiveApplicationControls.ts +++ b/sdk/security/arm-security/src/operations/adaptiveApplicationControls.ts @@ -120,7 +120,7 @@ const listOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion3, + Parameters.apiVersion4, Parameters.includePathRecommendations, Parameters.summary ], @@ -147,7 +147,7 @@ const getOperationSpec: msRest.OperationSpec = { Parameters.groupName ], queryParameters: [ - Parameters.apiVersion3 + Parameters.apiVersion4 ], headerParameters: [ Parameters.acceptLanguage @@ -172,7 +172,7 @@ const putOperationSpec: msRest.OperationSpec = { Parameters.groupName ], queryParameters: [ - Parameters.apiVersion3 + Parameters.apiVersion4 ], headerParameters: [ Parameters.acceptLanguage diff --git a/sdk/security/arm-security/src/operations/advancedThreatProtection.ts b/sdk/security/arm-security/src/operations/advancedThreatProtection.ts index 5ae4356491dc..e066ac72441c 100644 --- a/sdk/security/arm-security/src/operations/advancedThreatProtection.ts +++ b/sdk/security/arm-security/src/operations/advancedThreatProtection.ts @@ -97,7 +97,7 @@ const getOperationSpec: msRest.OperationSpec = { Parameters.settingName1 ], queryParameters: [ - Parameters.apiVersion4 + Parameters.apiVersion5 ], headerParameters: [ Parameters.acceptLanguage @@ -121,7 +121,7 @@ const createOperationSpec: msRest.OperationSpec = { Parameters.settingName1 ], queryParameters: [ - Parameters.apiVersion4 + Parameters.apiVersion5 ], headerParameters: [ Parameters.acceptLanguage diff --git a/sdk/security/arm-security/src/operations/allowedConnections.ts b/sdk/security/arm-security/src/operations/allowedConnections.ts index b4a0a2c0d818..af6538eb1056 100644 --- a/sdk/security/arm-security/src/operations/allowedConnections.ts +++ b/sdk/security/arm-security/src/operations/allowedConnections.ts @@ -179,7 +179,7 @@ const listOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion3 + Parameters.apiVersion4 ], headerParameters: [ Parameters.acceptLanguage @@ -203,7 +203,7 @@ const listByHomeRegionOperationSpec: msRest.OperationSpec = { Parameters.ascLocation ], queryParameters: [ - Parameters.apiVersion3 + Parameters.apiVersion4 ], headerParameters: [ Parameters.acceptLanguage @@ -229,7 +229,7 @@ const getOperationSpec: msRest.OperationSpec = { Parameters.connectionType ], queryParameters: [ - Parameters.apiVersion3 + Parameters.apiVersion4 ], headerParameters: [ Parameters.acceptLanguage diff --git a/sdk/security/arm-security/src/operations/autoProvisioningSettings.ts b/sdk/security/arm-security/src/operations/autoProvisioningSettings.ts index b0f148dc8be3..352f1989c6d3 100644 --- a/sdk/security/arm-security/src/operations/autoProvisioningSettings.ts +++ b/sdk/security/arm-security/src/operations/autoProvisioningSettings.ts @@ -148,7 +148,7 @@ const listOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion4 + Parameters.apiVersion5 ], headerParameters: [ Parameters.acceptLanguage @@ -172,7 +172,7 @@ const getOperationSpec: msRest.OperationSpec = { Parameters.settingName0 ], queryParameters: [ - Parameters.apiVersion4 + Parameters.apiVersion5 ], headerParameters: [ Parameters.acceptLanguage @@ -196,7 +196,7 @@ const createOperationSpec: msRest.OperationSpec = { Parameters.settingName0 ], queryParameters: [ - Parameters.apiVersion4 + Parameters.apiVersion5 ], headerParameters: [ Parameters.acceptLanguage diff --git a/sdk/security/arm-security/src/operations/compliances.ts b/sdk/security/arm-security/src/operations/compliances.ts index 3b922e550679..951f8b8f7abb 100644 --- a/sdk/security/arm-security/src/operations/compliances.ts +++ b/sdk/security/arm-security/src/operations/compliances.ts @@ -136,7 +136,7 @@ const listOperationSpec: msRest.OperationSpec = { Parameters.scope ], queryParameters: [ - Parameters.apiVersion4 + Parameters.apiVersion5 ], headerParameters: [ Parameters.acceptLanguage @@ -160,7 +160,7 @@ const getOperationSpec: msRest.OperationSpec = { Parameters.complianceName ], queryParameters: [ - Parameters.apiVersion4 + Parameters.apiVersion5 ], headerParameters: [ Parameters.acceptLanguage diff --git a/sdk/security/arm-security/src/operations/discoveredSecuritySolutions.ts b/sdk/security/arm-security/src/operations/discoveredSecuritySolutions.ts index 59ca5da504c7..a65a6cd10bb5 100644 --- a/sdk/security/arm-security/src/operations/discoveredSecuritySolutions.ts +++ b/sdk/security/arm-security/src/operations/discoveredSecuritySolutions.ts @@ -175,7 +175,7 @@ const listOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion3 + Parameters.apiVersion4 ], headerParameters: [ Parameters.acceptLanguage @@ -199,7 +199,7 @@ const listByHomeRegionOperationSpec: msRest.OperationSpec = { Parameters.ascLocation ], queryParameters: [ - Parameters.apiVersion3 + Parameters.apiVersion4 ], headerParameters: [ Parameters.acceptLanguage @@ -225,7 +225,7 @@ const getOperationSpec: msRest.OperationSpec = { Parameters.discoveredSecuritySolutionName ], queryParameters: [ - Parameters.apiVersion3 + Parameters.apiVersion4 ], headerParameters: [ Parameters.acceptLanguage diff --git a/sdk/security/arm-security/src/operations/externalSecuritySolutions.ts b/sdk/security/arm-security/src/operations/externalSecuritySolutions.ts index b88471034f9c..33c0cc882766 100644 --- a/sdk/security/arm-security/src/operations/externalSecuritySolutions.ts +++ b/sdk/security/arm-security/src/operations/externalSecuritySolutions.ts @@ -175,7 +175,7 @@ const listOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion3 + Parameters.apiVersion4 ], headerParameters: [ Parameters.acceptLanguage @@ -199,7 +199,7 @@ const listByHomeRegionOperationSpec: msRest.OperationSpec = { Parameters.ascLocation ], queryParameters: [ - Parameters.apiVersion3 + Parameters.apiVersion4 ], headerParameters: [ Parameters.acceptLanguage @@ -225,7 +225,7 @@ const getOperationSpec: msRest.OperationSpec = { Parameters.externalSecuritySolutionsName ], queryParameters: [ - Parameters.apiVersion3 + Parameters.apiVersion4 ], headerParameters: [ Parameters.acceptLanguage diff --git a/sdk/security/arm-security/src/operations/index.ts b/sdk/security/arm-security/src/operations/index.ts index e33e934a1ea9..f8898525e16d 100644 --- a/sdk/security/arm-security/src/operations/index.ts +++ b/sdk/security/arm-security/src/operations/index.ts @@ -12,6 +12,14 @@ export * from "./complianceResults"; export * from "./pricings"; export * from "./alerts"; export * from "./settings"; +export * from "./ioTSecuritySolutions"; +export * from "./ioTSecuritySolutionsResourceGroup"; +export * from "./iotSecuritySolution"; +export * from "./ioTSecuritySolutionsAnalytics"; +export * from "./ioTSecuritySolutionsAnalyticsAggregatedAlerts"; +export * from "./ioTSecuritySolutionsAnalyticsAggregatedAlert"; +export * from "./ioTSecuritySolutionsAnalyticsRecommendation"; +export * from "./ioTSecuritySolutionsAnalyticsRecommendations"; export * from "./allowedConnections"; export * from "./discoveredSecuritySolutions"; export * from "./externalSecuritySolutions"; @@ -27,14 +35,6 @@ export * from "./compliances"; export * from "./informationProtectionPolicies"; export * from "./securityContacts"; export * from "./workspaceSettings"; -export * from "./ioTSecuritySolutions"; -export * from "./ioTSecuritySolutionsResourceGroup"; -export * from "./iotSecuritySolution"; -export * from "./ioTSecuritySolutionsAnalytics"; -export * from "./ioTSecuritySolutionsAnalyticsAggregatedAlerts"; -export * from "./ioTSecuritySolutionsAnalyticsAggregatedAlert"; -export * from "./ioTSecuritySolutionsAnalyticsRecommendation"; -export * from "./ioTSecuritySolutionsAnalyticsRecommendations"; export * from "./regulatoryComplianceStandards"; export * from "./regulatoryComplianceControls"; export * from "./regulatoryComplianceAssessments"; diff --git a/sdk/security/arm-security/src/operations/informationProtectionPolicies.ts b/sdk/security/arm-security/src/operations/informationProtectionPolicies.ts index 56acb26d52f5..b8ac678e1e15 100644 --- a/sdk/security/arm-security/src/operations/informationProtectionPolicies.ts +++ b/sdk/security/arm-security/src/operations/informationProtectionPolicies.ts @@ -181,7 +181,7 @@ const getOperationSpec: msRest.OperationSpec = { Parameters.informationProtectionPolicyName ], queryParameters: [ - Parameters.apiVersion4 + Parameters.apiVersion5 ], headerParameters: [ Parameters.acceptLanguage @@ -205,7 +205,7 @@ const createOrUpdateOperationSpec: msRest.OperationSpec = { Parameters.informationProtectionPolicyName ], queryParameters: [ - Parameters.apiVersion4 + Parameters.apiVersion5 ], headerParameters: [ Parameters.acceptLanguage @@ -231,7 +231,7 @@ const listOperationSpec: msRest.OperationSpec = { Parameters.scope ], queryParameters: [ - Parameters.apiVersion4 + Parameters.apiVersion5 ], headerParameters: [ Parameters.acceptLanguage diff --git a/sdk/security/arm-security/src/operations/ioTSecuritySolutions.ts b/sdk/security/arm-security/src/operations/ioTSecuritySolutions.ts index a317b9dfd76f..413cfa8434b4 100644 --- a/sdk/security/arm-security/src/operations/ioTSecuritySolutions.ts +++ b/sdk/security/arm-security/src/operations/ioTSecuritySolutions.ts @@ -88,7 +88,7 @@ const listOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion4, + Parameters.apiVersion3, Parameters.filter ], headerParameters: [ diff --git a/sdk/security/arm-security/src/operations/ioTSecuritySolutionsAnalytics.ts b/sdk/security/arm-security/src/operations/ioTSecuritySolutionsAnalytics.ts index ed507110d23c..8a3df6f903ca 100644 --- a/sdk/security/arm-security/src/operations/ioTSecuritySolutionsAnalytics.ts +++ b/sdk/security/arm-security/src/operations/ioTSecuritySolutionsAnalytics.ts @@ -108,7 +108,7 @@ const getAllOperationSpec: msRest.OperationSpec = { Parameters.solutionName ], queryParameters: [ - Parameters.apiVersion4 + Parameters.apiVersion3 ], headerParameters: [ Parameters.acceptLanguage @@ -133,7 +133,7 @@ const getDefaultOperationSpec: msRest.OperationSpec = { Parameters.solutionName ], queryParameters: [ - Parameters.apiVersion4 + Parameters.apiVersion3 ], headerParameters: [ Parameters.acceptLanguage diff --git a/sdk/security/arm-security/src/operations/ioTSecuritySolutionsAnalyticsAggregatedAlert.ts b/sdk/security/arm-security/src/operations/ioTSecuritySolutionsAnalyticsAggregatedAlert.ts index 619809734a6a..247cb47f135e 100644 --- a/sdk/security/arm-security/src/operations/ioTSecuritySolutionsAnalyticsAggregatedAlert.ts +++ b/sdk/security/arm-security/src/operations/ioTSecuritySolutionsAnalyticsAggregatedAlert.ts @@ -117,7 +117,7 @@ const getOperationSpec: msRest.OperationSpec = { Parameters.aggregatedAlertName ], queryParameters: [ - Parameters.apiVersion4 + Parameters.apiVersion3 ], headerParameters: [ Parameters.acceptLanguage @@ -143,7 +143,7 @@ const dismissOperationSpec: msRest.OperationSpec = { Parameters.aggregatedAlertName ], queryParameters: [ - Parameters.apiVersion4 + Parameters.apiVersion3 ], headerParameters: [ Parameters.acceptLanguage diff --git a/sdk/security/arm-security/src/operations/ioTSecuritySolutionsAnalyticsAggregatedAlerts.ts b/sdk/security/arm-security/src/operations/ioTSecuritySolutionsAnalyticsAggregatedAlerts.ts index 62a537308567..f309dc4aa1bb 100644 --- a/sdk/security/arm-security/src/operations/ioTSecuritySolutionsAnalyticsAggregatedAlerts.ts +++ b/sdk/security/arm-security/src/operations/ioTSecuritySolutionsAnalyticsAggregatedAlerts.ts @@ -101,7 +101,7 @@ const listOperationSpec: msRest.OperationSpec = { Parameters.solutionName ], queryParameters: [ - Parameters.apiVersion4, + Parameters.apiVersion3, Parameters.top ], headerParameters: [ diff --git a/sdk/security/arm-security/src/operations/ioTSecuritySolutionsAnalyticsRecommendation.ts b/sdk/security/arm-security/src/operations/ioTSecuritySolutionsAnalyticsRecommendation.ts index 46144505db1c..6a5babba7a11 100644 --- a/sdk/security/arm-security/src/operations/ioTSecuritySolutionsAnalyticsRecommendation.ts +++ b/sdk/security/arm-security/src/operations/ioTSecuritySolutionsAnalyticsRecommendation.ts @@ -78,7 +78,7 @@ const getOperationSpec: msRest.OperationSpec = { Parameters.aggregatedRecommendationName ], queryParameters: [ - Parameters.apiVersion4 + Parameters.apiVersion3 ], headerParameters: [ Parameters.acceptLanguage diff --git a/sdk/security/arm-security/src/operations/ioTSecuritySolutionsAnalyticsRecommendations.ts b/sdk/security/arm-security/src/operations/ioTSecuritySolutionsAnalyticsRecommendations.ts index b029453d70b5..c1b5296ba7d6 100644 --- a/sdk/security/arm-security/src/operations/ioTSecuritySolutionsAnalyticsRecommendations.ts +++ b/sdk/security/arm-security/src/operations/ioTSecuritySolutionsAnalyticsRecommendations.ts @@ -101,7 +101,7 @@ const listOperationSpec: msRest.OperationSpec = { Parameters.solutionName ], queryParameters: [ - Parameters.apiVersion4, + Parameters.apiVersion3, Parameters.top ], headerParameters: [ diff --git a/sdk/security/arm-security/src/operations/ioTSecuritySolutionsResourceGroup.ts b/sdk/security/arm-security/src/operations/ioTSecuritySolutionsResourceGroup.ts index 0cceb6bb1d78..8849261f01df 100644 --- a/sdk/security/arm-security/src/operations/ioTSecuritySolutionsResourceGroup.ts +++ b/sdk/security/arm-security/src/operations/ioTSecuritySolutionsResourceGroup.ts @@ -96,7 +96,7 @@ const listOperationSpec: msRest.OperationSpec = { Parameters.resourceGroupName ], queryParameters: [ - Parameters.apiVersion4, + Parameters.apiVersion3, Parameters.filter ], headerParameters: [ diff --git a/sdk/security/arm-security/src/operations/iotSecuritySolution.ts b/sdk/security/arm-security/src/operations/iotSecuritySolution.ts index 76fc9c45216e..fd82775b83ac 100644 --- a/sdk/security/arm-security/src/operations/iotSecuritySolution.ts +++ b/sdk/security/arm-security/src/operations/iotSecuritySolution.ts @@ -187,7 +187,7 @@ const getOperationSpec: msRest.OperationSpec = { Parameters.solutionName ], queryParameters: [ - Parameters.apiVersion4 + Parameters.apiVersion3 ], headerParameters: [ Parameters.acceptLanguage @@ -212,7 +212,7 @@ const createOperationSpec: msRest.OperationSpec = { Parameters.solutionName ], queryParameters: [ - Parameters.apiVersion4 + Parameters.apiVersion3 ], headerParameters: [ Parameters.acceptLanguage @@ -247,7 +247,7 @@ const updateOperationSpec: msRest.OperationSpec = { Parameters.solutionName ], queryParameters: [ - Parameters.apiVersion4 + Parameters.apiVersion3 ], headerParameters: [ Parameters.acceptLanguage @@ -279,7 +279,7 @@ const deleteMethodOperationSpec: msRest.OperationSpec = { Parameters.solutionName ], queryParameters: [ - Parameters.apiVersion4 + Parameters.apiVersion3 ], headerParameters: [ Parameters.acceptLanguage diff --git a/sdk/security/arm-security/src/operations/jitNetworkAccessPolicies.ts b/sdk/security/arm-security/src/operations/jitNetworkAccessPolicies.ts index 19de8e652b64..33b07e6a2042 100644 --- a/sdk/security/arm-security/src/operations/jitNetworkAccessPolicies.ts +++ b/sdk/security/arm-security/src/operations/jitNetworkAccessPolicies.ts @@ -413,7 +413,7 @@ const listOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion3 + Parameters.apiVersion4 ], headerParameters: [ Parameters.acceptLanguage @@ -437,7 +437,7 @@ const listByRegionOperationSpec: msRest.OperationSpec = { Parameters.ascLocation ], queryParameters: [ - Parameters.apiVersion3 + Parameters.apiVersion4 ], headerParameters: [ Parameters.acceptLanguage @@ -461,7 +461,7 @@ const listByResourceGroupOperationSpec: msRest.OperationSpec = { Parameters.resourceGroupName ], queryParameters: [ - Parameters.apiVersion3 + Parameters.apiVersion4 ], headerParameters: [ Parameters.acceptLanguage @@ -486,7 +486,7 @@ const listByResourceGroupAndRegionOperationSpec: msRest.OperationSpec = { Parameters.ascLocation ], queryParameters: [ - Parameters.apiVersion3 + Parameters.apiVersion4 ], headerParameters: [ Parameters.acceptLanguage @@ -512,7 +512,7 @@ const getOperationSpec: msRest.OperationSpec = { Parameters.jitNetworkAccessPolicyName ], queryParameters: [ - Parameters.apiVersion3 + Parameters.apiVersion4 ], headerParameters: [ Parameters.acceptLanguage @@ -538,7 +538,7 @@ const createOrUpdateOperationSpec: msRest.OperationSpec = { Parameters.jitNetworkAccessPolicyName ], queryParameters: [ - Parameters.apiVersion3 + Parameters.apiVersion4 ], headerParameters: [ Parameters.acceptLanguage @@ -571,7 +571,7 @@ const deleteMethodOperationSpec: msRest.OperationSpec = { Parameters.jitNetworkAccessPolicyName ], queryParameters: [ - Parameters.apiVersion3 + Parameters.apiVersion4 ], headerParameters: [ Parameters.acceptLanguage @@ -597,7 +597,7 @@ const initiateOperationSpec: msRest.OperationSpec = { Parameters.jitNetworkAccessPolicyInitiateType ], queryParameters: [ - Parameters.apiVersion3 + Parameters.apiVersion4 ], headerParameters: [ Parameters.acceptLanguage diff --git a/sdk/security/arm-security/src/operations/locations.ts b/sdk/security/arm-security/src/operations/locations.ts index 55deb4222589..6fddbae9fa18 100644 --- a/sdk/security/arm-security/src/operations/locations.ts +++ b/sdk/security/arm-security/src/operations/locations.ts @@ -116,7 +116,7 @@ const listOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion3 + Parameters.apiVersion4 ], headerParameters: [ Parameters.acceptLanguage @@ -140,7 +140,7 @@ const getOperationSpec: msRest.OperationSpec = { Parameters.ascLocation ], queryParameters: [ - Parameters.apiVersion3 + Parameters.apiVersion4 ], headerParameters: [ Parameters.acceptLanguage diff --git a/sdk/security/arm-security/src/operations/operations.ts b/sdk/security/arm-security/src/operations/operations.ts index 43d8b8fe4740..15d396b057d3 100644 --- a/sdk/security/arm-security/src/operations/operations.ts +++ b/sdk/security/arm-security/src/operations/operations.ts @@ -85,7 +85,7 @@ const listOperationSpec: msRest.OperationSpec = { httpMethod: "GET", path: "providers/Microsoft.Security/operations", queryParameters: [ - Parameters.apiVersion3 + Parameters.apiVersion4 ], headerParameters: [ Parameters.acceptLanguage diff --git a/sdk/security/arm-security/src/operations/regulatoryComplianceAssessments.ts b/sdk/security/arm-security/src/operations/regulatoryComplianceAssessments.ts index fa8809ba1f4b..d9e7f429a94d 100644 --- a/sdk/security/arm-security/src/operations/regulatoryComplianceAssessments.ts +++ b/sdk/security/arm-security/src/operations/regulatoryComplianceAssessments.ts @@ -134,7 +134,7 @@ const listOperationSpec: msRest.OperationSpec = { Parameters.regulatoryComplianceControlName ], queryParameters: [ - Parameters.apiVersion5, + Parameters.apiVersion6, Parameters.filter ], headerParameters: [ @@ -161,7 +161,7 @@ const getOperationSpec: msRest.OperationSpec = { Parameters.regulatoryComplianceAssessmentName ], queryParameters: [ - Parameters.apiVersion5 + Parameters.apiVersion6 ], headerParameters: [ Parameters.acceptLanguage diff --git a/sdk/security/arm-security/src/operations/regulatoryComplianceControls.ts b/sdk/security/arm-security/src/operations/regulatoryComplianceControls.ts index f6c05d8be3f4..5d40b5b0688b 100644 --- a/sdk/security/arm-security/src/operations/regulatoryComplianceControls.ts +++ b/sdk/security/arm-security/src/operations/regulatoryComplianceControls.ts @@ -125,7 +125,7 @@ const listOperationSpec: msRest.OperationSpec = { Parameters.regulatoryComplianceStandardName ], queryParameters: [ - Parameters.apiVersion5, + Parameters.apiVersion6, Parameters.filter ], headerParameters: [ @@ -151,7 +151,7 @@ const getOperationSpec: msRest.OperationSpec = { Parameters.regulatoryComplianceControlName ], queryParameters: [ - Parameters.apiVersion5 + Parameters.apiVersion6 ], headerParameters: [ Parameters.acceptLanguage diff --git a/sdk/security/arm-security/src/operations/regulatoryComplianceStandards.ts b/sdk/security/arm-security/src/operations/regulatoryComplianceStandards.ts index 26f961c81315..07b2a60f5258 100644 --- a/sdk/security/arm-security/src/operations/regulatoryComplianceStandards.ts +++ b/sdk/security/arm-security/src/operations/regulatoryComplianceStandards.ts @@ -116,7 +116,7 @@ const listOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion5, + Parameters.apiVersion6, Parameters.filter ], headerParameters: [ @@ -141,7 +141,7 @@ const getOperationSpec: msRest.OperationSpec = { Parameters.regulatoryComplianceStandardName ], queryParameters: [ - Parameters.apiVersion5 + Parameters.apiVersion6 ], headerParameters: [ Parameters.acceptLanguage diff --git a/sdk/security/arm-security/src/operations/securityContacts.ts b/sdk/security/arm-security/src/operations/securityContacts.ts index 6ca8121a3cb0..e368e7b7cf1f 100644 --- a/sdk/security/arm-security/src/operations/securityContacts.ts +++ b/sdk/security/arm-security/src/operations/securityContacts.ts @@ -208,7 +208,7 @@ const listOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion4 + Parameters.apiVersion5 ], headerParameters: [ Parameters.acceptLanguage @@ -232,7 +232,7 @@ const getOperationSpec: msRest.OperationSpec = { Parameters.securityContactName ], queryParameters: [ - Parameters.apiVersion4 + Parameters.apiVersion5 ], headerParameters: [ Parameters.acceptLanguage @@ -256,7 +256,7 @@ const createOperationSpec: msRest.OperationSpec = { Parameters.securityContactName ], queryParameters: [ - Parameters.apiVersion4 + Parameters.apiVersion5 ], headerParameters: [ Parameters.acceptLanguage @@ -287,7 +287,7 @@ const deleteMethodOperationSpec: msRest.OperationSpec = { Parameters.securityContactName ], queryParameters: [ - Parameters.apiVersion4 + Parameters.apiVersion5 ], headerParameters: [ Parameters.acceptLanguage @@ -309,7 +309,7 @@ const updateOperationSpec: msRest.OperationSpec = { Parameters.securityContactName ], queryParameters: [ - Parameters.apiVersion4 + Parameters.apiVersion5 ], headerParameters: [ Parameters.acceptLanguage diff --git a/sdk/security/arm-security/src/operations/serverVulnerabilityAssessmentOperations.ts b/sdk/security/arm-security/src/operations/serverVulnerabilityAssessmentOperations.ts index 455a075e1e06..660a35067e2d 100644 --- a/sdk/security/arm-security/src/operations/serverVulnerabilityAssessmentOperations.ts +++ b/sdk/security/arm-security/src/operations/serverVulnerabilityAssessmentOperations.ts @@ -213,7 +213,7 @@ const listByExtendedResourceOperationSpec: msRest.OperationSpec = { Parameters.resourceName ], queryParameters: [ - Parameters.apiVersion5 + Parameters.apiVersion6 ], headerParameters: [ Parameters.acceptLanguage @@ -241,7 +241,7 @@ const getOperationSpec: msRest.OperationSpec = { Parameters.serverVulnerabilityAssessment ], queryParameters: [ - Parameters.apiVersion5 + Parameters.apiVersion6 ], headerParameters: [ Parameters.acceptLanguage @@ -269,7 +269,7 @@ const createOrUpdateOperationSpec: msRest.OperationSpec = { Parameters.serverVulnerabilityAssessment ], queryParameters: [ - Parameters.apiVersion5 + Parameters.apiVersion6 ], headerParameters: [ Parameters.acceptLanguage @@ -297,7 +297,7 @@ const deleteMethodOperationSpec: msRest.OperationSpec = { Parameters.serverVulnerabilityAssessment ], queryParameters: [ - Parameters.apiVersion5 + Parameters.apiVersion6 ], headerParameters: [ Parameters.acceptLanguage diff --git a/sdk/security/arm-security/src/operations/tasks.ts b/sdk/security/arm-security/src/operations/tasks.ts index e457fc13c2c5..28712385dcf5 100644 --- a/sdk/security/arm-security/src/operations/tasks.ts +++ b/sdk/security/arm-security/src/operations/tasks.ts @@ -339,7 +339,7 @@ const listOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion3, + Parameters.apiVersion4, Parameters.filter ], headerParameters: [ @@ -364,7 +364,7 @@ const listByHomeRegionOperationSpec: msRest.OperationSpec = { Parameters.ascLocation ], queryParameters: [ - Parameters.apiVersion3, + Parameters.apiVersion4, Parameters.filter ], headerParameters: [ @@ -390,7 +390,7 @@ const getSubscriptionLevelTaskOperationSpec: msRest.OperationSpec = { Parameters.taskName ], queryParameters: [ - Parameters.apiVersion3 + Parameters.apiVersion4 ], headerParameters: [ Parameters.acceptLanguage @@ -416,7 +416,7 @@ const updateSubscriptionLevelTaskStateOperationSpec: msRest.OperationSpec = { Parameters.taskUpdateActionType ], queryParameters: [ - Parameters.apiVersion3 + Parameters.apiVersion4 ], headerParameters: [ Parameters.acceptLanguage @@ -439,7 +439,7 @@ const listByResourceGroupOperationSpec: msRest.OperationSpec = { Parameters.ascLocation ], queryParameters: [ - Parameters.apiVersion3, + Parameters.apiVersion4, Parameters.filter ], headerParameters: [ @@ -466,7 +466,7 @@ const getResourceGroupLevelTaskOperationSpec: msRest.OperationSpec = { Parameters.taskName ], queryParameters: [ - Parameters.apiVersion3 + Parameters.apiVersion4 ], headerParameters: [ Parameters.acceptLanguage @@ -493,7 +493,7 @@ const updateResourceGroupLevelTaskStateOperationSpec: msRest.OperationSpec = { Parameters.taskUpdateActionType ], queryParameters: [ - Parameters.apiVersion3 + Parameters.apiVersion4 ], headerParameters: [ Parameters.acceptLanguage diff --git a/sdk/security/arm-security/src/operations/topology.ts b/sdk/security/arm-security/src/operations/topology.ts index 598b206eeef2..6be6e7330236 100644 --- a/sdk/security/arm-security/src/operations/topology.ts +++ b/sdk/security/arm-security/src/operations/topology.ts @@ -175,7 +175,7 @@ const listOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion3 + Parameters.apiVersion4 ], headerParameters: [ Parameters.acceptLanguage @@ -199,7 +199,7 @@ const listByHomeRegionOperationSpec: msRest.OperationSpec = { Parameters.ascLocation ], queryParameters: [ - Parameters.apiVersion3 + Parameters.apiVersion4 ], headerParameters: [ Parameters.acceptLanguage @@ -225,7 +225,7 @@ const getOperationSpec: msRest.OperationSpec = { Parameters.topologyResourceName ], queryParameters: [ - Parameters.apiVersion3 + Parameters.apiVersion4 ], headerParameters: [ Parameters.acceptLanguage diff --git a/sdk/security/arm-security/src/operations/workspaceSettings.ts b/sdk/security/arm-security/src/operations/workspaceSettings.ts index d1c7142227fa..242206b5175f 100644 --- a/sdk/security/arm-security/src/operations/workspaceSettings.ts +++ b/sdk/security/arm-security/src/operations/workspaceSettings.ts @@ -212,7 +212,7 @@ const listOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion4 + Parameters.apiVersion5 ], headerParameters: [ Parameters.acceptLanguage @@ -236,7 +236,7 @@ const getOperationSpec: msRest.OperationSpec = { Parameters.workspaceSettingName ], queryParameters: [ - Parameters.apiVersion4 + Parameters.apiVersion5 ], headerParameters: [ Parameters.acceptLanguage @@ -260,7 +260,7 @@ const createOperationSpec: msRest.OperationSpec = { Parameters.workspaceSettingName ], queryParameters: [ - Parameters.apiVersion4 + Parameters.apiVersion5 ], headerParameters: [ Parameters.acceptLanguage @@ -291,7 +291,7 @@ const updateOperationSpec: msRest.OperationSpec = { Parameters.workspaceSettingName ], queryParameters: [ - Parameters.apiVersion4 + Parameters.apiVersion5 ], headerParameters: [ Parameters.acceptLanguage @@ -322,7 +322,7 @@ const deleteMethodOperationSpec: msRest.OperationSpec = { Parameters.workspaceSettingName ], queryParameters: [ - Parameters.apiVersion4 + Parameters.apiVersion5 ], headerParameters: [ Parameters.acceptLanguage diff --git a/sdk/security/arm-security/src/securityCenter.ts b/sdk/security/arm-security/src/securityCenter.ts index 37e72e0908c4..9ba69e97dffd 100644 --- a/sdk/security/arm-security/src/securityCenter.ts +++ b/sdk/security/arm-security/src/securityCenter.ts @@ -21,6 +21,14 @@ class SecurityCenter extends SecurityCenterContext { pricings: operations.Pricings; alerts: operations.Alerts; settings: operations.Settings; + ioTSecuritySolutions: operations.IoTSecuritySolutions; + ioTSecuritySolutionsResourceGroup: operations.IoTSecuritySolutionsResourceGroup; + iotSecuritySolution: operations.IotSecuritySolution; + ioTSecuritySolutionsAnalytics: operations.IoTSecuritySolutionsAnalytics; + ioTSecuritySolutionsAnalyticsAggregatedAlerts: operations.IoTSecuritySolutionsAnalyticsAggregatedAlerts; + ioTSecuritySolutionsAnalyticsAggregatedAlert: operations.IoTSecuritySolutionsAnalyticsAggregatedAlert; + ioTSecuritySolutionsAnalyticsRecommendation: operations.IoTSecuritySolutionsAnalyticsRecommendation; + ioTSecuritySolutionsAnalyticsRecommendations: operations.IoTSecuritySolutionsAnalyticsRecommendations; allowedConnections: operations.AllowedConnections; discoveredSecuritySolutions: operations.DiscoveredSecuritySolutions; externalSecuritySolutions: operations.ExternalSecuritySolutions; @@ -36,14 +44,6 @@ class SecurityCenter extends SecurityCenterContext { informationProtectionPolicies: operations.InformationProtectionPolicies; securityContacts: operations.SecurityContacts; workspaceSettings: operations.WorkspaceSettings; - ioTSecuritySolutions: operations.IoTSecuritySolutions; - ioTSecuritySolutionsResourceGroup: operations.IoTSecuritySolutionsResourceGroup; - iotSecuritySolution: operations.IotSecuritySolution; - ioTSecuritySolutionsAnalytics: operations.IoTSecuritySolutionsAnalytics; - ioTSecuritySolutionsAnalyticsAggregatedAlerts: operations.IoTSecuritySolutionsAnalyticsAggregatedAlerts; - ioTSecuritySolutionsAnalyticsAggregatedAlert: operations.IoTSecuritySolutionsAnalyticsAggregatedAlert; - ioTSecuritySolutionsAnalyticsRecommendation: operations.IoTSecuritySolutionsAnalyticsRecommendation; - ioTSecuritySolutionsAnalyticsRecommendations: operations.IoTSecuritySolutionsAnalyticsRecommendations; regulatoryComplianceStandards: operations.RegulatoryComplianceStandards; regulatoryComplianceControls: operations.RegulatoryComplianceControls; regulatoryComplianceAssessments: operations.RegulatoryComplianceAssessments; @@ -63,6 +63,14 @@ class SecurityCenter extends SecurityCenterContext { this.pricings = new operations.Pricings(this); this.alerts = new operations.Alerts(this); this.settings = new operations.Settings(this); + this.ioTSecuritySolutions = new operations.IoTSecuritySolutions(this); + this.ioTSecuritySolutionsResourceGroup = new operations.IoTSecuritySolutionsResourceGroup(this); + this.iotSecuritySolution = new operations.IotSecuritySolution(this); + this.ioTSecuritySolutionsAnalytics = new operations.IoTSecuritySolutionsAnalytics(this); + this.ioTSecuritySolutionsAnalyticsAggregatedAlerts = new operations.IoTSecuritySolutionsAnalyticsAggregatedAlerts(this); + this.ioTSecuritySolutionsAnalyticsAggregatedAlert = new operations.IoTSecuritySolutionsAnalyticsAggregatedAlert(this); + this.ioTSecuritySolutionsAnalyticsRecommendation = new operations.IoTSecuritySolutionsAnalyticsRecommendation(this); + this.ioTSecuritySolutionsAnalyticsRecommendations = new operations.IoTSecuritySolutionsAnalyticsRecommendations(this); this.allowedConnections = new operations.AllowedConnections(this); this.discoveredSecuritySolutions = new operations.DiscoveredSecuritySolutions(this); this.externalSecuritySolutions = new operations.ExternalSecuritySolutions(this); @@ -78,14 +86,6 @@ class SecurityCenter extends SecurityCenterContext { this.informationProtectionPolicies = new operations.InformationProtectionPolicies(this); this.securityContacts = new operations.SecurityContacts(this); this.workspaceSettings = new operations.WorkspaceSettings(this); - this.ioTSecuritySolutions = new operations.IoTSecuritySolutions(this); - this.ioTSecuritySolutionsResourceGroup = new operations.IoTSecuritySolutionsResourceGroup(this); - this.iotSecuritySolution = new operations.IotSecuritySolution(this); - this.ioTSecuritySolutionsAnalytics = new operations.IoTSecuritySolutionsAnalytics(this); - this.ioTSecuritySolutionsAnalyticsAggregatedAlerts = new operations.IoTSecuritySolutionsAnalyticsAggregatedAlerts(this); - this.ioTSecuritySolutionsAnalyticsAggregatedAlert = new operations.IoTSecuritySolutionsAnalyticsAggregatedAlert(this); - this.ioTSecuritySolutionsAnalyticsRecommendation = new operations.IoTSecuritySolutionsAnalyticsRecommendation(this); - this.ioTSecuritySolutionsAnalyticsRecommendations = new operations.IoTSecuritySolutionsAnalyticsRecommendations(this); this.regulatoryComplianceStandards = new operations.RegulatoryComplianceStandards(this); this.regulatoryComplianceControls = new operations.RegulatoryComplianceControls(this); this.regulatoryComplianceAssessments = new operations.RegulatoryComplianceAssessments(this);