azure-native.media.MediaGraph

The Media Graph. API Version: 2020-02-01-preview.

Example Usage

Create or update a Media Graph with a clear RTSP Source

using System.Collections.Generic;
using Pulumi;
using AzureNative = Pulumi.AzureNative;

return await Deployment.RunAsync(() => 
{
    var mediaGraph = new AzureNative.Media.MediaGraph("mediaGraph", new()
    {
        AccountName = "contosomedia",
        Description = "updated description",
        MediaGraphName = "SampleMediaGraph",
        ResourceGroupName = "contoso",
        Sinks = new[]
        {
            
            {
                { "assetName", "SampleAsset" },
                { "inputs", new[]
                {
                    "rtspSource",
                } },
                { "name", "AssetSink" },
                { "odataType", "#Microsoft.Media.MediaGraphAssetSink" },
            },
        },
        Sources = new[]
        {
            
            {
                { "endpoint", new AzureNative.Media.Inputs.MediaGraphClearEndpointArgs
                {
                    Credentials = new AzureNative.Media.Inputs.MediaGraphUsernamePasswordCredentialsArgs
                    {
                        OdataType = "#Microsoft.Media.MediaGraphUsernamePasswordCredentials",
                        Password = "examplepassword",
                        Username = "exampleusername",
                    },
                    OdataType = "#Microsoft.Media.MediaGraphClearEndpoint",
                    Url = "rtsp://contoso.com:554/stream1",
                } },
                { "name", "rtspSource" },
                { "odataType", "#Microsoft.Media.MediaGraphRtspSource" },
                { "transport", "Http" },
            },
        },
    });

});
package main

import (
	media "github.com/pulumi/pulumi-azure-native/sdk/go/azure/media"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := media.NewMediaGraph(ctx, "mediaGraph", &media.MediaGraphArgs{
			AccountName:       pulumi.String("contosomedia"),
			Description:       pulumi.String("updated description"),
			MediaGraphName:    pulumi.String("SampleMediaGraph"),
			ResourceGroupName: pulumi.String("contoso"),
			Sinks: []media.MediaGraphAssetSinkArgs{
				{
					AssetName: pulumi.String("SampleAsset"),
					Inputs: pulumi.StringArray{
						pulumi.String("rtspSource"),
					},
					Name:      pulumi.String("AssetSink"),
					OdataType: pulumi.String("#Microsoft.Media.MediaGraphAssetSink"),
				},
			},
			Sources: []media.MediaGraphRtspSourceArgs{
				{
					Endpoint: {
						Credentials: {
							OdataType: "#Microsoft.Media.MediaGraphUsernamePasswordCredentials",
							Password:  "examplepassword",
							Username:  "exampleusername",
						},
						OdataType: "#Microsoft.Media.MediaGraphClearEndpoint",
						Url:       "rtsp://contoso.com:554/stream1",
					},
					Name:      pulumi.String("rtspSource"),
					OdataType: pulumi.String("#Microsoft.Media.MediaGraphRtspSource"),
					Transport: pulumi.String("Http"),
				},
			},
		})
		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.MediaGraph;
import com.pulumi.azurenative.media.MediaGraphArgs;
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 mediaGraph = new MediaGraph("mediaGraph", MediaGraphArgs.builder()        
            .accountName("contosomedia")
            .description("updated description")
            .mediaGraphName("SampleMediaGraph")
            .resourceGroupName("contoso")
            .sinks(Map.ofEntries(
                Map.entry("assetName", "SampleAsset"),
                Map.entry("inputs", "rtspSource"),
                Map.entry("name", "AssetSink"),
                Map.entry("odataType", "#Microsoft.Media.MediaGraphAssetSink")
            ))
            .sources(Map.ofEntries(
                Map.entry("endpoint", Map.ofEntries(
                    Map.entry("credentials", Map.ofEntries(
                        Map.entry("odataType", "#Microsoft.Media.MediaGraphUsernamePasswordCredentials"),
                        Map.entry("password", "examplepassword"),
                        Map.entry("username", "exampleusername")
                    )),
                    Map.entry("odataType", "#Microsoft.Media.MediaGraphClearEndpoint"),
                    Map.entry("url", "rtsp://contoso.com:554/stream1")
                )),
                Map.entry("name", "rtspSource"),
                Map.entry("odataType", "#Microsoft.Media.MediaGraphRtspSource"),
                Map.entry("transport", "Http")
            ))
            .build());

    }
}
import pulumi
import pulumi_azure_native as azure_native

media_graph = azure_native.media.MediaGraph("mediaGraph",
    account_name="contosomedia",
    description="updated description",
    media_graph_name="SampleMediaGraph",
    resource_group_name="contoso",
    sinks=[azure_native.media.MediaGraphAssetSinkResponseArgs(
        asset_name="SampleAsset",
        inputs=["rtspSource"],
        name="AssetSink",
        odata_type="#Microsoft.Media.MediaGraphAssetSink",
    )],
    sources=[azure_native.media.MediaGraphRtspSourceResponseArgs(
        endpoint=azure_native.media.MediaGraphClearEndpointArgs(
            credentials=azure_native.media.MediaGraphUsernamePasswordCredentialsArgs(
                odata_type="#Microsoft.Media.MediaGraphUsernamePasswordCredentials",
                password="examplepassword",
                username="exampleusername",
            ),
            odata_type="#Microsoft.Media.MediaGraphClearEndpoint",
            url="rtsp://contoso.com:554/stream1",
        ),
        name="rtspSource",
        odata_type="#Microsoft.Media.MediaGraphRtspSource",
        transport="Http",
    )])
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";

const mediaGraph = new azure_native.media.MediaGraph("mediaGraph", {
    accountName: "contosomedia",
    description: "updated description",
    mediaGraphName: "SampleMediaGraph",
    resourceGroupName: "contoso",
    sinks: [{
        assetName: "SampleAsset",
        inputs: ["rtspSource"],
        name: "AssetSink",
        odataType: "#Microsoft.Media.MediaGraphAssetSink",
    }],
    sources: [{
        endpoint: {
            credentials: {
                odataType: "#Microsoft.Media.MediaGraphUsernamePasswordCredentials",
                password: "examplepassword",
                username: "exampleusername",
            },
            odataType: "#Microsoft.Media.MediaGraphClearEndpoint",
            url: "rtsp://contoso.com:554/stream1",
        },
        name: "rtspSource",
        odataType: "#Microsoft.Media.MediaGraphRtspSource",
        transport: "Http",
    }],
});
resources:
  mediaGraph:
    type: azure-native:media:MediaGraph
    properties:
      accountName: contosomedia
      description: updated description
      mediaGraphName: SampleMediaGraph
      resourceGroupName: contoso
      sinks:
        - assetName: SampleAsset
          inputs:
            - rtspSource
          name: AssetSink
          odataType: '#Microsoft.Media.MediaGraphAssetSink'
      sources:
        - endpoint:
            credentials:
              odataType: '#Microsoft.Media.MediaGraphUsernamePasswordCredentials'
              password: examplepassword
              username: exampleusername
            odataType: '#Microsoft.Media.MediaGraphClearEndpoint'
            url: rtsp://contoso.com:554/stream1
          name: rtspSource
          odataType: '#Microsoft.Media.MediaGraphRtspSource'
          transport: Http

Create or update a Media Graph with an encrypted RTSP Source

using System.Collections.Generic;
using Pulumi;
using AzureNative = Pulumi.AzureNative;

return await Deployment.RunAsync(() => 
{
    var mediaGraph = new AzureNative.Media.MediaGraph("mediaGraph", new()
    {
        AccountName = "contosomedia",
        Description = "updated description",
        MediaGraphName = "SampleMediaGraph",
        ResourceGroupName = "contoso",
        Sinks = new[]
        {
            
            {
                { "assetName", "SampleAsset" },
                { "inputs", new[]
                {
                    "rtspSource",
                } },
                { "name", "AssetSink" },
                { "odataType", "#Microsoft.Media.MediaGraphAssetSink" },
            },
        },
        Sources = new[]
        {
            
            {
                { "endpoint", new AzureNative.Media.Inputs.MediaGraphTlsEndpointArgs
                {
                    Credentials = new AzureNative.Media.Inputs.MediaGraphUsernamePasswordCredentialsArgs
                    {
                        OdataType = "#Microsoft.Media.MediaGraphUsernamePasswordCredentials",
                        Password = "examplepassword",
                        Username = "exampleusername",
                    },
                    OdataType = "#Microsoft.Media.MediaGraphTlsEndpoint",
                    TrustedCertificates = new AzureNative.Media.Inputs.MediaGraphPemCertificateListArgs
                    {
                        Certificates = new[]
                        {
                            @"-----BEGIN CERTIFICATE-----
MIIDhTCCAm2gAwIBAgIUajvPKmoO+8qaO89/ZGATl7ZYnTswDQYJKoZIhvcNAQEL
BQAwUTESMBAGA1UECgwJTWljcm9zb2Z0MRQwEgYDVQQLDAtBenVyZSBNZWRpYTEl
MCMGA1UEAwwcKFVudHJ1c3RlZCkgVGVzdCBDZXJ0aWZpY2F0ZTAgFw0yMDAyMDYy
MTI5MTlaGA8zMDE5MDYwOTIxMjkxOVowUTESMBAGA1UECgwJTWljcm9zb2Z0MRQw
EgYDVQQLDAtBenVyZSBNZWRpYTElMCMGA1UEAwwcKFVudHJ1c3RlZCkgVGVzdCBD
ZXJ0aWZpY2F0ZTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAK2lg5ff
7xXPaBZXHl/zrTukdiBtu7BNIOchHba51eloruPRzpvQx7Pedk3CVTut7LYinijf
uol0EwkQ2FLt2i2jOqiva9nXR95ujIZHcKsEeMC4RSNSP4++k6SpP8FgyYVdv5ru
f8GC+HyYQ4j0TqpR/cJs53l/LGRSldaFZ6fcDde1jeyca4VivAbAH1/WDIOvmjzo
9XIGxZ10VSS5l5+DIgdkJZ+mDMLJIuVZ0YVF16ZGEB3beq1trk5lItvmSjQLTllH
qMFm9UGY8jKZSo/BY8ewHEtnGSAFQK0TVuRx1HhUWwu6C9jk+2zmRS2090BNpQWa
JMKFJrSPzFDPRX8CAwEAAaNTMFEwHQYDVR0OBBYEFIumbhu0lYk0EFDThEg0yyIn
/wZZMB8GA1UdIwQYMBaAFIumbhu0lYk0EFDThEg0yyIn/wZZMA8GA1UdEwEB/wQF
MAMBAf8wDQYJKoZIhvcNAQELBQADggEBADUNw+/NGNVtigq9tMJKqlk39MTpDn1s
Z1BVIAuAWSQjlevYZJeDIPUiWNWFhRe+xN7oOLnn2+NIXEKKeMSyuPoZYbN0mBkB
99oS3XVipSANpmDvIepNdCrOnjfqDFIifRF1Dqjtb6i1hb6v/qYKVPLQvcrgGur7
PKKkAu9p4YRZ3RBdwwaUuMgojrj/l6DGbeJY6IRVnVMY39rryMnZjA5xUlhCu55n
oB3t/jsJLwnQN+JbAjLAeuqgOWtgARsEFzvpt+VvDsaj0YLOJPhyJwTvHgaa/slB
nECzd3TuyFKYeGssSni/QQ1e7yZcLapQqz66g5otdriw0IRdOfDxm5M=
-----END CERTIFICATE-----",
                        },
                        OdataType = "#Microsoft.Media.MediaGraphPemCertificateList",
                    },
                    Url = "rtsps://contoso.com:443/stream1",
                    ValidationOptions = new AzureNative.Media.Inputs.MediaGraphTlsValidationOptionsArgs
                    {
                        IgnoreHostname = true,
                        IgnoreSignature = false,
                    },
                } },
                { "name", "rtspSource" },
                { "odataType", "#Microsoft.Media.MediaGraphRtspSource" },
                { "transport", "Http" },
            },
        },
    });

});
package main

import (
	media "github.com/pulumi/pulumi-azure-native/sdk/go/azure/media"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := media.NewMediaGraph(ctx, "mediaGraph", &media.MediaGraphArgs{
			AccountName:       pulumi.String("contosomedia"),
			Description:       pulumi.String("updated description"),
			MediaGraphName:    pulumi.String("SampleMediaGraph"),
			ResourceGroupName: pulumi.String("contoso"),
			Sinks: []media.MediaGraphAssetSinkArgs{
				{
					AssetName: pulumi.String("SampleAsset"),
					Inputs: pulumi.StringArray{
						pulumi.String("rtspSource"),
					},
					Name:      pulumi.String("AssetSink"),
					OdataType: pulumi.String("#Microsoft.Media.MediaGraphAssetSink"),
				},
			},
			Sources: []media.MediaGraphRtspSourceArgs{
				{
					Endpoint: {
						Credentials: {
							OdataType: "#Microsoft.Media.MediaGraphUsernamePasswordCredentials",
							Password:  "examplepassword",
							Username:  "exampleusername",
						},
						OdataType: "#Microsoft.Media.MediaGraphTlsEndpoint",
						TrustedCertificates: {
							Certificates: []string{
								"-----BEGIN CERTIFICATE-----\nMIIDhTCCAm2gAwIBAgIUajvPKmoO+8qaO89/ZGATl7ZYnTswDQYJKoZIhvcNAQEL\nBQAwUTESMBAGA1UECgwJTWljcm9zb2Z0MRQwEgYDVQQLDAtBenVyZSBNZWRpYTEl\nMCMGA1UEAwwcKFVudHJ1c3RlZCkgVGVzdCBDZXJ0aWZpY2F0ZTAgFw0yMDAyMDYy\nMTI5MTlaGA8zMDE5MDYwOTIxMjkxOVowUTESMBAGA1UECgwJTWljcm9zb2Z0MRQw\nEgYDVQQLDAtBenVyZSBNZWRpYTElMCMGA1UEAwwcKFVudHJ1c3RlZCkgVGVzdCBD\nZXJ0aWZpY2F0ZTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAK2lg5ff\n7xXPaBZXHl/zrTukdiBtu7BNIOchHba51eloruPRzpvQx7Pedk3CVTut7LYinijf\nuol0EwkQ2FLt2i2jOqiva9nXR95ujIZHcKsEeMC4RSNSP4++k6SpP8FgyYVdv5ru\nf8GC+HyYQ4j0TqpR/cJs53l/LGRSldaFZ6fcDde1jeyca4VivAbAH1/WDIOvmjzo\n9XIGxZ10VSS5l5+DIgdkJZ+mDMLJIuVZ0YVF16ZGEB3beq1trk5lItvmSjQLTllH\nqMFm9UGY8jKZSo/BY8ewHEtnGSAFQK0TVuRx1HhUWwu6C9jk+2zmRS2090BNpQWa\nJMKFJrSPzFDPRX8CAwEAAaNTMFEwHQYDVR0OBBYEFIumbhu0lYk0EFDThEg0yyIn\n/wZZMB8GA1UdIwQYMBaAFIumbhu0lYk0EFDThEg0yyIn/wZZMA8GA1UdEwEB/wQF\nMAMBAf8wDQYJKoZIhvcNAQELBQADggEBADUNw+/NGNVtigq9tMJKqlk39MTpDn1s\nZ1BVIAuAWSQjlevYZJeDIPUiWNWFhRe+xN7oOLnn2+NIXEKKeMSyuPoZYbN0mBkB\n99oS3XVipSANpmDvIepNdCrOnjfqDFIifRF1Dqjtb6i1hb6v/qYKVPLQvcrgGur7\nPKKkAu9p4YRZ3RBdwwaUuMgojrj/l6DGbeJY6IRVnVMY39rryMnZjA5xUlhCu55n\noB3t/jsJLwnQN+JbAjLAeuqgOWtgARsEFzvpt+VvDsaj0YLOJPhyJwTvHgaa/slB\nnECzd3TuyFKYeGssSni/QQ1e7yZcLapQqz66g5otdriw0IRdOfDxm5M=\n-----END CERTIFICATE-----",
							},
							OdataType: "#Microsoft.Media.MediaGraphPemCertificateList",
						},
						Url: "rtsps://contoso.com:443/stream1",
						ValidationOptions: {
							IgnoreHostname:  true,
							IgnoreSignature: false,
						},
					},
					Name:      pulumi.String("rtspSource"),
					OdataType: pulumi.String("#Microsoft.Media.MediaGraphRtspSource"),
					Transport: pulumi.String("Http"),
				},
			},
		})
		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.MediaGraph;
import com.pulumi.azurenative.media.MediaGraphArgs;
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 mediaGraph = new MediaGraph("mediaGraph", MediaGraphArgs.builder()        
            .accountName("contosomedia")
            .description("updated description")
            .mediaGraphName("SampleMediaGraph")
            .resourceGroupName("contoso")
            .sinks(Map.ofEntries(
                Map.entry("assetName", "SampleAsset"),
                Map.entry("inputs", "rtspSource"),
                Map.entry("name", "AssetSink"),
                Map.entry("odataType", "#Microsoft.Media.MediaGraphAssetSink")
            ))
            .sources(Map.ofEntries(
                Map.entry("endpoint", Map.ofEntries(
                    Map.entry("credentials", Map.ofEntries(
                        Map.entry("odataType", "#Microsoft.Media.MediaGraphUsernamePasswordCredentials"),
                        Map.entry("password", "examplepassword"),
                        Map.entry("username", "exampleusername")
                    )),
                    Map.entry("odataType", "#Microsoft.Media.MediaGraphTlsEndpoint"),
                    Map.entry("trustedCertificates", Map.ofEntries(
                        Map.entry("certificates", """
-----BEGIN CERTIFICATE-----
MIIDhTCCAm2gAwIBAgIUajvPKmoO+8qaO89/ZGATl7ZYnTswDQYJKoZIhvcNAQEL
BQAwUTESMBAGA1UECgwJTWljcm9zb2Z0MRQwEgYDVQQLDAtBenVyZSBNZWRpYTEl
MCMGA1UEAwwcKFVudHJ1c3RlZCkgVGVzdCBDZXJ0aWZpY2F0ZTAgFw0yMDAyMDYy
MTI5MTlaGA8zMDE5MDYwOTIxMjkxOVowUTESMBAGA1UECgwJTWljcm9zb2Z0MRQw
EgYDVQQLDAtBenVyZSBNZWRpYTElMCMGA1UEAwwcKFVudHJ1c3RlZCkgVGVzdCBD
ZXJ0aWZpY2F0ZTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAK2lg5ff
7xXPaBZXHl/zrTukdiBtu7BNIOchHba51eloruPRzpvQx7Pedk3CVTut7LYinijf
uol0EwkQ2FLt2i2jOqiva9nXR95ujIZHcKsEeMC4RSNSP4++k6SpP8FgyYVdv5ru
f8GC+HyYQ4j0TqpR/cJs53l/LGRSldaFZ6fcDde1jeyca4VivAbAH1/WDIOvmjzo
9XIGxZ10VSS5l5+DIgdkJZ+mDMLJIuVZ0YVF16ZGEB3beq1trk5lItvmSjQLTllH
qMFm9UGY8jKZSo/BY8ewHEtnGSAFQK0TVuRx1HhUWwu6C9jk+2zmRS2090BNpQWa
JMKFJrSPzFDPRX8CAwEAAaNTMFEwHQYDVR0OBBYEFIumbhu0lYk0EFDThEg0yyIn
/wZZMB8GA1UdIwQYMBaAFIumbhu0lYk0EFDThEg0yyIn/wZZMA8GA1UdEwEB/wQF
MAMBAf8wDQYJKoZIhvcNAQELBQADggEBADUNw+/NGNVtigq9tMJKqlk39MTpDn1s
Z1BVIAuAWSQjlevYZJeDIPUiWNWFhRe+xN7oOLnn2+NIXEKKeMSyuPoZYbN0mBkB
99oS3XVipSANpmDvIepNdCrOnjfqDFIifRF1Dqjtb6i1hb6v/qYKVPLQvcrgGur7
PKKkAu9p4YRZ3RBdwwaUuMgojrj/l6DGbeJY6IRVnVMY39rryMnZjA5xUlhCu55n
oB3t/jsJLwnQN+JbAjLAeuqgOWtgARsEFzvpt+VvDsaj0YLOJPhyJwTvHgaa/slB
nECzd3TuyFKYeGssSni/QQ1e7yZcLapQqz66g5otdriw0IRdOfDxm5M=
-----END CERTIFICATE-----                        """),
                        Map.entry("odataType", "#Microsoft.Media.MediaGraphPemCertificateList")
                    )),
                    Map.entry("url", "rtsps://contoso.com:443/stream1"),
                    Map.entry("validationOptions", Map.ofEntries(
                        Map.entry("ignoreHostname", true),
                        Map.entry("ignoreSignature", false)
                    ))
                )),
                Map.entry("name", "rtspSource"),
                Map.entry("odataType", "#Microsoft.Media.MediaGraphRtspSource"),
                Map.entry("transport", "Http")
            ))
            .build());

    }
}
import pulumi
import pulumi_azure_native as azure_native

media_graph = azure_native.media.MediaGraph("mediaGraph",
    account_name="contosomedia",
    description="updated description",
    media_graph_name="SampleMediaGraph",
    resource_group_name="contoso",
    sinks=[azure_native.media.MediaGraphAssetSinkResponseArgs(
        asset_name="SampleAsset",
        inputs=["rtspSource"],
        name="AssetSink",
        odata_type="#Microsoft.Media.MediaGraphAssetSink",
    )],
    sources=[azure_native.media.MediaGraphRtspSourceResponseArgs(
        endpoint=azure_native.media.MediaGraphTlsEndpointArgs(
            credentials=azure_native.media.MediaGraphUsernamePasswordCredentialsArgs(
                odata_type="#Microsoft.Media.MediaGraphUsernamePasswordCredentials",
                password="examplepassword",
                username="exampleusername",
            ),
            odata_type="#Microsoft.Media.MediaGraphTlsEndpoint",
            trusted_certificates=azure_native.media.MediaGraphPemCertificateListArgs(
                certificates=["""-----BEGIN CERTIFICATE-----
MIIDhTCCAm2gAwIBAgIUajvPKmoO+8qaO89/ZGATl7ZYnTswDQYJKoZIhvcNAQEL
BQAwUTESMBAGA1UECgwJTWljcm9zb2Z0MRQwEgYDVQQLDAtBenVyZSBNZWRpYTEl
MCMGA1UEAwwcKFVudHJ1c3RlZCkgVGVzdCBDZXJ0aWZpY2F0ZTAgFw0yMDAyMDYy
MTI5MTlaGA8zMDE5MDYwOTIxMjkxOVowUTESMBAGA1UECgwJTWljcm9zb2Z0MRQw
EgYDVQQLDAtBenVyZSBNZWRpYTElMCMGA1UEAwwcKFVudHJ1c3RlZCkgVGVzdCBD
ZXJ0aWZpY2F0ZTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAK2lg5ff
7xXPaBZXHl/zrTukdiBtu7BNIOchHba51eloruPRzpvQx7Pedk3CVTut7LYinijf
uol0EwkQ2FLt2i2jOqiva9nXR95ujIZHcKsEeMC4RSNSP4++k6SpP8FgyYVdv5ru
f8GC+HyYQ4j0TqpR/cJs53l/LGRSldaFZ6fcDde1jeyca4VivAbAH1/WDIOvmjzo
9XIGxZ10VSS5l5+DIgdkJZ+mDMLJIuVZ0YVF16ZGEB3beq1trk5lItvmSjQLTllH
qMFm9UGY8jKZSo/BY8ewHEtnGSAFQK0TVuRx1HhUWwu6C9jk+2zmRS2090BNpQWa
JMKFJrSPzFDPRX8CAwEAAaNTMFEwHQYDVR0OBBYEFIumbhu0lYk0EFDThEg0yyIn
/wZZMB8GA1UdIwQYMBaAFIumbhu0lYk0EFDThEg0yyIn/wZZMA8GA1UdEwEB/wQF
MAMBAf8wDQYJKoZIhvcNAQELBQADggEBADUNw+/NGNVtigq9tMJKqlk39MTpDn1s
Z1BVIAuAWSQjlevYZJeDIPUiWNWFhRe+xN7oOLnn2+NIXEKKeMSyuPoZYbN0mBkB
99oS3XVipSANpmDvIepNdCrOnjfqDFIifRF1Dqjtb6i1hb6v/qYKVPLQvcrgGur7
PKKkAu9p4YRZ3RBdwwaUuMgojrj/l6DGbeJY6IRVnVMY39rryMnZjA5xUlhCu55n
oB3t/jsJLwnQN+JbAjLAeuqgOWtgARsEFzvpt+VvDsaj0YLOJPhyJwTvHgaa/slB
nECzd3TuyFKYeGssSni/QQ1e7yZcLapQqz66g5otdriw0IRdOfDxm5M=
-----END CERTIFICATE-----"""],
                odata_type="#Microsoft.Media.MediaGraphPemCertificateList",
            ),
            url="rtsps://contoso.com:443/stream1",
            validation_options=azure_native.media.MediaGraphTlsValidationOptionsArgs(
                ignore_hostname=True,
                ignore_signature=False,
            ),
        ),
        name="rtspSource",
        odata_type="#Microsoft.Media.MediaGraphRtspSource",
        transport="Http",
    )])
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";

const mediaGraph = new azure_native.media.MediaGraph("mediaGraph", {
    accountName: "contosomedia",
    description: "updated description",
    mediaGraphName: "SampleMediaGraph",
    resourceGroupName: "contoso",
    sinks: [{
        assetName: "SampleAsset",
        inputs: ["rtspSource"],
        name: "AssetSink",
        odataType: "#Microsoft.Media.MediaGraphAssetSink",
    }],
    sources: [{
        endpoint: {
            credentials: {
                odataType: "#Microsoft.Media.MediaGraphUsernamePasswordCredentials",
                password: "examplepassword",
                username: "exampleusername",
            },
            odataType: "#Microsoft.Media.MediaGraphTlsEndpoint",
            trustedCertificates: {
                certificates: [`-----BEGIN CERTIFICATE-----
MIIDhTCCAm2gAwIBAgIUajvPKmoO+8qaO89/ZGATl7ZYnTswDQYJKoZIhvcNAQEL
BQAwUTESMBAGA1UECgwJTWljcm9zb2Z0MRQwEgYDVQQLDAtBenVyZSBNZWRpYTEl
MCMGA1UEAwwcKFVudHJ1c3RlZCkgVGVzdCBDZXJ0aWZpY2F0ZTAgFw0yMDAyMDYy
MTI5MTlaGA8zMDE5MDYwOTIxMjkxOVowUTESMBAGA1UECgwJTWljcm9zb2Z0MRQw
EgYDVQQLDAtBenVyZSBNZWRpYTElMCMGA1UEAwwcKFVudHJ1c3RlZCkgVGVzdCBD
ZXJ0aWZpY2F0ZTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAK2lg5ff
7xXPaBZXHl/zrTukdiBtu7BNIOchHba51eloruPRzpvQx7Pedk3CVTut7LYinijf
uol0EwkQ2FLt2i2jOqiva9nXR95ujIZHcKsEeMC4RSNSP4++k6SpP8FgyYVdv5ru
f8GC+HyYQ4j0TqpR/cJs53l/LGRSldaFZ6fcDde1jeyca4VivAbAH1/WDIOvmjzo
9XIGxZ10VSS5l5+DIgdkJZ+mDMLJIuVZ0YVF16ZGEB3beq1trk5lItvmSjQLTllH
qMFm9UGY8jKZSo/BY8ewHEtnGSAFQK0TVuRx1HhUWwu6C9jk+2zmRS2090BNpQWa
JMKFJrSPzFDPRX8CAwEAAaNTMFEwHQYDVR0OBBYEFIumbhu0lYk0EFDThEg0yyIn
/wZZMB8GA1UdIwQYMBaAFIumbhu0lYk0EFDThEg0yyIn/wZZMA8GA1UdEwEB/wQF
MAMBAf8wDQYJKoZIhvcNAQELBQADggEBADUNw+/NGNVtigq9tMJKqlk39MTpDn1s
Z1BVIAuAWSQjlevYZJeDIPUiWNWFhRe+xN7oOLnn2+NIXEKKeMSyuPoZYbN0mBkB
99oS3XVipSANpmDvIepNdCrOnjfqDFIifRF1Dqjtb6i1hb6v/qYKVPLQvcrgGur7
PKKkAu9p4YRZ3RBdwwaUuMgojrj/l6DGbeJY6IRVnVMY39rryMnZjA5xUlhCu55n
oB3t/jsJLwnQN+JbAjLAeuqgOWtgARsEFzvpt+VvDsaj0YLOJPhyJwTvHgaa/slB
nECzd3TuyFKYeGssSni/QQ1e7yZcLapQqz66g5otdriw0IRdOfDxm5M=
-----END CERTIFICATE-----`],
                odataType: "#Microsoft.Media.MediaGraphPemCertificateList",
            },
            url: "rtsps://contoso.com:443/stream1",
            validationOptions: {
                ignoreHostname: true,
                ignoreSignature: false,
            },
        },
        name: "rtspSource",
        odataType: "#Microsoft.Media.MediaGraphRtspSource",
        transport: "Http",
    }],
});
resources:
  mediaGraph:
    type: azure-native:media:MediaGraph
    properties:
      accountName: contosomedia
      description: updated description
      mediaGraphName: SampleMediaGraph
      resourceGroupName: contoso
      sinks:
        - assetName: SampleAsset
          inputs:
            - rtspSource
          name: AssetSink
          odataType: '#Microsoft.Media.MediaGraphAssetSink'
      sources:
        - endpoint:
            credentials:
              odataType: '#Microsoft.Media.MediaGraphUsernamePasswordCredentials'
              password: examplepassword
              username: exampleusername
            odataType: '#Microsoft.Media.MediaGraphTlsEndpoint'
            trustedCertificates:
              certificates:
                - |-
                  -----BEGIN CERTIFICATE-----
                  MIIDhTCCAm2gAwIBAgIUajvPKmoO+8qaO89/ZGATl7ZYnTswDQYJKoZIhvcNAQEL
                  BQAwUTESMBAGA1UECgwJTWljcm9zb2Z0MRQwEgYDVQQLDAtBenVyZSBNZWRpYTEl
                  MCMGA1UEAwwcKFVudHJ1c3RlZCkgVGVzdCBDZXJ0aWZpY2F0ZTAgFw0yMDAyMDYy
                  MTI5MTlaGA8zMDE5MDYwOTIxMjkxOVowUTESMBAGA1UECgwJTWljcm9zb2Z0MRQw
                  EgYDVQQLDAtBenVyZSBNZWRpYTElMCMGA1UEAwwcKFVudHJ1c3RlZCkgVGVzdCBD
                  ZXJ0aWZpY2F0ZTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAK2lg5ff
                  7xXPaBZXHl/zrTukdiBtu7BNIOchHba51eloruPRzpvQx7Pedk3CVTut7LYinijf
                  uol0EwkQ2FLt2i2jOqiva9nXR95ujIZHcKsEeMC4RSNSP4++k6SpP8FgyYVdv5ru
                  f8GC+HyYQ4j0TqpR/cJs53l/LGRSldaFZ6fcDde1jeyca4VivAbAH1/WDIOvmjzo
                  9XIGxZ10VSS5l5+DIgdkJZ+mDMLJIuVZ0YVF16ZGEB3beq1trk5lItvmSjQLTllH
                  qMFm9UGY8jKZSo/BY8ewHEtnGSAFQK0TVuRx1HhUWwu6C9jk+2zmRS2090BNpQWa
                  JMKFJrSPzFDPRX8CAwEAAaNTMFEwHQYDVR0OBBYEFIumbhu0lYk0EFDThEg0yyIn
                  /wZZMB8GA1UdIwQYMBaAFIumbhu0lYk0EFDThEg0yyIn/wZZMA8GA1UdEwEB/wQF
                  MAMBAf8wDQYJKoZIhvcNAQELBQADggEBADUNw+/NGNVtigq9tMJKqlk39MTpDn1s
                  Z1BVIAuAWSQjlevYZJeDIPUiWNWFhRe+xN7oOLnn2+NIXEKKeMSyuPoZYbN0mBkB
                  99oS3XVipSANpmDvIepNdCrOnjfqDFIifRF1Dqjtb6i1hb6v/qYKVPLQvcrgGur7
                  PKKkAu9p4YRZ3RBdwwaUuMgojrj/l6DGbeJY6IRVnVMY39rryMnZjA5xUlhCu55n
                  oB3t/jsJLwnQN+JbAjLAeuqgOWtgARsEFzvpt+VvDsaj0YLOJPhyJwTvHgaa/slB
                  nECzd3TuyFKYeGssSni/QQ1e7yZcLapQqz66g5otdriw0IRdOfDxm5M=
                  -----END CERTIFICATE-----                  
              odataType: '#Microsoft.Media.MediaGraphPemCertificateList'
            url: rtsps://contoso.com:443/stream1
            validationOptions:
              ignoreHostname: true
              ignoreSignature: false
          name: rtspSource
          odataType: '#Microsoft.Media.MediaGraphRtspSource'
          transport: Http

Create MediaGraph Resource

new MediaGraph(name: string, args: MediaGraphArgs, opts?: CustomResourceOptions);
@overload
def MediaGraph(resource_name: str,
               opts: Optional[ResourceOptions] = None,
               account_name: Optional[str] = None,
               description: Optional[str] = None,
               media_graph_name: Optional[str] = None,
               resource_group_name: Optional[str] = None,
               sinks: Optional[Sequence[MediaGraphAssetSinkArgs]] = None,
               sources: Optional[Sequence[MediaGraphRtspSourceArgs]] = None)
@overload
def MediaGraph(resource_name: str,
               args: MediaGraphArgs,
               opts: Optional[ResourceOptions] = None)
func NewMediaGraph(ctx *Context, name string, args MediaGraphArgs, opts ...ResourceOption) (*MediaGraph, error)
public MediaGraph(string name, MediaGraphArgs args, CustomResourceOptions? opts = null)
public MediaGraph(String name, MediaGraphArgs args)
public MediaGraph(String name, MediaGraphArgs args, CustomResourceOptions options)
type: azure-native:media:MediaGraph
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

name string
The unique name of the resource.
args MediaGraphArgs
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 MediaGraphArgs
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 MediaGraphArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args MediaGraphArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name String
The unique name of the resource.
args MediaGraphArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

MediaGraph Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

Inputs

The MediaGraph resource accepts the following input properties:

AccountName string

The Media Services account name.

ResourceGroupName string

The name of the resource group within the Azure subscription.

Sinks List<Pulumi.AzureNative.Media.Inputs.MediaGraphAssetSinkArgs>

Media Graph sinks.

Sources List<Pulumi.AzureNative.Media.Inputs.MediaGraphRtspSourceArgs>

Media Graph sources.

Description string

Media Graph description.

MediaGraphName string

The Media Graph name.

AccountName string

The Media Services account name.

ResourceGroupName string

The name of the resource group within the Azure subscription.

Sinks []MediaGraphAssetSinkArgs

Media Graph sinks.

Sources []MediaGraphRtspSourceArgs

Media Graph sources.

Description string

Media Graph description.

MediaGraphName string

The Media Graph name.

accountName String

The Media Services account name.

resourceGroupName String

The name of the resource group within the Azure subscription.

sinks List<MediaGraphAssetSinkArgs>

Media Graph sinks.

sources List<MediaGraphRtspSourceArgs>

Media Graph sources.

description String

Media Graph description.

mediaGraphName String

The Media Graph name.

accountName string

The Media Services account name.

resourceGroupName string

The name of the resource group within the Azure subscription.

sinks MediaGraphAssetSinkArgs[]

Media Graph sinks.

sources MediaGraphRtspSourceArgs[]

Media Graph sources.

description string

Media Graph description.

mediaGraphName string

The Media Graph name.

account_name str

The Media Services account name.

resource_group_name str

The name of the resource group within the Azure subscription.

sinks Sequence[MediaGraphAssetSinkArgs]

Media Graph sinks.

sources Sequence[MediaGraphRtspSourceArgs]

Media Graph sources.

description str

Media Graph description.

media_graph_name str

The Media Graph name.

accountName String

The Media Services account name.

resourceGroupName String

The name of the resource group within the Azure subscription.

sinks List<Property Map>

Media Graph sinks.

sources List<Property Map>

Media Graph sources.

description String

Media Graph description.

mediaGraphName String

The Media Graph name.

Outputs

All input properties are implicitly available as output properties. Additionally, the MediaGraph resource produces the following output properties:

Created string

Date the Media Graph was created.

Id string

The provider-assigned unique ID for this managed resource.

LastModified string

Date the Media Graph was last modified.

Name string

The name of the resource.

State string

Media Graph state which indicates the resource allocation status for running the media graph pipeline.

Type string

The type of the resource.

Created string

Date the Media Graph was created.

Id string

The provider-assigned unique ID for this managed resource.

LastModified string

Date the Media Graph was last modified.

Name string

The name of the resource.

State string

Media Graph state which indicates the resource allocation status for running the media graph pipeline.

Type string

The type of the resource.

created String

Date the Media Graph was created.

id String

The provider-assigned unique ID for this managed resource.

lastModified String

Date the Media Graph was last modified.

name String

The name of the resource.

state String

Media Graph state which indicates the resource allocation status for running the media graph pipeline.

type String

The type of the resource.

created string

Date the Media Graph was created.

id string

The provider-assigned unique ID for this managed resource.

lastModified string

Date the Media Graph was last modified.

name string

The name of the resource.

state string

Media Graph state which indicates the resource allocation status for running the media graph pipeline.

type string

The type of the resource.

created str

Date the Media Graph was created.

id str

The provider-assigned unique ID for this managed resource.

last_modified str

Date the Media Graph was last modified.

name str

The name of the resource.

state str

Media Graph state which indicates the resource allocation status for running the media graph pipeline.

type str

The type of the resource.

created String

Date the Media Graph was created.

id String

The provider-assigned unique ID for this managed resource.

lastModified String

Date the Media Graph was last modified.

name String

The name of the resource.

state String

Media Graph state which indicates the resource allocation status for running the media graph pipeline.

type String

The type of the resource.

Supporting Types

MediaGraphAssetSink

AssetName string

Asset name.

Inputs List<string>

Sink inputs.

Name string

Sink name.

AssetName string

Asset name.

Inputs []string

Sink inputs.

Name string

Sink name.

assetName String

Asset name.

inputs List<String>

Sink inputs.

name String

Sink name.

assetName string

Asset name.

inputs string[]

Sink inputs.

name string

Sink name.

asset_name str

Asset name.

inputs Sequence[str]

Sink inputs.

name str

Sink name.

assetName String

Asset name.

inputs List<String>

Sink inputs.

name String

Sink name.

MediaGraphAssetSinkResponse

AssetName string

Asset name.

Inputs List<string>

Sink inputs.

Name string

Sink name.

AssetName string

Asset name.

Inputs []string

Sink inputs.

Name string

Sink name.

assetName String

Asset name.

inputs List<String>

Sink inputs.

name String

Sink name.

assetName string

Asset name.

inputs string[]

Sink inputs.

name string

Sink name.

asset_name str

Asset name.

inputs Sequence[str]

Sink inputs.

name str

Sink name.

assetName String

Asset name.

inputs List<String>

Sink inputs.

name String

Sink name.

MediaGraphClearEndpoint

Url string

Url for the endpoint.

Credentials Pulumi.AzureNative.Media.Inputs.MediaGraphUsernamePasswordCredentials

Polymorphic credentials to present to the endpoint.

Url string

Url for the endpoint.

Credentials MediaGraphUsernamePasswordCredentials

Polymorphic credentials to present to the endpoint.

url String

Url for the endpoint.

credentials MediaGraphUsernamePasswordCredentials

Polymorphic credentials to present to the endpoint.

url string

Url for the endpoint.

credentials MediaGraphUsernamePasswordCredentials

Polymorphic credentials to present to the endpoint.

url str

Url for the endpoint.

credentials MediaGraphUsernamePasswordCredentials

Polymorphic credentials to present to the endpoint.

url String

Url for the endpoint.

credentials Property Map

Polymorphic credentials to present to the endpoint.

MediaGraphClearEndpointResponse

Url string

Url for the endpoint.

Credentials Pulumi.AzureNative.Media.Inputs.MediaGraphUsernamePasswordCredentialsResponse

Polymorphic credentials to present to the endpoint.

Url string

Url for the endpoint.

Credentials MediaGraphUsernamePasswordCredentialsResponse

Polymorphic credentials to present to the endpoint.

url String

Url for the endpoint.

credentials MediaGraphUsernamePasswordCredentialsResponse

Polymorphic credentials to present to the endpoint.

url string

Url for the endpoint.

credentials MediaGraphUsernamePasswordCredentialsResponse

Polymorphic credentials to present to the endpoint.

url str

Url for the endpoint.

credentials MediaGraphUsernamePasswordCredentialsResponse

Polymorphic credentials to present to the endpoint.

url String

Url for the endpoint.

credentials Property Map

Polymorphic credentials to present to the endpoint.

MediaGraphPemCertificateList

Certificates List<string>

PEM formatted public certificates, one per entry.

Certificates []string

PEM formatted public certificates, one per entry.

certificates List<String>

PEM formatted public certificates, one per entry.

certificates string[]

PEM formatted public certificates, one per entry.

certificates Sequence[str]

PEM formatted public certificates, one per entry.

certificates List<String>

PEM formatted public certificates, one per entry.

MediaGraphPemCertificateListResponse

Certificates List<string>

PEM formatted public certificates, one per entry.

Certificates []string

PEM formatted public certificates, one per entry.

certificates List<String>

PEM formatted public certificates, one per entry.

certificates string[]

PEM formatted public certificates, one per entry.

certificates Sequence[str]

PEM formatted public certificates, one per entry.

certificates List<String>

PEM formatted public certificates, one per entry.

MediaGraphRtspSource

Endpoint Pulumi.AzureNative.Media.Inputs.MediaGraphClearEndpoint | Pulumi.AzureNative.Media.Inputs.MediaGraphTlsEndpoint

RTSP endpoint of the stream being connected to.

Name string

Source name.

Transport string | Pulumi.AzureNative.Media.MediaGraphRtspTransport

Underlying RTSP transport. This can be used to enable or disable HTTP tunneling.

Endpoint MediaGraphClearEndpoint | MediaGraphTlsEndpoint

RTSP endpoint of the stream being connected to.

Name string

Source name.

Transport string | MediaGraphRtspTransport

Underlying RTSP transport. This can be used to enable or disable HTTP tunneling.

endpoint MediaGraphClearEndpoint | MediaGraphTlsEndpoint

RTSP endpoint of the stream being connected to.

name String

Source name.

transport String | MediaGraphRtspTransport

Underlying RTSP transport. This can be used to enable or disable HTTP tunneling.

endpoint MediaGraphClearEndpoint | MediaGraphTlsEndpoint

RTSP endpoint of the stream being connected to.

name string

Source name.

transport string | MediaGraphRtspTransport

Underlying RTSP transport. This can be used to enable or disable HTTP tunneling.

endpoint MediaGraphClearEndpoint | MediaGraphTlsEndpoint

RTSP endpoint of the stream being connected to.

name str

Source name.

transport str | MediaGraphRtspTransport

Underlying RTSP transport. This can be used to enable or disable HTTP tunneling.

endpoint Property Map | Property Map

RTSP endpoint of the stream being connected to.

name String

Source name.

transport String | "Http" | "Tcp"

Underlying RTSP transport. This can be used to enable or disable HTTP tunneling.

MediaGraphRtspSourceResponse

Endpoint Pulumi.AzureNative.Media.Inputs.MediaGraphClearEndpointResponse | Pulumi.AzureNative.Media.Inputs.MediaGraphTlsEndpointResponse

RTSP endpoint of the stream being connected to.

Name string

Source name.

Transport string

Underlying RTSP transport. This can be used to enable or disable HTTP tunneling.

Endpoint MediaGraphClearEndpointResponse | MediaGraphTlsEndpointResponse

RTSP endpoint of the stream being connected to.

Name string

Source name.

Transport string

Underlying RTSP transport. This can be used to enable or disable HTTP tunneling.

endpoint MediaGraphClearEndpointResponse | MediaGraphTlsEndpointResponse

RTSP endpoint of the stream being connected to.

name String

Source name.

transport String

Underlying RTSP transport. This can be used to enable or disable HTTP tunneling.

endpoint MediaGraphClearEndpointResponse | MediaGraphTlsEndpointResponse

RTSP endpoint of the stream being connected to.

name string

Source name.

transport string

Underlying RTSP transport. This can be used to enable or disable HTTP tunneling.

endpoint MediaGraphClearEndpointResponse | MediaGraphTlsEndpointResponse

RTSP endpoint of the stream being connected to.

name str

Source name.

transport str

Underlying RTSP transport. This can be used to enable or disable HTTP tunneling.

endpoint Property Map | Property Map

RTSP endpoint of the stream being connected to.

name String

Source name.

transport String

Underlying RTSP transport. This can be used to enable or disable HTTP tunneling.

MediaGraphRtspTransport

Http
Http

HTTP/HTTPS transport. This should be used when HTTP tunneling is desired.

Tcp
Tcp

TCP transport. This should be used when HTTP tunneling is not desired.

MediaGraphRtspTransportHttp
Http

HTTP/HTTPS transport. This should be used when HTTP tunneling is desired.

MediaGraphRtspTransportTcp
Tcp

TCP transport. This should be used when HTTP tunneling is not desired.

Http
Http

HTTP/HTTPS transport. This should be used when HTTP tunneling is desired.

Tcp
Tcp

TCP transport. This should be used when HTTP tunneling is not desired.

Http
Http

HTTP/HTTPS transport. This should be used when HTTP tunneling is desired.

Tcp
Tcp

TCP transport. This should be used when HTTP tunneling is not desired.

HTTP
Http

HTTP/HTTPS transport. This should be used when HTTP tunneling is desired.

TCP
Tcp

TCP transport. This should be used when HTTP tunneling is not desired.

"Http"
Http

HTTP/HTTPS transport. This should be used when HTTP tunneling is desired.

"Tcp"
Tcp

TCP transport. This should be used when HTTP tunneling is not desired.

MediaGraphTlsEndpoint

Url string

Url for the endpoint.

Credentials Pulumi.AzureNative.Media.Inputs.MediaGraphUsernamePasswordCredentials

Polymorphic credentials to present to the endpoint.

TrustedCertificates Pulumi.AzureNative.Media.Inputs.MediaGraphPemCertificateList

What certificates should be trusted when authenticating a TLS connection. Null designates that Azure Media's source of trust should be used.

ValidationOptions Pulumi.AzureNative.Media.Inputs.MediaGraphTlsValidationOptions

Validation options to use when authenticating a TLS connection. By default, strict validation is used.

Url string

Url for the endpoint.

Credentials MediaGraphUsernamePasswordCredentials

Polymorphic credentials to present to the endpoint.

TrustedCertificates MediaGraphPemCertificateList

What certificates should be trusted when authenticating a TLS connection. Null designates that Azure Media's source of trust should be used.

ValidationOptions MediaGraphTlsValidationOptions

Validation options to use when authenticating a TLS connection. By default, strict validation is used.

url String

Url for the endpoint.

credentials MediaGraphUsernamePasswordCredentials

Polymorphic credentials to present to the endpoint.

trustedCertificates MediaGraphPemCertificateList

What certificates should be trusted when authenticating a TLS connection. Null designates that Azure Media's source of trust should be used.

validationOptions MediaGraphTlsValidationOptions

Validation options to use when authenticating a TLS connection. By default, strict validation is used.

url string

Url for the endpoint.

credentials MediaGraphUsernamePasswordCredentials

Polymorphic credentials to present to the endpoint.

trustedCertificates MediaGraphPemCertificateList

What certificates should be trusted when authenticating a TLS connection. Null designates that Azure Media's source of trust should be used.

validationOptions MediaGraphTlsValidationOptions

Validation options to use when authenticating a TLS connection. By default, strict validation is used.

url str

Url for the endpoint.

credentials MediaGraphUsernamePasswordCredentials

Polymorphic credentials to present to the endpoint.

trusted_certificates MediaGraphPemCertificateList

What certificates should be trusted when authenticating a TLS connection. Null designates that Azure Media's source of trust should be used.

validation_options MediaGraphTlsValidationOptions

Validation options to use when authenticating a TLS connection. By default, strict validation is used.

url String

Url for the endpoint.

credentials Property Map

Polymorphic credentials to present to the endpoint.

trustedCertificates Property Map

What certificates should be trusted when authenticating a TLS connection. Null designates that Azure Media's source of trust should be used.

validationOptions Property Map

Validation options to use when authenticating a TLS connection. By default, strict validation is used.

MediaGraphTlsEndpointResponse

Url string

Url for the endpoint.

Credentials Pulumi.AzureNative.Media.Inputs.MediaGraphUsernamePasswordCredentialsResponse

Polymorphic credentials to present to the endpoint.

TrustedCertificates Pulumi.AzureNative.Media.Inputs.MediaGraphPemCertificateListResponse

What certificates should be trusted when authenticating a TLS connection. Null designates that Azure Media's source of trust should be used.

ValidationOptions Pulumi.AzureNative.Media.Inputs.MediaGraphTlsValidationOptionsResponse

Validation options to use when authenticating a TLS connection. By default, strict validation is used.

Url string

Url for the endpoint.

Credentials MediaGraphUsernamePasswordCredentialsResponse

Polymorphic credentials to present to the endpoint.

TrustedCertificates MediaGraphPemCertificateListResponse

What certificates should be trusted when authenticating a TLS connection. Null designates that Azure Media's source of trust should be used.

ValidationOptions MediaGraphTlsValidationOptionsResponse

Validation options to use when authenticating a TLS connection. By default, strict validation is used.

url String

Url for the endpoint.

credentials MediaGraphUsernamePasswordCredentialsResponse

Polymorphic credentials to present to the endpoint.

trustedCertificates MediaGraphPemCertificateListResponse

What certificates should be trusted when authenticating a TLS connection. Null designates that Azure Media's source of trust should be used.

validationOptions MediaGraphTlsValidationOptionsResponse

Validation options to use when authenticating a TLS connection. By default, strict validation is used.

url string

Url for the endpoint.

credentials MediaGraphUsernamePasswordCredentialsResponse

Polymorphic credentials to present to the endpoint.

trustedCertificates MediaGraphPemCertificateListResponse

What certificates should be trusted when authenticating a TLS connection. Null designates that Azure Media's source of trust should be used.

validationOptions MediaGraphTlsValidationOptionsResponse

Validation options to use when authenticating a TLS connection. By default, strict validation is used.

url str

Url for the endpoint.

credentials MediaGraphUsernamePasswordCredentialsResponse

Polymorphic credentials to present to the endpoint.

trusted_certificates MediaGraphPemCertificateListResponse

What certificates should be trusted when authenticating a TLS connection. Null designates that Azure Media's source of trust should be used.

validation_options MediaGraphTlsValidationOptionsResponse

Validation options to use when authenticating a TLS connection. By default, strict validation is used.

url String

Url for the endpoint.

credentials Property Map

Polymorphic credentials to present to the endpoint.

trustedCertificates Property Map

What certificates should be trusted when authenticating a TLS connection. Null designates that Azure Media's source of trust should be used.

validationOptions Property Map

Validation options to use when authenticating a TLS connection. By default, strict validation is used.

MediaGraphTlsValidationOptions

IgnoreHostname bool

Ignore the host name (common name) during validation.

IgnoreSignature bool

Ignore the integrity of the certificate chain at the current time.

IgnoreHostname bool

Ignore the host name (common name) during validation.

IgnoreSignature bool

Ignore the integrity of the certificate chain at the current time.

ignoreHostname Boolean

Ignore the host name (common name) during validation.

ignoreSignature Boolean

Ignore the integrity of the certificate chain at the current time.

ignoreHostname boolean

Ignore the host name (common name) during validation.

ignoreSignature boolean

Ignore the integrity of the certificate chain at the current time.

ignore_hostname bool

Ignore the host name (common name) during validation.

ignore_signature bool

Ignore the integrity of the certificate chain at the current time.

ignoreHostname Boolean

Ignore the host name (common name) during validation.

ignoreSignature Boolean

Ignore the integrity of the certificate chain at the current time.

MediaGraphTlsValidationOptionsResponse

IgnoreHostname bool

Ignore the host name (common name) during validation.

IgnoreSignature bool

Ignore the integrity of the certificate chain at the current time.

IgnoreHostname bool

Ignore the host name (common name) during validation.

IgnoreSignature bool

Ignore the integrity of the certificate chain at the current time.

ignoreHostname Boolean

Ignore the host name (common name) during validation.

ignoreSignature Boolean

Ignore the integrity of the certificate chain at the current time.

ignoreHostname boolean

Ignore the host name (common name) during validation.

ignoreSignature boolean

Ignore the integrity of the certificate chain at the current time.

ignore_hostname bool

Ignore the host name (common name) during validation.

ignore_signature bool

Ignore the integrity of the certificate chain at the current time.

ignoreHostname Boolean

Ignore the host name (common name) during validation.

ignoreSignature Boolean

Ignore the integrity of the certificate chain at the current time.

MediaGraphUsernamePasswordCredentials

Password string

Password for a username/password pair.

Username string

Username for a username/password pair.

Password string

Password for a username/password pair.

Username string

Username for a username/password pair.

password String

Password for a username/password pair.

username String

Username for a username/password pair.

password string

Password for a username/password pair.

username string

Username for a username/password pair.

password str

Password for a username/password pair.

username str

Username for a username/password pair.

password String

Password for a username/password pair.

username String

Username for a username/password pair.

MediaGraphUsernamePasswordCredentialsResponse

Password string

Password for a username/password pair.

Username string

Username for a username/password pair.

Password string

Password for a username/password pair.

Username string

Username for a username/password pair.

password String

Password for a username/password pair.

username String

Username for a username/password pair.

password string

Password for a username/password pair.

username string

Username for a username/password pair.

password str

Password for a username/password pair.

username str

Username for a username/password pair.

password String

Password for a username/password pair.

username String

Username for a username/password pair.

Import

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

$ pulumi import azure-native:media:MediaGraph SampleMediaGraph /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Media/mediaServices/{accountName}/mediaGraphs/{mediaGraphName} 

Package Details

Repository
Azure Native pulumi/pulumi-azure-native
License
Apache-2.0