azure-native.media.StreamingLocator
Explore with Pulumi AI
A Streaming Locator resource Azure REST API version: 2023-01-01. Prior API version in Azure Native 1.x: 2020-05-01.
Other available API versions: 2018-03-30-preview.
Example Usage
Creates a Streaming Locator with clear streaming
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var streamingLocator = new AzureNative.Media.StreamingLocator("streamingLocator", new()
{
AccountName = "contosomedia",
AssetName = "ClimbingMountRainier",
ResourceGroupName = "contosorg",
StreamingLocatorName = "UserCreatedClearStreamingLocator",
StreamingPolicyName = "clearStreamingPolicy",
});
});
package main
import (
media "github.com/pulumi/pulumi-azure-native-sdk/media/v2"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := media.NewStreamingLocator(ctx, "streamingLocator", &media.StreamingLocatorArgs{
AccountName: pulumi.String("contosomedia"),
AssetName: pulumi.String("ClimbingMountRainier"),
ResourceGroupName: pulumi.String("contosorg"),
StreamingLocatorName: pulumi.String("UserCreatedClearStreamingLocator"),
StreamingPolicyName: pulumi.String("clearStreamingPolicy"),
})
if err != nil {
return err
}
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.media.StreamingLocator;
import com.pulumi.azurenative.media.StreamingLocatorArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var streamingLocator = new StreamingLocator("streamingLocator", StreamingLocatorArgs.builder()
.accountName("contosomedia")
.assetName("ClimbingMountRainier")
.resourceGroupName("contosorg")
.streamingLocatorName("UserCreatedClearStreamingLocator")
.streamingPolicyName("clearStreamingPolicy")
.build());
}
}
import pulumi
import pulumi_azure_native as azure_native
streaming_locator = azure_native.media.StreamingLocator("streamingLocator",
account_name="contosomedia",
asset_name="ClimbingMountRainier",
resource_group_name="contosorg",
streaming_locator_name="UserCreatedClearStreamingLocator",
streaming_policy_name="clearStreamingPolicy")
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const streamingLocator = new azure_native.media.StreamingLocator("streamingLocator", {
accountName: "contosomedia",
assetName: "ClimbingMountRainier",
resourceGroupName: "contosorg",
streamingLocatorName: "UserCreatedClearStreamingLocator",
streamingPolicyName: "clearStreamingPolicy",
});
resources:
streamingLocator:
type: azure-native:media:StreamingLocator
properties:
accountName: contosomedia
assetName: ClimbingMountRainier
resourceGroupName: contosorg
streamingLocatorName: UserCreatedClearStreamingLocator
streamingPolicyName: clearStreamingPolicy
Creates a Streaming Locator with secure streaming
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var streamingLocator = new AzureNative.Media.StreamingLocator("streamingLocator", new()
{
AccountName = "contosomedia",
AssetName = "ClimbingMountRainier",
EndTime = "2028-12-31T23:59:59.9999999Z",
ResourceGroupName = "contosorg",
StartTime = "2018-03-01T00:00:00Z",
StreamingLocatorName = "UserCreatedSecureStreamingLocator",
StreamingPolicyName = "UserCreatedSecureStreamingPolicy",
});
});
package main
import (
media "github.com/pulumi/pulumi-azure-native-sdk/media/v2"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := media.NewStreamingLocator(ctx, "streamingLocator", &media.StreamingLocatorArgs{
AccountName: pulumi.String("contosomedia"),
AssetName: pulumi.String("ClimbingMountRainier"),
EndTime: pulumi.String("2028-12-31T23:59:59.9999999Z"),
ResourceGroupName: pulumi.String("contosorg"),
StartTime: pulumi.String("2018-03-01T00:00:00Z"),
StreamingLocatorName: pulumi.String("UserCreatedSecureStreamingLocator"),
StreamingPolicyName: pulumi.String("UserCreatedSecureStreamingPolicy"),
})
if err != nil {
return err
}
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.media.StreamingLocator;
import com.pulumi.azurenative.media.StreamingLocatorArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var streamingLocator = new StreamingLocator("streamingLocator", StreamingLocatorArgs.builder()
.accountName("contosomedia")
.assetName("ClimbingMountRainier")
.endTime("2028-12-31T23:59:59.9999999Z")
.resourceGroupName("contosorg")
.startTime("2018-03-01T00:00:00Z")
.streamingLocatorName("UserCreatedSecureStreamingLocator")
.streamingPolicyName("UserCreatedSecureStreamingPolicy")
.build());
}
}
import pulumi
import pulumi_azure_native as azure_native
streaming_locator = azure_native.media.StreamingLocator("streamingLocator",
account_name="contosomedia",
asset_name="ClimbingMountRainier",
end_time="2028-12-31T23:59:59.9999999Z",
resource_group_name="contosorg",
start_time="2018-03-01T00:00:00Z",
streaming_locator_name="UserCreatedSecureStreamingLocator",
streaming_policy_name="UserCreatedSecureStreamingPolicy")
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const streamingLocator = new azure_native.media.StreamingLocator("streamingLocator", {
accountName: "contosomedia",
assetName: "ClimbingMountRainier",
endTime: "2028-12-31T23:59:59.9999999Z",
resourceGroupName: "contosorg",
startTime: "2018-03-01T00:00:00Z",
streamingLocatorName: "UserCreatedSecureStreamingLocator",
streamingPolicyName: "UserCreatedSecureStreamingPolicy",
});
resources:
streamingLocator:
type: azure-native:media:StreamingLocator
properties:
accountName: contosomedia
assetName: ClimbingMountRainier
endTime: 2028-12-31T23:59:59.9999999Z
resourceGroupName: contosorg
startTime: 2018-03-01T00:00:00Z
streamingLocatorName: UserCreatedSecureStreamingLocator
streamingPolicyName: UserCreatedSecureStreamingPolicy
Creates a Streaming Locator with user defined content keys
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var streamingLocator = new AzureNative.Media.StreamingLocator("streamingLocator", new()
{
AccountName = "contosomedia",
AssetName = "ClimbingMountRainier",
ContentKeys = new[]
{
new AzureNative.Media.Inputs.StreamingLocatorContentKeyArgs
{
Id = "60000000-0000-0000-0000-000000000001",
LabelReferenceInStreamingPolicy = "aesDefaultKey",
Value = "1UqLohAfWsEGkULYxHjYZg==",
},
new AzureNative.Media.Inputs.StreamingLocatorContentKeyArgs
{
Id = "60000000-0000-0000-0000-000000000004",
LabelReferenceInStreamingPolicy = "cencDefaultKey",
Value = "4UqLohAfWsEGkULYxHjYZg==",
},
new AzureNative.Media.Inputs.StreamingLocatorContentKeyArgs
{
Id = "60000000-0000-0000-0000-000000000007",
LabelReferenceInStreamingPolicy = "cbcsDefaultKey",
Value = "7UqLohAfWsEGkULYxHjYZg==",
},
},
ResourceGroupName = "contosorg",
StreamingLocatorId = "90000000-0000-0000-0000-00000000000A",
StreamingLocatorName = "UserCreatedSecureStreamingLocatorWithUserDefinedContentKeys",
StreamingPolicyName = "secureStreamingPolicy",
});
});
package main
import (
media "github.com/pulumi/pulumi-azure-native-sdk/media/v2"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := media.NewStreamingLocator(ctx, "streamingLocator", &media.StreamingLocatorArgs{
AccountName: pulumi.String("contosomedia"),
AssetName: pulumi.String("ClimbingMountRainier"),
ContentKeys: media.StreamingLocatorContentKeyArray{
&media.StreamingLocatorContentKeyArgs{
Id: pulumi.String("60000000-0000-0000-0000-000000000001"),
LabelReferenceInStreamingPolicy: pulumi.String("aesDefaultKey"),
Value: pulumi.String("1UqLohAfWsEGkULYxHjYZg=="),
},
&media.StreamingLocatorContentKeyArgs{
Id: pulumi.String("60000000-0000-0000-0000-000000000004"),
LabelReferenceInStreamingPolicy: pulumi.String("cencDefaultKey"),
Value: pulumi.String("4UqLohAfWsEGkULYxHjYZg=="),
},
&media.StreamingLocatorContentKeyArgs{
Id: pulumi.String("60000000-0000-0000-0000-000000000007"),
LabelReferenceInStreamingPolicy: pulumi.String("cbcsDefaultKey"),
Value: pulumi.String("7UqLohAfWsEGkULYxHjYZg=="),
},
},
ResourceGroupName: pulumi.String("contosorg"),
StreamingLocatorId: pulumi.String("90000000-0000-0000-0000-00000000000A"),
StreamingLocatorName: pulumi.String("UserCreatedSecureStreamingLocatorWithUserDefinedContentKeys"),
StreamingPolicyName: pulumi.String("secureStreamingPolicy"),
})
if err != nil {
return err
}
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.media.StreamingLocator;
import com.pulumi.azurenative.media.StreamingLocatorArgs;
import com.pulumi.azurenative.media.inputs.StreamingLocatorContentKeyArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var streamingLocator = new StreamingLocator("streamingLocator", StreamingLocatorArgs.builder()
.accountName("contosomedia")
.assetName("ClimbingMountRainier")
.contentKeys(
StreamingLocatorContentKeyArgs.builder()
.id("60000000-0000-0000-0000-000000000001")
.labelReferenceInStreamingPolicy("aesDefaultKey")
.value("1UqLohAfWsEGkULYxHjYZg==")
.build(),
StreamingLocatorContentKeyArgs.builder()
.id("60000000-0000-0000-0000-000000000004")
.labelReferenceInStreamingPolicy("cencDefaultKey")
.value("4UqLohAfWsEGkULYxHjYZg==")
.build(),
StreamingLocatorContentKeyArgs.builder()
.id("60000000-0000-0000-0000-000000000007")
.labelReferenceInStreamingPolicy("cbcsDefaultKey")
.value("7UqLohAfWsEGkULYxHjYZg==")
.build())
.resourceGroupName("contosorg")
.streamingLocatorId("90000000-0000-0000-0000-00000000000A")
.streamingLocatorName("UserCreatedSecureStreamingLocatorWithUserDefinedContentKeys")
.streamingPolicyName("secureStreamingPolicy")
.build());
}
}
import pulumi
import pulumi_azure_native as azure_native
streaming_locator = azure_native.media.StreamingLocator("streamingLocator",
account_name="contosomedia",
asset_name="ClimbingMountRainier",
content_keys=[
{
"id": "60000000-0000-0000-0000-000000000001",
"label_reference_in_streaming_policy": "aesDefaultKey",
"value": "1UqLohAfWsEGkULYxHjYZg==",
},
{
"id": "60000000-0000-0000-0000-000000000004",
"label_reference_in_streaming_policy": "cencDefaultKey",
"value": "4UqLohAfWsEGkULYxHjYZg==",
},
{
"id": "60000000-0000-0000-0000-000000000007",
"label_reference_in_streaming_policy": "cbcsDefaultKey",
"value": "7UqLohAfWsEGkULYxHjYZg==",
},
],
resource_group_name="contosorg",
streaming_locator_id="90000000-0000-0000-0000-00000000000A",
streaming_locator_name="UserCreatedSecureStreamingLocatorWithUserDefinedContentKeys",
streaming_policy_name="secureStreamingPolicy")
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const streamingLocator = new azure_native.media.StreamingLocator("streamingLocator", {
accountName: "contosomedia",
assetName: "ClimbingMountRainier",
contentKeys: [
{
id: "60000000-0000-0000-0000-000000000001",
labelReferenceInStreamingPolicy: "aesDefaultKey",
value: "1UqLohAfWsEGkULYxHjYZg==",
},
{
id: "60000000-0000-0000-0000-000000000004",
labelReferenceInStreamingPolicy: "cencDefaultKey",
value: "4UqLohAfWsEGkULYxHjYZg==",
},
{
id: "60000000-0000-0000-0000-000000000007",
labelReferenceInStreamingPolicy: "cbcsDefaultKey",
value: "7UqLohAfWsEGkULYxHjYZg==",
},
],
resourceGroupName: "contosorg",
streamingLocatorId: "90000000-0000-0000-0000-00000000000A",
streamingLocatorName: "UserCreatedSecureStreamingLocatorWithUserDefinedContentKeys",
streamingPolicyName: "secureStreamingPolicy",
});
resources:
streamingLocator:
type: azure-native:media:StreamingLocator
properties:
accountName: contosomedia
assetName: ClimbingMountRainier
contentKeys:
- id: 60000000-0000-0000-0000-000000000001
labelReferenceInStreamingPolicy: aesDefaultKey
value: 1UqLohAfWsEGkULYxHjYZg==
- id: 60000000-0000-0000-0000-000000000004
labelReferenceInStreamingPolicy: cencDefaultKey
value: 4UqLohAfWsEGkULYxHjYZg==
- id: 60000000-0000-0000-0000-000000000007
labelReferenceInStreamingPolicy: cbcsDefaultKey
value: 7UqLohAfWsEGkULYxHjYZg==
resourceGroupName: contosorg
streamingLocatorId: 90000000-0000-0000-0000-00000000000A
streamingLocatorName: UserCreatedSecureStreamingLocatorWithUserDefinedContentKeys
streamingPolicyName: secureStreamingPolicy
Create StreamingLocator Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new StreamingLocator(name: string, args: StreamingLocatorArgs, opts?: CustomResourceOptions);
@overload
def StreamingLocator(resource_name: str,
args: StreamingLocatorArgs,
opts: Optional[ResourceOptions] = None)
@overload
def StreamingLocator(resource_name: str,
opts: Optional[ResourceOptions] = None,
account_name: Optional[str] = None,
asset_name: Optional[str] = None,
resource_group_name: Optional[str] = None,
streaming_policy_name: Optional[str] = None,
alternative_media_id: Optional[str] = None,
content_keys: Optional[Sequence[StreamingLocatorContentKeyArgs]] = None,
default_content_key_policy_name: Optional[str] = None,
end_time: Optional[str] = None,
filters: Optional[Sequence[str]] = None,
start_time: Optional[str] = None,
streaming_locator_id: Optional[str] = None,
streaming_locator_name: Optional[str] = None)
func NewStreamingLocator(ctx *Context, name string, args StreamingLocatorArgs, opts ...ResourceOption) (*StreamingLocator, error)
public StreamingLocator(string name, StreamingLocatorArgs args, CustomResourceOptions? opts = null)
public StreamingLocator(String name, StreamingLocatorArgs args)
public StreamingLocator(String name, StreamingLocatorArgs args, CustomResourceOptions options)
type: azure-native:media:StreamingLocator
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args StreamingLocatorArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args StreamingLocatorArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args StreamingLocatorArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args StreamingLocatorArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args StreamingLocatorArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var streamingLocatorResource = new AzureNative.Media.StreamingLocator("streamingLocatorResource", new()
{
AccountName = "string",
AssetName = "string",
ResourceGroupName = "string",
StreamingPolicyName = "string",
AlternativeMediaId = "string",
ContentKeys = new[]
{
new AzureNative.Media.Inputs.StreamingLocatorContentKeyArgs
{
Id = "string",
LabelReferenceInStreamingPolicy = "string",
Value = "string",
},
},
DefaultContentKeyPolicyName = "string",
EndTime = "string",
Filters = new[]
{
"string",
},
StartTime = "string",
StreamingLocatorId = "string",
StreamingLocatorName = "string",
});
example, err := media.NewStreamingLocator(ctx, "streamingLocatorResource", &media.StreamingLocatorArgs{
AccountName: pulumi.String("string"),
AssetName: pulumi.String("string"),
ResourceGroupName: pulumi.String("string"),
StreamingPolicyName: pulumi.String("string"),
AlternativeMediaId: pulumi.String("string"),
ContentKeys: media.StreamingLocatorContentKeyArray{
&media.StreamingLocatorContentKeyArgs{
Id: pulumi.String("string"),
LabelReferenceInStreamingPolicy: pulumi.String("string"),
Value: pulumi.String("string"),
},
},
DefaultContentKeyPolicyName: pulumi.String("string"),
EndTime: pulumi.String("string"),
Filters: pulumi.StringArray{
pulumi.String("string"),
},
StartTime: pulumi.String("string"),
StreamingLocatorId: pulumi.String("string"),
StreamingLocatorName: pulumi.String("string"),
})
var streamingLocatorResource = new StreamingLocator("streamingLocatorResource", StreamingLocatorArgs.builder()
.accountName("string")
.assetName("string")
.resourceGroupName("string")
.streamingPolicyName("string")
.alternativeMediaId("string")
.contentKeys(StreamingLocatorContentKeyArgs.builder()
.id("string")
.labelReferenceInStreamingPolicy("string")
.value("string")
.build())
.defaultContentKeyPolicyName("string")
.endTime("string")
.filters("string")
.startTime("string")
.streamingLocatorId("string")
.streamingLocatorName("string")
.build());
streaming_locator_resource = azure_native.media.StreamingLocator("streamingLocatorResource",
account_name="string",
asset_name="string",
resource_group_name="string",
streaming_policy_name="string",
alternative_media_id="string",
content_keys=[{
"id": "string",
"label_reference_in_streaming_policy": "string",
"value": "string",
}],
default_content_key_policy_name="string",
end_time="string",
filters=["string"],
start_time="string",
streaming_locator_id="string",
streaming_locator_name="string")
const streamingLocatorResource = new azure_native.media.StreamingLocator("streamingLocatorResource", {
accountName: "string",
assetName: "string",
resourceGroupName: "string",
streamingPolicyName: "string",
alternativeMediaId: "string",
contentKeys: [{
id: "string",
labelReferenceInStreamingPolicy: "string",
value: "string",
}],
defaultContentKeyPolicyName: "string",
endTime: "string",
filters: ["string"],
startTime: "string",
streamingLocatorId: "string",
streamingLocatorName: "string",
});
type: azure-native:media:StreamingLocator
properties:
accountName: string
alternativeMediaId: string
assetName: string
contentKeys:
- id: string
labelReferenceInStreamingPolicy: string
value: string
defaultContentKeyPolicyName: string
endTime: string
filters:
- string
resourceGroupName: string
startTime: string
streamingLocatorId: string
streamingLocatorName: string
streamingPolicyName: string
StreamingLocator Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The StreamingLocator resource accepts the following input properties:
- Account
Name string - The Media Services account name.
- Asset
Name string - Asset Name
- Resource
Group stringName - The name of the resource group within the Azure subscription.
- Streaming
Policy stringName - 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'
- Alternative
Media stringId - Alternative Media ID of this Streaming Locator
- Content
Keys List<Pulumi.Azure Native. Media. Inputs. Streaming Locator Content Key> - The ContentKeys used by this Streaming Locator.
- Default
Content stringKey Policy Name - Name of the default ContentKeyPolicy used by this Streaming Locator.
- End
Time string - The end time of the Streaming Locator.
- Filters List<string>
- A list of asset or account filters which apply to this streaming locator
- Start
Time string - The start time of the Streaming Locator.
- Streaming
Locator stringId - The StreamingLocatorId of the Streaming Locator.
- Streaming
Locator stringName - The Streaming Locator name.
- Account
Name string - The Media Services account name.
- Asset
Name string - Asset Name
- Resource
Group stringName - The name of the resource group within the Azure subscription.
- Streaming
Policy stringName - 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'
- Alternative
Media stringId - Alternative Media ID of this Streaming Locator
- Content
Keys []StreamingLocator Content Key Args - The ContentKeys used by this Streaming Locator.
- Default
Content stringKey Policy Name - Name of the default ContentKeyPolicy used by this Streaming Locator.
- End
Time string - The end time of the Streaming Locator.
- Filters []string
- A list of asset or account filters which apply to this streaming locator
- Start
Time string - The start time of the Streaming Locator.
- Streaming
Locator stringId - The StreamingLocatorId of the Streaming Locator.
- Streaming
Locator stringName - The Streaming Locator name.
- account
Name String - The Media Services account name.
- asset
Name String - Asset Name
- resource
Group StringName - The name of the resource group within the Azure subscription.
- streaming
Policy StringName - 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'
- alternative
Media StringId - Alternative Media ID of this Streaming Locator
- content
Keys List<StreamingLocator Content Key> - The ContentKeys used by this Streaming Locator.
- default
Content StringKey Policy Name - Name of the default ContentKeyPolicy used by this Streaming Locator.
- end
Time String - The end time of the Streaming Locator.
- filters List<String>
- A list of asset or account filters which apply to this streaming locator
- start
Time String - The start time of the Streaming Locator.
- streaming
Locator StringId - The StreamingLocatorId of the Streaming Locator.
- streaming
Locator StringName - The Streaming Locator name.
- account
Name string - The Media Services account name.
- asset
Name string - Asset Name
- resource
Group stringName - The name of the resource group within the Azure subscription.
- streaming
Policy stringName - 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'
- alternative
Media stringId - Alternative Media ID of this Streaming Locator
- content
Keys StreamingLocator Content Key[] - The ContentKeys used by this Streaming Locator.
- default
Content stringKey Policy Name - Name of the default ContentKeyPolicy used by this Streaming Locator.
- end
Time string - The end time of the Streaming Locator.
- filters string[]
- A list of asset or account filters which apply to this streaming locator
- start
Time string - The start time of the Streaming Locator.
- streaming
Locator stringId - The StreamingLocatorId of the Streaming Locator.
- streaming
Locator stringName - The Streaming Locator name.
- account_
name str - The Media Services account name.
- asset_
name str - Asset Name
- resource_
group_ strname - The name of the resource group within the Azure subscription.
- streaming_
policy_ strname - 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'
- alternative_
media_ strid - Alternative Media ID of this Streaming Locator
- content_
keys Sequence[StreamingLocator Content Key Args] - The ContentKeys used by this Streaming Locator.
- default_
content_ strkey_ policy_ name - Name of the default ContentKeyPolicy used by this Streaming Locator.
- end_
time str - The end time of the Streaming Locator.
- filters Sequence[str]
- A list of asset or account filters which apply to this streaming locator
- start_
time str - The start time of the Streaming Locator.
- streaming_
locator_ strid - The StreamingLocatorId of the Streaming Locator.
- streaming_
locator_ strname - The Streaming Locator name.
- account
Name String - The Media Services account name.
- asset
Name String - Asset Name
- resource
Group StringName - The name of the resource group within the Azure subscription.
- streaming
Policy StringName - 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'
- alternative
Media StringId - Alternative Media ID of this Streaming Locator
- content
Keys List<Property Map> - The ContentKeys used by this Streaming Locator.
- default
Content StringKey Policy Name - Name of the default ContentKeyPolicy used by this Streaming Locator.
- end
Time String - The end time of the Streaming Locator.
- filters List<String>
- A list of asset or account filters which apply to this streaming locator
- start
Time String - The start time of the Streaming Locator.
- streaming
Locator StringId - The StreamingLocatorId of the Streaming Locator.
- streaming
Locator StringName - The Streaming Locator name.
Outputs
All input properties are implicitly available as output properties. Additionally, the StreamingLocator resource produces the following output properties:
- Created string
- The creation time of the Streaming Locator.
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- The name of the resource
- System
Data Pulumi.Azure Native. Media. Outputs. System Data Response - The system metadata relating to this resource.
- Type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- Created string
- The creation time of the Streaming Locator.
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- The name of the resource
- System
Data SystemData Response - The system metadata relating to this resource.
- Type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- created String
- The creation time of the Streaming Locator.
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- The name of the resource
- system
Data SystemData Response - The system metadata relating to this resource.
- type String
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- created string
- The creation time of the Streaming Locator.
- id string
- The provider-assigned unique ID for this managed resource.
- name string
- The name of the resource
- system
Data SystemData Response - The system metadata relating to this resource.
- type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- created str
- The creation time of the Streaming Locator.
- id str
- The provider-assigned unique ID for this managed resource.
- name str
- The name of the resource
- system_
data SystemData Response - The system metadata relating to this resource.
- type str
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- created String
- The creation time of the Streaming Locator.
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- The name of the resource
- system
Data Property Map - The system metadata relating to this resource.
- type String
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
Supporting Types
StreamingLocatorContentKey, StreamingLocatorContentKeyArgs
- Id string
- ID of Content Key
- Label
Reference stringIn Streaming Policy - Label of Content Key as specified in the Streaming Policy
- Value string
- Value of Content Key
- Id string
- ID of Content Key
- Label
Reference stringIn Streaming Policy - Label of Content Key as specified in the Streaming Policy
- Value string
- Value of Content Key
- id String
- ID of Content Key
- label
Reference StringIn Streaming Policy - Label of Content Key as specified in the Streaming Policy
- value String
- Value of Content Key
- id string
- ID of Content Key
- label
Reference stringIn Streaming Policy - Label of Content Key as specified in the Streaming Policy
- value string
- Value of Content Key
- id str
- ID of Content Key
- label_
reference_ strin_ streaming_ policy - Label of Content Key as specified in the Streaming Policy
- value str
- Value of Content Key
- id String
- ID of Content Key
- label
Reference StringIn Streaming Policy - Label of Content Key as specified in the Streaming Policy
- value String
- Value of Content Key
StreamingLocatorContentKeyResponse, StreamingLocatorContentKeyResponseArgs
- Id string
- ID of Content Key
- Policy
Name string - ContentKeyPolicy used by Content Key
- Tracks
List<Pulumi.
Azure Native. Media. Inputs. Track Selection Response> - Tracks which use this Content Key
- Type string
- Encryption type of Content Key
- Label
Reference stringIn Streaming Policy - Label of Content Key as specified in the Streaming Policy
- Value string
- Value of Content Key
- Id string
- ID of Content Key
- Policy
Name string - ContentKeyPolicy used by Content Key
- Tracks
[]Track
Selection Response - Tracks which use this Content Key
- Type string
- Encryption type of Content Key
- Label
Reference stringIn Streaming Policy - Label of Content Key as specified in the Streaming Policy
- Value string
- Value of Content Key
- id String
- ID of Content Key
- policy
Name String - ContentKeyPolicy used by Content Key
- tracks
List<Track
Selection Response> - Tracks which use this Content Key
- type String
- Encryption type of Content Key
- label
Reference StringIn Streaming Policy - Label of Content Key as specified in the Streaming Policy
- value String
- Value of Content Key
- id string
- ID of Content Key
- policy
Name string - ContentKeyPolicy used by Content Key
- tracks
Track
Selection Response[] - Tracks which use this Content Key
- type string
- Encryption type of Content Key
- label
Reference stringIn Streaming Policy - Label of Content Key as specified in the Streaming Policy
- value string
- Value of Content Key
- id str
- ID of Content Key
- policy_
name str - ContentKeyPolicy used by Content Key
- tracks
Sequence[Track
Selection Response] - Tracks which use this Content Key
- type str
- Encryption type of Content Key
- label_
reference_ strin_ streaming_ policy - Label of Content Key as specified in the Streaming Policy
- value str
- Value of Content Key
- id String
- ID of Content Key
- policy
Name String - ContentKeyPolicy used by Content Key
- tracks List<Property Map>
- Tracks which use this Content Key
- type String
- Encryption type of Content Key
- label
Reference StringIn Streaming Policy - Label of Content Key as specified in the Streaming Policy
- value String
- Value of Content Key
SystemDataResponse, SystemDataResponseArgs
- Created
At string - The timestamp of resource creation (UTC).
- Created
By string - The identity that created the resource.
- Created
By stringType - The type of identity that created the resource.
- Last
Modified stringAt - The timestamp of resource last modification (UTC)
- Last
Modified stringBy - The identity that last modified the resource.
- Last
Modified stringBy Type - The type of identity that last modified the resource.
- Created
At string - The timestamp of resource creation (UTC).
- Created
By string - The identity that created the resource.
- Created
By stringType - The type of identity that created the resource.
- Last
Modified stringAt - The timestamp of resource last modification (UTC)
- Last
Modified stringBy - The identity that last modified the resource.
- Last
Modified stringBy Type - The type of identity that last modified the resource.
- created
At String - The timestamp of resource creation (UTC).
- created
By String - The identity that created the resource.
- created
By StringType - The type of identity that created the resource.
- last
Modified StringAt - The timestamp of resource last modification (UTC)
- last
Modified StringBy - The identity that last modified the resource.
- last
Modified StringBy Type - The type of identity that last modified the resource.
- created
At string - The timestamp of resource creation (UTC).
- created
By string - The identity that created the resource.
- created
By stringType - The type of identity that created the resource.
- last
Modified stringAt - The timestamp of resource last modification (UTC)
- last
Modified stringBy - The identity that last modified the resource.
- last
Modified stringBy Type - The type of identity that last modified the resource.
- created_
at str - The timestamp of resource creation (UTC).
- created_
by str - The identity that created the resource.
- created_
by_ strtype - The type of identity that created the resource.
- last_
modified_ strat - The timestamp of resource last modification (UTC)
- last_
modified_ strby - The identity that last modified the resource.
- last_
modified_ strby_ type - The type of identity that last modified the resource.
- created
At String - The timestamp of resource creation (UTC).
- created
By String - The identity that created the resource.
- created
By StringType - The type of identity that created the resource.
- last
Modified StringAt - The timestamp of resource last modification (UTC)
- last
Modified StringBy - The identity that last modified the resource.
- last
Modified StringBy Type - The type of identity that last modified the resource.
TrackPropertyConditionResponse, TrackPropertyConditionResponseArgs
TrackSelectionResponse, TrackSelectionResponseArgs
- Track
Selections List<Pulumi.Azure Native. Media. Inputs. Track Property Condition Response> - TrackSelections is a track property condition list which can specify track(s)
- Track
Selections []TrackProperty Condition Response - TrackSelections is a track property condition list which can specify track(s)
- track
Selections List<TrackProperty Condition Response> - TrackSelections is a track property condition list which can specify track(s)
- track
Selections TrackProperty Condition Response[] - TrackSelections is a track property condition list which can specify track(s)
- track_
selections Sequence[TrackProperty Condition Response] - TrackSelections is a track property condition list which can specify track(s)
- track
Selections List<Property Map> - TrackSelections is a track property condition list which can specify track(s)
Import
An existing resource can be imported using its type token, name, and identifier, e.g.
$ pulumi import azure-native:media:StreamingLocator UserCreatedSecureStreamingLocatorWithUserDefinedContentKeys /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Media/mediaServices/{accountName}/streamingLocators/{streamingLocatorName}
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0