public interface ServiceFabricSchedulesClient
Modifier and Type | Method and Description |
---|---|
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> |
beginExecute(String resourceGroupName,
String labName,
String username,
String serviceFabricName,
String name)
Execute a schedule.
|
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> |
beginExecute(String resourceGroupName,
String labName,
String username,
String serviceFabricName,
String name,
com.azure.core.util.Context context)
Execute a schedule.
|
ScheduleInner |
createOrUpdate(String resourceGroupName,
String labName,
String username,
String serviceFabricName,
String name,
ScheduleInner schedule)
Create or replace an existing schedule.
|
com.azure.core.http.rest.Response<ScheduleInner> |
createOrUpdateWithResponse(String resourceGroupName,
String labName,
String username,
String serviceFabricName,
String name,
ScheduleInner schedule,
com.azure.core.util.Context context)
Create or replace an existing schedule.
|
void |
delete(String resourceGroupName,
String labName,
String username,
String serviceFabricName,
String name)
Delete schedule.
|
com.azure.core.http.rest.Response<Void> |
deleteWithResponse(String resourceGroupName,
String labName,
String username,
String serviceFabricName,
String name,
com.azure.core.util.Context context)
Delete schedule.
|
void |
execute(String resourceGroupName,
String labName,
String username,
String serviceFabricName,
String name)
Execute a schedule.
|
void |
execute(String resourceGroupName,
String labName,
String username,
String serviceFabricName,
String name,
com.azure.core.util.Context context)
Execute a schedule.
|
ScheduleInner |
get(String resourceGroupName,
String labName,
String username,
String serviceFabricName,
String name)
Get schedule.
|
com.azure.core.http.rest.Response<ScheduleInner> |
getWithResponse(String resourceGroupName,
String labName,
String username,
String serviceFabricName,
String name,
String expand,
com.azure.core.util.Context context)
Get schedule.
|
com.azure.core.http.rest.PagedIterable<ScheduleInner> |
list(String resourceGroupName,
String labName,
String username,
String serviceFabricName)
List schedules in a given service fabric.
|
com.azure.core.http.rest.PagedIterable<ScheduleInner> |
list(String resourceGroupName,
String labName,
String username,
String serviceFabricName,
String expand,
String filter,
Integer top,
String orderby,
com.azure.core.util.Context context)
List schedules in a given service fabric.
|
ScheduleInner |
update(String resourceGroupName,
String labName,
String username,
String serviceFabricName,
String name,
ScheduleFragment schedule)
Allows modifying tags of schedules.
|
com.azure.core.http.rest.Response<ScheduleInner> |
updateWithResponse(String resourceGroupName,
String labName,
String username,
String serviceFabricName,
String name,
ScheduleFragment schedule,
com.azure.core.util.Context context)
Allows modifying tags of schedules.
|
com.azure.core.http.rest.PagedIterable<ScheduleInner> list(String resourceGroupName, String labName, String username, String serviceFabricName)
resourceGroupName
- The name of the resource group.labName
- The name of the lab.username
- The name of the user profile.serviceFabricName
- The name of the service fabric.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.com.azure.core.http.rest.PagedIterable<ScheduleInner> list(String resourceGroupName, String labName, String username, String serviceFabricName, String expand, String filter, Integer top, String orderby, com.azure.core.util.Context context)
resourceGroupName
- The name of the resource group.labName
- The name of the lab.username
- The name of the user profile.serviceFabricName
- The name of the service fabric.expand
- Specify the $expand query. Example: 'properties($select=status)'.filter
- The filter to apply to the operation. Example: '$filter=contains(name,'myName').top
- The maximum number of resources to return from the operation. Example: '$top=10'.orderby
- The ordering expression for the results, using OData notation. Example: '$orderby=name desc'.context
- The context to associate with this operation.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.ScheduleInner get(String resourceGroupName, String labName, String username, String serviceFabricName, String name)
resourceGroupName
- The name of the resource group.labName
- The name of the lab.username
- The name of the user profile.serviceFabricName
- The name of the service fabric.name
- The name of the schedule.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.com.azure.core.http.rest.Response<ScheduleInner> getWithResponse(String resourceGroupName, String labName, String username, String serviceFabricName, String name, String expand, com.azure.core.util.Context context)
resourceGroupName
- The name of the resource group.labName
- The name of the lab.username
- The name of the user profile.serviceFabricName
- The name of the service fabric.name
- The name of the schedule.expand
- Specify the $expand query. Example: 'properties($select=status)'.context
- The context to associate with this operation.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.ScheduleInner createOrUpdate(String resourceGroupName, String labName, String username, String serviceFabricName, String name, ScheduleInner schedule)
resourceGroupName
- The name of the resource group.labName
- The name of the lab.username
- The name of the user profile.serviceFabricName
- The name of the service fabric.name
- The name of the schedule.schedule
- A schedule.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.com.azure.core.http.rest.Response<ScheduleInner> createOrUpdateWithResponse(String resourceGroupName, String labName, String username, String serviceFabricName, String name, ScheduleInner schedule, com.azure.core.util.Context context)
resourceGroupName
- The name of the resource group.labName
- The name of the lab.username
- The name of the user profile.serviceFabricName
- The name of the service fabric.name
- The name of the schedule.schedule
- A schedule.context
- The context to associate with this operation.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.void delete(String resourceGroupName, String labName, String username, String serviceFabricName, String name)
resourceGroupName
- The name of the resource group.labName
- The name of the lab.username
- The name of the user profile.serviceFabricName
- The name of the service fabric.name
- The name of the schedule.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.com.azure.core.http.rest.Response<Void> deleteWithResponse(String resourceGroupName, String labName, String username, String serviceFabricName, String name, com.azure.core.util.Context context)
resourceGroupName
- The name of the resource group.labName
- The name of the lab.username
- The name of the user profile.serviceFabricName
- The name of the service fabric.name
- The name of the schedule.context
- The context to associate with this operation.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.ScheduleInner update(String resourceGroupName, String labName, String username, String serviceFabricName, String name, ScheduleFragment schedule)
resourceGroupName
- The name of the resource group.labName
- The name of the lab.username
- The name of the user profile.serviceFabricName
- The name of the service fabric.name
- The name of the schedule.schedule
- A schedule.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.com.azure.core.http.rest.Response<ScheduleInner> updateWithResponse(String resourceGroupName, String labName, String username, String serviceFabricName, String name, ScheduleFragment schedule, com.azure.core.util.Context context)
resourceGroupName
- The name of the resource group.labName
- The name of the lab.username
- The name of the user profile.serviceFabricName
- The name of the service fabric.name
- The name of the schedule.schedule
- A schedule.context
- The context to associate with this operation.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.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginExecute(String resourceGroupName, String labName, String username, String serviceFabricName, String name)
resourceGroupName
- The name of the resource group.labName
- The name of the lab.username
- The name of the user profile.serviceFabricName
- The name of the service fabric.name
- The name of the schedule.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.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginExecute(String resourceGroupName, String labName, String username, String serviceFabricName, String name, com.azure.core.util.Context context)
resourceGroupName
- The name of the resource group.labName
- The name of the lab.username
- The name of the user profile.serviceFabricName
- The name of the service fabric.name
- The name of the schedule.context
- The context to associate with this operation.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.void execute(String resourceGroupName, String labName, String username, String serviceFabricName, String name)
resourceGroupName
- The name of the resource group.labName
- The name of the lab.username
- The name of the user profile.serviceFabricName
- The name of the service fabric.name
- The name of the schedule.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.void execute(String resourceGroupName, String labName, String username, String serviceFabricName, String name, com.azure.core.util.Context context)
resourceGroupName
- The name of the resource group.labName
- The name of the lab.username
- The name of the user profile.serviceFabricName
- The name of the service fabric.name
- The name of the schedule.context
- The context to associate with this operation.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.Copyright © 2021 Microsoft Corporation. All rights reserved.