public interface ServiceFabricsClient
Modifier and Type | Method and Description |
---|---|
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ServiceFabricInner>,ServiceFabricInner> |
beginCreateOrUpdate(String resourceGroupName,
String labName,
String username,
String name,
ServiceFabricInner serviceFabric)
Create or replace an existing service fabric.
|
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ServiceFabricInner>,ServiceFabricInner> |
beginCreateOrUpdate(String resourceGroupName,
String labName,
String username,
String name,
ServiceFabricInner serviceFabric,
com.azure.core.util.Context context)
Create or replace an existing service fabric.
|
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> |
beginDelete(String resourceGroupName,
String labName,
String username,
String name)
Delete service fabric.
|
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> |
beginDelete(String resourceGroupName,
String labName,
String username,
String name,
com.azure.core.util.Context context)
Delete service fabric.
|
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> |
beginStart(String resourceGroupName,
String labName,
String username,
String name)
Start a service fabric.
|
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> |
beginStart(String resourceGroupName,
String labName,
String username,
String name,
com.azure.core.util.Context context)
Start a service fabric.
|
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> |
beginStop(String resourceGroupName,
String labName,
String username,
String name)
Stop a service fabric This operation can take a while to complete.
|
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> |
beginStop(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.
|
ServiceFabricInner |
createOrUpdate(String resourceGroupName,
String labName,
String username,
String name,
ServiceFabricInner serviceFabric)
Create or replace an existing service fabric.
|
ServiceFabricInner |
createOrUpdate(String resourceGroupName,
String labName,
String username,
String name,
ServiceFabricInner serviceFabric,
com.azure.core.util.Context context)
Create or replace an existing service fabric.
|
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.
|
ServiceFabricInner |
get(String resourceGroupName,
String labName,
String username,
String name)
Get service fabric.
|
com.azure.core.http.rest.Response<ServiceFabricInner> |
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<ServiceFabricInner> |
list(String resourceGroupName,
String labName,
String username)
List service fabrics in a given user profile.
|
com.azure.core.http.rest.PagedIterable<ServiceFabricInner> |
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.
|
ApplicableScheduleInner |
listApplicableSchedules(String resourceGroupName,
String labName,
String username,
String name)
Lists the applicable start/stop schedules, if any.
|
com.azure.core.http.rest.Response<ApplicableScheduleInner> |
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.
|
ServiceFabricInner |
update(String resourceGroupName,
String labName,
String username,
String name,
ServiceFabricFragment serviceFabric)
Allows modifying tags of service fabrics.
|
com.azure.core.http.rest.Response<ServiceFabricInner> |
updateWithResponse(String resourceGroupName,
String labName,
String username,
String name,
ServiceFabricFragment serviceFabric,
com.azure.core.util.Context context)
Allows modifying tags of service fabrics.
|
com.azure.core.http.rest.PagedIterable<ServiceFabricInner> 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<ServiceFabricInner> 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.ServiceFabricInner 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<ServiceFabricInner> 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.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ServiceFabricInner>,ServiceFabricInner> beginCreateOrUpdate(String resourceGroupName, String labName, String username, String name, ServiceFabricInner serviceFabric)
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.serviceFabric
- A 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.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ServiceFabricInner>,ServiceFabricInner> beginCreateOrUpdate(String resourceGroupName, String labName, String username, String name, ServiceFabricInner serviceFabric, 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.serviceFabric
- A 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.ServiceFabricInner createOrUpdate(String resourceGroupName, String labName, String username, String name, ServiceFabricInner serviceFabric)
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.serviceFabric
- A 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.ServiceFabricInner createOrUpdate(String resourceGroupName, String labName, String username, String name, ServiceFabricInner serviceFabric, 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.serviceFabric
- A 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.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginDelete(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.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginDelete(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 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.ServiceFabricInner update(String resourceGroupName, String labName, String username, String name, ServiceFabricFragment serviceFabric)
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.serviceFabric
- A 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<ServiceFabricInner> updateWithResponse(String resourceGroupName, String labName, String username, String name, ServiceFabricFragment serviceFabric, 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.serviceFabric
- A 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.ApplicableScheduleInner 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<ApplicableScheduleInner> 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.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginStart(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.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginStart(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.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginStop(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.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginStop(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.Copyright © 2021 Microsoft Corporation. All rights reserved.