Interface JoinRequestsClient
public interface JoinRequestsClient
An instance of this class provides access to all the operations defined in JoinRequestsClient.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
approve
(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.void
deny
(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
- Billing account name.billingProfileName
- Billing profile name.invoiceSectionName
- Invoice section name.- 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
- Billing account name.billingProfileName
- Billing profile name.invoiceSectionName
- Invoice section name.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.
-
get
JoinRequestDetailsInner get(String billingAccountName, String billingProfileName, String invoiceSectionName, String joinRequestName) get student join requests.- Parameters:
billingAccountName
- Billing account name.billingProfileName
- Billing profile name.invoiceSectionName
- Invoice section name.joinRequestName
- Join name.- 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.
-
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
- Billing account name.billingProfileName
- Billing profile name.invoiceSectionName
- Invoice section name.joinRequestName
- Join name.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.
-
approve
void approve(String billingAccountName, String billingProfileName, String invoiceSectionName, String joinRequestName) Approve student joining the redeemable lab.- Parameters:
billingAccountName
- Billing account name.billingProfileName
- Billing profile name.invoiceSectionName
- Invoice section name.joinRequestName
- Join name.- 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
- Billing account name.billingProfileName
- Billing profile name.invoiceSectionName
- Invoice section name.joinRequestName
- Join name.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
- Billing account name.billingProfileName
- Billing profile name.invoiceSectionName
- Invoice section name.joinRequestName
- Join name.- 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
- Billing account name.billingProfileName
- Billing profile name.invoiceSectionName
- Invoice section name.joinRequestName
- Join name.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.
-