Interface AutoProvisioningSettings
public interface AutoProvisioningSettings
Resource collection API of AutoProvisioningSettings.
-
Method Summary
Modifier and TypeMethodDescriptionBegins definition for a new AutoProvisioningSetting resource.Details of a specific setting.Details of a specific setting.com.azure.core.http.rest.Response<AutoProvisioningSetting>
getByIdWithResponse
(String id, com.azure.core.util.Context context) Details of a specific setting.com.azure.core.http.rest.Response<AutoProvisioningSetting>
getWithResponse
(String settingName, com.azure.core.util.Context context) Details of a specific setting.com.azure.core.http.rest.PagedIterable<AutoProvisioningSetting>
list()
Exposes the auto provisioning settings of the subscriptions.com.azure.core.http.rest.PagedIterable<AutoProvisioningSetting>
list
(com.azure.core.util.Context context) Exposes the auto provisioning settings of the subscriptions.
-
Method Details
-
list
com.azure.core.http.rest.PagedIterable<AutoProvisioningSetting> list()Exposes the auto provisioning settings of the subscriptions.- Returns:
- list of all the auto provisioning settings response 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<AutoProvisioningSetting> list(com.azure.core.util.Context context) Exposes the auto provisioning settings of the subscriptions.- Parameters:
context
- The context to associate with this operation.- Returns:
- list of all the auto provisioning settings response 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.
-
get
Details of a specific setting.- Parameters:
settingName
- Auto provisioning setting key.- Returns:
- auto provisioning setting.
- 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<AutoProvisioningSetting> getWithResponse(String settingName, com.azure.core.util.Context context) Details of a specific setting.- Parameters:
settingName
- Auto provisioning setting key.context
- The context to associate with this operation.- Returns:
- auto provisioning setting 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.
-
getById
Details of a specific setting.- Parameters:
id
- the resource ID.- Returns:
- auto provisioning setting 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.
-
getByIdWithResponse
com.azure.core.http.rest.Response<AutoProvisioningSetting> getByIdWithResponse(String id, com.azure.core.util.Context context) Details of a specific setting.- Parameters:
id
- the resource ID.context
- The context to associate with this operation.- Returns:
- auto provisioning setting 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.
-
define
Begins definition for a new AutoProvisioningSetting resource.- Parameters:
name
- resource name.- Returns:
- the first stage of the new AutoProvisioningSetting definition.
-