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

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());
}
}

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
fun PortalTenantConfigurationArgs(privateMarkdownStorageEnforced: Output<Boolean>? = null)

Functions

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

Properties

Link copied to clipboard

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