1. Packages
  2. Azure Native
  3. API Docs
  4. intune
  5. AndroidMAMPolicyByName
This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v3.2.0 published on Monday, Apr 14, 2025 by Pulumi

azure-native.intune.AndroidMAMPolicyByName

Explore with Pulumi AI

This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v3.2.0 published on Monday, Apr 14, 2025 by Pulumi

Android Policy entity for Intune MAM.

Uses Azure REST API version 2015-01-14-preview. In version 2.x of the Azure Native provider, it used API version 2015-01-14-preview.

Import

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

$ pulumi import azure-native:intune:AndroidMAMPolicyByName myresource1 /providers/Microsoft.Intune/locations/{hostName}/androidPolicies/{policyName} 
Copy

Create AndroidMAMPolicyByName Resource

Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

Constructor syntax

new AndroidMAMPolicyByName(name: string, args: AndroidMAMPolicyByNameArgs, opts?: CustomResourceOptions);
@overload
def AndroidMAMPolicyByName(resource_name: str,
                           args: AndroidMAMPolicyByNameArgs,
                           opts: Optional[ResourceOptions] = None)

@overload
def AndroidMAMPolicyByName(resource_name: str,
                           opts: Optional[ResourceOptions] = None,
                           friendly_name: Optional[str] = None,
                           host_name: Optional[str] = None,
                           file_sharing_save_as: Optional[str] = None,
                           app_sharing_from_level: Optional[str] = None,
                           authentication: Optional[str] = None,
                           clipboard_sharing_level: Optional[str] = None,
                           data_backup: Optional[str] = None,
                           description: Optional[str] = None,
                           device_compliance: Optional[str] = None,
                           file_encryption: Optional[str] = None,
                           access_recheck_offline_timeout: Optional[str] = None,
                           app_sharing_to_level: Optional[str] = None,
                           access_recheck_online_timeout: Optional[str] = None,
                           location: Optional[str] = None,
                           managed_browser: Optional[str] = None,
                           offline_wipe_timeout: Optional[str] = None,
                           pin: Optional[str] = None,
                           pin_num_retry: Optional[int] = None,
                           policy_name: Optional[str] = None,
                           screen_capture: Optional[str] = None,
                           tags: Optional[Mapping[str, str]] = None)
func NewAndroidMAMPolicyByName(ctx *Context, name string, args AndroidMAMPolicyByNameArgs, opts ...ResourceOption) (*AndroidMAMPolicyByName, error)
public AndroidMAMPolicyByName(string name, AndroidMAMPolicyByNameArgs args, CustomResourceOptions? opts = null)
public AndroidMAMPolicyByName(String name, AndroidMAMPolicyByNameArgs args)
public AndroidMAMPolicyByName(String name, AndroidMAMPolicyByNameArgs args, CustomResourceOptions options)
type: azure-native:intune:AndroidMAMPolicyByName
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. AndroidMAMPolicyByNameArgs
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. AndroidMAMPolicyByNameArgs
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. AndroidMAMPolicyByNameArgs
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. AndroidMAMPolicyByNameArgs
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. AndroidMAMPolicyByNameArgs
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 androidMAMPolicyByNameResource = new AzureNative.Intune.AndroidMAMPolicyByName("androidMAMPolicyByNameResource", new()
{
    FriendlyName = "string",
    HostName = "string",
    FileSharingSaveAs = "string",
    AppSharingFromLevel = "string",
    Authentication = "string",
    ClipboardSharingLevel = "string",
    DataBackup = "string",
    Description = "string",
    DeviceCompliance = "string",
    FileEncryption = "string",
    AccessRecheckOfflineTimeout = "string",
    AppSharingToLevel = "string",
    AccessRecheckOnlineTimeout = "string",
    Location = "string",
    ManagedBrowser = "string",
    OfflineWipeTimeout = "string",
    Pin = "string",
    PinNumRetry = 0,
    PolicyName = "string",
    ScreenCapture = "string",
    Tags = 
    {
        { "string", "string" },
    },
});
Copy
example, err := intune.NewAndroidMAMPolicyByName(ctx, "androidMAMPolicyByNameResource", &intune.AndroidMAMPolicyByNameArgs{
	FriendlyName:                pulumi.String("string"),
	HostName:                    pulumi.String("string"),
	FileSharingSaveAs:           pulumi.String("string"),
	AppSharingFromLevel:         pulumi.String("string"),
	Authentication:              pulumi.String("string"),
	ClipboardSharingLevel:       pulumi.String("string"),
	DataBackup:                  pulumi.String("string"),
	Description:                 pulumi.String("string"),
	DeviceCompliance:            pulumi.String("string"),
	FileEncryption:              pulumi.String("string"),
	AccessRecheckOfflineTimeout: pulumi.String("string"),
	AppSharingToLevel:           pulumi.String("string"),
	AccessRecheckOnlineTimeout:  pulumi.String("string"),
	Location:                    pulumi.String("string"),
	ManagedBrowser:              pulumi.String("string"),
	OfflineWipeTimeout:          pulumi.String("string"),
	Pin:                         pulumi.String("string"),
	PinNumRetry:                 pulumi.Int(0),
	PolicyName:                  pulumi.String("string"),
	ScreenCapture:               pulumi.String("string"),
	Tags: pulumi.StringMap{
		"string": pulumi.String("string"),
	},
})
Copy
var androidMAMPolicyByNameResource = new AndroidMAMPolicyByName("androidMAMPolicyByNameResource", AndroidMAMPolicyByNameArgs.builder()
    .friendlyName("string")
    .hostName("string")
    .fileSharingSaveAs("string")
    .appSharingFromLevel("string")
    .authentication("string")
    .clipboardSharingLevel("string")
    .dataBackup("string")
    .description("string")
    .deviceCompliance("string")
    .fileEncryption("string")
    .accessRecheckOfflineTimeout("string")
    .appSharingToLevel("string")
    .accessRecheckOnlineTimeout("string")
    .location("string")
    .managedBrowser("string")
    .offlineWipeTimeout("string")
    .pin("string")
    .pinNumRetry(0)
    .policyName("string")
    .screenCapture("string")
    .tags(Map.of("string", "string"))
    .build());
Copy
android_mam_policy_by_name_resource = azure_native.intune.AndroidMAMPolicyByName("androidMAMPolicyByNameResource",
    friendly_name="string",
    host_name="string",
    file_sharing_save_as="string",
    app_sharing_from_level="string",
    authentication="string",
    clipboard_sharing_level="string",
    data_backup="string",
    description="string",
    device_compliance="string",
    file_encryption="string",
    access_recheck_offline_timeout="string",
    app_sharing_to_level="string",
    access_recheck_online_timeout="string",
    location="string",
    managed_browser="string",
    offline_wipe_timeout="string",
    pin="string",
    pin_num_retry=0,
    policy_name="string",
    screen_capture="string",
    tags={
        "string": "string",
    })
Copy
const androidMAMPolicyByNameResource = new azure_native.intune.AndroidMAMPolicyByName("androidMAMPolicyByNameResource", {
    friendlyName: "string",
    hostName: "string",
    fileSharingSaveAs: "string",
    appSharingFromLevel: "string",
    authentication: "string",
    clipboardSharingLevel: "string",
    dataBackup: "string",
    description: "string",
    deviceCompliance: "string",
    fileEncryption: "string",
    accessRecheckOfflineTimeout: "string",
    appSharingToLevel: "string",
    accessRecheckOnlineTimeout: "string",
    location: "string",
    managedBrowser: "string",
    offlineWipeTimeout: "string",
    pin: "string",
    pinNumRetry: 0,
    policyName: "string",
    screenCapture: "string",
    tags: {
        string: "string",
    },
});
Copy
type: azure-native:intune:AndroidMAMPolicyByName
properties:
    accessRecheckOfflineTimeout: string
    accessRecheckOnlineTimeout: string
    appSharingFromLevel: string
    appSharingToLevel: string
    authentication: string
    clipboardSharingLevel: string
    dataBackup: string
    description: string
    deviceCompliance: string
    fileEncryption: string
    fileSharingSaveAs: string
    friendlyName: string
    hostName: string
    location: string
    managedBrowser: string
    offlineWipeTimeout: string
    pin: string
    pinNumRetry: 0
    policyName: string
    screenCapture: string
    tags:
        string: string
Copy

AndroidMAMPolicyByName 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 AndroidMAMPolicyByName resource accepts the following input properties:

FriendlyName This property is required. string
HostName
This property is required.
Changes to this property will trigger replacement.
string
Location hostName for the tenant
AccessRecheckOfflineTimeout string
AccessRecheckOnlineTimeout string
AppSharingFromLevel string
AppSharingToLevel string
Authentication string
ClipboardSharingLevel string
DataBackup string
Description string
DeviceCompliance string
FileEncryption string
FileSharingSaveAs string
Location string
Resource Location
ManagedBrowser string
OfflineWipeTimeout string
Pin string
PinNumRetry int
PolicyName Changes to this property will trigger replacement. string
Unique name for the policy
ScreenCapture string
Tags Dictionary<string, string>
Resource Tags
FriendlyName This property is required. string
HostName
This property is required.
Changes to this property will trigger replacement.
string
Location hostName for the tenant
AccessRecheckOfflineTimeout string
AccessRecheckOnlineTimeout string
AppSharingFromLevel string
AppSharingToLevel string
Authentication string
ClipboardSharingLevel string
DataBackup string
Description string
DeviceCompliance string
FileEncryption string
FileSharingSaveAs string
Location string
Resource Location
ManagedBrowser string
OfflineWipeTimeout string
Pin string
PinNumRetry int
PolicyName Changes to this property will trigger replacement. string
Unique name for the policy
ScreenCapture string
Tags map[string]string
Resource Tags
friendlyName This property is required. String
hostName
This property is required.
Changes to this property will trigger replacement.
String
Location hostName for the tenant
accessRecheckOfflineTimeout String
accessRecheckOnlineTimeout String
appSharingFromLevel String
appSharingToLevel String
authentication String
clipboardSharingLevel String
dataBackup String
description String
deviceCompliance String
fileEncryption String
fileSharingSaveAs String
location String
Resource Location
managedBrowser String
offlineWipeTimeout String
pin String
pinNumRetry Integer
policyName Changes to this property will trigger replacement. String
Unique name for the policy
screenCapture String
tags Map<String,String>
Resource Tags
friendlyName This property is required. string
hostName
This property is required.
Changes to this property will trigger replacement.
string
Location hostName for the tenant
accessRecheckOfflineTimeout string
accessRecheckOnlineTimeout string
appSharingFromLevel string
appSharingToLevel string
authentication string
clipboardSharingLevel string
dataBackup string
description string
deviceCompliance string
fileEncryption string
fileSharingSaveAs string
location string
Resource Location
managedBrowser string
offlineWipeTimeout string
pin string
pinNumRetry number
policyName Changes to this property will trigger replacement. string
Unique name for the policy
screenCapture string
tags {[key: string]: string}
Resource Tags
friendly_name This property is required. str
host_name
This property is required.
Changes to this property will trigger replacement.
str
Location hostName for the tenant
access_recheck_offline_timeout str
access_recheck_online_timeout str
app_sharing_from_level str
app_sharing_to_level str
authentication str
clipboard_sharing_level str
data_backup str
description str
device_compliance str
file_encryption str
file_sharing_save_as str
location str
Resource Location
managed_browser str
offline_wipe_timeout str
pin str
pin_num_retry int
policy_name Changes to this property will trigger replacement. str
Unique name for the policy
screen_capture str
tags Mapping[str, str]
Resource Tags
friendlyName This property is required. String
hostName
This property is required.
Changes to this property will trigger replacement.
String
Location hostName for the tenant
accessRecheckOfflineTimeout String
accessRecheckOnlineTimeout String
appSharingFromLevel String
appSharingToLevel String
authentication String
clipboardSharingLevel String
dataBackup String
description String
deviceCompliance String
fileEncryption String
fileSharingSaveAs String
location String
Resource Location
managedBrowser String
offlineWipeTimeout String
pin String
pinNumRetry Number
policyName Changes to this property will trigger replacement. String
Unique name for the policy
screenCapture String
tags Map<String>
Resource Tags

Outputs

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

AzureApiVersion string
The Azure API version of the resource.
GroupStatus string
Id string
The provider-assigned unique ID for this managed resource.
LastModifiedTime string
Name string
Resource name
NumOfApps int
Type string
Resource type
AzureApiVersion string
The Azure API version of the resource.
GroupStatus string
Id string
The provider-assigned unique ID for this managed resource.
LastModifiedTime string
Name string
Resource name
NumOfApps int
Type string
Resource type
azureApiVersion String
The Azure API version of the resource.
groupStatus String
id String
The provider-assigned unique ID for this managed resource.
lastModifiedTime String
name String
Resource name
numOfApps Integer
type String
Resource type
azureApiVersion string
The Azure API version of the resource.
groupStatus string
id string
The provider-assigned unique ID for this managed resource.
lastModifiedTime string
name string
Resource name
numOfApps number
type string
Resource type
azure_api_version str
The Azure API version of the resource.
group_status str
id str
The provider-assigned unique ID for this managed resource.
last_modified_time str
name str
Resource name
num_of_apps int
type str
Resource type
azureApiVersion String
The Azure API version of the resource.
groupStatus String
id String
The provider-assigned unique ID for this managed resource.
lastModifiedTime String
name String
Resource name
numOfApps Number
type String
Resource type

Package Details

Repository
Azure Native pulumi/pulumi-azure-native
License
Apache-2.0
This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v3.2.0 published on Monday, Apr 14, 2025 by Pulumi