All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.azurenative.intune.IoMAMPolicyByName Maven / Gradle / Ivy

There is a newer version: 2.78.0
Show newest version
// *** WARNING: this file was generated by pulumi-java-gen. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***

package com.pulumi.azurenative.intune;

import com.pulumi.azurenative.Utilities;
import com.pulumi.azurenative.intune.IoMAMPolicyByNameArgs;
import com.pulumi.core.Alias;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Export;
import com.pulumi.core.annotations.ResourceType;
import com.pulumi.core.internal.Codegen;
import java.lang.Integer;
import java.lang.String;
import java.util.List;
import java.util.Map;
import java.util.Optional;
import javax.annotation.Nullable;

/**
 * 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.
 * 
 * ```sh
 * $ pulumi import azure-native:intune:IoMAMPolicyByName myresource1 /providers/Microsoft.Intune/locations/{hostName}/iosPolicies/{policyName} 
 * ```
 * 
 */
@ResourceType(type="azure-native:intune:IoMAMPolicyByName")
public class IoMAMPolicyByName extends com.pulumi.resources.CustomResource {
    @Export(name="accessRecheckOfflineTimeout", refs={String.class}, tree="[0]")
    private Output accessRecheckOfflineTimeout;

    public Output> accessRecheckOfflineTimeout() {
        return Codegen.optional(this.accessRecheckOfflineTimeout);
    }
    @Export(name="accessRecheckOnlineTimeout", refs={String.class}, tree="[0]")
    private Output accessRecheckOnlineTimeout;

    public Output> accessRecheckOnlineTimeout() {
        return Codegen.optional(this.accessRecheckOnlineTimeout);
    }
    @Export(name="appSharingFromLevel", refs={String.class}, tree="[0]")
    private Output appSharingFromLevel;

    public Output> appSharingFromLevel() {
        return Codegen.optional(this.appSharingFromLevel);
    }
    @Export(name="appSharingToLevel", refs={String.class}, tree="[0]")
    private Output appSharingToLevel;

    public Output> appSharingToLevel() {
        return Codegen.optional(this.appSharingToLevel);
    }
    @Export(name="authentication", refs={String.class}, tree="[0]")
    private Output authentication;

    public Output> authentication() {
        return Codegen.optional(this.authentication);
    }
    @Export(name="clipboardSharingLevel", refs={String.class}, tree="[0]")
    private Output clipboardSharingLevel;

    public Output> clipboardSharingLevel() {
        return Codegen.optional(this.clipboardSharingLevel);
    }
    @Export(name="dataBackup", refs={String.class}, tree="[0]")
    private Output dataBackup;

    public Output> dataBackup() {
        return Codegen.optional(this.dataBackup);
    }
    @Export(name="description", refs={String.class}, tree="[0]")
    private Output description;

    public Output> description() {
        return Codegen.optional(this.description);
    }
    @Export(name="deviceCompliance", refs={String.class}, tree="[0]")
    private Output deviceCompliance;

    public Output> deviceCompliance() {
        return Codegen.optional(this.deviceCompliance);
    }
    @Export(name="fileEncryptionLevel", refs={String.class}, tree="[0]")
    private Output fileEncryptionLevel;

    public Output> fileEncryptionLevel() {
        return Codegen.optional(this.fileEncryptionLevel);
    }
    @Export(name="fileSharingSaveAs", refs={String.class}, tree="[0]")
    private Output fileSharingSaveAs;

    public Output> fileSharingSaveAs() {
        return Codegen.optional(this.fileSharingSaveAs);
    }
    @Export(name="friendlyName", refs={String.class}, tree="[0]")
    private Output friendlyName;

    public Output friendlyName() {
        return this.friendlyName;
    }
    @Export(name="groupStatus", refs={String.class}, tree="[0]")
    private Output groupStatus;

    public Output groupStatus() {
        return this.groupStatus;
    }
    @Export(name="lastModifiedTime", refs={String.class}, tree="[0]")
    private Output lastModifiedTime;

    public Output lastModifiedTime() {
        return this.lastModifiedTime;
    }
    /**
     * Resource Location
     * 
     */
    @Export(name="location", refs={String.class}, tree="[0]")
    private Output location;

    /**
     * @return Resource Location
     * 
     */
    public Output> location() {
        return Codegen.optional(this.location);
    }
    @Export(name="managedBrowser", refs={String.class}, tree="[0]")
    private Output managedBrowser;

    public Output> managedBrowser() {
        return Codegen.optional(this.managedBrowser);
    }
    /**
     * Resource name
     * 
     */
    @Export(name="name", refs={String.class}, tree="[0]")
    private Output name;

    /**
     * @return Resource name
     * 
     */
    public Output name() {
        return this.name;
    }
    @Export(name="numOfApps", refs={Integer.class}, tree="[0]")
    private Output numOfApps;

    public Output numOfApps() {
        return this.numOfApps;
    }
    @Export(name="offlineWipeTimeout", refs={String.class}, tree="[0]")
    private Output offlineWipeTimeout;

    public Output> offlineWipeTimeout() {
        return Codegen.optional(this.offlineWipeTimeout);
    }
    @Export(name="pin", refs={String.class}, tree="[0]")
    private Output pin;

    public Output> pin() {
        return Codegen.optional(this.pin);
    }
    @Export(name="pinNumRetry", refs={Integer.class}, tree="[0]")
    private Output pinNumRetry;

    public Output> pinNumRetry() {
        return Codegen.optional(this.pinNumRetry);
    }
    /**
     * Resource Tags
     * 
     */
    @Export(name="tags", refs={Map.class,String.class}, tree="[0,1,1]")
    private Output> tags;

    /**
     * @return Resource Tags
     * 
     */
    public Output>> tags() {
        return Codegen.optional(this.tags);
    }
    @Export(name="touchId", refs={String.class}, tree="[0]")
    private Output touchId;

    public Output> touchId() {
        return Codegen.optional(this.touchId);
    }
    /**
     * Resource type
     * 
     */
    @Export(name="type", refs={String.class}, tree="[0]")
    private Output type;

    /**
     * @return Resource type
     * 
     */
    public Output type() {
        return this.type;
    }

    /**
     *
     * @param name The _unique_ name of the resulting resource.
     */
    public IoMAMPolicyByName(java.lang.String name) {
        this(name, IoMAMPolicyByNameArgs.Empty);
    }
    /**
     *
     * @param name The _unique_ name of the resulting resource.
     * @param args The arguments to use to populate this resource's properties.
     */
    public IoMAMPolicyByName(java.lang.String name, IoMAMPolicyByNameArgs args) {
        this(name, args, null);
    }
    /**
     *
     * @param name The _unique_ name of the resulting resource.
     * @param args The arguments to use to populate this resource's properties.
     * @param options A bag of options that control this resource's behavior.
     */
    public IoMAMPolicyByName(java.lang.String name, IoMAMPolicyByNameArgs args, @Nullable com.pulumi.resources.CustomResourceOptions options) {
        super("azure-native:intune:IoMAMPolicyByName", name, makeArgs(args, options), makeResourceOptions(options, Codegen.empty()), false);
    }

    private IoMAMPolicyByName(java.lang.String name, Output id, @Nullable com.pulumi.resources.CustomResourceOptions options) {
        super("azure-native:intune:IoMAMPolicyByName", name, null, makeResourceOptions(options, id), false);
    }

    private static IoMAMPolicyByNameArgs makeArgs(IoMAMPolicyByNameArgs args, @Nullable com.pulumi.resources.CustomResourceOptions options) {
        if (options != null && options.getUrn().isPresent()) {
            return null;
        }
        return args == null ? IoMAMPolicyByNameArgs.Empty : args;
    }

    private static com.pulumi.resources.CustomResourceOptions makeResourceOptions(@Nullable com.pulumi.resources.CustomResourceOptions options, @Nullable Output id) {
        var defaultOptions = com.pulumi.resources.CustomResourceOptions.builder()
            .version(Utilities.getVersion())
            .aliases(List.of(
                Output.of(Alias.builder().type("azure-native:intune/v20150114preview:IoMAMPolicyByName").build()),
                Output.of(Alias.builder().type("azure-native:intune/v20150114privatepreview:IoMAMPolicyByName").build())
            ))
            .build();
        return com.pulumi.resources.CustomResourceOptions.merge(defaultOptions, options, id);
    }

    /**
     * Get an existing Host resource's state with the given name, ID, and optional extra
     * properties used to qualify the lookup.
     *
     * @param name The _unique_ name of the resulting resource.
     * @param id The _unique_ provider ID of the resource to lookup.
     * @param options Optional settings to control the behavior of the CustomResource.
     */
    public static IoMAMPolicyByName get(java.lang.String name, Output id, @Nullable com.pulumi.resources.CustomResourceOptions options) {
        return new IoMAMPolicyByName(name, id, options);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy