All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.azure.resourcemanager.servicefabricmanagedclusters.implementation.ManagedApplyMaintenanceWindowsImpl 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.servicefabricmanagedclusters.implementation;

import com.azure.core.http.rest.Response;
import com.azure.core.util.Context;
import com.azure.core.util.logging.ClientLogger;
import com.azure.resourcemanager.servicefabricmanagedclusters.fluent.ManagedApplyMaintenanceWindowsClient;
import com.azure.resourcemanager.servicefabricmanagedclusters.models.ManagedApplyMaintenanceWindows;

public final class ManagedApplyMaintenanceWindowsImpl implements ManagedApplyMaintenanceWindows {
    private static final ClientLogger LOGGER = new ClientLogger(ManagedApplyMaintenanceWindowsImpl.class);

    private final ManagedApplyMaintenanceWindowsClient innerClient;

    private final com.azure.resourcemanager.servicefabricmanagedclusters.ServiceFabricManagedClustersManager serviceManager;

    public ManagedApplyMaintenanceWindowsImpl(ManagedApplyMaintenanceWindowsClient innerClient,
        com.azure.resourcemanager.servicefabricmanagedclusters.ServiceFabricManagedClustersManager serviceManager) {
        this.innerClient = innerClient;
        this.serviceManager = serviceManager;
    }

    public Response postWithResponse(String resourceGroupName, String clusterName, Context context) {
        return this.serviceClient().postWithResponse(resourceGroupName, clusterName, context);
    }

    public void post(String resourceGroupName, String clusterName) {
        this.serviceClient().post(resourceGroupName, clusterName);
    }

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

    private com.azure.resourcemanager.servicefabricmanagedclusters.ServiceFabricManagedClustersManager manager() {
        return this.serviceManager;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy