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 ManagementLockByScope extends pulumi.CustomResource { /** * Get an existing ManagementLockByScope 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): ManagementLockByScope; /** @internal */ static readonly __pulumiType = "azure-native:authorization:ManagementLockByScope"; /** * Returns true if the given object is an instance of ManagementLockByScope. 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 ManagementLockByScope; /** * 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 ManagementLockByScope 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: ManagementLockByScopeArgs, opts?: pulumi.CustomResourceOptions); } /** * The set of arguments for constructing a ManagementLockByScope resource. */ export interface ManagementLockByScopeArgs { /** * 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 name of lock. */ lockName?: pulumi.Input; /** * Notes about the lock. Maximum of 512 characters. */ notes?: pulumi.Input; /** * The owners of the lock. */ owners?: pulumi.Input[]>; /** * The scope for the lock. When providing a scope for the assignment, use '/subscriptions/{subscriptionId}' for subscriptions, '/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}' for resource groups, and '/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{parentResourcePathIfPresent}/{resourceType}/{resourceName}' for resources. */ scope: pulumi.Input; }