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

com.azure.resourcemanager.sql.models.SqlServerDnsAlias Maven / Gradle / Ivy

Go to download

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

The newest version!
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
package com.azure.resourcemanager.sql.models;

import com.azure.core.annotation.Fluent;
import com.azure.resourcemanager.resources.fluentcore.arm.models.HasId;
import com.azure.resourcemanager.resources.fluentcore.arm.models.HasName;
import com.azure.resourcemanager.resources.fluentcore.arm.models.HasResourceGroup;
import com.azure.resourcemanager.resources.fluentcore.model.HasInnerModel;
import com.azure.resourcemanager.resources.fluentcore.model.Indexable;
import com.azure.resourcemanager.resources.fluentcore.model.Refreshable;
import com.azure.resourcemanager.sql.fluent.models.ServerDnsAliasInner;
import reactor.core.publisher.Mono;

/** An immutable client-side representation of an Azure SQL Server DNS alias. */
@Fluent
public interface SqlServerDnsAlias
    extends HasId,
        HasInnerModel,
        HasName,
        HasResourceGroup,
        Indexable,
        Refreshable {
    /** @return name of the SQL Server to which this DNS alias belongs */
    String sqlServerName();

    /** @return the fully qualified DNS record for alias */
    String azureDnsRecord();

    /** @return the parent SQL server ID */
    String parentId();

    /** Deletes the DNS alias. */
    void delete();

    /**
     * Deletes the DNS alias asynchronously.
     *
     * @return a representation of the deferred computation of this call
     */
    Mono deleteAsync();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy