public final class SparkConfigurationAsyncClient extends Object
Modifier and Type | Method and Description |
---|---|
Mono<SparkConfigurationResource> |
createOrUpdateSparkConfiguration(String sparkConfigurationName,
SparkConfigurationResource sparkConfiguration)
Creates or updates a sparkconfiguration.
|
Mono<SparkConfigurationResource> |
createOrUpdateSparkConfiguration(String sparkConfigurationName,
SparkConfigurationResource sparkConfiguration,
String ifMatch)
Creates or updates a sparkconfiguration.
|
Mono<com.azure.core.http.rest.Response<SparkConfigurationResource>> |
createOrUpdateSparkConfigurationWithResponse(String sparkConfigurationName,
SparkConfigurationResource sparkConfiguration,
String ifMatch)
Creates or updates a sparkconfiguration.
|
Mono<Void> |
deleteSparkConfiguration(String sparkConfigurationName)
Deletes a sparkConfiguration.
|
Mono<com.azure.core.http.rest.Response<Void>> |
deleteSparkConfigurationWithResponse(String sparkConfigurationName)
Deletes a sparkConfiguration.
|
Mono<SparkConfigurationResource> |
getSparkConfiguration(String sparkConfigurationName)
Gets a sparkConfiguration.
|
Mono<SparkConfigurationResource> |
getSparkConfiguration(String sparkConfigurationName,
String ifNoneMatch)
Gets a sparkConfiguration.
|
com.azure.core.http.rest.PagedFlux<SparkConfigurationResource> |
getSparkConfigurationsByWorkspace()
Lists sparkconfigurations.
|
Mono<com.azure.core.http.rest.Response<SparkConfigurationResource>> |
getSparkConfigurationWithResponse(String sparkConfigurationName,
String ifNoneMatch)
Gets a sparkConfiguration.
|
Mono<Void> |
renameSparkConfiguration(String sparkConfigurationName,
ArtifactRenameRequest request)
Renames a sparkConfiguration.
|
Mono<com.azure.core.http.rest.Response<Void>> |
renameSparkConfigurationWithResponse(String sparkConfigurationName,
ArtifactRenameRequest request)
Renames a sparkConfiguration.
|
public com.azure.core.http.rest.PagedFlux<SparkConfigurationResource> getSparkConfigurationsByWorkspace()
CloudErrorException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.public Mono<com.azure.core.http.rest.Response<SparkConfigurationResource>> createOrUpdateSparkConfigurationWithResponse(String sparkConfigurationName, SparkConfigurationResource sparkConfiguration, String ifMatch)
sparkConfigurationName
- The spark Configuration name.sparkConfiguration
- SparkConfiguration resource definition.ifMatch
- ETag of the sparkConfiguration entity. Should only be specified for update, for which it should
match existing entity or can be * for unconditional update.IllegalArgumentException
- thrown if parameters fail the validation.CloudErrorException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.public Mono<SparkConfigurationResource> createOrUpdateSparkConfiguration(String sparkConfigurationName, SparkConfigurationResource sparkConfiguration, String ifMatch)
sparkConfigurationName
- The spark Configuration name.sparkConfiguration
- SparkConfiguration resource definition.ifMatch
- ETag of the sparkConfiguration entity. Should only be specified for update, for which it should
match existing entity or can be * for unconditional update.IllegalArgumentException
- thrown if parameters fail the validation.CloudErrorException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.public Mono<SparkConfigurationResource> createOrUpdateSparkConfiguration(String sparkConfigurationName, SparkConfigurationResource sparkConfiguration)
sparkConfigurationName
- The spark Configuration name.sparkConfiguration
- SparkConfiguration resource definition.IllegalArgumentException
- thrown if parameters fail the validation.CloudErrorException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.public Mono<com.azure.core.http.rest.Response<SparkConfigurationResource>> getSparkConfigurationWithResponse(String sparkConfigurationName, String ifNoneMatch)
sparkConfigurationName
- The spark Configuration name.ifNoneMatch
- ETag of the sparkConfiguration entity. Should only be specified for get. If the ETag matches
the existing entity tag, or if * was provided, then no content will be returned.IllegalArgumentException
- thrown if parameters fail the validation.CloudErrorException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.public Mono<SparkConfigurationResource> getSparkConfiguration(String sparkConfigurationName, String ifNoneMatch)
sparkConfigurationName
- The spark Configuration name.ifNoneMatch
- ETag of the sparkConfiguration entity. Should only be specified for get. If the ETag matches
the existing entity tag, or if * was provided, then no content will be returned.IllegalArgumentException
- thrown if parameters fail the validation.CloudErrorException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.public Mono<SparkConfigurationResource> getSparkConfiguration(String sparkConfigurationName)
sparkConfigurationName
- The spark Configuration name.IllegalArgumentException
- thrown if parameters fail the validation.CloudErrorException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.public Mono<com.azure.core.http.rest.Response<Void>> deleteSparkConfigurationWithResponse(String sparkConfigurationName)
sparkConfigurationName
- The spark Configuration name.IllegalArgumentException
- thrown if parameters fail the validation.CloudErrorException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.public Mono<Void> deleteSparkConfiguration(String sparkConfigurationName)
sparkConfigurationName
- The spark Configuration name.IllegalArgumentException
- thrown if parameters fail the validation.CloudErrorException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.public Mono<com.azure.core.http.rest.Response<Void>> renameSparkConfigurationWithResponse(String sparkConfigurationName, ArtifactRenameRequest request)
sparkConfigurationName
- The spark Configuration name.request
- proposed new name.IllegalArgumentException
- thrown if parameters fail the validation.CloudErrorException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.public Mono<Void> renameSparkConfiguration(String sparkConfigurationName, ArtifactRenameRequest request)
sparkConfigurationName
- The spark Configuration name.request
- proposed new name.IllegalArgumentException
- thrown if parameters fail the validation.CloudErrorException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.Visit the Azure for Java Developers site for more Java documentation, including quick starts, tutorials, and code samples.