azure-native.intune.IoMAMPolicyByName
Explore with Pulumi AI
iOS Policy entity for Intune MAM. Azure REST API version: 2015-01-14-preview. Prior API version in Azure Native 1.x: 2015-01-14-preview.
Other available API versions: 2015-01-14-privatepreview.
Import
An existing resource can be imported using its type token, name, and identifier, e.g.
$ pulumi import azure-native:intune:IoMAMPolicyByName myresource1 /providers/Microsoft.Intune/locations/{hostName}/iosPolicies/{policyName} 
Create IoMAMPolicyByName Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new IoMAMPolicyByName(name: string, args: IoMAMPolicyByNameArgs, opts?: CustomResourceOptions);@overload
def IoMAMPolicyByName(resource_name: str,
                      args: IoMAMPolicyByNameArgs,
                      opts: Optional[ResourceOptions] = None)
@overload
def IoMAMPolicyByName(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_level: 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,
                      tags: Optional[Mapping[str, str]] = None,
                      touch_id: Optional[str] = None)func NewIoMAMPolicyByName(ctx *Context, name string, args IoMAMPolicyByNameArgs, opts ...ResourceOption) (*IoMAMPolicyByName, error)public IoMAMPolicyByName(string name, IoMAMPolicyByNameArgs args, CustomResourceOptions? opts = null)
public IoMAMPolicyByName(String name, IoMAMPolicyByNameArgs args)
public IoMAMPolicyByName(String name, IoMAMPolicyByNameArgs args, CustomResourceOptions options)
type: azure-native:intune:IoMAMPolicyByName
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 IoMAMPolicyByNameArgs
- 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 IoMAMPolicyByNameArgs
- 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 IoMAMPolicyByNameArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args IoMAMPolicyByNameArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args IoMAMPolicyByNameArgs
- 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 ioMAMPolicyByNameResource = new AzureNative.Intune.IoMAMPolicyByName("ioMAMPolicyByNameResource", new()
{
    FriendlyName = "string",
    HostName = "string",
    FileSharingSaveAs = "string",
    AppSharingFromLevel = "string",
    Authentication = "string",
    ClipboardSharingLevel = "string",
    DataBackup = "string",
    Description = "string",
    DeviceCompliance = "string",
    FileEncryptionLevel = "string",
    AccessRecheckOfflineTimeout = "string",
    AppSharingToLevel = "string",
    AccessRecheckOnlineTimeout = "string",
    Location = "string",
    ManagedBrowser = "string",
    OfflineWipeTimeout = "string",
    Pin = "string",
    PinNumRetry = 0,
    PolicyName = "string",
    Tags = 
    {
        { "string", "string" },
    },
    TouchId = "string",
});
example, err := intune.NewIoMAMPolicyByName(ctx, "ioMAMPolicyByNameResource", &intune.IoMAMPolicyByNameArgs{
	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"),
	FileEncryptionLevel:         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"),
	Tags: pulumi.StringMap{
		"string": pulumi.String("string"),
	},
	TouchId: pulumi.String("string"),
})
var ioMAMPolicyByNameResource = new IoMAMPolicyByName("ioMAMPolicyByNameResource", IoMAMPolicyByNameArgs.builder()
    .friendlyName("string")
    .hostName("string")
    .fileSharingSaveAs("string")
    .appSharingFromLevel("string")
    .authentication("string")
    .clipboardSharingLevel("string")
    .dataBackup("string")
    .description("string")
    .deviceCompliance("string")
    .fileEncryptionLevel("string")
    .accessRecheckOfflineTimeout("string")
    .appSharingToLevel("string")
    .accessRecheckOnlineTimeout("string")
    .location("string")
    .managedBrowser("string")
    .offlineWipeTimeout("string")
    .pin("string")
    .pinNumRetry(0)
    .policyName("string")
    .tags(Map.of("string", "string"))
    .touchId("string")
    .build());
io_mam_policy_by_name_resource = azure_native.intune.IoMAMPolicyByName("ioMAMPolicyByNameResource",
    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_level="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",
    tags={
        "string": "string",
    },
    touch_id="string")
const ioMAMPolicyByNameResource = new azure_native.intune.IoMAMPolicyByName("ioMAMPolicyByNameResource", {
    friendlyName: "string",
    hostName: "string",
    fileSharingSaveAs: "string",
    appSharingFromLevel: "string",
    authentication: "string",
    clipboardSharingLevel: "string",
    dataBackup: "string",
    description: "string",
    deviceCompliance: "string",
    fileEncryptionLevel: "string",
    accessRecheckOfflineTimeout: "string",
    appSharingToLevel: "string",
    accessRecheckOnlineTimeout: "string",
    location: "string",
    managedBrowser: "string",
    offlineWipeTimeout: "string",
    pin: "string",
    pinNumRetry: 0,
    policyName: "string",
    tags: {
        string: "string",
    },
    touchId: "string",
});
type: azure-native:intune:IoMAMPolicyByName
properties:
    accessRecheckOfflineTimeout: string
    accessRecheckOnlineTimeout: string
    appSharingFromLevel: string
    appSharingToLevel: string
    authentication: string
    clipboardSharingLevel: string
    dataBackup: string
    description: string
    deviceCompliance: string
    fileEncryptionLevel: string
    fileSharingSaveAs: string
    friendlyName: string
    hostName: string
    location: string
    managedBrowser: string
    offlineWipeTimeout: string
    pin: string
    pinNumRetry: 0
    policyName: string
    tags:
        string: string
    touchId: string
IoMAMPolicyByName 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 IoMAMPolicyByName resource accepts the following input properties:
- FriendlyName string
- HostName string
- Location hostName for the tenant
- AccessRecheck stringOffline Timeout 
- AccessRecheck stringOnline Timeout 
- AppSharing stringFrom Level 
- AppSharing stringTo Level 
- Authentication string
- ClipboardSharing stringLevel 
- DataBackup string
- Description string
- DeviceCompliance string
- FileEncryption stringLevel 
- FileSharing stringSave As 
- Location string
- Resource Location
- ManagedBrowser string
- OfflineWipe stringTimeout 
- Pin string
- PinNum intRetry 
- PolicyName string
- Unique name for the policy
- Dictionary<string, string>
- Resource Tags
- TouchId string
- FriendlyName string
- HostName string
- Location hostName for the tenant
- AccessRecheck stringOffline Timeout 
- AccessRecheck stringOnline Timeout 
- AppSharing stringFrom Level 
- AppSharing stringTo Level 
- Authentication string
- ClipboardSharing stringLevel 
- DataBackup string
- Description string
- DeviceCompliance string
- FileEncryption stringLevel 
- FileSharing stringSave As 
- Location string
- Resource Location
- ManagedBrowser string
- OfflineWipe stringTimeout 
- Pin string
- PinNum intRetry 
- PolicyName string
- Unique name for the policy
- map[string]string
- Resource Tags
- TouchId string
- friendlyName String
- hostName String
- Location hostName for the tenant
- accessRecheck StringOffline Timeout 
- accessRecheck StringOnline Timeout 
- appSharing StringFrom Level 
- appSharing StringTo Level 
- authentication String
- clipboardSharing StringLevel 
- dataBackup String
- description String
- deviceCompliance String
- fileEncryption StringLevel 
- fileSharing StringSave As 
- location String
- Resource Location
- managedBrowser String
- offlineWipe StringTimeout 
- pin String
- pinNum IntegerRetry 
- policyName String
- Unique name for the policy
- Map<String,String>
- Resource Tags
- touchId String
- friendlyName string
- hostName string
- Location hostName for the tenant
- accessRecheck stringOffline Timeout 
- accessRecheck stringOnline Timeout 
- appSharing stringFrom Level 
- appSharing stringTo Level 
- authentication string
- clipboardSharing stringLevel 
- dataBackup string
- description string
- deviceCompliance string
- fileEncryption stringLevel 
- fileSharing stringSave As 
- location string
- Resource Location
- managedBrowser string
- offlineWipe stringTimeout 
- pin string
- pinNum numberRetry 
- policyName string
- Unique name for the policy
- {[key: string]: string}
- Resource Tags
- touchId string
- 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_ strlevel 
- 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
- Mapping[str, str]
- Resource Tags
- touch_id str
- friendlyName String
- hostName String
- Location hostName for the tenant
- accessRecheck StringOffline Timeout 
- accessRecheck StringOnline Timeout 
- appSharing StringFrom Level 
- appSharing StringTo Level 
- authentication String
- clipboardSharing StringLevel 
- dataBackup String
- description String
- deviceCompliance String
- fileEncryption StringLevel 
- fileSharing StringSave As 
- location String
- Resource Location
- managedBrowser String
- offlineWipe StringTimeout 
- pin String
- pinNum NumberRetry 
- policyName String
- Unique name for the policy
- Map<String>
- Resource Tags
- touchId String
Outputs
All input properties are implicitly available as output properties. Additionally, the IoMAMPolicyByName resource produces the following output properties:
- GroupStatus string
- Id string
- The provider-assigned unique ID for this managed resource.
- LastModified stringTime 
- Name string
- Resource name
- NumOf intApps 
- Type string
- Resource type
- GroupStatus string
- Id string
- The provider-assigned unique ID for this managed resource.
- LastModified stringTime 
- Name string
- Resource name
- NumOf intApps 
- Type string
- Resource type
- groupStatus String
- id String
- The provider-assigned unique ID for this managed resource.
- lastModified StringTime 
- name String
- Resource name
- numOf IntegerApps 
- type String
- Resource type
- groupStatus string
- id string
- The provider-assigned unique ID for this managed resource.
- lastModified stringTime 
- name string
- Resource name
- numOf 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
- groupStatus String
- id String
- The provider-assigned unique ID for this managed resource.
- lastModified StringTime 
- name String
- Resource name
- numOf NumberApps 
- type String
- Resource type
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0