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

com.azure.resourcemanager.appplatform.models.SpringConfigurationService Maven / Gradle / Ivy

Go to download

This package contains Microsoft Azure App Platform Management SDK. For documentation on how to use this package, please see https://aka.ms/azsdk/java/mgmt

There is a newer version: 2.42.0
Show newest version
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.

package com.azure.resourcemanager.appplatform.models;

import com.azure.core.annotation.Fluent;
import com.azure.resourcemanager.appplatform.fluent.models.ConfigurationServiceResourceInner;
import com.azure.resourcemanager.resources.fluentcore.arm.models.ExternalChildResource;
import com.azure.resourcemanager.resources.fluentcore.model.HasInnerModel;

import java.util.List;

/**
 * (Enterprise Tier Only)
 * An immutable client-side representation of an Azure Spring Cloud Configuration Service.
 */
@Fluent
public interface SpringConfigurationService
    extends ExternalChildResource,
        HasInnerModel {
    /** @return cpu for the Configuration Service */
    Double cpu();

    /** @return memory for the Configuration Service, 1 GB can be represented by 1Gi or 1024Mi */
    Double memory();

    /** @return default git URI in the Configuration Service */
    String gitUri();

    /** @return default file patterns in the Configuration Service */
    List filePatterns();

    /** @return default branch in the Configuration Service */
    String branch();

    /**
     * Get git repository config by name.
     * @param name name of the git repository in the Configuration Service
     * @return git repository config
     */
    ConfigurationServiceGitRepository getGitRepository(String name);

    /** @return apps that have bindings to this Configuration Service */
    List getAppBindings();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy