1. Packages
  2. Azure Classic
  3. API Docs
  4. media
  5. StreamingEndpoint

We recommend using Azure Native.

Azure Classic v5.81.0 published on Monday, Jun 24, 2024 by Pulumi

azure.media.StreamingEndpoint

Explore with Pulumi AI

azure logo

We recommend using Azure Native.

Azure Classic v5.81.0 published on Monday, Jun 24, 2024 by Pulumi

    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:

    MediaServicesAccountName string
    The Media Services account name. Changing this forces a new Streaming Endpoint to be created.
    ResourceGroupName string
    The name of the Resource Group where the Streaming Endpoint should exist. Changing this forces a new Streaming Endpoint to be created.
    ScaleUnits int
    The number of scale units. To create a Standard Streaming Endpoint set 0. For Premium Streaming Endpoint valid values are between 1 and 10.
    AccessControl StreamingEndpointAccessControl
    A access_control block as defined below.
    AutoStartEnabled bool
    The flag indicates if the resource should be automatically started on creation.
    CdnEnabled bool
    The CDN enabled flag.
    CdnProfile string
    The CDN profile name.
    CdnProvider string
    The CDN provider name. Supported value are StandardVerizon,PremiumVerizon and StandardAkamai
    CrossSiteAccessPolicy StreamingEndpointCrossSiteAccessPolicy
    A cross_site_access_policy block as defined below.
    CustomHostNames List<string>
    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.
    MaxCacheAgeSeconds int
    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.
    Tags Dictionary<string, string>
    A mapping of tags which should be assigned to the Streaming Endpoint.
    MediaServicesAccountName string
    The Media Services account name. Changing this forces a new Streaming Endpoint to be created.
    ResourceGroupName string
    The name of the Resource Group where the Streaming Endpoint should exist. Changing this forces a new Streaming Endpoint to be created.
    ScaleUnits int
    The number of scale units. To create a Standard Streaming Endpoint set 0. For Premium Streaming Endpoint valid values are between 1 and 10.
    AccessControl StreamingEndpointAccessControlArgs
    A access_control block as defined below.
    AutoStartEnabled bool
    The flag indicates if the resource should be automatically started on creation.
    CdnEnabled bool
    The CDN enabled flag.
    CdnProfile string
    The CDN profile name.
    CdnProvider string
    The CDN provider name. Supported value are StandardVerizon,PremiumVerizon and StandardAkamai
    CrossSiteAccessPolicy StreamingEndpointCrossSiteAccessPolicyArgs
    A cross_site_access_policy block as defined below.
    CustomHostNames []string
    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.
    MaxCacheAgeSeconds int
    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.
    Tags map[string]string
    A mapping of tags which should be assigned to the Streaming Endpoint.
    mediaServicesAccountName String
    The Media Services account name. Changing this forces a new Streaming Endpoint to be created.
    resourceGroupName String
    The name of the Resource Group where the Streaming Endpoint should exist. Changing this forces a new Streaming Endpoint to be created.
    scaleUnits Integer
    The number of scale units. To create a Standard Streaming Endpoint set 0. For Premium Streaming Endpoint valid values are between 1 and 10.
    accessControl StreamingEndpointAccessControl
    A access_control block as defined below.
    autoStartEnabled Boolean
    The flag indicates if the resource should be automatically started on creation.
    cdnEnabled Boolean
    The CDN enabled flag.
    cdnProfile String
    The CDN profile name.
    cdnProvider String
    The CDN provider name. Supported value are StandardVerizon,PremiumVerizon and StandardAkamai
    crossSiteAccessPolicy StreamingEndpointCrossSiteAccessPolicy
    A cross_site_access_policy block as defined below.
    customHostNames List<String>
    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.
    maxCacheAgeSeconds Integer
    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.
    tags Map<String,String>
    A mapping of tags which should be assigned to the Streaming Endpoint.
    mediaServicesAccountName string
    The Media Services account name. Changing this forces a new Streaming Endpoint to be created.
    resourceGroupName string
    The name of the Resource Group where the Streaming Endpoint should exist. Changing this forces a new Streaming Endpoint to be created.
    scaleUnits number
    The number of scale units. To create a Standard Streaming Endpoint set 0. For Premium Streaming Endpoint valid values are between 1 and 10.
    accessControl StreamingEndpointAccessControl
    A access_control block as defined below.
    autoStartEnabled boolean
    The flag indicates if the resource should be automatically started on creation.
    cdnEnabled boolean
    The CDN enabled flag.
    cdnProfile string
    The CDN profile name.
    cdnProvider string
    The CDN provider name. Supported value are StandardVerizon,PremiumVerizon and StandardAkamai
    crossSiteAccessPolicy StreamingEndpointCrossSiteAccessPolicy
    A cross_site_access_policy block as defined below.
    customHostNames string[]
    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.
    maxCacheAgeSeconds number
    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.
    tags {[key: string]: string}
    A mapping of tags which should be assigned to the Streaming Endpoint.
    media_services_account_name str
    The Media Services account name. Changing this forces a new Streaming Endpoint to be created.
    resource_group_name str
    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 between 1 and 10.
    access_control StreamingEndpointAccessControlArgs
    A access_control block as defined below.
    auto_start_enabled bool
    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 and StandardAkamai
    cross_site_access_policy StreamingEndpointCrossSiteAccessPolicyArgs
    A cross_site_access_policy block as defined below.
    custom_host_names Sequence[str]
    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_age_seconds int
    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.
    tags Mapping[str, str]
    A mapping of tags which should be assigned to the Streaming Endpoint.
    mediaServicesAccountName String
    The Media Services account name. Changing this forces a new Streaming Endpoint to be created.
    resourceGroupName String
    The name of the Resource Group where the Streaming Endpoint should exist. Changing this forces a new Streaming Endpoint to be created.
    scaleUnits Number
    The number of scale units. To create a Standard Streaming Endpoint set 0. For Premium Streaming Endpoint valid values are between 1 and 10.
    accessControl Property Map
    A access_control block as defined below.
    autoStartEnabled Boolean
    The flag indicates if the resource should be automatically started on creation.
    cdnEnabled Boolean
    The CDN enabled flag.
    cdnProfile String
    The CDN profile name.
    cdnProvider String
    The CDN provider name. Supported value are StandardVerizon,PremiumVerizon and StandardAkamai
    crossSiteAccessPolicy Property Map
    A cross_site_access_policy block as defined below.
    customHostNames List<String>
    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.
    maxCacheAgeSeconds Number
    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.
    tags 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:

    HostName string
    The host name of the Streaming Endpoint.
    Id string
    The provider-assigned unique ID for this managed resource.
    Skus List<StreamingEndpointSkus>
    A sku block defined as below.
    HostName string
    The host name of the Streaming Endpoint.
    Id string
    The provider-assigned unique ID for this managed resource.
    Skus []StreamingEndpointSkus
    A sku block defined as below.
    hostName String
    The host name of the Streaming Endpoint.
    id String
    The provider-assigned unique ID for this managed resource.
    skus List<StreamingEndpointSkus>
    A sku block defined as below.
    hostName string
    The host name of the Streaming Endpoint.
    id string
    The provider-assigned unique ID for this managed resource.
    skus StreamingEndpointSkus[]
    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[StreamingEndpointSkus]
    A sku block defined as below.
    hostName 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.
    The following state arguments are supported:
    AccessControl StreamingEndpointAccessControl
    A access_control block as defined below.
    AutoStartEnabled bool
    The flag indicates if the resource should be automatically started on creation.
    CdnEnabled bool
    The CDN enabled flag.
    CdnProfile string
    The CDN profile name.
    CdnProvider string
    The CDN provider name. Supported value are StandardVerizon,PremiumVerizon and StandardAkamai
    CrossSiteAccessPolicy StreamingEndpointCrossSiteAccessPolicy
    A cross_site_access_policy block as defined below.
    CustomHostNames List<string>
    The custom host names of the streaming endpoint.
    Description string
    The streaming endpoint description.
    HostName 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.
    MaxCacheAgeSeconds int
    Max cache age in seconds.
    MediaServicesAccountName string
    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.
    ResourceGroupName string
    The name of the Resource Group where the Streaming Endpoint should exist. Changing this forces a new Streaming Endpoint to be created.
    ScaleUnits int
    The number of scale units. To create a Standard Streaming Endpoint set 0. For Premium Streaming Endpoint valid values are between 1 and 10.
    Skus List<StreamingEndpointSkus>
    A sku block defined as below.
    Tags Dictionary<string, string>
    A mapping of tags which should be assigned to the Streaming Endpoint.
    AccessControl StreamingEndpointAccessControlArgs
    A access_control block as defined below.
    AutoStartEnabled bool
    The flag indicates if the resource should be automatically started on creation.
    CdnEnabled bool
    The CDN enabled flag.
    CdnProfile string
    The CDN profile name.
    CdnProvider string
    The CDN provider name. Supported value are StandardVerizon,PremiumVerizon and StandardAkamai
    CrossSiteAccessPolicy StreamingEndpointCrossSiteAccessPolicyArgs
    A cross_site_access_policy block as defined below.
    CustomHostNames []string
    The custom host names of the streaming endpoint.
    Description string
    The streaming endpoint description.
    HostName 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.
    MaxCacheAgeSeconds int
    Max cache age in seconds.
    MediaServicesAccountName string
    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.
    ResourceGroupName string
    The name of the Resource Group where the Streaming Endpoint should exist. Changing this forces a new Streaming Endpoint to be created.
    ScaleUnits int
    The number of scale units. To create a Standard Streaming Endpoint set 0. For Premium Streaming Endpoint valid values are between 1 and 10.
    Skus []StreamingEndpointSkusArgs
    A sku block defined as below.
    Tags map[string]string
    A mapping of tags which should be assigned to the Streaming Endpoint.
    accessControl StreamingEndpointAccessControl
    A access_control block as defined below.
    autoStartEnabled Boolean
    The flag indicates if the resource should be automatically started on creation.
    cdnEnabled Boolean
    The CDN enabled flag.
    cdnProfile String
    The CDN profile name.
    cdnProvider String
    The CDN provider name. Supported value are StandardVerizon,PremiumVerizon and StandardAkamai
    crossSiteAccessPolicy StreamingEndpointCrossSiteAccessPolicy
    A cross_site_access_policy block as defined below.
    customHostNames List<String>
    The custom host names of the streaming endpoint.
    description String
    The streaming endpoint description.
    hostName 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.
    maxCacheAgeSeconds Integer
    Max cache age in seconds.
    mediaServicesAccountName String
    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.
    resourceGroupName String
    The name of the Resource Group where the Streaming Endpoint should exist. Changing this forces a new Streaming Endpoint to be created.
    scaleUnits Integer
    The number of scale units. To create a Standard Streaming Endpoint set 0. For Premium Streaming Endpoint valid values are between 1 and 10.
    skus List<StreamingEndpointSkus>
    A sku block defined as below.
    tags Map<String,String>
    A mapping of tags which should be assigned to the Streaming Endpoint.
    accessControl StreamingEndpointAccessControl
    A access_control block as defined below.
    autoStartEnabled boolean
    The flag indicates if the resource should be automatically started on creation.
    cdnEnabled boolean
    The CDN enabled flag.
    cdnProfile string
    The CDN profile name.
    cdnProvider string
    The CDN provider name. Supported value are StandardVerizon,PremiumVerizon and StandardAkamai
    crossSiteAccessPolicy StreamingEndpointCrossSiteAccessPolicy
    A cross_site_access_policy block as defined below.
    customHostNames string[]
    The custom host names of the streaming endpoint.
    description string
    The streaming endpoint description.
    hostName 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.
    maxCacheAgeSeconds number
    Max cache age in seconds.
    mediaServicesAccountName string
    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.
    resourceGroupName string
    The name of the Resource Group where the Streaming Endpoint should exist. Changing this forces a new Streaming Endpoint to be created.
    scaleUnits number
    The number of scale units. To create a Standard Streaming Endpoint set 0. For Premium Streaming Endpoint valid values are between 1 and 10.
    skus StreamingEndpointSkus[]
    A sku block defined as below.
    tags {[key: string]: string}
    A mapping of tags which should be assigned to the Streaming Endpoint.
    access_control StreamingEndpointAccessControlArgs
    A access_control block as defined below.
    auto_start_enabled bool
    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 and StandardAkamai
    cross_site_access_policy StreamingEndpointCrossSiteAccessPolicyArgs
    A cross_site_access_policy block as defined below.
    custom_host_names Sequence[str]
    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_age_seconds int
    Max cache age in seconds.
    media_services_account_name str
    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_name str
    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 between 1 and 10.
    skus Sequence[StreamingEndpointSkusArgs]
    A sku block defined as below.
    tags Mapping[str, str]
    A mapping of tags which should be assigned to the Streaming Endpoint.
    accessControl Property Map
    A access_control block as defined below.
    autoStartEnabled Boolean
    The flag indicates if the resource should be automatically started on creation.
    cdnEnabled Boolean
    The CDN enabled flag.
    cdnProfile String
    The CDN profile name.
    cdnProvider String
    The CDN provider name. Supported value are StandardVerizon,PremiumVerizon and StandardAkamai
    crossSiteAccessPolicy Property Map
    A cross_site_access_policy block as defined below.
    customHostNames List<String>
    The custom host names of the streaming endpoint.
    description String
    The streaming endpoint description.
    hostName 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.
    maxCacheAgeSeconds Number
    Max cache age in seconds.
    mediaServicesAccountName String
    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.
    resourceGroupName String
    The name of the Resource Group where the Streaming Endpoint should exist. Changing this forces a new Streaming Endpoint to be created.
    scaleUnits Number
    The number of scale units. To create a Standard Streaming Endpoint set 0. For Premium Streaming Endpoint valid values are between 1 and 10.
    skus List<Property Map>
    A sku block defined as below.
    tags Map<String>
    A mapping of tags which should be assigned to the Streaming Endpoint.

    Supporting Types

    StreamingEndpointAccessControl, StreamingEndpointAccessControlArgs

    AkamaiSignatureHeaderAuthenticationKeys List<StreamingEndpointAccessControlAkamaiSignatureHeaderAuthenticationKey>
    One or more akamai_signature_header_authentication_key blocks as defined below.
    IpAllows List<StreamingEndpointAccessControlIpAllow>
    A ip_allow block as defined below.
    AkamaiSignatureHeaderAuthenticationKeys []StreamingEndpointAccessControlAkamaiSignatureHeaderAuthenticationKey
    One or more akamai_signature_header_authentication_key blocks as defined below.
    IpAllows []StreamingEndpointAccessControlIpAllow
    A ip_allow block as defined below.
    akamaiSignatureHeaderAuthenticationKeys List<StreamingEndpointAccessControlAkamaiSignatureHeaderAuthenticationKey>
    One or more akamai_signature_header_authentication_key blocks as defined below.
    ipAllows List<StreamingEndpointAccessControlIpAllow>
    A ip_allow block as defined below.
    akamaiSignatureHeaderAuthenticationKeys StreamingEndpointAccessControlAkamaiSignatureHeaderAuthenticationKey[]
    One or more akamai_signature_header_authentication_key blocks as defined below.
    ipAllows StreamingEndpointAccessControlIpAllow[]
    A ip_allow block as defined below.
    akamaiSignatureHeaderAuthenticationKeys List<Property Map>
    One or more akamai_signature_header_authentication_key blocks as defined below.
    ipAllows 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.
    SubnetPrefixLength int
    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.
    SubnetPrefixLength int
    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.
    subnetPrefixLength Integer
    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.
    subnetPrefixLength number
    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_length int
    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.
    subnetPrefixLength Number
    The subnet mask prefix length (see CIDR notation).

    StreamingEndpointCrossSiteAccessPolicy, StreamingEndpointCrossSiteAccessPolicyArgs

    ClientAccessPolicy string
    The content of clientaccesspolicy.xml used by Silverlight.
    CrossDomainPolicy string
    The content of crossdomain.xml used by Silverlight.
    ClientAccessPolicy string
    The content of clientaccesspolicy.xml used by Silverlight.
    CrossDomainPolicy string
    The content of crossdomain.xml used by Silverlight.
    clientAccessPolicy String
    The content of clientaccesspolicy.xml used by Silverlight.
    crossDomainPolicy String
    The content of crossdomain.xml used by Silverlight.
    clientAccessPolicy string
    The content of clientaccesspolicy.xml used by Silverlight.
    crossDomainPolicy string
    The content of crossdomain.xml used by Silverlight.
    client_access_policy str
    The content of clientaccesspolicy.xml used by Silverlight.
    cross_domain_policy str
    The content of crossdomain.xml used by Silverlight.
    clientAccessPolicy String
    The content of clientaccesspolicy.xml used by Silverlight.
    crossDomainPolicy String
    The content of crossdomain.xml used by Silverlight.

    StreamingEndpointSkus, StreamingEndpointSkusArgs

    Capacity int
    The sku capacity of Streaming Endpoint.
    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.
    Capacity int
    The sku capacity of Streaming Endpoint.
    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.
    capacity Integer
    The sku capacity of Streaming Endpoint.
    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.
    capacity number
    The sku capacity of Streaming Endpoint.
    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.
    capacity int
    The sku capacity of Streaming Endpoint.
    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.
    capacity Number
    The sku capacity of Streaming Endpoint.
    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.

    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.
    azure logo

    We recommend using Azure Native.

    Azure Classic v5.81.0 published on Monday, Jun 24, 2024 by Pulumi