media

package
v5.24.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 9, 2022 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Asset

type Asset struct {
	pulumi.CustomResourceState

	// The alternate ID of the Asset.
	AlternateId pulumi.StringPtrOutput `pulumi:"alternateId"`
	// The name of the asset blob container. Changing this forces a new Media Asset to be created.
	Container pulumi.StringOutput `pulumi:"container"`
	// The Asset description.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// Specifies the name of the Media Services Account. Changing this forces a new Media Asset to be created.
	MediaServicesAccountName pulumi.StringOutput `pulumi:"mediaServicesAccountName"`
	// The name which should be used for this Media Asset. Changing this forces a new Media Asset to be created.
	Name pulumi.StringOutput `pulumi:"name"`
	// The name of the Resource Group where the Media Asset should exist. Changing this forces a new Media Asset to be created.
	ResourceGroupName pulumi.StringOutput `pulumi:"resourceGroupName"`
	// The name of the storage account where to store the media asset. Changing this forces a new Media Asset to be created.
	StorageAccountName pulumi.StringOutput `pulumi:"storageAccountName"`
}

Manages a Media Asset.

## Example Usage

```go 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 {
		exampleResourceGroup, err := core.NewResourceGroup(ctx, "exampleResourceGroup", &core.ResourceGroupArgs{
			Location: pulumi.String("West Europe"),
		})
		if err != nil {
			return err
		}
		exampleAccount, err := storage.NewAccount(ctx, "exampleAccount", &storage.AccountArgs{
			ResourceGroupName:      exampleResourceGroup.Name,
			Location:               exampleResourceGroup.Location,
			AccountTier:            pulumi.String("Standard"),
			AccountReplicationType: pulumi.String("GRS"),
		})
		if err != nil {
			return err
		}
		exampleServiceAccount, err := media.NewServiceAccount(ctx, "exampleServiceAccount", &media.ServiceAccountArgs{
			Location:          exampleResourceGroup.Location,
			ResourceGroupName: exampleResourceGroup.Name,
			StorageAccounts: media.ServiceAccountStorageAccountArray{
				&media.ServiceAccountStorageAccountArgs{
					Id:        exampleAccount.ID(),
					IsPrimary: pulumi.Bool(true),
				},
			},
		})
		if err != nil {
			return err
		}
		_, err = media.NewAsset(ctx, "exampleAsset", &media.AssetArgs{
			ResourceGroupName:        exampleResourceGroup.Name,
			MediaServicesAccountName: exampleServiceAccount.Name,
			Description:              pulumi.String("Asset description"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Media Assets can be imported using the `resource id`, e.g.

```sh

$ pulumi import azure:media/asset:Asset example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.Media/mediaservices/account1/assets/asset1

```

func GetAsset

func GetAsset(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *AssetState, opts ...pulumi.ResourceOption) (*Asset, error)

GetAsset gets an existing Asset resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewAsset

func NewAsset(ctx *pulumi.Context,
	name string, args *AssetArgs, opts ...pulumi.ResourceOption) (*Asset, error)

NewAsset registers a new resource with the given unique name, arguments, and options.

func (*Asset) ElementType

func (*Asset) ElementType() reflect.Type

func (*Asset) ToAssetOutput

func (i *Asset) ToAssetOutput() AssetOutput

func (*Asset) ToAssetOutputWithContext

func (i *Asset) ToAssetOutputWithContext(ctx context.Context) AssetOutput

type AssetArgs

type AssetArgs struct {
	// The alternate ID of the Asset.
	AlternateId pulumi.StringPtrInput
	// The name of the asset blob container. Changing this forces a new Media Asset to be created.
	Container pulumi.StringPtrInput
	// The Asset description.
	Description pulumi.StringPtrInput
	// Specifies the name of the Media Services Account. Changing this forces a new Media Asset to be created.
	MediaServicesAccountName pulumi.StringInput
	// The name which should be used for this Media Asset. Changing this forces a new Media Asset to be created.
	Name pulumi.StringPtrInput
	// The name of the Resource Group where the Media Asset should exist. Changing this forces a new Media Asset to be created.
	ResourceGroupName pulumi.StringInput
	// The name of the storage account where to store the media asset. Changing this forces a new Media Asset to be created.
	StorageAccountName pulumi.StringPtrInput
}

The set of arguments for constructing a Asset resource.

func (AssetArgs) ElementType

func (AssetArgs) ElementType() reflect.Type

type AssetArray

type AssetArray []AssetInput

func (AssetArray) ElementType

func (AssetArray) ElementType() reflect.Type

func (AssetArray) ToAssetArrayOutput

func (i AssetArray) ToAssetArrayOutput() AssetArrayOutput

func (AssetArray) ToAssetArrayOutputWithContext

func (i AssetArray) ToAssetArrayOutputWithContext(ctx context.Context) AssetArrayOutput

type AssetArrayInput

type AssetArrayInput interface {
	pulumi.Input

	ToAssetArrayOutput() AssetArrayOutput
	ToAssetArrayOutputWithContext(context.Context) AssetArrayOutput
}

AssetArrayInput is an input type that accepts AssetArray and AssetArrayOutput values. You can construct a concrete instance of `AssetArrayInput` via:

AssetArray{ AssetArgs{...} }

type AssetArrayOutput

type AssetArrayOutput struct{ *pulumi.OutputState }

func (AssetArrayOutput) ElementType

func (AssetArrayOutput) ElementType() reflect.Type

func (AssetArrayOutput) Index

func (AssetArrayOutput) ToAssetArrayOutput

func (o AssetArrayOutput) ToAssetArrayOutput() AssetArrayOutput

func (AssetArrayOutput) ToAssetArrayOutputWithContext

func (o AssetArrayOutput) ToAssetArrayOutputWithContext(ctx context.Context) AssetArrayOutput

type AssetFilter

type AssetFilter struct {
	pulumi.CustomResourceState

	// The Asset ID for which the Asset Filter should be created. Changing this forces a new Asset Filter to be created.
	AssetId pulumi.StringOutput `pulumi:"assetId"`
	// The first quality bitrate. Sets the first video track to appear in the Live Streaming playlist to allow HLS native players to start downloading from this quality level at the beginning.
	FirstQualityBitrate pulumi.IntPtrOutput `pulumi:"firstQualityBitrate"`
	// The name which should be used for this Asset Filter. Changing this forces a new Asset Filter to be created.
	Name pulumi.StringOutput `pulumi:"name"`
	// A `presentationTimeRange` block as defined below.
	PresentationTimeRange AssetFilterPresentationTimeRangePtrOutput `pulumi:"presentationTimeRange"`
	// One or more `trackSelection` blocks as defined below.
	TrackSelections AssetFilterTrackSelectionArrayOutput `pulumi:"trackSelections"`
}

Manages an Azure Media Asset Filter.

## Example Usage

```go 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 {
		exampleResourceGroup, err := core.NewResourceGroup(ctx, "exampleResourceGroup", &core.ResourceGroupArgs{
			Location: pulumi.String("West Europe"),
		})
		if err != nil {
			return err
		}
		exampleAccount, err := storage.NewAccount(ctx, "exampleAccount", &storage.AccountArgs{
			ResourceGroupName:      exampleResourceGroup.Name,
			Location:               exampleResourceGroup.Location,
			AccountTier:            pulumi.String("Standard"),
			AccountReplicationType: pulumi.String("GRS"),
		})
		if err != nil {
			return err
		}
		exampleServiceAccount, err := media.NewServiceAccount(ctx, "exampleServiceAccount", &media.ServiceAccountArgs{
			Location:          exampleResourceGroup.Location,
			ResourceGroupName: exampleResourceGroup.Name,
			StorageAccounts: media.ServiceAccountStorageAccountArray{
				&media.ServiceAccountStorageAccountArgs{
					Id:        exampleAccount.ID(),
					IsPrimary: pulumi.Bool(true),
				},
			},
		})
		if err != nil {
			return err
		}
		exampleAsset, err := media.NewAsset(ctx, "exampleAsset", &media.AssetArgs{
			ResourceGroupName:        exampleResourceGroup.Name,
			MediaServicesAccountName: exampleServiceAccount.Name,
			Description:              pulumi.String("Asset description"),
		})
		if err != nil {
			return err
		}
		_, err = media.NewAssetFilter(ctx, "exampleAssetFilter", &media.AssetFilterArgs{
			AssetId:             exampleAsset.ID(),
			FirstQualityBitrate: pulumi.Int(128000),
			PresentationTimeRange: &media.AssetFilterPresentationTimeRangeArgs{
				StartInUnits:               pulumi.Int(0),
				EndInUnits:                 pulumi.Int(15),
				PresentationWindowInUnits:  pulumi.Int(90),
				LiveBackoffInUnits:         pulumi.Int(0),
				UnitTimescaleInMiliseconds: pulumi.Int(1000),
				ForceEnd:                   pulumi.Bool(false),
			},
			TrackSelections: media.AssetFilterTrackSelectionArray{
				&media.AssetFilterTrackSelectionArgs{
					Conditions: media.AssetFilterTrackSelectionConditionArray{
						&media.AssetFilterTrackSelectionConditionArgs{
							Property:  pulumi.String("Type"),
							Operation: pulumi.String("Equal"),
							Value:     pulumi.String("Audio"),
						},
						&media.AssetFilterTrackSelectionConditionArgs{
							Property:  pulumi.String("Language"),
							Operation: pulumi.String("NotEqual"),
							Value:     pulumi.String("en"),
						},
						&media.AssetFilterTrackSelectionConditionArgs{
							Property:  pulumi.String("FourCC"),
							Operation: pulumi.String("NotEqual"),
							Value:     pulumi.String("EC-3"),
						},
					},
				},
				&media.AssetFilterTrackSelectionArgs{
					Conditions: media.AssetFilterTrackSelectionConditionArray{
						&media.AssetFilterTrackSelectionConditionArgs{
							Property:  pulumi.String("Type"),
							Operation: pulumi.String("Equal"),
							Value:     pulumi.String("Video"),
						},
						&media.AssetFilterTrackSelectionConditionArgs{
							Property:  pulumi.String("Bitrate"),
							Operation: pulumi.String("Equal"),
							Value:     pulumi.String("3000000-5000000"),
						},
					},
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Asset Filters can be imported using the `resource id`, e.g.

```sh

$ pulumi import azure:media/assetFilter:AssetFilter example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.Media/mediaservices/account1/assets/asset1/assetFilters/filter1

```

func GetAssetFilter

func GetAssetFilter(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *AssetFilterState, opts ...pulumi.ResourceOption) (*AssetFilter, error)

GetAssetFilter gets an existing AssetFilter resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewAssetFilter

func NewAssetFilter(ctx *pulumi.Context,
	name string, args *AssetFilterArgs, opts ...pulumi.ResourceOption) (*AssetFilter, error)

NewAssetFilter registers a new resource with the given unique name, arguments, and options.

func (*AssetFilter) ElementType

func (*AssetFilter) ElementType() reflect.Type

func (*AssetFilter) ToAssetFilterOutput

func (i *AssetFilter) ToAssetFilterOutput() AssetFilterOutput

func (*AssetFilter) ToAssetFilterOutputWithContext

func (i *AssetFilter) ToAssetFilterOutputWithContext(ctx context.Context) AssetFilterOutput

type AssetFilterArgs

type AssetFilterArgs struct {
	// The Asset ID for which the Asset Filter should be created. Changing this forces a new Asset Filter to be created.
	AssetId pulumi.StringInput
	// The first quality bitrate. Sets the first video track to appear in the Live Streaming playlist to allow HLS native players to start downloading from this quality level at the beginning.
	FirstQualityBitrate pulumi.IntPtrInput
	// The name which should be used for this Asset Filter. Changing this forces a new Asset Filter to be created.
	Name pulumi.StringPtrInput
	// A `presentationTimeRange` block as defined below.
	PresentationTimeRange AssetFilterPresentationTimeRangePtrInput
	// One or more `trackSelection` blocks as defined below.
	TrackSelections AssetFilterTrackSelectionArrayInput
}

The set of arguments for constructing a AssetFilter resource.

func (AssetFilterArgs) ElementType

func (AssetFilterArgs) ElementType() reflect.Type

type AssetFilterArray

type AssetFilterArray []AssetFilterInput

func (AssetFilterArray) ElementType

func (AssetFilterArray) ElementType() reflect.Type

func (AssetFilterArray) ToAssetFilterArrayOutput

func (i AssetFilterArray) ToAssetFilterArrayOutput() AssetFilterArrayOutput

func (AssetFilterArray) ToAssetFilterArrayOutputWithContext

func (i AssetFilterArray) ToAssetFilterArrayOutputWithContext(ctx context.Context) AssetFilterArrayOutput

type AssetFilterArrayInput

type AssetFilterArrayInput interface {
	pulumi.Input

	ToAssetFilterArrayOutput() AssetFilterArrayOutput
	ToAssetFilterArrayOutputWithContext(context.Context) AssetFilterArrayOutput
}

AssetFilterArrayInput is an input type that accepts AssetFilterArray and AssetFilterArrayOutput values. You can construct a concrete instance of `AssetFilterArrayInput` via:

AssetFilterArray{ AssetFilterArgs{...} }

type AssetFilterArrayOutput

type AssetFilterArrayOutput struct{ *pulumi.OutputState }

func (AssetFilterArrayOutput) ElementType

func (AssetFilterArrayOutput) ElementType() reflect.Type

func (AssetFilterArrayOutput) Index

func (AssetFilterArrayOutput) ToAssetFilterArrayOutput

func (o AssetFilterArrayOutput) ToAssetFilterArrayOutput() AssetFilterArrayOutput

func (AssetFilterArrayOutput) ToAssetFilterArrayOutputWithContext

func (o AssetFilterArrayOutput) ToAssetFilterArrayOutputWithContext(ctx context.Context) AssetFilterArrayOutput

type AssetFilterInput

type AssetFilterInput interface {
	pulumi.Input

	ToAssetFilterOutput() AssetFilterOutput
	ToAssetFilterOutputWithContext(ctx context.Context) AssetFilterOutput
}

type AssetFilterMap

type AssetFilterMap map[string]AssetFilterInput

func (AssetFilterMap) ElementType

func (AssetFilterMap) ElementType() reflect.Type

func (AssetFilterMap) ToAssetFilterMapOutput

func (i AssetFilterMap) ToAssetFilterMapOutput() AssetFilterMapOutput

func (AssetFilterMap) ToAssetFilterMapOutputWithContext

func (i AssetFilterMap) ToAssetFilterMapOutputWithContext(ctx context.Context) AssetFilterMapOutput

type AssetFilterMapInput

type AssetFilterMapInput interface {
	pulumi.Input

	ToAssetFilterMapOutput() AssetFilterMapOutput
	ToAssetFilterMapOutputWithContext(context.Context) AssetFilterMapOutput
}

AssetFilterMapInput is an input type that accepts AssetFilterMap and AssetFilterMapOutput values. You can construct a concrete instance of `AssetFilterMapInput` via:

AssetFilterMap{ "key": AssetFilterArgs{...} }

type AssetFilterMapOutput

type AssetFilterMapOutput struct{ *pulumi.OutputState }

func (AssetFilterMapOutput) ElementType

func (AssetFilterMapOutput) ElementType() reflect.Type

func (AssetFilterMapOutput) MapIndex

func (AssetFilterMapOutput) ToAssetFilterMapOutput

func (o AssetFilterMapOutput) ToAssetFilterMapOutput() AssetFilterMapOutput

func (AssetFilterMapOutput) ToAssetFilterMapOutputWithContext

func (o AssetFilterMapOutput) ToAssetFilterMapOutputWithContext(ctx context.Context) AssetFilterMapOutput

type AssetFilterOutput

type AssetFilterOutput struct{ *pulumi.OutputState }

func (AssetFilterOutput) AssetId added in v5.5.0

The Asset ID for which the Asset Filter should be created. Changing this forces a new Asset Filter to be created.

func (AssetFilterOutput) ElementType

func (AssetFilterOutput) ElementType() reflect.Type

func (AssetFilterOutput) FirstQualityBitrate added in v5.5.0

func (o AssetFilterOutput) FirstQualityBitrate() pulumi.IntPtrOutput

The first quality bitrate. Sets the first video track to appear in the Live Streaming playlist to allow HLS native players to start downloading from this quality level at the beginning.

func (AssetFilterOutput) Name added in v5.5.0

The name which should be used for this Asset Filter. Changing this forces a new Asset Filter to be created.

func (AssetFilterOutput) PresentationTimeRange added in v5.5.0

A `presentationTimeRange` block as defined below.

func (AssetFilterOutput) ToAssetFilterOutput

func (o AssetFilterOutput) ToAssetFilterOutput() AssetFilterOutput

func (AssetFilterOutput) ToAssetFilterOutputWithContext

func (o AssetFilterOutput) ToAssetFilterOutputWithContext(ctx context.Context) AssetFilterOutput

func (AssetFilterOutput) TrackSelections added in v5.5.0

One or more `trackSelection` blocks as defined below.

type AssetFilterPresentationTimeRange

type AssetFilterPresentationTimeRange struct {
	// The absolute end time boundary. Applies to Video on Demand (VoD).
	// For the Live Streaming presentation, it is silently ignored and applied when the presentation ends and the stream becomes VoD. This is a long value that represents an absolute end point of the presentation, rounded to the closest next GOP start. The unit is defined by `unitTimescaleInMiliseconds`, so an `endInUnits` of 180 would be for 3 minutes. Use `startInUnits` and `endInUnits` to trim the fragments that will be in the playlist (manifest). For example, `startInUnits` set to 20 and `endInUnits` set to 60 using `unitTimescaleInMiliseconds` in 1000 will generate a playlist that contains fragments from between 20 seconds and 60 seconds of the VoD presentation. If a fragment straddles the boundary, the entire fragment will be included in the manifest.
	EndInUnits *int `pulumi:"endInUnits"`
	// Indicates whether the `endInUnits` property must be present. If true, `endInUnits` must be specified or a bad request code is returned. Applies to Live Streaming only. Allowed values: false, true.
	ForceEnd *bool `pulumi:"forceEnd"`
	// The relative to end right edge. Applies to Live Streaming only.
	// This value defines the latest live position that a client can seek to. Using this property, you can delay live playback position and create a server-side buffer for players. The unit is defined by `unitTimescaleInMiliseconds`. The maximum live back off duration is 300 seconds. For example, a value of 20 means that the latest available content is 20 seconds delayed from the real live edge.
	LiveBackoffInUnits *int `pulumi:"liveBackoffInUnits"`
	// The relative to end sliding window. Applies to Live Streaming only. Use `presentationWindowInUnits` to apply a sliding window of fragments to include in a playlist. The unit is defined by `unitTimescaleInMiliseconds`. For example, set  `presentationWindowInUnits` to 120 to apply a two-minute sliding window. Media within 2 minutes of the live edge will be included in the playlist. If a fragment straddles the boundary, the entire fragment will be included in the playlist. The minimum presentation window duration is 60 seconds.
	PresentationWindowInUnits *int `pulumi:"presentationWindowInUnits"`
	// The absolute start time boundary. Applies to Video on Demand (VoD) or Live Streaming. This is a long value that represents an absolute start point of the stream. The value gets rounded to the closest next GOP start. The unit is defined by `unitTimescaleInMiliseconds`, so a `startInUnits` of 15 would be for 15 seconds. Use `startInUnits` and `endInUnits` to trim the fragments that will be in the playlist (manifest). For example, `startInUnits` set to 20 and `endInUnits` set to 60 using `unitTimescaleInMiliseconds` in 1000 will generate a playlist that contains fragments from between 20 seconds and 60 seconds of the VoD presentation. If a fragment straddles the boundary, the entire fragment will be included in the manifest.
	StartInUnits *int `pulumi:"startInUnits"`
	// Specified as the number of miliseconds in one unit timescale. For example, if you want to set a `startInUnits` at 30 seconds, you would use a value of 30 when using the `unitTimescaleInMiliseconds` in 1000. Or if you want to set `startInUnits` in 30 miliseconds, you would use a value of 30 when using the `unitTimescaleInMiliseconds` in 1.  Applies timescale to `startInUnits`, `startTimescale` and `presentationWindowInTimescale` and `liveBackoffInTimescale`.
	UnitTimescaleInMiliseconds *int `pulumi:"unitTimescaleInMiliseconds"`
}

type AssetFilterPresentationTimeRangeArgs

type AssetFilterPresentationTimeRangeArgs struct {
	// The absolute end time boundary. Applies to Video on Demand (VoD).
	// For the Live Streaming presentation, it is silently ignored and applied when the presentation ends and the stream becomes VoD. This is a long value that represents an absolute end point of the presentation, rounded to the closest next GOP start. The unit is defined by `unitTimescaleInMiliseconds`, so an `endInUnits` of 180 would be for 3 minutes. Use `startInUnits` and `endInUnits` to trim the fragments that will be in the playlist (manifest). For example, `startInUnits` set to 20 and `endInUnits` set to 60 using `unitTimescaleInMiliseconds` in 1000 will generate a playlist that contains fragments from between 20 seconds and 60 seconds of the VoD presentation. If a fragment straddles the boundary, the entire fragment will be included in the manifest.
	EndInUnits pulumi.IntPtrInput `pulumi:"endInUnits"`
	// Indicates whether the `endInUnits` property must be present. If true, `endInUnits` must be specified or a bad request code is returned. Applies to Live Streaming only. Allowed values: false, true.
	ForceEnd pulumi.BoolPtrInput `pulumi:"forceEnd"`
	// The relative to end right edge. Applies to Live Streaming only.
	// This value defines the latest live position that a client can seek to. Using this property, you can delay live playback position and create a server-side buffer for players. The unit is defined by `unitTimescaleInMiliseconds`. The maximum live back off duration is 300 seconds. For example, a value of 20 means that the latest available content is 20 seconds delayed from the real live edge.
	LiveBackoffInUnits pulumi.IntPtrInput `pulumi:"liveBackoffInUnits"`
	// The relative to end sliding window. Applies to Live Streaming only. Use `presentationWindowInUnits` to apply a sliding window of fragments to include in a playlist. The unit is defined by `unitTimescaleInMiliseconds`. For example, set  `presentationWindowInUnits` to 120 to apply a two-minute sliding window. Media within 2 minutes of the live edge will be included in the playlist. If a fragment straddles the boundary, the entire fragment will be included in the playlist. The minimum presentation window duration is 60 seconds.
	PresentationWindowInUnits pulumi.IntPtrInput `pulumi:"presentationWindowInUnits"`
	// The absolute start time boundary. Applies to Video on Demand (VoD) or Live Streaming. This is a long value that represents an absolute start point of the stream. The value gets rounded to the closest next GOP start. The unit is defined by `unitTimescaleInMiliseconds`, so a `startInUnits` of 15 would be for 15 seconds. Use `startInUnits` and `endInUnits` to trim the fragments that will be in the playlist (manifest). For example, `startInUnits` set to 20 and `endInUnits` set to 60 using `unitTimescaleInMiliseconds` in 1000 will generate a playlist that contains fragments from between 20 seconds and 60 seconds of the VoD presentation. If a fragment straddles the boundary, the entire fragment will be included in the manifest.
	StartInUnits pulumi.IntPtrInput `pulumi:"startInUnits"`
	// Specified as the number of miliseconds in one unit timescale. For example, if you want to set a `startInUnits` at 30 seconds, you would use a value of 30 when using the `unitTimescaleInMiliseconds` in 1000. Or if you want to set `startInUnits` in 30 miliseconds, you would use a value of 30 when using the `unitTimescaleInMiliseconds` in 1.  Applies timescale to `startInUnits`, `startTimescale` and `presentationWindowInTimescale` and `liveBackoffInTimescale`.
	UnitTimescaleInMiliseconds pulumi.IntPtrInput `pulumi:"unitTimescaleInMiliseconds"`
}

func (AssetFilterPresentationTimeRangeArgs) ElementType

func (AssetFilterPresentationTimeRangeArgs) ToAssetFilterPresentationTimeRangeOutput

func (i AssetFilterPresentationTimeRangeArgs) ToAssetFilterPresentationTimeRangeOutput() AssetFilterPresentationTimeRangeOutput

func (AssetFilterPresentationTimeRangeArgs) ToAssetFilterPresentationTimeRangeOutputWithContext

func (i AssetFilterPresentationTimeRangeArgs) ToAssetFilterPresentationTimeRangeOutputWithContext(ctx context.Context) AssetFilterPresentationTimeRangeOutput

func (AssetFilterPresentationTimeRangeArgs) ToAssetFilterPresentationTimeRangePtrOutput

func (i AssetFilterPresentationTimeRangeArgs) ToAssetFilterPresentationTimeRangePtrOutput() AssetFilterPresentationTimeRangePtrOutput

func (AssetFilterPresentationTimeRangeArgs) ToAssetFilterPresentationTimeRangePtrOutputWithContext

func (i AssetFilterPresentationTimeRangeArgs) ToAssetFilterPresentationTimeRangePtrOutputWithContext(ctx context.Context) AssetFilterPresentationTimeRangePtrOutput

type AssetFilterPresentationTimeRangeInput

type AssetFilterPresentationTimeRangeInput interface {
	pulumi.Input

	ToAssetFilterPresentationTimeRangeOutput() AssetFilterPresentationTimeRangeOutput
	ToAssetFilterPresentationTimeRangeOutputWithContext(context.Context) AssetFilterPresentationTimeRangeOutput
}

AssetFilterPresentationTimeRangeInput is an input type that accepts AssetFilterPresentationTimeRangeArgs and AssetFilterPresentationTimeRangeOutput values. You can construct a concrete instance of `AssetFilterPresentationTimeRangeInput` via:

AssetFilterPresentationTimeRangeArgs{...}

type AssetFilterPresentationTimeRangeOutput

type AssetFilterPresentationTimeRangeOutput struct{ *pulumi.OutputState }

func (AssetFilterPresentationTimeRangeOutput) ElementType

func (AssetFilterPresentationTimeRangeOutput) EndInUnits

The absolute end time boundary. Applies to Video on Demand (VoD). For the Live Streaming presentation, it is silently ignored and applied when the presentation ends and the stream becomes VoD. This is a long value that represents an absolute end point of the presentation, rounded to the closest next GOP start. The unit is defined by `unitTimescaleInMiliseconds`, so an `endInUnits` of 180 would be for 3 minutes. Use `startInUnits` and `endInUnits` to trim the fragments that will be in the playlist (manifest). For example, `startInUnits` set to 20 and `endInUnits` set to 60 using `unitTimescaleInMiliseconds` in 1000 will generate a playlist that contains fragments from between 20 seconds and 60 seconds of the VoD presentation. If a fragment straddles the boundary, the entire fragment will be included in the manifest.

func (AssetFilterPresentationTimeRangeOutput) ForceEnd

Indicates whether the `endInUnits` property must be present. If true, `endInUnits` must be specified or a bad request code is returned. Applies to Live Streaming only. Allowed values: false, true.

func (AssetFilterPresentationTimeRangeOutput) LiveBackoffInUnits

The relative to end right edge. Applies to Live Streaming only. This value defines the latest live position that a client can seek to. Using this property, you can delay live playback position and create a server-side buffer for players. The unit is defined by `unitTimescaleInMiliseconds`. The maximum live back off duration is 300 seconds. For example, a value of 20 means that the latest available content is 20 seconds delayed from the real live edge.

func (AssetFilterPresentationTimeRangeOutput) PresentationWindowInUnits

func (o AssetFilterPresentationTimeRangeOutput) PresentationWindowInUnits() pulumi.IntPtrOutput

The relative to end sliding window. Applies to Live Streaming only. Use `presentationWindowInUnits` to apply a sliding window of fragments to include in a playlist. The unit is defined by `unitTimescaleInMiliseconds`. For example, set `presentationWindowInUnits` to 120 to apply a two-minute sliding window. Media within 2 minutes of the live edge will be included in the playlist. If a fragment straddles the boundary, the entire fragment will be included in the playlist. The minimum presentation window duration is 60 seconds.

func (AssetFilterPresentationTimeRangeOutput) StartInUnits

The absolute start time boundary. Applies to Video on Demand (VoD) or Live Streaming. This is a long value that represents an absolute start point of the stream. The value gets rounded to the closest next GOP start. The unit is defined by `unitTimescaleInMiliseconds`, so a `startInUnits` of 15 would be for 15 seconds. Use `startInUnits` and `endInUnits` to trim the fragments that will be in the playlist (manifest). For example, `startInUnits` set to 20 and `endInUnits` set to 60 using `unitTimescaleInMiliseconds` in 1000 will generate a playlist that contains fragments from between 20 seconds and 60 seconds of the VoD presentation. If a fragment straddles the boundary, the entire fragment will be included in the manifest.

func (AssetFilterPresentationTimeRangeOutput) ToAssetFilterPresentationTimeRangeOutput

func (o AssetFilterPresentationTimeRangeOutput) ToAssetFilterPresentationTimeRangeOutput() AssetFilterPresentationTimeRangeOutput

func (AssetFilterPresentationTimeRangeOutput) ToAssetFilterPresentationTimeRangeOutputWithContext

func (o AssetFilterPresentationTimeRangeOutput) ToAssetFilterPresentationTimeRangeOutputWithContext(ctx context.Context) AssetFilterPresentationTimeRangeOutput

func (AssetFilterPresentationTimeRangeOutput) ToAssetFilterPresentationTimeRangePtrOutput

func (o AssetFilterPresentationTimeRangeOutput) ToAssetFilterPresentationTimeRangePtrOutput() AssetFilterPresentationTimeRangePtrOutput

func (AssetFilterPresentationTimeRangeOutput) ToAssetFilterPresentationTimeRangePtrOutputWithContext

func (o AssetFilterPresentationTimeRangeOutput) ToAssetFilterPresentationTimeRangePtrOutputWithContext(ctx context.Context) AssetFilterPresentationTimeRangePtrOutput

func (AssetFilterPresentationTimeRangeOutput) UnitTimescaleInMiliseconds

func (o AssetFilterPresentationTimeRangeOutput) UnitTimescaleInMiliseconds() pulumi.IntPtrOutput

Specified as the number of miliseconds in one unit timescale. For example, if you want to set a `startInUnits` at 30 seconds, you would use a value of 30 when using the `unitTimescaleInMiliseconds` in 1000. Or if you want to set `startInUnits` in 30 miliseconds, you would use a value of 30 when using the `unitTimescaleInMiliseconds` in 1. Applies timescale to `startInUnits`, `startTimescale` and `presentationWindowInTimescale` and `liveBackoffInTimescale`.

type AssetFilterPresentationTimeRangePtrInput

type AssetFilterPresentationTimeRangePtrInput interface {
	pulumi.Input

	ToAssetFilterPresentationTimeRangePtrOutput() AssetFilterPresentationTimeRangePtrOutput
	ToAssetFilterPresentationTimeRangePtrOutputWithContext(context.Context) AssetFilterPresentationTimeRangePtrOutput
}

AssetFilterPresentationTimeRangePtrInput is an input type that accepts AssetFilterPresentationTimeRangeArgs, AssetFilterPresentationTimeRangePtr and AssetFilterPresentationTimeRangePtrOutput values. You can construct a concrete instance of `AssetFilterPresentationTimeRangePtrInput` via:

        AssetFilterPresentationTimeRangeArgs{...}

or:

        nil

type AssetFilterPresentationTimeRangePtrOutput

type AssetFilterPresentationTimeRangePtrOutput struct{ *pulumi.OutputState }

func (AssetFilterPresentationTimeRangePtrOutput) Elem

func (AssetFilterPresentationTimeRangePtrOutput) ElementType

func (AssetFilterPresentationTimeRangePtrOutput) EndInUnits

The absolute end time boundary. Applies to Video on Demand (VoD). For the Live Streaming presentation, it is silently ignored and applied when the presentation ends and the stream becomes VoD. This is a long value that represents an absolute end point of the presentation, rounded to the closest next GOP start. The unit is defined by `unitTimescaleInMiliseconds`, so an `endInUnits` of 180 would be for 3 minutes. Use `startInUnits` and `endInUnits` to trim the fragments that will be in the playlist (manifest). For example, `startInUnits` set to 20 and `endInUnits` set to 60 using `unitTimescaleInMiliseconds` in 1000 will generate a playlist that contains fragments from between 20 seconds and 60 seconds of the VoD presentation. If a fragment straddles the boundary, the entire fragment will be included in the manifest.

func (AssetFilterPresentationTimeRangePtrOutput) ForceEnd

Indicates whether the `endInUnits` property must be present. If true, `endInUnits` must be specified or a bad request code is returned. Applies to Live Streaming only. Allowed values: false, true.

func (AssetFilterPresentationTimeRangePtrOutput) LiveBackoffInUnits

The relative to end right edge. Applies to Live Streaming only. This value defines the latest live position that a client can seek to. Using this property, you can delay live playback position and create a server-side buffer for players. The unit is defined by `unitTimescaleInMiliseconds`. The maximum live back off duration is 300 seconds. For example, a value of 20 means that the latest available content is 20 seconds delayed from the real live edge.

func (AssetFilterPresentationTimeRangePtrOutput) PresentationWindowInUnits

func (o AssetFilterPresentationTimeRangePtrOutput) PresentationWindowInUnits() pulumi.IntPtrOutput

The relative to end sliding window. Applies to Live Streaming only. Use `presentationWindowInUnits` to apply a sliding window of fragments to include in a playlist. The unit is defined by `unitTimescaleInMiliseconds`. For example, set `presentationWindowInUnits` to 120 to apply a two-minute sliding window. Media within 2 minutes of the live edge will be included in the playlist. If a fragment straddles the boundary, the entire fragment will be included in the playlist. The minimum presentation window duration is 60 seconds.

func (AssetFilterPresentationTimeRangePtrOutput) StartInUnits

The absolute start time boundary. Applies to Video on Demand (VoD) or Live Streaming. This is a long value that represents an absolute start point of the stream. The value gets rounded to the closest next GOP start. The unit is defined by `unitTimescaleInMiliseconds`, so a `startInUnits` of 15 would be for 15 seconds. Use `startInUnits` and `endInUnits` to trim the fragments that will be in the playlist (manifest). For example, `startInUnits` set to 20 and `endInUnits` set to 60 using `unitTimescaleInMiliseconds` in 1000 will generate a playlist that contains fragments from between 20 seconds and 60 seconds of the VoD presentation. If a fragment straddles the boundary, the entire fragment will be included in the manifest.

func (AssetFilterPresentationTimeRangePtrOutput) ToAssetFilterPresentationTimeRangePtrOutput

func (o AssetFilterPresentationTimeRangePtrOutput) ToAssetFilterPresentationTimeRangePtrOutput() AssetFilterPresentationTimeRangePtrOutput

func (AssetFilterPresentationTimeRangePtrOutput) ToAssetFilterPresentationTimeRangePtrOutputWithContext

func (o AssetFilterPresentationTimeRangePtrOutput) ToAssetFilterPresentationTimeRangePtrOutputWithContext(ctx context.Context) AssetFilterPresentationTimeRangePtrOutput

func (AssetFilterPresentationTimeRangePtrOutput) UnitTimescaleInMiliseconds

func (o AssetFilterPresentationTimeRangePtrOutput) UnitTimescaleInMiliseconds() pulumi.IntPtrOutput

Specified as the number of miliseconds in one unit timescale. For example, if you want to set a `startInUnits` at 30 seconds, you would use a value of 30 when using the `unitTimescaleInMiliseconds` in 1000. Or if you want to set `startInUnits` in 30 miliseconds, you would use a value of 30 when using the `unitTimescaleInMiliseconds` in 1. Applies timescale to `startInUnits`, `startTimescale` and `presentationWindowInTimescale` and `liveBackoffInTimescale`.

type AssetFilterState

type AssetFilterState struct {
	// The Asset ID for which the Asset Filter should be created. Changing this forces a new Asset Filter to be created.
	AssetId pulumi.StringPtrInput
	// The first quality bitrate. Sets the first video track to appear in the Live Streaming playlist to allow HLS native players to start downloading from this quality level at the beginning.
	FirstQualityBitrate pulumi.IntPtrInput
	// The name which should be used for this Asset Filter. Changing this forces a new Asset Filter to be created.
	Name pulumi.StringPtrInput
	// A `presentationTimeRange` block as defined below.
	PresentationTimeRange AssetFilterPresentationTimeRangePtrInput
	// One or more `trackSelection` blocks as defined below.
	TrackSelections AssetFilterTrackSelectionArrayInput
}

func (AssetFilterState) ElementType

func (AssetFilterState) ElementType() reflect.Type

type AssetFilterTrackSelection

type AssetFilterTrackSelection struct {
	// One or more `condition` blocks as defined above.
	Conditions []AssetFilterTrackSelectionCondition `pulumi:"conditions"`
}

type AssetFilterTrackSelectionArgs

type AssetFilterTrackSelectionArgs struct {
	// One or more `condition` blocks as defined above.
	Conditions AssetFilterTrackSelectionConditionArrayInput `pulumi:"conditions"`
}

func (AssetFilterTrackSelectionArgs) ElementType

func (AssetFilterTrackSelectionArgs) ToAssetFilterTrackSelectionOutput

func (i AssetFilterTrackSelectionArgs) ToAssetFilterTrackSelectionOutput() AssetFilterTrackSelectionOutput

func (AssetFilterTrackSelectionArgs) ToAssetFilterTrackSelectionOutputWithContext

func (i AssetFilterTrackSelectionArgs) ToAssetFilterTrackSelectionOutputWithContext(ctx context.Context) AssetFilterTrackSelectionOutput

type AssetFilterTrackSelectionArray

type AssetFilterTrackSelectionArray []AssetFilterTrackSelectionInput

func (AssetFilterTrackSelectionArray) ElementType

func (AssetFilterTrackSelectionArray) ToAssetFilterTrackSelectionArrayOutput

func (i AssetFilterTrackSelectionArray) ToAssetFilterTrackSelectionArrayOutput() AssetFilterTrackSelectionArrayOutput

func (AssetFilterTrackSelectionArray) ToAssetFilterTrackSelectionArrayOutputWithContext

func (i AssetFilterTrackSelectionArray) ToAssetFilterTrackSelectionArrayOutputWithContext(ctx context.Context) AssetFilterTrackSelectionArrayOutput

type AssetFilterTrackSelectionArrayInput

type AssetFilterTrackSelectionArrayInput interface {
	pulumi.Input

	ToAssetFilterTrackSelectionArrayOutput() AssetFilterTrackSelectionArrayOutput
	ToAssetFilterTrackSelectionArrayOutputWithContext(context.Context) AssetFilterTrackSelectionArrayOutput
}

AssetFilterTrackSelectionArrayInput is an input type that accepts AssetFilterTrackSelectionArray and AssetFilterTrackSelectionArrayOutput values. You can construct a concrete instance of `AssetFilterTrackSelectionArrayInput` via:

AssetFilterTrackSelectionArray{ AssetFilterTrackSelectionArgs{...} }

type AssetFilterTrackSelectionArrayOutput

type AssetFilterTrackSelectionArrayOutput struct{ *pulumi.OutputState }

func (AssetFilterTrackSelectionArrayOutput) ElementType

func (AssetFilterTrackSelectionArrayOutput) Index

func (AssetFilterTrackSelectionArrayOutput) ToAssetFilterTrackSelectionArrayOutput

func (o AssetFilterTrackSelectionArrayOutput) ToAssetFilterTrackSelectionArrayOutput() AssetFilterTrackSelectionArrayOutput

func (AssetFilterTrackSelectionArrayOutput) ToAssetFilterTrackSelectionArrayOutputWithContext

func (o AssetFilterTrackSelectionArrayOutput) ToAssetFilterTrackSelectionArrayOutputWithContext(ctx context.Context) AssetFilterTrackSelectionArrayOutput

type AssetFilterTrackSelectionCondition

type AssetFilterTrackSelectionCondition struct {
	// The condition operation to test a track property against. Supported values are `Equal` and `NotEqual`.
	Operation *string `pulumi:"operation"`
	// The track property to compare. Supported values are `Bitrate`, `FourCC`, `Language`, `Name` and `Type`. Check [documentation](https://docs.microsoft.com/azure/media-services/latest/filters-concept) for more details.
	Property *string `pulumi:"property"`
	// The track property value to match or not match.
	Value *string `pulumi:"value"`
}

type AssetFilterTrackSelectionConditionArgs

type AssetFilterTrackSelectionConditionArgs struct {
	// The condition operation to test a track property against. Supported values are `Equal` and `NotEqual`.
	Operation pulumi.StringPtrInput `pulumi:"operation"`
	// The track property to compare. Supported values are `Bitrate`, `FourCC`, `Language`, `Name` and `Type`. Check [documentation](https://docs.microsoft.com/azure/media-services/latest/filters-concept) for more details.
	Property pulumi.StringPtrInput `pulumi:"property"`
	// The track property value to match or not match.
	Value pulumi.StringPtrInput `pulumi:"value"`
}

func (AssetFilterTrackSelectionConditionArgs) ElementType

func (AssetFilterTrackSelectionConditionArgs) ToAssetFilterTrackSelectionConditionOutput

func (i AssetFilterTrackSelectionConditionArgs) ToAssetFilterTrackSelectionConditionOutput() AssetFilterTrackSelectionConditionOutput

func (AssetFilterTrackSelectionConditionArgs) ToAssetFilterTrackSelectionConditionOutputWithContext

func (i AssetFilterTrackSelectionConditionArgs) ToAssetFilterTrackSelectionConditionOutputWithContext(ctx context.Context) AssetFilterTrackSelectionConditionOutput

type AssetFilterTrackSelectionConditionArray

type AssetFilterTrackSelectionConditionArray []AssetFilterTrackSelectionConditionInput

func (AssetFilterTrackSelectionConditionArray) ElementType

func (AssetFilterTrackSelectionConditionArray) ToAssetFilterTrackSelectionConditionArrayOutput

func (i AssetFilterTrackSelectionConditionArray) ToAssetFilterTrackSelectionConditionArrayOutput() AssetFilterTrackSelectionConditionArrayOutput

func (AssetFilterTrackSelectionConditionArray) ToAssetFilterTrackSelectionConditionArrayOutputWithContext

func (i AssetFilterTrackSelectionConditionArray) ToAssetFilterTrackSelectionConditionArrayOutputWithContext(ctx context.Context) AssetFilterTrackSelectionConditionArrayOutput

type AssetFilterTrackSelectionConditionArrayInput

type AssetFilterTrackSelectionConditionArrayInput interface {
	pulumi.Input

	ToAssetFilterTrackSelectionConditionArrayOutput() AssetFilterTrackSelectionConditionArrayOutput
	ToAssetFilterTrackSelectionConditionArrayOutputWithContext(context.Context) AssetFilterTrackSelectionConditionArrayOutput
}

AssetFilterTrackSelectionConditionArrayInput is an input type that accepts AssetFilterTrackSelectionConditionArray and AssetFilterTrackSelectionConditionArrayOutput values. You can construct a concrete instance of `AssetFilterTrackSelectionConditionArrayInput` via:

AssetFilterTrackSelectionConditionArray{ AssetFilterTrackSelectionConditionArgs{...} }

type AssetFilterTrackSelectionConditionArrayOutput

type AssetFilterTrackSelectionConditionArrayOutput struct{ *pulumi.OutputState }

func (AssetFilterTrackSelectionConditionArrayOutput) ElementType

func (AssetFilterTrackSelectionConditionArrayOutput) Index

func (AssetFilterTrackSelectionConditionArrayOutput) ToAssetFilterTrackSelectionConditionArrayOutput

func (o AssetFilterTrackSelectionConditionArrayOutput) ToAssetFilterTrackSelectionConditionArrayOutput() AssetFilterTrackSelectionConditionArrayOutput

func (AssetFilterTrackSelectionConditionArrayOutput) ToAssetFilterTrackSelectionConditionArrayOutputWithContext

func (o AssetFilterTrackSelectionConditionArrayOutput) ToAssetFilterTrackSelectionConditionArrayOutputWithContext(ctx context.Context) AssetFilterTrackSelectionConditionArrayOutput

type AssetFilterTrackSelectionConditionInput

type AssetFilterTrackSelectionConditionInput interface {
	pulumi.Input

	ToAssetFilterTrackSelectionConditionOutput() AssetFilterTrackSelectionConditionOutput
	ToAssetFilterTrackSelectionConditionOutputWithContext(context.Context) AssetFilterTrackSelectionConditionOutput
}

AssetFilterTrackSelectionConditionInput is an input type that accepts AssetFilterTrackSelectionConditionArgs and AssetFilterTrackSelectionConditionOutput values. You can construct a concrete instance of `AssetFilterTrackSelectionConditionInput` via:

AssetFilterTrackSelectionConditionArgs{...}

type AssetFilterTrackSelectionConditionOutput

type AssetFilterTrackSelectionConditionOutput struct{ *pulumi.OutputState }

func (AssetFilterTrackSelectionConditionOutput) ElementType

func (AssetFilterTrackSelectionConditionOutput) Operation

The condition operation to test a track property against. Supported values are `Equal` and `NotEqual`.

func (AssetFilterTrackSelectionConditionOutput) Property

The track property to compare. Supported values are `Bitrate`, `FourCC`, `Language`, `Name` and `Type`. Check [documentation](https://docs.microsoft.com/azure/media-services/latest/filters-concept) for more details.

func (AssetFilterTrackSelectionConditionOutput) ToAssetFilterTrackSelectionConditionOutput

func (o AssetFilterTrackSelectionConditionOutput) ToAssetFilterTrackSelectionConditionOutput() AssetFilterTrackSelectionConditionOutput

func (AssetFilterTrackSelectionConditionOutput) ToAssetFilterTrackSelectionConditionOutputWithContext

func (o AssetFilterTrackSelectionConditionOutput) ToAssetFilterTrackSelectionConditionOutputWithContext(ctx context.Context) AssetFilterTrackSelectionConditionOutput

func (AssetFilterTrackSelectionConditionOutput) Value

The track property value to match or not match.

type AssetFilterTrackSelectionInput

type AssetFilterTrackSelectionInput interface {
	pulumi.Input

	ToAssetFilterTrackSelectionOutput() AssetFilterTrackSelectionOutput
	ToAssetFilterTrackSelectionOutputWithContext(context.Context) AssetFilterTrackSelectionOutput
}

AssetFilterTrackSelectionInput is an input type that accepts AssetFilterTrackSelectionArgs and AssetFilterTrackSelectionOutput values. You can construct a concrete instance of `AssetFilterTrackSelectionInput` via:

AssetFilterTrackSelectionArgs{...}

type AssetFilterTrackSelectionOutput

type AssetFilterTrackSelectionOutput struct{ *pulumi.OutputState }

func (AssetFilterTrackSelectionOutput) Conditions

One or more `condition` blocks as defined above.

func (AssetFilterTrackSelectionOutput) ElementType

func (AssetFilterTrackSelectionOutput) ToAssetFilterTrackSelectionOutput

func (o AssetFilterTrackSelectionOutput) ToAssetFilterTrackSelectionOutput() AssetFilterTrackSelectionOutput

func (AssetFilterTrackSelectionOutput) ToAssetFilterTrackSelectionOutputWithContext

func (o AssetFilterTrackSelectionOutput) ToAssetFilterTrackSelectionOutputWithContext(ctx context.Context) AssetFilterTrackSelectionOutput

type AssetInput

type AssetInput interface {
	pulumi.Input

	ToAssetOutput() AssetOutput
	ToAssetOutputWithContext(ctx context.Context) AssetOutput
}

type AssetMap

type AssetMap map[string]AssetInput

func (AssetMap) ElementType

func (AssetMap) ElementType() reflect.Type

func (AssetMap) ToAssetMapOutput

func (i AssetMap) ToAssetMapOutput() AssetMapOutput

func (AssetMap) ToAssetMapOutputWithContext

func (i AssetMap) ToAssetMapOutputWithContext(ctx context.Context) AssetMapOutput

type AssetMapInput

type AssetMapInput interface {
	pulumi.Input

	ToAssetMapOutput() AssetMapOutput
	ToAssetMapOutputWithContext(context.Context) AssetMapOutput
}

AssetMapInput is an input type that accepts AssetMap and AssetMapOutput values. You can construct a concrete instance of `AssetMapInput` via:

AssetMap{ "key": AssetArgs{...} }

type AssetMapOutput

type AssetMapOutput struct{ *pulumi.OutputState }

func (AssetMapOutput) ElementType

func (AssetMapOutput) ElementType() reflect.Type

func (AssetMapOutput) MapIndex

func (AssetMapOutput) ToAssetMapOutput

func (o AssetMapOutput) ToAssetMapOutput() AssetMapOutput

func (AssetMapOutput) ToAssetMapOutputWithContext

func (o AssetMapOutput) ToAssetMapOutputWithContext(ctx context.Context) AssetMapOutput

type AssetOutput

type AssetOutput struct{ *pulumi.OutputState }

func (AssetOutput) AlternateId added in v5.5.0

func (o AssetOutput) AlternateId() pulumi.StringPtrOutput

The alternate ID of the Asset.

func (AssetOutput) Container added in v5.5.0

func (o AssetOutput) Container() pulumi.StringOutput

The name of the asset blob container. Changing this forces a new Media Asset to be created.

func (AssetOutput) Description added in v5.5.0

func (o AssetOutput) Description() pulumi.StringPtrOutput

The Asset description.

func (AssetOutput) ElementType

func (AssetOutput) ElementType() reflect.Type

func (AssetOutput) MediaServicesAccountName added in v5.5.0

func (o AssetOutput) MediaServicesAccountName() pulumi.StringOutput

Specifies the name of the Media Services Account. Changing this forces a new Media Asset to be created.

func (AssetOutput) Name added in v5.5.0

func (o AssetOutput) Name() pulumi.StringOutput

The name which should be used for this Media Asset. Changing this forces a new Media Asset to be created.

func (AssetOutput) ResourceGroupName added in v5.5.0

func (o AssetOutput) ResourceGroupName() pulumi.StringOutput

The name of the Resource Group where the Media Asset should exist. Changing this forces a new Media Asset to be created.

func (AssetOutput) StorageAccountName added in v5.5.0

func (o AssetOutput) StorageAccountName() pulumi.StringOutput

The name of the storage account where to store the media asset. Changing this forces a new Media Asset to be created.

func (AssetOutput) ToAssetOutput

func (o AssetOutput) ToAssetOutput() AssetOutput

func (AssetOutput) ToAssetOutputWithContext

func (o AssetOutput) ToAssetOutputWithContext(ctx context.Context) AssetOutput

type AssetState

type AssetState struct {
	// The alternate ID of the Asset.
	AlternateId pulumi.StringPtrInput
	// The name of the asset blob container. Changing this forces a new Media Asset to be created.
	Container pulumi.StringPtrInput
	// The Asset description.
	Description pulumi.StringPtrInput
	// Specifies the name of the Media Services Account. Changing this forces a new Media Asset to be created.
	MediaServicesAccountName pulumi.StringPtrInput
	// The name which should be used for this Media Asset. Changing this forces a new Media Asset to be created.
	Name pulumi.StringPtrInput
	// The name of the Resource Group where the Media Asset should exist. Changing this forces a new Media Asset to be created.
	ResourceGroupName pulumi.StringPtrInput
	// The name of the storage account where to store the media asset. Changing this forces a new Media Asset to be created.
	StorageAccountName pulumi.StringPtrInput
}

func (AssetState) ElementType

func (AssetState) ElementType() reflect.Type

type ContentKeyPolicy

type ContentKeyPolicy struct {
	pulumi.CustomResourceState

	// A description for the Policy.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// The Media Services account name. Changing this forces a new Content Key Policy to be created.
	MediaServicesAccountName pulumi.StringOutput `pulumi:"mediaServicesAccountName"`
	// The name which should be used for this Content Key Policy. Changing this forces a new Content Key Policy to be created.
	Name pulumi.StringOutput `pulumi:"name"`
	// One or more `policyOption` blocks as defined below.
	PolicyOptions ContentKeyPolicyPolicyOptionArrayOutput `pulumi:"policyOptions"`
	// The name of the Resource Group where the Content Key Policy should exist. Changing this forces a new Content Key Policy to be created.
	ResourceGroupName pulumi.StringOutput `pulumi:"resourceGroupName"`
}

Manages a Content Key Policy.

## Example Usage

```go package main

import (

"encoding/json"

"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 {
		exampleResourceGroup, err := core.NewResourceGroup(ctx, "exampleResourceGroup", &core.ResourceGroupArgs{
			Location: pulumi.String("West Europe"),
		})
		if err != nil {
			return err
		}
		exampleAccount, err := storage.NewAccount(ctx, "exampleAccount", &storage.AccountArgs{
			ResourceGroupName:      exampleResourceGroup.Name,
			Location:               exampleResourceGroup.Location,
			AccountTier:            pulumi.String("Standard"),
			AccountReplicationType: pulumi.String("GRS"),
		})
		if err != nil {
			return err
		}
		exampleServiceAccount, err := media.NewServiceAccount(ctx, "exampleServiceAccount", &media.ServiceAccountArgs{
			Location:          exampleResourceGroup.Location,
			ResourceGroupName: exampleResourceGroup.Name,
			StorageAccounts: media.ServiceAccountStorageAccountArray{
				&media.ServiceAccountStorageAccountArgs{
					Id:        exampleAccount.ID(),
					IsPrimary: pulumi.Bool(true),
				},
			},
		})
		if err != nil {
			return err
		}
		tmpJSON0, err := json.Marshal(map[string]interface{}{
			"allowed_track_types": "SD_HD",
			"content_key_specs": []map[string]interface{}{
				map[string]interface{}{
					"track_type":     "SD",
					"security_level": 1,
					"required_output_protection": map[string]interface{}{
						"hdcp": "HDCP_V2",
					},
				},
			},
			"policy_overrides": map[string]interface{}{
				"can_play":    true,
				"can_persist": true,
				"can_renew":   false,
			},
		})
		if err != nil {
			return err
		}
		json0 := string(tmpJSON0)
		_, err = media.NewContentKeyPolicy(ctx, "exampleContentKeyPolicy", &media.ContentKeyPolicyArgs{
			ResourceGroupName:        exampleResourceGroup.Name,
			MediaServicesAccountName: exampleServiceAccount.Name,
			PolicyOptions: media.ContentKeyPolicyPolicyOptionArray{
				&media.ContentKeyPolicyPolicyOptionArgs{
					Name: pulumi.String("fairPlay"),
					FairplayConfiguration: &media.ContentKeyPolicyPolicyOptionFairplayConfigurationArgs{
						Ask:                   pulumi.String("bb566284cc124a21c435a92cd3c108c4"),
						Pfx:                   pulumi.String("MIIG7gIBAzCCBqoGCSqGSIb3DQEHAaCCBpsEggaXMIIGkzCCA7wGCSqGSIb3DQEHAaCCA60EggOpMIIDpTCCA6EGCyqGSIb3DQEMCgECoIICtjCCArIwHAYKKoZIhvcNAQwBAzAOBAiV65vFfxLDVgICB9AEggKQx2dxWefICYodVhRLSQVMJRYy5QkM1VySPAXGP744JHrb+s0Y8i/6a+a5itZGlXw3kvxyflHtSsuuBCaYJ1WOCp9jspixJEliFHXTcel96AgZlT5tB7vC6pdZnz8rb+lyxFs99x2CW52EsadoDlRsYrmkmKdnB0cx2JHJbLeXuKV/fjuRJSqCFcDa6Nre8AlBX0zKGIYGLJ1Cfpora4kNTXxu0AwEowzGmoCxqrpKbO1QDi1hZ1qHrtZ1ienAKfiTXaGH4AMQzyut0AaymxalrRbXibJYuefLRvXqx0oLZKVLAX8fR1gnac6Mrr7GkdHaKCsk4eOi98acR7bjiyRRVYYS4B6Y0tCeRJNe6zeYVmLdtatuOlOEVDT6AKrJJMFMyITVS+2D771ge6m37FbJ36K3/eT/HRq1YDsxfD/BY+X7eMIwQrVnD5nK7avXfbIni57n5oWLkE9Vco8uBlMdrx4xHt9vpe42Pz2Yh2O4WtvxcgxrAknvPpV1ZsAJCfvm9TTcg8qZpjyePn3B9TvFVSXMJHn/rzu6OJAgFgVFAe1tPGLh1XBxAvwpB8EqcycIIUUFUBy4HgYCicjI2jp6s8Kk293Uc/TA2623LrWgP/Xm5hVB7lP1k6W9LDivOlAA96D0Cbk08Yv6arkCYj7ONFO8VZbO0zKAAOLHMw/ZQRIutGLrDlqgTDeRXRuReX7TNjDBxp2rzJBY0uU5g9BMFxQrbQwEx9HsnO4dVFG4KLbHmYWhlwS2V2uZtY6D6elOXY3SX50RwhC4+0trUMi/ODtOxAc+lMQk2FNDcNeKIX5wHwFRS+sFBu5Um4Jfj6Ua4w1izmu2KiPfDd3vJsm5Dgcci3fPfdSfpIq4uR6d3JQxgdcwEwYJKoZIhvcNAQkVMQYEBAEAAAAwWwYJKoZIhvcNAQkUMU4eTAB7ADcAMQAxADAANABBADgARgAtADQAQgBFADAALQA0AEEAMgA4AC0AOAAyADIANQAtAEYANwBBADcAMwBGAEMAQQAwAEMARABEAH0wYwYJKwYBBAGCNxEBMVYeVABNAGkAYwByAG8AcwBvAGYAdAAgAEIAYQBzAGUAIABDAHIAeQBwAHQAbwBnAHIAYQBwAGgAaQBjACAAUAByAG8AdgBpAGQAZQByACAAdgAxAC4AMDCCAs8GCSqGSIb3DQEHBqCCAsAwggK8AgEAMIICtQYJKoZIhvcNAQcBMBwGCiqGSIb3DQEMAQMwDgQISS7mG/riQJkCAgfQgIICiPSGg5axP4JM+GmiVEqOHTVAPw2AM8OPnn1q0mIw54oC2WOJw3FFThYHmxTQzQ1feVmnkVCv++eFp+BYTcWTa+ehl/3/Nvr5uLTzDxmCShacKwoWXOKtSLh6mmgydvMqSf6xv1bPsloodtrRxhprI2lBNBW2uw8az9eLdvURYmhjGPf9klEy/6OCA5jDT5XZMunwiQT5mYNMF7wAQ5PCz2dJQqm1n72A6nUHPkHEusN7iH/+mv5d3iaKxn7/ShxLKHfjMd+r/gv27ylshVHiN4mVStAg+MiLrVvr5VH46p6oosImvS3ZO4D5wTmh/6wtus803qN4QB/Y9n4rqEJ4Dn619h+6O7FChzWkx7kvYIzIxvfnj1PCFTEjUwc7jbuF013W/z9zQi2YEq9AzxMcGro0zjdt2sf30zXSfaRNt0UHHRDkLo7yFUJG5Ka1uWU8paLuXUUiiMUf24Bsfdg2A2n+3Qa7g25OvAM1QTpMwmMWL9sY2hxVUGIKVrnj8c4EKuGJjVDXrze5g9O/LfZr5VSjGu5KsN0eYI3mcePF7XM0azMtTNQYVRmeWxYW+XvK5MaoLEkrFG8C5+JccIlN588jowVIPqP321S/EyFiAmrRdAWkqrc9KH+/eINCFqjut2YPkCaTM9mnJAAqWgggUWkrOKT/ByS6IAQwyEBNFbY0TWyxKt6vZL1EW/6HgZCsxeYycNhnPr2qJNZZMNzmdMRp2GRLcfBH8KFw1rAyua0VJoTLHb23ZAsEY74BrEEiK9e/oOjXkHzQjlmrfQ9rSN2eQpRrn0W8I229WmBO2suG+AQ3aY8kDtBMkjmJno7txUh1K5D6tJTO7MQp343A2AhyJkhYA7NPnDA7MB8wBwYFKw4DAhoEFPO82HDlCzlshWlnMoQPStm62TMEBBQsPmvwbZ5OlwC9+NDF1AC+t67WTgICB9A="),
						PfxPassword:           pulumi.String("password"),
						RentalDurationSeconds: pulumi.Int(2249),
						RentalAndLeaseKeyType: pulumi.String("PersistentUnlimited"),
					},
					OpenRestrictionEnabled: pulumi.Bool(true),
				},
				&media.ContentKeyPolicyPolicyOptionArgs{
					Name: pulumi.String("playReady"),
					PlayreadyConfigurationLicenses: media.ContentKeyPolicyPolicyOptionPlayreadyConfigurationLicenseArray{
						&media.ContentKeyPolicyPolicyOptionPlayreadyConfigurationLicenseArgs{
							AllowTestDevices: pulumi.Bool(true),
							BeginDate:        pulumi.String("2017-10-16T18:22:53Z"),
							PlayRight: &media.ContentKeyPolicyPolicyOptionPlayreadyConfigurationLicensePlayRightArgs{
								ScmsRestriction:                                    pulumi.Int(2),
								DigitalVideoOnlyContentRestriction:                 pulumi.Bool(false),
								ImageConstraintForAnalogComponentVideoRestriction:  pulumi.Bool(false),
								ImageConstraintForAnalogComputerMonitorRestriction: pulumi.Bool(false),
								AllowPassingVideoContentToUnknownOutput:            pulumi.String("NotAllowed"),
								UncompressedDigitalVideoOpl:                        pulumi.Int(100),
								UncompressedDigitalAudioOpl:                        pulumi.Int(100),
								AnalogVideoOpl:                                     pulumi.Int(150),
								CompressedDigitalAudioOpl:                          pulumi.Int(150),
							},
							LicenseType:                         pulumi.String("Persistent"),
							ContentType:                         pulumi.String("UltraVioletDownload"),
							ContentKeyLocationFromHeaderEnabled: pulumi.Bool(true),
						},
					},
					OpenRestrictionEnabled: pulumi.Bool(true),
				},
				&media.ContentKeyPolicyPolicyOptionArgs{
					Name:                         pulumi.String("clearKey"),
					ClearKeyConfigurationEnabled: pulumi.Bool(true),
					TokenRestriction: &media.ContentKeyPolicyPolicyOptionTokenRestrictionArgs{
						Issuer:                   pulumi.String("urn:issuer"),
						Audience:                 pulumi.String("urn:audience"),
						TokenType:                pulumi.String("Swt"),
						PrimarySymmetricTokenKey: pulumi.String("AAAAAAAAAAAAAAAAAAAAAA=="),
					},
				},
				&media.ContentKeyPolicyPolicyOptionArgs{
					Name:                          pulumi.String("widevine"),
					WidevineConfigurationTemplate: pulumi.String(json0),
					OpenRestrictionEnabled:        pulumi.Bool(true),
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Resource Groups can be imported using the `resource id`, e.g.

```sh

$ pulumi import azure:media/contentKeyPolicy:ContentKeyPolicy example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.Media/mediaservices/account1/contentkeypolicies/policy1

```

func GetContentKeyPolicy

func GetContentKeyPolicy(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ContentKeyPolicyState, opts ...pulumi.ResourceOption) (*ContentKeyPolicy, error)

GetContentKeyPolicy gets an existing ContentKeyPolicy resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewContentKeyPolicy

func NewContentKeyPolicy(ctx *pulumi.Context,
	name string, args *ContentKeyPolicyArgs, opts ...pulumi.ResourceOption) (*ContentKeyPolicy, error)

NewContentKeyPolicy registers a new resource with the given unique name, arguments, and options.

func (*ContentKeyPolicy) ElementType

func (*ContentKeyPolicy) ElementType() reflect.Type

func (*ContentKeyPolicy) ToContentKeyPolicyOutput

func (i *ContentKeyPolicy) ToContentKeyPolicyOutput() ContentKeyPolicyOutput

func (*ContentKeyPolicy) ToContentKeyPolicyOutputWithContext

func (i *ContentKeyPolicy) ToContentKeyPolicyOutputWithContext(ctx context.Context) ContentKeyPolicyOutput

type ContentKeyPolicyArgs

type ContentKeyPolicyArgs struct {
	// A description for the Policy.
	Description pulumi.StringPtrInput
	// The Media Services account name. Changing this forces a new Content Key Policy to be created.
	MediaServicesAccountName pulumi.StringInput
	// The name which should be used for this Content Key Policy. Changing this forces a new Content Key Policy to be created.
	Name pulumi.StringPtrInput
	// One or more `policyOption` blocks as defined below.
	PolicyOptions ContentKeyPolicyPolicyOptionArrayInput
	// The name of the Resource Group where the Content Key Policy should exist. Changing this forces a new Content Key Policy to be created.
	ResourceGroupName pulumi.StringInput
}

The set of arguments for constructing a ContentKeyPolicy resource.

func (ContentKeyPolicyArgs) ElementType

func (ContentKeyPolicyArgs) ElementType() reflect.Type

type ContentKeyPolicyArray

type ContentKeyPolicyArray []ContentKeyPolicyInput

func (ContentKeyPolicyArray) ElementType

func (ContentKeyPolicyArray) ElementType() reflect.Type

func (ContentKeyPolicyArray) ToContentKeyPolicyArrayOutput

func (i ContentKeyPolicyArray) ToContentKeyPolicyArrayOutput() ContentKeyPolicyArrayOutput

func (ContentKeyPolicyArray) ToContentKeyPolicyArrayOutputWithContext

func (i ContentKeyPolicyArray) ToContentKeyPolicyArrayOutputWithContext(ctx context.Context) ContentKeyPolicyArrayOutput

type ContentKeyPolicyArrayInput

type ContentKeyPolicyArrayInput interface {
	pulumi.Input

	ToContentKeyPolicyArrayOutput() ContentKeyPolicyArrayOutput
	ToContentKeyPolicyArrayOutputWithContext(context.Context) ContentKeyPolicyArrayOutput
}

ContentKeyPolicyArrayInput is an input type that accepts ContentKeyPolicyArray and ContentKeyPolicyArrayOutput values. You can construct a concrete instance of `ContentKeyPolicyArrayInput` via:

ContentKeyPolicyArray{ ContentKeyPolicyArgs{...} }

type ContentKeyPolicyArrayOutput

type ContentKeyPolicyArrayOutput struct{ *pulumi.OutputState }

func (ContentKeyPolicyArrayOutput) ElementType

func (ContentKeyPolicyArrayOutput) Index

func (ContentKeyPolicyArrayOutput) ToContentKeyPolicyArrayOutput

func (o ContentKeyPolicyArrayOutput) ToContentKeyPolicyArrayOutput() ContentKeyPolicyArrayOutput

func (ContentKeyPolicyArrayOutput) ToContentKeyPolicyArrayOutputWithContext

func (o ContentKeyPolicyArrayOutput) ToContentKeyPolicyArrayOutputWithContext(ctx context.Context) ContentKeyPolicyArrayOutput

type ContentKeyPolicyInput

type ContentKeyPolicyInput interface {
	pulumi.Input

	ToContentKeyPolicyOutput() ContentKeyPolicyOutput
	ToContentKeyPolicyOutputWithContext(ctx context.Context) ContentKeyPolicyOutput
}

type ContentKeyPolicyMap

type ContentKeyPolicyMap map[string]ContentKeyPolicyInput

func (ContentKeyPolicyMap) ElementType

func (ContentKeyPolicyMap) ElementType() reflect.Type

func (ContentKeyPolicyMap) ToContentKeyPolicyMapOutput

func (i ContentKeyPolicyMap) ToContentKeyPolicyMapOutput() ContentKeyPolicyMapOutput

func (ContentKeyPolicyMap) ToContentKeyPolicyMapOutputWithContext

func (i ContentKeyPolicyMap) ToContentKeyPolicyMapOutputWithContext(ctx context.Context) ContentKeyPolicyMapOutput

type ContentKeyPolicyMapInput

type ContentKeyPolicyMapInput interface {
	pulumi.Input

	ToContentKeyPolicyMapOutput() ContentKeyPolicyMapOutput
	ToContentKeyPolicyMapOutputWithContext(context.Context) ContentKeyPolicyMapOutput
}

ContentKeyPolicyMapInput is an input type that accepts ContentKeyPolicyMap and ContentKeyPolicyMapOutput values. You can construct a concrete instance of `ContentKeyPolicyMapInput` via:

ContentKeyPolicyMap{ "key": ContentKeyPolicyArgs{...} }

type ContentKeyPolicyMapOutput

type ContentKeyPolicyMapOutput struct{ *pulumi.OutputState }

func (ContentKeyPolicyMapOutput) ElementType

func (ContentKeyPolicyMapOutput) ElementType() reflect.Type

func (ContentKeyPolicyMapOutput) MapIndex

func (ContentKeyPolicyMapOutput) ToContentKeyPolicyMapOutput

func (o ContentKeyPolicyMapOutput) ToContentKeyPolicyMapOutput() ContentKeyPolicyMapOutput

func (ContentKeyPolicyMapOutput) ToContentKeyPolicyMapOutputWithContext

func (o ContentKeyPolicyMapOutput) ToContentKeyPolicyMapOutputWithContext(ctx context.Context) ContentKeyPolicyMapOutput

type ContentKeyPolicyOutput

type ContentKeyPolicyOutput struct{ *pulumi.OutputState }

func (ContentKeyPolicyOutput) Description added in v5.5.0

A description for the Policy.

func (ContentKeyPolicyOutput) ElementType

func (ContentKeyPolicyOutput) ElementType() reflect.Type

func (ContentKeyPolicyOutput) MediaServicesAccountName added in v5.5.0

func (o ContentKeyPolicyOutput) MediaServicesAccountName() pulumi.StringOutput

The Media Services account name. Changing this forces a new Content Key Policy to be created.

func (ContentKeyPolicyOutput) Name added in v5.5.0

The name which should be used for this Content Key Policy. Changing this forces a new Content Key Policy to be created.

func (ContentKeyPolicyOutput) PolicyOptions added in v5.5.0

One or more `policyOption` blocks as defined below.

func (ContentKeyPolicyOutput) ResourceGroupName added in v5.5.0

func (o ContentKeyPolicyOutput) ResourceGroupName() pulumi.StringOutput

The name of the Resource Group where the Content Key Policy should exist. Changing this forces a new Content Key Policy to be created.

func (ContentKeyPolicyOutput) ToContentKeyPolicyOutput

func (o ContentKeyPolicyOutput) ToContentKeyPolicyOutput() ContentKeyPolicyOutput

func (ContentKeyPolicyOutput) ToContentKeyPolicyOutputWithContext

func (o ContentKeyPolicyOutput) ToContentKeyPolicyOutputWithContext(ctx context.Context) ContentKeyPolicyOutput

type ContentKeyPolicyPolicyOption

type ContentKeyPolicyPolicyOption struct {
	// Enable a configuration for non-DRM keys.
	ClearKeyConfigurationEnabled *bool `pulumi:"clearKeyConfigurationEnabled"`
	// A `fairplayConfiguration` block as defined above. Check license requirements here <https://docs.microsoft.com/azure/media-services/latest/fairplay-license-overview>.
	FairplayConfiguration *ContentKeyPolicyPolicyOptionFairplayConfiguration `pulumi:"fairplayConfiguration"`
	// The name which should be used for this Policy Option.
	Name string `pulumi:"name"`
	// Enable an open restriction. License or key will be delivered on every request.
	OpenRestrictionEnabled *bool `pulumi:"openRestrictionEnabled"`
	// One or more `playreadyConfigurationLicense` blocks as defined above.
	PlayreadyConfigurationLicenses []ContentKeyPolicyPolicyOptionPlayreadyConfigurationLicense `pulumi:"playreadyConfigurationLicenses"`
	// A `tokenRestriction` block as defined below.
	TokenRestriction *ContentKeyPolicyPolicyOptionTokenRestriction `pulumi:"tokenRestriction"`
	// The Widevine template.
	WidevineConfigurationTemplate *string `pulumi:"widevineConfigurationTemplate"`
}

type ContentKeyPolicyPolicyOptionArgs

type ContentKeyPolicyPolicyOptionArgs struct {
	// Enable a configuration for non-DRM keys.
	ClearKeyConfigurationEnabled pulumi.BoolPtrInput `pulumi:"clearKeyConfigurationEnabled"`
	// A `fairplayConfiguration` block as defined above. Check license requirements here <https://docs.microsoft.com/azure/media-services/latest/fairplay-license-overview>.
	FairplayConfiguration ContentKeyPolicyPolicyOptionFairplayConfigurationPtrInput `pulumi:"fairplayConfiguration"`
	// The name which should be used for this Policy Option.
	Name pulumi.StringInput `pulumi:"name"`
	// Enable an open restriction. License or key will be delivered on every request.
	OpenRestrictionEnabled pulumi.BoolPtrInput `pulumi:"openRestrictionEnabled"`
	// One or more `playreadyConfigurationLicense` blocks as defined above.
	PlayreadyConfigurationLicenses ContentKeyPolicyPolicyOptionPlayreadyConfigurationLicenseArrayInput `pulumi:"playreadyConfigurationLicenses"`
	// A `tokenRestriction` block as defined below.
	TokenRestriction ContentKeyPolicyPolicyOptionTokenRestrictionPtrInput `pulumi:"tokenRestriction"`
	// The Widevine template.
	WidevineConfigurationTemplate pulumi.StringPtrInput `pulumi:"widevineConfigurationTemplate"`
}

func (ContentKeyPolicyPolicyOptionArgs) ElementType

func (ContentKeyPolicyPolicyOptionArgs) ToContentKeyPolicyPolicyOptionOutput

func (i ContentKeyPolicyPolicyOptionArgs) ToContentKeyPolicyPolicyOptionOutput() ContentKeyPolicyPolicyOptionOutput

func (ContentKeyPolicyPolicyOptionArgs) ToContentKeyPolicyPolicyOptionOutputWithContext

func (i ContentKeyPolicyPolicyOptionArgs) ToContentKeyPolicyPolicyOptionOutputWithContext(ctx context.Context) ContentKeyPolicyPolicyOptionOutput

type ContentKeyPolicyPolicyOptionArray

type ContentKeyPolicyPolicyOptionArray []ContentKeyPolicyPolicyOptionInput

func (ContentKeyPolicyPolicyOptionArray) ElementType

func (ContentKeyPolicyPolicyOptionArray) ToContentKeyPolicyPolicyOptionArrayOutput

func (i ContentKeyPolicyPolicyOptionArray) ToContentKeyPolicyPolicyOptionArrayOutput() ContentKeyPolicyPolicyOptionArrayOutput

func (ContentKeyPolicyPolicyOptionArray) ToContentKeyPolicyPolicyOptionArrayOutputWithContext

func (i ContentKeyPolicyPolicyOptionArray) ToContentKeyPolicyPolicyOptionArrayOutputWithContext(ctx context.Context) ContentKeyPolicyPolicyOptionArrayOutput

type ContentKeyPolicyPolicyOptionArrayInput

type ContentKeyPolicyPolicyOptionArrayInput interface {
	pulumi.Input

	ToContentKeyPolicyPolicyOptionArrayOutput() ContentKeyPolicyPolicyOptionArrayOutput
	ToContentKeyPolicyPolicyOptionArrayOutputWithContext(context.Context) ContentKeyPolicyPolicyOptionArrayOutput
}

ContentKeyPolicyPolicyOptionArrayInput is an input type that accepts ContentKeyPolicyPolicyOptionArray and ContentKeyPolicyPolicyOptionArrayOutput values. You can construct a concrete instance of `ContentKeyPolicyPolicyOptionArrayInput` via:

ContentKeyPolicyPolicyOptionArray{ ContentKeyPolicyPolicyOptionArgs{...} }

type ContentKeyPolicyPolicyOptionArrayOutput

type ContentKeyPolicyPolicyOptionArrayOutput struct{ *pulumi.OutputState }

func (ContentKeyPolicyPolicyOptionArrayOutput) ElementType

func (ContentKeyPolicyPolicyOptionArrayOutput) Index

func (ContentKeyPolicyPolicyOptionArrayOutput) ToContentKeyPolicyPolicyOptionArrayOutput

func (o ContentKeyPolicyPolicyOptionArrayOutput) ToContentKeyPolicyPolicyOptionArrayOutput() ContentKeyPolicyPolicyOptionArrayOutput

func (ContentKeyPolicyPolicyOptionArrayOutput) ToContentKeyPolicyPolicyOptionArrayOutputWithContext

func (o ContentKeyPolicyPolicyOptionArrayOutput) ToContentKeyPolicyPolicyOptionArrayOutputWithContext(ctx context.Context) ContentKeyPolicyPolicyOptionArrayOutput

type ContentKeyPolicyPolicyOptionFairplayConfiguration

type ContentKeyPolicyPolicyOptionFairplayConfiguration struct {
	// The key that must be used as FairPlay Application Secret key.
	Ask *string `pulumi:"ask"`
	// A `offlineRentalConfiguration` block as defined below.
	OfflineRentalConfiguration *ContentKeyPolicyPolicyOptionFairplayConfigurationOfflineRentalConfiguration `pulumi:"offlineRentalConfiguration"`
	// The Base64 representation of FairPlay certificate in PKCS 12 (pfx) format (including private key).
	Pfx *string `pulumi:"pfx"`
	// The password encrypting FairPlay certificate in PKCS 12 (pfx) format.
	PfxPassword *string `pulumi:"pfxPassword"`
	// The rental and lease key type. Supported values are `DualExpiry`, `PersistentLimited`, `PersistentUnlimited` or `Undefined`.
	RentalAndLeaseKeyType *string `pulumi:"rentalAndLeaseKeyType"`
	// The rental duration. Must be greater than 0.
	RentalDurationSeconds *int `pulumi:"rentalDurationSeconds"`
}

type ContentKeyPolicyPolicyOptionFairplayConfigurationArgs

type ContentKeyPolicyPolicyOptionFairplayConfigurationArgs struct {
	// The key that must be used as FairPlay Application Secret key.
	Ask pulumi.StringPtrInput `pulumi:"ask"`
	// A `offlineRentalConfiguration` block as defined below.
	OfflineRentalConfiguration ContentKeyPolicyPolicyOptionFairplayConfigurationOfflineRentalConfigurationPtrInput `pulumi:"offlineRentalConfiguration"`
	// The Base64 representation of FairPlay certificate in PKCS 12 (pfx) format (including private key).
	Pfx pulumi.StringPtrInput `pulumi:"pfx"`
	// The password encrypting FairPlay certificate in PKCS 12 (pfx) format.
	PfxPassword pulumi.StringPtrInput `pulumi:"pfxPassword"`
	// The rental and lease key type. Supported values are `DualExpiry`, `PersistentLimited`, `PersistentUnlimited` or `Undefined`.
	RentalAndLeaseKeyType pulumi.StringPtrInput `pulumi:"rentalAndLeaseKeyType"`
	// The rental duration. Must be greater than 0.
	RentalDurationSeconds pulumi.IntPtrInput `pulumi:"rentalDurationSeconds"`
}

func (ContentKeyPolicyPolicyOptionFairplayConfigurationArgs) ElementType

func (ContentKeyPolicyPolicyOptionFairplayConfigurationArgs) ToContentKeyPolicyPolicyOptionFairplayConfigurationOutput

func (i ContentKeyPolicyPolicyOptionFairplayConfigurationArgs) ToContentKeyPolicyPolicyOptionFairplayConfigurationOutput() ContentKeyPolicyPolicyOptionFairplayConfigurationOutput

func (ContentKeyPolicyPolicyOptionFairplayConfigurationArgs) ToContentKeyPolicyPolicyOptionFairplayConfigurationOutputWithContext

func (i ContentKeyPolicyPolicyOptionFairplayConfigurationArgs) ToContentKeyPolicyPolicyOptionFairplayConfigurationOutputWithContext(ctx context.Context) ContentKeyPolicyPolicyOptionFairplayConfigurationOutput

func (ContentKeyPolicyPolicyOptionFairplayConfigurationArgs) ToContentKeyPolicyPolicyOptionFairplayConfigurationPtrOutput

func (i ContentKeyPolicyPolicyOptionFairplayConfigurationArgs) ToContentKeyPolicyPolicyOptionFairplayConfigurationPtrOutput() ContentKeyPolicyPolicyOptionFairplayConfigurationPtrOutput

func (ContentKeyPolicyPolicyOptionFairplayConfigurationArgs) ToContentKeyPolicyPolicyOptionFairplayConfigurationPtrOutputWithContext

func (i ContentKeyPolicyPolicyOptionFairplayConfigurationArgs) ToContentKeyPolicyPolicyOptionFairplayConfigurationPtrOutputWithContext(ctx context.Context) ContentKeyPolicyPolicyOptionFairplayConfigurationPtrOutput

type ContentKeyPolicyPolicyOptionFairplayConfigurationInput

type ContentKeyPolicyPolicyOptionFairplayConfigurationInput interface {
	pulumi.Input

	ToContentKeyPolicyPolicyOptionFairplayConfigurationOutput() ContentKeyPolicyPolicyOptionFairplayConfigurationOutput
	ToContentKeyPolicyPolicyOptionFairplayConfigurationOutputWithContext(context.Context) ContentKeyPolicyPolicyOptionFairplayConfigurationOutput
}

ContentKeyPolicyPolicyOptionFairplayConfigurationInput is an input type that accepts ContentKeyPolicyPolicyOptionFairplayConfigurationArgs and ContentKeyPolicyPolicyOptionFairplayConfigurationOutput values. You can construct a concrete instance of `ContentKeyPolicyPolicyOptionFairplayConfigurationInput` via:

ContentKeyPolicyPolicyOptionFairplayConfigurationArgs{...}

type ContentKeyPolicyPolicyOptionFairplayConfigurationOfflineRentalConfiguration

type ContentKeyPolicyPolicyOptionFairplayConfigurationOfflineRentalConfiguration struct {
	// Playback duration.
	PlaybackDurationSeconds *int `pulumi:"playbackDurationSeconds"`
	// Storage duration.
	StorageDurationSeconds *int `pulumi:"storageDurationSeconds"`
}

type ContentKeyPolicyPolicyOptionFairplayConfigurationOfflineRentalConfigurationArgs

type ContentKeyPolicyPolicyOptionFairplayConfigurationOfflineRentalConfigurationArgs struct {
	// Playback duration.
	PlaybackDurationSeconds pulumi.IntPtrInput `pulumi:"playbackDurationSeconds"`
	// Storage duration.
	StorageDurationSeconds pulumi.IntPtrInput `pulumi:"storageDurationSeconds"`
}

func (ContentKeyPolicyPolicyOptionFairplayConfigurationOfflineRentalConfigurationArgs) ElementType

func (ContentKeyPolicyPolicyOptionFairplayConfigurationOfflineRentalConfigurationArgs) ToContentKeyPolicyPolicyOptionFairplayConfigurationOfflineRentalConfigurationOutput

func (ContentKeyPolicyPolicyOptionFairplayConfigurationOfflineRentalConfigurationArgs) ToContentKeyPolicyPolicyOptionFairplayConfigurationOfflineRentalConfigurationOutputWithContext

func (ContentKeyPolicyPolicyOptionFairplayConfigurationOfflineRentalConfigurationArgs) ToContentKeyPolicyPolicyOptionFairplayConfigurationOfflineRentalConfigurationPtrOutput

func (ContentKeyPolicyPolicyOptionFairplayConfigurationOfflineRentalConfigurationArgs) ToContentKeyPolicyPolicyOptionFairplayConfigurationOfflineRentalConfigurationPtrOutputWithContext

type ContentKeyPolicyPolicyOptionFairplayConfigurationOfflineRentalConfigurationInput

type ContentKeyPolicyPolicyOptionFairplayConfigurationOfflineRentalConfigurationInput interface {
	pulumi.Input

	ToContentKeyPolicyPolicyOptionFairplayConfigurationOfflineRentalConfigurationOutput() ContentKeyPolicyPolicyOptionFairplayConfigurationOfflineRentalConfigurationOutput
	ToContentKeyPolicyPolicyOptionFairplayConfigurationOfflineRentalConfigurationOutputWithContext(context.Context) ContentKeyPolicyPolicyOptionFairplayConfigurationOfflineRentalConfigurationOutput
}

ContentKeyPolicyPolicyOptionFairplayConfigurationOfflineRentalConfigurationInput is an input type that accepts ContentKeyPolicyPolicyOptionFairplayConfigurationOfflineRentalConfigurationArgs and ContentKeyPolicyPolicyOptionFairplayConfigurationOfflineRentalConfigurationOutput values. You can construct a concrete instance of `ContentKeyPolicyPolicyOptionFairplayConfigurationOfflineRentalConfigurationInput` via:

ContentKeyPolicyPolicyOptionFairplayConfigurationOfflineRentalConfigurationArgs{...}

type ContentKeyPolicyPolicyOptionFairplayConfigurationOfflineRentalConfigurationOutput

type ContentKeyPolicyPolicyOptionFairplayConfigurationOfflineRentalConfigurationOutput struct{ *pulumi.OutputState }

func (ContentKeyPolicyPolicyOptionFairplayConfigurationOfflineRentalConfigurationOutput) ElementType

func (ContentKeyPolicyPolicyOptionFairplayConfigurationOfflineRentalConfigurationOutput) PlaybackDurationSeconds

Playback duration.

func (ContentKeyPolicyPolicyOptionFairplayConfigurationOfflineRentalConfigurationOutput) StorageDurationSeconds

Storage duration.

func (ContentKeyPolicyPolicyOptionFairplayConfigurationOfflineRentalConfigurationOutput) ToContentKeyPolicyPolicyOptionFairplayConfigurationOfflineRentalConfigurationOutput

func (ContentKeyPolicyPolicyOptionFairplayConfigurationOfflineRentalConfigurationOutput) ToContentKeyPolicyPolicyOptionFairplayConfigurationOfflineRentalConfigurationOutputWithContext

func (ContentKeyPolicyPolicyOptionFairplayConfigurationOfflineRentalConfigurationOutput) ToContentKeyPolicyPolicyOptionFairplayConfigurationOfflineRentalConfigurationPtrOutput

func (ContentKeyPolicyPolicyOptionFairplayConfigurationOfflineRentalConfigurationOutput) ToContentKeyPolicyPolicyOptionFairplayConfigurationOfflineRentalConfigurationPtrOutputWithContext

type ContentKeyPolicyPolicyOptionFairplayConfigurationOfflineRentalConfigurationPtrInput

type ContentKeyPolicyPolicyOptionFairplayConfigurationOfflineRentalConfigurationPtrInput interface {
	pulumi.Input

	ToContentKeyPolicyPolicyOptionFairplayConfigurationOfflineRentalConfigurationPtrOutput() ContentKeyPolicyPolicyOptionFairplayConfigurationOfflineRentalConfigurationPtrOutput
	ToContentKeyPolicyPolicyOptionFairplayConfigurationOfflineRentalConfigurationPtrOutputWithContext(context.Context) ContentKeyPolicyPolicyOptionFairplayConfigurationOfflineRentalConfigurationPtrOutput
}

ContentKeyPolicyPolicyOptionFairplayConfigurationOfflineRentalConfigurationPtrInput is an input type that accepts ContentKeyPolicyPolicyOptionFairplayConfigurationOfflineRentalConfigurationArgs, ContentKeyPolicyPolicyOptionFairplayConfigurationOfflineRentalConfigurationPtr and ContentKeyPolicyPolicyOptionFairplayConfigurationOfflineRentalConfigurationPtrOutput values. You can construct a concrete instance of `ContentKeyPolicyPolicyOptionFairplayConfigurationOfflineRentalConfigurationPtrInput` via:

        ContentKeyPolicyPolicyOptionFairplayConfigurationOfflineRentalConfigurationArgs{...}

or:

        nil

type ContentKeyPolicyPolicyOptionFairplayConfigurationOfflineRentalConfigurationPtrOutput

type ContentKeyPolicyPolicyOptionFairplayConfigurationOfflineRentalConfigurationPtrOutput struct{ *pulumi.OutputState }

func (ContentKeyPolicyPolicyOptionFairplayConfigurationOfflineRentalConfigurationPtrOutput) ElementType

func (ContentKeyPolicyPolicyOptionFairplayConfigurationOfflineRentalConfigurationPtrOutput) PlaybackDurationSeconds

Playback duration.

func (ContentKeyPolicyPolicyOptionFairplayConfigurationOfflineRentalConfigurationPtrOutput) StorageDurationSeconds

Storage duration.

func (ContentKeyPolicyPolicyOptionFairplayConfigurationOfflineRentalConfigurationPtrOutput) ToContentKeyPolicyPolicyOptionFairplayConfigurationOfflineRentalConfigurationPtrOutput

func (ContentKeyPolicyPolicyOptionFairplayConfigurationOfflineRentalConfigurationPtrOutput) ToContentKeyPolicyPolicyOptionFairplayConfigurationOfflineRentalConfigurationPtrOutputWithContext

type ContentKeyPolicyPolicyOptionFairplayConfigurationOutput

type ContentKeyPolicyPolicyOptionFairplayConfigurationOutput struct{ *pulumi.OutputState }

func (ContentKeyPolicyPolicyOptionFairplayConfigurationOutput) Ask

The key that must be used as FairPlay Application Secret key.

func (ContentKeyPolicyPolicyOptionFairplayConfigurationOutput) ElementType

func (ContentKeyPolicyPolicyOptionFairplayConfigurationOutput) OfflineRentalConfiguration

A `offlineRentalConfiguration` block as defined below.

func (ContentKeyPolicyPolicyOptionFairplayConfigurationOutput) Pfx

The Base64 representation of FairPlay certificate in PKCS 12 (pfx) format (including private key).

func (ContentKeyPolicyPolicyOptionFairplayConfigurationOutput) PfxPassword

The password encrypting FairPlay certificate in PKCS 12 (pfx) format.

func (ContentKeyPolicyPolicyOptionFairplayConfigurationOutput) RentalAndLeaseKeyType

The rental and lease key type. Supported values are `DualExpiry`, `PersistentLimited`, `PersistentUnlimited` or `Undefined`.

func (ContentKeyPolicyPolicyOptionFairplayConfigurationOutput) RentalDurationSeconds

The rental duration. Must be greater than 0.

func (ContentKeyPolicyPolicyOptionFairplayConfigurationOutput) ToContentKeyPolicyPolicyOptionFairplayConfigurationOutput

func (ContentKeyPolicyPolicyOptionFairplayConfigurationOutput) ToContentKeyPolicyPolicyOptionFairplayConfigurationOutputWithContext

func (o ContentKeyPolicyPolicyOptionFairplayConfigurationOutput) ToContentKeyPolicyPolicyOptionFairplayConfigurationOutputWithContext(ctx context.Context) ContentKeyPolicyPolicyOptionFairplayConfigurationOutput

func (ContentKeyPolicyPolicyOptionFairplayConfigurationOutput) ToContentKeyPolicyPolicyOptionFairplayConfigurationPtrOutput

func (ContentKeyPolicyPolicyOptionFairplayConfigurationOutput) ToContentKeyPolicyPolicyOptionFairplayConfigurationPtrOutputWithContext

func (o ContentKeyPolicyPolicyOptionFairplayConfigurationOutput) ToContentKeyPolicyPolicyOptionFairplayConfigurationPtrOutputWithContext(ctx context.Context) ContentKeyPolicyPolicyOptionFairplayConfigurationPtrOutput

type ContentKeyPolicyPolicyOptionFairplayConfigurationPtrInput

type ContentKeyPolicyPolicyOptionFairplayConfigurationPtrInput interface {
	pulumi.Input

	ToContentKeyPolicyPolicyOptionFairplayConfigurationPtrOutput() ContentKeyPolicyPolicyOptionFairplayConfigurationPtrOutput
	ToContentKeyPolicyPolicyOptionFairplayConfigurationPtrOutputWithContext(context.Context) ContentKeyPolicyPolicyOptionFairplayConfigurationPtrOutput
}

ContentKeyPolicyPolicyOptionFairplayConfigurationPtrInput is an input type that accepts ContentKeyPolicyPolicyOptionFairplayConfigurationArgs, ContentKeyPolicyPolicyOptionFairplayConfigurationPtr and ContentKeyPolicyPolicyOptionFairplayConfigurationPtrOutput values. You can construct a concrete instance of `ContentKeyPolicyPolicyOptionFairplayConfigurationPtrInput` via:

        ContentKeyPolicyPolicyOptionFairplayConfigurationArgs{...}

or:

        nil

type ContentKeyPolicyPolicyOptionFairplayConfigurationPtrOutput

type ContentKeyPolicyPolicyOptionFairplayConfigurationPtrOutput struct{ *pulumi.OutputState }

func (ContentKeyPolicyPolicyOptionFairplayConfigurationPtrOutput) Ask

The key that must be used as FairPlay Application Secret key.

func (ContentKeyPolicyPolicyOptionFairplayConfigurationPtrOutput) Elem

func (ContentKeyPolicyPolicyOptionFairplayConfigurationPtrOutput) ElementType

func (ContentKeyPolicyPolicyOptionFairplayConfigurationPtrOutput) OfflineRentalConfiguration

A `offlineRentalConfiguration` block as defined below.

func (ContentKeyPolicyPolicyOptionFairplayConfigurationPtrOutput) Pfx

The Base64 representation of FairPlay certificate in PKCS 12 (pfx) format (including private key).

func (ContentKeyPolicyPolicyOptionFairplayConfigurationPtrOutput) PfxPassword

The password encrypting FairPlay certificate in PKCS 12 (pfx) format.

func (ContentKeyPolicyPolicyOptionFairplayConfigurationPtrOutput) RentalAndLeaseKeyType

The rental and lease key type. Supported values are `DualExpiry`, `PersistentLimited`, `PersistentUnlimited` or `Undefined`.

func (ContentKeyPolicyPolicyOptionFairplayConfigurationPtrOutput) RentalDurationSeconds

The rental duration. Must be greater than 0.

func (ContentKeyPolicyPolicyOptionFairplayConfigurationPtrOutput) ToContentKeyPolicyPolicyOptionFairplayConfigurationPtrOutput

func (ContentKeyPolicyPolicyOptionFairplayConfigurationPtrOutput) ToContentKeyPolicyPolicyOptionFairplayConfigurationPtrOutputWithContext

func (o ContentKeyPolicyPolicyOptionFairplayConfigurationPtrOutput) ToContentKeyPolicyPolicyOptionFairplayConfigurationPtrOutputWithContext(ctx context.Context) ContentKeyPolicyPolicyOptionFairplayConfigurationPtrOutput

type ContentKeyPolicyPolicyOptionInput

type ContentKeyPolicyPolicyOptionInput interface {
	pulumi.Input

	ToContentKeyPolicyPolicyOptionOutput() ContentKeyPolicyPolicyOptionOutput
	ToContentKeyPolicyPolicyOptionOutputWithContext(context.Context) ContentKeyPolicyPolicyOptionOutput
}

ContentKeyPolicyPolicyOptionInput is an input type that accepts ContentKeyPolicyPolicyOptionArgs and ContentKeyPolicyPolicyOptionOutput values. You can construct a concrete instance of `ContentKeyPolicyPolicyOptionInput` via:

ContentKeyPolicyPolicyOptionArgs{...}

type ContentKeyPolicyPolicyOptionOutput

type ContentKeyPolicyPolicyOptionOutput struct{ *pulumi.OutputState }

func (ContentKeyPolicyPolicyOptionOutput) ClearKeyConfigurationEnabled

func (o ContentKeyPolicyPolicyOptionOutput) ClearKeyConfigurationEnabled() pulumi.BoolPtrOutput

Enable a configuration for non-DRM keys.

func (ContentKeyPolicyPolicyOptionOutput) ElementType

func (ContentKeyPolicyPolicyOptionOutput) FairplayConfiguration

A `fairplayConfiguration` block as defined above. Check license requirements here <https://docs.microsoft.com/azure/media-services/latest/fairplay-license-overview>.

func (ContentKeyPolicyPolicyOptionOutput) Name

The name which should be used for this Policy Option.

func (ContentKeyPolicyPolicyOptionOutput) OpenRestrictionEnabled

func (o ContentKeyPolicyPolicyOptionOutput) OpenRestrictionEnabled() pulumi.BoolPtrOutput

Enable an open restriction. License or key will be delivered on every request.

func (ContentKeyPolicyPolicyOptionOutput) PlayreadyConfigurationLicenses

One or more `playreadyConfigurationLicense` blocks as defined above.

func (ContentKeyPolicyPolicyOptionOutput) ToContentKeyPolicyPolicyOptionOutput

func (o ContentKeyPolicyPolicyOptionOutput) ToContentKeyPolicyPolicyOptionOutput() ContentKeyPolicyPolicyOptionOutput

func (ContentKeyPolicyPolicyOptionOutput) ToContentKeyPolicyPolicyOptionOutputWithContext

func (o ContentKeyPolicyPolicyOptionOutput) ToContentKeyPolicyPolicyOptionOutputWithContext(ctx context.Context) ContentKeyPolicyPolicyOptionOutput

func (ContentKeyPolicyPolicyOptionOutput) TokenRestriction

A `tokenRestriction` block as defined below.

func (ContentKeyPolicyPolicyOptionOutput) WidevineConfigurationTemplate

func (o ContentKeyPolicyPolicyOptionOutput) WidevineConfigurationTemplate() pulumi.StringPtrOutput

The Widevine template.

type ContentKeyPolicyPolicyOptionPlayreadyConfigurationLicense

type ContentKeyPolicyPolicyOptionPlayreadyConfigurationLicense struct {
	// A flag indicating whether test devices can use the license.
	AllowTestDevices *bool `pulumi:"allowTestDevices"`
	// The begin date of license.
	BeginDate *string `pulumi:"beginDate"`
	// Specifies that the content key ID is in the PlayReady header.
	ContentKeyLocationFromHeaderEnabled *bool `pulumi:"contentKeyLocationFromHeaderEnabled"`
	// The content key ID. Specifies that the content key ID is specified in the PlayReady configuration.
	ContentKeyLocationFromKeyId *string `pulumi:"contentKeyLocationFromKeyId"`
	// The PlayReady content type. Supported values are `UltraVioletDownload`, `UltraVioletStreaming` or `Unspecified`.
	ContentType *string `pulumi:"contentType"`
	// The expiration date of license.
	ExpirationDate *string `pulumi:"expirationDate"`
	// The grace period of license.
	GracePeriod *string `pulumi:"gracePeriod"`
	// The license type. Supported values are `NonPersistent` or `Persistent`.
	LicenseType *string `pulumi:"licenseType"`
	// A `playRight` block as defined above.
	PlayRight *ContentKeyPolicyPolicyOptionPlayreadyConfigurationLicensePlayRight `pulumi:"playRight"`
	// The relative begin date of license.
	RelativeBeginDate *string `pulumi:"relativeBeginDate"`
	// The relative expiration date of license.
	RelativeExpirationDate *string `pulumi:"relativeExpirationDate"`
}

type ContentKeyPolicyPolicyOptionPlayreadyConfigurationLicenseArgs

type ContentKeyPolicyPolicyOptionPlayreadyConfigurationLicenseArgs struct {
	// A flag indicating whether test devices can use the license.
	AllowTestDevices pulumi.BoolPtrInput `pulumi:"allowTestDevices"`
	// The begin date of license.
	BeginDate pulumi.StringPtrInput `pulumi:"beginDate"`
	// Specifies that the content key ID is in the PlayReady header.
	ContentKeyLocationFromHeaderEnabled pulumi.BoolPtrInput `pulumi:"contentKeyLocationFromHeaderEnabled"`
	// The content key ID. Specifies that the content key ID is specified in the PlayReady configuration.
	ContentKeyLocationFromKeyId pulumi.StringPtrInput `pulumi:"contentKeyLocationFromKeyId"`
	// The PlayReady content type. Supported values are `UltraVioletDownload`, `UltraVioletStreaming` or `Unspecified`.
	ContentType pulumi.StringPtrInput `pulumi:"contentType"`
	// The expiration date of license.
	ExpirationDate pulumi.StringPtrInput `pulumi:"expirationDate"`
	// The grace period of license.
	GracePeriod pulumi.StringPtrInput `pulumi:"gracePeriod"`
	// The license type. Supported values are `NonPersistent` or `Persistent`.
	LicenseType pulumi.StringPtrInput `pulumi:"licenseType"`
	// A `playRight` block as defined above.
	PlayRight ContentKeyPolicyPolicyOptionPlayreadyConfigurationLicensePlayRightPtrInput `pulumi:"playRight"`
	// The relative begin date of license.
	RelativeBeginDate pulumi.StringPtrInput `pulumi:"relativeBeginDate"`
	// The relative expiration date of license.
	RelativeExpirationDate pulumi.StringPtrInput `pulumi:"relativeExpirationDate"`
}

func (ContentKeyPolicyPolicyOptionPlayreadyConfigurationLicenseArgs) ElementType

func (ContentKeyPolicyPolicyOptionPlayreadyConfigurationLicenseArgs) ToContentKeyPolicyPolicyOptionPlayreadyConfigurationLicenseOutput

func (ContentKeyPolicyPolicyOptionPlayreadyConfigurationLicenseArgs) ToContentKeyPolicyPolicyOptionPlayreadyConfigurationLicenseOutputWithContext

func (i ContentKeyPolicyPolicyOptionPlayreadyConfigurationLicenseArgs) ToContentKeyPolicyPolicyOptionPlayreadyConfigurationLicenseOutputWithContext(ctx context.Context) ContentKeyPolicyPolicyOptionPlayreadyConfigurationLicenseOutput

type ContentKeyPolicyPolicyOptionPlayreadyConfigurationLicenseArray

type ContentKeyPolicyPolicyOptionPlayreadyConfigurationLicenseArray []ContentKeyPolicyPolicyOptionPlayreadyConfigurationLicenseInput

func (ContentKeyPolicyPolicyOptionPlayreadyConfigurationLicenseArray) ElementType

func (ContentKeyPolicyPolicyOptionPlayreadyConfigurationLicenseArray) ToContentKeyPolicyPolicyOptionPlayreadyConfigurationLicenseArrayOutput

func (ContentKeyPolicyPolicyOptionPlayreadyConfigurationLicenseArray) ToContentKeyPolicyPolicyOptionPlayreadyConfigurationLicenseArrayOutputWithContext

func (i ContentKeyPolicyPolicyOptionPlayreadyConfigurationLicenseArray) ToContentKeyPolicyPolicyOptionPlayreadyConfigurationLicenseArrayOutputWithContext(ctx context.Context) ContentKeyPolicyPolicyOptionPlayreadyConfigurationLicenseArrayOutput

type ContentKeyPolicyPolicyOptionPlayreadyConfigurationLicenseArrayInput

type ContentKeyPolicyPolicyOptionPlayreadyConfigurationLicenseArrayInput interface {
	pulumi.Input

	ToContentKeyPolicyPolicyOptionPlayreadyConfigurationLicenseArrayOutput() ContentKeyPolicyPolicyOptionPlayreadyConfigurationLicenseArrayOutput
	ToContentKeyPolicyPolicyOptionPlayreadyConfigurationLicenseArrayOutputWithContext(context.Context) ContentKeyPolicyPolicyOptionPlayreadyConfigurationLicenseArrayOutput
}

ContentKeyPolicyPolicyOptionPlayreadyConfigurationLicenseArrayInput is an input type that accepts ContentKeyPolicyPolicyOptionPlayreadyConfigurationLicenseArray and ContentKeyPolicyPolicyOptionPlayreadyConfigurationLicenseArrayOutput values. You can construct a concrete instance of `ContentKeyPolicyPolicyOptionPlayreadyConfigurationLicenseArrayInput` via:

ContentKeyPolicyPolicyOptionPlayreadyConfigurationLicenseArray{ ContentKeyPolicyPolicyOptionPlayreadyConfigurationLicenseArgs{...} }

type ContentKeyPolicyPolicyOptionPlayreadyConfigurationLicenseArrayOutput

type ContentKeyPolicyPolicyOptionPlayreadyConfigurationLicenseArrayOutput struct{ *pulumi.OutputState }

func (ContentKeyPolicyPolicyOptionPlayreadyConfigurationLicenseArrayOutput) ElementType

func (ContentKeyPolicyPolicyOptionPlayreadyConfigurationLicenseArrayOutput) ToContentKeyPolicyPolicyOptionPlayreadyConfigurationLicenseArrayOutput

func (ContentKeyPolicyPolicyOptionPlayreadyConfigurationLicenseArrayOutput) ToContentKeyPolicyPolicyOptionPlayreadyConfigurationLicenseArrayOutputWithContext

func (o ContentKeyPolicyPolicyOptionPlayreadyConfigurationLicenseArrayOutput) ToContentKeyPolicyPolicyOptionPlayreadyConfigurationLicenseArrayOutputWithContext(ctx context.Context) ContentKeyPolicyPolicyOptionPlayreadyConfigurationLicenseArrayOutput

type ContentKeyPolicyPolicyOptionPlayreadyConfigurationLicenseInput

type ContentKeyPolicyPolicyOptionPlayreadyConfigurationLicenseInput interface {
	pulumi.Input

	ToContentKeyPolicyPolicyOptionPlayreadyConfigurationLicenseOutput() ContentKeyPolicyPolicyOptionPlayreadyConfigurationLicenseOutput
	ToContentKeyPolicyPolicyOptionPlayreadyConfigurationLicenseOutputWithContext(context.Context) ContentKeyPolicyPolicyOptionPlayreadyConfigurationLicenseOutput
}

ContentKeyPolicyPolicyOptionPlayreadyConfigurationLicenseInput is an input type that accepts ContentKeyPolicyPolicyOptionPlayreadyConfigurationLicenseArgs and ContentKeyPolicyPolicyOptionPlayreadyConfigurationLicenseOutput values. You can construct a concrete instance of `ContentKeyPolicyPolicyOptionPlayreadyConfigurationLicenseInput` via:

ContentKeyPolicyPolicyOptionPlayreadyConfigurationLicenseArgs{...}

type ContentKeyPolicyPolicyOptionPlayreadyConfigurationLicenseOutput

type ContentKeyPolicyPolicyOptionPlayreadyConfigurationLicenseOutput struct{ *pulumi.OutputState }

func (ContentKeyPolicyPolicyOptionPlayreadyConfigurationLicenseOutput) AllowTestDevices

A flag indicating whether test devices can use the license.

func (ContentKeyPolicyPolicyOptionPlayreadyConfigurationLicenseOutput) BeginDate

The begin date of license.

func (ContentKeyPolicyPolicyOptionPlayreadyConfigurationLicenseOutput) ContentKeyLocationFromHeaderEnabled

Specifies that the content key ID is in the PlayReady header.

func (ContentKeyPolicyPolicyOptionPlayreadyConfigurationLicenseOutput) ContentKeyLocationFromKeyId

The content key ID. Specifies that the content key ID is specified in the PlayReady configuration.

func (ContentKeyPolicyPolicyOptionPlayreadyConfigurationLicenseOutput) ContentType

The PlayReady content type. Supported values are `UltraVioletDownload`, `UltraVioletStreaming` or `Unspecified`.

func (ContentKeyPolicyPolicyOptionPlayreadyConfigurationLicenseOutput) ElementType

func (ContentKeyPolicyPolicyOptionPlayreadyConfigurationLicenseOutput) ExpirationDate

The expiration date of license.

func (ContentKeyPolicyPolicyOptionPlayreadyConfigurationLicenseOutput) GracePeriod

The grace period of license.

func (ContentKeyPolicyPolicyOptionPlayreadyConfigurationLicenseOutput) LicenseType

The license type. Supported values are `NonPersistent` or `Persistent`.

func (ContentKeyPolicyPolicyOptionPlayreadyConfigurationLicenseOutput) PlayRight

A `playRight` block as defined above.

func (ContentKeyPolicyPolicyOptionPlayreadyConfigurationLicenseOutput) RelativeBeginDate

The relative begin date of license.

func (ContentKeyPolicyPolicyOptionPlayreadyConfigurationLicenseOutput) RelativeExpirationDate

The relative expiration date of license.

func (ContentKeyPolicyPolicyOptionPlayreadyConfigurationLicenseOutput) ToContentKeyPolicyPolicyOptionPlayreadyConfigurationLicenseOutput

func (ContentKeyPolicyPolicyOptionPlayreadyConfigurationLicenseOutput) ToContentKeyPolicyPolicyOptionPlayreadyConfigurationLicenseOutputWithContext

func (o ContentKeyPolicyPolicyOptionPlayreadyConfigurationLicenseOutput) ToContentKeyPolicyPolicyOptionPlayreadyConfigurationLicenseOutputWithContext(ctx context.Context) ContentKeyPolicyPolicyOptionPlayreadyConfigurationLicenseOutput

type ContentKeyPolicyPolicyOptionPlayreadyConfigurationLicensePlayRight

type ContentKeyPolicyPolicyOptionPlayreadyConfigurationLicensePlayRight struct {
	// Configures Automatic Gain Control (AGC) and Color Stripe in the license. Must be between 0 and 3 inclusive.
	AgcAndColorStripeRestriction *int `pulumi:"agcAndColorStripeRestriction"`
	// Configures Unknown output handling settings of the license. Supported values are `Allowed`, `AllowedWithVideoConstriction` or `NotAllowed`.
	AllowPassingVideoContentToUnknownOutput *string `pulumi:"allowPassingVideoContentToUnknownOutput"`
	// Specifies the output protection level for compressed digital audio. Supported values are 100, 150 or 200.
	AnalogVideoOpl *int `pulumi:"analogVideoOpl"`
	// Specifies the output protection level for compressed digital audio.Supported values are 100, 150 or 200.
	CompressedDigitalAudioOpl *int `pulumi:"compressedDigitalAudioOpl"`
	// Enables the Image Constraint For Analog Component Video Restriction in the license.
	DigitalVideoOnlyContentRestriction *bool `pulumi:"digitalVideoOnlyContentRestriction"`
	// The amount of time that the license is valid after the license is first used to play content.
	FirstPlayExpiration *string `pulumi:"firstPlayExpiration"`
	// Enables the Image Constraint For Analog Component Video Restriction in the license.
	ImageConstraintForAnalogComponentVideoRestriction *bool `pulumi:"imageConstraintForAnalogComponentVideoRestriction"`
	// Enables the Image Constraint For Analog Component Video Restriction in the license.
	ImageConstraintForAnalogComputerMonitorRestriction *bool `pulumi:"imageConstraintForAnalogComputerMonitorRestriction"`
	// Configures the Serial Copy Management System (SCMS) in the license. Must be between 0 and 3 inclusive.
	ScmsRestriction *int `pulumi:"scmsRestriction"`
	// Specifies the output protection level for uncompressed digital audio. Supported values are 100, 150, 250 or 300.
	UncompressedDigitalAudioOpl *int `pulumi:"uncompressedDigitalAudioOpl"`
	// Specifies the output protection level for uncompressed digital video. Supported values are 100, 150, 250 or 300.
	UncompressedDigitalVideoOpl *int `pulumi:"uncompressedDigitalVideoOpl"`
}

type ContentKeyPolicyPolicyOptionPlayreadyConfigurationLicensePlayRightArgs

type ContentKeyPolicyPolicyOptionPlayreadyConfigurationLicensePlayRightArgs struct {
	// Configures Automatic Gain Control (AGC) and Color Stripe in the license. Must be between 0 and 3 inclusive.
	AgcAndColorStripeRestriction pulumi.IntPtrInput `pulumi:"agcAndColorStripeRestriction"`
	// Configures Unknown output handling settings of the license. Supported values are `Allowed`, `AllowedWithVideoConstriction` or `NotAllowed`.
	AllowPassingVideoContentToUnknownOutput pulumi.StringPtrInput `pulumi:"allowPassingVideoContentToUnknownOutput"`
	// Specifies the output protection level for compressed digital audio. Supported values are 100, 150 or 200.
	AnalogVideoOpl pulumi.IntPtrInput `pulumi:"analogVideoOpl"`
	// Specifies the output protection level for compressed digital audio.Supported values are 100, 150 or 200.
	CompressedDigitalAudioOpl pulumi.IntPtrInput `pulumi:"compressedDigitalAudioOpl"`
	// Enables the Image Constraint For Analog Component Video Restriction in the license.
	DigitalVideoOnlyContentRestriction pulumi.BoolPtrInput `pulumi:"digitalVideoOnlyContentRestriction"`
	// The amount of time that the license is valid after the license is first used to play content.
	FirstPlayExpiration pulumi.StringPtrInput `pulumi:"firstPlayExpiration"`
	// Enables the Image Constraint For Analog Component Video Restriction in the license.
	ImageConstraintForAnalogComponentVideoRestriction pulumi.BoolPtrInput `pulumi:"imageConstraintForAnalogComponentVideoRestriction"`
	// Enables the Image Constraint For Analog Component Video Restriction in the license.
	ImageConstraintForAnalogComputerMonitorRestriction pulumi.BoolPtrInput `pulumi:"imageConstraintForAnalogComputerMonitorRestriction"`
	// Configures the Serial Copy Management System (SCMS) in the license. Must be between 0 and 3 inclusive.
	ScmsRestriction pulumi.IntPtrInput `pulumi:"scmsRestriction"`
	// Specifies the output protection level for uncompressed digital audio. Supported values are 100, 150, 250 or 300.
	UncompressedDigitalAudioOpl pulumi.IntPtrInput `pulumi:"uncompressedDigitalAudioOpl"`
	// Specifies the output protection level for uncompressed digital video. Supported values are 100, 150, 250 or 300.
	UncompressedDigitalVideoOpl pulumi.IntPtrInput `pulumi:"uncompressedDigitalVideoOpl"`
}

func (ContentKeyPolicyPolicyOptionPlayreadyConfigurationLicensePlayRightArgs) ElementType

func (ContentKeyPolicyPolicyOptionPlayreadyConfigurationLicensePlayRightArgs) ToContentKeyPolicyPolicyOptionPlayreadyConfigurationLicensePlayRightOutput

func (ContentKeyPolicyPolicyOptionPlayreadyConfigurationLicensePlayRightArgs) ToContentKeyPolicyPolicyOptionPlayreadyConfigurationLicensePlayRightOutputWithContext

func (i ContentKeyPolicyPolicyOptionPlayreadyConfigurationLicensePlayRightArgs) ToContentKeyPolicyPolicyOptionPlayreadyConfigurationLicensePlayRightOutputWithContext(ctx context.Context) ContentKeyPolicyPolicyOptionPlayreadyConfigurationLicensePlayRightOutput

func (ContentKeyPolicyPolicyOptionPlayreadyConfigurationLicensePlayRightArgs) ToContentKeyPolicyPolicyOptionPlayreadyConfigurationLicensePlayRightPtrOutput

func (ContentKeyPolicyPolicyOptionPlayreadyConfigurationLicensePlayRightArgs) ToContentKeyPolicyPolicyOptionPlayreadyConfigurationLicensePlayRightPtrOutputWithContext

func (i ContentKeyPolicyPolicyOptionPlayreadyConfigurationLicensePlayRightArgs) ToContentKeyPolicyPolicyOptionPlayreadyConfigurationLicensePlayRightPtrOutputWithContext(ctx context.Context) ContentKeyPolicyPolicyOptionPlayreadyConfigurationLicensePlayRightPtrOutput

type ContentKeyPolicyPolicyOptionPlayreadyConfigurationLicensePlayRightInput

type ContentKeyPolicyPolicyOptionPlayreadyConfigurationLicensePlayRightInput interface {
	pulumi.Input

	ToContentKeyPolicyPolicyOptionPlayreadyConfigurationLicensePlayRightOutput() ContentKeyPolicyPolicyOptionPlayreadyConfigurationLicensePlayRightOutput
	ToContentKeyPolicyPolicyOptionPlayreadyConfigurationLicensePlayRightOutputWithContext(context.Context) ContentKeyPolicyPolicyOptionPlayreadyConfigurationLicensePlayRightOutput
}

ContentKeyPolicyPolicyOptionPlayreadyConfigurationLicensePlayRightInput is an input type that accepts ContentKeyPolicyPolicyOptionPlayreadyConfigurationLicensePlayRightArgs and ContentKeyPolicyPolicyOptionPlayreadyConfigurationLicensePlayRightOutput values. You can construct a concrete instance of `ContentKeyPolicyPolicyOptionPlayreadyConfigurationLicensePlayRightInput` via:

ContentKeyPolicyPolicyOptionPlayreadyConfigurationLicensePlayRightArgs{...}

type ContentKeyPolicyPolicyOptionPlayreadyConfigurationLicensePlayRightOutput

type ContentKeyPolicyPolicyOptionPlayreadyConfigurationLicensePlayRightOutput struct{ *pulumi.OutputState }

func (ContentKeyPolicyPolicyOptionPlayreadyConfigurationLicensePlayRightOutput) AgcAndColorStripeRestriction

Configures Automatic Gain Control (AGC) and Color Stripe in the license. Must be between 0 and 3 inclusive.

func (ContentKeyPolicyPolicyOptionPlayreadyConfigurationLicensePlayRightOutput) AllowPassingVideoContentToUnknownOutput

Configures Unknown output handling settings of the license. Supported values are `Allowed`, `AllowedWithVideoConstriction` or `NotAllowed`.

func (ContentKeyPolicyPolicyOptionPlayreadyConfigurationLicensePlayRightOutput) AnalogVideoOpl

Specifies the output protection level for compressed digital audio. Supported values are 100, 150 or 200.

func (ContentKeyPolicyPolicyOptionPlayreadyConfigurationLicensePlayRightOutput) CompressedDigitalAudioOpl

Specifies the output protection level for compressed digital audio.Supported values are 100, 150 or 200.

func (ContentKeyPolicyPolicyOptionPlayreadyConfigurationLicensePlayRightOutput) DigitalVideoOnlyContentRestriction

Enables the Image Constraint For Analog Component Video Restriction in the license.

func (ContentKeyPolicyPolicyOptionPlayreadyConfigurationLicensePlayRightOutput) ElementType

func (ContentKeyPolicyPolicyOptionPlayreadyConfigurationLicensePlayRightOutput) FirstPlayExpiration

The amount of time that the license is valid after the license is first used to play content.

func (ContentKeyPolicyPolicyOptionPlayreadyConfigurationLicensePlayRightOutput) ImageConstraintForAnalogComponentVideoRestriction

func (o ContentKeyPolicyPolicyOptionPlayreadyConfigurationLicensePlayRightOutput) ImageConstraintForAnalogComponentVideoRestriction() pulumi.BoolPtrOutput

Enables the Image Constraint For Analog Component Video Restriction in the license.

func (ContentKeyPolicyPolicyOptionPlayreadyConfigurationLicensePlayRightOutput) ImageConstraintForAnalogComputerMonitorRestriction

func (o ContentKeyPolicyPolicyOptionPlayreadyConfigurationLicensePlayRightOutput) ImageConstraintForAnalogComputerMonitorRestriction() pulumi.BoolPtrOutput

Enables the Image Constraint For Analog Component Video Restriction in the license.

func (ContentKeyPolicyPolicyOptionPlayreadyConfigurationLicensePlayRightOutput) ScmsRestriction

Configures the Serial Copy Management System (SCMS) in the license. Must be between 0 and 3 inclusive.

func (ContentKeyPolicyPolicyOptionPlayreadyConfigurationLicensePlayRightOutput) ToContentKeyPolicyPolicyOptionPlayreadyConfigurationLicensePlayRightOutput

func (ContentKeyPolicyPolicyOptionPlayreadyConfigurationLicensePlayRightOutput) ToContentKeyPolicyPolicyOptionPlayreadyConfigurationLicensePlayRightOutputWithContext

func (ContentKeyPolicyPolicyOptionPlayreadyConfigurationLicensePlayRightOutput) ToContentKeyPolicyPolicyOptionPlayreadyConfigurationLicensePlayRightPtrOutput

func (ContentKeyPolicyPolicyOptionPlayreadyConfigurationLicensePlayRightOutput) ToContentKeyPolicyPolicyOptionPlayreadyConfigurationLicensePlayRightPtrOutputWithContext

func (o ContentKeyPolicyPolicyOptionPlayreadyConfigurationLicensePlayRightOutput) ToContentKeyPolicyPolicyOptionPlayreadyConfigurationLicensePlayRightPtrOutputWithContext(ctx context.Context) ContentKeyPolicyPolicyOptionPlayreadyConfigurationLicensePlayRightPtrOutput

func (ContentKeyPolicyPolicyOptionPlayreadyConfigurationLicensePlayRightOutput) UncompressedDigitalAudioOpl

Specifies the output protection level for uncompressed digital audio. Supported values are 100, 150, 250 or 300.

func (ContentKeyPolicyPolicyOptionPlayreadyConfigurationLicensePlayRightOutput) UncompressedDigitalVideoOpl

Specifies the output protection level for uncompressed digital video. Supported values are 100, 150, 250 or 300.

type ContentKeyPolicyPolicyOptionPlayreadyConfigurationLicensePlayRightPtrInput

type ContentKeyPolicyPolicyOptionPlayreadyConfigurationLicensePlayRightPtrInput interface {
	pulumi.Input

	ToContentKeyPolicyPolicyOptionPlayreadyConfigurationLicensePlayRightPtrOutput() ContentKeyPolicyPolicyOptionPlayreadyConfigurationLicensePlayRightPtrOutput
	ToContentKeyPolicyPolicyOptionPlayreadyConfigurationLicensePlayRightPtrOutputWithContext(context.Context) ContentKeyPolicyPolicyOptionPlayreadyConfigurationLicensePlayRightPtrOutput
}

ContentKeyPolicyPolicyOptionPlayreadyConfigurationLicensePlayRightPtrInput is an input type that accepts ContentKeyPolicyPolicyOptionPlayreadyConfigurationLicensePlayRightArgs, ContentKeyPolicyPolicyOptionPlayreadyConfigurationLicensePlayRightPtr and ContentKeyPolicyPolicyOptionPlayreadyConfigurationLicensePlayRightPtrOutput values. You can construct a concrete instance of `ContentKeyPolicyPolicyOptionPlayreadyConfigurationLicensePlayRightPtrInput` via:

        ContentKeyPolicyPolicyOptionPlayreadyConfigurationLicensePlayRightArgs{...}

or:

        nil

type ContentKeyPolicyPolicyOptionPlayreadyConfigurationLicensePlayRightPtrOutput

type ContentKeyPolicyPolicyOptionPlayreadyConfigurationLicensePlayRightPtrOutput struct{ *pulumi.OutputState }

func (ContentKeyPolicyPolicyOptionPlayreadyConfigurationLicensePlayRightPtrOutput) AgcAndColorStripeRestriction

Configures Automatic Gain Control (AGC) and Color Stripe in the license. Must be between 0 and 3 inclusive.

func (ContentKeyPolicyPolicyOptionPlayreadyConfigurationLicensePlayRightPtrOutput) AllowPassingVideoContentToUnknownOutput

Configures Unknown output handling settings of the license. Supported values are `Allowed`, `AllowedWithVideoConstriction` or `NotAllowed`.

func (ContentKeyPolicyPolicyOptionPlayreadyConfigurationLicensePlayRightPtrOutput) AnalogVideoOpl

Specifies the output protection level for compressed digital audio. Supported values are 100, 150 or 200.

func (ContentKeyPolicyPolicyOptionPlayreadyConfigurationLicensePlayRightPtrOutput) CompressedDigitalAudioOpl

Specifies the output protection level for compressed digital audio.Supported values are 100, 150 or 200.

func (ContentKeyPolicyPolicyOptionPlayreadyConfigurationLicensePlayRightPtrOutput) DigitalVideoOnlyContentRestriction

Enables the Image Constraint For Analog Component Video Restriction in the license.

func (ContentKeyPolicyPolicyOptionPlayreadyConfigurationLicensePlayRightPtrOutput) Elem

func (ContentKeyPolicyPolicyOptionPlayreadyConfigurationLicensePlayRightPtrOutput) ElementType

func (ContentKeyPolicyPolicyOptionPlayreadyConfigurationLicensePlayRightPtrOutput) FirstPlayExpiration

The amount of time that the license is valid after the license is first used to play content.

func (ContentKeyPolicyPolicyOptionPlayreadyConfigurationLicensePlayRightPtrOutput) ImageConstraintForAnalogComponentVideoRestriction

func (o ContentKeyPolicyPolicyOptionPlayreadyConfigurationLicensePlayRightPtrOutput) ImageConstraintForAnalogComponentVideoRestriction() pulumi.BoolPtrOutput

Enables the Image Constraint For Analog Component Video Restriction in the license.

func (ContentKeyPolicyPolicyOptionPlayreadyConfigurationLicensePlayRightPtrOutput) ImageConstraintForAnalogComputerMonitorRestriction

func (o ContentKeyPolicyPolicyOptionPlayreadyConfigurationLicensePlayRightPtrOutput) ImageConstraintForAnalogComputerMonitorRestriction() pulumi.BoolPtrOutput

Enables the Image Constraint For Analog Component Video Restriction in the license.

func (ContentKeyPolicyPolicyOptionPlayreadyConfigurationLicensePlayRightPtrOutput) ScmsRestriction

Configures the Serial Copy Management System (SCMS) in the license. Must be between 0 and 3 inclusive.

func (ContentKeyPolicyPolicyOptionPlayreadyConfigurationLicensePlayRightPtrOutput) ToContentKeyPolicyPolicyOptionPlayreadyConfigurationLicensePlayRightPtrOutput

func (ContentKeyPolicyPolicyOptionPlayreadyConfigurationLicensePlayRightPtrOutput) ToContentKeyPolicyPolicyOptionPlayreadyConfigurationLicensePlayRightPtrOutputWithContext

func (ContentKeyPolicyPolicyOptionPlayreadyConfigurationLicensePlayRightPtrOutput) UncompressedDigitalAudioOpl

Specifies the output protection level for uncompressed digital audio. Supported values are 100, 150, 250 or 300.

func (ContentKeyPolicyPolicyOptionPlayreadyConfigurationLicensePlayRightPtrOutput) UncompressedDigitalVideoOpl

Specifies the output protection level for uncompressed digital video. Supported values are 100, 150, 250 or 300.

type ContentKeyPolicyPolicyOptionTokenRestriction

type ContentKeyPolicyPolicyOptionTokenRestriction struct {
	// The audience for the token.
	Audience *string `pulumi:"audience"`
	// The token issuer.
	Issuer *string `pulumi:"issuer"`
	// The OpenID connect discovery document.
	OpenIdConnectDiscoveryDocument *string `pulumi:"openIdConnectDiscoveryDocument"`
	// The RSA Parameter exponent.
	PrimaryRsaTokenKeyExponent *string `pulumi:"primaryRsaTokenKeyExponent"`
	// The RSA Parameter modulus.
	PrimaryRsaTokenKeyModulus *string `pulumi:"primaryRsaTokenKeyModulus"`
	// The key value of the key. Specifies a symmetric key for token validation.
	PrimarySymmetricTokenKey *string `pulumi:"primarySymmetricTokenKey"`
	// The raw data field of a certificate in PKCS 12 format (X509Certificate2 in .NET). Specifies a certificate for token validation.
	PrimaryX509TokenKeyRaw *string `pulumi:"primaryX509TokenKeyRaw"`
	// One or more `requiredClaim` blocks as defined above.
	RequiredClaims []ContentKeyPolicyPolicyOptionTokenRestrictionRequiredClaim `pulumi:"requiredClaims"`
	// The type of token. Supported values are `Jwt` or `Swt`.
	TokenType *string `pulumi:"tokenType"`
}

type ContentKeyPolicyPolicyOptionTokenRestrictionArgs

type ContentKeyPolicyPolicyOptionTokenRestrictionArgs struct {
	// The audience for the token.
	Audience pulumi.StringPtrInput `pulumi:"audience"`
	// The token issuer.
	Issuer pulumi.StringPtrInput `pulumi:"issuer"`
	// The OpenID connect discovery document.
	OpenIdConnectDiscoveryDocument pulumi.StringPtrInput `pulumi:"openIdConnectDiscoveryDocument"`
	// The RSA Parameter exponent.
	PrimaryRsaTokenKeyExponent pulumi.StringPtrInput `pulumi:"primaryRsaTokenKeyExponent"`
	// The RSA Parameter modulus.
	PrimaryRsaTokenKeyModulus pulumi.StringPtrInput `pulumi:"primaryRsaTokenKeyModulus"`
	// The key value of the key. Specifies a symmetric key for token validation.
	PrimarySymmetricTokenKey pulumi.StringPtrInput `pulumi:"primarySymmetricTokenKey"`
	// The raw data field of a certificate in PKCS 12 format (X509Certificate2 in .NET). Specifies a certificate for token validation.
	PrimaryX509TokenKeyRaw pulumi.StringPtrInput `pulumi:"primaryX509TokenKeyRaw"`
	// One or more `requiredClaim` blocks as defined above.
	RequiredClaims ContentKeyPolicyPolicyOptionTokenRestrictionRequiredClaimArrayInput `pulumi:"requiredClaims"`
	// The type of token. Supported values are `Jwt` or `Swt`.
	TokenType pulumi.StringPtrInput `pulumi:"tokenType"`
}

func (ContentKeyPolicyPolicyOptionTokenRestrictionArgs) ElementType

func (ContentKeyPolicyPolicyOptionTokenRestrictionArgs) ToContentKeyPolicyPolicyOptionTokenRestrictionOutput

func (i ContentKeyPolicyPolicyOptionTokenRestrictionArgs) ToContentKeyPolicyPolicyOptionTokenRestrictionOutput() ContentKeyPolicyPolicyOptionTokenRestrictionOutput

func (ContentKeyPolicyPolicyOptionTokenRestrictionArgs) ToContentKeyPolicyPolicyOptionTokenRestrictionOutputWithContext

func (i ContentKeyPolicyPolicyOptionTokenRestrictionArgs) ToContentKeyPolicyPolicyOptionTokenRestrictionOutputWithContext(ctx context.Context) ContentKeyPolicyPolicyOptionTokenRestrictionOutput

func (ContentKeyPolicyPolicyOptionTokenRestrictionArgs) ToContentKeyPolicyPolicyOptionTokenRestrictionPtrOutput

func (i ContentKeyPolicyPolicyOptionTokenRestrictionArgs) ToContentKeyPolicyPolicyOptionTokenRestrictionPtrOutput() ContentKeyPolicyPolicyOptionTokenRestrictionPtrOutput

func (ContentKeyPolicyPolicyOptionTokenRestrictionArgs) ToContentKeyPolicyPolicyOptionTokenRestrictionPtrOutputWithContext

func (i ContentKeyPolicyPolicyOptionTokenRestrictionArgs) ToContentKeyPolicyPolicyOptionTokenRestrictionPtrOutputWithContext(ctx context.Context) ContentKeyPolicyPolicyOptionTokenRestrictionPtrOutput

type ContentKeyPolicyPolicyOptionTokenRestrictionInput

type ContentKeyPolicyPolicyOptionTokenRestrictionInput interface {
	pulumi.Input

	ToContentKeyPolicyPolicyOptionTokenRestrictionOutput() ContentKeyPolicyPolicyOptionTokenRestrictionOutput
	ToContentKeyPolicyPolicyOptionTokenRestrictionOutputWithContext(context.Context) ContentKeyPolicyPolicyOptionTokenRestrictionOutput
}

ContentKeyPolicyPolicyOptionTokenRestrictionInput is an input type that accepts ContentKeyPolicyPolicyOptionTokenRestrictionArgs and ContentKeyPolicyPolicyOptionTokenRestrictionOutput values. You can construct a concrete instance of `ContentKeyPolicyPolicyOptionTokenRestrictionInput` via:

ContentKeyPolicyPolicyOptionTokenRestrictionArgs{...}

type ContentKeyPolicyPolicyOptionTokenRestrictionOutput

type ContentKeyPolicyPolicyOptionTokenRestrictionOutput struct{ *pulumi.OutputState }

func (ContentKeyPolicyPolicyOptionTokenRestrictionOutput) Audience

The audience for the token.

func (ContentKeyPolicyPolicyOptionTokenRestrictionOutput) ElementType

func (ContentKeyPolicyPolicyOptionTokenRestrictionOutput) Issuer

The token issuer.

func (ContentKeyPolicyPolicyOptionTokenRestrictionOutput) OpenIdConnectDiscoveryDocument

The OpenID connect discovery document.

func (ContentKeyPolicyPolicyOptionTokenRestrictionOutput) PrimaryRsaTokenKeyExponent

The RSA Parameter exponent.

func (ContentKeyPolicyPolicyOptionTokenRestrictionOutput) PrimaryRsaTokenKeyModulus

The RSA Parameter modulus.

func (ContentKeyPolicyPolicyOptionTokenRestrictionOutput) PrimarySymmetricTokenKey

The key value of the key. Specifies a symmetric key for token validation.

func (ContentKeyPolicyPolicyOptionTokenRestrictionOutput) PrimaryX509TokenKeyRaw

The raw data field of a certificate in PKCS 12 format (X509Certificate2 in .NET). Specifies a certificate for token validation.

func (ContentKeyPolicyPolicyOptionTokenRestrictionOutput) RequiredClaims

One or more `requiredClaim` blocks as defined above.

func (ContentKeyPolicyPolicyOptionTokenRestrictionOutput) ToContentKeyPolicyPolicyOptionTokenRestrictionOutput

func (o ContentKeyPolicyPolicyOptionTokenRestrictionOutput) ToContentKeyPolicyPolicyOptionTokenRestrictionOutput() ContentKeyPolicyPolicyOptionTokenRestrictionOutput

func (ContentKeyPolicyPolicyOptionTokenRestrictionOutput) ToContentKeyPolicyPolicyOptionTokenRestrictionOutputWithContext

func (o ContentKeyPolicyPolicyOptionTokenRestrictionOutput) ToContentKeyPolicyPolicyOptionTokenRestrictionOutputWithContext(ctx context.Context) ContentKeyPolicyPolicyOptionTokenRestrictionOutput

func (ContentKeyPolicyPolicyOptionTokenRestrictionOutput) ToContentKeyPolicyPolicyOptionTokenRestrictionPtrOutput

func (o ContentKeyPolicyPolicyOptionTokenRestrictionOutput) ToContentKeyPolicyPolicyOptionTokenRestrictionPtrOutput() ContentKeyPolicyPolicyOptionTokenRestrictionPtrOutput

func (ContentKeyPolicyPolicyOptionTokenRestrictionOutput) ToContentKeyPolicyPolicyOptionTokenRestrictionPtrOutputWithContext

func (o ContentKeyPolicyPolicyOptionTokenRestrictionOutput) ToContentKeyPolicyPolicyOptionTokenRestrictionPtrOutputWithContext(ctx context.Context) ContentKeyPolicyPolicyOptionTokenRestrictionPtrOutput

func (ContentKeyPolicyPolicyOptionTokenRestrictionOutput) TokenType

The type of token. Supported values are `Jwt` or `Swt`.

type ContentKeyPolicyPolicyOptionTokenRestrictionPtrInput

type ContentKeyPolicyPolicyOptionTokenRestrictionPtrInput interface {
	pulumi.Input

	ToContentKeyPolicyPolicyOptionTokenRestrictionPtrOutput() ContentKeyPolicyPolicyOptionTokenRestrictionPtrOutput
	ToContentKeyPolicyPolicyOptionTokenRestrictionPtrOutputWithContext(context.Context) ContentKeyPolicyPolicyOptionTokenRestrictionPtrOutput
}

ContentKeyPolicyPolicyOptionTokenRestrictionPtrInput is an input type that accepts ContentKeyPolicyPolicyOptionTokenRestrictionArgs, ContentKeyPolicyPolicyOptionTokenRestrictionPtr and ContentKeyPolicyPolicyOptionTokenRestrictionPtrOutput values. You can construct a concrete instance of `ContentKeyPolicyPolicyOptionTokenRestrictionPtrInput` via:

        ContentKeyPolicyPolicyOptionTokenRestrictionArgs{...}

or:

        nil

type ContentKeyPolicyPolicyOptionTokenRestrictionPtrOutput

type ContentKeyPolicyPolicyOptionTokenRestrictionPtrOutput struct{ *pulumi.OutputState }

func (ContentKeyPolicyPolicyOptionTokenRestrictionPtrOutput) Audience

The audience for the token.

func (ContentKeyPolicyPolicyOptionTokenRestrictionPtrOutput) Elem

func (ContentKeyPolicyPolicyOptionTokenRestrictionPtrOutput) ElementType

func (ContentKeyPolicyPolicyOptionTokenRestrictionPtrOutput) Issuer

The token issuer.

func (ContentKeyPolicyPolicyOptionTokenRestrictionPtrOutput) OpenIdConnectDiscoveryDocument

The OpenID connect discovery document.

func (ContentKeyPolicyPolicyOptionTokenRestrictionPtrOutput) PrimaryRsaTokenKeyExponent

The RSA Parameter exponent.

func (ContentKeyPolicyPolicyOptionTokenRestrictionPtrOutput) PrimaryRsaTokenKeyModulus

The RSA Parameter modulus.

func (ContentKeyPolicyPolicyOptionTokenRestrictionPtrOutput) PrimarySymmetricTokenKey

The key value of the key. Specifies a symmetric key for token validation.

func (ContentKeyPolicyPolicyOptionTokenRestrictionPtrOutput) PrimaryX509TokenKeyRaw

The raw data field of a certificate in PKCS 12 format (X509Certificate2 in .NET). Specifies a certificate for token validation.

func (ContentKeyPolicyPolicyOptionTokenRestrictionPtrOutput) RequiredClaims

One or more `requiredClaim` blocks as defined above.

func (ContentKeyPolicyPolicyOptionTokenRestrictionPtrOutput) ToContentKeyPolicyPolicyOptionTokenRestrictionPtrOutput

func (ContentKeyPolicyPolicyOptionTokenRestrictionPtrOutput) ToContentKeyPolicyPolicyOptionTokenRestrictionPtrOutputWithContext

func (o ContentKeyPolicyPolicyOptionTokenRestrictionPtrOutput) ToContentKeyPolicyPolicyOptionTokenRestrictionPtrOutputWithContext(ctx context.Context) ContentKeyPolicyPolicyOptionTokenRestrictionPtrOutput

func (ContentKeyPolicyPolicyOptionTokenRestrictionPtrOutput) TokenType

The type of token. Supported values are `Jwt` or `Swt`.

type ContentKeyPolicyPolicyOptionTokenRestrictionRequiredClaim

type ContentKeyPolicyPolicyOptionTokenRestrictionRequiredClaim struct {
	// Token claim type.
	Type *string `pulumi:"type"`
	// Token claim value.
	Value *string `pulumi:"value"`
}

type ContentKeyPolicyPolicyOptionTokenRestrictionRequiredClaimArgs

type ContentKeyPolicyPolicyOptionTokenRestrictionRequiredClaimArgs struct {
	// Token claim type.
	Type pulumi.StringPtrInput `pulumi:"type"`
	// Token claim value.
	Value pulumi.StringPtrInput `pulumi:"value"`
}

func (ContentKeyPolicyPolicyOptionTokenRestrictionRequiredClaimArgs) ElementType

func (ContentKeyPolicyPolicyOptionTokenRestrictionRequiredClaimArgs) ToContentKeyPolicyPolicyOptionTokenRestrictionRequiredClaimOutput

func (ContentKeyPolicyPolicyOptionTokenRestrictionRequiredClaimArgs) ToContentKeyPolicyPolicyOptionTokenRestrictionRequiredClaimOutputWithContext

func (i ContentKeyPolicyPolicyOptionTokenRestrictionRequiredClaimArgs) ToContentKeyPolicyPolicyOptionTokenRestrictionRequiredClaimOutputWithContext(ctx context.Context) ContentKeyPolicyPolicyOptionTokenRestrictionRequiredClaimOutput

type ContentKeyPolicyPolicyOptionTokenRestrictionRequiredClaimArray

type ContentKeyPolicyPolicyOptionTokenRestrictionRequiredClaimArray []ContentKeyPolicyPolicyOptionTokenRestrictionRequiredClaimInput

func (ContentKeyPolicyPolicyOptionTokenRestrictionRequiredClaimArray) ElementType

func (ContentKeyPolicyPolicyOptionTokenRestrictionRequiredClaimArray) ToContentKeyPolicyPolicyOptionTokenRestrictionRequiredClaimArrayOutput

func (ContentKeyPolicyPolicyOptionTokenRestrictionRequiredClaimArray) ToContentKeyPolicyPolicyOptionTokenRestrictionRequiredClaimArrayOutputWithContext

func (i ContentKeyPolicyPolicyOptionTokenRestrictionRequiredClaimArray) ToContentKeyPolicyPolicyOptionTokenRestrictionRequiredClaimArrayOutputWithContext(ctx context.Context) ContentKeyPolicyPolicyOptionTokenRestrictionRequiredClaimArrayOutput

type ContentKeyPolicyPolicyOptionTokenRestrictionRequiredClaimArrayInput

type ContentKeyPolicyPolicyOptionTokenRestrictionRequiredClaimArrayInput interface {
	pulumi.Input

	ToContentKeyPolicyPolicyOptionTokenRestrictionRequiredClaimArrayOutput() ContentKeyPolicyPolicyOptionTokenRestrictionRequiredClaimArrayOutput
	ToContentKeyPolicyPolicyOptionTokenRestrictionRequiredClaimArrayOutputWithContext(context.Context) ContentKeyPolicyPolicyOptionTokenRestrictionRequiredClaimArrayOutput
}

ContentKeyPolicyPolicyOptionTokenRestrictionRequiredClaimArrayInput is an input type that accepts ContentKeyPolicyPolicyOptionTokenRestrictionRequiredClaimArray and ContentKeyPolicyPolicyOptionTokenRestrictionRequiredClaimArrayOutput values. You can construct a concrete instance of `ContentKeyPolicyPolicyOptionTokenRestrictionRequiredClaimArrayInput` via:

ContentKeyPolicyPolicyOptionTokenRestrictionRequiredClaimArray{ ContentKeyPolicyPolicyOptionTokenRestrictionRequiredClaimArgs{...} }

type ContentKeyPolicyPolicyOptionTokenRestrictionRequiredClaimArrayOutput

type ContentKeyPolicyPolicyOptionTokenRestrictionRequiredClaimArrayOutput struct{ *pulumi.OutputState }

func (ContentKeyPolicyPolicyOptionTokenRestrictionRequiredClaimArrayOutput) ElementType

func (ContentKeyPolicyPolicyOptionTokenRestrictionRequiredClaimArrayOutput) ToContentKeyPolicyPolicyOptionTokenRestrictionRequiredClaimArrayOutput

func (ContentKeyPolicyPolicyOptionTokenRestrictionRequiredClaimArrayOutput) ToContentKeyPolicyPolicyOptionTokenRestrictionRequiredClaimArrayOutputWithContext

func (o ContentKeyPolicyPolicyOptionTokenRestrictionRequiredClaimArrayOutput) ToContentKeyPolicyPolicyOptionTokenRestrictionRequiredClaimArrayOutputWithContext(ctx context.Context) ContentKeyPolicyPolicyOptionTokenRestrictionRequiredClaimArrayOutput

type ContentKeyPolicyPolicyOptionTokenRestrictionRequiredClaimInput

type ContentKeyPolicyPolicyOptionTokenRestrictionRequiredClaimInput interface {
	pulumi.Input

	ToContentKeyPolicyPolicyOptionTokenRestrictionRequiredClaimOutput() ContentKeyPolicyPolicyOptionTokenRestrictionRequiredClaimOutput
	ToContentKeyPolicyPolicyOptionTokenRestrictionRequiredClaimOutputWithContext(context.Context) ContentKeyPolicyPolicyOptionTokenRestrictionRequiredClaimOutput
}

ContentKeyPolicyPolicyOptionTokenRestrictionRequiredClaimInput is an input type that accepts ContentKeyPolicyPolicyOptionTokenRestrictionRequiredClaimArgs and ContentKeyPolicyPolicyOptionTokenRestrictionRequiredClaimOutput values. You can construct a concrete instance of `ContentKeyPolicyPolicyOptionTokenRestrictionRequiredClaimInput` via:

ContentKeyPolicyPolicyOptionTokenRestrictionRequiredClaimArgs{...}

type ContentKeyPolicyPolicyOptionTokenRestrictionRequiredClaimOutput

type ContentKeyPolicyPolicyOptionTokenRestrictionRequiredClaimOutput struct{ *pulumi.OutputState }

func (ContentKeyPolicyPolicyOptionTokenRestrictionRequiredClaimOutput) ElementType

func (ContentKeyPolicyPolicyOptionTokenRestrictionRequiredClaimOutput) ToContentKeyPolicyPolicyOptionTokenRestrictionRequiredClaimOutput

func (ContentKeyPolicyPolicyOptionTokenRestrictionRequiredClaimOutput) ToContentKeyPolicyPolicyOptionTokenRestrictionRequiredClaimOutputWithContext

func (o ContentKeyPolicyPolicyOptionTokenRestrictionRequiredClaimOutput) ToContentKeyPolicyPolicyOptionTokenRestrictionRequiredClaimOutputWithContext(ctx context.Context) ContentKeyPolicyPolicyOptionTokenRestrictionRequiredClaimOutput

func (ContentKeyPolicyPolicyOptionTokenRestrictionRequiredClaimOutput) Type

Token claim type.

func (ContentKeyPolicyPolicyOptionTokenRestrictionRequiredClaimOutput) Value

Token claim value.

type ContentKeyPolicyState

type ContentKeyPolicyState struct {
	// A description for the Policy.
	Description pulumi.StringPtrInput
	// The Media Services account name. Changing this forces a new Content Key Policy to be created.
	MediaServicesAccountName pulumi.StringPtrInput
	// The name which should be used for this Content Key Policy. Changing this forces a new Content Key Policy to be created.
	Name pulumi.StringPtrInput
	// One or more `policyOption` blocks as defined below.
	PolicyOptions ContentKeyPolicyPolicyOptionArrayInput
	// The name of the Resource Group where the Content Key Policy should exist. Changing this forces a new Content Key Policy to be created.
	ResourceGroupName pulumi.StringPtrInput
}

func (ContentKeyPolicyState) ElementType

func (ContentKeyPolicyState) ElementType() reflect.Type

type Job

type Job struct {
	pulumi.CustomResourceState

	// Optional customer supplied description of the Job.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// A `inputAsset` block as defined below. Changing this forces a new Media Job to be created.
	InputAsset JobInputAssetOutput `pulumi:"inputAsset"`
	// The Media Services account name. Changing this forces a new Transform to be created.
	MediaServicesAccountName pulumi.StringOutput `pulumi:"mediaServicesAccountName"`
	// The name which should be used for this Media Job. Changing this forces a new Media Job to be created.
	Name pulumi.StringOutput `pulumi:"name"`
	// One or more `outputAsset` blocks as defined below. Changing this forces a new Media Job to be created.
	OutputAssets JobOutputAssetArrayOutput `pulumi:"outputAssets"`
	// Priority with which the job should be processed. Higher priority jobs are processed before lower priority jobs. If not set, the default is normal. Changing this forces a new Media Job to be created.
	Priority pulumi.StringPtrOutput `pulumi:"priority"`
	// The name of the Resource Group where the Media Job should exist. Changing this forces a new Media Job to be created.
	ResourceGroupName pulumi.StringOutput `pulumi:"resourceGroupName"`
	// The Transform name. Changing this forces a new Media Job to be created.
	TransformName pulumi.StringOutput `pulumi:"transformName"`
}

Manages a Media Job.

## Example Usage

```go 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 {
		exampleResourceGroup, err := core.NewResourceGroup(ctx, "exampleResourceGroup", &core.ResourceGroupArgs{
			Location: pulumi.String("West Europe"),
		})
		if err != nil {
			return err
		}
		exampleAccount, err := storage.NewAccount(ctx, "exampleAccount", &storage.AccountArgs{
			ResourceGroupName:      exampleResourceGroup.Name,
			Location:               exampleResourceGroup.Location,
			AccountTier:            pulumi.String("Standard"),
			AccountReplicationType: pulumi.String("GRS"),
		})
		if err != nil {
			return err
		}
		exampleServiceAccount, err := media.NewServiceAccount(ctx, "exampleServiceAccount", &media.ServiceAccountArgs{
			Location:          exampleResourceGroup.Location,
			ResourceGroupName: exampleResourceGroup.Name,
			StorageAccounts: media.ServiceAccountStorageAccountArray{
				&media.ServiceAccountStorageAccountArgs{
					Id:        exampleAccount.ID(),
					IsPrimary: pulumi.Bool(true),
				},
			},
		})
		if err != nil {
			return err
		}
		exampleTransform, err := media.NewTransform(ctx, "exampleTransform", &media.TransformArgs{
			ResourceGroupName:        exampleResourceGroup.Name,
			MediaServicesAccountName: exampleServiceAccount.Name,
			Description:              pulumi.String("My transform description"),
			Outputs: media.TransformOutputTypeArray{
				&media.TransformOutputTypeArgs{
					RelativePriority: pulumi.String("Normal"),
					OnErrorAction:    pulumi.String("ContinueJob"),
					BuiltinPreset: &media.TransformOutputBuiltinPresetArgs{
						PresetName: pulumi.String("AACGoodQualityAudio"),
					},
				},
			},
		})
		if err != nil {
			return err
		}
		input, err := media.NewAsset(ctx, "input", &media.AssetArgs{
			ResourceGroupName:        exampleResourceGroup.Name,
			MediaServicesAccountName: exampleServiceAccount.Name,
			Description:              pulumi.String("Input Asset description"),
		})
		if err != nil {
			return err
		}
		output, err := media.NewAsset(ctx, "output", &media.AssetArgs{
			ResourceGroupName:        exampleResourceGroup.Name,
			MediaServicesAccountName: exampleServiceAccount.Name,
			Description:              pulumi.String("Output Asset description"),
		})
		if err != nil {
			return err
		}
		_, err = media.NewJob(ctx, "exampleJob", &media.JobArgs{
			ResourceGroupName:        exampleResourceGroup.Name,
			MediaServicesAccountName: exampleServiceAccount.Name,
			TransformName:            exampleTransform.Name,
			Description:              pulumi.String("My Job description"),
			Priority:                 pulumi.String("Normal"),
			InputAsset: &media.JobInputAssetArgs{
				Name: input.Name,
			},
			OutputAssets: media.JobOutputAssetArray{
				&media.JobOutputAssetArgs{
					Name: output.Name,
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Media Jobs can be imported using the `resource id`, e.g.

```sh

$ pulumi import azure:media/job:Job example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resGroup1/providers/Microsoft.Media/mediaservices/account1/transforms/transform1/jobs/job1

```

func GetJob

func GetJob(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *JobState, opts ...pulumi.ResourceOption) (*Job, error)

GetJob gets an existing Job resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewJob

func NewJob(ctx *pulumi.Context,
	name string, args *JobArgs, opts ...pulumi.ResourceOption) (*Job, error)

NewJob registers a new resource with the given unique name, arguments, and options.

func (*Job) ElementType

func (*Job) ElementType() reflect.Type

func (*Job) ToJobOutput

func (i *Job) ToJobOutput() JobOutput

func (*Job) ToJobOutputWithContext

func (i *Job) ToJobOutputWithContext(ctx context.Context) JobOutput

type JobArgs

type JobArgs struct {
	// Optional customer supplied description of the Job.
	Description pulumi.StringPtrInput
	// A `inputAsset` block as defined below. Changing this forces a new Media Job to be created.
	InputAsset JobInputAssetInput
	// The Media Services account name. Changing this forces a new Transform to be created.
	MediaServicesAccountName pulumi.StringInput
	// The name which should be used for this Media Job. Changing this forces a new Media Job to be created.
	Name pulumi.StringPtrInput
	// One or more `outputAsset` blocks as defined below. Changing this forces a new Media Job to be created.
	OutputAssets JobOutputAssetArrayInput
	// Priority with which the job should be processed. Higher priority jobs are processed before lower priority jobs. If not set, the default is normal. Changing this forces a new Media Job to be created.
	Priority pulumi.StringPtrInput
	// The name of the Resource Group where the Media Job should exist. Changing this forces a new Media Job to be created.
	ResourceGroupName pulumi.StringInput
	// The Transform name. Changing this forces a new Media Job to be created.
	TransformName pulumi.StringInput
}

The set of arguments for constructing a Job resource.

func (JobArgs) ElementType

func (JobArgs) ElementType() reflect.Type

type JobArray

type JobArray []JobInput

func (JobArray) ElementType

func (JobArray) ElementType() reflect.Type

func (JobArray) ToJobArrayOutput

func (i JobArray) ToJobArrayOutput() JobArrayOutput

func (JobArray) ToJobArrayOutputWithContext

func (i JobArray) ToJobArrayOutputWithContext(ctx context.Context) JobArrayOutput

type JobArrayInput

type JobArrayInput interface {
	pulumi.Input

	ToJobArrayOutput() JobArrayOutput
	ToJobArrayOutputWithContext(context.Context) JobArrayOutput
}

JobArrayInput is an input type that accepts JobArray and JobArrayOutput values. You can construct a concrete instance of `JobArrayInput` via:

JobArray{ JobArgs{...} }

type JobArrayOutput

type JobArrayOutput struct{ *pulumi.OutputState }

func (JobArrayOutput) ElementType

func (JobArrayOutput) ElementType() reflect.Type

func (JobArrayOutput) Index

func (JobArrayOutput) ToJobArrayOutput

func (o JobArrayOutput) ToJobArrayOutput() JobArrayOutput

func (JobArrayOutput) ToJobArrayOutputWithContext

func (o JobArrayOutput) ToJobArrayOutputWithContext(ctx context.Context) JobArrayOutput

type JobInput

type JobInput interface {
	pulumi.Input

	ToJobOutput() JobOutput
	ToJobOutputWithContext(ctx context.Context) JobOutput
}

type JobInputAsset

type JobInputAsset struct {
	// A label that is assigned to a JobInputClip, that is used to satisfy a reference used in the Transform. For example, a Transform can be authored so as to take an image file with the label 'xyz' and apply it as an overlay onto the input video before it is encoded. When submitting a Job, exactly one of the JobInputs should be the image file, and it should have the label 'xyz'.
	Label *string `pulumi:"label"`
	// The name of the input Asset. Changing this forces a new Media Job to be created.
	Name string `pulumi:"name"`
}

type JobInputAssetArgs

type JobInputAssetArgs struct {
	// A label that is assigned to a JobInputClip, that is used to satisfy a reference used in the Transform. For example, a Transform can be authored so as to take an image file with the label 'xyz' and apply it as an overlay onto the input video before it is encoded. When submitting a Job, exactly one of the JobInputs should be the image file, and it should have the label 'xyz'.
	Label pulumi.StringPtrInput `pulumi:"label"`
	// The name of the input Asset. Changing this forces a new Media Job to be created.
	Name pulumi.StringInput `pulumi:"name"`
}

func (JobInputAssetArgs) ElementType

func (JobInputAssetArgs) ElementType() reflect.Type

func (JobInputAssetArgs) ToJobInputAssetOutput

func (i JobInputAssetArgs) ToJobInputAssetOutput() JobInputAssetOutput

func (JobInputAssetArgs) ToJobInputAssetOutputWithContext

func (i JobInputAssetArgs) ToJobInputAssetOutputWithContext(ctx context.Context) JobInputAssetOutput

func (JobInputAssetArgs) ToJobInputAssetPtrOutput

func (i JobInputAssetArgs) ToJobInputAssetPtrOutput() JobInputAssetPtrOutput

func (JobInputAssetArgs) ToJobInputAssetPtrOutputWithContext

func (i JobInputAssetArgs) ToJobInputAssetPtrOutputWithContext(ctx context.Context) JobInputAssetPtrOutput

type JobInputAssetInput

type JobInputAssetInput interface {
	pulumi.Input

	ToJobInputAssetOutput() JobInputAssetOutput
	ToJobInputAssetOutputWithContext(context.Context) JobInputAssetOutput
}

JobInputAssetInput is an input type that accepts JobInputAssetArgs and JobInputAssetOutput values. You can construct a concrete instance of `JobInputAssetInput` via:

JobInputAssetArgs{...}

type JobInputAssetOutput

type JobInputAssetOutput struct{ *pulumi.OutputState }

func (JobInputAssetOutput) ElementType

func (JobInputAssetOutput) ElementType() reflect.Type

func (JobInputAssetOutput) Label

A label that is assigned to a JobInputClip, that is used to satisfy a reference used in the Transform. For example, a Transform can be authored so as to take an image file with the label 'xyz' and apply it as an overlay onto the input video before it is encoded. When submitting a Job, exactly one of the JobInputs should be the image file, and it should have the label 'xyz'.

func (JobInputAssetOutput) Name

The name of the input Asset. Changing this forces a new Media Job to be created.

func (JobInputAssetOutput) ToJobInputAssetOutput

func (o JobInputAssetOutput) ToJobInputAssetOutput() JobInputAssetOutput

func (JobInputAssetOutput) ToJobInputAssetOutputWithContext

func (o JobInputAssetOutput) ToJobInputAssetOutputWithContext(ctx context.Context) JobInputAssetOutput

func (JobInputAssetOutput) ToJobInputAssetPtrOutput

func (o JobInputAssetOutput) ToJobInputAssetPtrOutput() JobInputAssetPtrOutput

func (JobInputAssetOutput) ToJobInputAssetPtrOutputWithContext

func (o JobInputAssetOutput) ToJobInputAssetPtrOutputWithContext(ctx context.Context) JobInputAssetPtrOutput

type JobInputAssetPtrInput

type JobInputAssetPtrInput interface {
	pulumi.Input

	ToJobInputAssetPtrOutput() JobInputAssetPtrOutput
	ToJobInputAssetPtrOutputWithContext(context.Context) JobInputAssetPtrOutput
}

JobInputAssetPtrInput is an input type that accepts JobInputAssetArgs, JobInputAssetPtr and JobInputAssetPtrOutput values. You can construct a concrete instance of `JobInputAssetPtrInput` via:

        JobInputAssetArgs{...}

or:

        nil

type JobInputAssetPtrOutput

type JobInputAssetPtrOutput struct{ *pulumi.OutputState }

func (JobInputAssetPtrOutput) Elem

func (JobInputAssetPtrOutput) ElementType

func (JobInputAssetPtrOutput) ElementType() reflect.Type

func (JobInputAssetPtrOutput) Label

A label that is assigned to a JobInputClip, that is used to satisfy a reference used in the Transform. For example, a Transform can be authored so as to take an image file with the label 'xyz' and apply it as an overlay onto the input video before it is encoded. When submitting a Job, exactly one of the JobInputs should be the image file, and it should have the label 'xyz'.

func (JobInputAssetPtrOutput) Name

The name of the input Asset. Changing this forces a new Media Job to be created.

func (JobInputAssetPtrOutput) ToJobInputAssetPtrOutput

func (o JobInputAssetPtrOutput) ToJobInputAssetPtrOutput() JobInputAssetPtrOutput

func (JobInputAssetPtrOutput) ToJobInputAssetPtrOutputWithContext

func (o JobInputAssetPtrOutput) ToJobInputAssetPtrOutputWithContext(ctx context.Context) JobInputAssetPtrOutput

type JobMap

type JobMap map[string]JobInput

func (JobMap) ElementType

func (JobMap) ElementType() reflect.Type

func (JobMap) ToJobMapOutput

func (i JobMap) ToJobMapOutput() JobMapOutput

func (JobMap) ToJobMapOutputWithContext

func (i JobMap) ToJobMapOutputWithContext(ctx context.Context) JobMapOutput

type JobMapInput

type JobMapInput interface {
	pulumi.Input

	ToJobMapOutput() JobMapOutput
	ToJobMapOutputWithContext(context.Context) JobMapOutput
}

JobMapInput is an input type that accepts JobMap and JobMapOutput values. You can construct a concrete instance of `JobMapInput` via:

JobMap{ "key": JobArgs{...} }

type JobMapOutput

type JobMapOutput struct{ *pulumi.OutputState }

func (JobMapOutput) ElementType

func (JobMapOutput) ElementType() reflect.Type

func (JobMapOutput) MapIndex

func (o JobMapOutput) MapIndex(k pulumi.StringInput) JobOutput

func (JobMapOutput) ToJobMapOutput

func (o JobMapOutput) ToJobMapOutput() JobMapOutput

func (JobMapOutput) ToJobMapOutputWithContext

func (o JobMapOutput) ToJobMapOutputWithContext(ctx context.Context) JobMapOutput

type JobOutput

type JobOutput struct{ *pulumi.OutputState }

func (JobOutput) Description added in v5.5.0

func (o JobOutput) Description() pulumi.StringPtrOutput

Optional customer supplied description of the Job.

func (JobOutput) ElementType

func (JobOutput) ElementType() reflect.Type

func (JobOutput) InputAsset added in v5.5.0

func (o JobOutput) InputAsset() JobInputAssetOutput

A `inputAsset` block as defined below. Changing this forces a new Media Job to be created.

func (JobOutput) MediaServicesAccountName added in v5.5.0

func (o JobOutput) MediaServicesAccountName() pulumi.StringOutput

The Media Services account name. Changing this forces a new Transform to be created.

func (JobOutput) Name added in v5.5.0

func (o JobOutput) Name() pulumi.StringOutput

The name which should be used for this Media Job. Changing this forces a new Media Job to be created.

func (JobOutput) OutputAssets added in v5.5.0

func (o JobOutput) OutputAssets() JobOutputAssetArrayOutput

One or more `outputAsset` blocks as defined below. Changing this forces a new Media Job to be created.

func (JobOutput) Priority added in v5.5.0

func (o JobOutput) Priority() pulumi.StringPtrOutput

Priority with which the job should be processed. Higher priority jobs are processed before lower priority jobs. If not set, the default is normal. Changing this forces a new Media Job to be created.

func (JobOutput) ResourceGroupName added in v5.5.0

func (o JobOutput) ResourceGroupName() pulumi.StringOutput

The name of the Resource Group where the Media Job should exist. Changing this forces a new Media Job to be created.

func (JobOutput) ToJobOutput

func (o JobOutput) ToJobOutput() JobOutput

func (JobOutput) ToJobOutputWithContext

func (o JobOutput) ToJobOutputWithContext(ctx context.Context) JobOutput

func (JobOutput) TransformName added in v5.5.0

func (o JobOutput) TransformName() pulumi.StringOutput

The Transform name. Changing this forces a new Media Job to be created.

type JobOutputAsset

type JobOutputAsset struct {
	// A label that is assigned to a JobOutput in order to help uniquely identify it. This is useful when your Transform has more than one TransformOutput, whereby your Job has more than one JobOutput. In such cases, when you submit the Job, you will add two or more JobOutputs, in the same order as TransformOutputs in the Transform. Subsequently, when you retrieve the Job, either through events or on a GET request, you can use the label to easily identify the JobOutput. If a label is not provided, a default value of '{presetName}_{outputIndex}' will be used, where the preset name is the name of the preset in the corresponding TransformOutput and the output index is the relative index of the this JobOutput within the Job. Note that this index is the same as the relative index of the corresponding TransformOutput within its Transform.
	Label *string `pulumi:"label"`
	// The name of the output Asset. Changing this forces a new Media Job to be created.
	Name string `pulumi:"name"`
}

type JobOutputAssetArgs

type JobOutputAssetArgs struct {
	// A label that is assigned to a JobOutput in order to help uniquely identify it. This is useful when your Transform has more than one TransformOutput, whereby your Job has more than one JobOutput. In such cases, when you submit the Job, you will add two or more JobOutputs, in the same order as TransformOutputs in the Transform. Subsequently, when you retrieve the Job, either through events or on a GET request, you can use the label to easily identify the JobOutput. If a label is not provided, a default value of '{presetName}_{outputIndex}' will be used, where the preset name is the name of the preset in the corresponding TransformOutput and the output index is the relative index of the this JobOutput within the Job. Note that this index is the same as the relative index of the corresponding TransformOutput within its Transform.
	Label pulumi.StringPtrInput `pulumi:"label"`
	// The name of the output Asset. Changing this forces a new Media Job to be created.
	Name pulumi.StringInput `pulumi:"name"`
}

func (JobOutputAssetArgs) ElementType

func (JobOutputAssetArgs) ElementType() reflect.Type

func (JobOutputAssetArgs) ToJobOutputAssetOutput

func (i JobOutputAssetArgs) ToJobOutputAssetOutput() JobOutputAssetOutput

func (JobOutputAssetArgs) ToJobOutputAssetOutputWithContext

func (i JobOutputAssetArgs) ToJobOutputAssetOutputWithContext(ctx context.Context) JobOutputAssetOutput

type JobOutputAssetArray

type JobOutputAssetArray []JobOutputAssetInput

func (JobOutputAssetArray) ElementType

func (JobOutputAssetArray) ElementType() reflect.Type

func (JobOutputAssetArray) ToJobOutputAssetArrayOutput

func (i JobOutputAssetArray) ToJobOutputAssetArrayOutput() JobOutputAssetArrayOutput

func (JobOutputAssetArray) ToJobOutputAssetArrayOutputWithContext

func (i JobOutputAssetArray) ToJobOutputAssetArrayOutputWithContext(ctx context.Context) JobOutputAssetArrayOutput

type JobOutputAssetArrayInput

type JobOutputAssetArrayInput interface {
	pulumi.Input

	ToJobOutputAssetArrayOutput() JobOutputAssetArrayOutput
	ToJobOutputAssetArrayOutputWithContext(context.Context) JobOutputAssetArrayOutput
}

JobOutputAssetArrayInput is an input type that accepts JobOutputAssetArray and JobOutputAssetArrayOutput values. You can construct a concrete instance of `JobOutputAssetArrayInput` via:

JobOutputAssetArray{ JobOutputAssetArgs{...} }

type JobOutputAssetArrayOutput

type JobOutputAssetArrayOutput struct{ *pulumi.OutputState }

func (JobOutputAssetArrayOutput) ElementType

func (JobOutputAssetArrayOutput) ElementType() reflect.Type

func (JobOutputAssetArrayOutput) Index

func (JobOutputAssetArrayOutput) ToJobOutputAssetArrayOutput

func (o JobOutputAssetArrayOutput) ToJobOutputAssetArrayOutput() JobOutputAssetArrayOutput

func (JobOutputAssetArrayOutput) ToJobOutputAssetArrayOutputWithContext

func (o JobOutputAssetArrayOutput) ToJobOutputAssetArrayOutputWithContext(ctx context.Context) JobOutputAssetArrayOutput

type JobOutputAssetInput

type JobOutputAssetInput interface {
	pulumi.Input

	ToJobOutputAssetOutput() JobOutputAssetOutput
	ToJobOutputAssetOutputWithContext(context.Context) JobOutputAssetOutput
}

JobOutputAssetInput is an input type that accepts JobOutputAssetArgs and JobOutputAssetOutput values. You can construct a concrete instance of `JobOutputAssetInput` via:

JobOutputAssetArgs{...}

type JobOutputAssetOutput

type JobOutputAssetOutput struct{ *pulumi.OutputState }

func (JobOutputAssetOutput) ElementType

func (JobOutputAssetOutput) ElementType() reflect.Type

func (JobOutputAssetOutput) Label

A label that is assigned to a JobOutput in order to help uniquely identify it. This is useful when your Transform has more than one TransformOutput, whereby your Job has more than one JobOutput. In such cases, when you submit the Job, you will add two or more JobOutputs, in the same order as TransformOutputs in the Transform. Subsequently, when you retrieve the Job, either through events or on a GET request, you can use the label to easily identify the JobOutput. If a label is not provided, a default value of '{presetName}_{outputIndex}' will be used, where the preset name is the name of the preset in the corresponding TransformOutput and the output index is the relative index of the this JobOutput within the Job. Note that this index is the same as the relative index of the corresponding TransformOutput within its Transform.

func (JobOutputAssetOutput) Name

The name of the output Asset. Changing this forces a new Media Job to be created.

func (JobOutputAssetOutput) ToJobOutputAssetOutput

func (o JobOutputAssetOutput) ToJobOutputAssetOutput() JobOutputAssetOutput

func (JobOutputAssetOutput) ToJobOutputAssetOutputWithContext

func (o JobOutputAssetOutput) ToJobOutputAssetOutputWithContext(ctx context.Context) JobOutputAssetOutput

type JobState

type JobState struct {
	// Optional customer supplied description of the Job.
	Description pulumi.StringPtrInput
	// A `inputAsset` block as defined below. Changing this forces a new Media Job to be created.
	InputAsset JobInputAssetPtrInput
	// The Media Services account name. Changing this forces a new Transform to be created.
	MediaServicesAccountName pulumi.StringPtrInput
	// The name which should be used for this Media Job. Changing this forces a new Media Job to be created.
	Name pulumi.StringPtrInput
	// One or more `outputAsset` blocks as defined below. Changing this forces a new Media Job to be created.
	OutputAssets JobOutputAssetArrayInput
	// Priority with which the job should be processed. Higher priority jobs are processed before lower priority jobs. If not set, the default is normal. Changing this forces a new Media Job to be created.
	Priority pulumi.StringPtrInput
	// The name of the Resource Group where the Media Job should exist. Changing this forces a new Media Job to be created.
	ResourceGroupName pulumi.StringPtrInput
	// The Transform name. Changing this forces a new Media Job to be created.
	TransformName pulumi.StringPtrInput
}

func (JobState) ElementType

func (JobState) ElementType() reflect.Type

type LiveEvent

type LiveEvent struct {
	pulumi.CustomResourceState

	// The flag indicates if the resource should be automatically started on creation. Default is `false`.
	AutoStartEnabled pulumi.BoolPtrOutput `pulumi:"autoStartEnabled"`
	// A `crossSiteAccessPolicy` block as defined below.
	CrossSiteAccessPolicy LiveEventCrossSiteAccessPolicyPtrOutput `pulumi:"crossSiteAccessPolicy"`
	// A description for the live event.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// A `encoding` block as defined below.
	Encoding LiveEventEncodingPtrOutput `pulumi:"encoding"`
	// When `useStaticHostname` is set to true, the `hostnamePrefix` specifies the first part of the hostname assigned to the live event preview and ingest endpoints. The final hostname would be a combination of this prefix, the media service account name and a short code for the Azure Media Services data center.
	HostnamePrefix pulumi.StringPtrOutput `pulumi:"hostnamePrefix"`
	// A `input` block as defined below.
	Input LiveEventInputTypeOutput `pulumi:"input"`
	// The Azure Region where the Live Event should exist. Changing this forces a new Live Event to be created.
	Location pulumi.StringOutput `pulumi:"location"`
	// The Media Services account name. Changing this forces a new Live Event to be created.
	MediaServicesAccountName pulumi.StringOutput `pulumi:"mediaServicesAccountName"`
	// The name which should be used for this Live Event. Changing this forces a new Live Event to be created.
	Name pulumi.StringOutput `pulumi:"name"`
	// A `preview` block as defined below.
	Preview LiveEventPreviewOutput `pulumi:"preview"`
	// The name of the Resource Group where the Live Event should exist. Changing this forces a new Live Event to be created.
	ResourceGroupName pulumi.StringOutput `pulumi:"resourceGroupName"`
	// A mapping of tags which should be assigned to the Live Event.
	Tags pulumi.StringMapOutput `pulumi:"tags"`
	// Specifies a list of languages (locale) to be used for speech-to-text transcription – it should match the spoken language in the audio track. The value should be in `BCP-47` format (e.g: `en-US`). [See the Microsoft Documentation for more information about the live transcription feature and the list of supported languages](https://go.microsoft.com/fwlink/?linkid=2133742).
	TranscriptionLanguages pulumi.StringArrayOutput `pulumi:"transcriptionLanguages"`
	// Specifies whether a static hostname would be assigned to the live event preview and ingest endpoints. Changing this forces a new Live Event to be created.
	UseStaticHostname pulumi.BoolPtrOutput `pulumi:"useStaticHostname"`
}

Manages a Live Event.

## Example Usage

```go 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 {
		exampleResourceGroup, err := core.NewResourceGroup(ctx, "exampleResourceGroup", &core.ResourceGroupArgs{
			Location: pulumi.String("West Europe"),
		})
		if err != nil {
			return err
		}
		exampleAccount, err := storage.NewAccount(ctx, "exampleAccount", &storage.AccountArgs{
			ResourceGroupName:      exampleResourceGroup.Name,
			Location:               exampleResourceGroup.Location,
			AccountTier:            pulumi.String("Standard"),
			AccountReplicationType: pulumi.String("GRS"),
		})
		if err != nil {
			return err
		}
		exampleServiceAccount, err := media.NewServiceAccount(ctx, "exampleServiceAccount", &media.ServiceAccountArgs{
			Location:          exampleResourceGroup.Location,
			ResourceGroupName: exampleResourceGroup.Name,
			StorageAccounts: media.ServiceAccountStorageAccountArray{
				&media.ServiceAccountStorageAccountArgs{
					Id:        exampleAccount.ID(),
					IsPrimary: pulumi.Bool(true),
				},
			},
		})
		if err != nil {
			return err
		}
		_, err = media.NewLiveEvent(ctx, "exampleLiveEvent", &media.LiveEventArgs{
			ResourceGroupName:        exampleResourceGroup.Name,
			Location:                 exampleResourceGroup.Location,
			MediaServicesAccountName: exampleServiceAccount.Name,
			Description:              pulumi.String("My Event Description"),
			Input: &media.LiveEventInputTypeArgs{
				StreamingProtocol: pulumi.String("RTMP"),
				IpAccessControlAllows: media.LiveEventInputIpAccessControlAllowArray{
					&media.LiveEventInputIpAccessControlAllowArgs{
						Name:               pulumi.String("AllowAll"),
						Address:            pulumi.String("0.0.0.0"),
						SubnetPrefixLength: pulumi.Int(0),
					},
				},
			},
			Encoding: &media.LiveEventEncodingArgs{
				Type:             pulumi.String("Standard"),
				PresetName:       pulumi.String("Default720p"),
				StretchMode:      pulumi.String("AutoFit"),
				KeyFrameInterval: pulumi.String("PT2S"),
			},
			Preview: &media.LiveEventPreviewArgs{
				IpAccessControlAllows: media.LiveEventPreviewIpAccessControlAllowArray{
					&media.LiveEventPreviewIpAccessControlAllowArgs{
						Name:               pulumi.String("AllowAll"),
						Address:            pulumi.String("0.0.0.0"),
						SubnetPrefixLength: pulumi.Int(0),
					},
				},
			},
			UseStaticHostname: pulumi.Bool(true),
			HostnamePrefix:    pulumi.String("special-event"),
			TranscriptionLanguages: pulumi.StringArray{
				pulumi.String("en-US"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Live Events can be imported using the `resource id`, e.g.

```sh

$ pulumi import azure:media/liveEvent:LiveEvent example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resGroup1/providers/Microsoft.Media/mediaservices/account1/liveevents/event1

```

func GetLiveEvent

func GetLiveEvent(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *LiveEventState, opts ...pulumi.ResourceOption) (*LiveEvent, error)

GetLiveEvent gets an existing LiveEvent resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewLiveEvent

func NewLiveEvent(ctx *pulumi.Context,
	name string, args *LiveEventArgs, opts ...pulumi.ResourceOption) (*LiveEvent, error)

NewLiveEvent registers a new resource with the given unique name, arguments, and options.

func (*LiveEvent) ElementType

func (*LiveEvent) ElementType() reflect.Type

func (*LiveEvent) ToLiveEventOutput

func (i *LiveEvent) ToLiveEventOutput() LiveEventOutput

func (*LiveEvent) ToLiveEventOutputWithContext

func (i *LiveEvent) ToLiveEventOutputWithContext(ctx context.Context) LiveEventOutput

type LiveEventArgs

type LiveEventArgs struct {
	// The flag indicates if the resource should be automatically started on creation. Default is `false`.
	AutoStartEnabled pulumi.BoolPtrInput
	// A `crossSiteAccessPolicy` block as defined below.
	CrossSiteAccessPolicy LiveEventCrossSiteAccessPolicyPtrInput
	// A description for the live event.
	Description pulumi.StringPtrInput
	// A `encoding` block as defined below.
	Encoding LiveEventEncodingPtrInput
	// When `useStaticHostname` is set to true, the `hostnamePrefix` specifies the first part of the hostname assigned to the live event preview and ingest endpoints. The final hostname would be a combination of this prefix, the media service account name and a short code for the Azure Media Services data center.
	HostnamePrefix pulumi.StringPtrInput
	// A `input` block as defined below.
	Input LiveEventInputTypeInput
	// The Azure Region where the Live Event should exist. Changing this forces a new Live Event to be created.
	Location pulumi.StringPtrInput
	// The Media Services account name. Changing this forces a new Live Event to be created.
	MediaServicesAccountName pulumi.StringInput
	// The name which should be used for this Live Event. Changing this forces a new Live Event to be created.
	Name pulumi.StringPtrInput
	// A `preview` block as defined below.
	Preview LiveEventPreviewPtrInput
	// The name of the Resource Group where the Live Event should exist. Changing this forces a new Live Event to be created.
	ResourceGroupName pulumi.StringInput
	// A mapping of tags which should be assigned to the Live Event.
	Tags pulumi.StringMapInput
	// Specifies a list of languages (locale) to be used for speech-to-text transcription – it should match the spoken language in the audio track. The value should be in `BCP-47` format (e.g: `en-US`). [See the Microsoft Documentation for more information about the live transcription feature and the list of supported languages](https://go.microsoft.com/fwlink/?linkid=2133742).
	TranscriptionLanguages pulumi.StringArrayInput
	// Specifies whether a static hostname would be assigned to the live event preview and ingest endpoints. Changing this forces a new Live Event to be created.
	UseStaticHostname pulumi.BoolPtrInput
}

The set of arguments for constructing a LiveEvent resource.

func (LiveEventArgs) ElementType

func (LiveEventArgs) ElementType() reflect.Type

type LiveEventArray

type LiveEventArray []LiveEventInput

func (LiveEventArray) ElementType

func (LiveEventArray) ElementType() reflect.Type

func (LiveEventArray) ToLiveEventArrayOutput

func (i LiveEventArray) ToLiveEventArrayOutput() LiveEventArrayOutput

func (LiveEventArray) ToLiveEventArrayOutputWithContext

func (i LiveEventArray) ToLiveEventArrayOutputWithContext(ctx context.Context) LiveEventArrayOutput

type LiveEventArrayInput

type LiveEventArrayInput interface {
	pulumi.Input

	ToLiveEventArrayOutput() LiveEventArrayOutput
	ToLiveEventArrayOutputWithContext(context.Context) LiveEventArrayOutput
}

LiveEventArrayInput is an input type that accepts LiveEventArray and LiveEventArrayOutput values. You can construct a concrete instance of `LiveEventArrayInput` via:

LiveEventArray{ LiveEventArgs{...} }

type LiveEventArrayOutput

type LiveEventArrayOutput struct{ *pulumi.OutputState }

func (LiveEventArrayOutput) ElementType

func (LiveEventArrayOutput) ElementType() reflect.Type

func (LiveEventArrayOutput) Index

func (LiveEventArrayOutput) ToLiveEventArrayOutput

func (o LiveEventArrayOutput) ToLiveEventArrayOutput() LiveEventArrayOutput

func (LiveEventArrayOutput) ToLiveEventArrayOutputWithContext

func (o LiveEventArrayOutput) ToLiveEventArrayOutputWithContext(ctx context.Context) LiveEventArrayOutput

type LiveEventCrossSiteAccessPolicy

type LiveEventCrossSiteAccessPolicy struct {
	// The content of clientaccesspolicy.xml used by Silverlight.
	ClientAccessPolicy *string `pulumi:"clientAccessPolicy"`
	// The content of the Cross Domain Policy (`crossdomain.xml`).
	CrossDomainPolicy *string `pulumi:"crossDomainPolicy"`
}

type LiveEventCrossSiteAccessPolicyArgs

type LiveEventCrossSiteAccessPolicyArgs struct {
	// The content of clientaccesspolicy.xml used by Silverlight.
	ClientAccessPolicy pulumi.StringPtrInput `pulumi:"clientAccessPolicy"`
	// The content of the Cross Domain Policy (`crossdomain.xml`).
	CrossDomainPolicy pulumi.StringPtrInput `pulumi:"crossDomainPolicy"`
}

func (LiveEventCrossSiteAccessPolicyArgs) ElementType

func (LiveEventCrossSiteAccessPolicyArgs) ToLiveEventCrossSiteAccessPolicyOutput

func (i LiveEventCrossSiteAccessPolicyArgs) ToLiveEventCrossSiteAccessPolicyOutput() LiveEventCrossSiteAccessPolicyOutput

func (LiveEventCrossSiteAccessPolicyArgs) ToLiveEventCrossSiteAccessPolicyOutputWithContext

func (i LiveEventCrossSiteAccessPolicyArgs) ToLiveEventCrossSiteAccessPolicyOutputWithContext(ctx context.Context) LiveEventCrossSiteAccessPolicyOutput

func (LiveEventCrossSiteAccessPolicyArgs) ToLiveEventCrossSiteAccessPolicyPtrOutput

func (i LiveEventCrossSiteAccessPolicyArgs) ToLiveEventCrossSiteAccessPolicyPtrOutput() LiveEventCrossSiteAccessPolicyPtrOutput

func (LiveEventCrossSiteAccessPolicyArgs) ToLiveEventCrossSiteAccessPolicyPtrOutputWithContext

func (i LiveEventCrossSiteAccessPolicyArgs) ToLiveEventCrossSiteAccessPolicyPtrOutputWithContext(ctx context.Context) LiveEventCrossSiteAccessPolicyPtrOutput

type LiveEventCrossSiteAccessPolicyInput

type LiveEventCrossSiteAccessPolicyInput interface {
	pulumi.Input

	ToLiveEventCrossSiteAccessPolicyOutput() LiveEventCrossSiteAccessPolicyOutput
	ToLiveEventCrossSiteAccessPolicyOutputWithContext(context.Context) LiveEventCrossSiteAccessPolicyOutput
}

LiveEventCrossSiteAccessPolicyInput is an input type that accepts LiveEventCrossSiteAccessPolicyArgs and LiveEventCrossSiteAccessPolicyOutput values. You can construct a concrete instance of `LiveEventCrossSiteAccessPolicyInput` via:

LiveEventCrossSiteAccessPolicyArgs{...}

type LiveEventCrossSiteAccessPolicyOutput

type LiveEventCrossSiteAccessPolicyOutput struct{ *pulumi.OutputState }

func (LiveEventCrossSiteAccessPolicyOutput) ClientAccessPolicy

The content of clientaccesspolicy.xml used by Silverlight.

func (LiveEventCrossSiteAccessPolicyOutput) CrossDomainPolicy

The content of the Cross Domain Policy (`crossdomain.xml`).

func (LiveEventCrossSiteAccessPolicyOutput) ElementType

func (LiveEventCrossSiteAccessPolicyOutput) ToLiveEventCrossSiteAccessPolicyOutput

func (o LiveEventCrossSiteAccessPolicyOutput) ToLiveEventCrossSiteAccessPolicyOutput() LiveEventCrossSiteAccessPolicyOutput

func (LiveEventCrossSiteAccessPolicyOutput) ToLiveEventCrossSiteAccessPolicyOutputWithContext

func (o LiveEventCrossSiteAccessPolicyOutput) ToLiveEventCrossSiteAccessPolicyOutputWithContext(ctx context.Context) LiveEventCrossSiteAccessPolicyOutput

func (LiveEventCrossSiteAccessPolicyOutput) ToLiveEventCrossSiteAccessPolicyPtrOutput

func (o LiveEventCrossSiteAccessPolicyOutput) ToLiveEventCrossSiteAccessPolicyPtrOutput() LiveEventCrossSiteAccessPolicyPtrOutput

func (LiveEventCrossSiteAccessPolicyOutput) ToLiveEventCrossSiteAccessPolicyPtrOutputWithContext

func (o LiveEventCrossSiteAccessPolicyOutput) ToLiveEventCrossSiteAccessPolicyPtrOutputWithContext(ctx context.Context) LiveEventCrossSiteAccessPolicyPtrOutput

type LiveEventCrossSiteAccessPolicyPtrInput

type LiveEventCrossSiteAccessPolicyPtrInput interface {
	pulumi.Input

	ToLiveEventCrossSiteAccessPolicyPtrOutput() LiveEventCrossSiteAccessPolicyPtrOutput
	ToLiveEventCrossSiteAccessPolicyPtrOutputWithContext(context.Context) LiveEventCrossSiteAccessPolicyPtrOutput
}

LiveEventCrossSiteAccessPolicyPtrInput is an input type that accepts LiveEventCrossSiteAccessPolicyArgs, LiveEventCrossSiteAccessPolicyPtr and LiveEventCrossSiteAccessPolicyPtrOutput values. You can construct a concrete instance of `LiveEventCrossSiteAccessPolicyPtrInput` via:

        LiveEventCrossSiteAccessPolicyArgs{...}

or:

        nil

type LiveEventCrossSiteAccessPolicyPtrOutput

type LiveEventCrossSiteAccessPolicyPtrOutput struct{ *pulumi.OutputState }

func (LiveEventCrossSiteAccessPolicyPtrOutput) ClientAccessPolicy

The content of clientaccesspolicy.xml used by Silverlight.

func (LiveEventCrossSiteAccessPolicyPtrOutput) CrossDomainPolicy

The content of the Cross Domain Policy (`crossdomain.xml`).

func (LiveEventCrossSiteAccessPolicyPtrOutput) Elem

func (LiveEventCrossSiteAccessPolicyPtrOutput) ElementType

func (LiveEventCrossSiteAccessPolicyPtrOutput) ToLiveEventCrossSiteAccessPolicyPtrOutput

func (o LiveEventCrossSiteAccessPolicyPtrOutput) ToLiveEventCrossSiteAccessPolicyPtrOutput() LiveEventCrossSiteAccessPolicyPtrOutput

func (LiveEventCrossSiteAccessPolicyPtrOutput) ToLiveEventCrossSiteAccessPolicyPtrOutputWithContext

func (o LiveEventCrossSiteAccessPolicyPtrOutput) ToLiveEventCrossSiteAccessPolicyPtrOutputWithContext(ctx context.Context) LiveEventCrossSiteAccessPolicyPtrOutput

type LiveEventEncoding

type LiveEventEncoding struct {
	// Use an `ISO 8601` time value between 0.5 to 20 seconds to specify the output fragment length for the video and audio tracks of an encoding live event. For example, use `PT2S` to indicate 2 seconds. For the video track it also defines the key frame interval, or the length of a GoP (group of pictures). If this value is not set for an encoding live event, the fragment duration defaults to 2 seconds. The value cannot be set for pass-through live events.
	KeyFrameInterval *string `pulumi:"keyFrameInterval"`
	// The optional encoding preset name, used when `type` is not `None`. If the `type` is set to `Standard`, then the default preset name is `Default720p`. Else if the `type` is set to `Premium1080p`, the default preset is `Default1080p`. Changing this forces a new resource to be created.
	PresetName *string `pulumi:"presetName"`
	// Specifies how the input video will be resized to fit the desired output resolution(s). Allowed values are `None`, `AutoFit` or `AutoSize`. Default is `None`.
	StretchMode *string `pulumi:"stretchMode"`
	// Live event type. Allowed values are `None`, `Premium1080p` or `Standard`. When set to `None`, the service simply passes through the incoming video and audio layer(s) to the output. When `type` is set to `Standard` or `Premium1080p`, a live encoder transcodes the incoming stream into multiple bitrates or layers. Defaults to `None`. Changing this forces a new resource to be created.
	Type *string `pulumi:"type"`
}

type LiveEventEncodingArgs

type LiveEventEncodingArgs struct {
	// Use an `ISO 8601` time value between 0.5 to 20 seconds to specify the output fragment length for the video and audio tracks of an encoding live event. For example, use `PT2S` to indicate 2 seconds. For the video track it also defines the key frame interval, or the length of a GoP (group of pictures). If this value is not set for an encoding live event, the fragment duration defaults to 2 seconds. The value cannot be set for pass-through live events.
	KeyFrameInterval pulumi.StringPtrInput `pulumi:"keyFrameInterval"`
	// The optional encoding preset name, used when `type` is not `None`. If the `type` is set to `Standard`, then the default preset name is `Default720p`. Else if the `type` is set to `Premium1080p`, the default preset is `Default1080p`. Changing this forces a new resource to be created.
	PresetName pulumi.StringPtrInput `pulumi:"presetName"`
	// Specifies how the input video will be resized to fit the desired output resolution(s). Allowed values are `None`, `AutoFit` or `AutoSize`. Default is `None`.
	StretchMode pulumi.StringPtrInput `pulumi:"stretchMode"`
	// Live event type. Allowed values are `None`, `Premium1080p` or `Standard`. When set to `None`, the service simply passes through the incoming video and audio layer(s) to the output. When `type` is set to `Standard` or `Premium1080p`, a live encoder transcodes the incoming stream into multiple bitrates or layers. Defaults to `None`. Changing this forces a new resource to be created.
	Type pulumi.StringPtrInput `pulumi:"type"`
}

func (LiveEventEncodingArgs) ElementType

func (LiveEventEncodingArgs) ElementType() reflect.Type

func (LiveEventEncodingArgs) ToLiveEventEncodingOutput

func (i LiveEventEncodingArgs) ToLiveEventEncodingOutput() LiveEventEncodingOutput

func (LiveEventEncodingArgs) ToLiveEventEncodingOutputWithContext

func (i LiveEventEncodingArgs) ToLiveEventEncodingOutputWithContext(ctx context.Context) LiveEventEncodingOutput

func (LiveEventEncodingArgs) ToLiveEventEncodingPtrOutput

func (i LiveEventEncodingArgs) ToLiveEventEncodingPtrOutput() LiveEventEncodingPtrOutput

func (LiveEventEncodingArgs) ToLiveEventEncodingPtrOutputWithContext

func (i LiveEventEncodingArgs) ToLiveEventEncodingPtrOutputWithContext(ctx context.Context) LiveEventEncodingPtrOutput

type LiveEventEncodingInput

type LiveEventEncodingInput interface {
	pulumi.Input

	ToLiveEventEncodingOutput() LiveEventEncodingOutput
	ToLiveEventEncodingOutputWithContext(context.Context) LiveEventEncodingOutput
}

LiveEventEncodingInput is an input type that accepts LiveEventEncodingArgs and LiveEventEncodingOutput values. You can construct a concrete instance of `LiveEventEncodingInput` via:

LiveEventEncodingArgs{...}

type LiveEventEncodingOutput

type LiveEventEncodingOutput struct{ *pulumi.OutputState }

func (LiveEventEncodingOutput) ElementType

func (LiveEventEncodingOutput) ElementType() reflect.Type

func (LiveEventEncodingOutput) KeyFrameInterval

func (o LiveEventEncodingOutput) KeyFrameInterval() pulumi.StringPtrOutput

Use an `ISO 8601` time value between 0.5 to 20 seconds to specify the output fragment length for the video and audio tracks of an encoding live event. For example, use `PT2S` to indicate 2 seconds. For the video track it also defines the key frame interval, or the length of a GoP (group of pictures). If this value is not set for an encoding live event, the fragment duration defaults to 2 seconds. The value cannot be set for pass-through live events.

func (LiveEventEncodingOutput) PresetName

The optional encoding preset name, used when `type` is not `None`. If the `type` is set to `Standard`, then the default preset name is `Default720p`. Else if the `type` is set to `Premium1080p`, the default preset is `Default1080p`. Changing this forces a new resource to be created.

func (LiveEventEncodingOutput) StretchMode

Specifies how the input video will be resized to fit the desired output resolution(s). Allowed values are `None`, `AutoFit` or `AutoSize`. Default is `None`.

func (LiveEventEncodingOutput) ToLiveEventEncodingOutput

func (o LiveEventEncodingOutput) ToLiveEventEncodingOutput() LiveEventEncodingOutput

func (LiveEventEncodingOutput) ToLiveEventEncodingOutputWithContext

func (o LiveEventEncodingOutput) ToLiveEventEncodingOutputWithContext(ctx context.Context) LiveEventEncodingOutput

func (LiveEventEncodingOutput) ToLiveEventEncodingPtrOutput

func (o LiveEventEncodingOutput) ToLiveEventEncodingPtrOutput() LiveEventEncodingPtrOutput

func (LiveEventEncodingOutput) ToLiveEventEncodingPtrOutputWithContext

func (o LiveEventEncodingOutput) ToLiveEventEncodingPtrOutputWithContext(ctx context.Context) LiveEventEncodingPtrOutput

func (LiveEventEncodingOutput) Type

Live event type. Allowed values are `None`, `Premium1080p` or `Standard`. When set to `None`, the service simply passes through the incoming video and audio layer(s) to the output. When `type` is set to `Standard` or `Premium1080p`, a live encoder transcodes the incoming stream into multiple bitrates or layers. Defaults to `None`. Changing this forces a new resource to be created.

type LiveEventEncodingPtrInput

type LiveEventEncodingPtrInput interface {
	pulumi.Input

	ToLiveEventEncodingPtrOutput() LiveEventEncodingPtrOutput
	ToLiveEventEncodingPtrOutputWithContext(context.Context) LiveEventEncodingPtrOutput
}

LiveEventEncodingPtrInput is an input type that accepts LiveEventEncodingArgs, LiveEventEncodingPtr and LiveEventEncodingPtrOutput values. You can construct a concrete instance of `LiveEventEncodingPtrInput` via:

        LiveEventEncodingArgs{...}

or:

        nil

type LiveEventEncodingPtrOutput

type LiveEventEncodingPtrOutput struct{ *pulumi.OutputState }

func (LiveEventEncodingPtrOutput) Elem

func (LiveEventEncodingPtrOutput) ElementType

func (LiveEventEncodingPtrOutput) ElementType() reflect.Type

func (LiveEventEncodingPtrOutput) KeyFrameInterval

func (o LiveEventEncodingPtrOutput) KeyFrameInterval() pulumi.StringPtrOutput

Use an `ISO 8601` time value between 0.5 to 20 seconds to specify the output fragment length for the video and audio tracks of an encoding live event. For example, use `PT2S` to indicate 2 seconds. For the video track it also defines the key frame interval, or the length of a GoP (group of pictures). If this value is not set for an encoding live event, the fragment duration defaults to 2 seconds. The value cannot be set for pass-through live events.

func (LiveEventEncodingPtrOutput) PresetName

The optional encoding preset name, used when `type` is not `None`. If the `type` is set to `Standard`, then the default preset name is `Default720p`. Else if the `type` is set to `Premium1080p`, the default preset is `Default1080p`. Changing this forces a new resource to be created.

func (LiveEventEncodingPtrOutput) StretchMode

Specifies how the input video will be resized to fit the desired output resolution(s). Allowed values are `None`, `AutoFit` or `AutoSize`. Default is `None`.

func (LiveEventEncodingPtrOutput) ToLiveEventEncodingPtrOutput

func (o LiveEventEncodingPtrOutput) ToLiveEventEncodingPtrOutput() LiveEventEncodingPtrOutput

func (LiveEventEncodingPtrOutput) ToLiveEventEncodingPtrOutputWithContext

func (o LiveEventEncodingPtrOutput) ToLiveEventEncodingPtrOutputWithContext(ctx context.Context) LiveEventEncodingPtrOutput

func (LiveEventEncodingPtrOutput) Type

Live event type. Allowed values are `None`, `Premium1080p` or `Standard`. When set to `None`, the service simply passes through the incoming video and audio layer(s) to the output. When `type` is set to `Standard` or `Premium1080p`, a live encoder transcodes the incoming stream into multiple bitrates or layers. Defaults to `None`. Changing this forces a new resource to be created.

type LiveEventInput

type LiveEventInput interface {
	pulumi.Input

	ToLiveEventOutput() LiveEventOutput
	ToLiveEventOutputWithContext(ctx context.Context) LiveEventOutput
}

type LiveEventInputEndpoint

type LiveEventInputEndpoint struct {
	Protocol *string `pulumi:"protocol"`
	Url      *string `pulumi:"url"`
}

type LiveEventInputEndpointArgs

type LiveEventInputEndpointArgs struct {
	Protocol pulumi.StringPtrInput `pulumi:"protocol"`
	Url      pulumi.StringPtrInput `pulumi:"url"`
}

func (LiveEventInputEndpointArgs) ElementType

func (LiveEventInputEndpointArgs) ElementType() reflect.Type

func (LiveEventInputEndpointArgs) ToLiveEventInputEndpointOutput

func (i LiveEventInputEndpointArgs) ToLiveEventInputEndpointOutput() LiveEventInputEndpointOutput

func (LiveEventInputEndpointArgs) ToLiveEventInputEndpointOutputWithContext

func (i LiveEventInputEndpointArgs) ToLiveEventInputEndpointOutputWithContext(ctx context.Context) LiveEventInputEndpointOutput

type LiveEventInputEndpointArray

type LiveEventInputEndpointArray []LiveEventInputEndpointInput

func (LiveEventInputEndpointArray) ElementType

func (LiveEventInputEndpointArray) ToLiveEventInputEndpointArrayOutput

func (i LiveEventInputEndpointArray) ToLiveEventInputEndpointArrayOutput() LiveEventInputEndpointArrayOutput

func (LiveEventInputEndpointArray) ToLiveEventInputEndpointArrayOutputWithContext

func (i LiveEventInputEndpointArray) ToLiveEventInputEndpointArrayOutputWithContext(ctx context.Context) LiveEventInputEndpointArrayOutput

type LiveEventInputEndpointArrayInput

type LiveEventInputEndpointArrayInput interface {
	pulumi.Input

	ToLiveEventInputEndpointArrayOutput() LiveEventInputEndpointArrayOutput
	ToLiveEventInputEndpointArrayOutputWithContext(context.Context) LiveEventInputEndpointArrayOutput
}

LiveEventInputEndpointArrayInput is an input type that accepts LiveEventInputEndpointArray and LiveEventInputEndpointArrayOutput values. You can construct a concrete instance of `LiveEventInputEndpointArrayInput` via:

LiveEventInputEndpointArray{ LiveEventInputEndpointArgs{...} }

type LiveEventInputEndpointArrayOutput

type LiveEventInputEndpointArrayOutput struct{ *pulumi.OutputState }

func (LiveEventInputEndpointArrayOutput) ElementType

func (LiveEventInputEndpointArrayOutput) Index

func (LiveEventInputEndpointArrayOutput) ToLiveEventInputEndpointArrayOutput

func (o LiveEventInputEndpointArrayOutput) ToLiveEventInputEndpointArrayOutput() LiveEventInputEndpointArrayOutput

func (LiveEventInputEndpointArrayOutput) ToLiveEventInputEndpointArrayOutputWithContext

func (o LiveEventInputEndpointArrayOutput) ToLiveEventInputEndpointArrayOutputWithContext(ctx context.Context) LiveEventInputEndpointArrayOutput

type LiveEventInputEndpointInput

type LiveEventInputEndpointInput interface {
	pulumi.Input

	ToLiveEventInputEndpointOutput() LiveEventInputEndpointOutput
	ToLiveEventInputEndpointOutputWithContext(context.Context) LiveEventInputEndpointOutput
}

LiveEventInputEndpointInput is an input type that accepts LiveEventInputEndpointArgs and LiveEventInputEndpointOutput values. You can construct a concrete instance of `LiveEventInputEndpointInput` via:

LiveEventInputEndpointArgs{...}

type LiveEventInputEndpointOutput

type LiveEventInputEndpointOutput struct{ *pulumi.OutputState }

func (LiveEventInputEndpointOutput) ElementType

func (LiveEventInputEndpointOutput) Protocol

func (LiveEventInputEndpointOutput) ToLiveEventInputEndpointOutput

func (o LiveEventInputEndpointOutput) ToLiveEventInputEndpointOutput() LiveEventInputEndpointOutput

func (LiveEventInputEndpointOutput) ToLiveEventInputEndpointOutputWithContext

func (o LiveEventInputEndpointOutput) ToLiveEventInputEndpointOutputWithContext(ctx context.Context) LiveEventInputEndpointOutput

func (LiveEventInputEndpointOutput) Url

type LiveEventInputIpAccessControlAllow

type LiveEventInputIpAccessControlAllow struct {
	// The IP address or CIDR range.
	Address *string `pulumi:"address"`
	// The friendly name for the IP address range.
	Name *string `pulumi:"name"`
	// The subnet mask prefix length (see CIDR notation).
	SubnetPrefixLength *int `pulumi:"subnetPrefixLength"`
}

type LiveEventInputIpAccessControlAllowArgs

type LiveEventInputIpAccessControlAllowArgs struct {
	// The IP address or CIDR range.
	Address pulumi.StringPtrInput `pulumi:"address"`
	// The friendly name for the IP address range.
	Name pulumi.StringPtrInput `pulumi:"name"`
	// The subnet mask prefix length (see CIDR notation).
	SubnetPrefixLength pulumi.IntPtrInput `pulumi:"subnetPrefixLength"`
}

func (LiveEventInputIpAccessControlAllowArgs) ElementType

func (LiveEventInputIpAccessControlAllowArgs) ToLiveEventInputIpAccessControlAllowOutput

func (i LiveEventInputIpAccessControlAllowArgs) ToLiveEventInputIpAccessControlAllowOutput() LiveEventInputIpAccessControlAllowOutput

func (LiveEventInputIpAccessControlAllowArgs) ToLiveEventInputIpAccessControlAllowOutputWithContext

func (i LiveEventInputIpAccessControlAllowArgs) ToLiveEventInputIpAccessControlAllowOutputWithContext(ctx context.Context) LiveEventInputIpAccessControlAllowOutput

type LiveEventInputIpAccessControlAllowArray

type LiveEventInputIpAccessControlAllowArray []LiveEventInputIpAccessControlAllowInput

func (LiveEventInputIpAccessControlAllowArray) ElementType

func (LiveEventInputIpAccessControlAllowArray) ToLiveEventInputIpAccessControlAllowArrayOutput

func (i LiveEventInputIpAccessControlAllowArray) ToLiveEventInputIpAccessControlAllowArrayOutput() LiveEventInputIpAccessControlAllowArrayOutput

func (LiveEventInputIpAccessControlAllowArray) ToLiveEventInputIpAccessControlAllowArrayOutputWithContext

func (i LiveEventInputIpAccessControlAllowArray) ToLiveEventInputIpAccessControlAllowArrayOutputWithContext(ctx context.Context) LiveEventInputIpAccessControlAllowArrayOutput

type LiveEventInputIpAccessControlAllowArrayInput

type LiveEventInputIpAccessControlAllowArrayInput interface {
	pulumi.Input

	ToLiveEventInputIpAccessControlAllowArrayOutput() LiveEventInputIpAccessControlAllowArrayOutput
	ToLiveEventInputIpAccessControlAllowArrayOutputWithContext(context.Context) LiveEventInputIpAccessControlAllowArrayOutput
}

LiveEventInputIpAccessControlAllowArrayInput is an input type that accepts LiveEventInputIpAccessControlAllowArray and LiveEventInputIpAccessControlAllowArrayOutput values. You can construct a concrete instance of `LiveEventInputIpAccessControlAllowArrayInput` via:

LiveEventInputIpAccessControlAllowArray{ LiveEventInputIpAccessControlAllowArgs{...} }

type LiveEventInputIpAccessControlAllowArrayOutput

type LiveEventInputIpAccessControlAllowArrayOutput struct{ *pulumi.OutputState }

func (LiveEventInputIpAccessControlAllowArrayOutput) ElementType

func (LiveEventInputIpAccessControlAllowArrayOutput) Index

func (LiveEventInputIpAccessControlAllowArrayOutput) ToLiveEventInputIpAccessControlAllowArrayOutput

func (o LiveEventInputIpAccessControlAllowArrayOutput) ToLiveEventInputIpAccessControlAllowArrayOutput() LiveEventInputIpAccessControlAllowArrayOutput

func (LiveEventInputIpAccessControlAllowArrayOutput) ToLiveEventInputIpAccessControlAllowArrayOutputWithContext

func (o LiveEventInputIpAccessControlAllowArrayOutput) ToLiveEventInputIpAccessControlAllowArrayOutputWithContext(ctx context.Context) LiveEventInputIpAccessControlAllowArrayOutput

type LiveEventInputIpAccessControlAllowInput

type LiveEventInputIpAccessControlAllowInput interface {
	pulumi.Input

	ToLiveEventInputIpAccessControlAllowOutput() LiveEventInputIpAccessControlAllowOutput
	ToLiveEventInputIpAccessControlAllowOutputWithContext(context.Context) LiveEventInputIpAccessControlAllowOutput
}

LiveEventInputIpAccessControlAllowInput is an input type that accepts LiveEventInputIpAccessControlAllowArgs and LiveEventInputIpAccessControlAllowOutput values. You can construct a concrete instance of `LiveEventInputIpAccessControlAllowInput` via:

LiveEventInputIpAccessControlAllowArgs{...}

type LiveEventInputIpAccessControlAllowOutput

type LiveEventInputIpAccessControlAllowOutput struct{ *pulumi.OutputState }

func (LiveEventInputIpAccessControlAllowOutput) Address

The IP address or CIDR range.

func (LiveEventInputIpAccessControlAllowOutput) ElementType

func (LiveEventInputIpAccessControlAllowOutput) Name

The friendly name for the IP address range.

func (LiveEventInputIpAccessControlAllowOutput) SubnetPrefixLength

The subnet mask prefix length (see CIDR notation).

func (LiveEventInputIpAccessControlAllowOutput) ToLiveEventInputIpAccessControlAllowOutput

func (o LiveEventInputIpAccessControlAllowOutput) ToLiveEventInputIpAccessControlAllowOutput() LiveEventInputIpAccessControlAllowOutput

func (LiveEventInputIpAccessControlAllowOutput) ToLiveEventInputIpAccessControlAllowOutputWithContext

func (o LiveEventInputIpAccessControlAllowOutput) ToLiveEventInputIpAccessControlAllowOutputWithContext(ctx context.Context) LiveEventInputIpAccessControlAllowOutput

type LiveEventInputType

type LiveEventInputType struct {
	// A UUID in string form to uniquely identify the stream. If omitted, the service will generate a unique value. Changing this forces a new value to be created.
	AccessToken *string                  `pulumi:"accessToken"`
	Endpoints   []LiveEventInputEndpoint `pulumi:"endpoints"`
	// One or more `ipAccessControlAllow` blocks as defined below.
	IpAccessControlAllows []LiveEventInputIpAccessControlAllow `pulumi:"ipAccessControlAllows"`
	// ISO 8601 time duration of the key frame interval duration of the input. This value sets the `EXT-X-TARGETDURATION` property in the HLS output. For example, use PT2S to indicate 2 seconds. This field cannot be set when `type` is set to `Encoding`.
	KeyFrameIntervalDuration *string `pulumi:"keyFrameIntervalDuration"`
	// The input protocol for the live event. Allowed values are `FragmentedMP4` and `RTMP`. Changing this forces a new resource to be created.
	StreamingProtocol *string `pulumi:"streamingProtocol"`
}

type LiveEventInputTypeArgs

type LiveEventInputTypeArgs struct {
	// A UUID in string form to uniquely identify the stream. If omitted, the service will generate a unique value. Changing this forces a new value to be created.
	AccessToken pulumi.StringPtrInput            `pulumi:"accessToken"`
	Endpoints   LiveEventInputEndpointArrayInput `pulumi:"endpoints"`
	// One or more `ipAccessControlAllow` blocks as defined below.
	IpAccessControlAllows LiveEventInputIpAccessControlAllowArrayInput `pulumi:"ipAccessControlAllows"`
	// ISO 8601 time duration of the key frame interval duration of the input. This value sets the `EXT-X-TARGETDURATION` property in the HLS output. For example, use PT2S to indicate 2 seconds. This field cannot be set when `type` is set to `Encoding`.
	KeyFrameIntervalDuration pulumi.StringPtrInput `pulumi:"keyFrameIntervalDuration"`
	// The input protocol for the live event. Allowed values are `FragmentedMP4` and `RTMP`. Changing this forces a new resource to be created.
	StreamingProtocol pulumi.StringPtrInput `pulumi:"streamingProtocol"`
}

func (LiveEventInputTypeArgs) ElementType

func (LiveEventInputTypeArgs) ElementType() reflect.Type

func (LiveEventInputTypeArgs) ToLiveEventInputTypeOutput

func (i LiveEventInputTypeArgs) ToLiveEventInputTypeOutput() LiveEventInputTypeOutput

func (LiveEventInputTypeArgs) ToLiveEventInputTypeOutputWithContext

func (i LiveEventInputTypeArgs) ToLiveEventInputTypeOutputWithContext(ctx context.Context) LiveEventInputTypeOutput

func (LiveEventInputTypeArgs) ToLiveEventInputTypePtrOutput

func (i LiveEventInputTypeArgs) ToLiveEventInputTypePtrOutput() LiveEventInputTypePtrOutput

func (LiveEventInputTypeArgs) ToLiveEventInputTypePtrOutputWithContext

func (i LiveEventInputTypeArgs) ToLiveEventInputTypePtrOutputWithContext(ctx context.Context) LiveEventInputTypePtrOutput

type LiveEventInputTypeInput

type LiveEventInputTypeInput interface {
	pulumi.Input

	ToLiveEventInputTypeOutput() LiveEventInputTypeOutput
	ToLiveEventInputTypeOutputWithContext(context.Context) LiveEventInputTypeOutput
}

LiveEventInputTypeInput is an input type that accepts LiveEventInputTypeArgs and LiveEventInputTypeOutput values. You can construct a concrete instance of `LiveEventInputTypeInput` via:

LiveEventInputTypeArgs{...}

type LiveEventInputTypeOutput

type LiveEventInputTypeOutput struct{ *pulumi.OutputState }

func (LiveEventInputTypeOutput) AccessToken

A UUID in string form to uniquely identify the stream. If omitted, the service will generate a unique value. Changing this forces a new value to be created.

func (LiveEventInputTypeOutput) ElementType

func (LiveEventInputTypeOutput) ElementType() reflect.Type

func (LiveEventInputTypeOutput) Endpoints

func (LiveEventInputTypeOutput) IpAccessControlAllows

One or more `ipAccessControlAllow` blocks as defined below.

func (LiveEventInputTypeOutput) KeyFrameIntervalDuration

func (o LiveEventInputTypeOutput) KeyFrameIntervalDuration() pulumi.StringPtrOutput

ISO 8601 time duration of the key frame interval duration of the input. This value sets the `EXT-X-TARGETDURATION` property in the HLS output. For example, use PT2S to indicate 2 seconds. This field cannot be set when `type` is set to `Encoding`.

func (LiveEventInputTypeOutput) StreamingProtocol

func (o LiveEventInputTypeOutput) StreamingProtocol() pulumi.StringPtrOutput

The input protocol for the live event. Allowed values are `FragmentedMP4` and `RTMP`. Changing this forces a new resource to be created.

func (LiveEventInputTypeOutput) ToLiveEventInputTypeOutput

func (o LiveEventInputTypeOutput) ToLiveEventInputTypeOutput() LiveEventInputTypeOutput

func (LiveEventInputTypeOutput) ToLiveEventInputTypeOutputWithContext

func (o LiveEventInputTypeOutput) ToLiveEventInputTypeOutputWithContext(ctx context.Context) LiveEventInputTypeOutput

func (LiveEventInputTypeOutput) ToLiveEventInputTypePtrOutput

func (o LiveEventInputTypeOutput) ToLiveEventInputTypePtrOutput() LiveEventInputTypePtrOutput

func (LiveEventInputTypeOutput) ToLiveEventInputTypePtrOutputWithContext

func (o LiveEventInputTypeOutput) ToLiveEventInputTypePtrOutputWithContext(ctx context.Context) LiveEventInputTypePtrOutput

type LiveEventInputTypePtrInput

type LiveEventInputTypePtrInput interface {
	pulumi.Input

	ToLiveEventInputTypePtrOutput() LiveEventInputTypePtrOutput
	ToLiveEventInputTypePtrOutputWithContext(context.Context) LiveEventInputTypePtrOutput
}

LiveEventInputTypePtrInput is an input type that accepts LiveEventInputTypeArgs, LiveEventInputTypePtr and LiveEventInputTypePtrOutput values. You can construct a concrete instance of `LiveEventInputTypePtrInput` via:

        LiveEventInputTypeArgs{...}

or:

        nil

type LiveEventInputTypePtrOutput

type LiveEventInputTypePtrOutput struct{ *pulumi.OutputState }

func (LiveEventInputTypePtrOutput) AccessToken

A UUID in string form to uniquely identify the stream. If omitted, the service will generate a unique value. Changing this forces a new value to be created.

func (LiveEventInputTypePtrOutput) Elem

func (LiveEventInputTypePtrOutput) ElementType

func (LiveEventInputTypePtrOutput) Endpoints

func (LiveEventInputTypePtrOutput) IpAccessControlAllows

One or more `ipAccessControlAllow` blocks as defined below.

func (LiveEventInputTypePtrOutput) KeyFrameIntervalDuration

func (o LiveEventInputTypePtrOutput) KeyFrameIntervalDuration() pulumi.StringPtrOutput

ISO 8601 time duration of the key frame interval duration of the input. This value sets the `EXT-X-TARGETDURATION` property in the HLS output. For example, use PT2S to indicate 2 seconds. This field cannot be set when `type` is set to `Encoding`.

func (LiveEventInputTypePtrOutput) StreamingProtocol

func (o LiveEventInputTypePtrOutput) StreamingProtocol() pulumi.StringPtrOutput

The input protocol for the live event. Allowed values are `FragmentedMP4` and `RTMP`. Changing this forces a new resource to be created.

func (LiveEventInputTypePtrOutput) ToLiveEventInputTypePtrOutput

func (o LiveEventInputTypePtrOutput) ToLiveEventInputTypePtrOutput() LiveEventInputTypePtrOutput

func (LiveEventInputTypePtrOutput) ToLiveEventInputTypePtrOutputWithContext

func (o LiveEventInputTypePtrOutput) ToLiveEventInputTypePtrOutputWithContext(ctx context.Context) LiveEventInputTypePtrOutput

type LiveEventMap

type LiveEventMap map[string]LiveEventInput

func (LiveEventMap) ElementType

func (LiveEventMap) ElementType() reflect.Type

func (LiveEventMap) ToLiveEventMapOutput

func (i LiveEventMap) ToLiveEventMapOutput() LiveEventMapOutput

func (LiveEventMap) ToLiveEventMapOutputWithContext

func (i LiveEventMap) ToLiveEventMapOutputWithContext(ctx context.Context) LiveEventMapOutput

type LiveEventMapInput

type LiveEventMapInput interface {
	pulumi.Input

	ToLiveEventMapOutput() LiveEventMapOutput
	ToLiveEventMapOutputWithContext(context.Context) LiveEventMapOutput
}

LiveEventMapInput is an input type that accepts LiveEventMap and LiveEventMapOutput values. You can construct a concrete instance of `LiveEventMapInput` via:

LiveEventMap{ "key": LiveEventArgs{...} }

type LiveEventMapOutput

type LiveEventMapOutput struct{ *pulumi.OutputState }

func (LiveEventMapOutput) ElementType

func (LiveEventMapOutput) ElementType() reflect.Type

func (LiveEventMapOutput) MapIndex

func (LiveEventMapOutput) ToLiveEventMapOutput

func (o LiveEventMapOutput) ToLiveEventMapOutput() LiveEventMapOutput

func (LiveEventMapOutput) ToLiveEventMapOutputWithContext

func (o LiveEventMapOutput) ToLiveEventMapOutputWithContext(ctx context.Context) LiveEventMapOutput

type LiveEventOutput

type LiveEventOutput struct{ *pulumi.OutputState }

func (LiveEventOutput) AutoStartEnabled added in v5.5.0

func (o LiveEventOutput) AutoStartEnabled() pulumi.BoolPtrOutput

The flag indicates if the resource should be automatically started on creation. Default is `false`.

func (LiveEventOutput) CrossSiteAccessPolicy added in v5.5.0

func (o LiveEventOutput) CrossSiteAccessPolicy() LiveEventCrossSiteAccessPolicyPtrOutput

A `crossSiteAccessPolicy` block as defined below.

func (LiveEventOutput) Description added in v5.5.0

func (o LiveEventOutput) Description() pulumi.StringPtrOutput

A description for the live event.

func (LiveEventOutput) ElementType

func (LiveEventOutput) ElementType() reflect.Type

func (LiveEventOutput) Encoding added in v5.5.0

A `encoding` block as defined below.

func (LiveEventOutput) HostnamePrefix added in v5.5.0

func (o LiveEventOutput) HostnamePrefix() pulumi.StringPtrOutput

When `useStaticHostname` is set to true, the `hostnamePrefix` specifies the first part of the hostname assigned to the live event preview and ingest endpoints. The final hostname would be a combination of this prefix, the media service account name and a short code for the Azure Media Services data center.

func (LiveEventOutput) Input added in v5.5.0

A `input` block as defined below.

func (LiveEventOutput) Location added in v5.5.0

func (o LiveEventOutput) Location() pulumi.StringOutput

The Azure Region where the Live Event should exist. Changing this forces a new Live Event to be created.

func (LiveEventOutput) MediaServicesAccountName added in v5.5.0

func (o LiveEventOutput) MediaServicesAccountName() pulumi.StringOutput

The Media Services account name. Changing this forces a new Live Event to be created.

func (LiveEventOutput) Name added in v5.5.0

The name which should be used for this Live Event. Changing this forces a new Live Event to be created.

func (LiveEventOutput) Preview added in v5.5.0

A `preview` block as defined below.

func (LiveEventOutput) ResourceGroupName added in v5.5.0

func (o LiveEventOutput) ResourceGroupName() pulumi.StringOutput

The name of the Resource Group where the Live Event should exist. Changing this forces a new Live Event to be created.

func (LiveEventOutput) Tags added in v5.5.0

A mapping of tags which should be assigned to the Live Event.

func (LiveEventOutput) ToLiveEventOutput

func (o LiveEventOutput) ToLiveEventOutput() LiveEventOutput

func (LiveEventOutput) ToLiveEventOutputWithContext

func (o LiveEventOutput) ToLiveEventOutputWithContext(ctx context.Context) LiveEventOutput

func (LiveEventOutput) TranscriptionLanguages added in v5.5.0

func (o LiveEventOutput) TranscriptionLanguages() pulumi.StringArrayOutput

Specifies a list of languages (locale) to be used for speech-to-text transcription – it should match the spoken language in the audio track. The value should be in `BCP-47` format (e.g: `en-US`). [See the Microsoft Documentation for more information about the live transcription feature and the list of supported languages](https://go.microsoft.com/fwlink/?linkid=2133742).

func (LiveEventOutput) UseStaticHostname added in v5.5.0

func (o LiveEventOutput) UseStaticHostname() pulumi.BoolPtrOutput

Specifies whether a static hostname would be assigned to the live event preview and ingest endpoints. Changing this forces a new Live Event to be created.

type LiveEventOutputResource

type LiveEventOutputResource struct {
	pulumi.CustomResourceState

	// `ISO 8601` time between 1 minute to 25 hours to indicate the maximum content length that can be archived in the asset for this live output. This also sets the maximum content length for the rewind window. For example, use `PT1H30M` to indicate 1 hour and 30 minutes of archive window. Changing this forces a new Live Output to be created.
	ArchiveWindowDuration pulumi.StringOutput `pulumi:"archiveWindowDuration"`
	// The asset that the live output will write to. Changing this forces a new Live Output to be created.
	AssetName pulumi.StringOutput `pulumi:"assetName"`
	// The description of the live output. Changing this forces a new Live Output to be created.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// The number of fragments in an HTTP Live Streaming (HLS) TS segment in the output of the live event. This value does not affect the packing ratio for HLS CMAF output. Changing this forces a new Live Output to be created.
	HlsFragmentsPerTsSegment pulumi.IntPtrOutput `pulumi:"hlsFragmentsPerTsSegment"`
	// The id of the live event. Changing this forces a new Live Output to be created.
	LiveEventId pulumi.StringOutput `pulumi:"liveEventId"`
	// The manifest file name. If not provided, the service will generate one automatically. Changing this forces a new Live Output to be created.
	ManifestName pulumi.StringOutput `pulumi:"manifestName"`
	// The name which should be used for this Live Event Output. Changing this forces a new Live Output to be created.
	Name                    pulumi.StringOutput `pulumi:"name"`
	OutputSnapTimeInSeconds pulumi.IntPtrOutput `pulumi:"outputSnapTimeInSeconds"`
}

Manages a Azure Media Live Event Output.

## Example Usage

```go 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 {
		exampleResourceGroup, err := core.NewResourceGroup(ctx, "exampleResourceGroup", &core.ResourceGroupArgs{
			Location: pulumi.String("West Europe"),
		})
		if err != nil {
			return err
		}
		exampleAccount, err := storage.NewAccount(ctx, "exampleAccount", &storage.AccountArgs{
			ResourceGroupName:      exampleResourceGroup.Name,
			Location:               exampleResourceGroup.Location,
			AccountTier:            pulumi.String("Standard"),
			AccountReplicationType: pulumi.String("GRS"),
		})
		if err != nil {
			return err
		}
		exampleServiceAccount, err := media.NewServiceAccount(ctx, "exampleServiceAccount", &media.ServiceAccountArgs{
			Location:          exampleResourceGroup.Location,
			ResourceGroupName: exampleResourceGroup.Name,
			StorageAccounts: media.ServiceAccountStorageAccountArray{
				&media.ServiceAccountStorageAccountArgs{
					Id:        exampleAccount.ID(),
					IsPrimary: pulumi.Bool(true),
				},
			},
		})
		if err != nil {
			return err
		}
		exampleAsset, err := media.NewAsset(ctx, "exampleAsset", &media.AssetArgs{
			ResourceGroupName:        exampleResourceGroup.Name,
			MediaServicesAccountName: exampleServiceAccount.Name,
		})
		if err != nil {
			return err
		}
		exampleLiveEvent, err := media.NewLiveEvent(ctx, "exampleLiveEvent", &media.LiveEventArgs{
			ResourceGroupName:        exampleResourceGroup.Name,
			Location:                 exampleResourceGroup.Location,
			MediaServicesAccountName: exampleServiceAccount.Name,
			Description:              pulumi.String("My Event Description"),
			Input: &media.LiveEventInputTypeArgs{
				StreamingProtocol:        pulumi.String("RTMP"),
				KeyFrameIntervalDuration: pulumi.String("PT6S"),
				IpAccessControlAllows: media.LiveEventInputIpAccessControlAllowArray{
					&media.LiveEventInputIpAccessControlAllowArgs{
						Name:               pulumi.String("AllowAll"),
						Address:            pulumi.String("0.0.0.0"),
						SubnetPrefixLength: pulumi.Int(0),
					},
				},
			},
		})
		if err != nil {
			return err
		}
		_, err = media.NewLiveEventOutput(ctx, "exampleLiveEventOutput", &media.LiveEventOutputArgs{
			LiveEventId:              exampleLiveEvent.ID(),
			ArchiveWindowDuration:    pulumi.String("PT5M"),
			AssetName:                exampleAsset.Name,
			Description:              pulumi.String("Test live output 1"),
			ManifestName:             pulumi.String("testmanifest"),
			OutputSnapTimeInSeconds:  pulumi.Int(0),
			HlsFragmentsPerTsSegment: pulumi.Int(5),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Live Outputs can be imported using the `resource id`, e.g.

```sh

$ pulumi import azure:media/liveEventOutput:LiveEventOutput example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.Media/mediaservices/account1/liveevents/event1/liveoutputs/output1

```

func GetLiveEventOutputResource

func GetLiveEventOutputResource(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *LiveEventOutputResourceState, opts ...pulumi.ResourceOption) (*LiveEventOutputResource, error)

GetLiveEventOutputResource gets an existing LiveEventOutputResource resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewLiveEventOutputResource

func NewLiveEventOutputResource(ctx *pulumi.Context,
	name string, args *LiveEventOutputResourceArgs, opts ...pulumi.ResourceOption) (*LiveEventOutputResource, error)

NewLiveEventOutputResource registers a new resource with the given unique name, arguments, and options.

func (*LiveEventOutputResource) ElementType

func (*LiveEventOutputResource) ElementType() reflect.Type

func (*LiveEventOutputResource) ToLiveEventOutputResourceOutput

func (i *LiveEventOutputResource) ToLiveEventOutputResourceOutput() LiveEventOutputResourceOutput

func (*LiveEventOutputResource) ToLiveEventOutputResourceOutputWithContext

func (i *LiveEventOutputResource) ToLiveEventOutputResourceOutputWithContext(ctx context.Context) LiveEventOutputResourceOutput

type LiveEventOutputResourceArgs

type LiveEventOutputResourceArgs struct {
	// `ISO 8601` time between 1 minute to 25 hours to indicate the maximum content length that can be archived in the asset for this live output. This also sets the maximum content length for the rewind window. For example, use `PT1H30M` to indicate 1 hour and 30 minutes of archive window. Changing this forces a new Live Output to be created.
	ArchiveWindowDuration pulumi.StringInput
	// The asset that the live output will write to. Changing this forces a new Live Output to be created.
	AssetName pulumi.StringInput
	// The description of the live output. Changing this forces a new Live Output to be created.
	Description pulumi.StringPtrInput
	// The number of fragments in an HTTP Live Streaming (HLS) TS segment in the output of the live event. This value does not affect the packing ratio for HLS CMAF output. Changing this forces a new Live Output to be created.
	HlsFragmentsPerTsSegment pulumi.IntPtrInput
	// The id of the live event. Changing this forces a new Live Output to be created.
	LiveEventId pulumi.StringInput
	// The manifest file name. If not provided, the service will generate one automatically. Changing this forces a new Live Output to be created.
	ManifestName pulumi.StringPtrInput
	// The name which should be used for this Live Event Output. Changing this forces a new Live Output to be created.
	Name                    pulumi.StringPtrInput
	OutputSnapTimeInSeconds pulumi.IntPtrInput
}

The set of arguments for constructing a LiveEventOutputResource resource.

func (LiveEventOutputResourceArgs) ElementType

type LiveEventOutputResourceArray

type LiveEventOutputResourceArray []LiveEventOutputResourceInput

func (LiveEventOutputResourceArray) ElementType

func (LiveEventOutputResourceArray) ToLiveEventOutputResourceArrayOutput

func (i LiveEventOutputResourceArray) ToLiveEventOutputResourceArrayOutput() LiveEventOutputResourceArrayOutput

func (LiveEventOutputResourceArray) ToLiveEventOutputResourceArrayOutputWithContext

func (i LiveEventOutputResourceArray) ToLiveEventOutputResourceArrayOutputWithContext(ctx context.Context) LiveEventOutputResourceArrayOutput

type LiveEventOutputResourceArrayInput

type LiveEventOutputResourceArrayInput interface {
	pulumi.Input

	ToLiveEventOutputResourceArrayOutput() LiveEventOutputResourceArrayOutput
	ToLiveEventOutputResourceArrayOutputWithContext(context.Context) LiveEventOutputResourceArrayOutput
}

LiveEventOutputResourceArrayInput is an input type that accepts LiveEventOutputResourceArray and LiveEventOutputResourceArrayOutput values. You can construct a concrete instance of `LiveEventOutputResourceArrayInput` via:

LiveEventOutputResourceArray{ LiveEventOutputResourceArgs{...} }

type LiveEventOutputResourceArrayOutput

type LiveEventOutputResourceArrayOutput struct{ *pulumi.OutputState }

func (LiveEventOutputResourceArrayOutput) ElementType

func (LiveEventOutputResourceArrayOutput) Index

func (LiveEventOutputResourceArrayOutput) ToLiveEventOutputResourceArrayOutput

func (o LiveEventOutputResourceArrayOutput) ToLiveEventOutputResourceArrayOutput() LiveEventOutputResourceArrayOutput

func (LiveEventOutputResourceArrayOutput) ToLiveEventOutputResourceArrayOutputWithContext

func (o LiveEventOutputResourceArrayOutput) ToLiveEventOutputResourceArrayOutputWithContext(ctx context.Context) LiveEventOutputResourceArrayOutput

type LiveEventOutputResourceInput

type LiveEventOutputResourceInput interface {
	pulumi.Input

	ToLiveEventOutputResourceOutput() LiveEventOutputResourceOutput
	ToLiveEventOutputResourceOutputWithContext(ctx context.Context) LiveEventOutputResourceOutput
}

type LiveEventOutputResourceMap

type LiveEventOutputResourceMap map[string]LiveEventOutputResourceInput

func (LiveEventOutputResourceMap) ElementType

func (LiveEventOutputResourceMap) ElementType() reflect.Type

func (LiveEventOutputResourceMap) ToLiveEventOutputResourceMapOutput

func (i LiveEventOutputResourceMap) ToLiveEventOutputResourceMapOutput() LiveEventOutputResourceMapOutput

func (LiveEventOutputResourceMap) ToLiveEventOutputResourceMapOutputWithContext

func (i LiveEventOutputResourceMap) ToLiveEventOutputResourceMapOutputWithContext(ctx context.Context) LiveEventOutputResourceMapOutput

type LiveEventOutputResourceMapInput

type LiveEventOutputResourceMapInput interface {
	pulumi.Input

	ToLiveEventOutputResourceMapOutput() LiveEventOutputResourceMapOutput
	ToLiveEventOutputResourceMapOutputWithContext(context.Context) LiveEventOutputResourceMapOutput
}

LiveEventOutputResourceMapInput is an input type that accepts LiveEventOutputResourceMap and LiveEventOutputResourceMapOutput values. You can construct a concrete instance of `LiveEventOutputResourceMapInput` via:

LiveEventOutputResourceMap{ "key": LiveEventOutputResourceArgs{...} }

type LiveEventOutputResourceMapOutput

type LiveEventOutputResourceMapOutput struct{ *pulumi.OutputState }

func (LiveEventOutputResourceMapOutput) ElementType

func (LiveEventOutputResourceMapOutput) MapIndex

func (LiveEventOutputResourceMapOutput) ToLiveEventOutputResourceMapOutput

func (o LiveEventOutputResourceMapOutput) ToLiveEventOutputResourceMapOutput() LiveEventOutputResourceMapOutput

func (LiveEventOutputResourceMapOutput) ToLiveEventOutputResourceMapOutputWithContext

func (o LiveEventOutputResourceMapOutput) ToLiveEventOutputResourceMapOutputWithContext(ctx context.Context) LiveEventOutputResourceMapOutput

type LiveEventOutputResourceOutput

type LiveEventOutputResourceOutput struct{ *pulumi.OutputState }

func (LiveEventOutputResourceOutput) ArchiveWindowDuration added in v5.5.0

func (o LiveEventOutputResourceOutput) ArchiveWindowDuration() pulumi.StringOutput

`ISO 8601` time between 1 minute to 25 hours to indicate the maximum content length that can be archived in the asset for this live output. This also sets the maximum content length for the rewind window. For example, use `PT1H30M` to indicate 1 hour and 30 minutes of archive window. Changing this forces a new Live Output to be created.

func (LiveEventOutputResourceOutput) AssetName added in v5.5.0

The asset that the live output will write to. Changing this forces a new Live Output to be created.

func (LiveEventOutputResourceOutput) Description added in v5.5.0

The description of the live output. Changing this forces a new Live Output to be created.

func (LiveEventOutputResourceOutput) ElementType

func (LiveEventOutputResourceOutput) HlsFragmentsPerTsSegment added in v5.5.0

func (o LiveEventOutputResourceOutput) HlsFragmentsPerTsSegment() pulumi.IntPtrOutput

The number of fragments in an HTTP Live Streaming (HLS) TS segment in the output of the live event. This value does not affect the packing ratio for HLS CMAF output. Changing this forces a new Live Output to be created.

func (LiveEventOutputResourceOutput) LiveEventId added in v5.5.0

The id of the live event. Changing this forces a new Live Output to be created.

func (LiveEventOutputResourceOutput) ManifestName added in v5.5.0

The manifest file name. If not provided, the service will generate one automatically. Changing this forces a new Live Output to be created.

func (LiveEventOutputResourceOutput) Name added in v5.5.0

The name which should be used for this Live Event Output. Changing this forces a new Live Output to be created.

func (LiveEventOutputResourceOutput) OutputSnapTimeInSeconds added in v5.5.0

func (o LiveEventOutputResourceOutput) OutputSnapTimeInSeconds() pulumi.IntPtrOutput

func (LiveEventOutputResourceOutput) ToLiveEventOutputResourceOutput

func (o LiveEventOutputResourceOutput) ToLiveEventOutputResourceOutput() LiveEventOutputResourceOutput

func (LiveEventOutputResourceOutput) ToLiveEventOutputResourceOutputWithContext

func (o LiveEventOutputResourceOutput) ToLiveEventOutputResourceOutputWithContext(ctx context.Context) LiveEventOutputResourceOutput

type LiveEventOutputResourceState

type LiveEventOutputResourceState struct {
	// `ISO 8601` time between 1 minute to 25 hours to indicate the maximum content length that can be archived in the asset for this live output. This also sets the maximum content length for the rewind window. For example, use `PT1H30M` to indicate 1 hour and 30 minutes of archive window. Changing this forces a new Live Output to be created.
	ArchiveWindowDuration pulumi.StringPtrInput
	// The asset that the live output will write to. Changing this forces a new Live Output to be created.
	AssetName pulumi.StringPtrInput
	// The description of the live output. Changing this forces a new Live Output to be created.
	Description pulumi.StringPtrInput
	// The number of fragments in an HTTP Live Streaming (HLS) TS segment in the output of the live event. This value does not affect the packing ratio for HLS CMAF output. Changing this forces a new Live Output to be created.
	HlsFragmentsPerTsSegment pulumi.IntPtrInput
	// The id of the live event. Changing this forces a new Live Output to be created.
	LiveEventId pulumi.StringPtrInput
	// The manifest file name. If not provided, the service will generate one automatically. Changing this forces a new Live Output to be created.
	ManifestName pulumi.StringPtrInput
	// The name which should be used for this Live Event Output. Changing this forces a new Live Output to be created.
	Name                    pulumi.StringPtrInput
	OutputSnapTimeInSeconds pulumi.IntPtrInput
}

func (LiveEventOutputResourceState) ElementType

type LiveEventPreview

type LiveEventPreview struct {
	// An alternative media identifier associated with the streaming locator created for the preview. The identifier can be used in the `CustomLicenseAcquisitionUrlTemplate` or the `CustomKeyAcquisitionUrlTemplate` of the Streaming Policy specified in the `streamingPolicyName` field. Changing this forces a new resource to be created.
	AlternativeMediaId *string                    `pulumi:"alternativeMediaId"`
	Endpoints          []LiveEventPreviewEndpoint `pulumi:"endpoints"`
	// One or more `ipAccessControlAllow` blocks as defined above.
	IpAccessControlAllows []LiveEventPreviewIpAccessControlAllow `pulumi:"ipAccessControlAllows"`
	// The identifier of the preview locator in GUID format. Specifying this at creation time allows the caller to know the preview locator url before the event is created. If omitted, the service will generate a random identifier. Changing this forces a new resource to be created.
	PreviewLocator *string `pulumi:"previewLocator"`
	// The name of streaming policy used for the live event preview. Changing this forces a new resource to be created.
	StreamingPolicyName *string `pulumi:"streamingPolicyName"`
}

type LiveEventPreviewArgs

type LiveEventPreviewArgs struct {
	// An alternative media identifier associated with the streaming locator created for the preview. The identifier can be used in the `CustomLicenseAcquisitionUrlTemplate` or the `CustomKeyAcquisitionUrlTemplate` of the Streaming Policy specified in the `streamingPolicyName` field. Changing this forces a new resource to be created.
	AlternativeMediaId pulumi.StringPtrInput              `pulumi:"alternativeMediaId"`
	Endpoints          LiveEventPreviewEndpointArrayInput `pulumi:"endpoints"`
	// One or more `ipAccessControlAllow` blocks as defined above.
	IpAccessControlAllows LiveEventPreviewIpAccessControlAllowArrayInput `pulumi:"ipAccessControlAllows"`
	// The identifier of the preview locator in GUID format. Specifying this at creation time allows the caller to know the preview locator url before the event is created. If omitted, the service will generate a random identifier. Changing this forces a new resource to be created.
	PreviewLocator pulumi.StringPtrInput `pulumi:"previewLocator"`
	// The name of streaming policy used for the live event preview. Changing this forces a new resource to be created.
	StreamingPolicyName pulumi.StringPtrInput `pulumi:"streamingPolicyName"`
}

func (LiveEventPreviewArgs) ElementType

func (LiveEventPreviewArgs) ElementType() reflect.Type

func (LiveEventPreviewArgs) ToLiveEventPreviewOutput

func (i LiveEventPreviewArgs) ToLiveEventPreviewOutput() LiveEventPreviewOutput

func (LiveEventPreviewArgs) ToLiveEventPreviewOutputWithContext

func (i LiveEventPreviewArgs) ToLiveEventPreviewOutputWithContext(ctx context.Context) LiveEventPreviewOutput

func (LiveEventPreviewArgs) ToLiveEventPreviewPtrOutput

func (i LiveEventPreviewArgs) ToLiveEventPreviewPtrOutput() LiveEventPreviewPtrOutput

func (LiveEventPreviewArgs) ToLiveEventPreviewPtrOutputWithContext

func (i LiveEventPreviewArgs) ToLiveEventPreviewPtrOutputWithContext(ctx context.Context) LiveEventPreviewPtrOutput

type LiveEventPreviewEndpoint

type LiveEventPreviewEndpoint struct {
	Protocol *string `pulumi:"protocol"`
	Url      *string `pulumi:"url"`
}

type LiveEventPreviewEndpointArgs

type LiveEventPreviewEndpointArgs struct {
	Protocol pulumi.StringPtrInput `pulumi:"protocol"`
	Url      pulumi.StringPtrInput `pulumi:"url"`
}

func (LiveEventPreviewEndpointArgs) ElementType

func (LiveEventPreviewEndpointArgs) ToLiveEventPreviewEndpointOutput

func (i LiveEventPreviewEndpointArgs) ToLiveEventPreviewEndpointOutput() LiveEventPreviewEndpointOutput

func (LiveEventPreviewEndpointArgs) ToLiveEventPreviewEndpointOutputWithContext

func (i LiveEventPreviewEndpointArgs) ToLiveEventPreviewEndpointOutputWithContext(ctx context.Context) LiveEventPreviewEndpointOutput

type LiveEventPreviewEndpointArray

type LiveEventPreviewEndpointArray []LiveEventPreviewEndpointInput

func (LiveEventPreviewEndpointArray) ElementType

func (LiveEventPreviewEndpointArray) ToLiveEventPreviewEndpointArrayOutput

func (i LiveEventPreviewEndpointArray) ToLiveEventPreviewEndpointArrayOutput() LiveEventPreviewEndpointArrayOutput

func (LiveEventPreviewEndpointArray) ToLiveEventPreviewEndpointArrayOutputWithContext

func (i LiveEventPreviewEndpointArray) ToLiveEventPreviewEndpointArrayOutputWithContext(ctx context.Context) LiveEventPreviewEndpointArrayOutput

type LiveEventPreviewEndpointArrayInput

type LiveEventPreviewEndpointArrayInput interface {
	pulumi.Input

	ToLiveEventPreviewEndpointArrayOutput() LiveEventPreviewEndpointArrayOutput
	ToLiveEventPreviewEndpointArrayOutputWithContext(context.Context) LiveEventPreviewEndpointArrayOutput
}

LiveEventPreviewEndpointArrayInput is an input type that accepts LiveEventPreviewEndpointArray and LiveEventPreviewEndpointArrayOutput values. You can construct a concrete instance of `LiveEventPreviewEndpointArrayInput` via:

LiveEventPreviewEndpointArray{ LiveEventPreviewEndpointArgs{...} }

type LiveEventPreviewEndpointArrayOutput

type LiveEventPreviewEndpointArrayOutput struct{ *pulumi.OutputState }

func (LiveEventPreviewEndpointArrayOutput) ElementType

func (LiveEventPreviewEndpointArrayOutput) Index

func (LiveEventPreviewEndpointArrayOutput) ToLiveEventPreviewEndpointArrayOutput

func (o LiveEventPreviewEndpointArrayOutput) ToLiveEventPreviewEndpointArrayOutput() LiveEventPreviewEndpointArrayOutput

func (LiveEventPreviewEndpointArrayOutput) ToLiveEventPreviewEndpointArrayOutputWithContext

func (o LiveEventPreviewEndpointArrayOutput) ToLiveEventPreviewEndpointArrayOutputWithContext(ctx context.Context) LiveEventPreviewEndpointArrayOutput

type LiveEventPreviewEndpointInput

type LiveEventPreviewEndpointInput interface {
	pulumi.Input

	ToLiveEventPreviewEndpointOutput() LiveEventPreviewEndpointOutput
	ToLiveEventPreviewEndpointOutputWithContext(context.Context) LiveEventPreviewEndpointOutput
}

LiveEventPreviewEndpointInput is an input type that accepts LiveEventPreviewEndpointArgs and LiveEventPreviewEndpointOutput values. You can construct a concrete instance of `LiveEventPreviewEndpointInput` via:

LiveEventPreviewEndpointArgs{...}

type LiveEventPreviewEndpointOutput

type LiveEventPreviewEndpointOutput struct{ *pulumi.OutputState }

func (LiveEventPreviewEndpointOutput) ElementType

func (LiveEventPreviewEndpointOutput) Protocol

func (LiveEventPreviewEndpointOutput) ToLiveEventPreviewEndpointOutput

func (o LiveEventPreviewEndpointOutput) ToLiveEventPreviewEndpointOutput() LiveEventPreviewEndpointOutput

func (LiveEventPreviewEndpointOutput) ToLiveEventPreviewEndpointOutputWithContext

func (o LiveEventPreviewEndpointOutput) ToLiveEventPreviewEndpointOutputWithContext(ctx context.Context) LiveEventPreviewEndpointOutput

func (LiveEventPreviewEndpointOutput) Url

type LiveEventPreviewInput

type LiveEventPreviewInput interface {
	pulumi.Input

	ToLiveEventPreviewOutput() LiveEventPreviewOutput
	ToLiveEventPreviewOutputWithContext(context.Context) LiveEventPreviewOutput
}

LiveEventPreviewInput is an input type that accepts LiveEventPreviewArgs and LiveEventPreviewOutput values. You can construct a concrete instance of `LiveEventPreviewInput` via:

LiveEventPreviewArgs{...}

type LiveEventPreviewIpAccessControlAllow

type LiveEventPreviewIpAccessControlAllow struct {
	// The IP address or CIDR range.
	Address *string `pulumi:"address"`
	// The friendly name for the IP address range.
	Name *string `pulumi:"name"`
	// The subnet mask prefix length (see CIDR notation).
	SubnetPrefixLength *int `pulumi:"subnetPrefixLength"`
}

type LiveEventPreviewIpAccessControlAllowArgs

type LiveEventPreviewIpAccessControlAllowArgs struct {
	// The IP address or CIDR range.
	Address pulumi.StringPtrInput `pulumi:"address"`
	// The friendly name for the IP address range.
	Name pulumi.StringPtrInput `pulumi:"name"`
	// The subnet mask prefix length (see CIDR notation).
	SubnetPrefixLength pulumi.IntPtrInput `pulumi:"subnetPrefixLength"`
}

func (LiveEventPreviewIpAccessControlAllowArgs) ElementType

func (LiveEventPreviewIpAccessControlAllowArgs) ToLiveEventPreviewIpAccessControlAllowOutput

func (i LiveEventPreviewIpAccessControlAllowArgs) ToLiveEventPreviewIpAccessControlAllowOutput() LiveEventPreviewIpAccessControlAllowOutput

func (LiveEventPreviewIpAccessControlAllowArgs) ToLiveEventPreviewIpAccessControlAllowOutputWithContext

func (i LiveEventPreviewIpAccessControlAllowArgs) ToLiveEventPreviewIpAccessControlAllowOutputWithContext(ctx context.Context) LiveEventPreviewIpAccessControlAllowOutput

type LiveEventPreviewIpAccessControlAllowArray

type LiveEventPreviewIpAccessControlAllowArray []LiveEventPreviewIpAccessControlAllowInput

func (LiveEventPreviewIpAccessControlAllowArray) ElementType

func (LiveEventPreviewIpAccessControlAllowArray) ToLiveEventPreviewIpAccessControlAllowArrayOutput

func (i LiveEventPreviewIpAccessControlAllowArray) ToLiveEventPreviewIpAccessControlAllowArrayOutput() LiveEventPreviewIpAccessControlAllowArrayOutput

func (LiveEventPreviewIpAccessControlAllowArray) ToLiveEventPreviewIpAccessControlAllowArrayOutputWithContext

func (i LiveEventPreviewIpAccessControlAllowArray) ToLiveEventPreviewIpAccessControlAllowArrayOutputWithContext(ctx context.Context) LiveEventPreviewIpAccessControlAllowArrayOutput

type LiveEventPreviewIpAccessControlAllowArrayInput

type LiveEventPreviewIpAccessControlAllowArrayInput interface {
	pulumi.Input

	ToLiveEventPreviewIpAccessControlAllowArrayOutput() LiveEventPreviewIpAccessControlAllowArrayOutput
	ToLiveEventPreviewIpAccessControlAllowArrayOutputWithContext(context.Context) LiveEventPreviewIpAccessControlAllowArrayOutput
}

LiveEventPreviewIpAccessControlAllowArrayInput is an input type that accepts LiveEventPreviewIpAccessControlAllowArray and LiveEventPreviewIpAccessControlAllowArrayOutput values. You can construct a concrete instance of `LiveEventPreviewIpAccessControlAllowArrayInput` via:

LiveEventPreviewIpAccessControlAllowArray{ LiveEventPreviewIpAccessControlAllowArgs{...} }

type LiveEventPreviewIpAccessControlAllowArrayOutput

type LiveEventPreviewIpAccessControlAllowArrayOutput struct{ *pulumi.OutputState }

func (LiveEventPreviewIpAccessControlAllowArrayOutput) ElementType

func (LiveEventPreviewIpAccessControlAllowArrayOutput) Index

func (LiveEventPreviewIpAccessControlAllowArrayOutput) ToLiveEventPreviewIpAccessControlAllowArrayOutput

func (o LiveEventPreviewIpAccessControlAllowArrayOutput) ToLiveEventPreviewIpAccessControlAllowArrayOutput() LiveEventPreviewIpAccessControlAllowArrayOutput

func (LiveEventPreviewIpAccessControlAllowArrayOutput) ToLiveEventPreviewIpAccessControlAllowArrayOutputWithContext

func (o LiveEventPreviewIpAccessControlAllowArrayOutput) ToLiveEventPreviewIpAccessControlAllowArrayOutputWithContext(ctx context.Context) LiveEventPreviewIpAccessControlAllowArrayOutput

type LiveEventPreviewIpAccessControlAllowInput

type LiveEventPreviewIpAccessControlAllowInput interface {
	pulumi.Input

	ToLiveEventPreviewIpAccessControlAllowOutput() LiveEventPreviewIpAccessControlAllowOutput
	ToLiveEventPreviewIpAccessControlAllowOutputWithContext(context.Context) LiveEventPreviewIpAccessControlAllowOutput
}

LiveEventPreviewIpAccessControlAllowInput is an input type that accepts LiveEventPreviewIpAccessControlAllowArgs and LiveEventPreviewIpAccessControlAllowOutput values. You can construct a concrete instance of `LiveEventPreviewIpAccessControlAllowInput` via:

LiveEventPreviewIpAccessControlAllowArgs{...}

type LiveEventPreviewIpAccessControlAllowOutput

type LiveEventPreviewIpAccessControlAllowOutput struct{ *pulumi.OutputState }

func (LiveEventPreviewIpAccessControlAllowOutput) Address

The IP address or CIDR range.

func (LiveEventPreviewIpAccessControlAllowOutput) ElementType

func (LiveEventPreviewIpAccessControlAllowOutput) Name

The friendly name for the IP address range.

func (LiveEventPreviewIpAccessControlAllowOutput) SubnetPrefixLength

The subnet mask prefix length (see CIDR notation).

func (LiveEventPreviewIpAccessControlAllowOutput) ToLiveEventPreviewIpAccessControlAllowOutput

func (o LiveEventPreviewIpAccessControlAllowOutput) ToLiveEventPreviewIpAccessControlAllowOutput() LiveEventPreviewIpAccessControlAllowOutput

func (LiveEventPreviewIpAccessControlAllowOutput) ToLiveEventPreviewIpAccessControlAllowOutputWithContext

func (o LiveEventPreviewIpAccessControlAllowOutput) ToLiveEventPreviewIpAccessControlAllowOutputWithContext(ctx context.Context) LiveEventPreviewIpAccessControlAllowOutput

type LiveEventPreviewOutput

type LiveEventPreviewOutput struct{ *pulumi.OutputState }

func (LiveEventPreviewOutput) AlternativeMediaId

func (o LiveEventPreviewOutput) AlternativeMediaId() pulumi.StringPtrOutput

An alternative media identifier associated with the streaming locator created for the preview. The identifier can be used in the `CustomLicenseAcquisitionUrlTemplate` or the `CustomKeyAcquisitionUrlTemplate` of the Streaming Policy specified in the `streamingPolicyName` field. Changing this forces a new resource to be created.

func (LiveEventPreviewOutput) ElementType

func (LiveEventPreviewOutput) ElementType() reflect.Type

func (LiveEventPreviewOutput) Endpoints

func (LiveEventPreviewOutput) IpAccessControlAllows

One or more `ipAccessControlAllow` blocks as defined above.

func (LiveEventPreviewOutput) PreviewLocator

func (o LiveEventPreviewOutput) PreviewLocator() pulumi.StringPtrOutput

The identifier of the preview locator in GUID format. Specifying this at creation time allows the caller to know the preview locator url before the event is created. If omitted, the service will generate a random identifier. Changing this forces a new resource to be created.

func (LiveEventPreviewOutput) StreamingPolicyName

func (o LiveEventPreviewOutput) StreamingPolicyName() pulumi.StringPtrOutput

The name of streaming policy used for the live event preview. Changing this forces a new resource to be created.

func (LiveEventPreviewOutput) ToLiveEventPreviewOutput

func (o LiveEventPreviewOutput) ToLiveEventPreviewOutput() LiveEventPreviewOutput

func (LiveEventPreviewOutput) ToLiveEventPreviewOutputWithContext

func (o LiveEventPreviewOutput) ToLiveEventPreviewOutputWithContext(ctx context.Context) LiveEventPreviewOutput

func (LiveEventPreviewOutput) ToLiveEventPreviewPtrOutput

func (o LiveEventPreviewOutput) ToLiveEventPreviewPtrOutput() LiveEventPreviewPtrOutput

func (LiveEventPreviewOutput) ToLiveEventPreviewPtrOutputWithContext

func (o LiveEventPreviewOutput) ToLiveEventPreviewPtrOutputWithContext(ctx context.Context) LiveEventPreviewPtrOutput

type LiveEventPreviewPtrInput

type LiveEventPreviewPtrInput interface {
	pulumi.Input

	ToLiveEventPreviewPtrOutput() LiveEventPreviewPtrOutput
	ToLiveEventPreviewPtrOutputWithContext(context.Context) LiveEventPreviewPtrOutput
}

LiveEventPreviewPtrInput is an input type that accepts LiveEventPreviewArgs, LiveEventPreviewPtr and LiveEventPreviewPtrOutput values. You can construct a concrete instance of `LiveEventPreviewPtrInput` via:

        LiveEventPreviewArgs{...}

or:

        nil

type LiveEventPreviewPtrOutput

type LiveEventPreviewPtrOutput struct{ *pulumi.OutputState }

func (LiveEventPreviewPtrOutput) AlternativeMediaId

func (o LiveEventPreviewPtrOutput) AlternativeMediaId() pulumi.StringPtrOutput

An alternative media identifier associated with the streaming locator created for the preview. The identifier can be used in the `CustomLicenseAcquisitionUrlTemplate` or the `CustomKeyAcquisitionUrlTemplate` of the Streaming Policy specified in the `streamingPolicyName` field. Changing this forces a new resource to be created.

func (LiveEventPreviewPtrOutput) Elem

func (LiveEventPreviewPtrOutput) ElementType

func (LiveEventPreviewPtrOutput) ElementType() reflect.Type

func (LiveEventPreviewPtrOutput) Endpoints

func (LiveEventPreviewPtrOutput) IpAccessControlAllows

One or more `ipAccessControlAllow` blocks as defined above.

func (LiveEventPreviewPtrOutput) PreviewLocator

The identifier of the preview locator in GUID format. Specifying this at creation time allows the caller to know the preview locator url before the event is created. If omitted, the service will generate a random identifier. Changing this forces a new resource to be created.

func (LiveEventPreviewPtrOutput) StreamingPolicyName

func (o LiveEventPreviewPtrOutput) StreamingPolicyName() pulumi.StringPtrOutput

The name of streaming policy used for the live event preview. Changing this forces a new resource to be created.

func (LiveEventPreviewPtrOutput) ToLiveEventPreviewPtrOutput

func (o LiveEventPreviewPtrOutput) ToLiveEventPreviewPtrOutput() LiveEventPreviewPtrOutput

func (LiveEventPreviewPtrOutput) ToLiveEventPreviewPtrOutputWithContext

func (o LiveEventPreviewPtrOutput) ToLiveEventPreviewPtrOutputWithContext(ctx context.Context) LiveEventPreviewPtrOutput

type LiveEventState

type LiveEventState struct {
	// The flag indicates if the resource should be automatically started on creation. Default is `false`.
	AutoStartEnabled pulumi.BoolPtrInput
	// A `crossSiteAccessPolicy` block as defined below.
	CrossSiteAccessPolicy LiveEventCrossSiteAccessPolicyPtrInput
	// A description for the live event.
	Description pulumi.StringPtrInput
	// A `encoding` block as defined below.
	Encoding LiveEventEncodingPtrInput
	// When `useStaticHostname` is set to true, the `hostnamePrefix` specifies the first part of the hostname assigned to the live event preview and ingest endpoints. The final hostname would be a combination of this prefix, the media service account name and a short code for the Azure Media Services data center.
	HostnamePrefix pulumi.StringPtrInput
	// A `input` block as defined below.
	Input LiveEventInputTypePtrInput
	// The Azure Region where the Live Event should exist. Changing this forces a new Live Event to be created.
	Location pulumi.StringPtrInput
	// The Media Services account name. Changing this forces a new Live Event to be created.
	MediaServicesAccountName pulumi.StringPtrInput
	// The name which should be used for this Live Event. Changing this forces a new Live Event to be created.
	Name pulumi.StringPtrInput
	// A `preview` block as defined below.
	Preview LiveEventPreviewPtrInput
	// The name of the Resource Group where the Live Event should exist. Changing this forces a new Live Event to be created.
	ResourceGroupName pulumi.StringPtrInput
	// A mapping of tags which should be assigned to the Live Event.
	Tags pulumi.StringMapInput
	// Specifies a list of languages (locale) to be used for speech-to-text transcription – it should match the spoken language in the audio track. The value should be in `BCP-47` format (e.g: `en-US`). [See the Microsoft Documentation for more information about the live transcription feature and the list of supported languages](https://go.microsoft.com/fwlink/?linkid=2133742).
	TranscriptionLanguages pulumi.StringArrayInput
	// Specifies whether a static hostname would be assigned to the live event preview and ingest endpoints. Changing this forces a new Live Event to be created.
	UseStaticHostname pulumi.BoolPtrInput
}

func (LiveEventState) ElementType

func (LiveEventState) ElementType() reflect.Type

type ServiceAccount

type ServiceAccount struct {
	pulumi.CustomResourceState

	// An `identity` block as defined below.
	Identity ServiceAccountIdentityPtrOutput `pulumi:"identity"`
	// A `keyDeliveryAccessControl` block as defined below.
	KeyDeliveryAccessControl ServiceAccountKeyDeliveryAccessControlOutput `pulumi:"keyDeliveryAccessControl"`
	// Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
	Location pulumi.StringOutput `pulumi:"location"`
	// Specifies the name of the Media Services Account. Only lowercase Alphanumeric characters allowed. Changing this forces a new resource to be created.
	Name pulumi.StringOutput `pulumi:"name"`
	// The name of the resource group in which to create the Media Services Account. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringOutput `pulumi:"resourceGroupName"`
	// One or more `storageAccount` blocks as defined below.
	StorageAccounts ServiceAccountStorageAccountArrayOutput `pulumi:"storageAccounts"`
	// Specifies the storage authentication type.
	// Possible value is  `ManagedIdentity` or `System`.
	StorageAuthenticationType pulumi.StringOutput `pulumi:"storageAuthenticationType"`
	// A mapping of tags assigned to the resource.
	Tags pulumi.StringMapOutput `pulumi:"tags"`
}

Manages a Media Services Account.

## Example Usage

```go 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 {
		exampleResourceGroup, err := core.NewResourceGroup(ctx, "exampleResourceGroup", &core.ResourceGroupArgs{
			Location: pulumi.String("West Europe"),
		})
		if err != nil {
			return err
		}
		exampleAccount, err := storage.NewAccount(ctx, "exampleAccount", &storage.AccountArgs{
			ResourceGroupName:      exampleResourceGroup.Name,
			Location:               exampleResourceGroup.Location,
			AccountTier:            pulumi.String("Standard"),
			AccountReplicationType: pulumi.String("GRS"),
		})
		if err != nil {
			return err
		}
		_, err = media.NewServiceAccount(ctx, "exampleServiceAccount", &media.ServiceAccountArgs{
			Location:          exampleResourceGroup.Location,
			ResourceGroupName: exampleResourceGroup.Name,
			StorageAccounts: media.ServiceAccountStorageAccountArray{
				&media.ServiceAccountStorageAccountArgs{
					Id:        exampleAccount.ID(),
					IsPrimary: pulumi.Bool(true),
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Media Services Accounts can be imported using the `resource id`, e.g.

```sh

$ pulumi import azure:media/serviceAccount:ServiceAccount account /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/mygroup1/providers/Microsoft.Media/mediaservices/account1

```

func GetServiceAccount

func GetServiceAccount(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ServiceAccountState, opts ...pulumi.ResourceOption) (*ServiceAccount, error)

GetServiceAccount gets an existing ServiceAccount resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewServiceAccount

func NewServiceAccount(ctx *pulumi.Context,
	name string, args *ServiceAccountArgs, opts ...pulumi.ResourceOption) (*ServiceAccount, error)

NewServiceAccount registers a new resource with the given unique name, arguments, and options.

func (*ServiceAccount) ElementType

func (*ServiceAccount) ElementType() reflect.Type

func (*ServiceAccount) ToServiceAccountOutput

func (i *ServiceAccount) ToServiceAccountOutput() ServiceAccountOutput

func (*ServiceAccount) ToServiceAccountOutputWithContext

func (i *ServiceAccount) ToServiceAccountOutputWithContext(ctx context.Context) ServiceAccountOutput

type ServiceAccountArgs

type ServiceAccountArgs struct {
	// An `identity` block as defined below.
	Identity ServiceAccountIdentityPtrInput
	// A `keyDeliveryAccessControl` block as defined below.
	KeyDeliveryAccessControl ServiceAccountKeyDeliveryAccessControlPtrInput
	// Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
	Location pulumi.StringPtrInput
	// Specifies the name of the Media Services Account. Only lowercase Alphanumeric characters allowed. Changing this forces a new resource to be created.
	Name pulumi.StringPtrInput
	// The name of the resource group in which to create the Media Services Account. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringInput
	// One or more `storageAccount` blocks as defined below.
	StorageAccounts ServiceAccountStorageAccountArrayInput
	// Specifies the storage authentication type.
	// Possible value is  `ManagedIdentity` or `System`.
	StorageAuthenticationType pulumi.StringPtrInput
	// A mapping of tags assigned to the resource.
	Tags pulumi.StringMapInput
}

The set of arguments for constructing a ServiceAccount resource.

func (ServiceAccountArgs) ElementType

func (ServiceAccountArgs) ElementType() reflect.Type

type ServiceAccountArray

type ServiceAccountArray []ServiceAccountInput

func (ServiceAccountArray) ElementType

func (ServiceAccountArray) ElementType() reflect.Type

func (ServiceAccountArray) ToServiceAccountArrayOutput

func (i ServiceAccountArray) ToServiceAccountArrayOutput() ServiceAccountArrayOutput

func (ServiceAccountArray) ToServiceAccountArrayOutputWithContext

func (i ServiceAccountArray) ToServiceAccountArrayOutputWithContext(ctx context.Context) ServiceAccountArrayOutput

type ServiceAccountArrayInput

type ServiceAccountArrayInput interface {
	pulumi.Input

	ToServiceAccountArrayOutput() ServiceAccountArrayOutput
	ToServiceAccountArrayOutputWithContext(context.Context) ServiceAccountArrayOutput
}

ServiceAccountArrayInput is an input type that accepts ServiceAccountArray and ServiceAccountArrayOutput values. You can construct a concrete instance of `ServiceAccountArrayInput` via:

ServiceAccountArray{ ServiceAccountArgs{...} }

type ServiceAccountArrayOutput

type ServiceAccountArrayOutput struct{ *pulumi.OutputState }

func (ServiceAccountArrayOutput) ElementType

func (ServiceAccountArrayOutput) ElementType() reflect.Type

func (ServiceAccountArrayOutput) Index

func (ServiceAccountArrayOutput) ToServiceAccountArrayOutput

func (o ServiceAccountArrayOutput) ToServiceAccountArrayOutput() ServiceAccountArrayOutput

func (ServiceAccountArrayOutput) ToServiceAccountArrayOutputWithContext

func (o ServiceAccountArrayOutput) ToServiceAccountArrayOutputWithContext(ctx context.Context) ServiceAccountArrayOutput

type ServiceAccountIdentity

type ServiceAccountIdentity struct {
	// The Principal ID associated with this Managed Service Identity.
	PrincipalId *string `pulumi:"principalId"`
	// The Tenant ID associated with this Managed Service Identity.
	TenantId *string `pulumi:"tenantId"`
	// Specifies the type of Managed Service Identity that should be configured on this Media Services Account. Possible value is  `SystemAssigned`.
	Type string `pulumi:"type"`
}

type ServiceAccountIdentityArgs

type ServiceAccountIdentityArgs struct {
	// The Principal ID associated with this Managed Service Identity.
	PrincipalId pulumi.StringPtrInput `pulumi:"principalId"`
	// The Tenant ID associated with this Managed Service Identity.
	TenantId pulumi.StringPtrInput `pulumi:"tenantId"`
	// Specifies the type of Managed Service Identity that should be configured on this Media Services Account. Possible value is  `SystemAssigned`.
	Type pulumi.StringInput `pulumi:"type"`
}

func (ServiceAccountIdentityArgs) ElementType

func (ServiceAccountIdentityArgs) ElementType() reflect.Type

func (ServiceAccountIdentityArgs) ToServiceAccountIdentityOutput

func (i ServiceAccountIdentityArgs) ToServiceAccountIdentityOutput() ServiceAccountIdentityOutput

func (ServiceAccountIdentityArgs) ToServiceAccountIdentityOutputWithContext

func (i ServiceAccountIdentityArgs) ToServiceAccountIdentityOutputWithContext(ctx context.Context) ServiceAccountIdentityOutput

func (ServiceAccountIdentityArgs) ToServiceAccountIdentityPtrOutput

func (i ServiceAccountIdentityArgs) ToServiceAccountIdentityPtrOutput() ServiceAccountIdentityPtrOutput

func (ServiceAccountIdentityArgs) ToServiceAccountIdentityPtrOutputWithContext

func (i ServiceAccountIdentityArgs) ToServiceAccountIdentityPtrOutputWithContext(ctx context.Context) ServiceAccountIdentityPtrOutput

type ServiceAccountIdentityInput

type ServiceAccountIdentityInput interface {
	pulumi.Input

	ToServiceAccountIdentityOutput() ServiceAccountIdentityOutput
	ToServiceAccountIdentityOutputWithContext(context.Context) ServiceAccountIdentityOutput
}

ServiceAccountIdentityInput is an input type that accepts ServiceAccountIdentityArgs and ServiceAccountIdentityOutput values. You can construct a concrete instance of `ServiceAccountIdentityInput` via:

ServiceAccountIdentityArgs{...}

type ServiceAccountIdentityOutput

type ServiceAccountIdentityOutput struct{ *pulumi.OutputState }

func (ServiceAccountIdentityOutput) ElementType

func (ServiceAccountIdentityOutput) PrincipalId

The Principal ID associated with this Managed Service Identity.

func (ServiceAccountIdentityOutput) TenantId

The Tenant ID associated with this Managed Service Identity.

func (ServiceAccountIdentityOutput) ToServiceAccountIdentityOutput

func (o ServiceAccountIdentityOutput) ToServiceAccountIdentityOutput() ServiceAccountIdentityOutput

func (ServiceAccountIdentityOutput) ToServiceAccountIdentityOutputWithContext

func (o ServiceAccountIdentityOutput) ToServiceAccountIdentityOutputWithContext(ctx context.Context) ServiceAccountIdentityOutput

func (ServiceAccountIdentityOutput) ToServiceAccountIdentityPtrOutput

func (o ServiceAccountIdentityOutput) ToServiceAccountIdentityPtrOutput() ServiceAccountIdentityPtrOutput

func (ServiceAccountIdentityOutput) ToServiceAccountIdentityPtrOutputWithContext

func (o ServiceAccountIdentityOutput) ToServiceAccountIdentityPtrOutputWithContext(ctx context.Context) ServiceAccountIdentityPtrOutput

func (ServiceAccountIdentityOutput) Type

Specifies the type of Managed Service Identity that should be configured on this Media Services Account. Possible value is `SystemAssigned`.

type ServiceAccountIdentityPtrInput

type ServiceAccountIdentityPtrInput interface {
	pulumi.Input

	ToServiceAccountIdentityPtrOutput() ServiceAccountIdentityPtrOutput
	ToServiceAccountIdentityPtrOutputWithContext(context.Context) ServiceAccountIdentityPtrOutput
}

ServiceAccountIdentityPtrInput is an input type that accepts ServiceAccountIdentityArgs, ServiceAccountIdentityPtr and ServiceAccountIdentityPtrOutput values. You can construct a concrete instance of `ServiceAccountIdentityPtrInput` via:

        ServiceAccountIdentityArgs{...}

or:

        nil

type ServiceAccountIdentityPtrOutput

type ServiceAccountIdentityPtrOutput struct{ *pulumi.OutputState }

func (ServiceAccountIdentityPtrOutput) Elem

func (ServiceAccountIdentityPtrOutput) ElementType

func (ServiceAccountIdentityPtrOutput) PrincipalId

The Principal ID associated with this Managed Service Identity.

func (ServiceAccountIdentityPtrOutput) TenantId

The Tenant ID associated with this Managed Service Identity.

func (ServiceAccountIdentityPtrOutput) ToServiceAccountIdentityPtrOutput

func (o ServiceAccountIdentityPtrOutput) ToServiceAccountIdentityPtrOutput() ServiceAccountIdentityPtrOutput

func (ServiceAccountIdentityPtrOutput) ToServiceAccountIdentityPtrOutputWithContext

func (o ServiceAccountIdentityPtrOutput) ToServiceAccountIdentityPtrOutputWithContext(ctx context.Context) ServiceAccountIdentityPtrOutput

func (ServiceAccountIdentityPtrOutput) Type

Specifies the type of Managed Service Identity that should be configured on this Media Services Account. Possible value is `SystemAssigned`.

type ServiceAccountInput

type ServiceAccountInput interface {
	pulumi.Input

	ToServiceAccountOutput() ServiceAccountOutput
	ToServiceAccountOutputWithContext(ctx context.Context) ServiceAccountOutput
}

type ServiceAccountKeyDeliveryAccessControl

type ServiceAccountKeyDeliveryAccessControl struct {
	// The Default Action to use when no rules match from `ipAllowList`. Possible values are `Allow` and `Deny`.
	DefaultAction *string `pulumi:"defaultAction"`
	// One or more IP Addresses, or CIDR Blocks which should be able to access the Key Delivery.
	IpAllowLists []string `pulumi:"ipAllowLists"`
}

type ServiceAccountKeyDeliveryAccessControlArgs

type ServiceAccountKeyDeliveryAccessControlArgs struct {
	// The Default Action to use when no rules match from `ipAllowList`. Possible values are `Allow` and `Deny`.
	DefaultAction pulumi.StringPtrInput `pulumi:"defaultAction"`
	// One or more IP Addresses, or CIDR Blocks which should be able to access the Key Delivery.
	IpAllowLists pulumi.StringArrayInput `pulumi:"ipAllowLists"`
}

func (ServiceAccountKeyDeliveryAccessControlArgs) ElementType

func (ServiceAccountKeyDeliveryAccessControlArgs) ToServiceAccountKeyDeliveryAccessControlOutput

func (i ServiceAccountKeyDeliveryAccessControlArgs) ToServiceAccountKeyDeliveryAccessControlOutput() ServiceAccountKeyDeliveryAccessControlOutput

func (ServiceAccountKeyDeliveryAccessControlArgs) ToServiceAccountKeyDeliveryAccessControlOutputWithContext

func (i ServiceAccountKeyDeliveryAccessControlArgs) ToServiceAccountKeyDeliveryAccessControlOutputWithContext(ctx context.Context) ServiceAccountKeyDeliveryAccessControlOutput

func (ServiceAccountKeyDeliveryAccessControlArgs) ToServiceAccountKeyDeliveryAccessControlPtrOutput

func (i ServiceAccountKeyDeliveryAccessControlArgs) ToServiceAccountKeyDeliveryAccessControlPtrOutput() ServiceAccountKeyDeliveryAccessControlPtrOutput

func (ServiceAccountKeyDeliveryAccessControlArgs) ToServiceAccountKeyDeliveryAccessControlPtrOutputWithContext

func (i ServiceAccountKeyDeliveryAccessControlArgs) ToServiceAccountKeyDeliveryAccessControlPtrOutputWithContext(ctx context.Context) ServiceAccountKeyDeliveryAccessControlPtrOutput

type ServiceAccountKeyDeliveryAccessControlInput

type ServiceAccountKeyDeliveryAccessControlInput interface {
	pulumi.Input

	ToServiceAccountKeyDeliveryAccessControlOutput() ServiceAccountKeyDeliveryAccessControlOutput
	ToServiceAccountKeyDeliveryAccessControlOutputWithContext(context.Context) ServiceAccountKeyDeliveryAccessControlOutput
}

ServiceAccountKeyDeliveryAccessControlInput is an input type that accepts ServiceAccountKeyDeliveryAccessControlArgs and ServiceAccountKeyDeliveryAccessControlOutput values. You can construct a concrete instance of `ServiceAccountKeyDeliveryAccessControlInput` via:

ServiceAccountKeyDeliveryAccessControlArgs{...}

type ServiceAccountKeyDeliveryAccessControlOutput

type ServiceAccountKeyDeliveryAccessControlOutput struct{ *pulumi.OutputState }

func (ServiceAccountKeyDeliveryAccessControlOutput) DefaultAction

The Default Action to use when no rules match from `ipAllowList`. Possible values are `Allow` and `Deny`.

func (ServiceAccountKeyDeliveryAccessControlOutput) ElementType

func (ServiceAccountKeyDeliveryAccessControlOutput) IpAllowLists

One or more IP Addresses, or CIDR Blocks which should be able to access the Key Delivery.

func (ServiceAccountKeyDeliveryAccessControlOutput) ToServiceAccountKeyDeliveryAccessControlOutput

func (o ServiceAccountKeyDeliveryAccessControlOutput) ToServiceAccountKeyDeliveryAccessControlOutput() ServiceAccountKeyDeliveryAccessControlOutput

func (ServiceAccountKeyDeliveryAccessControlOutput) ToServiceAccountKeyDeliveryAccessControlOutputWithContext

func (o ServiceAccountKeyDeliveryAccessControlOutput) ToServiceAccountKeyDeliveryAccessControlOutputWithContext(ctx context.Context) ServiceAccountKeyDeliveryAccessControlOutput

func (ServiceAccountKeyDeliveryAccessControlOutput) ToServiceAccountKeyDeliveryAccessControlPtrOutput

func (o ServiceAccountKeyDeliveryAccessControlOutput) ToServiceAccountKeyDeliveryAccessControlPtrOutput() ServiceAccountKeyDeliveryAccessControlPtrOutput

func (ServiceAccountKeyDeliveryAccessControlOutput) ToServiceAccountKeyDeliveryAccessControlPtrOutputWithContext

func (o ServiceAccountKeyDeliveryAccessControlOutput) ToServiceAccountKeyDeliveryAccessControlPtrOutputWithContext(ctx context.Context) ServiceAccountKeyDeliveryAccessControlPtrOutput

type ServiceAccountKeyDeliveryAccessControlPtrInput

type ServiceAccountKeyDeliveryAccessControlPtrInput interface {
	pulumi.Input

	ToServiceAccountKeyDeliveryAccessControlPtrOutput() ServiceAccountKeyDeliveryAccessControlPtrOutput
	ToServiceAccountKeyDeliveryAccessControlPtrOutputWithContext(context.Context) ServiceAccountKeyDeliveryAccessControlPtrOutput
}

ServiceAccountKeyDeliveryAccessControlPtrInput is an input type that accepts ServiceAccountKeyDeliveryAccessControlArgs, ServiceAccountKeyDeliveryAccessControlPtr and ServiceAccountKeyDeliveryAccessControlPtrOutput values. You can construct a concrete instance of `ServiceAccountKeyDeliveryAccessControlPtrInput` via:

        ServiceAccountKeyDeliveryAccessControlArgs{...}

or:

        nil

type ServiceAccountKeyDeliveryAccessControlPtrOutput

type ServiceAccountKeyDeliveryAccessControlPtrOutput struct{ *pulumi.OutputState }

func (ServiceAccountKeyDeliveryAccessControlPtrOutput) DefaultAction

The Default Action to use when no rules match from `ipAllowList`. Possible values are `Allow` and `Deny`.

func (ServiceAccountKeyDeliveryAccessControlPtrOutput) Elem

func (ServiceAccountKeyDeliveryAccessControlPtrOutput) ElementType

func (ServiceAccountKeyDeliveryAccessControlPtrOutput) IpAllowLists

One or more IP Addresses, or CIDR Blocks which should be able to access the Key Delivery.

func (ServiceAccountKeyDeliveryAccessControlPtrOutput) ToServiceAccountKeyDeliveryAccessControlPtrOutput

func (o ServiceAccountKeyDeliveryAccessControlPtrOutput) ToServiceAccountKeyDeliveryAccessControlPtrOutput() ServiceAccountKeyDeliveryAccessControlPtrOutput

func (ServiceAccountKeyDeliveryAccessControlPtrOutput) ToServiceAccountKeyDeliveryAccessControlPtrOutputWithContext

func (o ServiceAccountKeyDeliveryAccessControlPtrOutput) ToServiceAccountKeyDeliveryAccessControlPtrOutputWithContext(ctx context.Context) ServiceAccountKeyDeliveryAccessControlPtrOutput

type ServiceAccountMap

type ServiceAccountMap map[string]ServiceAccountInput

func (ServiceAccountMap) ElementType

func (ServiceAccountMap) ElementType() reflect.Type

func (ServiceAccountMap) ToServiceAccountMapOutput

func (i ServiceAccountMap) ToServiceAccountMapOutput() ServiceAccountMapOutput

func (ServiceAccountMap) ToServiceAccountMapOutputWithContext

func (i ServiceAccountMap) ToServiceAccountMapOutputWithContext(ctx context.Context) ServiceAccountMapOutput

type ServiceAccountMapInput

type ServiceAccountMapInput interface {
	pulumi.Input

	ToServiceAccountMapOutput() ServiceAccountMapOutput
	ToServiceAccountMapOutputWithContext(context.Context) ServiceAccountMapOutput
}

ServiceAccountMapInput is an input type that accepts ServiceAccountMap and ServiceAccountMapOutput values. You can construct a concrete instance of `ServiceAccountMapInput` via:

ServiceAccountMap{ "key": ServiceAccountArgs{...} }

type ServiceAccountMapOutput

type ServiceAccountMapOutput struct{ *pulumi.OutputState }

func (ServiceAccountMapOutput) ElementType

func (ServiceAccountMapOutput) ElementType() reflect.Type

func (ServiceAccountMapOutput) MapIndex

func (ServiceAccountMapOutput) ToServiceAccountMapOutput

func (o ServiceAccountMapOutput) ToServiceAccountMapOutput() ServiceAccountMapOutput

func (ServiceAccountMapOutput) ToServiceAccountMapOutputWithContext

func (o ServiceAccountMapOutput) ToServiceAccountMapOutputWithContext(ctx context.Context) ServiceAccountMapOutput

type ServiceAccountOutput

type ServiceAccountOutput struct{ *pulumi.OutputState }

func (ServiceAccountOutput) ElementType

func (ServiceAccountOutput) ElementType() reflect.Type

func (ServiceAccountOutput) Identity added in v5.5.0

An `identity` block as defined below.

func (ServiceAccountOutput) KeyDeliveryAccessControl added in v5.5.0

A `keyDeliveryAccessControl` block as defined below.

func (ServiceAccountOutput) Location added in v5.5.0

Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.

func (ServiceAccountOutput) Name added in v5.5.0

Specifies the name of the Media Services Account. Only lowercase Alphanumeric characters allowed. Changing this forces a new resource to be created.

func (ServiceAccountOutput) ResourceGroupName added in v5.5.0

func (o ServiceAccountOutput) ResourceGroupName() pulumi.StringOutput

The name of the resource group in which to create the Media Services Account. Changing this forces a new resource to be created.

func (ServiceAccountOutput) StorageAccounts added in v5.5.0

One or more `storageAccount` blocks as defined below.

func (ServiceAccountOutput) StorageAuthenticationType added in v5.5.0

func (o ServiceAccountOutput) StorageAuthenticationType() pulumi.StringOutput

Specifies the storage authentication type. Possible value is `ManagedIdentity` or `System`.

func (ServiceAccountOutput) Tags added in v5.5.0

A mapping of tags assigned to the resource.

func (ServiceAccountOutput) ToServiceAccountOutput

func (o ServiceAccountOutput) ToServiceAccountOutput() ServiceAccountOutput

func (ServiceAccountOutput) ToServiceAccountOutputWithContext

func (o ServiceAccountOutput) ToServiceAccountOutputWithContext(ctx context.Context) ServiceAccountOutput

type ServiceAccountState

type ServiceAccountState struct {
	// An `identity` block as defined below.
	Identity ServiceAccountIdentityPtrInput
	// A `keyDeliveryAccessControl` block as defined below.
	KeyDeliveryAccessControl ServiceAccountKeyDeliveryAccessControlPtrInput
	// Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
	Location pulumi.StringPtrInput
	// Specifies the name of the Media Services Account. Only lowercase Alphanumeric characters allowed. Changing this forces a new resource to be created.
	Name pulumi.StringPtrInput
	// The name of the resource group in which to create the Media Services Account. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringPtrInput
	// One or more `storageAccount` blocks as defined below.
	StorageAccounts ServiceAccountStorageAccountArrayInput
	// Specifies the storage authentication type.
	// Possible value is  `ManagedIdentity` or `System`.
	StorageAuthenticationType pulumi.StringPtrInput
	// A mapping of tags assigned to the resource.
	Tags pulumi.StringMapInput
}

func (ServiceAccountState) ElementType

func (ServiceAccountState) ElementType() reflect.Type

type ServiceAccountStorageAccount

type ServiceAccountStorageAccount struct {
	// Specifies the ID of the Storage Account that will be associated with the Media Services instance.
	Id string `pulumi:"id"`
	// Specifies whether the storage account should be the primary account or not. Defaults to `false`.
	IsPrimary *bool `pulumi:"isPrimary"`
}

type ServiceAccountStorageAccountArgs

type ServiceAccountStorageAccountArgs struct {
	// Specifies the ID of the Storage Account that will be associated with the Media Services instance.
	Id pulumi.StringInput `pulumi:"id"`
	// Specifies whether the storage account should be the primary account or not. Defaults to `false`.
	IsPrimary pulumi.BoolPtrInput `pulumi:"isPrimary"`
}

func (ServiceAccountStorageAccountArgs) ElementType

func (ServiceAccountStorageAccountArgs) ToServiceAccountStorageAccountOutput

func (i ServiceAccountStorageAccountArgs) ToServiceAccountStorageAccountOutput() ServiceAccountStorageAccountOutput

func (ServiceAccountStorageAccountArgs) ToServiceAccountStorageAccountOutputWithContext

func (i ServiceAccountStorageAccountArgs) ToServiceAccountStorageAccountOutputWithContext(ctx context.Context) ServiceAccountStorageAccountOutput

type ServiceAccountStorageAccountArray

type ServiceAccountStorageAccountArray []ServiceAccountStorageAccountInput

func (ServiceAccountStorageAccountArray) ElementType

func (ServiceAccountStorageAccountArray) ToServiceAccountStorageAccountArrayOutput

func (i ServiceAccountStorageAccountArray) ToServiceAccountStorageAccountArrayOutput() ServiceAccountStorageAccountArrayOutput

func (ServiceAccountStorageAccountArray) ToServiceAccountStorageAccountArrayOutputWithContext

func (i ServiceAccountStorageAccountArray) ToServiceAccountStorageAccountArrayOutputWithContext(ctx context.Context) ServiceAccountStorageAccountArrayOutput

type ServiceAccountStorageAccountArrayInput

type ServiceAccountStorageAccountArrayInput interface {
	pulumi.Input

	ToServiceAccountStorageAccountArrayOutput() ServiceAccountStorageAccountArrayOutput
	ToServiceAccountStorageAccountArrayOutputWithContext(context.Context) ServiceAccountStorageAccountArrayOutput
}

ServiceAccountStorageAccountArrayInput is an input type that accepts ServiceAccountStorageAccountArray and ServiceAccountStorageAccountArrayOutput values. You can construct a concrete instance of `ServiceAccountStorageAccountArrayInput` via:

ServiceAccountStorageAccountArray{ ServiceAccountStorageAccountArgs{...} }

type ServiceAccountStorageAccountArrayOutput

type ServiceAccountStorageAccountArrayOutput struct{ *pulumi.OutputState }

func (ServiceAccountStorageAccountArrayOutput) ElementType

func (ServiceAccountStorageAccountArrayOutput) Index

func (ServiceAccountStorageAccountArrayOutput) ToServiceAccountStorageAccountArrayOutput

func (o ServiceAccountStorageAccountArrayOutput) ToServiceAccountStorageAccountArrayOutput() ServiceAccountStorageAccountArrayOutput

func (ServiceAccountStorageAccountArrayOutput) ToServiceAccountStorageAccountArrayOutputWithContext

func (o ServiceAccountStorageAccountArrayOutput) ToServiceAccountStorageAccountArrayOutputWithContext(ctx context.Context) ServiceAccountStorageAccountArrayOutput

type ServiceAccountStorageAccountInput

type ServiceAccountStorageAccountInput interface {
	pulumi.Input

	ToServiceAccountStorageAccountOutput() ServiceAccountStorageAccountOutput
	ToServiceAccountStorageAccountOutputWithContext(context.Context) ServiceAccountStorageAccountOutput
}

ServiceAccountStorageAccountInput is an input type that accepts ServiceAccountStorageAccountArgs and ServiceAccountStorageAccountOutput values. You can construct a concrete instance of `ServiceAccountStorageAccountInput` via:

ServiceAccountStorageAccountArgs{...}

type ServiceAccountStorageAccountOutput

type ServiceAccountStorageAccountOutput struct{ *pulumi.OutputState }

func (ServiceAccountStorageAccountOutput) ElementType

func (ServiceAccountStorageAccountOutput) Id

Specifies the ID of the Storage Account that will be associated with the Media Services instance.

func (ServiceAccountStorageAccountOutput) IsPrimary

Specifies whether the storage account should be the primary account or not. Defaults to `false`.

func (ServiceAccountStorageAccountOutput) ToServiceAccountStorageAccountOutput

func (o ServiceAccountStorageAccountOutput) ToServiceAccountStorageAccountOutput() ServiceAccountStorageAccountOutput

func (ServiceAccountStorageAccountOutput) ToServiceAccountStorageAccountOutputWithContext

func (o ServiceAccountStorageAccountOutput) ToServiceAccountStorageAccountOutputWithContext(ctx context.Context) ServiceAccountStorageAccountOutput

type StreamingEndpoint

type StreamingEndpoint struct {
	pulumi.CustomResourceState

	// A `accessControl` block as defined below.
	AccessControl StreamingEndpointAccessControlPtrOutput `pulumi:"accessControl"`
	// The flag indicates if the resource should be automatically started on creation.
	AutoStartEnabled pulumi.BoolOutput `pulumi:"autoStartEnabled"`
	// The CDN enabled flag.
	CdnEnabled pulumi.BoolPtrOutput `pulumi:"cdnEnabled"`
	// The CDN profile name.
	CdnProfile pulumi.StringOutput `pulumi:"cdnProfile"`
	// The CDN provider name. Supported value are `StandardVerizon`,`PremiumVerizon` and `StandardAkamai`
	CdnProvider pulumi.StringOutput `pulumi:"cdnProvider"`
	// A `crossSiteAccessPolicy` block as defined below.
	CrossSiteAccessPolicy StreamingEndpointCrossSiteAccessPolicyPtrOutput `pulumi:"crossSiteAccessPolicy"`
	// The custom host names of the streaming endpoint.
	CustomHostNames pulumi.StringArrayOutput `pulumi:"customHostNames"`
	// The streaming endpoint description.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// The host name of the Streaming Endpoint.
	HostName pulumi.StringOutput `pulumi:"hostName"`
	// The Azure Region where the Streaming Endpoint should exist. Changing this forces a new Streaming Endpoint to be created.
	Location pulumi.StringOutput `pulumi:"location"`
	// Max cache age in seconds.
	MaxCacheAgeSeconds pulumi.IntPtrOutput `pulumi:"maxCacheAgeSeconds"`
	// The Media Services account name. Changing this forces a new Streaming Endpoint to be created.
	MediaServicesAccountName pulumi.StringOutput `pulumi:"mediaServicesAccountName"`
	// The name which should be used for this Streaming Endpoint maximum length is 24. Changing this forces a new Streaming Endpoint to be created.
	Name pulumi.StringOutput `pulumi:"name"`
	// The name of the Resource Group where the Streaming Endpoint should exist. Changing this forces a new Streaming Endpoint to be created.
	ResourceGroupName pulumi.StringOutput `pulumi:"resourceGroupName"`
	// The number of scale units. To create a Standard Streaming Endpoint set 0. For Premium Streaming Endpoint valid values are between 1 and 10.
	ScaleUnits pulumi.IntOutput `pulumi:"scaleUnits"`
	// A mapping of tags which should be assigned to the Streaming Endpoint.
	Tags pulumi.StringMapOutput `pulumi:"tags"`
}

Manages a Streaming Endpoint.

## Example Usage

```go 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 {
		exampleResourceGroup, err := core.NewResourceGroup(ctx, "exampleResourceGroup", &core.ResourceGroupArgs{
			Location: pulumi.String("West Europe"),
		})
		if err != nil {
			return err
		}
		exampleAccount, err := storage.NewAccount(ctx, "exampleAccount", &storage.AccountArgs{
			ResourceGroupName:      exampleResourceGroup.Name,
			Location:               exampleResourceGroup.Location,
			AccountTier:            pulumi.String("Standard"),
			AccountReplicationType: pulumi.String("GRS"),
		})
		if err != nil {
			return err
		}
		exampleServiceAccount, err := media.NewServiceAccount(ctx, "exampleServiceAccount", &media.ServiceAccountArgs{
			Location:          exampleResourceGroup.Location,
			ResourceGroupName: exampleResourceGroup.Name,
			StorageAccounts: media.ServiceAccountStorageAccountArray{
				&media.ServiceAccountStorageAccountArgs{
					Id:        exampleAccount.ID(),
					IsPrimary: pulumi.Bool(true),
				},
			},
		})
		if err != nil {
			return err
		}
		_, err = media.NewStreamingEndpoint(ctx, "exampleStreamingEndpoint", &media.StreamingEndpointArgs{
			ResourceGroupName:        exampleResourceGroup.Name,
			Location:                 exampleResourceGroup.Location,
			MediaServicesAccountName: exampleServiceAccount.Name,
			ScaleUnits:               pulumi.Int(2),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` ### With Access Control

```go 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 {
		exampleResourceGroup, err := core.NewResourceGroup(ctx, "exampleResourceGroup", &core.ResourceGroupArgs{
			Location: pulumi.String("West Europe"),
		})
		if err != nil {
			return err
		}
		exampleAccount, err := storage.NewAccount(ctx, "exampleAccount", &storage.AccountArgs{
			ResourceGroupName:      exampleResourceGroup.Name,
			Location:               exampleResourceGroup.Location,
			AccountTier:            pulumi.String("Standard"),
			AccountReplicationType: pulumi.String("GRS"),
		})
		if err != nil {
			return err
		}
		exampleServiceAccount, err := media.NewServiceAccount(ctx, "exampleServiceAccount", &media.ServiceAccountArgs{
			Location:          exampleResourceGroup.Location,
			ResourceGroupName: exampleResourceGroup.Name,
			StorageAccounts: media.ServiceAccountStorageAccountArray{
				&media.ServiceAccountStorageAccountArgs{
					Id:        exampleAccount.ID(),
					IsPrimary: pulumi.Bool(true),
				},
			},
		})
		if err != nil {
			return err
		}
		_, err = media.NewStreamingEndpoint(ctx, "exampleStreamingEndpoint", &media.StreamingEndpointArgs{
			ResourceGroupName:        exampleResourceGroup.Name,
			Location:                 exampleResourceGroup.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
	})
}

```

## Import

Streaming Endpoints can be imported using the `resource id`, e.g.

```sh

$ pulumi import azure:media/streamingEndpoint:StreamingEndpoint example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.Media/mediaservices/service1/streamingendpoints/endpoint1

```

func GetStreamingEndpoint

func GetStreamingEndpoint(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *StreamingEndpointState, opts ...pulumi.ResourceOption) (*StreamingEndpoint, error)

GetStreamingEndpoint gets an existing StreamingEndpoint resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewStreamingEndpoint

func NewStreamingEndpoint(ctx *pulumi.Context,
	name string, args *StreamingEndpointArgs, opts ...pulumi.ResourceOption) (*StreamingEndpoint, error)

NewStreamingEndpoint registers a new resource with the given unique name, arguments, and options.

func (*StreamingEndpoint) ElementType

func (*StreamingEndpoint) ElementType() reflect.Type

func (*StreamingEndpoint) ToStreamingEndpointOutput

func (i *StreamingEndpoint) ToStreamingEndpointOutput() StreamingEndpointOutput

func (*StreamingEndpoint) ToStreamingEndpointOutputWithContext

func (i *StreamingEndpoint) ToStreamingEndpointOutputWithContext(ctx context.Context) StreamingEndpointOutput

type StreamingEndpointAccessControl

type StreamingEndpointAccessControl struct {
	// One or more `akamaiSignatureHeaderAuthenticationKey` blocks as defined below.
	AkamaiSignatureHeaderAuthenticationKeys []StreamingEndpointAccessControlAkamaiSignatureHeaderAuthenticationKey `pulumi:"akamaiSignatureHeaderAuthenticationKeys"`
	// A `ip` block as defined below.
	IpAllows []StreamingEndpointAccessControlIpAllow `pulumi:"ipAllows"`
}

type StreamingEndpointAccessControlAkamaiSignatureHeaderAuthenticationKey

type StreamingEndpointAccessControlAkamaiSignatureHeaderAuthenticationKey struct {
	// Authentication key.
	Base64Key *string `pulumi:"base64Key"`
	// The expiration time of the authentication key.
	Expiration *string `pulumi:"expiration"`
	// Identifier of the key.
	Identifier *string `pulumi:"identifier"`
}

type StreamingEndpointAccessControlAkamaiSignatureHeaderAuthenticationKeyArgs

type StreamingEndpointAccessControlAkamaiSignatureHeaderAuthenticationKeyArgs struct {
	// Authentication key.
	Base64Key pulumi.StringPtrInput `pulumi:"base64Key"`
	// The expiration time of the authentication key.
	Expiration pulumi.StringPtrInput `pulumi:"expiration"`
	// Identifier of the key.
	Identifier pulumi.StringPtrInput `pulumi:"identifier"`
}

func (StreamingEndpointAccessControlAkamaiSignatureHeaderAuthenticationKeyArgs) ElementType

func (StreamingEndpointAccessControlAkamaiSignatureHeaderAuthenticationKeyArgs) ToStreamingEndpointAccessControlAkamaiSignatureHeaderAuthenticationKeyOutput

func (StreamingEndpointAccessControlAkamaiSignatureHeaderAuthenticationKeyArgs) ToStreamingEndpointAccessControlAkamaiSignatureHeaderAuthenticationKeyOutputWithContext

func (i StreamingEndpointAccessControlAkamaiSignatureHeaderAuthenticationKeyArgs) ToStreamingEndpointAccessControlAkamaiSignatureHeaderAuthenticationKeyOutputWithContext(ctx context.Context) StreamingEndpointAccessControlAkamaiSignatureHeaderAuthenticationKeyOutput

type StreamingEndpointAccessControlAkamaiSignatureHeaderAuthenticationKeyArray

type StreamingEndpointAccessControlAkamaiSignatureHeaderAuthenticationKeyArray []StreamingEndpointAccessControlAkamaiSignatureHeaderAuthenticationKeyInput

func (StreamingEndpointAccessControlAkamaiSignatureHeaderAuthenticationKeyArray) ElementType

func (StreamingEndpointAccessControlAkamaiSignatureHeaderAuthenticationKeyArray) ToStreamingEndpointAccessControlAkamaiSignatureHeaderAuthenticationKeyArrayOutput

func (StreamingEndpointAccessControlAkamaiSignatureHeaderAuthenticationKeyArray) ToStreamingEndpointAccessControlAkamaiSignatureHeaderAuthenticationKeyArrayOutputWithContext

func (i StreamingEndpointAccessControlAkamaiSignatureHeaderAuthenticationKeyArray) ToStreamingEndpointAccessControlAkamaiSignatureHeaderAuthenticationKeyArrayOutputWithContext(ctx context.Context) StreamingEndpointAccessControlAkamaiSignatureHeaderAuthenticationKeyArrayOutput

type StreamingEndpointAccessControlAkamaiSignatureHeaderAuthenticationKeyArrayInput

type StreamingEndpointAccessControlAkamaiSignatureHeaderAuthenticationKeyArrayInput interface {
	pulumi.Input

	ToStreamingEndpointAccessControlAkamaiSignatureHeaderAuthenticationKeyArrayOutput() StreamingEndpointAccessControlAkamaiSignatureHeaderAuthenticationKeyArrayOutput
	ToStreamingEndpointAccessControlAkamaiSignatureHeaderAuthenticationKeyArrayOutputWithContext(context.Context) StreamingEndpointAccessControlAkamaiSignatureHeaderAuthenticationKeyArrayOutput
}

StreamingEndpointAccessControlAkamaiSignatureHeaderAuthenticationKeyArrayInput is an input type that accepts StreamingEndpointAccessControlAkamaiSignatureHeaderAuthenticationKeyArray and StreamingEndpointAccessControlAkamaiSignatureHeaderAuthenticationKeyArrayOutput values. You can construct a concrete instance of `StreamingEndpointAccessControlAkamaiSignatureHeaderAuthenticationKeyArrayInput` via:

StreamingEndpointAccessControlAkamaiSignatureHeaderAuthenticationKeyArray{ StreamingEndpointAccessControlAkamaiSignatureHeaderAuthenticationKeyArgs{...} }

type StreamingEndpointAccessControlAkamaiSignatureHeaderAuthenticationKeyArrayOutput

type StreamingEndpointAccessControlAkamaiSignatureHeaderAuthenticationKeyArrayOutput struct{ *pulumi.OutputState }

func (StreamingEndpointAccessControlAkamaiSignatureHeaderAuthenticationKeyArrayOutput) ElementType

func (StreamingEndpointAccessControlAkamaiSignatureHeaderAuthenticationKeyArrayOutput) ToStreamingEndpointAccessControlAkamaiSignatureHeaderAuthenticationKeyArrayOutput

func (StreamingEndpointAccessControlAkamaiSignatureHeaderAuthenticationKeyArrayOutput) ToStreamingEndpointAccessControlAkamaiSignatureHeaderAuthenticationKeyArrayOutputWithContext

type StreamingEndpointAccessControlAkamaiSignatureHeaderAuthenticationKeyInput

type StreamingEndpointAccessControlAkamaiSignatureHeaderAuthenticationKeyInput interface {
	pulumi.Input

	ToStreamingEndpointAccessControlAkamaiSignatureHeaderAuthenticationKeyOutput() StreamingEndpointAccessControlAkamaiSignatureHeaderAuthenticationKeyOutput
	ToStreamingEndpointAccessControlAkamaiSignatureHeaderAuthenticationKeyOutputWithContext(context.Context) StreamingEndpointAccessControlAkamaiSignatureHeaderAuthenticationKeyOutput
}

StreamingEndpointAccessControlAkamaiSignatureHeaderAuthenticationKeyInput is an input type that accepts StreamingEndpointAccessControlAkamaiSignatureHeaderAuthenticationKeyArgs and StreamingEndpointAccessControlAkamaiSignatureHeaderAuthenticationKeyOutput values. You can construct a concrete instance of `StreamingEndpointAccessControlAkamaiSignatureHeaderAuthenticationKeyInput` via:

StreamingEndpointAccessControlAkamaiSignatureHeaderAuthenticationKeyArgs{...}

type StreamingEndpointAccessControlAkamaiSignatureHeaderAuthenticationKeyOutput

type StreamingEndpointAccessControlAkamaiSignatureHeaderAuthenticationKeyOutput struct{ *pulumi.OutputState }

func (StreamingEndpointAccessControlAkamaiSignatureHeaderAuthenticationKeyOutput) Base64Key

Authentication key.

func (StreamingEndpointAccessControlAkamaiSignatureHeaderAuthenticationKeyOutput) ElementType

func (StreamingEndpointAccessControlAkamaiSignatureHeaderAuthenticationKeyOutput) Expiration

The expiration time of the authentication key.

func (StreamingEndpointAccessControlAkamaiSignatureHeaderAuthenticationKeyOutput) Identifier

Identifier of the key.

func (StreamingEndpointAccessControlAkamaiSignatureHeaderAuthenticationKeyOutput) ToStreamingEndpointAccessControlAkamaiSignatureHeaderAuthenticationKeyOutput

func (StreamingEndpointAccessControlAkamaiSignatureHeaderAuthenticationKeyOutput) ToStreamingEndpointAccessControlAkamaiSignatureHeaderAuthenticationKeyOutputWithContext

type StreamingEndpointAccessControlArgs

type StreamingEndpointAccessControlArgs struct {
	// One or more `akamaiSignatureHeaderAuthenticationKey` blocks as defined below.
	AkamaiSignatureHeaderAuthenticationKeys StreamingEndpointAccessControlAkamaiSignatureHeaderAuthenticationKeyArrayInput `pulumi:"akamaiSignatureHeaderAuthenticationKeys"`
	// A `ip` block as defined below.
	IpAllows StreamingEndpointAccessControlIpAllowArrayInput `pulumi:"ipAllows"`
}

func (StreamingEndpointAccessControlArgs) ElementType

func (StreamingEndpointAccessControlArgs) ToStreamingEndpointAccessControlOutput

func (i StreamingEndpointAccessControlArgs) ToStreamingEndpointAccessControlOutput() StreamingEndpointAccessControlOutput

func (StreamingEndpointAccessControlArgs) ToStreamingEndpointAccessControlOutputWithContext

func (i StreamingEndpointAccessControlArgs) ToStreamingEndpointAccessControlOutputWithContext(ctx context.Context) StreamingEndpointAccessControlOutput

func (StreamingEndpointAccessControlArgs) ToStreamingEndpointAccessControlPtrOutput

func (i StreamingEndpointAccessControlArgs) ToStreamingEndpointAccessControlPtrOutput() StreamingEndpointAccessControlPtrOutput

func (StreamingEndpointAccessControlArgs) ToStreamingEndpointAccessControlPtrOutputWithContext

func (i StreamingEndpointAccessControlArgs) ToStreamingEndpointAccessControlPtrOutputWithContext(ctx context.Context) StreamingEndpointAccessControlPtrOutput

type StreamingEndpointAccessControlInput

type StreamingEndpointAccessControlInput interface {
	pulumi.Input

	ToStreamingEndpointAccessControlOutput() StreamingEndpointAccessControlOutput
	ToStreamingEndpointAccessControlOutputWithContext(context.Context) StreamingEndpointAccessControlOutput
}

StreamingEndpointAccessControlInput is an input type that accepts StreamingEndpointAccessControlArgs and StreamingEndpointAccessControlOutput values. You can construct a concrete instance of `StreamingEndpointAccessControlInput` via:

StreamingEndpointAccessControlArgs{...}

type StreamingEndpointAccessControlIpAllow

type StreamingEndpointAccessControlIpAllow struct {
	// The IP address to allow.
	Address *string `pulumi:"address"`
	// The friendly name for the IP address range.
	Name *string `pulumi:"name"`
	// The subnet mask prefix length (see CIDR notation).
	SubnetPrefixLength *int `pulumi:"subnetPrefixLength"`
}

type StreamingEndpointAccessControlIpAllowArgs

type StreamingEndpointAccessControlIpAllowArgs struct {
	// The IP address to allow.
	Address pulumi.StringPtrInput `pulumi:"address"`
	// The friendly name for the IP address range.
	Name pulumi.StringPtrInput `pulumi:"name"`
	// The subnet mask prefix length (see CIDR notation).
	SubnetPrefixLength pulumi.IntPtrInput `pulumi:"subnetPrefixLength"`
}

func (StreamingEndpointAccessControlIpAllowArgs) ElementType

func (StreamingEndpointAccessControlIpAllowArgs) ToStreamingEndpointAccessControlIpAllowOutput

func (i StreamingEndpointAccessControlIpAllowArgs) ToStreamingEndpointAccessControlIpAllowOutput() StreamingEndpointAccessControlIpAllowOutput

func (StreamingEndpointAccessControlIpAllowArgs) ToStreamingEndpointAccessControlIpAllowOutputWithContext

func (i StreamingEndpointAccessControlIpAllowArgs) ToStreamingEndpointAccessControlIpAllowOutputWithContext(ctx context.Context) StreamingEndpointAccessControlIpAllowOutput

type StreamingEndpointAccessControlIpAllowArray

type StreamingEndpointAccessControlIpAllowArray []StreamingEndpointAccessControlIpAllowInput

func (StreamingEndpointAccessControlIpAllowArray) ElementType

func (StreamingEndpointAccessControlIpAllowArray) ToStreamingEndpointAccessControlIpAllowArrayOutput

func (i StreamingEndpointAccessControlIpAllowArray) ToStreamingEndpointAccessControlIpAllowArrayOutput() StreamingEndpointAccessControlIpAllowArrayOutput

func (StreamingEndpointAccessControlIpAllowArray) ToStreamingEndpointAccessControlIpAllowArrayOutputWithContext

func (i StreamingEndpointAccessControlIpAllowArray) ToStreamingEndpointAccessControlIpAllowArrayOutputWithContext(ctx context.Context) StreamingEndpointAccessControlIpAllowArrayOutput

type StreamingEndpointAccessControlIpAllowArrayInput

type StreamingEndpointAccessControlIpAllowArrayInput interface {
	pulumi.Input

	ToStreamingEndpointAccessControlIpAllowArrayOutput() StreamingEndpointAccessControlIpAllowArrayOutput
	ToStreamingEndpointAccessControlIpAllowArrayOutputWithContext(context.Context) StreamingEndpointAccessControlIpAllowArrayOutput
}

StreamingEndpointAccessControlIpAllowArrayInput is an input type that accepts StreamingEndpointAccessControlIpAllowArray and StreamingEndpointAccessControlIpAllowArrayOutput values. You can construct a concrete instance of `StreamingEndpointAccessControlIpAllowArrayInput` via:

StreamingEndpointAccessControlIpAllowArray{ StreamingEndpointAccessControlIpAllowArgs{...} }

type StreamingEndpointAccessControlIpAllowArrayOutput

type StreamingEndpointAccessControlIpAllowArrayOutput struct{ *pulumi.OutputState }

func (StreamingEndpointAccessControlIpAllowArrayOutput) ElementType

func (StreamingEndpointAccessControlIpAllowArrayOutput) Index

func (StreamingEndpointAccessControlIpAllowArrayOutput) ToStreamingEndpointAccessControlIpAllowArrayOutput

func (o StreamingEndpointAccessControlIpAllowArrayOutput) ToStreamingEndpointAccessControlIpAllowArrayOutput() StreamingEndpointAccessControlIpAllowArrayOutput

func (StreamingEndpointAccessControlIpAllowArrayOutput) ToStreamingEndpointAccessControlIpAllowArrayOutputWithContext

func (o StreamingEndpointAccessControlIpAllowArrayOutput) ToStreamingEndpointAccessControlIpAllowArrayOutputWithContext(ctx context.Context) StreamingEndpointAccessControlIpAllowArrayOutput

type StreamingEndpointAccessControlIpAllowInput

type StreamingEndpointAccessControlIpAllowInput interface {
	pulumi.Input

	ToStreamingEndpointAccessControlIpAllowOutput() StreamingEndpointAccessControlIpAllowOutput
	ToStreamingEndpointAccessControlIpAllowOutputWithContext(context.Context) StreamingEndpointAccessControlIpAllowOutput
}

StreamingEndpointAccessControlIpAllowInput is an input type that accepts StreamingEndpointAccessControlIpAllowArgs and StreamingEndpointAccessControlIpAllowOutput values. You can construct a concrete instance of `StreamingEndpointAccessControlIpAllowInput` via:

StreamingEndpointAccessControlIpAllowArgs{...}

type StreamingEndpointAccessControlIpAllowOutput

type StreamingEndpointAccessControlIpAllowOutput struct{ *pulumi.OutputState }

func (StreamingEndpointAccessControlIpAllowOutput) Address

The IP address to allow.

func (StreamingEndpointAccessControlIpAllowOutput) ElementType

func (StreamingEndpointAccessControlIpAllowOutput) Name

The friendly name for the IP address range.

func (StreamingEndpointAccessControlIpAllowOutput) SubnetPrefixLength

The subnet mask prefix length (see CIDR notation).

func (StreamingEndpointAccessControlIpAllowOutput) ToStreamingEndpointAccessControlIpAllowOutput

func (o StreamingEndpointAccessControlIpAllowOutput) ToStreamingEndpointAccessControlIpAllowOutput() StreamingEndpointAccessControlIpAllowOutput

func (StreamingEndpointAccessControlIpAllowOutput) ToStreamingEndpointAccessControlIpAllowOutputWithContext

func (o StreamingEndpointAccessControlIpAllowOutput) ToStreamingEndpointAccessControlIpAllowOutputWithContext(ctx context.Context) StreamingEndpointAccessControlIpAllowOutput

type StreamingEndpointAccessControlOutput

type StreamingEndpointAccessControlOutput struct{ *pulumi.OutputState }

func (StreamingEndpointAccessControlOutput) AkamaiSignatureHeaderAuthenticationKeys

One or more `akamaiSignatureHeaderAuthenticationKey` blocks as defined below.

func (StreamingEndpointAccessControlOutput) ElementType

func (StreamingEndpointAccessControlOutput) IpAllows

A `ip` block as defined below.

func (StreamingEndpointAccessControlOutput) ToStreamingEndpointAccessControlOutput

func (o StreamingEndpointAccessControlOutput) ToStreamingEndpointAccessControlOutput() StreamingEndpointAccessControlOutput

func (StreamingEndpointAccessControlOutput) ToStreamingEndpointAccessControlOutputWithContext

func (o StreamingEndpointAccessControlOutput) ToStreamingEndpointAccessControlOutputWithContext(ctx context.Context) StreamingEndpointAccessControlOutput

func (StreamingEndpointAccessControlOutput) ToStreamingEndpointAccessControlPtrOutput

func (o StreamingEndpointAccessControlOutput) ToStreamingEndpointAccessControlPtrOutput() StreamingEndpointAccessControlPtrOutput

func (StreamingEndpointAccessControlOutput) ToStreamingEndpointAccessControlPtrOutputWithContext

func (o StreamingEndpointAccessControlOutput) ToStreamingEndpointAccessControlPtrOutputWithContext(ctx context.Context) StreamingEndpointAccessControlPtrOutput

type StreamingEndpointAccessControlPtrInput

type StreamingEndpointAccessControlPtrInput interface {
	pulumi.Input

	ToStreamingEndpointAccessControlPtrOutput() StreamingEndpointAccessControlPtrOutput
	ToStreamingEndpointAccessControlPtrOutputWithContext(context.Context) StreamingEndpointAccessControlPtrOutput
}

StreamingEndpointAccessControlPtrInput is an input type that accepts StreamingEndpointAccessControlArgs, StreamingEndpointAccessControlPtr and StreamingEndpointAccessControlPtrOutput values. You can construct a concrete instance of `StreamingEndpointAccessControlPtrInput` via:

        StreamingEndpointAccessControlArgs{...}

or:

        nil

type StreamingEndpointAccessControlPtrOutput

type StreamingEndpointAccessControlPtrOutput struct{ *pulumi.OutputState }

func (StreamingEndpointAccessControlPtrOutput) AkamaiSignatureHeaderAuthenticationKeys

One or more `akamaiSignatureHeaderAuthenticationKey` blocks as defined below.

func (StreamingEndpointAccessControlPtrOutput) Elem

func (StreamingEndpointAccessControlPtrOutput) ElementType

func (StreamingEndpointAccessControlPtrOutput) IpAllows

A `ip` block as defined below.

func (StreamingEndpointAccessControlPtrOutput) ToStreamingEndpointAccessControlPtrOutput

func (o StreamingEndpointAccessControlPtrOutput) ToStreamingEndpointAccessControlPtrOutput() StreamingEndpointAccessControlPtrOutput

func (StreamingEndpointAccessControlPtrOutput) ToStreamingEndpointAccessControlPtrOutputWithContext

func (o StreamingEndpointAccessControlPtrOutput) ToStreamingEndpointAccessControlPtrOutputWithContext(ctx context.Context) StreamingEndpointAccessControlPtrOutput

type StreamingEndpointArgs

type StreamingEndpointArgs struct {
	// A `accessControl` block as defined below.
	AccessControl StreamingEndpointAccessControlPtrInput
	// The flag indicates if the resource should be automatically started on creation.
	AutoStartEnabled pulumi.BoolPtrInput
	// The CDN enabled flag.
	CdnEnabled pulumi.BoolPtrInput
	// The CDN profile name.
	CdnProfile pulumi.StringPtrInput
	// The CDN provider name. Supported value are `StandardVerizon`,`PremiumVerizon` and `StandardAkamai`
	CdnProvider pulumi.StringPtrInput
	// A `crossSiteAccessPolicy` block as defined below.
	CrossSiteAccessPolicy StreamingEndpointCrossSiteAccessPolicyPtrInput
	// The custom host names of the streaming endpoint.
	CustomHostNames pulumi.StringArrayInput
	// The streaming endpoint description.
	Description pulumi.StringPtrInput
	// The Azure Region where the Streaming Endpoint should exist. Changing this forces a new Streaming Endpoint to be created.
	Location pulumi.StringPtrInput
	// Max cache age in seconds.
	MaxCacheAgeSeconds pulumi.IntPtrInput
	// The Media Services account name. Changing this forces a new Streaming Endpoint to be created.
	MediaServicesAccountName pulumi.StringInput
	// The name which should be used for this Streaming Endpoint maximum length is 24. Changing this forces a new Streaming Endpoint to be created.
	Name pulumi.StringPtrInput
	// The name of the Resource Group where the Streaming Endpoint should exist. Changing this forces a new Streaming Endpoint to be created.
	ResourceGroupName pulumi.StringInput
	// The number of scale units. To create a Standard Streaming Endpoint set 0. For Premium Streaming Endpoint valid values are between 1 and 10.
	ScaleUnits pulumi.IntInput
	// A mapping of tags which should be assigned to the Streaming Endpoint.
	Tags pulumi.StringMapInput
}

The set of arguments for constructing a StreamingEndpoint resource.

func (StreamingEndpointArgs) ElementType

func (StreamingEndpointArgs) ElementType() reflect.Type

type StreamingEndpointArray

type StreamingEndpointArray []StreamingEndpointInput

func (StreamingEndpointArray) ElementType

func (StreamingEndpointArray) ElementType() reflect.Type

func (StreamingEndpointArray) ToStreamingEndpointArrayOutput

func (i StreamingEndpointArray) ToStreamingEndpointArrayOutput() StreamingEndpointArrayOutput

func (StreamingEndpointArray) ToStreamingEndpointArrayOutputWithContext

func (i StreamingEndpointArray) ToStreamingEndpointArrayOutputWithContext(ctx context.Context) StreamingEndpointArrayOutput

type StreamingEndpointArrayInput

type StreamingEndpointArrayInput interface {
	pulumi.Input

	ToStreamingEndpointArrayOutput() StreamingEndpointArrayOutput
	ToStreamingEndpointArrayOutputWithContext(context.Context) StreamingEndpointArrayOutput
}

StreamingEndpointArrayInput is an input type that accepts StreamingEndpointArray and StreamingEndpointArrayOutput values. You can construct a concrete instance of `StreamingEndpointArrayInput` via:

StreamingEndpointArray{ StreamingEndpointArgs{...} }

type StreamingEndpointArrayOutput

type StreamingEndpointArrayOutput struct{ *pulumi.OutputState }

func (StreamingEndpointArrayOutput) ElementType

func (StreamingEndpointArrayOutput) Index

func (StreamingEndpointArrayOutput) ToStreamingEndpointArrayOutput

func (o StreamingEndpointArrayOutput) ToStreamingEndpointArrayOutput() StreamingEndpointArrayOutput

func (StreamingEndpointArrayOutput) ToStreamingEndpointArrayOutputWithContext

func (o StreamingEndpointArrayOutput) ToStreamingEndpointArrayOutputWithContext(ctx context.Context) StreamingEndpointArrayOutput

type StreamingEndpointCrossSiteAccessPolicy

type StreamingEndpointCrossSiteAccessPolicy struct {
	// The content of clientaccesspolicy.xml used by Silverlight.
	ClientAccessPolicy *string `pulumi:"clientAccessPolicy"`
	// The content of crossdomain.xml used by Silverlight.
	CrossDomainPolicy *string `pulumi:"crossDomainPolicy"`
}

type StreamingEndpointCrossSiteAccessPolicyArgs

type StreamingEndpointCrossSiteAccessPolicyArgs struct {
	// The content of clientaccesspolicy.xml used by Silverlight.
	ClientAccessPolicy pulumi.StringPtrInput `pulumi:"clientAccessPolicy"`
	// The content of crossdomain.xml used by Silverlight.
	CrossDomainPolicy pulumi.StringPtrInput `pulumi:"crossDomainPolicy"`
}

func (StreamingEndpointCrossSiteAccessPolicyArgs) ElementType

func (StreamingEndpointCrossSiteAccessPolicyArgs) ToStreamingEndpointCrossSiteAccessPolicyOutput

func (i StreamingEndpointCrossSiteAccessPolicyArgs) ToStreamingEndpointCrossSiteAccessPolicyOutput() StreamingEndpointCrossSiteAccessPolicyOutput

func (StreamingEndpointCrossSiteAccessPolicyArgs) ToStreamingEndpointCrossSiteAccessPolicyOutputWithContext

func (i StreamingEndpointCrossSiteAccessPolicyArgs) ToStreamingEndpointCrossSiteAccessPolicyOutputWithContext(ctx context.Context) StreamingEndpointCrossSiteAccessPolicyOutput

func (StreamingEndpointCrossSiteAccessPolicyArgs) ToStreamingEndpointCrossSiteAccessPolicyPtrOutput

func (i StreamingEndpointCrossSiteAccessPolicyArgs) ToStreamingEndpointCrossSiteAccessPolicyPtrOutput() StreamingEndpointCrossSiteAccessPolicyPtrOutput

func (StreamingEndpointCrossSiteAccessPolicyArgs) ToStreamingEndpointCrossSiteAccessPolicyPtrOutputWithContext

func (i StreamingEndpointCrossSiteAccessPolicyArgs) ToStreamingEndpointCrossSiteAccessPolicyPtrOutputWithContext(ctx context.Context) StreamingEndpointCrossSiteAccessPolicyPtrOutput

type StreamingEndpointCrossSiteAccessPolicyInput

type StreamingEndpointCrossSiteAccessPolicyInput interface {
	pulumi.Input

	ToStreamingEndpointCrossSiteAccessPolicyOutput() StreamingEndpointCrossSiteAccessPolicyOutput
	ToStreamingEndpointCrossSiteAccessPolicyOutputWithContext(context.Context) StreamingEndpointCrossSiteAccessPolicyOutput
}

StreamingEndpointCrossSiteAccessPolicyInput is an input type that accepts StreamingEndpointCrossSiteAccessPolicyArgs and StreamingEndpointCrossSiteAccessPolicyOutput values. You can construct a concrete instance of `StreamingEndpointCrossSiteAccessPolicyInput` via:

StreamingEndpointCrossSiteAccessPolicyArgs{...}

type StreamingEndpointCrossSiteAccessPolicyOutput

type StreamingEndpointCrossSiteAccessPolicyOutput struct{ *pulumi.OutputState }

func (StreamingEndpointCrossSiteAccessPolicyOutput) ClientAccessPolicy

The content of clientaccesspolicy.xml used by Silverlight.

func (StreamingEndpointCrossSiteAccessPolicyOutput) CrossDomainPolicy

The content of crossdomain.xml used by Silverlight.

func (StreamingEndpointCrossSiteAccessPolicyOutput) ElementType

func (StreamingEndpointCrossSiteAccessPolicyOutput) ToStreamingEndpointCrossSiteAccessPolicyOutput

func (o StreamingEndpointCrossSiteAccessPolicyOutput) ToStreamingEndpointCrossSiteAccessPolicyOutput() StreamingEndpointCrossSiteAccessPolicyOutput

func (StreamingEndpointCrossSiteAccessPolicyOutput) ToStreamingEndpointCrossSiteAccessPolicyOutputWithContext

func (o StreamingEndpointCrossSiteAccessPolicyOutput) ToStreamingEndpointCrossSiteAccessPolicyOutputWithContext(ctx context.Context) StreamingEndpointCrossSiteAccessPolicyOutput

func (StreamingEndpointCrossSiteAccessPolicyOutput) ToStreamingEndpointCrossSiteAccessPolicyPtrOutput

func (o StreamingEndpointCrossSiteAccessPolicyOutput) ToStreamingEndpointCrossSiteAccessPolicyPtrOutput() StreamingEndpointCrossSiteAccessPolicyPtrOutput

func (StreamingEndpointCrossSiteAccessPolicyOutput) ToStreamingEndpointCrossSiteAccessPolicyPtrOutputWithContext

func (o StreamingEndpointCrossSiteAccessPolicyOutput) ToStreamingEndpointCrossSiteAccessPolicyPtrOutputWithContext(ctx context.Context) StreamingEndpointCrossSiteAccessPolicyPtrOutput

type StreamingEndpointCrossSiteAccessPolicyPtrInput

type StreamingEndpointCrossSiteAccessPolicyPtrInput interface {
	pulumi.Input

	ToStreamingEndpointCrossSiteAccessPolicyPtrOutput() StreamingEndpointCrossSiteAccessPolicyPtrOutput
	ToStreamingEndpointCrossSiteAccessPolicyPtrOutputWithContext(context.Context) StreamingEndpointCrossSiteAccessPolicyPtrOutput
}

StreamingEndpointCrossSiteAccessPolicyPtrInput is an input type that accepts StreamingEndpointCrossSiteAccessPolicyArgs, StreamingEndpointCrossSiteAccessPolicyPtr and StreamingEndpointCrossSiteAccessPolicyPtrOutput values. You can construct a concrete instance of `StreamingEndpointCrossSiteAccessPolicyPtrInput` via:

        StreamingEndpointCrossSiteAccessPolicyArgs{...}

or:

        nil

type StreamingEndpointCrossSiteAccessPolicyPtrOutput

type StreamingEndpointCrossSiteAccessPolicyPtrOutput struct{ *pulumi.OutputState }

func (StreamingEndpointCrossSiteAccessPolicyPtrOutput) ClientAccessPolicy

The content of clientaccesspolicy.xml used by Silverlight.

func (StreamingEndpointCrossSiteAccessPolicyPtrOutput) CrossDomainPolicy

The content of crossdomain.xml used by Silverlight.

func (StreamingEndpointCrossSiteAccessPolicyPtrOutput) Elem

func (StreamingEndpointCrossSiteAccessPolicyPtrOutput) ElementType

func (StreamingEndpointCrossSiteAccessPolicyPtrOutput) ToStreamingEndpointCrossSiteAccessPolicyPtrOutput

func (o StreamingEndpointCrossSiteAccessPolicyPtrOutput) ToStreamingEndpointCrossSiteAccessPolicyPtrOutput() StreamingEndpointCrossSiteAccessPolicyPtrOutput

func (StreamingEndpointCrossSiteAccessPolicyPtrOutput) ToStreamingEndpointCrossSiteAccessPolicyPtrOutputWithContext

func (o StreamingEndpointCrossSiteAccessPolicyPtrOutput) ToStreamingEndpointCrossSiteAccessPolicyPtrOutputWithContext(ctx context.Context) StreamingEndpointCrossSiteAccessPolicyPtrOutput

type StreamingEndpointInput

type StreamingEndpointInput interface {
	pulumi.Input

	ToStreamingEndpointOutput() StreamingEndpointOutput
	ToStreamingEndpointOutputWithContext(ctx context.Context) StreamingEndpointOutput
}

type StreamingEndpointMap

type StreamingEndpointMap map[string]StreamingEndpointInput

func (StreamingEndpointMap) ElementType

func (StreamingEndpointMap) ElementType() reflect.Type

func (StreamingEndpointMap) ToStreamingEndpointMapOutput

func (i StreamingEndpointMap) ToStreamingEndpointMapOutput() StreamingEndpointMapOutput

func (StreamingEndpointMap) ToStreamingEndpointMapOutputWithContext

func (i StreamingEndpointMap) ToStreamingEndpointMapOutputWithContext(ctx context.Context) StreamingEndpointMapOutput

type StreamingEndpointMapInput

type StreamingEndpointMapInput interface {
	pulumi.Input

	ToStreamingEndpointMapOutput() StreamingEndpointMapOutput
	ToStreamingEndpointMapOutputWithContext(context.Context) StreamingEndpointMapOutput
}

StreamingEndpointMapInput is an input type that accepts StreamingEndpointMap and StreamingEndpointMapOutput values. You can construct a concrete instance of `StreamingEndpointMapInput` via:

StreamingEndpointMap{ "key": StreamingEndpointArgs{...} }

type StreamingEndpointMapOutput

type StreamingEndpointMapOutput struct{ *pulumi.OutputState }

func (StreamingEndpointMapOutput) ElementType

func (StreamingEndpointMapOutput) ElementType() reflect.Type

func (StreamingEndpointMapOutput) MapIndex

func (StreamingEndpointMapOutput) ToStreamingEndpointMapOutput

func (o StreamingEndpointMapOutput) ToStreamingEndpointMapOutput() StreamingEndpointMapOutput

func (StreamingEndpointMapOutput) ToStreamingEndpointMapOutputWithContext

func (o StreamingEndpointMapOutput) ToStreamingEndpointMapOutputWithContext(ctx context.Context) StreamingEndpointMapOutput

type StreamingEndpointOutput

type StreamingEndpointOutput struct{ *pulumi.OutputState }

func (StreamingEndpointOutput) AccessControl added in v5.5.0

A `accessControl` block as defined below.

func (StreamingEndpointOutput) AutoStartEnabled added in v5.5.0

func (o StreamingEndpointOutput) AutoStartEnabled() pulumi.BoolOutput

The flag indicates if the resource should be automatically started on creation.

func (StreamingEndpointOutput) CdnEnabled added in v5.5.0

The CDN enabled flag.

func (StreamingEndpointOutput) CdnProfile added in v5.5.0

The CDN profile name.

func (StreamingEndpointOutput) CdnProvider added in v5.5.0

The CDN provider name. Supported value are `StandardVerizon`,`PremiumVerizon` and `StandardAkamai`

func (StreamingEndpointOutput) CrossSiteAccessPolicy added in v5.5.0

A `crossSiteAccessPolicy` block as defined below.

func (StreamingEndpointOutput) CustomHostNames added in v5.5.0

func (o StreamingEndpointOutput) CustomHostNames() pulumi.StringArrayOutput

The custom host names of the streaming endpoint.

func (StreamingEndpointOutput) Description added in v5.5.0

The streaming endpoint description.

func (StreamingEndpointOutput) ElementType

func (StreamingEndpointOutput) ElementType() reflect.Type

func (StreamingEndpointOutput) HostName added in v5.5.0

The host name of the Streaming Endpoint.

func (StreamingEndpointOutput) Location added in v5.5.0

The Azure Region where the Streaming Endpoint should exist. Changing this forces a new Streaming Endpoint to be created.

func (StreamingEndpointOutput) MaxCacheAgeSeconds added in v5.5.0

func (o StreamingEndpointOutput) MaxCacheAgeSeconds() pulumi.IntPtrOutput

Max cache age in seconds.

func (StreamingEndpointOutput) MediaServicesAccountName added in v5.5.0

func (o StreamingEndpointOutput) MediaServicesAccountName() pulumi.StringOutput

The Media Services account name. Changing this forces a new Streaming Endpoint to be created.

func (StreamingEndpointOutput) Name added in v5.5.0

The name which should be used for this Streaming Endpoint maximum length is 24. Changing this forces a new Streaming Endpoint to be created.

func (StreamingEndpointOutput) ResourceGroupName added in v5.5.0

func (o StreamingEndpointOutput) ResourceGroupName() pulumi.StringOutput

The name of the Resource Group where the Streaming Endpoint should exist. Changing this forces a new Streaming Endpoint to be created.

func (StreamingEndpointOutput) ScaleUnits added in v5.5.0

func (o StreamingEndpointOutput) ScaleUnits() pulumi.IntOutput

The number of scale units. To create a Standard Streaming Endpoint set 0. For Premium Streaming Endpoint valid values are between 1 and 10.

func (StreamingEndpointOutput) Tags added in v5.5.0

A mapping of tags which should be assigned to the Streaming Endpoint.

func (StreamingEndpointOutput) ToStreamingEndpointOutput

func (o StreamingEndpointOutput) ToStreamingEndpointOutput() StreamingEndpointOutput

func (StreamingEndpointOutput) ToStreamingEndpointOutputWithContext

func (o StreamingEndpointOutput) ToStreamingEndpointOutputWithContext(ctx context.Context) StreamingEndpointOutput

type StreamingEndpointState

type StreamingEndpointState struct {
	// A `accessControl` block as defined below.
	AccessControl StreamingEndpointAccessControlPtrInput
	// The flag indicates if the resource should be automatically started on creation.
	AutoStartEnabled pulumi.BoolPtrInput
	// The CDN enabled flag.
	CdnEnabled pulumi.BoolPtrInput
	// The CDN profile name.
	CdnProfile pulumi.StringPtrInput
	// The CDN provider name. Supported value are `StandardVerizon`,`PremiumVerizon` and `StandardAkamai`
	CdnProvider pulumi.StringPtrInput
	// A `crossSiteAccessPolicy` block as defined below.
	CrossSiteAccessPolicy StreamingEndpointCrossSiteAccessPolicyPtrInput
	// The custom host names of the streaming endpoint.
	CustomHostNames pulumi.StringArrayInput
	// The streaming endpoint description.
	Description pulumi.StringPtrInput
	// The host name of the Streaming Endpoint.
	HostName pulumi.StringPtrInput
	// The Azure Region where the Streaming Endpoint should exist. Changing this forces a new Streaming Endpoint to be created.
	Location pulumi.StringPtrInput
	// Max cache age in seconds.
	MaxCacheAgeSeconds pulumi.IntPtrInput
	// The Media Services account name. Changing this forces a new Streaming Endpoint to be created.
	MediaServicesAccountName pulumi.StringPtrInput
	// The name which should be used for this Streaming Endpoint maximum length is 24. Changing this forces a new Streaming Endpoint to be created.
	Name pulumi.StringPtrInput
	// The name of the Resource Group where the Streaming Endpoint should exist. Changing this forces a new Streaming Endpoint to be created.
	ResourceGroupName pulumi.StringPtrInput
	// The number of scale units. To create a Standard Streaming Endpoint set 0. For Premium Streaming Endpoint valid values are between 1 and 10.
	ScaleUnits pulumi.IntPtrInput
	// A mapping of tags which should be assigned to the Streaming Endpoint.
	Tags pulumi.StringMapInput
}

func (StreamingEndpointState) ElementType

func (StreamingEndpointState) ElementType() reflect.Type

type StreamingLocator

type StreamingLocator struct {
	pulumi.CustomResourceState

	// Alternative Media ID of this Streaming Locator. Changing this forces a new Streaming Locator to be created.
	AlternativeMediaId pulumi.StringPtrOutput `pulumi:"alternativeMediaId"`
	// Asset Name. Changing this forces a new Streaming Locator to be created.
	AssetName pulumi.StringOutput `pulumi:"assetName"`
	// One or more `contentKey` blocks as defined below. Changing this forces a new Streaming Locator to be created.
	ContentKeys StreamingLocatorContentKeyArrayOutput `pulumi:"contentKeys"`
	// Name of the default Content Key Policy used by this Streaming Locator.Changing this forces a new Streaming Locator to be created.
	DefaultContentKeyPolicyName pulumi.StringPtrOutput `pulumi:"defaultContentKeyPolicyName"`
	// The end time of the Streaming Locator. Changing this forces a new Streaming Locator to be created.
	EndTime pulumi.StringOutput `pulumi:"endTime"`
	// The Media Services account name. Changing this forces a new Streaming Locator to be created.
	MediaServicesAccountName pulumi.StringOutput `pulumi:"mediaServicesAccountName"`
	// The name which should be used for this Streaming Locator. Changing this forces a new Streaming Locator to be created.
	Name pulumi.StringOutput `pulumi:"name"`
	// The name of the Resource Group where the Streaming Locator should exist. Changing this forces a new Streaming Locator to be created.
	ResourceGroupName pulumi.StringOutput `pulumi:"resourceGroupName"`
	// The start time of the Streaming Locator. Changing this forces a new Streaming Locator to be created.
	StartTime pulumi.StringPtrOutput `pulumi:"startTime"`
	// The ID of the Streaming Locator. Changing this forces a new Streaming Locator to be created.
	StreamingLocatorId pulumi.StringOutput `pulumi:"streamingLocatorId"`
	// Name of the Streaming Policy used by this Streaming Locator. Either specify the name of Streaming Policy you created or use one of the predefined Streaming Policies. The predefined Streaming Policies available are: `Predefined_DownloadOnly`, `Predefined_ClearStreamingOnly`, `Predefined_DownloadAndClearStreaming`, `Predefined_ClearKey`, `Predefined_MultiDrmCencStreaming` and `Predefined_MultiDrmStreaming`. Changing this forces a new Streaming Locator to be created.
	StreamingPolicyName pulumi.StringOutput `pulumi:"streamingPolicyName"`
}

Manages a Media Streaming Locator.

## Example Usage

```go 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 {
		exampleResourceGroup, err := core.NewResourceGroup(ctx, "exampleResourceGroup", &core.ResourceGroupArgs{
			Location: pulumi.String("West Europe"),
		})
		if err != nil {
			return err
		}
		exampleAccount, err := storage.NewAccount(ctx, "exampleAccount", &storage.AccountArgs{
			ResourceGroupName:      exampleResourceGroup.Name,
			Location:               exampleResourceGroup.Location,
			AccountTier:            pulumi.String("Standard"),
			AccountReplicationType: pulumi.String("GRS"),
		})
		if err != nil {
			return err
		}
		exampleServiceAccount, err := media.NewServiceAccount(ctx, "exampleServiceAccount", &media.ServiceAccountArgs{
			Location:          exampleResourceGroup.Location,
			ResourceGroupName: exampleResourceGroup.Name,
			StorageAccounts: media.ServiceAccountStorageAccountArray{
				&media.ServiceAccountStorageAccountArgs{
					Id:        exampleAccount.ID(),
					IsPrimary: pulumi.Bool(true),
				},
			},
		})
		if err != nil {
			return err
		}
		exampleAsset, err := media.NewAsset(ctx, "exampleAsset", &media.AssetArgs{
			ResourceGroupName:        exampleResourceGroup.Name,
			MediaServicesAccountName: exampleServiceAccount.Name,
			Description:              pulumi.String("Asset description"),
		})
		if err != nil {
			return err
		}
		_, err = media.NewStreamingLocator(ctx, "exampleStreamingLocator", &media.StreamingLocatorArgs{
			ResourceGroupName:        exampleResourceGroup.Name,
			MediaServicesAccountName: exampleServiceAccount.Name,
			AssetName:                exampleAsset.Name,
			StreamingPolicyName:      pulumi.String("Predefined_ClearStreamingOnly"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Streaming Locators can be imported using the `resource id`, e.g.

```sh

$ pulumi import azure:media/streamingLocator:StreamingLocator example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.Media/mediaservices/account1/streaminglocators/locator1

```

func GetStreamingLocator

func GetStreamingLocator(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *StreamingLocatorState, opts ...pulumi.ResourceOption) (*StreamingLocator, error)

GetStreamingLocator gets an existing StreamingLocator resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewStreamingLocator

func NewStreamingLocator(ctx *pulumi.Context,
	name string, args *StreamingLocatorArgs, opts ...pulumi.ResourceOption) (*StreamingLocator, error)

NewStreamingLocator registers a new resource with the given unique name, arguments, and options.

func (*StreamingLocator) ElementType

func (*StreamingLocator) ElementType() reflect.Type

func (*StreamingLocator) ToStreamingLocatorOutput

func (i *StreamingLocator) ToStreamingLocatorOutput() StreamingLocatorOutput

func (*StreamingLocator) ToStreamingLocatorOutputWithContext

func (i *StreamingLocator) ToStreamingLocatorOutputWithContext(ctx context.Context) StreamingLocatorOutput

type StreamingLocatorArgs

type StreamingLocatorArgs struct {
	// Alternative Media ID of this Streaming Locator. Changing this forces a new Streaming Locator to be created.
	AlternativeMediaId pulumi.StringPtrInput
	// Asset Name. Changing this forces a new Streaming Locator to be created.
	AssetName pulumi.StringInput
	// One or more `contentKey` blocks as defined below. Changing this forces a new Streaming Locator to be created.
	ContentKeys StreamingLocatorContentKeyArrayInput
	// Name of the default Content Key Policy used by this Streaming Locator.Changing this forces a new Streaming Locator to be created.
	DefaultContentKeyPolicyName pulumi.StringPtrInput
	// The end time of the Streaming Locator. Changing this forces a new Streaming Locator to be created.
	EndTime pulumi.StringPtrInput
	// The Media Services account name. Changing this forces a new Streaming Locator to be created.
	MediaServicesAccountName pulumi.StringInput
	// The name which should be used for this Streaming Locator. Changing this forces a new Streaming Locator to be created.
	Name pulumi.StringPtrInput
	// The name of the Resource Group where the Streaming Locator should exist. Changing this forces a new Streaming Locator to be created.
	ResourceGroupName pulumi.StringInput
	// The start time of the Streaming Locator. Changing this forces a new Streaming Locator to be created.
	StartTime pulumi.StringPtrInput
	// The ID of the Streaming Locator. Changing this forces a new Streaming Locator to be created.
	StreamingLocatorId pulumi.StringPtrInput
	// Name of the Streaming Policy used by this Streaming Locator. Either specify the name of Streaming Policy you created or use one of the predefined Streaming Policies. The predefined Streaming Policies available are: `Predefined_DownloadOnly`, `Predefined_ClearStreamingOnly`, `Predefined_DownloadAndClearStreaming`, `Predefined_ClearKey`, `Predefined_MultiDrmCencStreaming` and `Predefined_MultiDrmStreaming`. Changing this forces a new Streaming Locator to be created.
	StreamingPolicyName pulumi.StringInput
}

The set of arguments for constructing a StreamingLocator resource.

func (StreamingLocatorArgs) ElementType

func (StreamingLocatorArgs) ElementType() reflect.Type

type StreamingLocatorArray

type StreamingLocatorArray []StreamingLocatorInput

func (StreamingLocatorArray) ElementType

func (StreamingLocatorArray) ElementType() reflect.Type

func (StreamingLocatorArray) ToStreamingLocatorArrayOutput

func (i StreamingLocatorArray) ToStreamingLocatorArrayOutput() StreamingLocatorArrayOutput

func (StreamingLocatorArray) ToStreamingLocatorArrayOutputWithContext

func (i StreamingLocatorArray) ToStreamingLocatorArrayOutputWithContext(ctx context.Context) StreamingLocatorArrayOutput

type StreamingLocatorArrayInput

type StreamingLocatorArrayInput interface {
	pulumi.Input

	ToStreamingLocatorArrayOutput() StreamingLocatorArrayOutput
	ToStreamingLocatorArrayOutputWithContext(context.Context) StreamingLocatorArrayOutput
}

StreamingLocatorArrayInput is an input type that accepts StreamingLocatorArray and StreamingLocatorArrayOutput values. You can construct a concrete instance of `StreamingLocatorArrayInput` via:

StreamingLocatorArray{ StreamingLocatorArgs{...} }

type StreamingLocatorArrayOutput

type StreamingLocatorArrayOutput struct{ *pulumi.OutputState }

func (StreamingLocatorArrayOutput) ElementType

func (StreamingLocatorArrayOutput) Index

func (StreamingLocatorArrayOutput) ToStreamingLocatorArrayOutput

func (o StreamingLocatorArrayOutput) ToStreamingLocatorArrayOutput() StreamingLocatorArrayOutput

func (StreamingLocatorArrayOutput) ToStreamingLocatorArrayOutputWithContext

func (o StreamingLocatorArrayOutput) ToStreamingLocatorArrayOutputWithContext(ctx context.Context) StreamingLocatorArrayOutput

type StreamingLocatorContentKey

type StreamingLocatorContentKey struct {
	// ID of Content Key. Changing this forces a new Streaming Locator to be created.
	ContentKeyId *string `pulumi:"contentKeyId"`
	// Label of Content Key as specified in the Streaming Policy. Changing this forces a new Streaming Locator to be created.
	LabelReferenceInStreamingPolicy *string `pulumi:"labelReferenceInStreamingPolicy"`
	// Content Key Policy used by Content Key. Changing this forces a new Streaming Locator to be created.
	PolicyName *string `pulumi:"policyName"`
	// Encryption type of Content Key. Supported values are `CommonEncryptionCbcs`, `CommonEncryptionCenc` or `EnvelopeEncryption`. Changing this forces a new Streaming Locator to be created.
	Type *string `pulumi:"type"`
	// Value of Content Key. Changing this forces a new Streaming Locator to be created.
	Value *string `pulumi:"value"`
}

type StreamingLocatorContentKeyArgs

type StreamingLocatorContentKeyArgs struct {
	// ID of Content Key. Changing this forces a new Streaming Locator to be created.
	ContentKeyId pulumi.StringPtrInput `pulumi:"contentKeyId"`
	// Label of Content Key as specified in the Streaming Policy. Changing this forces a new Streaming Locator to be created.
	LabelReferenceInStreamingPolicy pulumi.StringPtrInput `pulumi:"labelReferenceInStreamingPolicy"`
	// Content Key Policy used by Content Key. Changing this forces a new Streaming Locator to be created.
	PolicyName pulumi.StringPtrInput `pulumi:"policyName"`
	// Encryption type of Content Key. Supported values are `CommonEncryptionCbcs`, `CommonEncryptionCenc` or `EnvelopeEncryption`. Changing this forces a new Streaming Locator to be created.
	Type pulumi.StringPtrInput `pulumi:"type"`
	// Value of Content Key. Changing this forces a new Streaming Locator to be created.
	Value pulumi.StringPtrInput `pulumi:"value"`
}

func (StreamingLocatorContentKeyArgs) ElementType

func (StreamingLocatorContentKeyArgs) ToStreamingLocatorContentKeyOutput

func (i StreamingLocatorContentKeyArgs) ToStreamingLocatorContentKeyOutput() StreamingLocatorContentKeyOutput

func (StreamingLocatorContentKeyArgs) ToStreamingLocatorContentKeyOutputWithContext

func (i StreamingLocatorContentKeyArgs) ToStreamingLocatorContentKeyOutputWithContext(ctx context.Context) StreamingLocatorContentKeyOutput

type StreamingLocatorContentKeyArray

type StreamingLocatorContentKeyArray []StreamingLocatorContentKeyInput

func (StreamingLocatorContentKeyArray) ElementType

func (StreamingLocatorContentKeyArray) ToStreamingLocatorContentKeyArrayOutput

func (i StreamingLocatorContentKeyArray) ToStreamingLocatorContentKeyArrayOutput() StreamingLocatorContentKeyArrayOutput

func (StreamingLocatorContentKeyArray) ToStreamingLocatorContentKeyArrayOutputWithContext

func (i StreamingLocatorContentKeyArray) ToStreamingLocatorContentKeyArrayOutputWithContext(ctx context.Context) StreamingLocatorContentKeyArrayOutput

type StreamingLocatorContentKeyArrayInput

type StreamingLocatorContentKeyArrayInput interface {
	pulumi.Input

	ToStreamingLocatorContentKeyArrayOutput() StreamingLocatorContentKeyArrayOutput
	ToStreamingLocatorContentKeyArrayOutputWithContext(context.Context) StreamingLocatorContentKeyArrayOutput
}

StreamingLocatorContentKeyArrayInput is an input type that accepts StreamingLocatorContentKeyArray and StreamingLocatorContentKeyArrayOutput values. You can construct a concrete instance of `StreamingLocatorContentKeyArrayInput` via:

StreamingLocatorContentKeyArray{ StreamingLocatorContentKeyArgs{...} }

type StreamingLocatorContentKeyArrayOutput

type StreamingLocatorContentKeyArrayOutput struct{ *pulumi.OutputState }

func (StreamingLocatorContentKeyArrayOutput) ElementType

func (StreamingLocatorContentKeyArrayOutput) Index

func (StreamingLocatorContentKeyArrayOutput) ToStreamingLocatorContentKeyArrayOutput

func (o StreamingLocatorContentKeyArrayOutput) ToStreamingLocatorContentKeyArrayOutput() StreamingLocatorContentKeyArrayOutput

func (StreamingLocatorContentKeyArrayOutput) ToStreamingLocatorContentKeyArrayOutputWithContext

func (o StreamingLocatorContentKeyArrayOutput) ToStreamingLocatorContentKeyArrayOutputWithContext(ctx context.Context) StreamingLocatorContentKeyArrayOutput

type StreamingLocatorContentKeyInput

type StreamingLocatorContentKeyInput interface {
	pulumi.Input

	ToStreamingLocatorContentKeyOutput() StreamingLocatorContentKeyOutput
	ToStreamingLocatorContentKeyOutputWithContext(context.Context) StreamingLocatorContentKeyOutput
}

StreamingLocatorContentKeyInput is an input type that accepts StreamingLocatorContentKeyArgs and StreamingLocatorContentKeyOutput values. You can construct a concrete instance of `StreamingLocatorContentKeyInput` via:

StreamingLocatorContentKeyArgs{...}

type StreamingLocatorContentKeyOutput

type StreamingLocatorContentKeyOutput struct{ *pulumi.OutputState }

func (StreamingLocatorContentKeyOutput) ContentKeyId

ID of Content Key. Changing this forces a new Streaming Locator to be created.

func (StreamingLocatorContentKeyOutput) ElementType

func (StreamingLocatorContentKeyOutput) LabelReferenceInStreamingPolicy

func (o StreamingLocatorContentKeyOutput) LabelReferenceInStreamingPolicy() pulumi.StringPtrOutput

Label of Content Key as specified in the Streaming Policy. Changing this forces a new Streaming Locator to be created.

func (StreamingLocatorContentKeyOutput) PolicyName

Content Key Policy used by Content Key. Changing this forces a new Streaming Locator to be created.

func (StreamingLocatorContentKeyOutput) ToStreamingLocatorContentKeyOutput

func (o StreamingLocatorContentKeyOutput) ToStreamingLocatorContentKeyOutput() StreamingLocatorContentKeyOutput

func (StreamingLocatorContentKeyOutput) ToStreamingLocatorContentKeyOutputWithContext

func (o StreamingLocatorContentKeyOutput) ToStreamingLocatorContentKeyOutputWithContext(ctx context.Context) StreamingLocatorContentKeyOutput

func (StreamingLocatorContentKeyOutput) Type

Encryption type of Content Key. Supported values are `CommonEncryptionCbcs`, `CommonEncryptionCenc` or `EnvelopeEncryption`. Changing this forces a new Streaming Locator to be created.

func (StreamingLocatorContentKeyOutput) Value

Value of Content Key. Changing this forces a new Streaming Locator to be created.

type StreamingLocatorInput

type StreamingLocatorInput interface {
	pulumi.Input

	ToStreamingLocatorOutput() StreamingLocatorOutput
	ToStreamingLocatorOutputWithContext(ctx context.Context) StreamingLocatorOutput
}

type StreamingLocatorMap

type StreamingLocatorMap map[string]StreamingLocatorInput

func (StreamingLocatorMap) ElementType

func (StreamingLocatorMap) ElementType() reflect.Type

func (StreamingLocatorMap) ToStreamingLocatorMapOutput

func (i StreamingLocatorMap) ToStreamingLocatorMapOutput() StreamingLocatorMapOutput

func (StreamingLocatorMap) ToStreamingLocatorMapOutputWithContext

func (i StreamingLocatorMap) ToStreamingLocatorMapOutputWithContext(ctx context.Context) StreamingLocatorMapOutput

type StreamingLocatorMapInput

type StreamingLocatorMapInput interface {
	pulumi.Input

	ToStreamingLocatorMapOutput() StreamingLocatorMapOutput
	ToStreamingLocatorMapOutputWithContext(context.Context) StreamingLocatorMapOutput
}

StreamingLocatorMapInput is an input type that accepts StreamingLocatorMap and StreamingLocatorMapOutput values. You can construct a concrete instance of `StreamingLocatorMapInput` via:

StreamingLocatorMap{ "key": StreamingLocatorArgs{...} }

type StreamingLocatorMapOutput

type StreamingLocatorMapOutput struct{ *pulumi.OutputState }

func (StreamingLocatorMapOutput) ElementType

func (StreamingLocatorMapOutput) ElementType() reflect.Type

func (StreamingLocatorMapOutput) MapIndex

func (StreamingLocatorMapOutput) ToStreamingLocatorMapOutput

func (o StreamingLocatorMapOutput) ToStreamingLocatorMapOutput() StreamingLocatorMapOutput

func (StreamingLocatorMapOutput) ToStreamingLocatorMapOutputWithContext

func (o StreamingLocatorMapOutput) ToStreamingLocatorMapOutputWithContext(ctx context.Context) StreamingLocatorMapOutput

type StreamingLocatorOutput

type StreamingLocatorOutput struct{ *pulumi.OutputState }

func (StreamingLocatorOutput) AlternativeMediaId added in v5.5.0

func (o StreamingLocatorOutput) AlternativeMediaId() pulumi.StringPtrOutput

Alternative Media ID of this Streaming Locator. Changing this forces a new Streaming Locator to be created.

func (StreamingLocatorOutput) AssetName added in v5.5.0

Asset Name. Changing this forces a new Streaming Locator to be created.

func (StreamingLocatorOutput) ContentKeys added in v5.5.0

One or more `contentKey` blocks as defined below. Changing this forces a new Streaming Locator to be created.

func (StreamingLocatorOutput) DefaultContentKeyPolicyName added in v5.5.0

func (o StreamingLocatorOutput) DefaultContentKeyPolicyName() pulumi.StringPtrOutput

Name of the default Content Key Policy used by this Streaming Locator.Changing this forces a new Streaming Locator to be created.

func (StreamingLocatorOutput) ElementType

func (StreamingLocatorOutput) ElementType() reflect.Type

func (StreamingLocatorOutput) EndTime added in v5.5.0

The end time of the Streaming Locator. Changing this forces a new Streaming Locator to be created.

func (StreamingLocatorOutput) MediaServicesAccountName added in v5.5.0

func (o StreamingLocatorOutput) MediaServicesAccountName() pulumi.StringOutput

The Media Services account name. Changing this forces a new Streaming Locator to be created.

func (StreamingLocatorOutput) Name added in v5.5.0

The name which should be used for this Streaming Locator. Changing this forces a new Streaming Locator to be created.

func (StreamingLocatorOutput) ResourceGroupName added in v5.5.0

func (o StreamingLocatorOutput) ResourceGroupName() pulumi.StringOutput

The name of the Resource Group where the Streaming Locator should exist. Changing this forces a new Streaming Locator to be created.

func (StreamingLocatorOutput) StartTime added in v5.5.0

The start time of the Streaming Locator. Changing this forces a new Streaming Locator to be created.

func (StreamingLocatorOutput) StreamingLocatorId added in v5.5.0

func (o StreamingLocatorOutput) StreamingLocatorId() pulumi.StringOutput

The ID of the Streaming Locator. Changing this forces a new Streaming Locator to be created.

func (StreamingLocatorOutput) StreamingPolicyName added in v5.5.0

func (o StreamingLocatorOutput) StreamingPolicyName() pulumi.StringOutput

Name of the Streaming Policy used by this Streaming Locator. Either specify the name of Streaming Policy you created or use one of the predefined Streaming Policies. The predefined Streaming Policies available are: `Predefined_DownloadOnly`, `Predefined_ClearStreamingOnly`, `Predefined_DownloadAndClearStreaming`, `Predefined_ClearKey`, `Predefined_MultiDrmCencStreaming` and `Predefined_MultiDrmStreaming`. Changing this forces a new Streaming Locator to be created.

func (StreamingLocatorOutput) ToStreamingLocatorOutput

func (o StreamingLocatorOutput) ToStreamingLocatorOutput() StreamingLocatorOutput

func (StreamingLocatorOutput) ToStreamingLocatorOutputWithContext

func (o StreamingLocatorOutput) ToStreamingLocatorOutputWithContext(ctx context.Context) StreamingLocatorOutput

type StreamingLocatorState

type StreamingLocatorState struct {
	// Alternative Media ID of this Streaming Locator. Changing this forces a new Streaming Locator to be created.
	AlternativeMediaId pulumi.StringPtrInput
	// Asset Name. Changing this forces a new Streaming Locator to be created.
	AssetName pulumi.StringPtrInput
	// One or more `contentKey` blocks as defined below. Changing this forces a new Streaming Locator to be created.
	ContentKeys StreamingLocatorContentKeyArrayInput
	// Name of the default Content Key Policy used by this Streaming Locator.Changing this forces a new Streaming Locator to be created.
	DefaultContentKeyPolicyName pulumi.StringPtrInput
	// The end time of the Streaming Locator. Changing this forces a new Streaming Locator to be created.
	EndTime pulumi.StringPtrInput
	// The Media Services account name. Changing this forces a new Streaming Locator to be created.
	MediaServicesAccountName pulumi.StringPtrInput
	// The name which should be used for this Streaming Locator. Changing this forces a new Streaming Locator to be created.
	Name pulumi.StringPtrInput
	// The name of the Resource Group where the Streaming Locator should exist. Changing this forces a new Streaming Locator to be created.
	ResourceGroupName pulumi.StringPtrInput
	// The start time of the Streaming Locator. Changing this forces a new Streaming Locator to be created.
	StartTime pulumi.StringPtrInput
	// The ID of the Streaming Locator. Changing this forces a new Streaming Locator to be created.
	StreamingLocatorId pulumi.StringPtrInput
	// Name of the Streaming Policy used by this Streaming Locator. Either specify the name of Streaming Policy you created or use one of the predefined Streaming Policies. The predefined Streaming Policies available are: `Predefined_DownloadOnly`, `Predefined_ClearStreamingOnly`, `Predefined_DownloadAndClearStreaming`, `Predefined_ClearKey`, `Predefined_MultiDrmCencStreaming` and `Predefined_MultiDrmStreaming`. Changing this forces a new Streaming Locator to be created.
	StreamingPolicyName pulumi.StringPtrInput
}

func (StreamingLocatorState) ElementType

func (StreamingLocatorState) ElementType() reflect.Type

type StreamingPolicy

type StreamingPolicy struct {
	pulumi.CustomResourceState

	// A `commonEncryptionCbcs` block as defined below. Changing this forces a new Streaming Policy to be created.
	CommonEncryptionCbcs StreamingPolicyCommonEncryptionCbcsPtrOutput `pulumi:"commonEncryptionCbcs"`
	// A `commonEncryptionCenc` block as defined below. Changing this forces a new Streaming Policy to be created.
	CommonEncryptionCenc StreamingPolicyCommonEncryptionCencPtrOutput `pulumi:"commonEncryptionCenc"`
	// Default Content Key used by current Streaming Policy. Changing this forces a new Streaming Policy to be created.
	DefaultContentKeyPolicyName pulumi.StringPtrOutput `pulumi:"defaultContentKeyPolicyName"`
	// The Media Services account name. Changing this forces a new Streaming Policy to be created.
	MediaServicesAccountName pulumi.StringOutput `pulumi:"mediaServicesAccountName"`
	// The name which should be used for this Streaming Policy. Changing this forces a new Streaming Policy to be created.
	Name pulumi.StringOutput `pulumi:"name"`
	// A `noEncryptionEnabledProtocols` block as defined below. Changing this forces a new Streaming Policy to be created.
	NoEncryptionEnabledProtocols StreamingPolicyNoEncryptionEnabledProtocolsPtrOutput `pulumi:"noEncryptionEnabledProtocols"`
	// The name of the Resource Group where the Streaming Policy should exist. Changing this forces a new Streaming Policy to be created.
	ResourceGroupName pulumi.StringOutput `pulumi:"resourceGroupName"`
}

Manages a Streaming Policy.

## Example Usage

```go 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 {
		exampleResourceGroup, err := core.NewResourceGroup(ctx, "exampleResourceGroup", &core.ResourceGroupArgs{
			Location: pulumi.String("West Europe"),
		})
		if err != nil {
			return err
		}
		exampleAccount, err := storage.NewAccount(ctx, "exampleAccount", &storage.AccountArgs{
			ResourceGroupName:      exampleResourceGroup.Name,
			Location:               exampleResourceGroup.Location,
			AccountTier:            pulumi.String("Standard"),
			AccountReplicationType: pulumi.String("GRS"),
		})
		if err != nil {
			return err
		}
		exampleServiceAccount, err := media.NewServiceAccount(ctx, "exampleServiceAccount", &media.ServiceAccountArgs{
			Location:          exampleResourceGroup.Location,
			ResourceGroupName: exampleResourceGroup.Name,
			StorageAccounts: media.ServiceAccountStorageAccountArray{
				&media.ServiceAccountStorageAccountArgs{
					Id:        exampleAccount.ID(),
					IsPrimary: pulumi.Bool(true),
				},
			},
		})
		if err != nil {
			return err
		}
		_, err = media.NewStreamingPolicy(ctx, "exampleStreamingPolicy", &media.StreamingPolicyArgs{
			ResourceGroupName:        exampleResourceGroup.Name,
			MediaServicesAccountName: exampleServiceAccount.Name,
			CommonEncryptionCenc: &media.StreamingPolicyCommonEncryptionCencArgs{
				EnabledProtocols: &media.StreamingPolicyCommonEncryptionCencEnabledProtocolsArgs{
					Download:        pulumi.Bool(false),
					Dash:            pulumi.Bool(true),
					Hls:             pulumi.Bool(false),
					SmoothStreaming: pulumi.Bool(false),
				},
				DrmPlayready: &media.StreamingPolicyCommonEncryptionCencDrmPlayreadyArgs{
					CustomLicenseAcquisitionUrlTemplate: pulumi.String("https://contoso.com/{AssetAlternativeId}/playready/{ContentKeyId}"),
					CustomAttributes:                    pulumi.String("PlayReady CustomAttributes"),
				},
				DrmWidevineCustomLicenseAcquisitionUrlTemplate: pulumi.String("https://contoso.com/{AssetAlternativeId}/widevine/{ContentKeyId}"),
			},
			CommonEncryptionCbcs: &media.StreamingPolicyCommonEncryptionCbcsArgs{
				EnabledProtocols: &media.StreamingPolicyCommonEncryptionCbcsEnabledProtocolsArgs{
					Download:        pulumi.Bool(false),
					Dash:            pulumi.Bool(true),
					Hls:             pulumi.Bool(false),
					SmoothStreaming: pulumi.Bool(false),
				},
				DrmFairplay: &media.StreamingPolicyCommonEncryptionCbcsDrmFairplayArgs{
					CustomLicenseAcquisitionUrlTemplate: pulumi.String("https://contoso.com/{AssetAlternativeId}/fairplay/{ContentKeyId}"),
					AllowPersistentLicense:              pulumi.Bool(true),
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Streaming Policies can be imported using the `resource id`, e.g.

```sh

$ pulumi import azure:media/streamingPolicy:StreamingPolicy example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.Media/mediaservices/account1/streamingpolicies/policy1

```

func GetStreamingPolicy

func GetStreamingPolicy(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *StreamingPolicyState, opts ...pulumi.ResourceOption) (*StreamingPolicy, error)

GetStreamingPolicy gets an existing StreamingPolicy resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewStreamingPolicy

func NewStreamingPolicy(ctx *pulumi.Context,
	name string, args *StreamingPolicyArgs, opts ...pulumi.ResourceOption) (*StreamingPolicy, error)

NewStreamingPolicy registers a new resource with the given unique name, arguments, and options.

func (*StreamingPolicy) ElementType

func (*StreamingPolicy) ElementType() reflect.Type

func (*StreamingPolicy) ToStreamingPolicyOutput

func (i *StreamingPolicy) ToStreamingPolicyOutput() StreamingPolicyOutput

func (*StreamingPolicy) ToStreamingPolicyOutputWithContext

func (i *StreamingPolicy) ToStreamingPolicyOutputWithContext(ctx context.Context) StreamingPolicyOutput

type StreamingPolicyArgs

type StreamingPolicyArgs struct {
	// A `commonEncryptionCbcs` block as defined below. Changing this forces a new Streaming Policy to be created.
	CommonEncryptionCbcs StreamingPolicyCommonEncryptionCbcsPtrInput
	// A `commonEncryptionCenc` block as defined below. Changing this forces a new Streaming Policy to be created.
	CommonEncryptionCenc StreamingPolicyCommonEncryptionCencPtrInput
	// Default Content Key used by current Streaming Policy. Changing this forces a new Streaming Policy to be created.
	DefaultContentKeyPolicyName pulumi.StringPtrInput
	// The Media Services account name. Changing this forces a new Streaming Policy to be created.
	MediaServicesAccountName pulumi.StringInput
	// The name which should be used for this Streaming Policy. Changing this forces a new Streaming Policy to be created.
	Name pulumi.StringPtrInput
	// A `noEncryptionEnabledProtocols` block as defined below. Changing this forces a new Streaming Policy to be created.
	NoEncryptionEnabledProtocols StreamingPolicyNoEncryptionEnabledProtocolsPtrInput
	// The name of the Resource Group where the Streaming Policy should exist. Changing this forces a new Streaming Policy to be created.
	ResourceGroupName pulumi.StringInput
}

The set of arguments for constructing a StreamingPolicy resource.

func (StreamingPolicyArgs) ElementType

func (StreamingPolicyArgs) ElementType() reflect.Type

type StreamingPolicyArray

type StreamingPolicyArray []StreamingPolicyInput

func (StreamingPolicyArray) ElementType

func (StreamingPolicyArray) ElementType() reflect.Type

func (StreamingPolicyArray) ToStreamingPolicyArrayOutput

func (i StreamingPolicyArray) ToStreamingPolicyArrayOutput() StreamingPolicyArrayOutput

func (StreamingPolicyArray) ToStreamingPolicyArrayOutputWithContext

func (i StreamingPolicyArray) ToStreamingPolicyArrayOutputWithContext(ctx context.Context) StreamingPolicyArrayOutput

type StreamingPolicyArrayInput

type StreamingPolicyArrayInput interface {
	pulumi.Input

	ToStreamingPolicyArrayOutput() StreamingPolicyArrayOutput
	ToStreamingPolicyArrayOutputWithContext(context.Context) StreamingPolicyArrayOutput
}

StreamingPolicyArrayInput is an input type that accepts StreamingPolicyArray and StreamingPolicyArrayOutput values. You can construct a concrete instance of `StreamingPolicyArrayInput` via:

StreamingPolicyArray{ StreamingPolicyArgs{...} }

type StreamingPolicyArrayOutput

type StreamingPolicyArrayOutput struct{ *pulumi.OutputState }

func (StreamingPolicyArrayOutput) ElementType

func (StreamingPolicyArrayOutput) ElementType() reflect.Type

func (StreamingPolicyArrayOutput) Index

func (StreamingPolicyArrayOutput) ToStreamingPolicyArrayOutput

func (o StreamingPolicyArrayOutput) ToStreamingPolicyArrayOutput() StreamingPolicyArrayOutput

func (StreamingPolicyArrayOutput) ToStreamingPolicyArrayOutputWithContext

func (o StreamingPolicyArrayOutput) ToStreamingPolicyArrayOutputWithContext(ctx context.Context) StreamingPolicyArrayOutput

type StreamingPolicyCommonEncryptionCbcs

type StreamingPolicyCommonEncryptionCbcs struct {
	// A `defaultContentKey` block as defined below. Changing this forces a new Streaming Policy to be created.
	DefaultContentKey *StreamingPolicyCommonEncryptionCbcsDefaultContentKey `pulumi:"defaultContentKey"`
	// A `drmFairplay` block as defined below. Changing this forces a new Streaming Policy to be created.
	DrmFairplay *StreamingPolicyCommonEncryptionCbcsDrmFairplay `pulumi:"drmFairplay"`
	// A `enabledProtocols` block as defined below. Changing this forces a new Streaming Policy to be created.
	EnabledProtocols *StreamingPolicyCommonEncryptionCbcsEnabledProtocols `pulumi:"enabledProtocols"`
}

type StreamingPolicyCommonEncryptionCbcsArgs

type StreamingPolicyCommonEncryptionCbcsArgs struct {
	// A `defaultContentKey` block as defined below. Changing this forces a new Streaming Policy to be created.
	DefaultContentKey StreamingPolicyCommonEncryptionCbcsDefaultContentKeyPtrInput `pulumi:"defaultContentKey"`
	// A `drmFairplay` block as defined below. Changing this forces a new Streaming Policy to be created.
	DrmFairplay StreamingPolicyCommonEncryptionCbcsDrmFairplayPtrInput `pulumi:"drmFairplay"`
	// A `enabledProtocols` block as defined below. Changing this forces a new Streaming Policy to be created.
	EnabledProtocols StreamingPolicyCommonEncryptionCbcsEnabledProtocolsPtrInput `pulumi:"enabledProtocols"`
}

func (StreamingPolicyCommonEncryptionCbcsArgs) ElementType

func (StreamingPolicyCommonEncryptionCbcsArgs) ToStreamingPolicyCommonEncryptionCbcsOutput

func (i StreamingPolicyCommonEncryptionCbcsArgs) ToStreamingPolicyCommonEncryptionCbcsOutput() StreamingPolicyCommonEncryptionCbcsOutput

func (StreamingPolicyCommonEncryptionCbcsArgs) ToStreamingPolicyCommonEncryptionCbcsOutputWithContext

func (i StreamingPolicyCommonEncryptionCbcsArgs) ToStreamingPolicyCommonEncryptionCbcsOutputWithContext(ctx context.Context) StreamingPolicyCommonEncryptionCbcsOutput

func (StreamingPolicyCommonEncryptionCbcsArgs) ToStreamingPolicyCommonEncryptionCbcsPtrOutput

func (i StreamingPolicyCommonEncryptionCbcsArgs) ToStreamingPolicyCommonEncryptionCbcsPtrOutput() StreamingPolicyCommonEncryptionCbcsPtrOutput

func (StreamingPolicyCommonEncryptionCbcsArgs) ToStreamingPolicyCommonEncryptionCbcsPtrOutputWithContext

func (i StreamingPolicyCommonEncryptionCbcsArgs) ToStreamingPolicyCommonEncryptionCbcsPtrOutputWithContext(ctx context.Context) StreamingPolicyCommonEncryptionCbcsPtrOutput

type StreamingPolicyCommonEncryptionCbcsDefaultContentKey

type StreamingPolicyCommonEncryptionCbcsDefaultContentKey struct {
	// Label can be used to specify Content Key when creating a Streaming Locator. Changing this forces a new Streaming Policy to be created.
	Label *string `pulumi:"label"`
	// Policy used by Default Key. Changing this forces a new Streaming Policy to be created.
	PolicyName *string `pulumi:"policyName"`
}

type StreamingPolicyCommonEncryptionCbcsDefaultContentKeyArgs

type StreamingPolicyCommonEncryptionCbcsDefaultContentKeyArgs struct {
	// Label can be used to specify Content Key when creating a Streaming Locator. Changing this forces a new Streaming Policy to be created.
	Label pulumi.StringPtrInput `pulumi:"label"`
	// Policy used by Default Key. Changing this forces a new Streaming Policy to be created.
	PolicyName pulumi.StringPtrInput `pulumi:"policyName"`
}

func (StreamingPolicyCommonEncryptionCbcsDefaultContentKeyArgs) ElementType

func (StreamingPolicyCommonEncryptionCbcsDefaultContentKeyArgs) ToStreamingPolicyCommonEncryptionCbcsDefaultContentKeyOutput

func (StreamingPolicyCommonEncryptionCbcsDefaultContentKeyArgs) ToStreamingPolicyCommonEncryptionCbcsDefaultContentKeyOutputWithContext

func (i StreamingPolicyCommonEncryptionCbcsDefaultContentKeyArgs) ToStreamingPolicyCommonEncryptionCbcsDefaultContentKeyOutputWithContext(ctx context.Context) StreamingPolicyCommonEncryptionCbcsDefaultContentKeyOutput

func (StreamingPolicyCommonEncryptionCbcsDefaultContentKeyArgs) ToStreamingPolicyCommonEncryptionCbcsDefaultContentKeyPtrOutput

func (i StreamingPolicyCommonEncryptionCbcsDefaultContentKeyArgs) ToStreamingPolicyCommonEncryptionCbcsDefaultContentKeyPtrOutput() StreamingPolicyCommonEncryptionCbcsDefaultContentKeyPtrOutput

func (StreamingPolicyCommonEncryptionCbcsDefaultContentKeyArgs) ToStreamingPolicyCommonEncryptionCbcsDefaultContentKeyPtrOutputWithContext

func (i StreamingPolicyCommonEncryptionCbcsDefaultContentKeyArgs) ToStreamingPolicyCommonEncryptionCbcsDefaultContentKeyPtrOutputWithContext(ctx context.Context) StreamingPolicyCommonEncryptionCbcsDefaultContentKeyPtrOutput

type StreamingPolicyCommonEncryptionCbcsDefaultContentKeyInput

type StreamingPolicyCommonEncryptionCbcsDefaultContentKeyInput interface {
	pulumi.Input

	ToStreamingPolicyCommonEncryptionCbcsDefaultContentKeyOutput() StreamingPolicyCommonEncryptionCbcsDefaultContentKeyOutput
	ToStreamingPolicyCommonEncryptionCbcsDefaultContentKeyOutputWithContext(context.Context) StreamingPolicyCommonEncryptionCbcsDefaultContentKeyOutput
}

StreamingPolicyCommonEncryptionCbcsDefaultContentKeyInput is an input type that accepts StreamingPolicyCommonEncryptionCbcsDefaultContentKeyArgs and StreamingPolicyCommonEncryptionCbcsDefaultContentKeyOutput values. You can construct a concrete instance of `StreamingPolicyCommonEncryptionCbcsDefaultContentKeyInput` via:

StreamingPolicyCommonEncryptionCbcsDefaultContentKeyArgs{...}

type StreamingPolicyCommonEncryptionCbcsDefaultContentKeyOutput

type StreamingPolicyCommonEncryptionCbcsDefaultContentKeyOutput struct{ *pulumi.OutputState }

func (StreamingPolicyCommonEncryptionCbcsDefaultContentKeyOutput) ElementType

func (StreamingPolicyCommonEncryptionCbcsDefaultContentKeyOutput) Label

Label can be used to specify Content Key when creating a Streaming Locator. Changing this forces a new Streaming Policy to be created.

func (StreamingPolicyCommonEncryptionCbcsDefaultContentKeyOutput) PolicyName

Policy used by Default Key. Changing this forces a new Streaming Policy to be created.

func (StreamingPolicyCommonEncryptionCbcsDefaultContentKeyOutput) ToStreamingPolicyCommonEncryptionCbcsDefaultContentKeyOutput

func (StreamingPolicyCommonEncryptionCbcsDefaultContentKeyOutput) ToStreamingPolicyCommonEncryptionCbcsDefaultContentKeyOutputWithContext

func (o StreamingPolicyCommonEncryptionCbcsDefaultContentKeyOutput) ToStreamingPolicyCommonEncryptionCbcsDefaultContentKeyOutputWithContext(ctx context.Context) StreamingPolicyCommonEncryptionCbcsDefaultContentKeyOutput

func (StreamingPolicyCommonEncryptionCbcsDefaultContentKeyOutput) ToStreamingPolicyCommonEncryptionCbcsDefaultContentKeyPtrOutput

func (StreamingPolicyCommonEncryptionCbcsDefaultContentKeyOutput) ToStreamingPolicyCommonEncryptionCbcsDefaultContentKeyPtrOutputWithContext

func (o StreamingPolicyCommonEncryptionCbcsDefaultContentKeyOutput) ToStreamingPolicyCommonEncryptionCbcsDefaultContentKeyPtrOutputWithContext(ctx context.Context) StreamingPolicyCommonEncryptionCbcsDefaultContentKeyPtrOutput

type StreamingPolicyCommonEncryptionCbcsDefaultContentKeyPtrInput

type StreamingPolicyCommonEncryptionCbcsDefaultContentKeyPtrInput interface {
	pulumi.Input

	ToStreamingPolicyCommonEncryptionCbcsDefaultContentKeyPtrOutput() StreamingPolicyCommonEncryptionCbcsDefaultContentKeyPtrOutput
	ToStreamingPolicyCommonEncryptionCbcsDefaultContentKeyPtrOutputWithContext(context.Context) StreamingPolicyCommonEncryptionCbcsDefaultContentKeyPtrOutput
}

StreamingPolicyCommonEncryptionCbcsDefaultContentKeyPtrInput is an input type that accepts StreamingPolicyCommonEncryptionCbcsDefaultContentKeyArgs, StreamingPolicyCommonEncryptionCbcsDefaultContentKeyPtr and StreamingPolicyCommonEncryptionCbcsDefaultContentKeyPtrOutput values. You can construct a concrete instance of `StreamingPolicyCommonEncryptionCbcsDefaultContentKeyPtrInput` via:

        StreamingPolicyCommonEncryptionCbcsDefaultContentKeyArgs{...}

or:

        nil

type StreamingPolicyCommonEncryptionCbcsDefaultContentKeyPtrOutput

type StreamingPolicyCommonEncryptionCbcsDefaultContentKeyPtrOutput struct{ *pulumi.OutputState }

func (StreamingPolicyCommonEncryptionCbcsDefaultContentKeyPtrOutput) Elem

func (StreamingPolicyCommonEncryptionCbcsDefaultContentKeyPtrOutput) ElementType

func (StreamingPolicyCommonEncryptionCbcsDefaultContentKeyPtrOutput) Label

Label can be used to specify Content Key when creating a Streaming Locator. Changing this forces a new Streaming Policy to be created.

func (StreamingPolicyCommonEncryptionCbcsDefaultContentKeyPtrOutput) PolicyName

Policy used by Default Key. Changing this forces a new Streaming Policy to be created.

func (StreamingPolicyCommonEncryptionCbcsDefaultContentKeyPtrOutput) ToStreamingPolicyCommonEncryptionCbcsDefaultContentKeyPtrOutput

func (StreamingPolicyCommonEncryptionCbcsDefaultContentKeyPtrOutput) ToStreamingPolicyCommonEncryptionCbcsDefaultContentKeyPtrOutputWithContext

func (o StreamingPolicyCommonEncryptionCbcsDefaultContentKeyPtrOutput) ToStreamingPolicyCommonEncryptionCbcsDefaultContentKeyPtrOutputWithContext(ctx context.Context) StreamingPolicyCommonEncryptionCbcsDefaultContentKeyPtrOutput

type StreamingPolicyCommonEncryptionCbcsDrmFairplay

type StreamingPolicyCommonEncryptionCbcsDrmFairplay struct {
	// All license to be persistent or not. Changing this forces a new Streaming Policy to be created.
	AllowPersistentLicense *bool `pulumi:"allowPersistentLicense"`
	// Template for the URL of the custom service delivering licenses to end user players. Not required when using Azure Media Services for issuing licenses. The template supports replaceable tokens that the service will update at runtime with the value specific to the request. The currently supported token values are `{AlternativeMediaId}`, which is replaced with the value of `StreamingLocatorId.AlternativeMediaId`, and `{ContentKeyId}`, which is replaced with the value of identifier of the key being requested. Changing this forces a new Streaming Policy to be created.
	CustomLicenseAcquisitionUrlTemplate *string `pulumi:"customLicenseAcquisitionUrlTemplate"`
}

type StreamingPolicyCommonEncryptionCbcsDrmFairplayArgs

type StreamingPolicyCommonEncryptionCbcsDrmFairplayArgs struct {
	// All license to be persistent or not. Changing this forces a new Streaming Policy to be created.
	AllowPersistentLicense pulumi.BoolPtrInput `pulumi:"allowPersistentLicense"`
	// Template for the URL of the custom service delivering licenses to end user players. Not required when using Azure Media Services for issuing licenses. The template supports replaceable tokens that the service will update at runtime with the value specific to the request. The currently supported token values are `{AlternativeMediaId}`, which is replaced with the value of `StreamingLocatorId.AlternativeMediaId`, and `{ContentKeyId}`, which is replaced with the value of identifier of the key being requested. Changing this forces a new Streaming Policy to be created.
	CustomLicenseAcquisitionUrlTemplate pulumi.StringPtrInput `pulumi:"customLicenseAcquisitionUrlTemplate"`
}

func (StreamingPolicyCommonEncryptionCbcsDrmFairplayArgs) ElementType

func (StreamingPolicyCommonEncryptionCbcsDrmFairplayArgs) ToStreamingPolicyCommonEncryptionCbcsDrmFairplayOutput

func (i StreamingPolicyCommonEncryptionCbcsDrmFairplayArgs) ToStreamingPolicyCommonEncryptionCbcsDrmFairplayOutput() StreamingPolicyCommonEncryptionCbcsDrmFairplayOutput

func (StreamingPolicyCommonEncryptionCbcsDrmFairplayArgs) ToStreamingPolicyCommonEncryptionCbcsDrmFairplayOutputWithContext

func (i StreamingPolicyCommonEncryptionCbcsDrmFairplayArgs) ToStreamingPolicyCommonEncryptionCbcsDrmFairplayOutputWithContext(ctx context.Context) StreamingPolicyCommonEncryptionCbcsDrmFairplayOutput

func (StreamingPolicyCommonEncryptionCbcsDrmFairplayArgs) ToStreamingPolicyCommonEncryptionCbcsDrmFairplayPtrOutput

func (i StreamingPolicyCommonEncryptionCbcsDrmFairplayArgs) ToStreamingPolicyCommonEncryptionCbcsDrmFairplayPtrOutput() StreamingPolicyCommonEncryptionCbcsDrmFairplayPtrOutput

func (StreamingPolicyCommonEncryptionCbcsDrmFairplayArgs) ToStreamingPolicyCommonEncryptionCbcsDrmFairplayPtrOutputWithContext

func (i StreamingPolicyCommonEncryptionCbcsDrmFairplayArgs) ToStreamingPolicyCommonEncryptionCbcsDrmFairplayPtrOutputWithContext(ctx context.Context) StreamingPolicyCommonEncryptionCbcsDrmFairplayPtrOutput

type StreamingPolicyCommonEncryptionCbcsDrmFairplayInput

type StreamingPolicyCommonEncryptionCbcsDrmFairplayInput interface {
	pulumi.Input

	ToStreamingPolicyCommonEncryptionCbcsDrmFairplayOutput() StreamingPolicyCommonEncryptionCbcsDrmFairplayOutput
	ToStreamingPolicyCommonEncryptionCbcsDrmFairplayOutputWithContext(context.Context) StreamingPolicyCommonEncryptionCbcsDrmFairplayOutput
}

StreamingPolicyCommonEncryptionCbcsDrmFairplayInput is an input type that accepts StreamingPolicyCommonEncryptionCbcsDrmFairplayArgs and StreamingPolicyCommonEncryptionCbcsDrmFairplayOutput values. You can construct a concrete instance of `StreamingPolicyCommonEncryptionCbcsDrmFairplayInput` via:

StreamingPolicyCommonEncryptionCbcsDrmFairplayArgs{...}

type StreamingPolicyCommonEncryptionCbcsDrmFairplayOutput

type StreamingPolicyCommonEncryptionCbcsDrmFairplayOutput struct{ *pulumi.OutputState }

func (StreamingPolicyCommonEncryptionCbcsDrmFairplayOutput) AllowPersistentLicense

All license to be persistent or not. Changing this forces a new Streaming Policy to be created.

func (StreamingPolicyCommonEncryptionCbcsDrmFairplayOutput) CustomLicenseAcquisitionUrlTemplate

func (o StreamingPolicyCommonEncryptionCbcsDrmFairplayOutput) CustomLicenseAcquisitionUrlTemplate() pulumi.StringPtrOutput

Template for the URL of the custom service delivering licenses to end user players. Not required when using Azure Media Services for issuing licenses. The template supports replaceable tokens that the service will update at runtime with the value specific to the request. The currently supported token values are `{AlternativeMediaId}`, which is replaced with the value of `StreamingLocatorId.AlternativeMediaId`, and `{ContentKeyId}`, which is replaced with the value of identifier of the key being requested. Changing this forces a new Streaming Policy to be created.

func (StreamingPolicyCommonEncryptionCbcsDrmFairplayOutput) ElementType

func (StreamingPolicyCommonEncryptionCbcsDrmFairplayOutput) ToStreamingPolicyCommonEncryptionCbcsDrmFairplayOutput

func (StreamingPolicyCommonEncryptionCbcsDrmFairplayOutput) ToStreamingPolicyCommonEncryptionCbcsDrmFairplayOutputWithContext

func (o StreamingPolicyCommonEncryptionCbcsDrmFairplayOutput) ToStreamingPolicyCommonEncryptionCbcsDrmFairplayOutputWithContext(ctx context.Context) StreamingPolicyCommonEncryptionCbcsDrmFairplayOutput

func (StreamingPolicyCommonEncryptionCbcsDrmFairplayOutput) ToStreamingPolicyCommonEncryptionCbcsDrmFairplayPtrOutput

func (o StreamingPolicyCommonEncryptionCbcsDrmFairplayOutput) ToStreamingPolicyCommonEncryptionCbcsDrmFairplayPtrOutput() StreamingPolicyCommonEncryptionCbcsDrmFairplayPtrOutput

func (StreamingPolicyCommonEncryptionCbcsDrmFairplayOutput) ToStreamingPolicyCommonEncryptionCbcsDrmFairplayPtrOutputWithContext

func (o StreamingPolicyCommonEncryptionCbcsDrmFairplayOutput) ToStreamingPolicyCommonEncryptionCbcsDrmFairplayPtrOutputWithContext(ctx context.Context) StreamingPolicyCommonEncryptionCbcsDrmFairplayPtrOutput

type StreamingPolicyCommonEncryptionCbcsDrmFairplayPtrInput

type StreamingPolicyCommonEncryptionCbcsDrmFairplayPtrInput interface {
	pulumi.Input

	ToStreamingPolicyCommonEncryptionCbcsDrmFairplayPtrOutput() StreamingPolicyCommonEncryptionCbcsDrmFairplayPtrOutput
	ToStreamingPolicyCommonEncryptionCbcsDrmFairplayPtrOutputWithContext(context.Context) StreamingPolicyCommonEncryptionCbcsDrmFairplayPtrOutput
}

StreamingPolicyCommonEncryptionCbcsDrmFairplayPtrInput is an input type that accepts StreamingPolicyCommonEncryptionCbcsDrmFairplayArgs, StreamingPolicyCommonEncryptionCbcsDrmFairplayPtr and StreamingPolicyCommonEncryptionCbcsDrmFairplayPtrOutput values. You can construct a concrete instance of `StreamingPolicyCommonEncryptionCbcsDrmFairplayPtrInput` via:

        StreamingPolicyCommonEncryptionCbcsDrmFairplayArgs{...}

or:

        nil

type StreamingPolicyCommonEncryptionCbcsDrmFairplayPtrOutput

type StreamingPolicyCommonEncryptionCbcsDrmFairplayPtrOutput struct{ *pulumi.OutputState }

func (StreamingPolicyCommonEncryptionCbcsDrmFairplayPtrOutput) AllowPersistentLicense

All license to be persistent or not. Changing this forces a new Streaming Policy to be created.

func (StreamingPolicyCommonEncryptionCbcsDrmFairplayPtrOutput) CustomLicenseAcquisitionUrlTemplate

func (o StreamingPolicyCommonEncryptionCbcsDrmFairplayPtrOutput) CustomLicenseAcquisitionUrlTemplate() pulumi.StringPtrOutput

Template for the URL of the custom service delivering licenses to end user players. Not required when using Azure Media Services for issuing licenses. The template supports replaceable tokens that the service will update at runtime with the value specific to the request. The currently supported token values are `{AlternativeMediaId}`, which is replaced with the value of `StreamingLocatorId.AlternativeMediaId`, and `{ContentKeyId}`, which is replaced with the value of identifier of the key being requested. Changing this forces a new Streaming Policy to be created.

func (StreamingPolicyCommonEncryptionCbcsDrmFairplayPtrOutput) Elem

func (StreamingPolicyCommonEncryptionCbcsDrmFairplayPtrOutput) ElementType

func (StreamingPolicyCommonEncryptionCbcsDrmFairplayPtrOutput) ToStreamingPolicyCommonEncryptionCbcsDrmFairplayPtrOutput

func (StreamingPolicyCommonEncryptionCbcsDrmFairplayPtrOutput) ToStreamingPolicyCommonEncryptionCbcsDrmFairplayPtrOutputWithContext

func (o StreamingPolicyCommonEncryptionCbcsDrmFairplayPtrOutput) ToStreamingPolicyCommonEncryptionCbcsDrmFairplayPtrOutputWithContext(ctx context.Context) StreamingPolicyCommonEncryptionCbcsDrmFairplayPtrOutput

type StreamingPolicyCommonEncryptionCbcsEnabledProtocols

type StreamingPolicyCommonEncryptionCbcsEnabledProtocols struct {
	// Enable DASH protocol or not. Changing this forces a new Streaming Policy to be created.
	Dash *bool `pulumi:"dash"`
	// Enable Download protocol or not. Changing this forces a new Streaming Policy to be created.
	Download *bool `pulumi:"download"`
	// Enable HLS protocol or not. Changing this forces a new Streaming Policy to be created.
	Hls *bool `pulumi:"hls"`
	// Enable SmoothStreaming protocol or not. Changing this forces a new Streaming Policy to be created.
	SmoothStreaming *bool `pulumi:"smoothStreaming"`
}

type StreamingPolicyCommonEncryptionCbcsEnabledProtocolsArgs

type StreamingPolicyCommonEncryptionCbcsEnabledProtocolsArgs struct {
	// Enable DASH protocol or not. Changing this forces a new Streaming Policy to be created.
	Dash pulumi.BoolPtrInput `pulumi:"dash"`
	// Enable Download protocol or not. Changing this forces a new Streaming Policy to be created.
	Download pulumi.BoolPtrInput `pulumi:"download"`
	// Enable HLS protocol or not. Changing this forces a new Streaming Policy to be created.
	Hls pulumi.BoolPtrInput `pulumi:"hls"`
	// Enable SmoothStreaming protocol or not. Changing this forces a new Streaming Policy to be created.
	SmoothStreaming pulumi.BoolPtrInput `pulumi:"smoothStreaming"`
}

func (StreamingPolicyCommonEncryptionCbcsEnabledProtocolsArgs) ElementType

func (StreamingPolicyCommonEncryptionCbcsEnabledProtocolsArgs) ToStreamingPolicyCommonEncryptionCbcsEnabledProtocolsOutput

func (StreamingPolicyCommonEncryptionCbcsEnabledProtocolsArgs) ToStreamingPolicyCommonEncryptionCbcsEnabledProtocolsOutputWithContext

func (i StreamingPolicyCommonEncryptionCbcsEnabledProtocolsArgs) ToStreamingPolicyCommonEncryptionCbcsEnabledProtocolsOutputWithContext(ctx context.Context) StreamingPolicyCommonEncryptionCbcsEnabledProtocolsOutput

func (StreamingPolicyCommonEncryptionCbcsEnabledProtocolsArgs) ToStreamingPolicyCommonEncryptionCbcsEnabledProtocolsPtrOutput

func (i StreamingPolicyCommonEncryptionCbcsEnabledProtocolsArgs) ToStreamingPolicyCommonEncryptionCbcsEnabledProtocolsPtrOutput() StreamingPolicyCommonEncryptionCbcsEnabledProtocolsPtrOutput

func (StreamingPolicyCommonEncryptionCbcsEnabledProtocolsArgs) ToStreamingPolicyCommonEncryptionCbcsEnabledProtocolsPtrOutputWithContext

func (i StreamingPolicyCommonEncryptionCbcsEnabledProtocolsArgs) ToStreamingPolicyCommonEncryptionCbcsEnabledProtocolsPtrOutputWithContext(ctx context.Context) StreamingPolicyCommonEncryptionCbcsEnabledProtocolsPtrOutput

type StreamingPolicyCommonEncryptionCbcsEnabledProtocolsInput

type StreamingPolicyCommonEncryptionCbcsEnabledProtocolsInput interface {
	pulumi.Input

	ToStreamingPolicyCommonEncryptionCbcsEnabledProtocolsOutput() StreamingPolicyCommonEncryptionCbcsEnabledProtocolsOutput
	ToStreamingPolicyCommonEncryptionCbcsEnabledProtocolsOutputWithContext(context.Context) StreamingPolicyCommonEncryptionCbcsEnabledProtocolsOutput
}

StreamingPolicyCommonEncryptionCbcsEnabledProtocolsInput is an input type that accepts StreamingPolicyCommonEncryptionCbcsEnabledProtocolsArgs and StreamingPolicyCommonEncryptionCbcsEnabledProtocolsOutput values. You can construct a concrete instance of `StreamingPolicyCommonEncryptionCbcsEnabledProtocolsInput` via:

StreamingPolicyCommonEncryptionCbcsEnabledProtocolsArgs{...}

type StreamingPolicyCommonEncryptionCbcsEnabledProtocolsOutput

type StreamingPolicyCommonEncryptionCbcsEnabledProtocolsOutput struct{ *pulumi.OutputState }

func (StreamingPolicyCommonEncryptionCbcsEnabledProtocolsOutput) Dash

Enable DASH protocol or not. Changing this forces a new Streaming Policy to be created.

func (StreamingPolicyCommonEncryptionCbcsEnabledProtocolsOutput) Download

Enable Download protocol or not. Changing this forces a new Streaming Policy to be created.

func (StreamingPolicyCommonEncryptionCbcsEnabledProtocolsOutput) ElementType

func (StreamingPolicyCommonEncryptionCbcsEnabledProtocolsOutput) Hls

Enable HLS protocol or not. Changing this forces a new Streaming Policy to be created.

func (StreamingPolicyCommonEncryptionCbcsEnabledProtocolsOutput) SmoothStreaming

Enable SmoothStreaming protocol or not. Changing this forces a new Streaming Policy to be created.

func (StreamingPolicyCommonEncryptionCbcsEnabledProtocolsOutput) ToStreamingPolicyCommonEncryptionCbcsEnabledProtocolsOutput

func (StreamingPolicyCommonEncryptionCbcsEnabledProtocolsOutput) ToStreamingPolicyCommonEncryptionCbcsEnabledProtocolsOutputWithContext

func (o StreamingPolicyCommonEncryptionCbcsEnabledProtocolsOutput) ToStreamingPolicyCommonEncryptionCbcsEnabledProtocolsOutputWithContext(ctx context.Context) StreamingPolicyCommonEncryptionCbcsEnabledProtocolsOutput

func (StreamingPolicyCommonEncryptionCbcsEnabledProtocolsOutput) ToStreamingPolicyCommonEncryptionCbcsEnabledProtocolsPtrOutput

func (StreamingPolicyCommonEncryptionCbcsEnabledProtocolsOutput) ToStreamingPolicyCommonEncryptionCbcsEnabledProtocolsPtrOutputWithContext

func (o StreamingPolicyCommonEncryptionCbcsEnabledProtocolsOutput) ToStreamingPolicyCommonEncryptionCbcsEnabledProtocolsPtrOutputWithContext(ctx context.Context) StreamingPolicyCommonEncryptionCbcsEnabledProtocolsPtrOutput

type StreamingPolicyCommonEncryptionCbcsEnabledProtocolsPtrInput

type StreamingPolicyCommonEncryptionCbcsEnabledProtocolsPtrInput interface {
	pulumi.Input

	ToStreamingPolicyCommonEncryptionCbcsEnabledProtocolsPtrOutput() StreamingPolicyCommonEncryptionCbcsEnabledProtocolsPtrOutput
	ToStreamingPolicyCommonEncryptionCbcsEnabledProtocolsPtrOutputWithContext(context.Context) StreamingPolicyCommonEncryptionCbcsEnabledProtocolsPtrOutput
}

StreamingPolicyCommonEncryptionCbcsEnabledProtocolsPtrInput is an input type that accepts StreamingPolicyCommonEncryptionCbcsEnabledProtocolsArgs, StreamingPolicyCommonEncryptionCbcsEnabledProtocolsPtr and StreamingPolicyCommonEncryptionCbcsEnabledProtocolsPtrOutput values. You can construct a concrete instance of `StreamingPolicyCommonEncryptionCbcsEnabledProtocolsPtrInput` via:

        StreamingPolicyCommonEncryptionCbcsEnabledProtocolsArgs{...}

or:

        nil

type StreamingPolicyCommonEncryptionCbcsEnabledProtocolsPtrOutput

type StreamingPolicyCommonEncryptionCbcsEnabledProtocolsPtrOutput struct{ *pulumi.OutputState }

func (StreamingPolicyCommonEncryptionCbcsEnabledProtocolsPtrOutput) Dash

Enable DASH protocol or not. Changing this forces a new Streaming Policy to be created.

func (StreamingPolicyCommonEncryptionCbcsEnabledProtocolsPtrOutput) Download

Enable Download protocol or not. Changing this forces a new Streaming Policy to be created.

func (StreamingPolicyCommonEncryptionCbcsEnabledProtocolsPtrOutput) Elem

func (StreamingPolicyCommonEncryptionCbcsEnabledProtocolsPtrOutput) ElementType

func (StreamingPolicyCommonEncryptionCbcsEnabledProtocolsPtrOutput) Hls

Enable HLS protocol or not. Changing this forces a new Streaming Policy to be created.

func (StreamingPolicyCommonEncryptionCbcsEnabledProtocolsPtrOutput) SmoothStreaming

Enable SmoothStreaming protocol or not. Changing this forces a new Streaming Policy to be created.

func (StreamingPolicyCommonEncryptionCbcsEnabledProtocolsPtrOutput) ToStreamingPolicyCommonEncryptionCbcsEnabledProtocolsPtrOutput

func (StreamingPolicyCommonEncryptionCbcsEnabledProtocolsPtrOutput) ToStreamingPolicyCommonEncryptionCbcsEnabledProtocolsPtrOutputWithContext

func (o StreamingPolicyCommonEncryptionCbcsEnabledProtocolsPtrOutput) ToStreamingPolicyCommonEncryptionCbcsEnabledProtocolsPtrOutputWithContext(ctx context.Context) StreamingPolicyCommonEncryptionCbcsEnabledProtocolsPtrOutput

type StreamingPolicyCommonEncryptionCbcsInput

type StreamingPolicyCommonEncryptionCbcsInput interface {
	pulumi.Input

	ToStreamingPolicyCommonEncryptionCbcsOutput() StreamingPolicyCommonEncryptionCbcsOutput
	ToStreamingPolicyCommonEncryptionCbcsOutputWithContext(context.Context) StreamingPolicyCommonEncryptionCbcsOutput
}

StreamingPolicyCommonEncryptionCbcsInput is an input type that accepts StreamingPolicyCommonEncryptionCbcsArgs and StreamingPolicyCommonEncryptionCbcsOutput values. You can construct a concrete instance of `StreamingPolicyCommonEncryptionCbcsInput` via:

StreamingPolicyCommonEncryptionCbcsArgs{...}

type StreamingPolicyCommonEncryptionCbcsOutput

type StreamingPolicyCommonEncryptionCbcsOutput struct{ *pulumi.OutputState }

func (StreamingPolicyCommonEncryptionCbcsOutput) DefaultContentKey

A `defaultContentKey` block as defined below. Changing this forces a new Streaming Policy to be created.

func (StreamingPolicyCommonEncryptionCbcsOutput) DrmFairplay

A `drmFairplay` block as defined below. Changing this forces a new Streaming Policy to be created.

func (StreamingPolicyCommonEncryptionCbcsOutput) ElementType

func (StreamingPolicyCommonEncryptionCbcsOutput) EnabledProtocols

A `enabledProtocols` block as defined below. Changing this forces a new Streaming Policy to be created.

func (StreamingPolicyCommonEncryptionCbcsOutput) ToStreamingPolicyCommonEncryptionCbcsOutput

func (o StreamingPolicyCommonEncryptionCbcsOutput) ToStreamingPolicyCommonEncryptionCbcsOutput() StreamingPolicyCommonEncryptionCbcsOutput

func (StreamingPolicyCommonEncryptionCbcsOutput) ToStreamingPolicyCommonEncryptionCbcsOutputWithContext

func (o StreamingPolicyCommonEncryptionCbcsOutput) ToStreamingPolicyCommonEncryptionCbcsOutputWithContext(ctx context.Context) StreamingPolicyCommonEncryptionCbcsOutput

func (StreamingPolicyCommonEncryptionCbcsOutput) ToStreamingPolicyCommonEncryptionCbcsPtrOutput

func (o StreamingPolicyCommonEncryptionCbcsOutput) ToStreamingPolicyCommonEncryptionCbcsPtrOutput() StreamingPolicyCommonEncryptionCbcsPtrOutput

func (StreamingPolicyCommonEncryptionCbcsOutput) ToStreamingPolicyCommonEncryptionCbcsPtrOutputWithContext

func (o StreamingPolicyCommonEncryptionCbcsOutput) ToStreamingPolicyCommonEncryptionCbcsPtrOutputWithContext(ctx context.Context) StreamingPolicyCommonEncryptionCbcsPtrOutput

type StreamingPolicyCommonEncryptionCbcsPtrInput

type StreamingPolicyCommonEncryptionCbcsPtrInput interface {
	pulumi.Input

	ToStreamingPolicyCommonEncryptionCbcsPtrOutput() StreamingPolicyCommonEncryptionCbcsPtrOutput
	ToStreamingPolicyCommonEncryptionCbcsPtrOutputWithContext(context.Context) StreamingPolicyCommonEncryptionCbcsPtrOutput
}

StreamingPolicyCommonEncryptionCbcsPtrInput is an input type that accepts StreamingPolicyCommonEncryptionCbcsArgs, StreamingPolicyCommonEncryptionCbcsPtr and StreamingPolicyCommonEncryptionCbcsPtrOutput values. You can construct a concrete instance of `StreamingPolicyCommonEncryptionCbcsPtrInput` via:

        StreamingPolicyCommonEncryptionCbcsArgs{...}

or:

        nil

type StreamingPolicyCommonEncryptionCbcsPtrOutput

type StreamingPolicyCommonEncryptionCbcsPtrOutput struct{ *pulumi.OutputState }

func (StreamingPolicyCommonEncryptionCbcsPtrOutput) DefaultContentKey

A `defaultContentKey` block as defined below. Changing this forces a new Streaming Policy to be created.

func (StreamingPolicyCommonEncryptionCbcsPtrOutput) DrmFairplay

A `drmFairplay` block as defined below. Changing this forces a new Streaming Policy to be created.

func (StreamingPolicyCommonEncryptionCbcsPtrOutput) Elem

func (StreamingPolicyCommonEncryptionCbcsPtrOutput) ElementType

func (StreamingPolicyCommonEncryptionCbcsPtrOutput) EnabledProtocols

A `enabledProtocols` block as defined below. Changing this forces a new Streaming Policy to be created.

func (StreamingPolicyCommonEncryptionCbcsPtrOutput) ToStreamingPolicyCommonEncryptionCbcsPtrOutput

func (o StreamingPolicyCommonEncryptionCbcsPtrOutput) ToStreamingPolicyCommonEncryptionCbcsPtrOutput() StreamingPolicyCommonEncryptionCbcsPtrOutput

func (StreamingPolicyCommonEncryptionCbcsPtrOutput) ToStreamingPolicyCommonEncryptionCbcsPtrOutputWithContext

func (o StreamingPolicyCommonEncryptionCbcsPtrOutput) ToStreamingPolicyCommonEncryptionCbcsPtrOutputWithContext(ctx context.Context) StreamingPolicyCommonEncryptionCbcsPtrOutput

type StreamingPolicyCommonEncryptionCenc

type StreamingPolicyCommonEncryptionCenc struct {
	// A `defaultContentKey` block as defined below. Changing this forces a new Streaming Policy to be created.
	DefaultContentKey *StreamingPolicyCommonEncryptionCencDefaultContentKey `pulumi:"defaultContentKey"`
	// A `drmPlayready` block as defined below. Changing this forces a new Streaming Policy to be created.
	DrmPlayready *StreamingPolicyCommonEncryptionCencDrmPlayready `pulumi:"drmPlayready"`
	// Template for the URL of the custom service delivering licenses to end user players. Not required when using Azure Media Services for issuing licenses. The template supports replaceable tokens that the service will update at runtime with the value specific to the request. The currently supported token values are `{AlternativeMediaId}`, which is replaced with the value of `StreamingLocatorId.AlternativeMediaId`, and `{ContentKeyId}`, which is replaced with the value of identifier of the key being requested. Changing this forces a new Streaming Policy to be created.
	DrmWidevineCustomLicenseAcquisitionUrlTemplate *string `pulumi:"drmWidevineCustomLicenseAcquisitionUrlTemplate"`
	// A `enabledProtocols` block as defined below. Changing this forces a new Streaming Policy to be created.
	EnabledProtocols *StreamingPolicyCommonEncryptionCencEnabledProtocols `pulumi:"enabledProtocols"`
}

type StreamingPolicyCommonEncryptionCencArgs

type StreamingPolicyCommonEncryptionCencArgs struct {
	// A `defaultContentKey` block as defined below. Changing this forces a new Streaming Policy to be created.
	DefaultContentKey StreamingPolicyCommonEncryptionCencDefaultContentKeyPtrInput `pulumi:"defaultContentKey"`
	// A `drmPlayready` block as defined below. Changing this forces a new Streaming Policy to be created.
	DrmPlayready StreamingPolicyCommonEncryptionCencDrmPlayreadyPtrInput `pulumi:"drmPlayready"`
	// Template for the URL of the custom service delivering licenses to end user players. Not required when using Azure Media Services for issuing licenses. The template supports replaceable tokens that the service will update at runtime with the value specific to the request. The currently supported token values are `{AlternativeMediaId}`, which is replaced with the value of `StreamingLocatorId.AlternativeMediaId`, and `{ContentKeyId}`, which is replaced with the value of identifier of the key being requested. Changing this forces a new Streaming Policy to be created.
	DrmWidevineCustomLicenseAcquisitionUrlTemplate pulumi.StringPtrInput `pulumi:"drmWidevineCustomLicenseAcquisitionUrlTemplate"`
	// A `enabledProtocols` block as defined below. Changing this forces a new Streaming Policy to be created.
	EnabledProtocols StreamingPolicyCommonEncryptionCencEnabledProtocolsPtrInput `pulumi:"enabledProtocols"`
}

func (StreamingPolicyCommonEncryptionCencArgs) ElementType

func (StreamingPolicyCommonEncryptionCencArgs) ToStreamingPolicyCommonEncryptionCencOutput

func (i StreamingPolicyCommonEncryptionCencArgs) ToStreamingPolicyCommonEncryptionCencOutput() StreamingPolicyCommonEncryptionCencOutput

func (StreamingPolicyCommonEncryptionCencArgs) ToStreamingPolicyCommonEncryptionCencOutputWithContext

func (i StreamingPolicyCommonEncryptionCencArgs) ToStreamingPolicyCommonEncryptionCencOutputWithContext(ctx context.Context) StreamingPolicyCommonEncryptionCencOutput

func (StreamingPolicyCommonEncryptionCencArgs) ToStreamingPolicyCommonEncryptionCencPtrOutput

func (i StreamingPolicyCommonEncryptionCencArgs) ToStreamingPolicyCommonEncryptionCencPtrOutput() StreamingPolicyCommonEncryptionCencPtrOutput

func (StreamingPolicyCommonEncryptionCencArgs) ToStreamingPolicyCommonEncryptionCencPtrOutputWithContext

func (i StreamingPolicyCommonEncryptionCencArgs) ToStreamingPolicyCommonEncryptionCencPtrOutputWithContext(ctx context.Context) StreamingPolicyCommonEncryptionCencPtrOutput

type StreamingPolicyCommonEncryptionCencDefaultContentKey

type StreamingPolicyCommonEncryptionCencDefaultContentKey struct {
	// Label can be used to specify Content Key when creating a Streaming Locator. Changing this forces a new Streaming Policy to be created.
	Label *string `pulumi:"label"`
	// Policy used by Default Key. Changing this forces a new Streaming Policy to be created.
	PolicyName *string `pulumi:"policyName"`
}

type StreamingPolicyCommonEncryptionCencDefaultContentKeyArgs

type StreamingPolicyCommonEncryptionCencDefaultContentKeyArgs struct {
	// Label can be used to specify Content Key when creating a Streaming Locator. Changing this forces a new Streaming Policy to be created.
	Label pulumi.StringPtrInput `pulumi:"label"`
	// Policy used by Default Key. Changing this forces a new Streaming Policy to be created.
	PolicyName pulumi.StringPtrInput `pulumi:"policyName"`
}

func (StreamingPolicyCommonEncryptionCencDefaultContentKeyArgs) ElementType

func (StreamingPolicyCommonEncryptionCencDefaultContentKeyArgs) ToStreamingPolicyCommonEncryptionCencDefaultContentKeyOutput

func (StreamingPolicyCommonEncryptionCencDefaultContentKeyArgs) ToStreamingPolicyCommonEncryptionCencDefaultContentKeyOutputWithContext

func (i StreamingPolicyCommonEncryptionCencDefaultContentKeyArgs) ToStreamingPolicyCommonEncryptionCencDefaultContentKeyOutputWithContext(ctx context.Context) StreamingPolicyCommonEncryptionCencDefaultContentKeyOutput

func (StreamingPolicyCommonEncryptionCencDefaultContentKeyArgs) ToStreamingPolicyCommonEncryptionCencDefaultContentKeyPtrOutput

func (i StreamingPolicyCommonEncryptionCencDefaultContentKeyArgs) ToStreamingPolicyCommonEncryptionCencDefaultContentKeyPtrOutput() StreamingPolicyCommonEncryptionCencDefaultContentKeyPtrOutput

func (StreamingPolicyCommonEncryptionCencDefaultContentKeyArgs) ToStreamingPolicyCommonEncryptionCencDefaultContentKeyPtrOutputWithContext

func (i StreamingPolicyCommonEncryptionCencDefaultContentKeyArgs) ToStreamingPolicyCommonEncryptionCencDefaultContentKeyPtrOutputWithContext(ctx context.Context) StreamingPolicyCommonEncryptionCencDefaultContentKeyPtrOutput

type StreamingPolicyCommonEncryptionCencDefaultContentKeyInput

type StreamingPolicyCommonEncryptionCencDefaultContentKeyInput interface {
	pulumi.Input

	ToStreamingPolicyCommonEncryptionCencDefaultContentKeyOutput() StreamingPolicyCommonEncryptionCencDefaultContentKeyOutput
	ToStreamingPolicyCommonEncryptionCencDefaultContentKeyOutputWithContext(context.Context) StreamingPolicyCommonEncryptionCencDefaultContentKeyOutput
}

StreamingPolicyCommonEncryptionCencDefaultContentKeyInput is an input type that accepts StreamingPolicyCommonEncryptionCencDefaultContentKeyArgs and StreamingPolicyCommonEncryptionCencDefaultContentKeyOutput values. You can construct a concrete instance of `StreamingPolicyCommonEncryptionCencDefaultContentKeyInput` via:

StreamingPolicyCommonEncryptionCencDefaultContentKeyArgs{...}

type StreamingPolicyCommonEncryptionCencDefaultContentKeyOutput

type StreamingPolicyCommonEncryptionCencDefaultContentKeyOutput struct{ *pulumi.OutputState }

func (StreamingPolicyCommonEncryptionCencDefaultContentKeyOutput) ElementType

func (StreamingPolicyCommonEncryptionCencDefaultContentKeyOutput) Label

Label can be used to specify Content Key when creating a Streaming Locator. Changing this forces a new Streaming Policy to be created.

func (StreamingPolicyCommonEncryptionCencDefaultContentKeyOutput) PolicyName

Policy used by Default Key. Changing this forces a new Streaming Policy to be created.

func (StreamingPolicyCommonEncryptionCencDefaultContentKeyOutput) ToStreamingPolicyCommonEncryptionCencDefaultContentKeyOutput

func (StreamingPolicyCommonEncryptionCencDefaultContentKeyOutput) ToStreamingPolicyCommonEncryptionCencDefaultContentKeyOutputWithContext

func (o StreamingPolicyCommonEncryptionCencDefaultContentKeyOutput) ToStreamingPolicyCommonEncryptionCencDefaultContentKeyOutputWithContext(ctx context.Context) StreamingPolicyCommonEncryptionCencDefaultContentKeyOutput

func (StreamingPolicyCommonEncryptionCencDefaultContentKeyOutput) ToStreamingPolicyCommonEncryptionCencDefaultContentKeyPtrOutput

func (StreamingPolicyCommonEncryptionCencDefaultContentKeyOutput) ToStreamingPolicyCommonEncryptionCencDefaultContentKeyPtrOutputWithContext

func (o StreamingPolicyCommonEncryptionCencDefaultContentKeyOutput) ToStreamingPolicyCommonEncryptionCencDefaultContentKeyPtrOutputWithContext(ctx context.Context) StreamingPolicyCommonEncryptionCencDefaultContentKeyPtrOutput

type StreamingPolicyCommonEncryptionCencDefaultContentKeyPtrInput

type StreamingPolicyCommonEncryptionCencDefaultContentKeyPtrInput interface {
	pulumi.Input

	ToStreamingPolicyCommonEncryptionCencDefaultContentKeyPtrOutput() StreamingPolicyCommonEncryptionCencDefaultContentKeyPtrOutput
	ToStreamingPolicyCommonEncryptionCencDefaultContentKeyPtrOutputWithContext(context.Context) StreamingPolicyCommonEncryptionCencDefaultContentKeyPtrOutput
}

StreamingPolicyCommonEncryptionCencDefaultContentKeyPtrInput is an input type that accepts StreamingPolicyCommonEncryptionCencDefaultContentKeyArgs, StreamingPolicyCommonEncryptionCencDefaultContentKeyPtr and StreamingPolicyCommonEncryptionCencDefaultContentKeyPtrOutput values. You can construct a concrete instance of `StreamingPolicyCommonEncryptionCencDefaultContentKeyPtrInput` via:

        StreamingPolicyCommonEncryptionCencDefaultContentKeyArgs{...}

or:

        nil

type StreamingPolicyCommonEncryptionCencDefaultContentKeyPtrOutput

type StreamingPolicyCommonEncryptionCencDefaultContentKeyPtrOutput struct{ *pulumi.OutputState }

func (StreamingPolicyCommonEncryptionCencDefaultContentKeyPtrOutput) Elem

func (StreamingPolicyCommonEncryptionCencDefaultContentKeyPtrOutput) ElementType

func (StreamingPolicyCommonEncryptionCencDefaultContentKeyPtrOutput) Label

Label can be used to specify Content Key when creating a Streaming Locator. Changing this forces a new Streaming Policy to be created.

func (StreamingPolicyCommonEncryptionCencDefaultContentKeyPtrOutput) PolicyName

Policy used by Default Key. Changing this forces a new Streaming Policy to be created.

func (StreamingPolicyCommonEncryptionCencDefaultContentKeyPtrOutput) ToStreamingPolicyCommonEncryptionCencDefaultContentKeyPtrOutput

func (StreamingPolicyCommonEncryptionCencDefaultContentKeyPtrOutput) ToStreamingPolicyCommonEncryptionCencDefaultContentKeyPtrOutputWithContext

func (o StreamingPolicyCommonEncryptionCencDefaultContentKeyPtrOutput) ToStreamingPolicyCommonEncryptionCencDefaultContentKeyPtrOutputWithContext(ctx context.Context) StreamingPolicyCommonEncryptionCencDefaultContentKeyPtrOutput

type StreamingPolicyCommonEncryptionCencDrmPlayready

type StreamingPolicyCommonEncryptionCencDrmPlayready struct {
	// Custom attributes for PlayReady. Changing this forces a new Streaming Policy to be created.
	CustomAttributes *string `pulumi:"customAttributes"`
	// Template for the URL of the custom service delivering licenses to end user players. Not required when using Azure Media Services for issuing licenses. The template supports replaceable tokens that the service will update at runtime with the value specific to the request. The currently supported token values are `{AlternativeMediaId}`, which is replaced with the value of `StreamingLocatorId.AlternativeMediaId`, and `{ContentKeyId}`, which is replaced with the value of identifier of the key being requested. Changing this forces a new Streaming Policy to be created.
	CustomLicenseAcquisitionUrlTemplate *string `pulumi:"customLicenseAcquisitionUrlTemplate"`
}

type StreamingPolicyCommonEncryptionCencDrmPlayreadyArgs

type StreamingPolicyCommonEncryptionCencDrmPlayreadyArgs struct {
	// Custom attributes for PlayReady. Changing this forces a new Streaming Policy to be created.
	CustomAttributes pulumi.StringPtrInput `pulumi:"customAttributes"`
	// Template for the URL of the custom service delivering licenses to end user players. Not required when using Azure Media Services for issuing licenses. The template supports replaceable tokens that the service will update at runtime with the value specific to the request. The currently supported token values are `{AlternativeMediaId}`, which is replaced with the value of `StreamingLocatorId.AlternativeMediaId`, and `{ContentKeyId}`, which is replaced with the value of identifier of the key being requested. Changing this forces a new Streaming Policy to be created.
	CustomLicenseAcquisitionUrlTemplate pulumi.StringPtrInput `pulumi:"customLicenseAcquisitionUrlTemplate"`
}

func (StreamingPolicyCommonEncryptionCencDrmPlayreadyArgs) ElementType

func (StreamingPolicyCommonEncryptionCencDrmPlayreadyArgs) ToStreamingPolicyCommonEncryptionCencDrmPlayreadyOutput

func (i StreamingPolicyCommonEncryptionCencDrmPlayreadyArgs) ToStreamingPolicyCommonEncryptionCencDrmPlayreadyOutput() StreamingPolicyCommonEncryptionCencDrmPlayreadyOutput

func (StreamingPolicyCommonEncryptionCencDrmPlayreadyArgs) ToStreamingPolicyCommonEncryptionCencDrmPlayreadyOutputWithContext

func (i StreamingPolicyCommonEncryptionCencDrmPlayreadyArgs) ToStreamingPolicyCommonEncryptionCencDrmPlayreadyOutputWithContext(ctx context.Context) StreamingPolicyCommonEncryptionCencDrmPlayreadyOutput

func (StreamingPolicyCommonEncryptionCencDrmPlayreadyArgs) ToStreamingPolicyCommonEncryptionCencDrmPlayreadyPtrOutput

func (i StreamingPolicyCommonEncryptionCencDrmPlayreadyArgs) ToStreamingPolicyCommonEncryptionCencDrmPlayreadyPtrOutput() StreamingPolicyCommonEncryptionCencDrmPlayreadyPtrOutput

func (StreamingPolicyCommonEncryptionCencDrmPlayreadyArgs) ToStreamingPolicyCommonEncryptionCencDrmPlayreadyPtrOutputWithContext

func (i StreamingPolicyCommonEncryptionCencDrmPlayreadyArgs) ToStreamingPolicyCommonEncryptionCencDrmPlayreadyPtrOutputWithContext(ctx context.Context) StreamingPolicyCommonEncryptionCencDrmPlayreadyPtrOutput

type StreamingPolicyCommonEncryptionCencDrmPlayreadyInput

type StreamingPolicyCommonEncryptionCencDrmPlayreadyInput interface {
	pulumi.Input

	ToStreamingPolicyCommonEncryptionCencDrmPlayreadyOutput() StreamingPolicyCommonEncryptionCencDrmPlayreadyOutput
	ToStreamingPolicyCommonEncryptionCencDrmPlayreadyOutputWithContext(context.Context) StreamingPolicyCommonEncryptionCencDrmPlayreadyOutput
}

StreamingPolicyCommonEncryptionCencDrmPlayreadyInput is an input type that accepts StreamingPolicyCommonEncryptionCencDrmPlayreadyArgs and StreamingPolicyCommonEncryptionCencDrmPlayreadyOutput values. You can construct a concrete instance of `StreamingPolicyCommonEncryptionCencDrmPlayreadyInput` via:

StreamingPolicyCommonEncryptionCencDrmPlayreadyArgs{...}

type StreamingPolicyCommonEncryptionCencDrmPlayreadyOutput

type StreamingPolicyCommonEncryptionCencDrmPlayreadyOutput struct{ *pulumi.OutputState }

func (StreamingPolicyCommonEncryptionCencDrmPlayreadyOutput) CustomAttributes

Custom attributes for PlayReady. Changing this forces a new Streaming Policy to be created.

func (StreamingPolicyCommonEncryptionCencDrmPlayreadyOutput) CustomLicenseAcquisitionUrlTemplate

func (o StreamingPolicyCommonEncryptionCencDrmPlayreadyOutput) CustomLicenseAcquisitionUrlTemplate() pulumi.StringPtrOutput

Template for the URL of the custom service delivering licenses to end user players. Not required when using Azure Media Services for issuing licenses. The template supports replaceable tokens that the service will update at runtime with the value specific to the request. The currently supported token values are `{AlternativeMediaId}`, which is replaced with the value of `StreamingLocatorId.AlternativeMediaId`, and `{ContentKeyId}`, which is replaced with the value of identifier of the key being requested. Changing this forces a new Streaming Policy to be created.

func (StreamingPolicyCommonEncryptionCencDrmPlayreadyOutput) ElementType

func (StreamingPolicyCommonEncryptionCencDrmPlayreadyOutput) ToStreamingPolicyCommonEncryptionCencDrmPlayreadyOutput

func (StreamingPolicyCommonEncryptionCencDrmPlayreadyOutput) ToStreamingPolicyCommonEncryptionCencDrmPlayreadyOutputWithContext

func (o StreamingPolicyCommonEncryptionCencDrmPlayreadyOutput) ToStreamingPolicyCommonEncryptionCencDrmPlayreadyOutputWithContext(ctx context.Context) StreamingPolicyCommonEncryptionCencDrmPlayreadyOutput

func (StreamingPolicyCommonEncryptionCencDrmPlayreadyOutput) ToStreamingPolicyCommonEncryptionCencDrmPlayreadyPtrOutput

func (o StreamingPolicyCommonEncryptionCencDrmPlayreadyOutput) ToStreamingPolicyCommonEncryptionCencDrmPlayreadyPtrOutput() StreamingPolicyCommonEncryptionCencDrmPlayreadyPtrOutput

func (StreamingPolicyCommonEncryptionCencDrmPlayreadyOutput) ToStreamingPolicyCommonEncryptionCencDrmPlayreadyPtrOutputWithContext

func (o StreamingPolicyCommonEncryptionCencDrmPlayreadyOutput) ToStreamingPolicyCommonEncryptionCencDrmPlayreadyPtrOutputWithContext(ctx context.Context) StreamingPolicyCommonEncryptionCencDrmPlayreadyPtrOutput

type StreamingPolicyCommonEncryptionCencDrmPlayreadyPtrInput

type StreamingPolicyCommonEncryptionCencDrmPlayreadyPtrInput interface {
	pulumi.Input

	ToStreamingPolicyCommonEncryptionCencDrmPlayreadyPtrOutput() StreamingPolicyCommonEncryptionCencDrmPlayreadyPtrOutput
	ToStreamingPolicyCommonEncryptionCencDrmPlayreadyPtrOutputWithContext(context.Context) StreamingPolicyCommonEncryptionCencDrmPlayreadyPtrOutput
}

StreamingPolicyCommonEncryptionCencDrmPlayreadyPtrInput is an input type that accepts StreamingPolicyCommonEncryptionCencDrmPlayreadyArgs, StreamingPolicyCommonEncryptionCencDrmPlayreadyPtr and StreamingPolicyCommonEncryptionCencDrmPlayreadyPtrOutput values. You can construct a concrete instance of `StreamingPolicyCommonEncryptionCencDrmPlayreadyPtrInput` via:

        StreamingPolicyCommonEncryptionCencDrmPlayreadyArgs{...}

or:

        nil

type StreamingPolicyCommonEncryptionCencDrmPlayreadyPtrOutput

type StreamingPolicyCommonEncryptionCencDrmPlayreadyPtrOutput struct{ *pulumi.OutputState }

func (StreamingPolicyCommonEncryptionCencDrmPlayreadyPtrOutput) CustomAttributes

Custom attributes for PlayReady. Changing this forces a new Streaming Policy to be created.

func (StreamingPolicyCommonEncryptionCencDrmPlayreadyPtrOutput) CustomLicenseAcquisitionUrlTemplate

Template for the URL of the custom service delivering licenses to end user players. Not required when using Azure Media Services for issuing licenses. The template supports replaceable tokens that the service will update at runtime with the value specific to the request. The currently supported token values are `{AlternativeMediaId}`, which is replaced with the value of `StreamingLocatorId.AlternativeMediaId`, and `{ContentKeyId}`, which is replaced with the value of identifier of the key being requested. Changing this forces a new Streaming Policy to be created.

func (StreamingPolicyCommonEncryptionCencDrmPlayreadyPtrOutput) Elem

func (StreamingPolicyCommonEncryptionCencDrmPlayreadyPtrOutput) ElementType

func (StreamingPolicyCommonEncryptionCencDrmPlayreadyPtrOutput) ToStreamingPolicyCommonEncryptionCencDrmPlayreadyPtrOutput

func (StreamingPolicyCommonEncryptionCencDrmPlayreadyPtrOutput) ToStreamingPolicyCommonEncryptionCencDrmPlayreadyPtrOutputWithContext

func (o StreamingPolicyCommonEncryptionCencDrmPlayreadyPtrOutput) ToStreamingPolicyCommonEncryptionCencDrmPlayreadyPtrOutputWithContext(ctx context.Context) StreamingPolicyCommonEncryptionCencDrmPlayreadyPtrOutput

type StreamingPolicyCommonEncryptionCencEnabledProtocols

type StreamingPolicyCommonEncryptionCencEnabledProtocols struct {
	// Enable DASH protocol or not. Changing this forces a new Streaming Policy to be created.
	Dash *bool `pulumi:"dash"`
	// Enable Download protocol or not. Changing this forces a new Streaming Policy to be created.
	Download *bool `pulumi:"download"`
	// Enable HLS protocol or not. Changing this forces a new Streaming Policy to be created.
	Hls *bool `pulumi:"hls"`
	// Enable SmoothStreaming protocol or not. Changing this forces a new Streaming Policy to be created.
	SmoothStreaming *bool `pulumi:"smoothStreaming"`
}

type StreamingPolicyCommonEncryptionCencEnabledProtocolsArgs

type StreamingPolicyCommonEncryptionCencEnabledProtocolsArgs struct {
	// Enable DASH protocol or not. Changing this forces a new Streaming Policy to be created.
	Dash pulumi.BoolPtrInput `pulumi:"dash"`
	// Enable Download protocol or not. Changing this forces a new Streaming Policy to be created.
	Download pulumi.BoolPtrInput `pulumi:"download"`
	// Enable HLS protocol or not. Changing this forces a new Streaming Policy to be created.
	Hls pulumi.BoolPtrInput `pulumi:"hls"`
	// Enable SmoothStreaming protocol or not. Changing this forces a new Streaming Policy to be created.
	SmoothStreaming pulumi.BoolPtrInput `pulumi:"smoothStreaming"`
}

func (StreamingPolicyCommonEncryptionCencEnabledProtocolsArgs) ElementType

func (StreamingPolicyCommonEncryptionCencEnabledProtocolsArgs) ToStreamingPolicyCommonEncryptionCencEnabledProtocolsOutput

func (StreamingPolicyCommonEncryptionCencEnabledProtocolsArgs) ToStreamingPolicyCommonEncryptionCencEnabledProtocolsOutputWithContext

func (i StreamingPolicyCommonEncryptionCencEnabledProtocolsArgs) ToStreamingPolicyCommonEncryptionCencEnabledProtocolsOutputWithContext(ctx context.Context) StreamingPolicyCommonEncryptionCencEnabledProtocolsOutput

func (StreamingPolicyCommonEncryptionCencEnabledProtocolsArgs) ToStreamingPolicyCommonEncryptionCencEnabledProtocolsPtrOutput

func (i StreamingPolicyCommonEncryptionCencEnabledProtocolsArgs) ToStreamingPolicyCommonEncryptionCencEnabledProtocolsPtrOutput() StreamingPolicyCommonEncryptionCencEnabledProtocolsPtrOutput

func (StreamingPolicyCommonEncryptionCencEnabledProtocolsArgs) ToStreamingPolicyCommonEncryptionCencEnabledProtocolsPtrOutputWithContext

func (i StreamingPolicyCommonEncryptionCencEnabledProtocolsArgs) ToStreamingPolicyCommonEncryptionCencEnabledProtocolsPtrOutputWithContext(ctx context.Context) StreamingPolicyCommonEncryptionCencEnabledProtocolsPtrOutput

type StreamingPolicyCommonEncryptionCencEnabledProtocolsInput

type StreamingPolicyCommonEncryptionCencEnabledProtocolsInput interface {
	pulumi.Input

	ToStreamingPolicyCommonEncryptionCencEnabledProtocolsOutput() StreamingPolicyCommonEncryptionCencEnabledProtocolsOutput
	ToStreamingPolicyCommonEncryptionCencEnabledProtocolsOutputWithContext(context.Context) StreamingPolicyCommonEncryptionCencEnabledProtocolsOutput
}

StreamingPolicyCommonEncryptionCencEnabledProtocolsInput is an input type that accepts StreamingPolicyCommonEncryptionCencEnabledProtocolsArgs and StreamingPolicyCommonEncryptionCencEnabledProtocolsOutput values. You can construct a concrete instance of `StreamingPolicyCommonEncryptionCencEnabledProtocolsInput` via:

StreamingPolicyCommonEncryptionCencEnabledProtocolsArgs{...}

type StreamingPolicyCommonEncryptionCencEnabledProtocolsOutput

type StreamingPolicyCommonEncryptionCencEnabledProtocolsOutput struct{ *pulumi.OutputState }

func (StreamingPolicyCommonEncryptionCencEnabledProtocolsOutput) Dash

Enable DASH protocol or not. Changing this forces a new Streaming Policy to be created.

func (StreamingPolicyCommonEncryptionCencEnabledProtocolsOutput) Download

Enable Download protocol or not. Changing this forces a new Streaming Policy to be created.

func (StreamingPolicyCommonEncryptionCencEnabledProtocolsOutput) ElementType

func (StreamingPolicyCommonEncryptionCencEnabledProtocolsOutput) Hls

Enable HLS protocol or not. Changing this forces a new Streaming Policy to be created.

func (StreamingPolicyCommonEncryptionCencEnabledProtocolsOutput) SmoothStreaming

Enable SmoothStreaming protocol or not. Changing this forces a new Streaming Policy to be created.

func (StreamingPolicyCommonEncryptionCencEnabledProtocolsOutput) ToStreamingPolicyCommonEncryptionCencEnabledProtocolsOutput

func (StreamingPolicyCommonEncryptionCencEnabledProtocolsOutput) ToStreamingPolicyCommonEncryptionCencEnabledProtocolsOutputWithContext

func (o StreamingPolicyCommonEncryptionCencEnabledProtocolsOutput) ToStreamingPolicyCommonEncryptionCencEnabledProtocolsOutputWithContext(ctx context.Context) StreamingPolicyCommonEncryptionCencEnabledProtocolsOutput

func (StreamingPolicyCommonEncryptionCencEnabledProtocolsOutput) ToStreamingPolicyCommonEncryptionCencEnabledProtocolsPtrOutput

func (StreamingPolicyCommonEncryptionCencEnabledProtocolsOutput) ToStreamingPolicyCommonEncryptionCencEnabledProtocolsPtrOutputWithContext

func (o StreamingPolicyCommonEncryptionCencEnabledProtocolsOutput) ToStreamingPolicyCommonEncryptionCencEnabledProtocolsPtrOutputWithContext(ctx context.Context) StreamingPolicyCommonEncryptionCencEnabledProtocolsPtrOutput

type StreamingPolicyCommonEncryptionCencEnabledProtocolsPtrInput

type StreamingPolicyCommonEncryptionCencEnabledProtocolsPtrInput interface {
	pulumi.Input

	ToStreamingPolicyCommonEncryptionCencEnabledProtocolsPtrOutput() StreamingPolicyCommonEncryptionCencEnabledProtocolsPtrOutput
	ToStreamingPolicyCommonEncryptionCencEnabledProtocolsPtrOutputWithContext(context.Context) StreamingPolicyCommonEncryptionCencEnabledProtocolsPtrOutput
}

StreamingPolicyCommonEncryptionCencEnabledProtocolsPtrInput is an input type that accepts StreamingPolicyCommonEncryptionCencEnabledProtocolsArgs, StreamingPolicyCommonEncryptionCencEnabledProtocolsPtr and StreamingPolicyCommonEncryptionCencEnabledProtocolsPtrOutput values. You can construct a concrete instance of `StreamingPolicyCommonEncryptionCencEnabledProtocolsPtrInput` via:

        StreamingPolicyCommonEncryptionCencEnabledProtocolsArgs{...}

or:

        nil

type StreamingPolicyCommonEncryptionCencEnabledProtocolsPtrOutput

type StreamingPolicyCommonEncryptionCencEnabledProtocolsPtrOutput struct{ *pulumi.OutputState }

func (StreamingPolicyCommonEncryptionCencEnabledProtocolsPtrOutput) Dash

Enable DASH protocol or not. Changing this forces a new Streaming Policy to be created.

func (StreamingPolicyCommonEncryptionCencEnabledProtocolsPtrOutput) Download

Enable Download protocol or not. Changing this forces a new Streaming Policy to be created.

func (StreamingPolicyCommonEncryptionCencEnabledProtocolsPtrOutput) Elem

func (StreamingPolicyCommonEncryptionCencEnabledProtocolsPtrOutput) ElementType

func (StreamingPolicyCommonEncryptionCencEnabledProtocolsPtrOutput) Hls

Enable HLS protocol or not. Changing this forces a new Streaming Policy to be created.

func (StreamingPolicyCommonEncryptionCencEnabledProtocolsPtrOutput) SmoothStreaming

Enable SmoothStreaming protocol or not. Changing this forces a new Streaming Policy to be created.

func (StreamingPolicyCommonEncryptionCencEnabledProtocolsPtrOutput) ToStreamingPolicyCommonEncryptionCencEnabledProtocolsPtrOutput

func (StreamingPolicyCommonEncryptionCencEnabledProtocolsPtrOutput) ToStreamingPolicyCommonEncryptionCencEnabledProtocolsPtrOutputWithContext

func (o StreamingPolicyCommonEncryptionCencEnabledProtocolsPtrOutput) ToStreamingPolicyCommonEncryptionCencEnabledProtocolsPtrOutputWithContext(ctx context.Context) StreamingPolicyCommonEncryptionCencEnabledProtocolsPtrOutput

type StreamingPolicyCommonEncryptionCencInput

type StreamingPolicyCommonEncryptionCencInput interface {
	pulumi.Input

	ToStreamingPolicyCommonEncryptionCencOutput() StreamingPolicyCommonEncryptionCencOutput
	ToStreamingPolicyCommonEncryptionCencOutputWithContext(context.Context) StreamingPolicyCommonEncryptionCencOutput
}

StreamingPolicyCommonEncryptionCencInput is an input type that accepts StreamingPolicyCommonEncryptionCencArgs and StreamingPolicyCommonEncryptionCencOutput values. You can construct a concrete instance of `StreamingPolicyCommonEncryptionCencInput` via:

StreamingPolicyCommonEncryptionCencArgs{...}

type StreamingPolicyCommonEncryptionCencOutput

type StreamingPolicyCommonEncryptionCencOutput struct{ *pulumi.OutputState }

func (StreamingPolicyCommonEncryptionCencOutput) DefaultContentKey

A `defaultContentKey` block as defined below. Changing this forces a new Streaming Policy to be created.

func (StreamingPolicyCommonEncryptionCencOutput) DrmPlayready

A `drmPlayready` block as defined below. Changing this forces a new Streaming Policy to be created.

func (StreamingPolicyCommonEncryptionCencOutput) DrmWidevineCustomLicenseAcquisitionUrlTemplate

func (o StreamingPolicyCommonEncryptionCencOutput) DrmWidevineCustomLicenseAcquisitionUrlTemplate() pulumi.StringPtrOutput

Template for the URL of the custom service delivering licenses to end user players. Not required when using Azure Media Services for issuing licenses. The template supports replaceable tokens that the service will update at runtime with the value specific to the request. The currently supported token values are `{AlternativeMediaId}`, which is replaced with the value of `StreamingLocatorId.AlternativeMediaId`, and `{ContentKeyId}`, which is replaced with the value of identifier of the key being requested. Changing this forces a new Streaming Policy to be created.

func (StreamingPolicyCommonEncryptionCencOutput) ElementType

func (StreamingPolicyCommonEncryptionCencOutput) EnabledProtocols

A `enabledProtocols` block as defined below. Changing this forces a new Streaming Policy to be created.

func (StreamingPolicyCommonEncryptionCencOutput) ToStreamingPolicyCommonEncryptionCencOutput

func (o StreamingPolicyCommonEncryptionCencOutput) ToStreamingPolicyCommonEncryptionCencOutput() StreamingPolicyCommonEncryptionCencOutput

func (StreamingPolicyCommonEncryptionCencOutput) ToStreamingPolicyCommonEncryptionCencOutputWithContext

func (o StreamingPolicyCommonEncryptionCencOutput) ToStreamingPolicyCommonEncryptionCencOutputWithContext(ctx context.Context) StreamingPolicyCommonEncryptionCencOutput

func (StreamingPolicyCommonEncryptionCencOutput) ToStreamingPolicyCommonEncryptionCencPtrOutput

func (o StreamingPolicyCommonEncryptionCencOutput) ToStreamingPolicyCommonEncryptionCencPtrOutput() StreamingPolicyCommonEncryptionCencPtrOutput

func (StreamingPolicyCommonEncryptionCencOutput) ToStreamingPolicyCommonEncryptionCencPtrOutputWithContext

func (o StreamingPolicyCommonEncryptionCencOutput) ToStreamingPolicyCommonEncryptionCencPtrOutputWithContext(ctx context.Context) StreamingPolicyCommonEncryptionCencPtrOutput

type StreamingPolicyCommonEncryptionCencPtrInput

type StreamingPolicyCommonEncryptionCencPtrInput interface {
	pulumi.Input

	ToStreamingPolicyCommonEncryptionCencPtrOutput() StreamingPolicyCommonEncryptionCencPtrOutput
	ToStreamingPolicyCommonEncryptionCencPtrOutputWithContext(context.Context) StreamingPolicyCommonEncryptionCencPtrOutput
}

StreamingPolicyCommonEncryptionCencPtrInput is an input type that accepts StreamingPolicyCommonEncryptionCencArgs, StreamingPolicyCommonEncryptionCencPtr and StreamingPolicyCommonEncryptionCencPtrOutput values. You can construct a concrete instance of `StreamingPolicyCommonEncryptionCencPtrInput` via:

        StreamingPolicyCommonEncryptionCencArgs{...}

or:

        nil

type StreamingPolicyCommonEncryptionCencPtrOutput

type StreamingPolicyCommonEncryptionCencPtrOutput struct{ *pulumi.OutputState }

func (StreamingPolicyCommonEncryptionCencPtrOutput) DefaultContentKey

A `defaultContentKey` block as defined below. Changing this forces a new Streaming Policy to be created.

func (StreamingPolicyCommonEncryptionCencPtrOutput) DrmPlayready

A `drmPlayready` block as defined below. Changing this forces a new Streaming Policy to be created.

func (StreamingPolicyCommonEncryptionCencPtrOutput) DrmWidevineCustomLicenseAcquisitionUrlTemplate

func (o StreamingPolicyCommonEncryptionCencPtrOutput) DrmWidevineCustomLicenseAcquisitionUrlTemplate() pulumi.StringPtrOutput

Template for the URL of the custom service delivering licenses to end user players. Not required when using Azure Media Services for issuing licenses. The template supports replaceable tokens that the service will update at runtime with the value specific to the request. The currently supported token values are `{AlternativeMediaId}`, which is replaced with the value of `StreamingLocatorId.AlternativeMediaId`, and `{ContentKeyId}`, which is replaced with the value of identifier of the key being requested. Changing this forces a new Streaming Policy to be created.

func (StreamingPolicyCommonEncryptionCencPtrOutput) Elem

func (StreamingPolicyCommonEncryptionCencPtrOutput) ElementType

func (StreamingPolicyCommonEncryptionCencPtrOutput) EnabledProtocols

A `enabledProtocols` block as defined below. Changing this forces a new Streaming Policy to be created.

func (StreamingPolicyCommonEncryptionCencPtrOutput) ToStreamingPolicyCommonEncryptionCencPtrOutput

func (o StreamingPolicyCommonEncryptionCencPtrOutput) ToStreamingPolicyCommonEncryptionCencPtrOutput() StreamingPolicyCommonEncryptionCencPtrOutput

func (StreamingPolicyCommonEncryptionCencPtrOutput) ToStreamingPolicyCommonEncryptionCencPtrOutputWithContext

func (o StreamingPolicyCommonEncryptionCencPtrOutput) ToStreamingPolicyCommonEncryptionCencPtrOutputWithContext(ctx context.Context) StreamingPolicyCommonEncryptionCencPtrOutput

type StreamingPolicyInput

type StreamingPolicyInput interface {
	pulumi.Input

	ToStreamingPolicyOutput() StreamingPolicyOutput
	ToStreamingPolicyOutputWithContext(ctx context.Context) StreamingPolicyOutput
}

type StreamingPolicyMap

type StreamingPolicyMap map[string]StreamingPolicyInput

func (StreamingPolicyMap) ElementType

func (StreamingPolicyMap) ElementType() reflect.Type

func (StreamingPolicyMap) ToStreamingPolicyMapOutput

func (i StreamingPolicyMap) ToStreamingPolicyMapOutput() StreamingPolicyMapOutput

func (StreamingPolicyMap) ToStreamingPolicyMapOutputWithContext

func (i StreamingPolicyMap) ToStreamingPolicyMapOutputWithContext(ctx context.Context) StreamingPolicyMapOutput

type StreamingPolicyMapInput

type StreamingPolicyMapInput interface {
	pulumi.Input

	ToStreamingPolicyMapOutput() StreamingPolicyMapOutput
	ToStreamingPolicyMapOutputWithContext(context.Context) StreamingPolicyMapOutput
}

StreamingPolicyMapInput is an input type that accepts StreamingPolicyMap and StreamingPolicyMapOutput values. You can construct a concrete instance of `StreamingPolicyMapInput` via:

StreamingPolicyMap{ "key": StreamingPolicyArgs{...} }

type StreamingPolicyMapOutput

type StreamingPolicyMapOutput struct{ *pulumi.OutputState }

func (StreamingPolicyMapOutput) ElementType

func (StreamingPolicyMapOutput) ElementType() reflect.Type

func (StreamingPolicyMapOutput) MapIndex

func (StreamingPolicyMapOutput) ToStreamingPolicyMapOutput

func (o StreamingPolicyMapOutput) ToStreamingPolicyMapOutput() StreamingPolicyMapOutput

func (StreamingPolicyMapOutput) ToStreamingPolicyMapOutputWithContext

func (o StreamingPolicyMapOutput) ToStreamingPolicyMapOutputWithContext(ctx context.Context) StreamingPolicyMapOutput

type StreamingPolicyNoEncryptionEnabledProtocols

type StreamingPolicyNoEncryptionEnabledProtocols struct {
	// Enable DASH protocol or not. Changing this forces a new Streaming Policy to be created.
	Dash *bool `pulumi:"dash"`
	// Enable Download protocol or not. Changing this forces a new Streaming Policy to be created.
	Download *bool `pulumi:"download"`
	// Enable HLS protocol or not. Changing this forces a new Streaming Policy to be created.
	Hls *bool `pulumi:"hls"`
	// Enable SmoothStreaming protocol or not. Changing this forces a new Streaming Policy to be created.
	SmoothStreaming *bool `pulumi:"smoothStreaming"`
}

type StreamingPolicyNoEncryptionEnabledProtocolsArgs

type StreamingPolicyNoEncryptionEnabledProtocolsArgs struct {
	// Enable DASH protocol or not. Changing this forces a new Streaming Policy to be created.
	Dash pulumi.BoolPtrInput `pulumi:"dash"`
	// Enable Download protocol or not. Changing this forces a new Streaming Policy to be created.
	Download pulumi.BoolPtrInput `pulumi:"download"`
	// Enable HLS protocol or not. Changing this forces a new Streaming Policy to be created.
	Hls pulumi.BoolPtrInput `pulumi:"hls"`
	// Enable SmoothStreaming protocol or not. Changing this forces a new Streaming Policy to be created.
	SmoothStreaming pulumi.BoolPtrInput `pulumi:"smoothStreaming"`
}

func (StreamingPolicyNoEncryptionEnabledProtocolsArgs) ElementType

func (StreamingPolicyNoEncryptionEnabledProtocolsArgs) ToStreamingPolicyNoEncryptionEnabledProtocolsOutput

func (i StreamingPolicyNoEncryptionEnabledProtocolsArgs) ToStreamingPolicyNoEncryptionEnabledProtocolsOutput() StreamingPolicyNoEncryptionEnabledProtocolsOutput

func (StreamingPolicyNoEncryptionEnabledProtocolsArgs) ToStreamingPolicyNoEncryptionEnabledProtocolsOutputWithContext

func (i StreamingPolicyNoEncryptionEnabledProtocolsArgs) ToStreamingPolicyNoEncryptionEnabledProtocolsOutputWithContext(ctx context.Context) StreamingPolicyNoEncryptionEnabledProtocolsOutput

func (StreamingPolicyNoEncryptionEnabledProtocolsArgs) ToStreamingPolicyNoEncryptionEnabledProtocolsPtrOutput

func (i StreamingPolicyNoEncryptionEnabledProtocolsArgs) ToStreamingPolicyNoEncryptionEnabledProtocolsPtrOutput() StreamingPolicyNoEncryptionEnabledProtocolsPtrOutput

func (StreamingPolicyNoEncryptionEnabledProtocolsArgs) ToStreamingPolicyNoEncryptionEnabledProtocolsPtrOutputWithContext

func (i StreamingPolicyNoEncryptionEnabledProtocolsArgs) ToStreamingPolicyNoEncryptionEnabledProtocolsPtrOutputWithContext(ctx context.Context) StreamingPolicyNoEncryptionEnabledProtocolsPtrOutput

type StreamingPolicyNoEncryptionEnabledProtocolsInput

type StreamingPolicyNoEncryptionEnabledProtocolsInput interface {
	pulumi.Input

	ToStreamingPolicyNoEncryptionEnabledProtocolsOutput() StreamingPolicyNoEncryptionEnabledProtocolsOutput
	ToStreamingPolicyNoEncryptionEnabledProtocolsOutputWithContext(context.Context) StreamingPolicyNoEncryptionEnabledProtocolsOutput
}

StreamingPolicyNoEncryptionEnabledProtocolsInput is an input type that accepts StreamingPolicyNoEncryptionEnabledProtocolsArgs and StreamingPolicyNoEncryptionEnabledProtocolsOutput values. You can construct a concrete instance of `StreamingPolicyNoEncryptionEnabledProtocolsInput` via:

StreamingPolicyNoEncryptionEnabledProtocolsArgs{...}

type StreamingPolicyNoEncryptionEnabledProtocolsOutput

type StreamingPolicyNoEncryptionEnabledProtocolsOutput struct{ *pulumi.OutputState }

func (StreamingPolicyNoEncryptionEnabledProtocolsOutput) Dash

Enable DASH protocol or not. Changing this forces a new Streaming Policy to be created.

func (StreamingPolicyNoEncryptionEnabledProtocolsOutput) Download

Enable Download protocol or not. Changing this forces a new Streaming Policy to be created.

func (StreamingPolicyNoEncryptionEnabledProtocolsOutput) ElementType

func (StreamingPolicyNoEncryptionEnabledProtocolsOutput) Hls

Enable HLS protocol or not. Changing this forces a new Streaming Policy to be created.

func (StreamingPolicyNoEncryptionEnabledProtocolsOutput) SmoothStreaming

Enable SmoothStreaming protocol or not. Changing this forces a new Streaming Policy to be created.

func (StreamingPolicyNoEncryptionEnabledProtocolsOutput) ToStreamingPolicyNoEncryptionEnabledProtocolsOutput

func (o StreamingPolicyNoEncryptionEnabledProtocolsOutput) ToStreamingPolicyNoEncryptionEnabledProtocolsOutput() StreamingPolicyNoEncryptionEnabledProtocolsOutput

func (StreamingPolicyNoEncryptionEnabledProtocolsOutput) ToStreamingPolicyNoEncryptionEnabledProtocolsOutputWithContext

func (o StreamingPolicyNoEncryptionEnabledProtocolsOutput) ToStreamingPolicyNoEncryptionEnabledProtocolsOutputWithContext(ctx context.Context) StreamingPolicyNoEncryptionEnabledProtocolsOutput

func (StreamingPolicyNoEncryptionEnabledProtocolsOutput) ToStreamingPolicyNoEncryptionEnabledProtocolsPtrOutput

func (o StreamingPolicyNoEncryptionEnabledProtocolsOutput) ToStreamingPolicyNoEncryptionEnabledProtocolsPtrOutput() StreamingPolicyNoEncryptionEnabledProtocolsPtrOutput

func (StreamingPolicyNoEncryptionEnabledProtocolsOutput) ToStreamingPolicyNoEncryptionEnabledProtocolsPtrOutputWithContext

func (o StreamingPolicyNoEncryptionEnabledProtocolsOutput) ToStreamingPolicyNoEncryptionEnabledProtocolsPtrOutputWithContext(ctx context.Context) StreamingPolicyNoEncryptionEnabledProtocolsPtrOutput

type StreamingPolicyNoEncryptionEnabledProtocolsPtrInput

type StreamingPolicyNoEncryptionEnabledProtocolsPtrInput interface {
	pulumi.Input

	ToStreamingPolicyNoEncryptionEnabledProtocolsPtrOutput() StreamingPolicyNoEncryptionEnabledProtocolsPtrOutput
	ToStreamingPolicyNoEncryptionEnabledProtocolsPtrOutputWithContext(context.Context) StreamingPolicyNoEncryptionEnabledProtocolsPtrOutput
}

StreamingPolicyNoEncryptionEnabledProtocolsPtrInput is an input type that accepts StreamingPolicyNoEncryptionEnabledProtocolsArgs, StreamingPolicyNoEncryptionEnabledProtocolsPtr and StreamingPolicyNoEncryptionEnabledProtocolsPtrOutput values. You can construct a concrete instance of `StreamingPolicyNoEncryptionEnabledProtocolsPtrInput` via:

        StreamingPolicyNoEncryptionEnabledProtocolsArgs{...}

or:

        nil

type StreamingPolicyNoEncryptionEnabledProtocolsPtrOutput

type StreamingPolicyNoEncryptionEnabledProtocolsPtrOutput struct{ *pulumi.OutputState }

func (StreamingPolicyNoEncryptionEnabledProtocolsPtrOutput) Dash

Enable DASH protocol or not. Changing this forces a new Streaming Policy to be created.

func (StreamingPolicyNoEncryptionEnabledProtocolsPtrOutput) Download

Enable Download protocol or not. Changing this forces a new Streaming Policy to be created.

func (StreamingPolicyNoEncryptionEnabledProtocolsPtrOutput) Elem

func (StreamingPolicyNoEncryptionEnabledProtocolsPtrOutput) ElementType

func (StreamingPolicyNoEncryptionEnabledProtocolsPtrOutput) Hls

Enable HLS protocol or not. Changing this forces a new Streaming Policy to be created.

func (StreamingPolicyNoEncryptionEnabledProtocolsPtrOutput) SmoothStreaming

Enable SmoothStreaming protocol or not. Changing this forces a new Streaming Policy to be created.

func (StreamingPolicyNoEncryptionEnabledProtocolsPtrOutput) ToStreamingPolicyNoEncryptionEnabledProtocolsPtrOutput

func (StreamingPolicyNoEncryptionEnabledProtocolsPtrOutput) ToStreamingPolicyNoEncryptionEnabledProtocolsPtrOutputWithContext

func (o StreamingPolicyNoEncryptionEnabledProtocolsPtrOutput) ToStreamingPolicyNoEncryptionEnabledProtocolsPtrOutputWithContext(ctx context.Context) StreamingPolicyNoEncryptionEnabledProtocolsPtrOutput

type StreamingPolicyOutput

type StreamingPolicyOutput struct{ *pulumi.OutputState }

func (StreamingPolicyOutput) CommonEncryptionCbcs added in v5.5.0

A `commonEncryptionCbcs` block as defined below. Changing this forces a new Streaming Policy to be created.

func (StreamingPolicyOutput) CommonEncryptionCenc added in v5.5.0

A `commonEncryptionCenc` block as defined below. Changing this forces a new Streaming Policy to be created.

func (StreamingPolicyOutput) DefaultContentKeyPolicyName added in v5.5.0

func (o StreamingPolicyOutput) DefaultContentKeyPolicyName() pulumi.StringPtrOutput

Default Content Key used by current Streaming Policy. Changing this forces a new Streaming Policy to be created.

func (StreamingPolicyOutput) ElementType

func (StreamingPolicyOutput) ElementType() reflect.Type

func (StreamingPolicyOutput) MediaServicesAccountName added in v5.5.0

func (o StreamingPolicyOutput) MediaServicesAccountName() pulumi.StringOutput

The Media Services account name. Changing this forces a new Streaming Policy to be created.

func (StreamingPolicyOutput) Name added in v5.5.0

The name which should be used for this Streaming Policy. Changing this forces a new Streaming Policy to be created.

func (StreamingPolicyOutput) NoEncryptionEnabledProtocols added in v5.5.0

A `noEncryptionEnabledProtocols` block as defined below. Changing this forces a new Streaming Policy to be created.

func (StreamingPolicyOutput) ResourceGroupName added in v5.5.0

func (o StreamingPolicyOutput) ResourceGroupName() pulumi.StringOutput

The name of the Resource Group where the Streaming Policy should exist. Changing this forces a new Streaming Policy to be created.

func (StreamingPolicyOutput) ToStreamingPolicyOutput

func (o StreamingPolicyOutput) ToStreamingPolicyOutput() StreamingPolicyOutput

func (StreamingPolicyOutput) ToStreamingPolicyOutputWithContext

func (o StreamingPolicyOutput) ToStreamingPolicyOutputWithContext(ctx context.Context) StreamingPolicyOutput

type StreamingPolicyState

type StreamingPolicyState struct {
	// A `commonEncryptionCbcs` block as defined below. Changing this forces a new Streaming Policy to be created.
	CommonEncryptionCbcs StreamingPolicyCommonEncryptionCbcsPtrInput
	// A `commonEncryptionCenc` block as defined below. Changing this forces a new Streaming Policy to be created.
	CommonEncryptionCenc StreamingPolicyCommonEncryptionCencPtrInput
	// Default Content Key used by current Streaming Policy. Changing this forces a new Streaming Policy to be created.
	DefaultContentKeyPolicyName pulumi.StringPtrInput
	// The Media Services account name. Changing this forces a new Streaming Policy to be created.
	MediaServicesAccountName pulumi.StringPtrInput
	// The name which should be used for this Streaming Policy. Changing this forces a new Streaming Policy to be created.
	Name pulumi.StringPtrInput
	// A `noEncryptionEnabledProtocols` block as defined below. Changing this forces a new Streaming Policy to be created.
	NoEncryptionEnabledProtocols StreamingPolicyNoEncryptionEnabledProtocolsPtrInput
	// The name of the Resource Group where the Streaming Policy should exist. Changing this forces a new Streaming Policy to be created.
	ResourceGroupName pulumi.StringPtrInput
}

func (StreamingPolicyState) ElementType

func (StreamingPolicyState) ElementType() reflect.Type

type Transform

type Transform struct {
	pulumi.CustomResourceState

	// An optional verbose description of the Transform.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// The Media Services account name. Changing this forces a new Transform to be created.
	MediaServicesAccountName pulumi.StringOutput `pulumi:"mediaServicesAccountName"`
	// The name which should be used for this Transform. Changing this forces a new Transform to be created.
	Name pulumi.StringOutput `pulumi:"name"`
	// One or more `output` blocks as defined below. At least one `output` must be defined.
	Outputs TransformOutputTypeArrayOutput `pulumi:"outputs"`
	// The name of the Resource Group where the Transform should exist. Changing this forces a new Transform to be created.
	ResourceGroupName pulumi.StringOutput `pulumi:"resourceGroupName"`
}

Manages a Transform.

## Example Usage

```go 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 {
		exampleResourceGroup, err := core.NewResourceGroup(ctx, "exampleResourceGroup", &core.ResourceGroupArgs{
			Location: pulumi.String("West Europe"),
		})
		if err != nil {
			return err
		}
		exampleAccount, err := storage.NewAccount(ctx, "exampleAccount", &storage.AccountArgs{
			ResourceGroupName:      exampleResourceGroup.Name,
			Location:               exampleResourceGroup.Location,
			AccountTier:            pulumi.String("Standard"),
			AccountReplicationType: pulumi.String("GRS"),
		})
		if err != nil {
			return err
		}
		exampleServiceAccount, err := media.NewServiceAccount(ctx, "exampleServiceAccount", &media.ServiceAccountArgs{
			Location:          exampleResourceGroup.Location,
			ResourceGroupName: exampleResourceGroup.Name,
			StorageAccounts: media.ServiceAccountStorageAccountArray{
				&media.ServiceAccountStorageAccountArgs{
					Id:        exampleAccount.ID(),
					IsPrimary: pulumi.Bool(true),
				},
			},
		})
		if err != nil {
			return err
		}
		_, err = media.NewTransform(ctx, "exampleTransform", &media.TransformArgs{
			ResourceGroupName:        exampleResourceGroup.Name,
			MediaServicesAccountName: exampleServiceAccount.Name,
			Description:              pulumi.String("My transform description"),
			Outputs: media.TransformOutputTypeArray{
				&media.TransformOutputTypeArgs{
					RelativePriority: pulumi.String("Normal"),
					OnErrorAction:    pulumi.String("ContinueJob"),
					BuiltinPreset: &media.TransformOutputBuiltinPresetArgs{
						PresetName: pulumi.String("AACGoodQualityAudio"),
					},
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` ### With Multiple Outputs

```go 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 {
		exampleResourceGroup, err := core.NewResourceGroup(ctx, "exampleResourceGroup", &core.ResourceGroupArgs{
			Location: pulumi.String("West Europe"),
		})
		if err != nil {
			return err
		}
		exampleAccount, err := storage.NewAccount(ctx, "exampleAccount", &storage.AccountArgs{
			ResourceGroupName:      exampleResourceGroup.Name,
			Location:               exampleResourceGroup.Location,
			AccountTier:            pulumi.String("Standard"),
			AccountReplicationType: pulumi.String("GRS"),
		})
		if err != nil {
			return err
		}
		exampleServiceAccount, err := media.NewServiceAccount(ctx, "exampleServiceAccount", &media.ServiceAccountArgs{
			Location:          exampleResourceGroup.Location,
			ResourceGroupName: exampleResourceGroup.Name,
			StorageAccounts: media.ServiceAccountStorageAccountArray{
				&media.ServiceAccountStorageAccountArgs{
					Id:        exampleAccount.ID(),
					IsPrimary: pulumi.Bool(true),
				},
			},
		})
		if err != nil {
			return err
		}
		_, err = media.NewTransform(ctx, "exampleTransform", &media.TransformArgs{
			ResourceGroupName:        exampleResourceGroup.Name,
			MediaServicesAccountName: exampleServiceAccount.Name,
			Description:              pulumi.String("My transform description"),
			Outputs: media.TransformOutputTypeArray{
				&media.TransformOutputTypeArgs{
					RelativePriority: pulumi.String("Normal"),
					OnErrorAction:    pulumi.String("ContinueJob"),
					BuiltinPreset: &media.TransformOutputBuiltinPresetArgs{
						PresetName: pulumi.String("AACGoodQualityAudio"),
					},
				},
				&media.TransformOutputTypeArgs{
					RelativePriority: pulumi.String("Low"),
					OnErrorAction:    pulumi.String("ContinueJob"),
					AudioAnalyzerPreset: &media.TransformOutputAudioAnalyzerPresetArgs{
						AudioLanguage:     pulumi.String("en-US"),
						AudioAnalysisMode: pulumi.String("Basic"),
					},
				},
				&media.TransformOutputTypeArgs{
					RelativePriority: pulumi.String("Low"),
					OnErrorAction:    pulumi.String("StopProcessingJob"),
					FaceDetectorPreset: &media.TransformOutputFaceDetectorPresetArgs{
						AnalysisResolution: pulumi.String("StandardDefinition"),
					},
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Transforms can be imported using the `resource id`, e.g.

```sh

$ pulumi import azure:media/transform:Transform example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.Media/mediaservices/media1/transforms/transform1

```

func GetTransform

func GetTransform(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *TransformState, opts ...pulumi.ResourceOption) (*Transform, error)

GetTransform gets an existing Transform resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewTransform

func NewTransform(ctx *pulumi.Context,
	name string, args *TransformArgs, opts ...pulumi.ResourceOption) (*Transform, error)

NewTransform registers a new resource with the given unique name, arguments, and options.

func (*Transform) ElementType

func (*Transform) ElementType() reflect.Type

func (*Transform) ToTransformOutput

func (i *Transform) ToTransformOutput() TransformOutput

func (*Transform) ToTransformOutputWithContext

func (i *Transform) ToTransformOutputWithContext(ctx context.Context) TransformOutput

type TransformArgs

type TransformArgs struct {
	// An optional verbose description of the Transform.
	Description pulumi.StringPtrInput
	// The Media Services account name. Changing this forces a new Transform to be created.
	MediaServicesAccountName pulumi.StringInput
	// The name which should be used for this Transform. Changing this forces a new Transform to be created.
	Name pulumi.StringPtrInput
	// One or more `output` blocks as defined below. At least one `output` must be defined.
	Outputs TransformOutputTypeArrayInput
	// The name of the Resource Group where the Transform should exist. Changing this forces a new Transform to be created.
	ResourceGroupName pulumi.StringInput
}

The set of arguments for constructing a Transform resource.

func (TransformArgs) ElementType

func (TransformArgs) ElementType() reflect.Type

type TransformArray

type TransformArray []TransformInput

func (TransformArray) ElementType

func (TransformArray) ElementType() reflect.Type

func (TransformArray) ToTransformArrayOutput

func (i TransformArray) ToTransformArrayOutput() TransformArrayOutput

func (TransformArray) ToTransformArrayOutputWithContext

func (i TransformArray) ToTransformArrayOutputWithContext(ctx context.Context) TransformArrayOutput

type TransformArrayInput

type TransformArrayInput interface {
	pulumi.Input

	ToTransformArrayOutput() TransformArrayOutput
	ToTransformArrayOutputWithContext(context.Context) TransformArrayOutput
}

TransformArrayInput is an input type that accepts TransformArray and TransformArrayOutput values. You can construct a concrete instance of `TransformArrayInput` via:

TransformArray{ TransformArgs{...} }

type TransformArrayOutput

type TransformArrayOutput struct{ *pulumi.OutputState }

func (TransformArrayOutput) ElementType

func (TransformArrayOutput) ElementType() reflect.Type

func (TransformArrayOutput) Index

func (TransformArrayOutput) ToTransformArrayOutput

func (o TransformArrayOutput) ToTransformArrayOutput() TransformArrayOutput

func (TransformArrayOutput) ToTransformArrayOutputWithContext

func (o TransformArrayOutput) ToTransformArrayOutputWithContext(ctx context.Context) TransformArrayOutput

type TransformInput

type TransformInput interface {
	pulumi.Input

	ToTransformOutput() TransformOutput
	ToTransformOutputWithContext(ctx context.Context) TransformOutput
}

type TransformMap

type TransformMap map[string]TransformInput

func (TransformMap) ElementType

func (TransformMap) ElementType() reflect.Type

func (TransformMap) ToTransformMapOutput

func (i TransformMap) ToTransformMapOutput() TransformMapOutput

func (TransformMap) ToTransformMapOutputWithContext

func (i TransformMap) ToTransformMapOutputWithContext(ctx context.Context) TransformMapOutput

type TransformMapInput

type TransformMapInput interface {
	pulumi.Input

	ToTransformMapOutput() TransformMapOutput
	ToTransformMapOutputWithContext(context.Context) TransformMapOutput
}

TransformMapInput is an input type that accepts TransformMap and TransformMapOutput values. You can construct a concrete instance of `TransformMapInput` via:

TransformMap{ "key": TransformArgs{...} }

type TransformMapOutput

type TransformMapOutput struct{ *pulumi.OutputState }

func (TransformMapOutput) ElementType

func (TransformMapOutput) ElementType() reflect.Type

func (TransformMapOutput) MapIndex

func (TransformMapOutput) ToTransformMapOutput

func (o TransformMapOutput) ToTransformMapOutput() TransformMapOutput

func (TransformMapOutput) ToTransformMapOutputWithContext

func (o TransformMapOutput) ToTransformMapOutputWithContext(ctx context.Context) TransformMapOutput

type TransformOutput

type TransformOutput struct{ *pulumi.OutputState }

func (TransformOutput) Description added in v5.5.0

func (o TransformOutput) Description() pulumi.StringPtrOutput

An optional verbose description of the Transform.

func (TransformOutput) ElementType

func (TransformOutput) ElementType() reflect.Type

func (TransformOutput) MediaServicesAccountName added in v5.5.0

func (o TransformOutput) MediaServicesAccountName() pulumi.StringOutput

The Media Services account name. Changing this forces a new Transform to be created.

func (TransformOutput) Name added in v5.5.0

The name which should be used for this Transform. Changing this forces a new Transform to be created.

func (TransformOutput) Outputs added in v5.5.0

One or more `output` blocks as defined below. At least one `output` must be defined.

func (TransformOutput) ResourceGroupName added in v5.5.0

func (o TransformOutput) ResourceGroupName() pulumi.StringOutput

The name of the Resource Group where the Transform should exist. Changing this forces a new Transform to be created.

func (TransformOutput) ToTransformOutput

func (o TransformOutput) ToTransformOutput() TransformOutput

func (TransformOutput) ToTransformOutputWithContext

func (o TransformOutput) ToTransformOutputWithContext(ctx context.Context) TransformOutput

type TransformOutputAudioAnalyzerPreset

type TransformOutputAudioAnalyzerPreset struct {
	// Possibles value are `Basic` or `Standard`. Determines the set of audio analysis operations to be performed.
	AudioAnalysisMode *string `pulumi:"audioAnalysisMode"`
	// The language for the audio payload in the input using the BCP-47 format of 'language tag-region' (e.g: 'en-US'). If you know the language of your content, it is recommended that you specify it. The language must be specified explicitly for AudioAnalysisMode:Basic, since automatic language detection is not included in basic mode. If the language isn't specified, automatic language detection will choose the first language detected and process with the selected language for the duration of the file. It does not currently support dynamically switching between languages after the first language is detected. The automatic detection works best with audio recordings with clearly discernible speech. If automatic detection fails to find the language, transcription would fallback to 'en-US'." The list of supported languages is available here: <https://go.microsoft.com/fwlink/?linkid=2109463>.
	AudioLanguage *string `pulumi:"audioLanguage"`
}

type TransformOutputAudioAnalyzerPresetArgs

type TransformOutputAudioAnalyzerPresetArgs struct {
	// Possibles value are `Basic` or `Standard`. Determines the set of audio analysis operations to be performed.
	AudioAnalysisMode pulumi.StringPtrInput `pulumi:"audioAnalysisMode"`
	// The language for the audio payload in the input using the BCP-47 format of 'language tag-region' (e.g: 'en-US'). If you know the language of your content, it is recommended that you specify it. The language must be specified explicitly for AudioAnalysisMode:Basic, since automatic language detection is not included in basic mode. If the language isn't specified, automatic language detection will choose the first language detected and process with the selected language for the duration of the file. It does not currently support dynamically switching between languages after the first language is detected. The automatic detection works best with audio recordings with clearly discernible speech. If automatic detection fails to find the language, transcription would fallback to 'en-US'." The list of supported languages is available here: <https://go.microsoft.com/fwlink/?linkid=2109463>.
	AudioLanguage pulumi.StringPtrInput `pulumi:"audioLanguage"`
}

func (TransformOutputAudioAnalyzerPresetArgs) ElementType

func (TransformOutputAudioAnalyzerPresetArgs) ToTransformOutputAudioAnalyzerPresetOutput

func (i TransformOutputAudioAnalyzerPresetArgs) ToTransformOutputAudioAnalyzerPresetOutput() TransformOutputAudioAnalyzerPresetOutput

func (TransformOutputAudioAnalyzerPresetArgs) ToTransformOutputAudioAnalyzerPresetOutputWithContext

func (i TransformOutputAudioAnalyzerPresetArgs) ToTransformOutputAudioAnalyzerPresetOutputWithContext(ctx context.Context) TransformOutputAudioAnalyzerPresetOutput

func (TransformOutputAudioAnalyzerPresetArgs) ToTransformOutputAudioAnalyzerPresetPtrOutput

func (i TransformOutputAudioAnalyzerPresetArgs) ToTransformOutputAudioAnalyzerPresetPtrOutput() TransformOutputAudioAnalyzerPresetPtrOutput

func (TransformOutputAudioAnalyzerPresetArgs) ToTransformOutputAudioAnalyzerPresetPtrOutputWithContext

func (i TransformOutputAudioAnalyzerPresetArgs) ToTransformOutputAudioAnalyzerPresetPtrOutputWithContext(ctx context.Context) TransformOutputAudioAnalyzerPresetPtrOutput

type TransformOutputAudioAnalyzerPresetInput

type TransformOutputAudioAnalyzerPresetInput interface {
	pulumi.Input

	ToTransformOutputAudioAnalyzerPresetOutput() TransformOutputAudioAnalyzerPresetOutput
	ToTransformOutputAudioAnalyzerPresetOutputWithContext(context.Context) TransformOutputAudioAnalyzerPresetOutput
}

TransformOutputAudioAnalyzerPresetInput is an input type that accepts TransformOutputAudioAnalyzerPresetArgs and TransformOutputAudioAnalyzerPresetOutput values. You can construct a concrete instance of `TransformOutputAudioAnalyzerPresetInput` via:

TransformOutputAudioAnalyzerPresetArgs{...}

type TransformOutputAudioAnalyzerPresetOutput

type TransformOutputAudioAnalyzerPresetOutput struct{ *pulumi.OutputState }

func (TransformOutputAudioAnalyzerPresetOutput) AudioAnalysisMode

Possibles value are `Basic` or `Standard`. Determines the set of audio analysis operations to be performed.

func (TransformOutputAudioAnalyzerPresetOutput) AudioLanguage

The language for the audio payload in the input using the BCP-47 format of 'language tag-region' (e.g: 'en-US'). If you know the language of your content, it is recommended that you specify it. The language must be specified explicitly for AudioAnalysisMode:Basic, since automatic language detection is not included in basic mode. If the language isn't specified, automatic language detection will choose the first language detected and process with the selected language for the duration of the file. It does not currently support dynamically switching between languages after the first language is detected. The automatic detection works best with audio recordings with clearly discernible speech. If automatic detection fails to find the language, transcription would fallback to 'en-US'." The list of supported languages is available here: <https://go.microsoft.com/fwlink/?linkid=2109463>.

func (TransformOutputAudioAnalyzerPresetOutput) ElementType

func (TransformOutputAudioAnalyzerPresetOutput) ToTransformOutputAudioAnalyzerPresetOutput

func (o TransformOutputAudioAnalyzerPresetOutput) ToTransformOutputAudioAnalyzerPresetOutput() TransformOutputAudioAnalyzerPresetOutput

func (TransformOutputAudioAnalyzerPresetOutput) ToTransformOutputAudioAnalyzerPresetOutputWithContext

func (o TransformOutputAudioAnalyzerPresetOutput) ToTransformOutputAudioAnalyzerPresetOutputWithContext(ctx context.Context) TransformOutputAudioAnalyzerPresetOutput

func (TransformOutputAudioAnalyzerPresetOutput) ToTransformOutputAudioAnalyzerPresetPtrOutput

func (o TransformOutputAudioAnalyzerPresetOutput) ToTransformOutputAudioAnalyzerPresetPtrOutput() TransformOutputAudioAnalyzerPresetPtrOutput

func (TransformOutputAudioAnalyzerPresetOutput) ToTransformOutputAudioAnalyzerPresetPtrOutputWithContext

func (o TransformOutputAudioAnalyzerPresetOutput) ToTransformOutputAudioAnalyzerPresetPtrOutputWithContext(ctx context.Context) TransformOutputAudioAnalyzerPresetPtrOutput

type TransformOutputAudioAnalyzerPresetPtrInput

type TransformOutputAudioAnalyzerPresetPtrInput interface {
	pulumi.Input

	ToTransformOutputAudioAnalyzerPresetPtrOutput() TransformOutputAudioAnalyzerPresetPtrOutput
	ToTransformOutputAudioAnalyzerPresetPtrOutputWithContext(context.Context) TransformOutputAudioAnalyzerPresetPtrOutput
}

TransformOutputAudioAnalyzerPresetPtrInput is an input type that accepts TransformOutputAudioAnalyzerPresetArgs, TransformOutputAudioAnalyzerPresetPtr and TransformOutputAudioAnalyzerPresetPtrOutput values. You can construct a concrete instance of `TransformOutputAudioAnalyzerPresetPtrInput` via:

        TransformOutputAudioAnalyzerPresetArgs{...}

or:

        nil

type TransformOutputAudioAnalyzerPresetPtrOutput

type TransformOutputAudioAnalyzerPresetPtrOutput struct{ *pulumi.OutputState }

func (TransformOutputAudioAnalyzerPresetPtrOutput) AudioAnalysisMode

Possibles value are `Basic` or `Standard`. Determines the set of audio analysis operations to be performed.

func (TransformOutputAudioAnalyzerPresetPtrOutput) AudioLanguage

The language for the audio payload in the input using the BCP-47 format of 'language tag-region' (e.g: 'en-US'). If you know the language of your content, it is recommended that you specify it. The language must be specified explicitly for AudioAnalysisMode:Basic, since automatic language detection is not included in basic mode. If the language isn't specified, automatic language detection will choose the first language detected and process with the selected language for the duration of the file. It does not currently support dynamically switching between languages after the first language is detected. The automatic detection works best with audio recordings with clearly discernible speech. If automatic detection fails to find the language, transcription would fallback to 'en-US'." The list of supported languages is available here: <https://go.microsoft.com/fwlink/?linkid=2109463>.

func (TransformOutputAudioAnalyzerPresetPtrOutput) Elem

func (TransformOutputAudioAnalyzerPresetPtrOutput) ElementType

func (TransformOutputAudioAnalyzerPresetPtrOutput) ToTransformOutputAudioAnalyzerPresetPtrOutput

func (o TransformOutputAudioAnalyzerPresetPtrOutput) ToTransformOutputAudioAnalyzerPresetPtrOutput() TransformOutputAudioAnalyzerPresetPtrOutput

func (TransformOutputAudioAnalyzerPresetPtrOutput) ToTransformOutputAudioAnalyzerPresetPtrOutputWithContext

func (o TransformOutputAudioAnalyzerPresetPtrOutput) ToTransformOutputAudioAnalyzerPresetPtrOutputWithContext(ctx context.Context) TransformOutputAudioAnalyzerPresetPtrOutput

type TransformOutputBuiltinPreset

type TransformOutputBuiltinPreset struct {
	// The built-in preset to be used for encoding videos. The allowed values are `AACGoodQualityAudio`, `AdaptiveStreaming`,`ContentAwareEncoding`, `ContentAwareEncodingExperimental`,`CopyAllBitrateNonInterleaved`, `H264MultipleBitrate1080p`,`H264MultipleBitrate720p`, `H264MultipleBitrateSD`,`H264SingleBitrate1080p`, `H264SingleBitrate720p` and `H264SingleBitrateSD`.
	PresetName *string `pulumi:"presetName"`
}

type TransformOutputBuiltinPresetArgs

type TransformOutputBuiltinPresetArgs struct {
	// The built-in preset to be used for encoding videos. The allowed values are `AACGoodQualityAudio`, `AdaptiveStreaming`,`ContentAwareEncoding`, `ContentAwareEncodingExperimental`,`CopyAllBitrateNonInterleaved`, `H264MultipleBitrate1080p`,`H264MultipleBitrate720p`, `H264MultipleBitrateSD`,`H264SingleBitrate1080p`, `H264SingleBitrate720p` and `H264SingleBitrateSD`.
	PresetName pulumi.StringPtrInput `pulumi:"presetName"`
}

func (TransformOutputBuiltinPresetArgs) ElementType

func (TransformOutputBuiltinPresetArgs) ToTransformOutputBuiltinPresetOutput

func (i TransformOutputBuiltinPresetArgs) ToTransformOutputBuiltinPresetOutput() TransformOutputBuiltinPresetOutput

func (TransformOutputBuiltinPresetArgs) ToTransformOutputBuiltinPresetOutputWithContext

func (i TransformOutputBuiltinPresetArgs) ToTransformOutputBuiltinPresetOutputWithContext(ctx context.Context) TransformOutputBuiltinPresetOutput

func (TransformOutputBuiltinPresetArgs) ToTransformOutputBuiltinPresetPtrOutput

func (i TransformOutputBuiltinPresetArgs) ToTransformOutputBuiltinPresetPtrOutput() TransformOutputBuiltinPresetPtrOutput

func (TransformOutputBuiltinPresetArgs) ToTransformOutputBuiltinPresetPtrOutputWithContext

func (i TransformOutputBuiltinPresetArgs) ToTransformOutputBuiltinPresetPtrOutputWithContext(ctx context.Context) TransformOutputBuiltinPresetPtrOutput

type TransformOutputBuiltinPresetInput

type TransformOutputBuiltinPresetInput interface {
	pulumi.Input

	ToTransformOutputBuiltinPresetOutput() TransformOutputBuiltinPresetOutput
	ToTransformOutputBuiltinPresetOutputWithContext(context.Context) TransformOutputBuiltinPresetOutput
}

TransformOutputBuiltinPresetInput is an input type that accepts TransformOutputBuiltinPresetArgs and TransformOutputBuiltinPresetOutput values. You can construct a concrete instance of `TransformOutputBuiltinPresetInput` via:

TransformOutputBuiltinPresetArgs{...}

type TransformOutputBuiltinPresetOutput

type TransformOutputBuiltinPresetOutput struct{ *pulumi.OutputState }

func (TransformOutputBuiltinPresetOutput) ElementType

func (TransformOutputBuiltinPresetOutput) PresetName

The built-in preset to be used for encoding videos. The allowed values are `AACGoodQualityAudio`, `AdaptiveStreaming`,`ContentAwareEncoding`, `ContentAwareEncodingExperimental`,`CopyAllBitrateNonInterleaved`, `H264MultipleBitrate1080p`,`H264MultipleBitrate720p`, `H264MultipleBitrateSD`,`H264SingleBitrate1080p`, `H264SingleBitrate720p` and `H264SingleBitrateSD`.

func (TransformOutputBuiltinPresetOutput) ToTransformOutputBuiltinPresetOutput

func (o TransformOutputBuiltinPresetOutput) ToTransformOutputBuiltinPresetOutput() TransformOutputBuiltinPresetOutput

func (TransformOutputBuiltinPresetOutput) ToTransformOutputBuiltinPresetOutputWithContext

func (o TransformOutputBuiltinPresetOutput) ToTransformOutputBuiltinPresetOutputWithContext(ctx context.Context) TransformOutputBuiltinPresetOutput

func (TransformOutputBuiltinPresetOutput) ToTransformOutputBuiltinPresetPtrOutput

func (o TransformOutputBuiltinPresetOutput) ToTransformOutputBuiltinPresetPtrOutput() TransformOutputBuiltinPresetPtrOutput

func (TransformOutputBuiltinPresetOutput) ToTransformOutputBuiltinPresetPtrOutputWithContext

func (o TransformOutputBuiltinPresetOutput) ToTransformOutputBuiltinPresetPtrOutputWithContext(ctx context.Context) TransformOutputBuiltinPresetPtrOutput

type TransformOutputBuiltinPresetPtrInput

type TransformOutputBuiltinPresetPtrInput interface {
	pulumi.Input

	ToTransformOutputBuiltinPresetPtrOutput() TransformOutputBuiltinPresetPtrOutput
	ToTransformOutputBuiltinPresetPtrOutputWithContext(context.Context) TransformOutputBuiltinPresetPtrOutput
}

TransformOutputBuiltinPresetPtrInput is an input type that accepts TransformOutputBuiltinPresetArgs, TransformOutputBuiltinPresetPtr and TransformOutputBuiltinPresetPtrOutput values. You can construct a concrete instance of `TransformOutputBuiltinPresetPtrInput` via:

        TransformOutputBuiltinPresetArgs{...}

or:

        nil

type TransformOutputBuiltinPresetPtrOutput

type TransformOutputBuiltinPresetPtrOutput struct{ *pulumi.OutputState }

func (TransformOutputBuiltinPresetPtrOutput) Elem

func (TransformOutputBuiltinPresetPtrOutput) ElementType

func (TransformOutputBuiltinPresetPtrOutput) PresetName

The built-in preset to be used for encoding videos. The allowed values are `AACGoodQualityAudio`, `AdaptiveStreaming`,`ContentAwareEncoding`, `ContentAwareEncodingExperimental`,`CopyAllBitrateNonInterleaved`, `H264MultipleBitrate1080p`,`H264MultipleBitrate720p`, `H264MultipleBitrateSD`,`H264SingleBitrate1080p`, `H264SingleBitrate720p` and `H264SingleBitrateSD`.

func (TransformOutputBuiltinPresetPtrOutput) ToTransformOutputBuiltinPresetPtrOutput

func (o TransformOutputBuiltinPresetPtrOutput) ToTransformOutputBuiltinPresetPtrOutput() TransformOutputBuiltinPresetPtrOutput

func (TransformOutputBuiltinPresetPtrOutput) ToTransformOutputBuiltinPresetPtrOutputWithContext

func (o TransformOutputBuiltinPresetPtrOutput) ToTransformOutputBuiltinPresetPtrOutputWithContext(ctx context.Context) TransformOutputBuiltinPresetPtrOutput

type TransformOutputFaceDetectorPreset

type TransformOutputFaceDetectorPreset struct {
	// Possibles value are `SourceResolution` or `StandardDefinition`. Specifies the maximum resolution at which your video is analyzed. The default behavior is `SourceResolution` which will keep the input video at its original resolution when analyzed. Using `StandardDefinition` will resize input videos to standard definition while preserving the appropriate aspect ratio. It will only resize if the video is of higher resolution. For example, a 1920x1080 input would be scaled to 640x360 before processing. Switching to `StandardDefinition` will reduce the time it takes to process high resolution video. It may also reduce the cost of using this component (see <https://azure.microsoft.com/en-us/pricing/details/media-services/#analytics> for details). However, faces that end up being too small in the resized video may not be detected.
	AnalysisResolution *string `pulumi:"analysisResolution"`
}

type TransformOutputFaceDetectorPresetArgs

type TransformOutputFaceDetectorPresetArgs struct {
	// Possibles value are `SourceResolution` or `StandardDefinition`. Specifies the maximum resolution at which your video is analyzed. The default behavior is `SourceResolution` which will keep the input video at its original resolution when analyzed. Using `StandardDefinition` will resize input videos to standard definition while preserving the appropriate aspect ratio. It will only resize if the video is of higher resolution. For example, a 1920x1080 input would be scaled to 640x360 before processing. Switching to `StandardDefinition` will reduce the time it takes to process high resolution video. It may also reduce the cost of using this component (see <https://azure.microsoft.com/en-us/pricing/details/media-services/#analytics> for details). However, faces that end up being too small in the resized video may not be detected.
	AnalysisResolution pulumi.StringPtrInput `pulumi:"analysisResolution"`
}

func (TransformOutputFaceDetectorPresetArgs) ElementType

func (TransformOutputFaceDetectorPresetArgs) ToTransformOutputFaceDetectorPresetOutput

func (i TransformOutputFaceDetectorPresetArgs) ToTransformOutputFaceDetectorPresetOutput() TransformOutputFaceDetectorPresetOutput

func (TransformOutputFaceDetectorPresetArgs) ToTransformOutputFaceDetectorPresetOutputWithContext

func (i TransformOutputFaceDetectorPresetArgs) ToTransformOutputFaceDetectorPresetOutputWithContext(ctx context.Context) TransformOutputFaceDetectorPresetOutput

func (TransformOutputFaceDetectorPresetArgs) ToTransformOutputFaceDetectorPresetPtrOutput

func (i TransformOutputFaceDetectorPresetArgs) ToTransformOutputFaceDetectorPresetPtrOutput() TransformOutputFaceDetectorPresetPtrOutput

func (TransformOutputFaceDetectorPresetArgs) ToTransformOutputFaceDetectorPresetPtrOutputWithContext

func (i TransformOutputFaceDetectorPresetArgs) ToTransformOutputFaceDetectorPresetPtrOutputWithContext(ctx context.Context) TransformOutputFaceDetectorPresetPtrOutput

type TransformOutputFaceDetectorPresetInput

type TransformOutputFaceDetectorPresetInput interface {
	pulumi.Input

	ToTransformOutputFaceDetectorPresetOutput() TransformOutputFaceDetectorPresetOutput
	ToTransformOutputFaceDetectorPresetOutputWithContext(context.Context) TransformOutputFaceDetectorPresetOutput
}

TransformOutputFaceDetectorPresetInput is an input type that accepts TransformOutputFaceDetectorPresetArgs and TransformOutputFaceDetectorPresetOutput values. You can construct a concrete instance of `TransformOutputFaceDetectorPresetInput` via:

TransformOutputFaceDetectorPresetArgs{...}

type TransformOutputFaceDetectorPresetOutput

type TransformOutputFaceDetectorPresetOutput struct{ *pulumi.OutputState }

func (TransformOutputFaceDetectorPresetOutput) AnalysisResolution

Possibles value are `SourceResolution` or `StandardDefinition`. Specifies the maximum resolution at which your video is analyzed. The default behavior is `SourceResolution` which will keep the input video at its original resolution when analyzed. Using `StandardDefinition` will resize input videos to standard definition while preserving the appropriate aspect ratio. It will only resize if the video is of higher resolution. For example, a 1920x1080 input would be scaled to 640x360 before processing. Switching to `StandardDefinition` will reduce the time it takes to process high resolution video. It may also reduce the cost of using this component (see <https://azure.microsoft.com/en-us/pricing/details/media-services/#analytics> for details). However, faces that end up being too small in the resized video may not be detected.

func (TransformOutputFaceDetectorPresetOutput) ElementType

func (TransformOutputFaceDetectorPresetOutput) ToTransformOutputFaceDetectorPresetOutput

func (o TransformOutputFaceDetectorPresetOutput) ToTransformOutputFaceDetectorPresetOutput() TransformOutputFaceDetectorPresetOutput

func (TransformOutputFaceDetectorPresetOutput) ToTransformOutputFaceDetectorPresetOutputWithContext

func (o TransformOutputFaceDetectorPresetOutput) ToTransformOutputFaceDetectorPresetOutputWithContext(ctx context.Context) TransformOutputFaceDetectorPresetOutput

func (TransformOutputFaceDetectorPresetOutput) ToTransformOutputFaceDetectorPresetPtrOutput

func (o TransformOutputFaceDetectorPresetOutput) ToTransformOutputFaceDetectorPresetPtrOutput() TransformOutputFaceDetectorPresetPtrOutput

func (TransformOutputFaceDetectorPresetOutput) ToTransformOutputFaceDetectorPresetPtrOutputWithContext

func (o TransformOutputFaceDetectorPresetOutput) ToTransformOutputFaceDetectorPresetPtrOutputWithContext(ctx context.Context) TransformOutputFaceDetectorPresetPtrOutput

type TransformOutputFaceDetectorPresetPtrInput

type TransformOutputFaceDetectorPresetPtrInput interface {
	pulumi.Input

	ToTransformOutputFaceDetectorPresetPtrOutput() TransformOutputFaceDetectorPresetPtrOutput
	ToTransformOutputFaceDetectorPresetPtrOutputWithContext(context.Context) TransformOutputFaceDetectorPresetPtrOutput
}

TransformOutputFaceDetectorPresetPtrInput is an input type that accepts TransformOutputFaceDetectorPresetArgs, TransformOutputFaceDetectorPresetPtr and TransformOutputFaceDetectorPresetPtrOutput values. You can construct a concrete instance of `TransformOutputFaceDetectorPresetPtrInput` via:

        TransformOutputFaceDetectorPresetArgs{...}

or:

        nil

type TransformOutputFaceDetectorPresetPtrOutput

type TransformOutputFaceDetectorPresetPtrOutput struct{ *pulumi.OutputState }

func (TransformOutputFaceDetectorPresetPtrOutput) AnalysisResolution

Possibles value are `SourceResolution` or `StandardDefinition`. Specifies the maximum resolution at which your video is analyzed. The default behavior is `SourceResolution` which will keep the input video at its original resolution when analyzed. Using `StandardDefinition` will resize input videos to standard definition while preserving the appropriate aspect ratio. It will only resize if the video is of higher resolution. For example, a 1920x1080 input would be scaled to 640x360 before processing. Switching to `StandardDefinition` will reduce the time it takes to process high resolution video. It may also reduce the cost of using this component (see <https://azure.microsoft.com/en-us/pricing/details/media-services/#analytics> for details). However, faces that end up being too small in the resized video may not be detected.

func (TransformOutputFaceDetectorPresetPtrOutput) Elem

func (TransformOutputFaceDetectorPresetPtrOutput) ElementType

func (TransformOutputFaceDetectorPresetPtrOutput) ToTransformOutputFaceDetectorPresetPtrOutput

func (o TransformOutputFaceDetectorPresetPtrOutput) ToTransformOutputFaceDetectorPresetPtrOutput() TransformOutputFaceDetectorPresetPtrOutput

func (TransformOutputFaceDetectorPresetPtrOutput) ToTransformOutputFaceDetectorPresetPtrOutputWithContext

func (o TransformOutputFaceDetectorPresetPtrOutput) ToTransformOutputFaceDetectorPresetPtrOutputWithContext(ctx context.Context) TransformOutputFaceDetectorPresetPtrOutput

type TransformOutputType

type TransformOutputType struct {
	// A `audioAnalyzerPreset` block as defined below.
	AudioAnalyzerPreset *TransformOutputAudioAnalyzerPreset `pulumi:"audioAnalyzerPreset"`
	// A `builtinPreset` block as defined below.
	BuiltinPreset *TransformOutputBuiltinPreset `pulumi:"builtinPreset"`
	// A `faceDetectorPreset` block as defined below.
	FaceDetectorPreset *TransformOutputFaceDetectorPreset `pulumi:"faceDetectorPreset"`
	// A Transform can define more than one outputs. This property defines what the service should do when one output fails - either continue to produce other outputs, or, stop the other outputs. The overall Job state will not reflect failures of outputs that are specified with `ContinueJob`. Possibles value are `StopProcessingJob` or `ContinueJob`.
	OnErrorAction *string `pulumi:"onErrorAction"`
	// Sets the relative priority of the TransformOutputs within a Transform. This sets the priority that the service uses for processing Transform Outputs. Possibles value are `High`, `Normal` or `Low`.
	RelativePriority *string `pulumi:"relativePriority"`
	// A `videoAnalyzerPreset` block as defined below.
	VideoAnalyzerPreset *TransformOutputVideoAnalyzerPreset `pulumi:"videoAnalyzerPreset"`
}

type TransformOutputTypeArgs

type TransformOutputTypeArgs struct {
	// A `audioAnalyzerPreset` block as defined below.
	AudioAnalyzerPreset TransformOutputAudioAnalyzerPresetPtrInput `pulumi:"audioAnalyzerPreset"`
	// A `builtinPreset` block as defined below.
	BuiltinPreset TransformOutputBuiltinPresetPtrInput `pulumi:"builtinPreset"`
	// A `faceDetectorPreset` block as defined below.
	FaceDetectorPreset TransformOutputFaceDetectorPresetPtrInput `pulumi:"faceDetectorPreset"`
	// A Transform can define more than one outputs. This property defines what the service should do when one output fails - either continue to produce other outputs, or, stop the other outputs. The overall Job state will not reflect failures of outputs that are specified with `ContinueJob`. Possibles value are `StopProcessingJob` or `ContinueJob`.
	OnErrorAction pulumi.StringPtrInput `pulumi:"onErrorAction"`
	// Sets the relative priority of the TransformOutputs within a Transform. This sets the priority that the service uses for processing Transform Outputs. Possibles value are `High`, `Normal` or `Low`.
	RelativePriority pulumi.StringPtrInput `pulumi:"relativePriority"`
	// A `videoAnalyzerPreset` block as defined below.
	VideoAnalyzerPreset TransformOutputVideoAnalyzerPresetPtrInput `pulumi:"videoAnalyzerPreset"`
}

func (TransformOutputTypeArgs) ElementType

func (TransformOutputTypeArgs) ElementType() reflect.Type

func (TransformOutputTypeArgs) ToTransformOutputTypeOutput

func (i TransformOutputTypeArgs) ToTransformOutputTypeOutput() TransformOutputTypeOutput

func (TransformOutputTypeArgs) ToTransformOutputTypeOutputWithContext

func (i TransformOutputTypeArgs) ToTransformOutputTypeOutputWithContext(ctx context.Context) TransformOutputTypeOutput

type TransformOutputTypeArray

type TransformOutputTypeArray []TransformOutputTypeInput

func (TransformOutputTypeArray) ElementType

func (TransformOutputTypeArray) ElementType() reflect.Type

func (TransformOutputTypeArray) ToTransformOutputTypeArrayOutput

func (i TransformOutputTypeArray) ToTransformOutputTypeArrayOutput() TransformOutputTypeArrayOutput

func (TransformOutputTypeArray) ToTransformOutputTypeArrayOutputWithContext

func (i TransformOutputTypeArray) ToTransformOutputTypeArrayOutputWithContext(ctx context.Context) TransformOutputTypeArrayOutput

type TransformOutputTypeArrayInput

type TransformOutputTypeArrayInput interface {
	pulumi.Input

	ToTransformOutputTypeArrayOutput() TransformOutputTypeArrayOutput
	ToTransformOutputTypeArrayOutputWithContext(context.Context) TransformOutputTypeArrayOutput
}

TransformOutputTypeArrayInput is an input type that accepts TransformOutputTypeArray and TransformOutputTypeArrayOutput values. You can construct a concrete instance of `TransformOutputTypeArrayInput` via:

TransformOutputTypeArray{ TransformOutputTypeArgs{...} }

type TransformOutputTypeArrayOutput

type TransformOutputTypeArrayOutput struct{ *pulumi.OutputState }

func (TransformOutputTypeArrayOutput) ElementType

func (TransformOutputTypeArrayOutput) Index

func (TransformOutputTypeArrayOutput) ToTransformOutputTypeArrayOutput

func (o TransformOutputTypeArrayOutput) ToTransformOutputTypeArrayOutput() TransformOutputTypeArrayOutput

func (TransformOutputTypeArrayOutput) ToTransformOutputTypeArrayOutputWithContext

func (o TransformOutputTypeArrayOutput) ToTransformOutputTypeArrayOutputWithContext(ctx context.Context) TransformOutputTypeArrayOutput

type TransformOutputTypeInput

type TransformOutputTypeInput interface {
	pulumi.Input

	ToTransformOutputTypeOutput() TransformOutputTypeOutput
	ToTransformOutputTypeOutputWithContext(context.Context) TransformOutputTypeOutput
}

TransformOutputTypeInput is an input type that accepts TransformOutputTypeArgs and TransformOutputTypeOutput values. You can construct a concrete instance of `TransformOutputTypeInput` via:

TransformOutputTypeArgs{...}

type TransformOutputTypeOutput

type TransformOutputTypeOutput struct{ *pulumi.OutputState }

func (TransformOutputTypeOutput) AudioAnalyzerPreset

A `audioAnalyzerPreset` block as defined below.

func (TransformOutputTypeOutput) BuiltinPreset

A `builtinPreset` block as defined below.

func (TransformOutputTypeOutput) ElementType

func (TransformOutputTypeOutput) ElementType() reflect.Type

func (TransformOutputTypeOutput) FaceDetectorPreset

A `faceDetectorPreset` block as defined below.

func (TransformOutputTypeOutput) OnErrorAction

A Transform can define more than one outputs. This property defines what the service should do when one output fails - either continue to produce other outputs, or, stop the other outputs. The overall Job state will not reflect failures of outputs that are specified with `ContinueJob`. Possibles value are `StopProcessingJob` or `ContinueJob`.

func (TransformOutputTypeOutput) RelativePriority

func (o TransformOutputTypeOutput) RelativePriority() pulumi.StringPtrOutput

Sets the relative priority of the TransformOutputs within a Transform. This sets the priority that the service uses for processing Transform Outputs. Possibles value are `High`, `Normal` or `Low`.

func (TransformOutputTypeOutput) ToTransformOutputTypeOutput

func (o TransformOutputTypeOutput) ToTransformOutputTypeOutput() TransformOutputTypeOutput

func (TransformOutputTypeOutput) ToTransformOutputTypeOutputWithContext

func (o TransformOutputTypeOutput) ToTransformOutputTypeOutputWithContext(ctx context.Context) TransformOutputTypeOutput

func (TransformOutputTypeOutput) VideoAnalyzerPreset

A `videoAnalyzerPreset` block as defined below.

type TransformOutputVideoAnalyzerPreset

type TransformOutputVideoAnalyzerPreset struct {
	// Possibles value are `Basic` or `Standard`. Determines the set of audio analysis operations to be performed.
	AudioAnalysisMode *string `pulumi:"audioAnalysisMode"`
	// The language for the audio payload in the input using the BCP-47 format of 'language tag-region' (e.g: 'en-US'). If you know the language of your content, it is recommended that you specify it. The language must be specified explicitly for AudioAnalysisMode:Basic, since automatic language detection is not included in basic mode. If the language isn't specified, automatic language detection will choose the first language detected and process with the selected language for the duration of the file. It does not currently support dynamically switching between languages after the first language is detected. The automatic detection works best with audio recordings with clearly discernible speech. If automatic detection fails to find the language, transcription would fallback to 'en-US'." The list of supported languages is available here: <https://go.microsoft.com/fwlink/?linkid=2109463>.
	AudioLanguage *string `pulumi:"audioLanguage"`
	// Defines the type of insights that you want the service to generate. The allowed values are `AudioInsightsOnly`, `VideoInsightsOnly`, and `AllInsights`. If you set this to `AllInsights` and the input is audio only, then only audio insights are generated. Similarly if the input is video only, then only video insights are generated. It is recommended that you not use `AudioInsightsOnly` if you expect some of your inputs to be video only; or use `VideoInsightsOnly` if you expect some of your inputs to be audio only. Your Jobs in such conditions would error out.
	InsightsType *string `pulumi:"insightsType"`
}

type TransformOutputVideoAnalyzerPresetArgs

type TransformOutputVideoAnalyzerPresetArgs struct {
	// Possibles value are `Basic` or `Standard`. Determines the set of audio analysis operations to be performed.
	AudioAnalysisMode pulumi.StringPtrInput `pulumi:"audioAnalysisMode"`
	// The language for the audio payload in the input using the BCP-47 format of 'language tag-region' (e.g: 'en-US'). If you know the language of your content, it is recommended that you specify it. The language must be specified explicitly for AudioAnalysisMode:Basic, since automatic language detection is not included in basic mode. If the language isn't specified, automatic language detection will choose the first language detected and process with the selected language for the duration of the file. It does not currently support dynamically switching between languages after the first language is detected. The automatic detection works best with audio recordings with clearly discernible speech. If automatic detection fails to find the language, transcription would fallback to 'en-US'." The list of supported languages is available here: <https://go.microsoft.com/fwlink/?linkid=2109463>.
	AudioLanguage pulumi.StringPtrInput `pulumi:"audioLanguage"`
	// Defines the type of insights that you want the service to generate. The allowed values are `AudioInsightsOnly`, `VideoInsightsOnly`, and `AllInsights`. If you set this to `AllInsights` and the input is audio only, then only audio insights are generated. Similarly if the input is video only, then only video insights are generated. It is recommended that you not use `AudioInsightsOnly` if you expect some of your inputs to be video only; or use `VideoInsightsOnly` if you expect some of your inputs to be audio only. Your Jobs in such conditions would error out.
	InsightsType pulumi.StringPtrInput `pulumi:"insightsType"`
}

func (TransformOutputVideoAnalyzerPresetArgs) ElementType

func (TransformOutputVideoAnalyzerPresetArgs) ToTransformOutputVideoAnalyzerPresetOutput

func (i TransformOutputVideoAnalyzerPresetArgs) ToTransformOutputVideoAnalyzerPresetOutput() TransformOutputVideoAnalyzerPresetOutput

func (TransformOutputVideoAnalyzerPresetArgs) ToTransformOutputVideoAnalyzerPresetOutputWithContext

func (i TransformOutputVideoAnalyzerPresetArgs) ToTransformOutputVideoAnalyzerPresetOutputWithContext(ctx context.Context) TransformOutputVideoAnalyzerPresetOutput

func (TransformOutputVideoAnalyzerPresetArgs) ToTransformOutputVideoAnalyzerPresetPtrOutput

func (i TransformOutputVideoAnalyzerPresetArgs) ToTransformOutputVideoAnalyzerPresetPtrOutput() TransformOutputVideoAnalyzerPresetPtrOutput

func (TransformOutputVideoAnalyzerPresetArgs) ToTransformOutputVideoAnalyzerPresetPtrOutputWithContext

func (i TransformOutputVideoAnalyzerPresetArgs) ToTransformOutputVideoAnalyzerPresetPtrOutputWithContext(ctx context.Context) TransformOutputVideoAnalyzerPresetPtrOutput

type TransformOutputVideoAnalyzerPresetInput

type TransformOutputVideoAnalyzerPresetInput interface {
	pulumi.Input

	ToTransformOutputVideoAnalyzerPresetOutput() TransformOutputVideoAnalyzerPresetOutput
	ToTransformOutputVideoAnalyzerPresetOutputWithContext(context.Context) TransformOutputVideoAnalyzerPresetOutput
}

TransformOutputVideoAnalyzerPresetInput is an input type that accepts TransformOutputVideoAnalyzerPresetArgs and TransformOutputVideoAnalyzerPresetOutput values. You can construct a concrete instance of `TransformOutputVideoAnalyzerPresetInput` via:

TransformOutputVideoAnalyzerPresetArgs{...}

type TransformOutputVideoAnalyzerPresetOutput

type TransformOutputVideoAnalyzerPresetOutput struct{ *pulumi.OutputState }

func (TransformOutputVideoAnalyzerPresetOutput) AudioAnalysisMode

Possibles value are `Basic` or `Standard`. Determines the set of audio analysis operations to be performed.

func (TransformOutputVideoAnalyzerPresetOutput) AudioLanguage

The language for the audio payload in the input using the BCP-47 format of 'language tag-region' (e.g: 'en-US'). If you know the language of your content, it is recommended that you specify it. The language must be specified explicitly for AudioAnalysisMode:Basic, since automatic language detection is not included in basic mode. If the language isn't specified, automatic language detection will choose the first language detected and process with the selected language for the duration of the file. It does not currently support dynamically switching between languages after the first language is detected. The automatic detection works best with audio recordings with clearly discernible speech. If automatic detection fails to find the language, transcription would fallback to 'en-US'." The list of supported languages is available here: <https://go.microsoft.com/fwlink/?linkid=2109463>.

func (TransformOutputVideoAnalyzerPresetOutput) ElementType

func (TransformOutputVideoAnalyzerPresetOutput) InsightsType

Defines the type of insights that you want the service to generate. The allowed values are `AudioInsightsOnly`, `VideoInsightsOnly`, and `AllInsights`. If you set this to `AllInsights` and the input is audio only, then only audio insights are generated. Similarly if the input is video only, then only video insights are generated. It is recommended that you not use `AudioInsightsOnly` if you expect some of your inputs to be video only; or use `VideoInsightsOnly` if you expect some of your inputs to be audio only. Your Jobs in such conditions would error out.

func (TransformOutputVideoAnalyzerPresetOutput) ToTransformOutputVideoAnalyzerPresetOutput

func (o TransformOutputVideoAnalyzerPresetOutput) ToTransformOutputVideoAnalyzerPresetOutput() TransformOutputVideoAnalyzerPresetOutput

func (TransformOutputVideoAnalyzerPresetOutput) ToTransformOutputVideoAnalyzerPresetOutputWithContext

func (o TransformOutputVideoAnalyzerPresetOutput) ToTransformOutputVideoAnalyzerPresetOutputWithContext(ctx context.Context) TransformOutputVideoAnalyzerPresetOutput

func (TransformOutputVideoAnalyzerPresetOutput) ToTransformOutputVideoAnalyzerPresetPtrOutput

func (o TransformOutputVideoAnalyzerPresetOutput) ToTransformOutputVideoAnalyzerPresetPtrOutput() TransformOutputVideoAnalyzerPresetPtrOutput

func (TransformOutputVideoAnalyzerPresetOutput) ToTransformOutputVideoAnalyzerPresetPtrOutputWithContext

func (o TransformOutputVideoAnalyzerPresetOutput) ToTransformOutputVideoAnalyzerPresetPtrOutputWithContext(ctx context.Context) TransformOutputVideoAnalyzerPresetPtrOutput

type TransformOutputVideoAnalyzerPresetPtrInput

type TransformOutputVideoAnalyzerPresetPtrInput interface {
	pulumi.Input

	ToTransformOutputVideoAnalyzerPresetPtrOutput() TransformOutputVideoAnalyzerPresetPtrOutput
	ToTransformOutputVideoAnalyzerPresetPtrOutputWithContext(context.Context) TransformOutputVideoAnalyzerPresetPtrOutput
}

TransformOutputVideoAnalyzerPresetPtrInput is an input type that accepts TransformOutputVideoAnalyzerPresetArgs, TransformOutputVideoAnalyzerPresetPtr and TransformOutputVideoAnalyzerPresetPtrOutput values. You can construct a concrete instance of `TransformOutputVideoAnalyzerPresetPtrInput` via:

        TransformOutputVideoAnalyzerPresetArgs{...}

or:

        nil

type TransformOutputVideoAnalyzerPresetPtrOutput

type TransformOutputVideoAnalyzerPresetPtrOutput struct{ *pulumi.OutputState }

func (TransformOutputVideoAnalyzerPresetPtrOutput) AudioAnalysisMode

Possibles value are `Basic` or `Standard`. Determines the set of audio analysis operations to be performed.

func (TransformOutputVideoAnalyzerPresetPtrOutput) AudioLanguage

The language for the audio payload in the input using the BCP-47 format of 'language tag-region' (e.g: 'en-US'). If you know the language of your content, it is recommended that you specify it. The language must be specified explicitly for AudioAnalysisMode:Basic, since automatic language detection is not included in basic mode. If the language isn't specified, automatic language detection will choose the first language detected and process with the selected language for the duration of the file. It does not currently support dynamically switching between languages after the first language is detected. The automatic detection works best with audio recordings with clearly discernible speech. If automatic detection fails to find the language, transcription would fallback to 'en-US'." The list of supported languages is available here: <https://go.microsoft.com/fwlink/?linkid=2109463>.

func (TransformOutputVideoAnalyzerPresetPtrOutput) Elem

func (TransformOutputVideoAnalyzerPresetPtrOutput) ElementType

func (TransformOutputVideoAnalyzerPresetPtrOutput) InsightsType

Defines the type of insights that you want the service to generate. The allowed values are `AudioInsightsOnly`, `VideoInsightsOnly`, and `AllInsights`. If you set this to `AllInsights` and the input is audio only, then only audio insights are generated. Similarly if the input is video only, then only video insights are generated. It is recommended that you not use `AudioInsightsOnly` if you expect some of your inputs to be video only; or use `VideoInsightsOnly` if you expect some of your inputs to be audio only. Your Jobs in such conditions would error out.

func (TransformOutputVideoAnalyzerPresetPtrOutput) ToTransformOutputVideoAnalyzerPresetPtrOutput

func (o TransformOutputVideoAnalyzerPresetPtrOutput) ToTransformOutputVideoAnalyzerPresetPtrOutput() TransformOutputVideoAnalyzerPresetPtrOutput

func (TransformOutputVideoAnalyzerPresetPtrOutput) ToTransformOutputVideoAnalyzerPresetPtrOutputWithContext

func (o TransformOutputVideoAnalyzerPresetPtrOutput) ToTransformOutputVideoAnalyzerPresetPtrOutputWithContext(ctx context.Context) TransformOutputVideoAnalyzerPresetPtrOutput

type TransformState

type TransformState struct {
	// An optional verbose description of the Transform.
	Description pulumi.StringPtrInput
	// The Media Services account name. Changing this forces a new Transform to be created.
	MediaServicesAccountName pulumi.StringPtrInput
	// The name which should be used for this Transform. Changing this forces a new Transform to be created.
	Name pulumi.StringPtrInput
	// One or more `output` blocks as defined below. At least one `output` must be defined.
	Outputs TransformOutputTypeArrayInput
	// The name of the Resource Group where the Transform should exist. Changing this forces a new Transform to be created.
	ResourceGroupName pulumi.StringPtrInput
}

func (TransformState) ElementType

func (TransformState) ElementType() reflect.Type

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL