![JAR search and dependency download from the Maven repository](/logo.png)
com.azure.resourcemanager.automation.implementation.PrivateLinkResourcesImpl 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.automation.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.automation.fluent.PrivateLinkResourcesClient;
import com.azure.resourcemanager.automation.fluent.models.PrivateLinkResourceInner;
import com.azure.resourcemanager.automation.models.PrivateLinkResource;
import com.azure.resourcemanager.automation.models.PrivateLinkResources;
public final class PrivateLinkResourcesImpl implements PrivateLinkResources {
private static final ClientLogger LOGGER = new ClientLogger(PrivateLinkResourcesImpl.class);
private final PrivateLinkResourcesClient innerClient;
private final com.azure.resourcemanager.automation.AutomationManager serviceManager;
public PrivateLinkResourcesImpl(PrivateLinkResourcesClient innerClient,
com.azure.resourcemanager.automation.AutomationManager serviceManager) {
this.innerClient = innerClient;
this.serviceManager = serviceManager;
}
public PagedIterable automation(String resourceGroupName, String automationAccountName) {
PagedIterable inner
= this.serviceClient().automation(resourceGroupName, automationAccountName);
return ResourceManagerUtils.mapPage(inner, inner1 -> new PrivateLinkResourceImpl(inner1, this.manager()));
}
public PagedIterable automation(String resourceGroupName, String automationAccountName,
Context context) {
PagedIterable inner
= this.serviceClient().automation(resourceGroupName, automationAccountName, context);
return ResourceManagerUtils.mapPage(inner, inner1 -> new PrivateLinkResourceImpl(inner1, this.manager()));
}
private PrivateLinkResourcesClient serviceClient() {
return this.innerClient;
}
private com.azure.resourcemanager.automation.AutomationManager manager() {
return this.serviceManager;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy