import * as pulumi from "@pulumi/pulumi"; import * as types from "./types"; /** * The lock information. * * Uses Azure REST API version 2020-05-01. In version 2.x of the Azure Native provider, it used API version 2020-05-01. */ export declare class ManagementLockAtResourceGroupLevel extends pulumi.CustomResource { /** * Get an existing ManagementLockAtResourceGroupLevel 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 opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): ManagementLockAtResourceGroupLevel; /** @internal */ static readonly __pulumiType = "azure-native:authorization:ManagementLockAtResourceGroupLevel"; /** * Returns true if the given object is an instance of ManagementLockAtResourceGroupLevel. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is ManagementLockAtResourceGroupLevel; /** * The Azure API version of the resource. */ readonly azureApiVersion: pulumi.Output; /** * The level of the lock. Possible values are: NotSpecified, CanNotDelete, ReadOnly. CanNotDelete means authorized users are able to read and modify the resources, but not delete. ReadOnly means authorized users can only read from a resource, but they can't modify or delete it. */ readonly level: pulumi.Output; /** * The name of the lock. */ readonly name: pulumi.Output; /** * Notes about the lock. Maximum of 512 characters. */ readonly notes: pulumi.Output; /** * The owners of the lock. */ readonly owners: pulumi.Output; /** * Metadata pertaining to creation and last modification of the resource. */ readonly systemData: pulumi.Output; /** * The resource type of the lock - Microsoft.Authorization/locks. */ readonly type: pulumi.Output; /** * Create a ManagementLockAtResourceGroupLevel resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args: ManagementLockAtResourceGroupLevelArgs, opts?: pulumi.CustomResourceOptions); } /** * The set of arguments for constructing a ManagementLockAtResourceGroupLevel resource. */ export interface ManagementLockAtResourceGroupLevelArgs { /** * The level of the lock. Possible values are: NotSpecified, CanNotDelete, ReadOnly. CanNotDelete means authorized users are able to read and modify the resources, but not delete. ReadOnly means authorized users can only read from a resource, but they can't modify or delete it. */ level: pulumi.Input; /** * The lock name. The lock name can be a maximum of 260 characters. It cannot contain <, > %, &, :, \, ?, /, or any control characters. */ lockName?: pulumi.Input; /** * Notes about the lock. Maximum of 512 characters. */ notes?: pulumi.Input; /** * The owners of the lock. */ owners?: pulumi.Input[]>; /** * The name of the resource group to lock. */ resourceGroupName: pulumi.Input; }