Interface StreamingEndpoint


public interface StreamingEndpoint
An immutable client-side representation of StreamingEndpoint.
  • 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.
    • systemData

      com.azure.core.management.SystemData systemData()
      Gets the systemData property: The system metadata relating to this resource.
      Returns:
      the systemData value.
    • sku

      Gets the sku property: The streaming endpoint sku.
      Returns:
      the sku value.
    • description

      String description()
      Gets the description property: The streaming endpoint description.
      Returns:
      the description value.
    • scaleUnits

      int scaleUnits()
      Gets the scaleUnits property: The number of scale units. Use the Scale operation to adjust this value.
      Returns:
      the scaleUnits value.
    • availabilitySetName

      String availabilitySetName()
      Gets the availabilitySetName property: This feature is deprecated, do not set a value for this property.
      Returns:
      the availabilitySetName value.
    • accessControl

      Gets the accessControl property: The access control definition of the streaming endpoint.
      Returns:
      the accessControl value.
    • maxCacheAge

      Long maxCacheAge()
      Gets the maxCacheAge property: Max cache age.
      Returns:
      the maxCacheAge value.
    • customHostNames

      List<String> customHostNames()
      Gets the customHostNames property: The custom host names of the streaming endpoint.
      Returns:
      the customHostNames value.
    • hostname

      String hostname()
      Gets the hostname property: The streaming endpoint host name.
      Returns:
      the hostname value.
    • cdnEnabled

      Boolean cdnEnabled()
      Gets the cdnEnabled property: The CDN enabled flag.
      Returns:
      the cdnEnabled value.
    • cdnProvider

      String cdnProvider()
      Gets the cdnProvider property: The CDN provider name.
      Returns:
      the cdnProvider value.
    • cdnProfile

      String cdnProfile()
      Gets the cdnProfile property: The CDN profile name.
      Returns:
      the cdnProfile value.
    • provisioningState

      String provisioningState()
      Gets the provisioningState property: The provisioning state of the streaming endpoint.
      Returns:
      the provisioningState value.
    • resourceState

      Gets the resourceState property: The resource state of the streaming endpoint.
      Returns:
      the resourceState value.
    • crossSiteAccessPolicies

      CrossSiteAccessPolicies crossSiteAccessPolicies()
      Gets the crossSiteAccessPolicies property: The streaming endpoint access policies.
      Returns:
      the crossSiteAccessPolicies value.
    • freeTrialEndTime

      OffsetDateTime freeTrialEndTime()
      Gets the freeTrialEndTime property: The free trial expiration time.
      Returns:
      the freeTrialEndTime value.
    • created

      OffsetDateTime created()
      Gets the created property: The exact time the streaming endpoint was created.
      Returns:
      the created value.
    • lastModified

      OffsetDateTime lastModified()
      Gets the lastModified property: The exact time the streaming endpoint was last modified.
      Returns:
      the lastModified 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

      Gets the inner com.azure.resourcemanager.mediaservices.fluent.models.StreamingEndpointInner object.
      Returns:
      the inner object.
    • update

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

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

      StreamingEndpoint 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.
    • start

      void start()
      Start StreamingEndpoint

      Starts an existing streaming endpoint.

      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 StreamingEndpoint

      Starts an existing streaming endpoint.

      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 StreamingEndpoint

      Stops an existing streaming endpoint.

      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 StreamingEndpoint

      Stops an existing streaming endpoint.

      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.
    • scale

      void scale(StreamingEntityScaleUnit parameters)
      Scale StreamingEndpoint

      Scales an existing streaming endpoint.

      Parameters:
      parameters - Streaming endpoint scale parameters.
      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.
    • scale

      void scale(StreamingEntityScaleUnit parameters, com.azure.core.util.Context context)
      Scale StreamingEndpoint

      Scales an existing streaming endpoint.

      Parameters:
      parameters - Streaming endpoint scale 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.