azure-native.intune.AndroidMAMPolicyByName
Explore with Pulumi AI
Android Policy entity for Intune MAM. 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}
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 string
- The unique name of the resource.
- args AndroidMAMPolicyByNameArgs
- 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 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 string
- The unique name of the resource.
- args AndroidMAMPolicyByNameArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args AndroidMAMPolicyByNameArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args 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" },
},
});
example, err := intune.NewAndroidMAMPolicyByName(ctx, "androidMAMPolicyByNameResource", &intune.AndroidMAMPolicyByNameArgs{
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[string]interface{}{
"string": "string",
},
})
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(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
.build());
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,
})
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",
},
});
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
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:
- Friendly
Name string - Host
Name string - Location hostName for the tenant
- Access
Recheck stringOffline Timeout - Access
Recheck stringOnline Timeout - App
Sharing stringFrom Level - App
Sharing stringTo Level - Authentication string
- Clipboard
Sharing stringLevel - Data
Backup string - Description string
- Device
Compliance string - File
Encryption string - File
Sharing stringSave As - Location string
- Resource Location
- Managed
Browser string - Offline
Wipe stringTimeout - Pin string
- Pin
Num intRetry - Policy
Name string - Unique name for the policy
- Screen
Capture string - Dictionary<string, string>
- Resource Tags
- Friendly
Name string - Host
Name string - Location hostName for the tenant
- Access
Recheck stringOffline Timeout - Access
Recheck stringOnline Timeout - App
Sharing stringFrom Level - App
Sharing stringTo Level - Authentication string
- Clipboard
Sharing stringLevel - Data
Backup string - Description string
- Device
Compliance string - File
Encryption string - File
Sharing stringSave As - Location string
- Resource Location
- Managed
Browser string - Offline
Wipe stringTimeout - Pin string
- Pin
Num intRetry - Policy
Name string - Unique name for the policy
- Screen
Capture string - map[string]string
- Resource Tags
- friendly
Name String - host
Name String - Location hostName for the tenant
- access
Recheck StringOffline Timeout - access
Recheck StringOnline Timeout - app
Sharing StringFrom Level - app
Sharing StringTo Level - authentication String
- clipboard
Sharing StringLevel - data
Backup String - description String
- device
Compliance String - file
Encryption String - file
Sharing StringSave As - location String
- Resource Location
- managed
Browser String - offline
Wipe StringTimeout - pin String
- pin
Num IntegerRetry - policy
Name String - Unique name for the policy
- screen
Capture String - Map<String,String>
- Resource Tags
- friendly
Name string - host
Name string - Location hostName for the tenant
- access
Recheck stringOffline Timeout - access
Recheck stringOnline Timeout - app
Sharing stringFrom Level - app
Sharing stringTo Level - authentication string
- clipboard
Sharing stringLevel - data
Backup string - description string
- device
Compliance string - file
Encryption string - file
Sharing stringSave As - location string
- Resource Location
- managed
Browser string - offline
Wipe stringTimeout - pin string
- pin
Num numberRetry - policy
Name string - Unique name for the policy
- screen
Capture string - {[key: string]: string}
- Resource Tags
- friendly_
name str - host_
name str - Location hostName for the tenant
- access_
recheck_ stroffline_ timeout - access_
recheck_ stronline_ timeout - app_
sharing_ strfrom_ level - app_
sharing_ strto_ level - authentication str
- clipboard_
sharing_ strlevel - data_
backup str - description str
- device_
compliance str - file_
encryption str - file_
sharing_ strsave_ as - location str
- Resource Location
- managed_
browser str - offline_
wipe_ strtimeout - pin str
- pin_
num_ intretry - policy_
name str - Unique name for the policy
- screen_
capture str - Mapping[str, str]
- Resource Tags
- friendly
Name String - host
Name String - Location hostName for the tenant
- access
Recheck StringOffline Timeout - access
Recheck StringOnline Timeout - app
Sharing StringFrom Level - app
Sharing StringTo Level - authentication String
- clipboard
Sharing StringLevel - data
Backup String - description String
- device
Compliance String - file
Encryption String - file
Sharing StringSave As - location String
- Resource Location
- managed
Browser String - offline
Wipe StringTimeout - pin String
- pin
Num NumberRetry - policy
Name String - Unique name for the policy
- screen
Capture String - Map<String>
- Resource Tags
Outputs
All input properties are implicitly available as output properties. Additionally, the AndroidMAMPolicyByName resource produces the following output properties:
- Group
Status string - Id string
- The provider-assigned unique ID for this managed resource.
- Last
Modified stringTime - Name string
- Resource name
- Num
Of intApps - Type string
- Resource type
- Group
Status string - Id string
- The provider-assigned unique ID for this managed resource.
- Last
Modified stringTime - Name string
- Resource name
- Num
Of intApps - Type string
- Resource type
- group
Status String - id String
- The provider-assigned unique ID for this managed resource.
- last
Modified StringTime - name String
- Resource name
- num
Of IntegerApps - type String
- Resource type
- group
Status string - id string
- The provider-assigned unique ID for this managed resource.
- last
Modified stringTime - name string
- Resource name
- num
Of numberApps - type string
- Resource type
- group_
status str - id str
- The provider-assigned unique ID for this managed resource.
- last_
modified_ strtime - name str
- Resource name
- num_
of_ intapps - type str
- Resource type
- group
Status String - id String
- The provider-assigned unique ID for this managed resource.
- last
Modified StringTime - name String
- Resource name
- num
Of NumberApps - type String
- Resource type
Package Details
- Repository
- azure-native-v1 pulumi/pulumi-azure-native
- License
- Apache-2.0