public interface ServiceFabric
Modifier and Type | Interface and Description |
---|---|
static interface |
ServiceFabric.Definition
The entirety of the ServiceFabric definition.
|
static interface |
ServiceFabric.DefinitionStages
The ServiceFabric definition stages.
|
static interface |
ServiceFabric.Update
The template for ServiceFabric update.
|
static interface |
ServiceFabric.UpdateStages
The ServiceFabric update stages.
|
Modifier and Type | Method and Description |
---|---|
ApplicableSchedule |
applicableSchedule()
Gets the applicableSchedule property: The applicable schedule for the virtual machine.
|
String |
environmentId()
Gets the environmentId property: The resource id of the environment under which the service fabric resource is
present.
|
String |
externalServiceFabricId()
Gets the externalServiceFabricId property: The backing service fabric resource's id.
|
String |
id()
Gets the id property: Fully qualified resource Id for the resource.
|
ServiceFabricInner |
innerModel()
Gets the inner com.azure.resourcemanager.devtestlabs.fluent.models.ServiceFabricInner object.
|
ApplicableSchedule |
listApplicableSchedules()
Lists the applicable start/stop schedules, if any.
|
com.azure.core.http.rest.Response<ApplicableSchedule> |
listApplicableSchedulesWithResponse(com.azure.core.util.Context context)
Lists the applicable start/stop schedules, if any.
|
String |
location()
Gets the location property: The geo-location where the resource lives.
|
String |
name()
Gets the name property: The name of the resource.
|
String |
provisioningState()
Gets the provisioningState property: The provisioning status of the resource.
|
ServiceFabric |
refresh()
Refreshes the resource to sync with Azure.
|
ServiceFabric |
refresh(com.azure.core.util.Context context)
Refreshes the resource to sync with Azure.
|
com.azure.core.management.Region |
region()
Gets the region of the resource.
|
String |
regionName()
Gets the name of the resource region.
|
void |
start()
Start a service fabric.
|
void |
start(com.azure.core.util.Context context)
Start a service fabric.
|
void |
stop()
Stop a service fabric This operation can take a while to complete.
|
void |
stop(com.azure.core.util.Context context)
Stop a service fabric This operation can take a while to complete.
|
Map<String,String> |
tags()
Gets the tags property: Resource tags.
|
String |
type()
Gets the type property: The type of the resource.
|
String |
uniqueIdentifier()
Gets the uniqueIdentifier property: The unique immutable identifier of a resource (Guid).
|
ServiceFabric.Update |
update()
Begins update for the ServiceFabric resource.
|
String id()
String name()
String type()
String location()
String externalServiceFabricId()
String environmentId()
ApplicableSchedule applicableSchedule()
String provisioningState()
String uniqueIdentifier()
com.azure.core.management.Region region()
String regionName()
ServiceFabricInner innerModel()
ServiceFabric.Update update()
ServiceFabric refresh()
ServiceFabric refresh(com.azure.core.util.Context context)
context
- The context to associate with this operation.ApplicableSchedule listApplicableSchedules()
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(com.azure.core.util.Context context)
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()
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(com.azure.core.util.Context context)
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()
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(com.azure.core.util.Context context)
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.