azure-native-v2.media.MediaGraph
Explore with Pulumi AI
The Media Graph. Azure REST API version: 2020-02-01-preview. Prior API version in Azure Native 1.x: 2020-02-01-preview.
Example Usage
Create or update a Media Graph with a clear RTSP Source
Create or update a Media Graph with an encrypted RTSP Source
using System.Collections.Generic;
using System.Linq;
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[]
{
new AzureNative.Media.Inputs.MediaGraphAssetSinkArgs
{
AssetName = "SampleAsset",
Inputs = new[]
{
"rtspSource",
},
Name = "AssetSink",
OdataType = "#Microsoft.Media.MediaGraphAssetSink",
},
},
Sources = new[]
{
new AzureNative.Media.Inputs.MediaGraphRtspSourceArgs
{
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 = AzureNative.Media.MediaGraphRtspTransport.Http,
},
},
});
});
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.NewMediaGraph(ctx, "mediaGraph", &media.MediaGraphArgs{
AccountName: pulumi.String("contosomedia"),
Description: pulumi.String("updated description"),
MediaGraphName: pulumi.String("SampleMediaGraph"),
ResourceGroupName: pulumi.String("contoso"),
Sinks: media.MediaGraphAssetSinkArray{
&media.MediaGraphAssetSinkArgs{
AssetName: pulumi.String("SampleAsset"),
Inputs: pulumi.StringArray{
pulumi.String("rtspSource"),
},
Name: pulumi.String("AssetSink"),
OdataType: pulumi.String("#Microsoft.Media.MediaGraphAssetSink"),
},
},
Sources: media.MediaGraphRtspSourceArray{
&media.MediaGraphRtspSourceArgs{
Endpoint: media.MediaGraphTlsEndpoint{
Credentials: media.MediaGraphUsernamePasswordCredentials{
OdataType: "#Microsoft.Media.MediaGraphUsernamePasswordCredentials",
Password: "examplepassword",
Username: "exampleusername",
},
OdataType: "#Microsoft.Media.MediaGraphTlsEndpoint",
TrustedCertificates: media.MediaGraphPemCertificateList{
Certificates: []string{
`-----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: media.MediaGraphTlsValidationOptions{
IgnoreHostname: true,
IgnoreSignature: false,
},
},
Name: pulumi.String("rtspSource"),
OdataType: pulumi.String("#Microsoft.Media.MediaGraphRtspSource"),
Transport: pulumi.String(media.MediaGraphRtspTransportHttp),
},
},
})
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 com.pulumi.azurenative.media.inputs.MediaGraphAssetSinkArgs;
import com.pulumi.azurenative.media.inputs.MediaGraphRtspSourceArgs;
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(MediaGraphAssetSinkArgs.builder()
.assetName("SampleAsset")
.inputs("rtspSource")
.name("AssetSink")
.odataType("#Microsoft.Media.MediaGraphAssetSink")
.build())
.sources(MediaGraphRtspSourceArgs.builder()
.endpoint(MediaGraphClearEndpointArgs.builder()
.credentials(MediaGraphUsernamePasswordCredentialsArgs.builder()
.odataType("#Microsoft.Media.MediaGraphUsernamePasswordCredentials")
.password("examplepassword")
.username("exampleusername")
.build())
.odataType("#Microsoft.Media.MediaGraphTlsEndpoint")
.trustedCertificates(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
.url("rtsps://contoso.com:443/stream1")
.validationOptions(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
.build())
.name("rtspSource")
.odataType("#Microsoft.Media.MediaGraphRtspSource")
.transport("Http")
.build())
.build());
}
}
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: azure_native.media.MediaGraphRtspTransport.Http,
}],
});
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=[{
"asset_name": "SampleAsset",
"inputs": ["rtspSource"],
"name": "AssetSink",
"odata_type": "#Microsoft.Media.MediaGraphAssetSink",
}],
sources=[{
"endpoint": {
"credentials": {
"odata_type": "#Microsoft.Media.MediaGraphUsernamePasswordCredentials",
"password": "examplepassword",
"username": "exampleusername",
},
"odata_type": "#Microsoft.Media.MediaGraphTlsEndpoint",
"trusted_certificates": {
"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": {
"ignore_hostname": True,
"ignore_signature": False,
},
},
"name": "rtspSource",
"odata_type": "#Microsoft.Media.MediaGraphRtspSource",
"transport": azure_native.media.MediaGraphRtspTransport.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
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new MediaGraph(name: string, args: MediaGraphArgs, opts?: CustomResourceOptions);
@overload
def MediaGraph(resource_name: str,
args: MediaGraphArgs,
opts: Optional[ResourceOptions] = None)
@overload
def MediaGraph(resource_name: str,
opts: Optional[ResourceOptions] = None,
account_name: Optional[str] = None,
resource_group_name: Optional[str] = None,
sinks: Optional[Sequence[MediaGraphAssetSinkArgs]] = None,
sources: Optional[Sequence[MediaGraphRtspSourceArgs]] = None,
description: Optional[str] = None,
media_graph_name: Optional[str] = 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.
Parameters
- name
This property is required. string - The unique name of the resource.
- args
This property is required. MediaGraphArgs - The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name
This property is required. str - The unique name of the resource.
- args
This property is required. 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
This property is required. string - The unique name of the resource.
- args
This property is required. MediaGraphArgs - The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name
This property is required. string - The unique name of the resource.
- args
This property is required. MediaGraphArgs - The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name
This property is required. String - The unique name of the resource.
- args
This property is required. MediaGraphArgs - 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 mediaGraphResource = new AzureNative.Media.MediaGraph("mediaGraphResource", new()
{
AccountName = "string",
ResourceGroupName = "string",
Sinks = new[]
{
{
{ "assetName", "string" },
{ "inputs", new[]
{
"string",
} },
{ "name", "string" },
{ "odataType", "#Microsoft.Media.MediaGraphAssetSink" },
},
},
Sources = new[]
{
{
{ "endpoint",
{
{ "odataType", "#Microsoft.Media.MediaGraphClearEndpoint" },
{ "url", "string" },
{ "credentials",
{
{ "odataType", "#Microsoft.Media.MediaGraphUsernamePasswordCredentials" },
{ "password", "string" },
{ "username", "string" },
} },
} },
{ "name", "string" },
{ "odataType", "#Microsoft.Media.MediaGraphRtspSource" },
{ "transport", "string" },
},
},
Description = "string",
MediaGraphName = "string",
});
example, err := media.NewMediaGraph(ctx, "mediaGraphResource", &media.MediaGraphArgs{
AccountName: "string",
ResourceGroupName: "string",
Sinks: []map[string]interface{}{
map[string]interface{}{
"assetName": "string",
"inputs": []string{
"string",
},
"name": "string",
"odataType": "#Microsoft.Media.MediaGraphAssetSink",
},
},
Sources: []map[string]interface{}{
map[string]interface{}{
"endpoint": map[string]interface{}{
"odataType": "#Microsoft.Media.MediaGraphClearEndpoint",
"url": "string",
"credentials": map[string]interface{}{
"odataType": "#Microsoft.Media.MediaGraphUsernamePasswordCredentials",
"password": "string",
"username": "string",
},
},
"name": "string",
"odataType": "#Microsoft.Media.MediaGraphRtspSource",
"transport": "string",
},
},
Description: "string",
MediaGraphName: "string",
})
var mediaGraphResource = new MediaGraph("mediaGraphResource", MediaGraphArgs.builder()
.accountName("string")
.resourceGroupName("string")
.sinks(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
.sources(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
.description("string")
.mediaGraphName("string")
.build());
media_graph_resource = azure_native.media.MediaGraph("mediaGraphResource",
account_name=string,
resource_group_name=string,
sinks=[{
assetName: string,
inputs: [string],
name: string,
odataType: #Microsoft.Media.MediaGraphAssetSink,
}],
sources=[{
endpoint: {
odataType: #Microsoft.Media.MediaGraphClearEndpoint,
url: string,
credentials: {
odataType: #Microsoft.Media.MediaGraphUsernamePasswordCredentials,
password: string,
username: string,
},
},
name: string,
odataType: #Microsoft.Media.MediaGraphRtspSource,
transport: string,
}],
description=string,
media_graph_name=string)
const mediaGraphResource = new azure_native.media.MediaGraph("mediaGraphResource", {
accountName: "string",
resourceGroupName: "string",
sinks: [{
assetName: "string",
inputs: ["string"],
name: "string",
odataType: "#Microsoft.Media.MediaGraphAssetSink",
}],
sources: [{
endpoint: {
odataType: "#Microsoft.Media.MediaGraphClearEndpoint",
url: "string",
credentials: {
odataType: "#Microsoft.Media.MediaGraphUsernamePasswordCredentials",
password: "string",
username: "string",
},
},
name: "string",
odataType: "#Microsoft.Media.MediaGraphRtspSource",
transport: "string",
}],
description: "string",
mediaGraphName: "string",
});
type: azure-native:media:MediaGraph
properties:
accountName: string
description: string
mediaGraphName: string
resourceGroupName: string
sinks:
- assetName: string
inputs:
- string
name: string
odataType: '#Microsoft.Media.MediaGraphAssetSink'
sources:
- endpoint:
credentials:
odataType: '#Microsoft.Media.MediaGraphUsernamePasswordCredentials'
password: string
username: string
odataType: '#Microsoft.Media.MediaGraphClearEndpoint'
url: string
name: string
odataType: '#Microsoft.Media.MediaGraphRtspSource'
transport: string
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
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The MediaGraph resource accepts the following input properties:
- Account
Name This property is required. Changes to this property will trigger replacement.
- The Media Services account name.
- Resource
Group Name This property is required. Changes to this property will trigger replacement.
- The name of the resource group within the Azure subscription.
- Sinks
This property is required. List<Pulumi.Azure Native. Media. Inputs. Media Graph Asset Sink> - Media Graph sinks.
- Sources
This property is required. List<Pulumi.Azure Native. Media. Inputs. Media Graph Rtsp Source> - Media Graph sources.
- Description string
- Media Graph description.
- Media
Graph Name Changes to this property will trigger replacement.
- The Media Graph name.
- Account
Name This property is required. Changes to this property will trigger replacement.
- The Media Services account name.
- Resource
Group Name This property is required. Changes to this property will trigger replacement.
- The name of the resource group within the Azure subscription.
- Sinks
This property is required. []MediaGraph Asset Sink Args - Media Graph sinks.
- Sources
This property is required. []MediaGraph Rtsp Source Args - Media Graph sources.
- Description string
- Media Graph description.
- Media
Graph Name Changes to this property will trigger replacement.
- The Media Graph name.
- account
Name This property is required. Changes to this property will trigger replacement.
- The Media Services account name.
- resource
Group Name This property is required. Changes to this property will trigger replacement.
- The name of the resource group within the Azure subscription.
- sinks
This property is required. List<MediaGraph Asset Sink> - Media Graph sinks.
- sources
This property is required. List<MediaGraph Rtsp Source> - Media Graph sources.
- description String
- Media Graph description.
- media
Graph Name Changes to this property will trigger replacement.
- The Media Graph name.
- account
Name This property is required. Changes to this property will trigger replacement.
- The Media Services account name.
- resource
Group Name This property is required. Changes to this property will trigger replacement.
- The name of the resource group within the Azure subscription.
- sinks
This property is required. MediaGraph Asset Sink[] - Media Graph sinks.
- sources
This property is required. MediaGraph Rtsp Source[] - Media Graph sources.
- description string
- Media Graph description.
- media
Graph Name Changes to this property will trigger replacement.
- The Media Graph name.
- account_
name This property is required. Changes to this property will trigger replacement.
- The Media Services account name.
- resource_
group_ name This property is required. Changes to this property will trigger replacement.
- The name of the resource group within the Azure subscription.
- sinks
This property is required. Sequence[MediaGraph Asset Sink Args] - Media Graph sinks.
- sources
This property is required. Sequence[MediaGraph Rtsp Source Args] - Media Graph sources.
- description str
- Media Graph description.
- media_
graph_ name Changes to this property will trigger replacement.
- The Media Graph name.
- account
Name This property is required. Changes to this property will trigger replacement.
- The Media Services account name.
- resource
Group Name This property is required. Changes to this property will trigger replacement.
- The name of the resource group within the Azure subscription.
- sinks
This property is required. List<Property Map> - Media Graph sinks.
- sources
This property is required. List<Property Map> - Media Graph sources.
- description String
- Media Graph description.
- media
Graph Name Changes to this property will trigger replacement.
- 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.
- Last
Modified 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.
- Last
Modified 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.
- last
Modified 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.
- last
Modified 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.
- last
Modified 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, MediaGraphAssetSinkArgs
- asset_
name This property is required. str - Asset name.
- inputs
This property is required. Sequence[str] - Sink inputs.
- name
This property is required. str - Sink name.
MediaGraphAssetSinkResponse, MediaGraphAssetSinkResponseArgs
- asset_
name This property is required. str - Asset name.
- inputs
This property is required. Sequence[str] - Sink inputs.
- name
This property is required. str - Sink name.
MediaGraphClearEndpoint, MediaGraphClearEndpointArgs
- Url
This property is required. string - Url for the endpoint.
- Credentials
Pulumi.
Azure Native. Media. Inputs. Media Graph Username Password Credentials - Polymorphic credentials to present to the endpoint.
- Url
This property is required. string - Url for the endpoint.
- Credentials
Media
Graph Username Password Credentials - Polymorphic credentials to present to the endpoint.
- url
This property is required. String - Url for the endpoint.
- credentials
Media
Graph Username Password Credentials - Polymorphic credentials to present to the endpoint.
- url
This property is required. string - Url for the endpoint.
- credentials
Media
Graph Username Password Credentials - Polymorphic credentials to present to the endpoint.
- url
This property is required. str - Url for the endpoint.
- credentials
Media
Graph Username Password Credentials - Polymorphic credentials to present to the endpoint.
- url
This property is required. String - Url for the endpoint.
- credentials Property Map
- Polymorphic credentials to present to the endpoint.
MediaGraphClearEndpointResponse, MediaGraphClearEndpointResponseArgs
- Url
This property is required. string - Url for the endpoint.
- Credentials
Pulumi.
Azure Native. Media. Inputs. Media Graph Username Password Credentials Response - Polymorphic credentials to present to the endpoint.
- Url
This property is required. string - Url for the endpoint.
- Credentials
Media
Graph Username Password Credentials Response - Polymorphic credentials to present to the endpoint.
- url
This property is required. String - Url for the endpoint.
- credentials
Media
Graph Username Password Credentials Response - Polymorphic credentials to present to the endpoint.
- url
This property is required. string - Url for the endpoint.
- credentials
Media
Graph Username Password Credentials Response - Polymorphic credentials to present to the endpoint.
- url
This property is required. str - Url for the endpoint.
- credentials
Media
Graph Username Password Credentials Response - Polymorphic credentials to present to the endpoint.
- url
This property is required. String - Url for the endpoint.
- credentials Property Map
- Polymorphic credentials to present to the endpoint.
MediaGraphPemCertificateList, MediaGraphPemCertificateListArgs
- Certificates
This property is required. List<string> - PEM formatted public certificates, one per entry.
- Certificates
This property is required. []string - PEM formatted public certificates, one per entry.
- certificates
This property is required. List<String> - PEM formatted public certificates, one per entry.
- certificates
This property is required. string[] - PEM formatted public certificates, one per entry.
- certificates
This property is required. Sequence[str] - PEM formatted public certificates, one per entry.
- certificates
This property is required. List<String> - PEM formatted public certificates, one per entry.
MediaGraphPemCertificateListResponse, MediaGraphPemCertificateListResponseArgs
- Certificates
This property is required. List<string> - PEM formatted public certificates, one per entry.
- Certificates
This property is required. []string - PEM formatted public certificates, one per entry.
- certificates
This property is required. List<String> - PEM formatted public certificates, one per entry.
- certificates
This property is required. string[] - PEM formatted public certificates, one per entry.
- certificates
This property is required. Sequence[str] - PEM formatted public certificates, one per entry.
- certificates
This property is required. List<String> - PEM formatted public certificates, one per entry.
MediaGraphRtspSource, MediaGraphRtspSourceArgs
- Endpoint
This property is required. Pulumi.Azure | Pulumi.Native. Media. Inputs. Media Graph Clear Endpoint Azure Native. Media. Inputs. Media Graph Tls Endpoint - RTSP endpoint of the stream being connected to.
- Name
This property is required. string - Source name.
- Transport
This property is required. string | Pulumi.Azure Native. Media. Media Graph Rtsp Transport - Underlying RTSP transport. This can be used to enable or disable HTTP tunneling.
- Endpoint
This property is required. MediaGraph | MediaClear Endpoint Graph Tls Endpoint - RTSP endpoint of the stream being connected to.
- Name
This property is required. string - Source name.
- Transport
This property is required. string | MediaGraph Rtsp Transport - Underlying RTSP transport. This can be used to enable or disable HTTP tunneling.
- endpoint
This property is required. MediaGraph | MediaClear Endpoint Graph Tls Endpoint - RTSP endpoint of the stream being connected to.
- name
This property is required. String - Source name.
- transport
This property is required. String | MediaGraph Rtsp Transport - Underlying RTSP transport. This can be used to enable or disable HTTP tunneling.
- endpoint
This property is required. MediaGraph | MediaClear Endpoint Graph Tls Endpoint - RTSP endpoint of the stream being connected to.
- name
This property is required. string - Source name.
- transport
This property is required. string | MediaGraph Rtsp Transport - Underlying RTSP transport. This can be used to enable or disable HTTP tunneling.
- endpoint
This property is required. MediaGraph | MediaClear Endpoint Graph Tls Endpoint - RTSP endpoint of the stream being connected to.
- name
This property is required. str - Source name.
- transport
This property is required. str | MediaGraph Rtsp Transport - Underlying RTSP transport. This can be used to enable or disable HTTP tunneling.
- endpoint
This property is required. Property Map | Property Map - RTSP endpoint of the stream being connected to.
- name
This property is required. String - Source name.
- transport
This property is required. String | "Http" | "Tcp" - Underlying RTSP transport. This can be used to enable or disable HTTP tunneling.
MediaGraphRtspSourceResponse, MediaGraphRtspSourceResponseArgs
- Endpoint
This property is required. Pulumi.Azure | Pulumi.Native. Media. Inputs. Media Graph Clear Endpoint Response Azure Native. Media. Inputs. Media Graph Tls Endpoint Response - RTSP endpoint of the stream being connected to.
- Name
This property is required. string - Source name.
- Transport
This property is required. string - Underlying RTSP transport. This can be used to enable or disable HTTP tunneling.
- Endpoint
This property is required. MediaGraph | MediaClear Endpoint Response Graph Tls Endpoint Response - RTSP endpoint of the stream being connected to.
- Name
This property is required. string - Source name.
- Transport
This property is required. string - Underlying RTSP transport. This can be used to enable or disable HTTP tunneling.
- endpoint
This property is required. MediaGraph | MediaClear Endpoint Response Graph Tls Endpoint Response - RTSP endpoint of the stream being connected to.
- name
This property is required. String - Source name.
- transport
This property is required. String - Underlying RTSP transport. This can be used to enable or disable HTTP tunneling.
- endpoint
This property is required. MediaGraph | MediaClear Endpoint Response Graph Tls Endpoint Response - RTSP endpoint of the stream being connected to.
- name
This property is required. string - Source name.
- transport
This property is required. string - Underlying RTSP transport. This can be used to enable or disable HTTP tunneling.
- endpoint
This property is required. MediaGraph | MediaClear Endpoint Response Graph Tls Endpoint Response - RTSP endpoint of the stream being connected to.
- name
This property is required. str - Source name.
- transport
This property is required. str - Underlying RTSP transport. This can be used to enable or disable HTTP tunneling.
- endpoint
This property is required. Property Map | Property Map - RTSP endpoint of the stream being connected to.
- name
This property is required. String - Source name.
- transport
This property is required. String - Underlying RTSP transport. This can be used to enable or disable HTTP tunneling.
MediaGraphRtspTransport, MediaGraphRtspTransportArgs
- Http
- HttpHTTP/HTTPS transport. This should be used when HTTP tunneling is desired.
- Tcp
- TcpTCP transport. This should be used when HTTP tunneling is not desired.
- Media
Graph Rtsp Transport Http - HttpHTTP/HTTPS transport. This should be used when HTTP tunneling is desired.
- Media
Graph Rtsp Transport Tcp - TcpTCP transport. This should be used when HTTP tunneling is not desired.
- Http
- HttpHTTP/HTTPS transport. This should be used when HTTP tunneling is desired.
- Tcp
- TcpTCP transport. This should be used when HTTP tunneling is not desired.
- Http
- HttpHTTP/HTTPS transport. This should be used when HTTP tunneling is desired.
- Tcp
- TcpTCP transport. This should be used when HTTP tunneling is not desired.
- HTTP
- HttpHTTP/HTTPS transport. This should be used when HTTP tunneling is desired.
- TCP
- TcpTCP transport. This should be used when HTTP tunneling is not desired.
- "Http"
- HttpHTTP/HTTPS transport. This should be used when HTTP tunneling is desired.
- "Tcp"
- TcpTCP transport. This should be used when HTTP tunneling is not desired.
MediaGraphTlsEndpoint, MediaGraphTlsEndpointArgs
- Url
This property is required. string - Url for the endpoint.
- Credentials
Pulumi.
Azure Native. Media. Inputs. Media Graph Username Password Credentials - Polymorphic credentials to present to the endpoint.
- Trusted
Certificates Pulumi.Azure Native. Media. Inputs. Media Graph Pem Certificate List - What certificates should be trusted when authenticating a TLS connection. Null designates that Azure Media's source of trust should be used.
- Validation
Options Pulumi.Azure Native. Media. Inputs. Media Graph Tls Validation Options - Validation options to use when authenticating a TLS connection. By default, strict validation is used.
- Url
This property is required. string - Url for the endpoint.
- Credentials
Media
Graph Username Password Credentials - Polymorphic credentials to present to the endpoint.
- Trusted
Certificates MediaGraph Pem Certificate List - What certificates should be trusted when authenticating a TLS connection. Null designates that Azure Media's source of trust should be used.
- Validation
Options MediaGraph Tls Validation Options - Validation options to use when authenticating a TLS connection. By default, strict validation is used.
- url
This property is required. String - Url for the endpoint.
- credentials
Media
Graph Username Password Credentials - Polymorphic credentials to present to the endpoint.
- trusted
Certificates MediaGraph Pem Certificate List - What certificates should be trusted when authenticating a TLS connection. Null designates that Azure Media's source of trust should be used.
- validation
Options MediaGraph Tls Validation Options - Validation options to use when authenticating a TLS connection. By default, strict validation is used.
- url
This property is required. string - Url for the endpoint.
- credentials
Media
Graph Username Password Credentials - Polymorphic credentials to present to the endpoint.
- trusted
Certificates MediaGraph Pem Certificate List - What certificates should be trusted when authenticating a TLS connection. Null designates that Azure Media's source of trust should be used.
- validation
Options MediaGraph Tls Validation Options - Validation options to use when authenticating a TLS connection. By default, strict validation is used.
- url
This property is required. str - Url for the endpoint.
- credentials
Media
Graph Username Password Credentials - Polymorphic credentials to present to the endpoint.
- trusted_
certificates MediaGraph Pem Certificate List - What certificates should be trusted when authenticating a TLS connection. Null designates that Azure Media's source of trust should be used.
- validation_
options MediaGraph Tls Validation Options - Validation options to use when authenticating a TLS connection. By default, strict validation is used.
- url
This property is required. String - Url for the endpoint.
- credentials Property Map
- Polymorphic credentials to present to the endpoint.
- trusted
Certificates Property Map - What certificates should be trusted when authenticating a TLS connection. Null designates that Azure Media's source of trust should be used.
- validation
Options Property Map - Validation options to use when authenticating a TLS connection. By default, strict validation is used.
MediaGraphTlsEndpointResponse, MediaGraphTlsEndpointResponseArgs
- Url
This property is required. string - Url for the endpoint.
- Credentials
Pulumi.
Azure Native. Media. Inputs. Media Graph Username Password Credentials Response - Polymorphic credentials to present to the endpoint.
- Trusted
Certificates Pulumi.Azure Native. Media. Inputs. Media Graph Pem Certificate List Response - What certificates should be trusted when authenticating a TLS connection. Null designates that Azure Media's source of trust should be used.
- Validation
Options Pulumi.Azure Native. Media. Inputs. Media Graph Tls Validation Options Response - Validation options to use when authenticating a TLS connection. By default, strict validation is used.
- Url
This property is required. string - Url for the endpoint.
- Credentials
Media
Graph Username Password Credentials Response - Polymorphic credentials to present to the endpoint.
- Trusted
Certificates MediaGraph Pem Certificate List Response - What certificates should be trusted when authenticating a TLS connection. Null designates that Azure Media's source of trust should be used.
- Validation
Options MediaGraph Tls Validation Options Response - Validation options to use when authenticating a TLS connection. By default, strict validation is used.
- url
This property is required. String - Url for the endpoint.
- credentials
Media
Graph Username Password Credentials Response - Polymorphic credentials to present to the endpoint.
- trusted
Certificates MediaGraph Pem Certificate List Response - What certificates should be trusted when authenticating a TLS connection. Null designates that Azure Media's source of trust should be used.
- validation
Options MediaGraph Tls Validation Options Response - Validation options to use when authenticating a TLS connection. By default, strict validation is used.
- url
This property is required. string - Url for the endpoint.
- credentials
Media
Graph Username Password Credentials Response - Polymorphic credentials to present to the endpoint.
- trusted
Certificates MediaGraph Pem Certificate List Response - What certificates should be trusted when authenticating a TLS connection. Null designates that Azure Media's source of trust should be used.
- validation
Options MediaGraph Tls Validation Options Response - Validation options to use when authenticating a TLS connection. By default, strict validation is used.
- url
This property is required. str - Url for the endpoint.
- credentials
Media
Graph Username Password Credentials Response - Polymorphic credentials to present to the endpoint.
- trusted_
certificates MediaGraph Pem Certificate List Response - What certificates should be trusted when authenticating a TLS connection. Null designates that Azure Media's source of trust should be used.
- validation_
options MediaGraph Tls Validation Options Response - Validation options to use when authenticating a TLS connection. By default, strict validation is used.
- url
This property is required. String - Url for the endpoint.
- credentials Property Map
- Polymorphic credentials to present to the endpoint.
- trusted
Certificates Property Map - What certificates should be trusted when authenticating a TLS connection. Null designates that Azure Media's source of trust should be used.
- validation
Options Property Map - Validation options to use when authenticating a TLS connection. By default, strict validation is used.
MediaGraphTlsValidationOptions, MediaGraphTlsValidationOptionsArgs
- Ignore
Hostname This property is required. bool - Ignore the host name (common name) during validation.
- Ignore
Signature This property is required. bool - Ignore the integrity of the certificate chain at the current time.
- Ignore
Hostname This property is required. bool - Ignore the host name (common name) during validation.
- Ignore
Signature This property is required. bool - Ignore the integrity of the certificate chain at the current time.
- ignore
Hostname This property is required. Boolean - Ignore the host name (common name) during validation.
- ignore
Signature This property is required. Boolean - Ignore the integrity of the certificate chain at the current time.
- ignore
Hostname This property is required. boolean - Ignore the host name (common name) during validation.
- ignore
Signature This property is required. boolean - Ignore the integrity of the certificate chain at the current time.
- ignore_
hostname This property is required. bool - Ignore the host name (common name) during validation.
- ignore_
signature This property is required. bool - Ignore the integrity of the certificate chain at the current time.
- ignore
Hostname This property is required. Boolean - Ignore the host name (common name) during validation.
- ignore
Signature This property is required. Boolean - Ignore the integrity of the certificate chain at the current time.
MediaGraphTlsValidationOptionsResponse, MediaGraphTlsValidationOptionsResponseArgs
- Ignore
Hostname This property is required. bool - Ignore the host name (common name) during validation.
- Ignore
Signature This property is required. bool - Ignore the integrity of the certificate chain at the current time.
- Ignore
Hostname This property is required. bool - Ignore the host name (common name) during validation.
- Ignore
Signature This property is required. bool - Ignore the integrity of the certificate chain at the current time.
- ignore
Hostname This property is required. Boolean - Ignore the host name (common name) during validation.
- ignore
Signature This property is required. Boolean - Ignore the integrity of the certificate chain at the current time.
- ignore
Hostname This property is required. boolean - Ignore the host name (common name) during validation.
- ignore
Signature This property is required. boolean - Ignore the integrity of the certificate chain at the current time.
- ignore_
hostname This property is required. bool - Ignore the host name (common name) during validation.
- ignore_
signature This property is required. bool - Ignore the integrity of the certificate chain at the current time.
- ignore
Hostname This property is required. Boolean - Ignore the host name (common name) during validation.
- ignore
Signature This property is required. Boolean - Ignore the integrity of the certificate chain at the current time.
MediaGraphUsernamePasswordCredentials, MediaGraphUsernamePasswordCredentialsArgs
MediaGraphUsernamePasswordCredentialsResponse, MediaGraphUsernamePasswordCredentialsResponseArgs
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}
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- azure-native-v2 pulumi/pulumi-azure-native
- License
- Apache-2.0