
com.azure.resourcemanager.cosmos.models.PrivateEndpointConnection Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure-resourcemanager-cosmos Show documentation
Show all versions of azure-resourcemanager-cosmos Show documentation
This package contains Microsoft Azure CosmosDB SDK. For documentation on how to use this package, please see https://aka.ms/azsdk/java/mgmt
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
package com.azure.resourcemanager.cosmos.models;
import com.azure.core.annotation.Fluent;
import com.azure.resourcemanager.cosmos.fluent.models.PrivateEndpointConnectionInner;
import com.azure.resourcemanager.resources.fluentcore.arm.models.ExternalChildResource;
import com.azure.resourcemanager.resources.fluentcore.model.Attachable;
import com.azure.resourcemanager.resources.fluentcore.model.HasInnerModel;
import com.azure.resourcemanager.resources.fluentcore.model.Settable;
/** A private endpoint connection. */
@Fluent
public interface PrivateEndpointConnection
extends HasInnerModel,
ExternalChildResource {
/**
* Get private endpoint which the connection belongs to.
*
* @return the privateEndpoint value
*/
PrivateEndpointProperty privateEndpoint();
/**
* Get connection State of the Private Endpoint Connection.
*
* @return the privateLinkServiceConnectionState value
*/
PrivateLinkServiceConnectionStateProperty privateLinkServiceConnectionState();
/** Grouping of private endpoint connection definition stages as a port of cosmos db account definition. */
interface DefinitionStages {
/**
* The first stage of a private endpoint connection definition.
*
* @param the stage of the parent definition to return to after attaching this definition
*/
interface Blank extends WithState {
}
/**
* The final stage of the private endpoint connection definition.
*
* @param the stage of the parent definition to return to after attaching this definition
*/
interface WithAttach extends Attachable.InDefinition, WithState {
}
/**
* The stage of the private endpoint connection definition allowing to set state.
*
* @param the stage of the parent definition to return to after attaching this definition
*/
interface WithState {
/**
* Specifies state property.
*
* @param property a private link service connection state property
* @return the next stage of definition
*/
WithAttach withStateProperty(PrivateLinkServiceConnectionStateProperty property);
/**
* Specifies status of state property.
*
* @param status the status of state property
* @return the next stage of definition
*/
WithAttach withStatus(String status);
/**
* Specifies description of state property.
*
* @param description the description of state property
* @return the next stage of definition
*/
WithAttach withDescription(String description);
}
}
/**
* The entirety of a private endpoint connection definition as a part of parent definition.
*
* @param the stage of the parent definition to return to after attaching this definition
*/
interface Definition
extends DefinitionStages.Blank,
DefinitionStages.WithState,
DefinitionStages.WithAttach {
}
/** Grouping of private endpoint connection definition stages as part of parent cosmos db account update. */
interface UpdateDefinitionStages {
/**
* The first stage of a private endpoint connection definition.
*
* @param the stage of the parent update to return to after attaching this definition
*/
interface Blank extends WithState {
}
/**
* The final stage of the private endpoint connection definition.
*
* @param the stage of the parent update to return to after attaching this definition
*/
interface WithAttach extends Attachable.InUpdate, WithState {
}
/**
* The stage of the private endpoint connection definition allowing to set state.
*
* @param the stage of the parent update to return to after attaching this definition
*/
interface WithState {
/**
* Specifies state property.
*
* @param property a private link service connection state property
* @return the next stage of definition
*/
WithAttach withStateProperty(PrivateLinkServiceConnectionStateProperty property);
/**
* Specifies status of state property.
*
* @param status the status of state property
* @return the next stage of definition
*/
WithAttach withStatus(String status);
/**
* Specifies description of state property.
*
* @param description the description of state property
* @return the next stage of definition
*/
WithAttach withDescription(String description);
}
}
/**
* The entirety of a private endpoint connection definition definition as a part of parent update.
*
* @param the stage of the parent update to return to after attaching this definition
*/
interface UpdateDefinition
extends UpdateDefinitionStages.Blank,
UpdateDefinitionStages.WithState,
UpdateDefinitionStages.WithAttach {
}
/** Grouping of private endpoint connection update stages. */
interface UpdateStages {
/** The stage of the private endpoint connection update allowing to specify state. */
interface WithState {
/**
* Specifies state property.
*
* @param property a private link service connection state property
* @return the next stage of update
*/
Update withStateProperty(PrivateLinkServiceConnectionStateProperty property);
/**
* Specifies status of state property.
*
* @param status the status of state property
* @return the next stage of update
*/
Update withStatus(String status);
/**
* Specifies description of state property.
*
* @param description the description of state property
* @return the next stage of update
*/
Update withDescription(String description);
}
}
/** The entirety of private endpoint connection update as a part of parent virtual machine update. */
interface Update extends Settable, UpdateStages.WithState {
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy