Skip to content

Commit

Permalink
Fixed mgmt, support convenience API for publicNetworkAccess
Browse files Browse the repository at this point in the history
  • Loading branch information
v-hongli1 committed Mar 22, 2024
1 parent 329b987 commit b4759bd
Showing 1 changed file with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,9 @@ public interface CosmosDBAccount
DatabaseAccountOfferType databaseAccountOfferType();

/**
* Whether the cosmos db account can be accessed from public network.
* Whether the CosmosD account can be accessed from public network.
*
* @return whether the cosmos db account can be accessed from public network.
* @return whether the CosmosD account can be accessed from public network.
*/
PublicNetworkAccess publicNetworkAccess();

Expand Down Expand Up @@ -405,10 +405,10 @@ PrivateEndpointConnection.DefinitionStages.Blank<WithCreate> defineNewPrivateEnd
String name);
}

/** The stage of cosmos db account definition allowing to configure network access settings. */
/** The stage of CosmosDB account definition allowing to configure network access settings. */
interface WithPublicNetworkAccess {
/**
* Disables public network access for the cosmos db account.
* Disables public network access for the CosmosDB account.
*
* @return the next stage of the definition
*/
Expand Down Expand Up @@ -633,16 +633,16 @@ PrivateEndpointConnection.UpdateDefinitionStages.Blank<WithOptionals> defineNewP
WithOptionals withoutPrivateEndpointConnection(String name);
}

/** The stage of cosmos db account update allowing to configure network access settings. */
/** The stage of CosmosDB account update allowing to configure network access settings. */
interface WithPublicNetworkAccess {
/**
* Enables public network access for the cosmos db account.
* Enables public network access for the CosmosDB account.
*
* @return the next stage of the update
*/
Update enablePublicNetworkAccess();
/**
* Disables public network access for the cosmos db account.
* Disables public network access for the CosmosDB account.
*
* @return the next stage of the update
*/
Expand Down

0 comments on commit b4759bd

Please sign in to comment.