StreamingPolicyResource Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
A Class representing a StreamingPolicy along with the instance operations that can be performed on it. If you have a Azure.Core.ResourceIdentifier you can construct a StreamingPolicyResource from an instance of Azure.ResourceManager.ArmClient using the GetStreamingPolicyResource method. Otherwise you can get one from its parent resource MediaServicesAccountResource using the GetStreamingPolicy method.
public class StreamingPolicyResource : Azure.ResourceManager.ArmResource, System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.Media.StreamingPolicyData>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.Media.StreamingPolicyData>
type StreamingPolicyResource = class
inherit ArmResource
interface IJsonModel<StreamingPolicyData>
interface IPersistableModel<StreamingPolicyData>
Public Class StreamingPolicyResource
Inherits ArmResource
Implements IJsonModel(Of StreamingPolicyData), IPersistableModel(Of StreamingPolicyData)
- Inheritance
-
Azure.ResourceManager.ArmResourceStreamingPolicyResource
- Implements
-
System.ClientModel.Primitives.IJsonModel<StreamingPolicyData> System.ClientModel.Primitives.IPersistableModel<StreamingPolicyData> System.ClientModel.Primitives.IPersistableModel<T>
Constructors
StreamingPolicyResource() |
Initializes a new instance of the StreamingPolicyResource class for mocking. |
Fields
ResourceType |
Gets the resource type for the operations. |
Properties
Data |
Gets the data representing this Feature. |
HasData |
Gets whether or not the current instance has data. |
Methods
CreateResourceIdentifier(String, String, String, String) |
Generate the resource identifier of a StreamingPolicyResource instance. |
Delete(WaitUntil, CancellationToken) |
Deletes a Streaming Policy in the Media Services account
|
DeleteAsync(WaitUntil, CancellationToken) |
Deletes a Streaming Policy in the Media Services account
|
Get(CancellationToken) |
Get the details of a Streaming Policy in the Media Services account
|
GetAsync(CancellationToken) |
Get the details of a Streaming Policy in the Media Services account
|
Update(WaitUntil, StreamingPolicyData, CancellationToken) |
Create a Streaming Policy in the Media Services account
|
UpdateAsync(WaitUntil, StreamingPolicyData, CancellationToken) |
Create a Streaming Policy in the Media Services account
|
Explicit Interface Implementations
IJsonModel<StreamingPolicyData>.Create(Utf8JsonReader, ModelReaderWriterOptions) |
Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model. |
IJsonModel<StreamingPolicyData>.Write(Utf8JsonWriter, ModelReaderWriterOptions) |
Writes the model to the provided System.Text.Json.Utf8JsonWriter. |
IPersistableModel<StreamingPolicyData>.Create(BinaryData, ModelReaderWriterOptions) |
Converts the provided System.BinaryData into a model. |
IPersistableModel<StreamingPolicyData>.GetFormatFromOptions(ModelReaderWriterOptions) |
Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service. |
IPersistableModel<StreamingPolicyData>.Write(ModelReaderWriterOptions) |
Writes the model into a System.BinaryData. |