com.azure.resourcemanager.security.implementation.SecureScoreControlDefinitionsImpl Maven / Gradle / Ivy
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.
package com.azure.resourcemanager.security.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.security.fluent.SecureScoreControlDefinitionsClient;
import com.azure.resourcemanager.security.fluent.models.SecureScoreControlDefinitionItemInner;
import com.azure.resourcemanager.security.models.SecureScoreControlDefinitionItem;
import com.azure.resourcemanager.security.models.SecureScoreControlDefinitions;
public final class SecureScoreControlDefinitionsImpl implements SecureScoreControlDefinitions {
private static final ClientLogger LOGGER = new ClientLogger(SecureScoreControlDefinitionsImpl.class);
private final SecureScoreControlDefinitionsClient innerClient;
private final com.azure.resourcemanager.security.SecurityManager serviceManager;
public SecureScoreControlDefinitionsImpl(SecureScoreControlDefinitionsClient innerClient,
com.azure.resourcemanager.security.SecurityManager serviceManager) {
this.innerClient = innerClient;
this.serviceManager = serviceManager;
}
public PagedIterable list() {
PagedIterable inner = this.serviceClient().list();
return ResourceManagerUtils.mapPage(inner,
inner1 -> new SecureScoreControlDefinitionItemImpl(inner1, this.manager()));
}
public PagedIterable list(Context context) {
PagedIterable inner = this.serviceClient().list(context);
return ResourceManagerUtils.mapPage(inner,
inner1 -> new SecureScoreControlDefinitionItemImpl(inner1, this.manager()));
}
public PagedIterable listBySubscription() {
PagedIterable inner = this.serviceClient().listBySubscription();
return ResourceManagerUtils.mapPage(inner,
inner1 -> new SecureScoreControlDefinitionItemImpl(inner1, this.manager()));
}
public PagedIterable listBySubscription(Context context) {
PagedIterable inner = this.serviceClient().listBySubscription(context);
return ResourceManagerUtils.mapPage(inner,
inner1 -> new SecureScoreControlDefinitionItemImpl(inner1, this.manager()));
}
private SecureScoreControlDefinitionsClient serviceClient() {
return this.innerClient;
}
private com.azure.resourcemanager.security.SecurityManager manager() {
return this.serviceManager;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy