StreamingEndpoint

class StreamingEndpoint : KotlinCustomResource

The streaming endpoint. API Version: 2020-05-01.

Example Usage

Create a streaming endpoint

using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var streamingEndpoint = new AzureNative.Media.StreamingEndpoint("streamingEndpoint", new()
{
AccessControl = new AzureNative.Media.Inputs.StreamingEndpointAccessControlArgs
{
Akamai = new AzureNative.Media.Inputs.AkamaiAccessControlArgs
{
AkamaiSignatureHeaderAuthenticationKeyList = new[]
{
new AzureNative.Media.Inputs.AkamaiSignatureHeaderAuthenticationKeyArgs
{
Base64Key = "dGVzdGlkMQ==",
Expiration = "2029-12-31T16:00:00-08:00",
Identifier = "id1",
},
new AzureNative.Media.Inputs.AkamaiSignatureHeaderAuthenticationKeyArgs
{
Base64Key = "dGVzdGlkMQ==",
Expiration = "2030-12-31T16:00:00-08:00",
Identifier = "id2",
},
},
},
Ip = new AzureNative.Media.Inputs.IPAccessControlArgs
{
Allow = new[]
{
new AzureNative.Media.Inputs.IPRangeArgs
{
Address = "192.168.1.1",
Name = "AllowedIp",
},
},
},
},
AccountName = "slitestmedia10",
AvailabilitySetName = "availableset",
CdnEnabled = false,
Description = "test event 1",
Location = "West US",
ResourceGroupName = "mediaresources",
ScaleUnits = 1,
StreamingEndpointName = "myStreamingEndpoint1",
Tags =
{
{ "tag1", "value1" },
{ "tag2", "value2" },
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.media.StreamingEndpoint;
import com.pulumi.azurenative.media.StreamingEndpointArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var streamingEndpoint = new StreamingEndpoint("streamingEndpoint", StreamingEndpointArgs.builder()
.accessControl(Map.ofEntries(
Map.entry("akamai", Map.of("akamaiSignatureHeaderAuthenticationKeyList",
Map.ofEntries(
Map.entry("base64Key", "dGVzdGlkMQ=="),
Map.entry("expiration", "2029-12-31T16:00:00-08:00"),
Map.entry("identifier", "id1")
),
Map.ofEntries(
Map.entry("base64Key", "dGVzdGlkMQ=="),
Map.entry("expiration", "2030-12-31T16:00:00-08:00"),
Map.entry("identifier", "id2")
))),
Map.entry("ip", Map.of("allow", Map.ofEntries(
Map.entry("address", "192.168.1.1"),
Map.entry("name", "AllowedIp")
)))
))
.accountName("slitestmedia10")
.availabilitySetName("availableset")
.cdnEnabled(false)
.description("test event 1")
.location("West US")
.resourceGroupName("mediaresources")
.scaleUnits(1)
.streamingEndpointName("myStreamingEndpoint1")
.tags(Map.ofEntries(
Map.entry("tag1", "value1"),
Map.entry("tag2", "value2")
))
.build());
}
}

Import

An existing resource can be imported using its type token, name, and identifier, e.g.

$ pulumi import azure-native:media:StreamingEndpoint myStreamingEndpoint1 /subscriptions/0a6ec948-5a62-437d-b9df-934dc7c1b722/resourceGroups/mediaresources/providers/Microsoft.Media/mediaservices/slitestmedia10/streamingendpoints/myStreamingEndpoint1

Properties

Link copied to clipboard

The access control definition of the streaming endpoint.

Link copied to clipboard

This feature is deprecated, do not set a value for this property.

Link copied to clipboard
val cdnEnabled: Output<Boolean>?

The CDN enabled flag.

Link copied to clipboard
val cdnProfile: Output<String>?

The CDN profile name.

Link copied to clipboard
val cdnProvider: Output<String>?

The CDN provider name.

Link copied to clipboard
val created: Output<String>

The exact time the streaming endpoint was created.

Link copied to clipboard

The streaming endpoint access policies.

Link copied to clipboard
val customHostNames: Output<List<String>>?

The custom host names of the streaming endpoint

Link copied to clipboard
val description: Output<String>?

The streaming endpoint description.

Link copied to clipboard

The free trial expiration time.

Link copied to clipboard
val hostName: Output<String>

The streaming endpoint host name.

Link copied to clipboard
val id: Output<String>
Link copied to clipboard
val lastModified: Output<String>

The exact time the streaming endpoint was last modified.

Link copied to clipboard
val location: Output<String>

The geo-location where the resource lives

Link copied to clipboard
val maxCacheAge: Output<Double>?

Max cache age

Link copied to clipboard
val name: Output<String>

The name of the resource

Link copied to clipboard

The provisioning state of the streaming endpoint.

Link copied to clipboard
val pulumiChildResources: Set<KotlinResource>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val resourceState: Output<String>

The resource state of the streaming endpoint.

Link copied to clipboard
val scaleUnits: Output<Int>

The number of scale units. Use the Scale operation to adjust this value.

Link copied to clipboard

The system metadata relating to this resource.

Link copied to clipboard
val tags: Output<Map<String, String>>?

Resource tags.

Link copied to clipboard
val type: Output<String>

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

Link copied to clipboard
val urn: Output<String>