Interface JoinRequestsClient
public interface JoinRequestsClient
An instance of this class provides access to all the operations defined in JoinRequestsClient.
-
Method Summary
Modifier and TypeMethodDescriptionvoidapprove(String billingAccountName, String billingProfileName, String invoiceSectionName, String joinRequestName) Approve student joining the redeemable lab.com.azure.core.http.rest.Response<Void> approveWithResponse(String billingAccountName, String billingProfileName, String invoiceSectionName, String joinRequestName, com.azure.core.util.Context context) Approve student joining the redeemable lab.voiddeny(String billingAccountName, String billingProfileName, String invoiceSectionName, String joinRequestName) Deny student joining the redeemable lab.com.azure.core.http.rest.Response<Void> denyWithResponse(String billingAccountName, String billingProfileName, String invoiceSectionName, String joinRequestName, com.azure.core.util.Context context) Deny student joining the redeemable lab.get(String billingAccountName, String billingProfileName, String invoiceSectionName, String joinRequestName) get student join requests.com.azure.core.http.rest.Response<JoinRequestDetailsInner> getWithResponse(String billingAccountName, String billingProfileName, String invoiceSectionName, String joinRequestName, com.azure.core.util.Context context) get student join requests.com.azure.core.http.rest.PagedIterable<JoinRequestDetailsInner> get student join requests.com.azure.core.http.rest.PagedIterable<JoinRequestDetailsInner> list(String billingAccountName, String billingProfileName, String invoiceSectionName, Boolean includeDenied, com.azure.core.util.Context context) get student join requests.
-
Method Details
-
list
com.azure.core.http.rest.PagedIterable<JoinRequestDetailsInner> list(String billingAccountName, String billingProfileName, String invoiceSectionName) get student join requests.- Parameters:
billingAccountName- The ID that uniquely identifies a billing account.billingProfileName- The ID that uniquely identifies a billing profile.invoiceSectionName- The ID that uniquely identifies an invoice section.- Returns:
- student join requests 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.
-
list
com.azure.core.http.rest.PagedIterable<JoinRequestDetailsInner> list(String billingAccountName, String billingProfileName, String invoiceSectionName, Boolean includeDenied, com.azure.core.util.Context context) get student join requests.- Parameters:
billingAccountName- The ID that uniquely identifies a billing account.billingProfileName- The ID that uniquely identifies a billing profile.invoiceSectionName- The ID that uniquely identifies an invoice section.includeDenied- Include denied.context- The context to associate with this operation.- Returns:
- student join requests 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<JoinRequestDetailsInner> getWithResponse(String billingAccountName, String billingProfileName, String invoiceSectionName, String joinRequestName, com.azure.core.util.Context context) get student join requests.- Parameters:
billingAccountName- The ID that uniquely identifies a billing account.billingProfileName- The ID that uniquely identifies a billing profile.invoiceSectionName- The ID that uniquely identifies an invoice section.joinRequestName- The ID that uniquely identifies a join request.context- The context to associate with this operation.- Returns:
- student join requests 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
JoinRequestDetailsInner get(String billingAccountName, String billingProfileName, String invoiceSectionName, String joinRequestName) get student join requests.- Parameters:
billingAccountName- The ID that uniquely identifies a billing account.billingProfileName- The ID that uniquely identifies a billing profile.invoiceSectionName- The ID that uniquely identifies an invoice section.joinRequestName- The ID that uniquely identifies a join request.- Returns:
- student join requests.
- 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.
-
approveWithResponse
com.azure.core.http.rest.Response<Void> approveWithResponse(String billingAccountName, String billingProfileName, String invoiceSectionName, String joinRequestName, com.azure.core.util.Context context) Approve student joining the redeemable lab.- Parameters:
billingAccountName- The ID that uniquely identifies a billing account.billingProfileName- The ID that uniquely identifies a billing profile.invoiceSectionName- The ID that uniquely identifies an invoice section.joinRequestName- The ID that uniquely identifies a join request.context- The context to associate with this operation.- Returns:
- the
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.
-
approve
void approve(String billingAccountName, String billingProfileName, String invoiceSectionName, String joinRequestName) Approve student joining the redeemable lab.- Parameters:
billingAccountName- The ID that uniquely identifies a billing account.billingProfileName- The ID that uniquely identifies a billing profile.invoiceSectionName- The ID that uniquely identifies an invoice section.joinRequestName- The ID that uniquely identifies a join request.- 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.
-
denyWithResponse
com.azure.core.http.rest.Response<Void> denyWithResponse(String billingAccountName, String billingProfileName, String invoiceSectionName, String joinRequestName, com.azure.core.util.Context context) Deny student joining the redeemable lab.- Parameters:
billingAccountName- The ID that uniquely identifies a billing account.billingProfileName- The ID that uniquely identifies a billing profile.invoiceSectionName- The ID that uniquely identifies an invoice section.joinRequestName- The ID that uniquely identifies a join request.context- The context to associate with this operation.- Returns:
- the
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.
-
deny
void deny(String billingAccountName, String billingProfileName, String invoiceSectionName, String joinRequestName) Deny student joining the redeemable lab.- Parameters:
billingAccountName- The ID that uniquely identifies a billing account.billingProfileName- The ID that uniquely identifies a billing profile.invoiceSectionName- The ID that uniquely identifies an invoice section.joinRequestName- The ID that uniquely identifies a join request.- 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.
-