SqlDatabaseCreateUpdateParameters Class
- java.
lang. Object - com.
azure. core. management. ProxyResource - com.
azure. core. management. Resource - com.
azure. resourcemanager. cosmos. models. ArmResourceProperties - com.
azure. resourcemanager. cosmos. models. SqlDatabaseCreateUpdateParameters
- com.
- com.
- com.
- com.
public final class SqlDatabaseCreateUpdateParameters
extends ArmResourceProperties
Parameters to create and update Cosmos DB SQL database.
Constructor Summary
Constructor | Description |
---|---|
SqlDatabaseCreateUpdateParameters() |
Creates an instance of Sql |
Method Summary
Modifier and Type | Method and Description |
---|---|
Create |
options()
Get the options property: A key-value pair of options to be applied for the request. |
Sql |
resource()
Get the resource property: The standard JSON format of a SQL database. |
void |
validate()
Validates the instance. |
Sql |
withLocation(String location) |
Sql |
withOptions(CreateUpdateOptions options)
Set the options property: A key-value pair of options to be applied for the request. |
Sql |
withResource(SqlDatabaseResource resource)
Set the resource property: The standard JSON format of a SQL database. |
Sql |
withTags(Map<String,String> tags) |
Methods inherited from ProxyResource
Methods inherited from Resource
Methods inherited from ArmResourceProperties
Methods inherited from java.lang.Object
Constructor Details
SqlDatabaseCreateUpdateParameters
public SqlDatabaseCreateUpdateParameters()
Creates an instance of SqlDatabaseCreateUpdateParameters class.
Method Details
options
public CreateUpdateOptions options()
Get the options property: A key-value pair of options to be applied for the request. This corresponds to the headers sent with the request.
Returns:
resource
public SqlDatabaseResource resource()
Get the resource property: The standard JSON format of a SQL database.
Returns:
validate
public void validate()
Validates the instance.
Overrides:
SqlDatabaseCreateUpdateParameters.validate()withLocation
public SqlDatabaseCreateUpdateParameters withLocation(String location)
Overrides:
SqlDatabaseCreateUpdateParameters.withLocation(String location)Parameters:
withOptions
public SqlDatabaseCreateUpdateParameters withOptions(CreateUpdateOptions options)
Set the options property: A key-value pair of options to be applied for the request. This corresponds to the headers sent with the request.
Parameters:
Returns:
withResource
public SqlDatabaseCreateUpdateParameters withResource(SqlDatabaseResource resource)
Set the resource property: The standard JSON format of a SQL database.
Parameters:
Returns:
withTags
public SqlDatabaseCreateUpdateParameters withTags(Map
Overrides:
SqlDatabaseCreateUpdateParameters.withTags(Map<String,String> tags)Parameters:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for