Interface ServiceFabric


public interface ServiceFabric
An immutable client-side representation of ServiceFabric.
  • Method Details

    • id

      String id()
      Gets the id property: Fully qualified resource Id for the resource.
      Returns:
      the id value.
    • name

      String name()
      Gets the name property: The name of the resource.
      Returns:
      the name value.
    • type

      String type()
      Gets the type property: The type of the resource.
      Returns:
      the type value.
    • location

      String location()
      Gets the location property: The geo-location where the resource lives.
      Returns:
      the location value.
    • tags

      Map<String,String> tags()
      Gets the tags property: Resource tags.
      Returns:
      the tags value.
    • externalServiceFabricId

      String externalServiceFabricId()
      Gets the externalServiceFabricId property: The backing service fabric resource's id.
      Returns:
      the externalServiceFabricId value.
    • environmentId

      String environmentId()
      Gets the environmentId property: The resource id of the environment under which the service fabric resource is present.
      Returns:
      the environmentId value.
    • applicableSchedule

      ApplicableSchedule applicableSchedule()
      Gets the applicableSchedule property: The applicable schedule for the virtual machine.
      Returns:
      the applicableSchedule value.
    • provisioningState

      String provisioningState()
      Gets the provisioningState property: The provisioning status of the resource.
      Returns:
      the provisioningState value.
    • uniqueIdentifier

      String uniqueIdentifier()
      Gets the uniqueIdentifier property: The unique immutable identifier of a resource (Guid).
      Returns:
      the uniqueIdentifier value.
    • region

      com.azure.core.management.Region region()
      Gets the region of the resource.
      Returns:
      the region of the resource.
    • regionName

      String regionName()
      Gets the name of the resource region.
      Returns:
      the name of the resource region.
    • resourceGroupName

      String resourceGroupName()
      Gets the name of the resource group.
      Returns:
      the name of the resource group.
    • innerModel

      ServiceFabricInner innerModel()
      Gets the inner com.azure.resourcemanager.devtestlabs.fluent.models.ServiceFabricInner object.
      Returns:
      the inner object.
    • update

      Begins update for the ServiceFabric resource.
      Returns:
      the stage of resource update.
    • refresh

      ServiceFabric refresh()
      Refreshes the resource to sync with Azure.
      Returns:
      the refreshed resource.
    • refresh

      ServiceFabric refresh(com.azure.core.util.Context context)
      Refreshes the resource to sync with Azure.
      Parameters:
      context - The context to associate with this operation.
      Returns:
      the refreshed resource.
    • listApplicableSchedulesWithResponse

      com.azure.core.http.rest.Response<ApplicableSchedule> listApplicableSchedulesWithResponse(com.azure.core.util.Context context)
      Lists the applicable start/stop schedules, if any.
      Parameters:
      context - The context to associate with this operation.
      Returns:
      schedules applicable to a virtual machine 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.
    • listApplicableSchedules

      ApplicableSchedule listApplicableSchedules()
      Lists the applicable start/stop schedules, if any.
      Returns:
      schedules applicable to a virtual machine.
      Throws:
      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.
    • start

      void start()
      Start a service fabric. This operation can take a while to complete.
      Throws:
      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.
    • start

      void start(com.azure.core.util.Context context)
      Start a service fabric. This operation can take a while to complete.
      Parameters:
      context - The context to associate with this operation.
      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.
    • stop

      void stop()
      Stop a service fabric This operation can take a while to complete.
      Throws:
      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.
    • stop

      void stop(com.azure.core.util.Context context)
      Stop a service fabric This operation can take a while to complete.
      Parameters:
      context - The context to associate with this operation.
      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.