public interface ServiceFabrics
Modifier and Type | Method and Description |
---|---|
ServiceFabric.DefinitionStages.Blank |
define(String name)
Begins definition for a new ServiceFabric resource.
|
void |
delete(String resourceGroupName,
String labName,
String username,
String name)
Delete service fabric.
|
void |
delete(String resourceGroupName,
String labName,
String username,
String name,
com.azure.core.util.Context context)
Delete service fabric.
|
void |
deleteById(String id)
Delete service fabric.
|
void |
deleteByIdWithResponse(String id,
com.azure.core.util.Context context)
Delete service fabric.
|
ServiceFabric |
get(String resourceGroupName,
String labName,
String username,
String name)
Get service fabric.
|
ServiceFabric |
getById(String id)
Get service fabric.
|
com.azure.core.http.rest.Response<ServiceFabric> |
getByIdWithResponse(String id,
String expand,
com.azure.core.util.Context context)
Get service fabric.
|
com.azure.core.http.rest.Response<ServiceFabric> |
getWithResponse(String resourceGroupName,
String labName,
String username,
String name,
String expand,
com.azure.core.util.Context context)
Get service fabric.
|
com.azure.core.http.rest.PagedIterable<ServiceFabric> |
list(String resourceGroupName,
String labName,
String username)
List service fabrics in a given user profile.
|
com.azure.core.http.rest.PagedIterable<ServiceFabric> |
list(String resourceGroupName,
String labName,
String username,
String expand,
String filter,
Integer top,
String orderby,
com.azure.core.util.Context context)
List service fabrics in a given user profile.
|
ApplicableSchedule |
listApplicableSchedules(String resourceGroupName,
String labName,
String username,
String name)
Lists the applicable start/stop schedules, if any.
|
com.azure.core.http.rest.Response<ApplicableSchedule> |
listApplicableSchedulesWithResponse(String resourceGroupName,
String labName,
String username,
String name,
com.azure.core.util.Context context)
Lists the applicable start/stop schedules, if any.
|
void |
start(String resourceGroupName,
String labName,
String username,
String name)
Start a service fabric.
|
void |
start(String resourceGroupName,
String labName,
String username,
String name,
com.azure.core.util.Context context)
Start a service fabric.
|
void |
stop(String resourceGroupName,
String labName,
String username,
String name)
Stop a service fabric This operation can take a while to complete.
|
void |
stop(String resourceGroupName,
String labName,
String username,
String name,
com.azure.core.util.Context context)
Stop a service fabric This operation can take a while to complete.
|
com.azure.core.http.rest.PagedIterable<ServiceFabric> list(String resourceGroupName, String labName, String username)
resourceGroupName
- The name of the resource group.labName
- The name of the lab.username
- The name of the user profile.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<ServiceFabric> list(String resourceGroupName, String labName, String username, 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.expand
- Specify the $expand query. Example: 'properties($expand=applicableSchedule)'.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.ServiceFabric get(String resourceGroupName, String labName, String username, String name)
resourceGroupName
- The name of the resource group.labName
- The name of the lab.username
- The name of the user profile.name
- 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.Response<ServiceFabric> getWithResponse(String resourceGroupName, String labName, String username, 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.name
- The name of the service fabric.expand
- Specify the $expand query. Example: 'properties($expand=applicableSchedule)'.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 name)
resourceGroupName
- The name of the resource group.labName
- The name of the lab.username
- The name of the user profile.name
- 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.void delete(String resourceGroupName, String labName, String username, 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.name
- The name of the service fabric.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.ApplicableSchedule listApplicableSchedules(String resourceGroupName, String labName, String username, String name)
resourceGroupName
- The name of the resource group.labName
- The name of the lab.username
- The name of the user profile.name
- 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.Response<ApplicableSchedule> listApplicableSchedulesWithResponse(String resourceGroupName, String labName, String username, 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.name
- The name of the service fabric.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 start(String resourceGroupName, String labName, String username, String name)
resourceGroupName
- The name of the resource group.labName
- The name of the lab.username
- The name of the user profile.name
- 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.void start(String resourceGroupName, String labName, String username, 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.name
- The name of the service fabric.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 stop(String resourceGroupName, String labName, String username, String name)
resourceGroupName
- The name of the resource group.labName
- The name of the lab.username
- The name of the user profile.name
- 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.void stop(String resourceGroupName, String labName, String username, 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.name
- The name of the service fabric.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.ServiceFabric getById(String id)
id
- the resource ID.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<ServiceFabric> getByIdWithResponse(String id, String expand, com.azure.core.util.Context context)
id
- the resource ID.expand
- Specify the $expand query. Example: 'properties($expand=applicableSchedule)'.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 deleteById(String id)
id
- the resource ID.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 deleteByIdWithResponse(String id, com.azure.core.util.Context context)
id
- the resource ID.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.ServiceFabric.DefinitionStages.Blank define(String name)
name
- resource name.Copyright © 2021 Microsoft Corporation. All rights reserved.