// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.

package com.azure.resourcemanager.elastic.implementation;

import com.azure.core.util.Context;
import com.azure.core.util.logging.ClientLogger;
import com.azure.resourcemanager.elastic.fluent.CreateAndAssociateIpFiltersClient;
import com.azure.resourcemanager.elastic.models.CreateAndAssociateIpFilters;

public final class CreateAndAssociateIpFiltersImpl implements CreateAndAssociateIpFilters {
    private static final ClientLogger LOGGER = new ClientLogger(CreateAndAssociateIpFiltersImpl.class);

    private final CreateAndAssociateIpFiltersClient innerClient;

    private final com.azure.resourcemanager.elastic.ElasticManager serviceManager;

    public CreateAndAssociateIpFiltersImpl(
        CreateAndAssociateIpFiltersClient innerClient,
        com.azure.resourcemanager.elastic.ElasticManager serviceManager) {
        this.innerClient = innerClient;
        this.serviceManager = serviceManager;
    }

    public void create(String resourceGroupName, String monitorName) {
        this.serviceClient().create(resourceGroupName, monitorName);
    }

    public void create(String resourceGroupName, String monitorName, String ips, String name, Context context) {
        this.serviceClient().create(resourceGroupName, monitorName, ips, name, context);
    }

    private CreateAndAssociateIpFiltersClient serviceClient() {
        return this.innerClient;
    }

    private com.azure.resourcemanager.elastic.ElasticManager manager() {
        return this.serviceManager;
    }
}
