public final class StreamingEndpoint extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
StreamingEndpoint.Creator
The Class Creator.
|
static class |
StreamingEndpoint.Updater
The Class Updater.
|
| Modifier and Type | Method and Description |
|---|---|
static StreamingEndpoint.Creator |
create()
Creates an Asset Creator.
|
static EntityDeleteOperation |
delete(String streamingEndpointId)
Create an operation to delete the given streaming endpoint
|
static EntityGetOperation<StreamingEndpointInfo> |
get(String streamingEndpointId)
Create an operation object that will get the state of the given asset.
|
static DefaultListOperation<StreamingEndpointInfo> |
list()
Create an operation that will list all the assets.
|
static EntityActionOperation |
scale(String streamingEndpointId,
int scaleUnits) |
static EntityActionOperation |
start(String streamingEndpointId) |
static EntityActionOperation |
stop(String streamingEndpointId) |
static StreamingEndpoint.Updater |
update(StreamingEndpointInfo streamingEndpointInfo) |
static StreamingEndpoint.Updater |
update(String streamingEndpointId)
Create an operation that will update the given asset.
|
public static StreamingEndpoint.Creator create()
public static EntityGetOperation<StreamingEndpointInfo> get(String streamingEndpointId)
assetId - id of asset to retrievepublic static DefaultListOperation<StreamingEndpointInfo> list()
public static StreamingEndpoint.Updater update(String streamingEndpointId)
assetId - id of the asset to updatepublic static StreamingEndpoint.Updater update(StreamingEndpointInfo streamingEndpointInfo)
public static EntityDeleteOperation delete(String streamingEndpointId)
assetId - id of asset to deletepublic static EntityActionOperation start(String streamingEndpointId)
public static EntityActionOperation stop(String streamingEndpointId)
public static EntityActionOperation scale(String streamingEndpointId, int scaleUnits)
/**
* Copyright Microsoft Corporation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/