Interface StreamingEndpoint
public interface StreamingEndpoint
An immutable client-side representation of StreamingEndpoint.
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic interface
The entirety of the StreamingEndpoint definition.static interface
The StreamingEndpoint definition stages.static interface
The template for StreamingEndpoint update.static interface
The StreamingEndpoint update stages. -
Method Summary
Modifier and TypeMethodDescriptionGets the accessControl property: The access control definition of the streaming endpoint.Gets the availabilitySetName property: This feature is deprecated, do not set a value for this property.Gets the cdnEnabled property: The CDN enabled flag.Gets the cdnProfile property: The CDN profile name.Gets the cdnProvider property: The CDN provider name.created()
Gets the created property: The exact time the streaming endpoint was created.Gets the crossSiteAccessPolicies property: The streaming endpoint access policies.Gets the customHostNames property: The custom host names of the streaming endpoint.Gets the description property: The streaming endpoint description.Gets the freeTrialEndTime property: The free trial expiration time.hostname()
Gets the hostname property: The streaming endpoint host name.id()
Gets the id property: Fully qualified resource Id for the resource.Gets the inner com.azure.resourcemanager.mediaservices.fluent.models.StreamingEndpointInner object.Gets the lastModified property: The exact time the streaming endpoint was last modified.location()
Gets the location property: The geo-location where the resource lives.Gets the maxCacheAge property: Max cache age.name()
Gets the name property: The name of the resource.Gets the provisioningState property: The provisioning state of the streaming endpoint.refresh()
Refreshes the resource to sync with Azure.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.Gets the name of the resource region.Gets the name of the resource group.Gets the resourceState property: The resource state of the streaming endpoint.void
scale
(StreamingEntityScaleUnit parameters) Scale StreamingEndpointvoid
scale
(StreamingEntityScaleUnit parameters, com.azure.core.util.Context context) Scale StreamingEndpointint
Gets the scaleUnits property: The number of scale units.sku()
Gets the sku property: The streaming endpoint sku.void
start()
Start StreamingEndpointvoid
start
(com.azure.core.util.Context context) Start StreamingEndpointvoid
stop()
Stop StreamingEndpointvoid
stop
(com.azure.core.util.Context context) Stop StreamingEndpointcom.azure.core.management.SystemData
Gets the systemData property: The system metadata relating to this resource.tags()
Gets the tags property: Resource tags.type()
Gets the type property: The type of the resource.update()
Begins update for the StreamingEndpoint resource.
-
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
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
StreamingEndpointAccessControl 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
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
StreamingEndpointResourceState 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
StreamingEndpointInner innerModel()Gets the inner com.azure.resourcemanager.mediaservices.fluent.models.StreamingEndpointInner object.- Returns:
- the inner object.
-
update
StreamingEndpoint.Update update()Begins update for the StreamingEndpoint resource.- Returns:
- the stage of resource update.
-
refresh
StreamingEndpoint refresh()Refreshes the resource to sync with Azure.- Returns:
- the refreshed resource.
-
refresh
Refreshes the resource to sync with Azure.- Parameters:
context
- The context to associate with this operation.- Returns:
- the refreshed resource.
-
start
void start()Start StreamingEndpointStarts 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 StreamingEndpointStarts 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 StreamingEndpointStops 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 StreamingEndpointStops 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
Scale StreamingEndpointScales 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
Scale StreamingEndpointScales 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.
-