PortalTenantConfigurationArgs

data class PortalTenantConfigurationArgs(val privateMarkdownStorageEnforced: Output<Boolean>? = null) : ConvertibleToJava<PortalTenantConfigurationArgs>

Manages Portal Tenant Configuration.

Note: User has to be Contributor or Owner at scope / for managing this resource. Note: The Service Principal with Tenant Admin can be created by az ad sp create-for-rbac --name "<sp name>" --role="Contributor" --scopes="/". Note: The Service Principal can be granted Tenant Admin permission by az role assignment create --assignee "<app id>" --role "Contributor" --scope "/". Note: While assigning the role to the existing/new Service Principal at the Tenant Scope, the user assigning role must already have the Owner role assigned at the Tenant Scope.

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as azure from "@pulumi/azure";
const example = new azure.core.PortalTenantConfiguration("example", {privateMarkdownStorageEnforced: true});
import pulumi
import pulumi_azure as azure
example = azure.core.PortalTenantConfiguration("example", private_markdown_storage_enforced=True)
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Azure = Pulumi.Azure;
return await Deployment.RunAsync(() =>
{
var example = new Azure.Core.PortalTenantConfiguration("example", new()
{
PrivateMarkdownStorageEnforced = true,
});
});
package main
import (
"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/core"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := core.NewPortalTenantConfiguration(ctx, "example", &core.PortalTenantConfigurationArgs{
PrivateMarkdownStorageEnforced: pulumi.Bool(true),
})
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.azure.core.PortalTenantConfiguration;
import com.pulumi.azure.core.PortalTenantConfigurationArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var example = new PortalTenantConfiguration("example", PortalTenantConfigurationArgs.builder()
.privateMarkdownStorageEnforced(true)
.build());
}
}
resources:
example:
type: azure:core:PortalTenantConfiguration
properties:
privateMarkdownStorageEnforced: true

Import

Portal Tenant Configurations can be imported using the resource id, e.g.

$ pulumi import azure:core/portalTenantConfiguration:PortalTenantConfiguration example /providers/Microsoft.Portal/tenantConfigurations/default

Constructors

Link copied to clipboard
constructor(privateMarkdownStorageEnforced: Output<Boolean>? = null)

Properties

Link copied to clipboard

Is the private tile markdown storage which used to display custom dynamic and static content enabled?

Functions

Link copied to clipboard
open override fun toJava(): PortalTenantConfigurationArgs