We recommend using Azure Native.
azure.media.StreamingEndpoint
Explore with Pulumi AI
Manages a Streaming Endpoint.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as azure from "@pulumi/azure";
const example = new azure.core.ResourceGroup("example", {
name: "media-resources",
location: "West Europe",
});
const exampleAccount = new azure.storage.Account("example", {
name: "examplestoracc",
resourceGroupName: example.name,
location: example.location,
accountTier: "Standard",
accountReplicationType: "GRS",
});
const exampleServiceAccount = new azure.media.ServiceAccount("example", {
name: "examplemediaacc",
location: example.location,
resourceGroupName: example.name,
storageAccounts: [{
id: exampleAccount.id,
isPrimary: true,
}],
});
const exampleStreamingEndpoint = new azure.media.StreamingEndpoint("example", {
name: "endpoint1",
resourceGroupName: example.name,
location: example.location,
mediaServicesAccountName: exampleServiceAccount.name,
scaleUnits: 2,
});
import pulumi
import pulumi_azure as azure
example = azure.core.ResourceGroup("example",
name="media-resources",
location="West Europe")
example_account = azure.storage.Account("example",
name="examplestoracc",
resource_group_name=example.name,
location=example.location,
account_tier="Standard",
account_replication_type="GRS")
example_service_account = azure.media.ServiceAccount("example",
name="examplemediaacc",
location=example.location,
resource_group_name=example.name,
storage_accounts=[azure.media.ServiceAccountStorageAccountArgs(
id=example_account.id,
is_primary=True,
)])
example_streaming_endpoint = azure.media.StreamingEndpoint("example",
name="endpoint1",
resource_group_name=example.name,
location=example.location,
media_services_account_name=example_service_account.name,
scale_units=2)
package main
import (
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/core"
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/media"
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/storage"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
example, err := core.NewResourceGroup(ctx, "example", &core.ResourceGroupArgs{
Name: pulumi.String("media-resources"),
Location: pulumi.String("West Europe"),
})
if err != nil {
return err
}
exampleAccount, err := storage.NewAccount(ctx, "example", &storage.AccountArgs{
Name: pulumi.String("examplestoracc"),
ResourceGroupName: example.Name,
Location: example.Location,
AccountTier: pulumi.String("Standard"),
AccountReplicationType: pulumi.String("GRS"),
})
if err != nil {
return err
}
exampleServiceAccount, err := media.NewServiceAccount(ctx, "example", &media.ServiceAccountArgs{
Name: pulumi.String("examplemediaacc"),
Location: example.Location,
ResourceGroupName: example.Name,
StorageAccounts: media.ServiceAccountStorageAccountArray{
&media.ServiceAccountStorageAccountArgs{
Id: exampleAccount.ID(),
IsPrimary: pulumi.Bool(true),
},
},
})
if err != nil {
return err
}
_, err = media.NewStreamingEndpoint(ctx, "example", &media.StreamingEndpointArgs{
Name: pulumi.String("endpoint1"),
ResourceGroupName: example.Name,
Location: example.Location,
MediaServicesAccountName: exampleServiceAccount.Name,
ScaleUnits: pulumi.Int(2),
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Azure = Pulumi.Azure;
return await Deployment.RunAsync(() =>
{
var example = new Azure.Core.ResourceGroup("example", new()
{
Name = "media-resources",
Location = "West Europe",
});
var exampleAccount = new Azure.Storage.Account("example", new()
{
Name = "examplestoracc",
ResourceGroupName = example.Name,
Location = example.Location,
AccountTier = "Standard",
AccountReplicationType = "GRS",
});
var exampleServiceAccount = new Azure.Media.ServiceAccount("example", new()
{
Name = "examplemediaacc",
Location = example.Location,
ResourceGroupName = example.Name,
StorageAccounts = new[]
{
new Azure.Media.Inputs.ServiceAccountStorageAccountArgs
{
Id = exampleAccount.Id,
IsPrimary = true,
},
},
});
var exampleStreamingEndpoint = new Azure.Media.StreamingEndpoint("example", new()
{
Name = "endpoint1",
ResourceGroupName = example.Name,
Location = example.Location,
MediaServicesAccountName = exampleServiceAccount.Name,
ScaleUnits = 2,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azure.core.ResourceGroup;
import com.pulumi.azure.core.ResourceGroupArgs;
import com.pulumi.azure.storage.Account;
import com.pulumi.azure.storage.AccountArgs;
import com.pulumi.azure.media.ServiceAccount;
import com.pulumi.azure.media.ServiceAccountArgs;
import com.pulumi.azure.media.inputs.ServiceAccountStorageAccountArgs;
import com.pulumi.azure.media.StreamingEndpoint;
import com.pulumi.azure.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 example = new ResourceGroup("example", ResourceGroupArgs.builder()
.name("media-resources")
.location("West Europe")
.build());
var exampleAccount = new Account("exampleAccount", AccountArgs.builder()
.name("examplestoracc")
.resourceGroupName(example.name())
.location(example.location())
.accountTier("Standard")
.accountReplicationType("GRS")
.build());
var exampleServiceAccount = new ServiceAccount("exampleServiceAccount", ServiceAccountArgs.builder()
.name("examplemediaacc")
.location(example.location())
.resourceGroupName(example.name())
.storageAccounts(ServiceAccountStorageAccountArgs.builder()
.id(exampleAccount.id())
.isPrimary(true)
.build())
.build());
var exampleStreamingEndpoint = new StreamingEndpoint("exampleStreamingEndpoint", StreamingEndpointArgs.builder()
.name("endpoint1")
.resourceGroupName(example.name())
.location(example.location())
.mediaServicesAccountName(exampleServiceAccount.name())
.scaleUnits(2)
.build());
}
}
resources:
example:
type: azure:core:ResourceGroup
properties:
name: media-resources
location: West Europe
exampleAccount:
type: azure:storage:Account
name: example
properties:
name: examplestoracc
resourceGroupName: ${example.name}
location: ${example.location}
accountTier: Standard
accountReplicationType: GRS
exampleServiceAccount:
type: azure:media:ServiceAccount
name: example
properties:
name: examplemediaacc
location: ${example.location}
resourceGroupName: ${example.name}
storageAccounts:
- id: ${exampleAccount.id}
isPrimary: true
exampleStreamingEndpoint:
type: azure:media:StreamingEndpoint
name: example
properties:
name: endpoint1
resourceGroupName: ${example.name}
location: ${example.location}
mediaServicesAccountName: ${exampleServiceAccount.name}
scaleUnits: 2
With Access Control
import * as pulumi from "@pulumi/pulumi";
import * as azure from "@pulumi/azure";
const example = new azure.core.ResourceGroup("example", {
name: "media-resources",
location: "West Europe",
});
const exampleAccount = new azure.storage.Account("example", {
name: "examplestoracc",
resourceGroupName: example.name,
location: example.location,
accountTier: "Standard",
accountReplicationType: "GRS",
});
const exampleServiceAccount = new azure.media.ServiceAccount("example", {
name: "examplemediaacc",
location: example.location,
resourceGroupName: example.name,
storageAccounts: [{
id: exampleAccount.id,
isPrimary: true,
}],
});
const exampleStreamingEndpoint = new azure.media.StreamingEndpoint("example", {
name: "endpoint1",
resourceGroupName: example.name,
location: example.location,
mediaServicesAccountName: exampleServiceAccount.name,
scaleUnits: 2,
accessControl: {
ipAllows: [
{
name: "AllowedIP",
address: "192.168.1.1",
},
{
name: "AnotherIp",
address: "192.168.1.2",
},
],
akamaiSignatureHeaderAuthenticationKeys: [
{
identifier: "id1",
expiration: "2030-12-31T16:00:00Z",
base64Key: "dGVzdGlkMQ==",
},
{
identifier: "id2",
expiration: "2032-01-28T16:00:00Z",
base64Key: "dGVzdGlkMQ==",
},
],
},
});
import pulumi
import pulumi_azure as azure
example = azure.core.ResourceGroup("example",
name="media-resources",
location="West Europe")
example_account = azure.storage.Account("example",
name="examplestoracc",
resource_group_name=example.name,
location=example.location,
account_tier="Standard",
account_replication_type="GRS")
example_service_account = azure.media.ServiceAccount("example",
name="examplemediaacc",
location=example.location,
resource_group_name=example.name,
storage_accounts=[azure.media.ServiceAccountStorageAccountArgs(
id=example_account.id,
is_primary=True,
)])
example_streaming_endpoint = azure.media.StreamingEndpoint("example",
name="endpoint1",
resource_group_name=example.name,
location=example.location,
media_services_account_name=example_service_account.name,
scale_units=2,
access_control=azure.media.StreamingEndpointAccessControlArgs(
ip_allows=[
azure.media.StreamingEndpointAccessControlIpAllowArgs(
name="AllowedIP",
address="192.168.1.1",
),
azure.media.StreamingEndpointAccessControlIpAllowArgs(
name="AnotherIp",
address="192.168.1.2",
),
],
akamai_signature_header_authentication_keys=[
azure.media.StreamingEndpointAccessControlAkamaiSignatureHeaderAuthenticationKeyArgs(
identifier="id1",
expiration="2030-12-31T16:00:00Z",
base64_key="dGVzdGlkMQ==",
),
azure.media.StreamingEndpointAccessControlAkamaiSignatureHeaderAuthenticationKeyArgs(
identifier="id2",
expiration="2032-01-28T16:00:00Z",
base64_key="dGVzdGlkMQ==",
),
],
))
package main
import (
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/core"
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/media"
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/storage"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
example, err := core.NewResourceGroup(ctx, "example", &core.ResourceGroupArgs{
Name: pulumi.String("media-resources"),
Location: pulumi.String("West Europe"),
})
if err != nil {
return err
}
exampleAccount, err := storage.NewAccount(ctx, "example", &storage.AccountArgs{
Name: pulumi.String("examplestoracc"),
ResourceGroupName: example.Name,
Location: example.Location,
AccountTier: pulumi.String("Standard"),
AccountReplicationType: pulumi.String("GRS"),
})
if err != nil {
return err
}
exampleServiceAccount, err := media.NewServiceAccount(ctx, "example", &media.ServiceAccountArgs{
Name: pulumi.String("examplemediaacc"),
Location: example.Location,
ResourceGroupName: example.Name,
StorageAccounts: media.ServiceAccountStorageAccountArray{
&media.ServiceAccountStorageAccountArgs{
Id: exampleAccount.ID(),
IsPrimary: pulumi.Bool(true),
},
},
})
if err != nil {
return err
}
_, err = media.NewStreamingEndpoint(ctx, "example", &media.StreamingEndpointArgs{
Name: pulumi.String("endpoint1"),
ResourceGroupName: example.Name,
Location: example.Location,
MediaServicesAccountName: exampleServiceAccount.Name,
ScaleUnits: pulumi.Int(2),
AccessControl: &media.StreamingEndpointAccessControlArgs{
IpAllows: media.StreamingEndpointAccessControlIpAllowArray{
&media.StreamingEndpointAccessControlIpAllowArgs{
Name: pulumi.String("AllowedIP"),
Address: pulumi.String("192.168.1.1"),
},
&media.StreamingEndpointAccessControlIpAllowArgs{
Name: pulumi.String("AnotherIp"),
Address: pulumi.String("192.168.1.2"),
},
},
AkamaiSignatureHeaderAuthenticationKeys: media.StreamingEndpointAccessControlAkamaiSignatureHeaderAuthenticationKeyArray{
&media.StreamingEndpointAccessControlAkamaiSignatureHeaderAuthenticationKeyArgs{
Identifier: pulumi.String("id1"),
Expiration: pulumi.String("2030-12-31T16:00:00Z"),
Base64Key: pulumi.String("dGVzdGlkMQ=="),
},
&media.StreamingEndpointAccessControlAkamaiSignatureHeaderAuthenticationKeyArgs{
Identifier: pulumi.String("id2"),
Expiration: pulumi.String("2032-01-28T16:00:00Z"),
Base64Key: pulumi.String("dGVzdGlkMQ=="),
},
},
},
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Azure = Pulumi.Azure;
return await Deployment.RunAsync(() =>
{
var example = new Azure.Core.ResourceGroup("example", new()
{
Name = "media-resources",
Location = "West Europe",
});
var exampleAccount = new Azure.Storage.Account("example", new()
{
Name = "examplestoracc",
ResourceGroupName = example.Name,
Location = example.Location,
AccountTier = "Standard",
AccountReplicationType = "GRS",
});
var exampleServiceAccount = new Azure.Media.ServiceAccount("example", new()
{
Name = "examplemediaacc",
Location = example.Location,
ResourceGroupName = example.Name,
StorageAccounts = new[]
{
new Azure.Media.Inputs.ServiceAccountStorageAccountArgs
{
Id = exampleAccount.Id,
IsPrimary = true,
},
},
});
var exampleStreamingEndpoint = new Azure.Media.StreamingEndpoint("example", new()
{
Name = "endpoint1",
ResourceGroupName = example.Name,
Location = example.Location,
MediaServicesAccountName = exampleServiceAccount.Name,
ScaleUnits = 2,
AccessControl = new Azure.Media.Inputs.StreamingEndpointAccessControlArgs
{
IpAllows = new[]
{
new Azure.Media.Inputs.StreamingEndpointAccessControlIpAllowArgs
{
Name = "AllowedIP",
Address = "192.168.1.1",
},
new Azure.Media.Inputs.StreamingEndpointAccessControlIpAllowArgs
{
Name = "AnotherIp",
Address = "192.168.1.2",
},
},
AkamaiSignatureHeaderAuthenticationKeys = new[]
{
new Azure.Media.Inputs.StreamingEndpointAccessControlAkamaiSignatureHeaderAuthenticationKeyArgs
{
Identifier = "id1",
Expiration = "2030-12-31T16:00:00Z",
Base64Key = "dGVzdGlkMQ==",
},
new Azure.Media.Inputs.StreamingEndpointAccessControlAkamaiSignatureHeaderAuthenticationKeyArgs
{
Identifier = "id2",
Expiration = "2032-01-28T16:00:00Z",
Base64Key = "dGVzdGlkMQ==",
},
},
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azure.core.ResourceGroup;
import com.pulumi.azure.core.ResourceGroupArgs;
import com.pulumi.azure.storage.Account;
import com.pulumi.azure.storage.AccountArgs;
import com.pulumi.azure.media.ServiceAccount;
import com.pulumi.azure.media.ServiceAccountArgs;
import com.pulumi.azure.media.inputs.ServiceAccountStorageAccountArgs;
import com.pulumi.azure.media.StreamingEndpoint;
import com.pulumi.azure.media.StreamingEndpointArgs;
import com.pulumi.azure.media.inputs.StreamingEndpointAccessControlArgs;
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 example = new ResourceGroup("example", ResourceGroupArgs.builder()
.name("media-resources")
.location("West Europe")
.build());
var exampleAccount = new Account("exampleAccount", AccountArgs.builder()
.name("examplestoracc")
.resourceGroupName(example.name())
.location(example.location())
.accountTier("Standard")
.accountReplicationType("GRS")
.build());
var exampleServiceAccount = new ServiceAccount("exampleServiceAccount", ServiceAccountArgs.builder()
.name("examplemediaacc")
.location(example.location())
.resourceGroupName(example.name())
.storageAccounts(ServiceAccountStorageAccountArgs.builder()
.id(exampleAccount.id())
.isPrimary(true)
.build())
.build());
var exampleStreamingEndpoint = new StreamingEndpoint("exampleStreamingEndpoint", StreamingEndpointArgs.builder()
.name("endpoint1")
.resourceGroupName(example.name())
.location(example.location())
.mediaServicesAccountName(exampleServiceAccount.name())
.scaleUnits(2)
.accessControl(StreamingEndpointAccessControlArgs.builder()
.ipAllows(
StreamingEndpointAccessControlIpAllowArgs.builder()
.name("AllowedIP")
.address("192.168.1.1")
.build(),
StreamingEndpointAccessControlIpAllowArgs.builder()
.name("AnotherIp")
.address("192.168.1.2")
.build())
.akamaiSignatureHeaderAuthenticationKeys(
StreamingEndpointAccessControlAkamaiSignatureHeaderAuthenticationKeyArgs.builder()
.identifier("id1")
.expiration("2030-12-31T16:00:00Z")
.base64Key("dGVzdGlkMQ==")
.build(),
StreamingEndpointAccessControlAkamaiSignatureHeaderAuthenticationKeyArgs.builder()
.identifier("id2")
.expiration("2032-01-28T16:00:00Z")
.base64Key("dGVzdGlkMQ==")
.build())
.build())
.build());
}
}
resources:
example:
type: azure:core:ResourceGroup
properties:
name: media-resources
location: West Europe
exampleAccount:
type: azure:storage:Account
name: example
properties:
name: examplestoracc
resourceGroupName: ${example.name}
location: ${example.location}
accountTier: Standard
accountReplicationType: GRS
exampleServiceAccount:
type: azure:media:ServiceAccount
name: example
properties:
name: examplemediaacc
location: ${example.location}
resourceGroupName: ${example.name}
storageAccounts:
- id: ${exampleAccount.id}
isPrimary: true
exampleStreamingEndpoint:
type: azure:media:StreamingEndpoint
name: example
properties:
name: endpoint1
resourceGroupName: ${example.name}
location: ${example.location}
mediaServicesAccountName: ${exampleServiceAccount.name}
scaleUnits: 2
accessControl:
ipAllows:
- name: AllowedIP
address: 192.168.1.1
- name: AnotherIp
address: 192.168.1.2
akamaiSignatureHeaderAuthenticationKeys:
- identifier: id1
expiration: 2030-12-31T16:00:00Z
base64Key: dGVzdGlkMQ==
- identifier: id2
expiration: 2032-01-28T16:00:00Z
base64Key: dGVzdGlkMQ==
Create StreamingEndpoint Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new StreamingEndpoint(name: string, args: StreamingEndpointArgs, opts?: CustomResourceOptions);
@overload
def StreamingEndpoint(resource_name: str,
args: StreamingEndpointArgs,
opts: Optional[ResourceOptions] = None)
@overload
def StreamingEndpoint(resource_name: str,
opts: Optional[ResourceOptions] = None,
media_services_account_name: Optional[str] = None,
scale_units: Optional[int] = None,
resource_group_name: Optional[str] = None,
custom_host_names: Optional[Sequence[str]] = None,
cdn_provider: Optional[str] = None,
cross_site_access_policy: Optional[StreamingEndpointCrossSiteAccessPolicyArgs] = None,
access_control: Optional[StreamingEndpointAccessControlArgs] = None,
description: Optional[str] = None,
location: Optional[str] = None,
max_cache_age_seconds: Optional[int] = None,
cdn_profile: Optional[str] = None,
name: Optional[str] = None,
cdn_enabled: Optional[bool] = None,
auto_start_enabled: Optional[bool] = None,
tags: Optional[Mapping[str, str]] = None)
func NewStreamingEndpoint(ctx *Context, name string, args StreamingEndpointArgs, opts ...ResourceOption) (*StreamingEndpoint, error)
public StreamingEndpoint(string name, StreamingEndpointArgs args, CustomResourceOptions? opts = null)
public StreamingEndpoint(String name, StreamingEndpointArgs args)
public StreamingEndpoint(String name, StreamingEndpointArgs args, CustomResourceOptions options)
type: azure:media:StreamingEndpoint
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args StreamingEndpointArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args StreamingEndpointArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args StreamingEndpointArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args StreamingEndpointArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args StreamingEndpointArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var streamingEndpointResource = new Azure.Media.StreamingEndpoint("streamingEndpointResource", new()
{
MediaServicesAccountName = "string",
ScaleUnits = 0,
ResourceGroupName = "string",
CustomHostNames = new[]
{
"string",
},
CdnProvider = "string",
CrossSiteAccessPolicy = new Azure.Media.Inputs.StreamingEndpointCrossSiteAccessPolicyArgs
{
ClientAccessPolicy = "string",
CrossDomainPolicy = "string",
},
AccessControl = new Azure.Media.Inputs.StreamingEndpointAccessControlArgs
{
AkamaiSignatureHeaderAuthenticationKeys = new[]
{
new Azure.Media.Inputs.StreamingEndpointAccessControlAkamaiSignatureHeaderAuthenticationKeyArgs
{
Base64Key = "string",
Expiration = "string",
Identifier = "string",
},
},
IpAllows = new[]
{
new Azure.Media.Inputs.StreamingEndpointAccessControlIpAllowArgs
{
Address = "string",
Name = "string",
SubnetPrefixLength = 0,
},
},
},
Description = "string",
Location = "string",
MaxCacheAgeSeconds = 0,
CdnProfile = "string",
Name = "string",
CdnEnabled = false,
AutoStartEnabled = false,
Tags =
{
{ "string", "string" },
},
});
example, err := media.NewStreamingEndpoint(ctx, "streamingEndpointResource", &media.StreamingEndpointArgs{
MediaServicesAccountName: pulumi.String("string"),
ScaleUnits: pulumi.Int(0),
ResourceGroupName: pulumi.String("string"),
CustomHostNames: pulumi.StringArray{
pulumi.String("string"),
},
CdnProvider: pulumi.String("string"),
CrossSiteAccessPolicy: &media.StreamingEndpointCrossSiteAccessPolicyArgs{
ClientAccessPolicy: pulumi.String("string"),
CrossDomainPolicy: pulumi.String("string"),
},
AccessControl: &media.StreamingEndpointAccessControlArgs{
AkamaiSignatureHeaderAuthenticationKeys: media.StreamingEndpointAccessControlAkamaiSignatureHeaderAuthenticationKeyArray{
&media.StreamingEndpointAccessControlAkamaiSignatureHeaderAuthenticationKeyArgs{
Base64Key: pulumi.String("string"),
Expiration: pulumi.String("string"),
Identifier: pulumi.String("string"),
},
},
IpAllows: media.StreamingEndpointAccessControlIpAllowArray{
&media.StreamingEndpointAccessControlIpAllowArgs{
Address: pulumi.String("string"),
Name: pulumi.String("string"),
SubnetPrefixLength: pulumi.Int(0),
},
},
},
Description: pulumi.String("string"),
Location: pulumi.String("string"),
MaxCacheAgeSeconds: pulumi.Int(0),
CdnProfile: pulumi.String("string"),
Name: pulumi.String("string"),
CdnEnabled: pulumi.Bool(false),
AutoStartEnabled: pulumi.Bool(false),
Tags: pulumi.StringMap{
"string": pulumi.String("string"),
},
})
var streamingEndpointResource = new StreamingEndpoint("streamingEndpointResource", StreamingEndpointArgs.builder()
.mediaServicesAccountName("string")
.scaleUnits(0)
.resourceGroupName("string")
.customHostNames("string")
.cdnProvider("string")
.crossSiteAccessPolicy(StreamingEndpointCrossSiteAccessPolicyArgs.builder()
.clientAccessPolicy("string")
.crossDomainPolicy("string")
.build())
.accessControl(StreamingEndpointAccessControlArgs.builder()
.akamaiSignatureHeaderAuthenticationKeys(StreamingEndpointAccessControlAkamaiSignatureHeaderAuthenticationKeyArgs.builder()
.base64Key("string")
.expiration("string")
.identifier("string")
.build())
.ipAllows(StreamingEndpointAccessControlIpAllowArgs.builder()
.address("string")
.name("string")
.subnetPrefixLength(0)
.build())
.build())
.description("string")
.location("string")
.maxCacheAgeSeconds(0)
.cdnProfile("string")
.name("string")
.cdnEnabled(false)
.autoStartEnabled(false)
.tags(Map.of("string", "string"))
.build());
streaming_endpoint_resource = azure.media.StreamingEndpoint("streamingEndpointResource",
media_services_account_name="string",
scale_units=0,
resource_group_name="string",
custom_host_names=["string"],
cdn_provider="string",
cross_site_access_policy=azure.media.StreamingEndpointCrossSiteAccessPolicyArgs(
client_access_policy="string",
cross_domain_policy="string",
),
access_control=azure.media.StreamingEndpointAccessControlArgs(
akamai_signature_header_authentication_keys=[azure.media.StreamingEndpointAccessControlAkamaiSignatureHeaderAuthenticationKeyArgs(
base64_key="string",
expiration="string",
identifier="string",
)],
ip_allows=[azure.media.StreamingEndpointAccessControlIpAllowArgs(
address="string",
name="string",
subnet_prefix_length=0,
)],
),
description="string",
location="string",
max_cache_age_seconds=0,
cdn_profile="string",
name="string",
cdn_enabled=False,
auto_start_enabled=False,
tags={
"string": "string",
})
const streamingEndpointResource = new azure.media.StreamingEndpoint("streamingEndpointResource", {
mediaServicesAccountName: "string",
scaleUnits: 0,
resourceGroupName: "string",
customHostNames: ["string"],
cdnProvider: "string",
crossSiteAccessPolicy: {
clientAccessPolicy: "string",
crossDomainPolicy: "string",
},
accessControl: {
akamaiSignatureHeaderAuthenticationKeys: [{
base64Key: "string",
expiration: "string",
identifier: "string",
}],
ipAllows: [{
address: "string",
name: "string",
subnetPrefixLength: 0,
}],
},
description: "string",
location: "string",
maxCacheAgeSeconds: 0,
cdnProfile: "string",
name: "string",
cdnEnabled: false,
autoStartEnabled: false,
tags: {
string: "string",
},
});
type: azure:media:StreamingEndpoint
properties:
accessControl:
akamaiSignatureHeaderAuthenticationKeys:
- base64Key: string
expiration: string
identifier: string
ipAllows:
- address: string
name: string
subnetPrefixLength: 0
autoStartEnabled: false
cdnEnabled: false
cdnProfile: string
cdnProvider: string
crossSiteAccessPolicy:
clientAccessPolicy: string
crossDomainPolicy: string
customHostNames:
- string
description: string
location: string
maxCacheAgeSeconds: 0
mediaServicesAccountName: string
name: string
resourceGroupName: string
scaleUnits: 0
tags:
string: string
StreamingEndpoint Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
The StreamingEndpoint resource accepts the following input properties:
- Media
Services stringAccount Name - The Media Services account name. Changing this forces a new Streaming Endpoint to be created.
- Resource
Group stringName - The name of the Resource Group where the Streaming Endpoint should exist. Changing this forces a new Streaming Endpoint to be created.
- Scale
Units int - The number of scale units. To create a Standard Streaming Endpoint set
0
. For Premium Streaming Endpoint valid values are between1
and10
. - Access
Control StreamingEndpoint Access Control - A
access_control
block as defined below. - Auto
Start boolEnabled - The flag indicates if the resource should be automatically started on creation.
- Cdn
Enabled bool - The CDN enabled flag.
- Cdn
Profile string - The CDN profile name.
- Cdn
Provider string - The CDN provider name. Supported value are
StandardVerizon
,PremiumVerizon
andStandardAkamai
- Cross
Site StreamingAccess Policy Endpoint Cross Site Access Policy - A
cross_site_access_policy
block as defined below. - Custom
Host List<string>Names - The custom host names of the streaming endpoint.
- Description string
- The streaming endpoint description.
- Location string
- The Azure Region where the Streaming Endpoint should exist. Changing this forces a new Streaming Endpoint to be created.
- Max
Cache intAge Seconds - Max cache age in seconds.
- Name string
- The name which should be used for this Streaming Endpoint maximum length is
24
. Changing this forces a new Streaming Endpoint to be created. - Dictionary<string, string>
- A mapping of tags which should be assigned to the Streaming Endpoint.
- Media
Services stringAccount Name - The Media Services account name. Changing this forces a new Streaming Endpoint to be created.
- Resource
Group stringName - The name of the Resource Group where the Streaming Endpoint should exist. Changing this forces a new Streaming Endpoint to be created.
- Scale
Units int - The number of scale units. To create a Standard Streaming Endpoint set
0
. For Premium Streaming Endpoint valid values are between1
and10
. - Access
Control StreamingEndpoint Access Control Args - A
access_control
block as defined below. - Auto
Start boolEnabled - The flag indicates if the resource should be automatically started on creation.
- Cdn
Enabled bool - The CDN enabled flag.
- Cdn
Profile string - The CDN profile name.
- Cdn
Provider string - The CDN provider name. Supported value are
StandardVerizon
,PremiumVerizon
andStandardAkamai
- Cross
Site StreamingAccess Policy Endpoint Cross Site Access Policy Args - A
cross_site_access_policy
block as defined below. - Custom
Host []stringNames - The custom host names of the streaming endpoint.
- Description string
- The streaming endpoint description.
- Location string
- The Azure Region where the Streaming Endpoint should exist. Changing this forces a new Streaming Endpoint to be created.
- Max
Cache intAge Seconds - Max cache age in seconds.
- Name string
- The name which should be used for this Streaming Endpoint maximum length is
24
. Changing this forces a new Streaming Endpoint to be created. - map[string]string
- A mapping of tags which should be assigned to the Streaming Endpoint.
- media
Services StringAccount Name - The Media Services account name. Changing this forces a new Streaming Endpoint to be created.
- resource
Group StringName - The name of the Resource Group where the Streaming Endpoint should exist. Changing this forces a new Streaming Endpoint to be created.
- scale
Units Integer - The number of scale units. To create a Standard Streaming Endpoint set
0
. For Premium Streaming Endpoint valid values are between1
and10
. - access
Control StreamingEndpoint Access Control - A
access_control
block as defined below. - auto
Start BooleanEnabled - The flag indicates if the resource should be automatically started on creation.
- cdn
Enabled Boolean - The CDN enabled flag.
- cdn
Profile String - The CDN profile name.
- cdn
Provider String - The CDN provider name. Supported value are
StandardVerizon
,PremiumVerizon
andStandardAkamai
- cross
Site StreamingAccess Policy Endpoint Cross Site Access Policy - A
cross_site_access_policy
block as defined below. - custom
Host List<String>Names - The custom host names of the streaming endpoint.
- description String
- The streaming endpoint description.
- location String
- The Azure Region where the Streaming Endpoint should exist. Changing this forces a new Streaming Endpoint to be created.
- max
Cache IntegerAge Seconds - Max cache age in seconds.
- name String
- The name which should be used for this Streaming Endpoint maximum length is
24
. Changing this forces a new Streaming Endpoint to be created. - Map<String,String>
- A mapping of tags which should be assigned to the Streaming Endpoint.
- media
Services stringAccount Name - The Media Services account name. Changing this forces a new Streaming Endpoint to be created.
- resource
Group stringName - The name of the Resource Group where the Streaming Endpoint should exist. Changing this forces a new Streaming Endpoint to be created.
- scale
Units number - The number of scale units. To create a Standard Streaming Endpoint set
0
. For Premium Streaming Endpoint valid values are between1
and10
. - access
Control StreamingEndpoint Access Control - A
access_control
block as defined below. - auto
Start booleanEnabled - The flag indicates if the resource should be automatically started on creation.
- cdn
Enabled boolean - The CDN enabled flag.
- cdn
Profile string - The CDN profile name.
- cdn
Provider string - The CDN provider name. Supported value are
StandardVerizon
,PremiumVerizon
andStandardAkamai
- cross
Site StreamingAccess Policy Endpoint Cross Site Access Policy - A
cross_site_access_policy
block as defined below. - custom
Host string[]Names - The custom host names of the streaming endpoint.
- description string
- The streaming endpoint description.
- location string
- The Azure Region where the Streaming Endpoint should exist. Changing this forces a new Streaming Endpoint to be created.
- max
Cache numberAge Seconds - Max cache age in seconds.
- name string
- The name which should be used for this Streaming Endpoint maximum length is
24
. Changing this forces a new Streaming Endpoint to be created. - {[key: string]: string}
- A mapping of tags which should be assigned to the Streaming Endpoint.
- media_
services_ straccount_ name - The Media Services account name. Changing this forces a new Streaming Endpoint to be created.
- resource_
group_ strname - The name of the Resource Group where the Streaming Endpoint should exist. Changing this forces a new Streaming Endpoint to be created.
- scale_
units int - The number of scale units. To create a Standard Streaming Endpoint set
0
. For Premium Streaming Endpoint valid values are between1
and10
. - access_
control StreamingEndpoint Access Control Args - A
access_control
block as defined below. - auto_
start_ boolenabled - The flag indicates if the resource should be automatically started on creation.
- cdn_
enabled bool - The CDN enabled flag.
- cdn_
profile str - The CDN profile name.
- cdn_
provider str - The CDN provider name. Supported value are
StandardVerizon
,PremiumVerizon
andStandardAkamai
- cross_
site_ Streamingaccess_ policy Endpoint Cross Site Access Policy Args - A
cross_site_access_policy
block as defined below. - custom_
host_ Sequence[str]names - The custom host names of the streaming endpoint.
- description str
- The streaming endpoint description.
- location str
- The Azure Region where the Streaming Endpoint should exist. Changing this forces a new Streaming Endpoint to be created.
- max_
cache_ intage_ seconds - Max cache age in seconds.
- name str
- The name which should be used for this Streaming Endpoint maximum length is
24
. Changing this forces a new Streaming Endpoint to be created. - Mapping[str, str]
- A mapping of tags which should be assigned to the Streaming Endpoint.
- media
Services StringAccount Name - The Media Services account name. Changing this forces a new Streaming Endpoint to be created.
- resource
Group StringName - The name of the Resource Group where the Streaming Endpoint should exist. Changing this forces a new Streaming Endpoint to be created.
- scale
Units Number - The number of scale units. To create a Standard Streaming Endpoint set
0
. For Premium Streaming Endpoint valid values are between1
and10
. - access
Control Property Map - A
access_control
block as defined below. - auto
Start BooleanEnabled - The flag indicates if the resource should be automatically started on creation.
- cdn
Enabled Boolean - The CDN enabled flag.
- cdn
Profile String - The CDN profile name.
- cdn
Provider String - The CDN provider name. Supported value are
StandardVerizon
,PremiumVerizon
andStandardAkamai
- cross
Site Property MapAccess Policy - A
cross_site_access_policy
block as defined below. - custom
Host List<String>Names - The custom host names of the streaming endpoint.
- description String
- The streaming endpoint description.
- location String
- The Azure Region where the Streaming Endpoint should exist. Changing this forces a new Streaming Endpoint to be created.
- max
Cache NumberAge Seconds - Max cache age in seconds.
- name String
- The name which should be used for this Streaming Endpoint maximum length is
24
. Changing this forces a new Streaming Endpoint to be created. - Map<String>
- A mapping of tags which should be assigned to the Streaming Endpoint.
Outputs
All input properties are implicitly available as output properties. Additionally, the StreamingEndpoint resource produces the following output properties:
- Host
Name string - The host name of the Streaming Endpoint.
- Id string
- The provider-assigned unique ID for this managed resource.
- Skus
List<Streaming
Endpoint Skus> - A
sku
block defined as below.
- Host
Name string - The host name of the Streaming Endpoint.
- Id string
- The provider-assigned unique ID for this managed resource.
- Skus
[]Streaming
Endpoint Skus - A
sku
block defined as below.
- host
Name String - The host name of the Streaming Endpoint.
- id String
- The provider-assigned unique ID for this managed resource.
- skus
List<Streaming
Endpoint Skus> - A
sku
block defined as below.
- host
Name string - The host name of the Streaming Endpoint.
- id string
- The provider-assigned unique ID for this managed resource.
- skus
Streaming
Endpoint Skus[] - A
sku
block defined as below.
- host_
name str - The host name of the Streaming Endpoint.
- id str
- The provider-assigned unique ID for this managed resource.
- skus
Sequence[Streaming
Endpoint Skus] - A
sku
block defined as below.
- host
Name String - The host name of the Streaming Endpoint.
- id String
- The provider-assigned unique ID for this managed resource.
- skus List<Property Map>
- A
sku
block defined as below.
Look up Existing StreamingEndpoint Resource
Get an existing StreamingEndpoint resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: StreamingEndpointState, opts?: CustomResourceOptions): StreamingEndpoint
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
access_control: Optional[StreamingEndpointAccessControlArgs] = None,
auto_start_enabled: Optional[bool] = None,
cdn_enabled: Optional[bool] = None,
cdn_profile: Optional[str] = None,
cdn_provider: Optional[str] = None,
cross_site_access_policy: Optional[StreamingEndpointCrossSiteAccessPolicyArgs] = None,
custom_host_names: Optional[Sequence[str]] = None,
description: Optional[str] = None,
host_name: Optional[str] = None,
location: Optional[str] = None,
max_cache_age_seconds: Optional[int] = None,
media_services_account_name: Optional[str] = None,
name: Optional[str] = None,
resource_group_name: Optional[str] = None,
scale_units: Optional[int] = None,
skus: Optional[Sequence[StreamingEndpointSkusArgs]] = None,
tags: Optional[Mapping[str, str]] = None) -> StreamingEndpoint
func GetStreamingEndpoint(ctx *Context, name string, id IDInput, state *StreamingEndpointState, opts ...ResourceOption) (*StreamingEndpoint, error)
public static StreamingEndpoint Get(string name, Input<string> id, StreamingEndpointState? state, CustomResourceOptions? opts = null)
public static StreamingEndpoint get(String name, Output<String> id, StreamingEndpointState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Access
Control StreamingEndpoint Access Control - A
access_control
block as defined below. - Auto
Start boolEnabled - The flag indicates if the resource should be automatically started on creation.
- Cdn
Enabled bool - The CDN enabled flag.
- Cdn
Profile string - The CDN profile name.
- Cdn
Provider string - The CDN provider name. Supported value are
StandardVerizon
,PremiumVerizon
andStandardAkamai
- Cross
Site StreamingAccess Policy Endpoint Cross Site Access Policy - A
cross_site_access_policy
block as defined below. - Custom
Host List<string>Names - The custom host names of the streaming endpoint.
- Description string
- The streaming endpoint description.
- Host
Name string - The host name of the Streaming Endpoint.
- Location string
- The Azure Region where the Streaming Endpoint should exist. Changing this forces a new Streaming Endpoint to be created.
- Max
Cache intAge Seconds - Max cache age in seconds.
- Media
Services stringAccount Name - The Media Services account name. Changing this forces a new Streaming Endpoint to be created.
- Name string
- The name which should be used for this Streaming Endpoint maximum length is
24
. Changing this forces a new Streaming Endpoint to be created. - Resource
Group stringName - The name of the Resource Group where the Streaming Endpoint should exist. Changing this forces a new Streaming Endpoint to be created.
- Scale
Units int - The number of scale units. To create a Standard Streaming Endpoint set
0
. For Premium Streaming Endpoint valid values are between1
and10
. - Skus
List<Streaming
Endpoint Skus> - A
sku
block defined as below. - Dictionary<string, string>
- A mapping of tags which should be assigned to the Streaming Endpoint.
- Access
Control StreamingEndpoint Access Control Args - A
access_control
block as defined below. - Auto
Start boolEnabled - The flag indicates if the resource should be automatically started on creation.
- Cdn
Enabled bool - The CDN enabled flag.
- Cdn
Profile string - The CDN profile name.
- Cdn
Provider string - The CDN provider name. Supported value are
StandardVerizon
,PremiumVerizon
andStandardAkamai
- Cross
Site StreamingAccess Policy Endpoint Cross Site Access Policy Args - A
cross_site_access_policy
block as defined below. - Custom
Host []stringNames - The custom host names of the streaming endpoint.
- Description string
- The streaming endpoint description.
- Host
Name string - The host name of the Streaming Endpoint.
- Location string
- The Azure Region where the Streaming Endpoint should exist. Changing this forces a new Streaming Endpoint to be created.
- Max
Cache intAge Seconds - Max cache age in seconds.
- Media
Services stringAccount Name - The Media Services account name. Changing this forces a new Streaming Endpoint to be created.
- Name string
- The name which should be used for this Streaming Endpoint maximum length is
24
. Changing this forces a new Streaming Endpoint to be created. - Resource
Group stringName - The name of the Resource Group where the Streaming Endpoint should exist. Changing this forces a new Streaming Endpoint to be created.
- Scale
Units int - The number of scale units. To create a Standard Streaming Endpoint set
0
. For Premium Streaming Endpoint valid values are between1
and10
. - Skus
[]Streaming
Endpoint Skus Args - A
sku
block defined as below. - map[string]string
- A mapping of tags which should be assigned to the Streaming Endpoint.
- access
Control StreamingEndpoint Access Control - A
access_control
block as defined below. - auto
Start BooleanEnabled - The flag indicates if the resource should be automatically started on creation.
- cdn
Enabled Boolean - The CDN enabled flag.
- cdn
Profile String - The CDN profile name.
- cdn
Provider String - The CDN provider name. Supported value are
StandardVerizon
,PremiumVerizon
andStandardAkamai
- cross
Site StreamingAccess Policy Endpoint Cross Site Access Policy - A
cross_site_access_policy
block as defined below. - custom
Host List<String>Names - The custom host names of the streaming endpoint.
- description String
- The streaming endpoint description.
- host
Name String - The host name of the Streaming Endpoint.
- location String
- The Azure Region where the Streaming Endpoint should exist. Changing this forces a new Streaming Endpoint to be created.
- max
Cache IntegerAge Seconds - Max cache age in seconds.
- media
Services StringAccount Name - The Media Services account name. Changing this forces a new Streaming Endpoint to be created.
- name String
- The name which should be used for this Streaming Endpoint maximum length is
24
. Changing this forces a new Streaming Endpoint to be created. - resource
Group StringName - The name of the Resource Group where the Streaming Endpoint should exist. Changing this forces a new Streaming Endpoint to be created.
- scale
Units Integer - The number of scale units. To create a Standard Streaming Endpoint set
0
. For Premium Streaming Endpoint valid values are between1
and10
. - skus
List<Streaming
Endpoint Skus> - A
sku
block defined as below. - Map<String,String>
- A mapping of tags which should be assigned to the Streaming Endpoint.
- access
Control StreamingEndpoint Access Control - A
access_control
block as defined below. - auto
Start booleanEnabled - The flag indicates if the resource should be automatically started on creation.
- cdn
Enabled boolean - The CDN enabled flag.
- cdn
Profile string - The CDN profile name.
- cdn
Provider string - The CDN provider name. Supported value are
StandardVerizon
,PremiumVerizon
andStandardAkamai
- cross
Site StreamingAccess Policy Endpoint Cross Site Access Policy - A
cross_site_access_policy
block as defined below. - custom
Host string[]Names - The custom host names of the streaming endpoint.
- description string
- The streaming endpoint description.
- host
Name string - The host name of the Streaming Endpoint.
- location string
- The Azure Region where the Streaming Endpoint should exist. Changing this forces a new Streaming Endpoint to be created.
- max
Cache numberAge Seconds - Max cache age in seconds.
- media
Services stringAccount Name - The Media Services account name. Changing this forces a new Streaming Endpoint to be created.
- name string
- The name which should be used for this Streaming Endpoint maximum length is
24
. Changing this forces a new Streaming Endpoint to be created. - resource
Group stringName - The name of the Resource Group where the Streaming Endpoint should exist. Changing this forces a new Streaming Endpoint to be created.
- scale
Units number - The number of scale units. To create a Standard Streaming Endpoint set
0
. For Premium Streaming Endpoint valid values are between1
and10
. - skus
Streaming
Endpoint Skus[] - A
sku
block defined as below. - {[key: string]: string}
- A mapping of tags which should be assigned to the Streaming Endpoint.
- access_
control StreamingEndpoint Access Control Args - A
access_control
block as defined below. - auto_
start_ boolenabled - The flag indicates if the resource should be automatically started on creation.
- cdn_
enabled bool - The CDN enabled flag.
- cdn_
profile str - The CDN profile name.
- cdn_
provider str - The CDN provider name. Supported value are
StandardVerizon
,PremiumVerizon
andStandardAkamai
- cross_
site_ Streamingaccess_ policy Endpoint Cross Site Access Policy Args - A
cross_site_access_policy
block as defined below. - custom_
host_ Sequence[str]names - The custom host names of the streaming endpoint.
- description str
- The streaming endpoint description.
- host_
name str - The host name of the Streaming Endpoint.
- location str
- The Azure Region where the Streaming Endpoint should exist. Changing this forces a new Streaming Endpoint to be created.
- max_
cache_ intage_ seconds - Max cache age in seconds.
- media_
services_ straccount_ name - The Media Services account name. Changing this forces a new Streaming Endpoint to be created.
- name str
- The name which should be used for this Streaming Endpoint maximum length is
24
. Changing this forces a new Streaming Endpoint to be created. - resource_
group_ strname - The name of the Resource Group where the Streaming Endpoint should exist. Changing this forces a new Streaming Endpoint to be created.
- scale_
units int - The number of scale units. To create a Standard Streaming Endpoint set
0
. For Premium Streaming Endpoint valid values are between1
and10
. - skus
Sequence[Streaming
Endpoint Skus Args] - A
sku
block defined as below. - Mapping[str, str]
- A mapping of tags which should be assigned to the Streaming Endpoint.
- access
Control Property Map - A
access_control
block as defined below. - auto
Start BooleanEnabled - The flag indicates if the resource should be automatically started on creation.
- cdn
Enabled Boolean - The CDN enabled flag.
- cdn
Profile String - The CDN profile name.
- cdn
Provider String - The CDN provider name. Supported value are
StandardVerizon
,PremiumVerizon
andStandardAkamai
- cross
Site Property MapAccess Policy - A
cross_site_access_policy
block as defined below. - custom
Host List<String>Names - The custom host names of the streaming endpoint.
- description String
- The streaming endpoint description.
- host
Name String - The host name of the Streaming Endpoint.
- location String
- The Azure Region where the Streaming Endpoint should exist. Changing this forces a new Streaming Endpoint to be created.
- max
Cache NumberAge Seconds - Max cache age in seconds.
- media
Services StringAccount Name - The Media Services account name. Changing this forces a new Streaming Endpoint to be created.
- name String
- The name which should be used for this Streaming Endpoint maximum length is
24
. Changing this forces a new Streaming Endpoint to be created. - resource
Group StringName - The name of the Resource Group where the Streaming Endpoint should exist. Changing this forces a new Streaming Endpoint to be created.
- scale
Units Number - The number of scale units. To create a Standard Streaming Endpoint set
0
. For Premium Streaming Endpoint valid values are between1
and10
. - skus List<Property Map>
- A
sku
block defined as below. - Map<String>
- A mapping of tags which should be assigned to the Streaming Endpoint.
Supporting Types
StreamingEndpointAccessControl, StreamingEndpointAccessControlArgs
- Akamai
Signature List<StreamingHeader Authentication Keys Endpoint Access Control Akamai Signature Header Authentication Key> - One or more
akamai_signature_header_authentication_key
blocks as defined below. - Ip
Allows List<StreamingEndpoint Access Control Ip Allow> - A
ip_allow
block as defined below.
- Akamai
Signature []StreamingHeader Authentication Keys Endpoint Access Control Akamai Signature Header Authentication Key - One or more
akamai_signature_header_authentication_key
blocks as defined below. - Ip
Allows []StreamingEndpoint Access Control Ip Allow - A
ip_allow
block as defined below.
- akamai
Signature List<StreamingHeader Authentication Keys Endpoint Access Control Akamai Signature Header Authentication Key> - One or more
akamai_signature_header_authentication_key
blocks as defined below. - ip
Allows List<StreamingEndpoint Access Control Ip Allow> - A
ip_allow
block as defined below.
- akamai
Signature StreamingHeader Authentication Keys Endpoint Access Control Akamai Signature Header Authentication Key[] - One or more
akamai_signature_header_authentication_key
blocks as defined below. - ip
Allows StreamingEndpoint Access Control Ip Allow[] - A
ip_allow
block as defined below.
- akamai_
signature_ Sequence[Streamingheader_ authentication_ keys Endpoint Access Control Akamai Signature Header Authentication Key] - One or more
akamai_signature_header_authentication_key
blocks as defined below. - ip_
allows Sequence[StreamingEndpoint Access Control Ip Allow] - A
ip_allow
block as defined below.
- akamai
Signature List<Property Map>Header Authentication Keys - One or more
akamai_signature_header_authentication_key
blocks as defined below. - ip
Allows List<Property Map> - A
ip_allow
block as defined below.
StreamingEndpointAccessControlAkamaiSignatureHeaderAuthenticationKey, StreamingEndpointAccessControlAkamaiSignatureHeaderAuthenticationKeyArgs
- Base64Key string
- Authentication key.
- Expiration string
- The expiration time of the authentication key.
- Identifier string
- Identifier of the key.
- Base64Key string
- Authentication key.
- Expiration string
- The expiration time of the authentication key.
- Identifier string
- Identifier of the key.
- base64Key String
- Authentication key.
- expiration String
- The expiration time of the authentication key.
- identifier String
- Identifier of the key.
- base64Key string
- Authentication key.
- expiration string
- The expiration time of the authentication key.
- identifier string
- Identifier of the key.
- base64_
key str - Authentication key.
- expiration str
- The expiration time of the authentication key.
- identifier str
- Identifier of the key.
- base64Key String
- Authentication key.
- expiration String
- The expiration time of the authentication key.
- identifier String
- Identifier of the key.
StreamingEndpointAccessControlIpAllow, StreamingEndpointAccessControlIpAllowArgs
- Address string
- The IP address to allow.
- Name string
- The friendly name for the IP address range.
- Subnet
Prefix intLength - The subnet mask prefix length (see CIDR notation).
- Address string
- The IP address to allow.
- Name string
- The friendly name for the IP address range.
- Subnet
Prefix intLength - The subnet mask prefix length (see CIDR notation).
- address String
- The IP address to allow.
- name String
- The friendly name for the IP address range.
- subnet
Prefix IntegerLength - The subnet mask prefix length (see CIDR notation).
- address string
- The IP address to allow.
- name string
- The friendly name for the IP address range.
- subnet
Prefix numberLength - The subnet mask prefix length (see CIDR notation).
- address str
- The IP address to allow.
- name str
- The friendly name for the IP address range.
- subnet_
prefix_ intlength - The subnet mask prefix length (see CIDR notation).
- address String
- The IP address to allow.
- name String
- The friendly name for the IP address range.
- subnet
Prefix NumberLength - The subnet mask prefix length (see CIDR notation).
StreamingEndpointCrossSiteAccessPolicy, StreamingEndpointCrossSiteAccessPolicyArgs
- Client
Access stringPolicy - The content of
clientaccesspolicy.xml
used by Silverlight. - Cross
Domain stringPolicy - The content of
crossdomain.xml
used by Silverlight.
- Client
Access stringPolicy - The content of
clientaccesspolicy.xml
used by Silverlight. - Cross
Domain stringPolicy - The content of
crossdomain.xml
used by Silverlight.
- client
Access StringPolicy - The content of
clientaccesspolicy.xml
used by Silverlight. - cross
Domain StringPolicy - The content of
crossdomain.xml
used by Silverlight.
- client
Access stringPolicy - The content of
clientaccesspolicy.xml
used by Silverlight. - cross
Domain stringPolicy - The content of
crossdomain.xml
used by Silverlight.
- client_
access_ strpolicy - The content of
clientaccesspolicy.xml
used by Silverlight. - cross_
domain_ strpolicy - The content of
crossdomain.xml
used by Silverlight.
- client
Access StringPolicy - The content of
clientaccesspolicy.xml
used by Silverlight. - cross
Domain StringPolicy - The content of
crossdomain.xml
used by Silverlight.
StreamingEndpointSkus, StreamingEndpointSkusArgs
Import
Streaming Endpoints can be imported using the resource id
, e.g.
$ pulumi import azure:media/streamingEndpoint:StreamingEndpoint example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.Media/mediaServices/service1/streamingEndpoints/endpoint1
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Azure Classic pulumi/pulumi-azure
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
azurerm
Terraform Provider.