com.azure.resourcemanager.securityinsights.implementation.ThreatIntelligenceIndicatorsOperationsImpl Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure-resourcemanager-securityinsights Show documentation
Show all versions of azure-resourcemanager-securityinsights Show documentation
This package contains Microsoft Azure SDK for SecurityInsights Management SDK. For documentation on how to use this package, please see https://aka.ms/azsdk/java/mgmt. API spec for Microsoft.SecurityInsights (Azure Security Insights) resource provider. Package tag package-preview-2022-09.
The newest version!
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.
package com.azure.resourcemanager.securityinsights.implementation;
import com.azure.core.http.rest.PagedIterable;
import com.azure.core.util.Context;
import com.azure.core.util.logging.ClientLogger;
import com.azure.resourcemanager.securityinsights.fluent.ThreatIntelligenceIndicatorsOperationsClient;
import com.azure.resourcemanager.securityinsights.fluent.models.ThreatIntelligenceInformationInner;
import com.azure.resourcemanager.securityinsights.models.ThreatIntelligenceIndicatorsOperations;
import com.azure.resourcemanager.securityinsights.models.ThreatIntelligenceInformation;
public final class ThreatIntelligenceIndicatorsOperationsImpl implements ThreatIntelligenceIndicatorsOperations {
private static final ClientLogger LOGGER = new ClientLogger(ThreatIntelligenceIndicatorsOperationsImpl.class);
private final ThreatIntelligenceIndicatorsOperationsClient innerClient;
private final com.azure.resourcemanager.securityinsights.SecurityInsightsManager serviceManager;
public ThreatIntelligenceIndicatorsOperationsImpl(ThreatIntelligenceIndicatorsOperationsClient innerClient,
com.azure.resourcemanager.securityinsights.SecurityInsightsManager serviceManager) {
this.innerClient = innerClient;
this.serviceManager = serviceManager;
}
public PagedIterable list(String resourceGroupName, String workspaceName) {
PagedIterable inner
= this.serviceClient().list(resourceGroupName, workspaceName);
return ResourceManagerUtils.mapPage(inner,
inner1 -> new ThreatIntelligenceInformationImpl(inner1, this.manager()));
}
public PagedIterable list(String resourceGroupName, String workspaceName,
String filter, String orderby, Integer top, String skipToken, Context context) {
PagedIterable inner
= this.serviceClient().list(resourceGroupName, workspaceName, filter, orderby, top, skipToken, context);
return ResourceManagerUtils.mapPage(inner,
inner1 -> new ThreatIntelligenceInformationImpl(inner1, this.manager()));
}
private ThreatIntelligenceIndicatorsOperationsClient serviceClient() {
return this.innerClient;
}
private com.azure.resourcemanager.securityinsights.SecurityInsightsManager manager() {
return this.serviceManager;
}
}