Interface PublicMaintenanceConfigurationsClient
public interface PublicMaintenanceConfigurationsClient
An instance of this class provides access to all the operations defined in PublicMaintenanceConfigurationsClient.
-
Method Summary
Modifier and TypeMethodDescriptionGet Public Maintenance Configuration record.com.azure.core.http.rest.Response<MaintenanceConfigurationInner>
getWithResponse
(String resourceName, com.azure.core.util.Context context) Get Public Maintenance Configuration record.com.azure.core.http.rest.PagedIterable<MaintenanceConfigurationInner>
list()
Get Public Maintenance Configuration records.com.azure.core.http.rest.PagedIterable<MaintenanceConfigurationInner>
list
(com.azure.core.util.Context context) Get Public Maintenance Configuration records.
-
Method Details
-
list
com.azure.core.http.rest.PagedIterable<MaintenanceConfigurationInner> list()Get Public Maintenance Configuration records.- Returns:
- public Maintenance Configuration records as paginated response with
PagedIterable
. - Throws:
com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
list
com.azure.core.http.rest.PagedIterable<MaintenanceConfigurationInner> list(com.azure.core.util.Context context) Get Public Maintenance Configuration records.- Parameters:
context
- The context to associate with this operation.- Returns:
- public Maintenance Configuration records as paginated response with
PagedIterable
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
getWithResponse
com.azure.core.http.rest.Response<MaintenanceConfigurationInner> getWithResponse(String resourceName, com.azure.core.util.Context context) Get Public Maintenance Configuration record.- Parameters:
resourceName
- Maintenance Configuration Name.context
- The context to associate with this operation.- Returns:
- public Maintenance Configuration record along with
Response
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
get
Get Public Maintenance Configuration record.- Parameters:
resourceName
- Maintenance Configuration Name.- Returns:
- public Maintenance Configuration record.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-