This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.63.0 published on Tuesday, Sep 24, 2024 by Pulumi
azure-native.authorization.getManagementLockAtResourceGroupLevel
Explore with Pulumi AI
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.63.0 published on Tuesday, Sep 24, 2024 by Pulumi
Gets a management lock at the resource group level. Azure REST API version: 2020-05-01.
Other available API versions: 2015-01-01.
Using getManagementLockAtResourceGroupLevel
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getManagementLockAtResourceGroupLevel(args: GetManagementLockAtResourceGroupLevelArgs, opts?: InvokeOptions): Promise<GetManagementLockAtResourceGroupLevelResult>
function getManagementLockAtResourceGroupLevelOutput(args: GetManagementLockAtResourceGroupLevelOutputArgs, opts?: InvokeOptions): Output<GetManagementLockAtResourceGroupLevelResult>def get_management_lock_at_resource_group_level(lock_name: Optional[str] = None,
                                                resource_group_name: Optional[str] = None,
                                                opts: Optional[InvokeOptions] = None) -> GetManagementLockAtResourceGroupLevelResult
def get_management_lock_at_resource_group_level_output(lock_name: Optional[pulumi.Input[str]] = None,
                                                resource_group_name: Optional[pulumi.Input[str]] = None,
                                                opts: Optional[InvokeOptions] = None) -> Output[GetManagementLockAtResourceGroupLevelResult]func LookupManagementLockAtResourceGroupLevel(ctx *Context, args *LookupManagementLockAtResourceGroupLevelArgs, opts ...InvokeOption) (*LookupManagementLockAtResourceGroupLevelResult, error)
func LookupManagementLockAtResourceGroupLevelOutput(ctx *Context, args *LookupManagementLockAtResourceGroupLevelOutputArgs, opts ...InvokeOption) LookupManagementLockAtResourceGroupLevelResultOutput> Note: This function is named LookupManagementLockAtResourceGroupLevel in the Go SDK.
public static class GetManagementLockAtResourceGroupLevel 
{
    public static Task<GetManagementLockAtResourceGroupLevelResult> InvokeAsync(GetManagementLockAtResourceGroupLevelArgs args, InvokeOptions? opts = null)
    public static Output<GetManagementLockAtResourceGroupLevelResult> Invoke(GetManagementLockAtResourceGroupLevelInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetManagementLockAtResourceGroupLevelResult> getManagementLockAtResourceGroupLevel(GetManagementLockAtResourceGroupLevelArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
  function: azure-native:authorization:getManagementLockAtResourceGroupLevel
  arguments:
    # arguments dictionaryThe following arguments are supported:
- LockName string
- The name of the lock to get.
- ResourceGroup stringName 
- The name of the locked resource group.
- LockName string
- The name of the lock to get.
- ResourceGroup stringName 
- The name of the locked resource group.
- lockName String
- The name of the lock to get.
- resourceGroup StringName 
- The name of the locked resource group.
- lockName string
- The name of the lock to get.
- resourceGroup stringName 
- The name of the locked resource group.
- lock_name str
- The name of the lock to get.
- resource_group_ strname 
- The name of the locked resource group.
- lockName String
- The name of the lock to get.
- resourceGroup StringName 
- The name of the locked resource group.
getManagementLockAtResourceGroupLevel Result
The following output properties are available:
- Id string
- The resource ID of the lock.
- Level string
- 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.
- Name string
- The name of the lock.
- SystemData Pulumi.Azure Native. Authorization. Outputs. System Data Response 
- Metadata pertaining to creation and last modification of the resource.
- Type string
- The resource type of the lock - Microsoft.Authorization/locks.
- Notes string
- Notes about the lock. Maximum of 512 characters.
- Owners
List<Pulumi.Azure Native. Authorization. Outputs. Management Lock Owner Response> 
- The owners of the lock.
- Id string
- The resource ID of the lock.
- Level string
- 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.
- Name string
- The name of the lock.
- SystemData SystemData Response 
- Metadata pertaining to creation and last modification of the resource.
- Type string
- The resource type of the lock - Microsoft.Authorization/locks.
- Notes string
- Notes about the lock. Maximum of 512 characters.
- Owners
[]ManagementLock Owner Response 
- The owners of the lock.
- id String
- The resource ID of the lock.
- level String
- 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.
- name String
- The name of the lock.
- systemData SystemData Response 
- Metadata pertaining to creation and last modification of the resource.
- type String
- The resource type of the lock - Microsoft.Authorization/locks.
- notes String
- Notes about the lock. Maximum of 512 characters.
- owners
List<ManagementLock Owner Response> 
- The owners of the lock.
- id string
- The resource ID of the lock.
- level string
- 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.
- name string
- The name of the lock.
- systemData SystemData Response 
- Metadata pertaining to creation and last modification of the resource.
- type string
- The resource type of the lock - Microsoft.Authorization/locks.
- notes string
- Notes about the lock. Maximum of 512 characters.
- owners
ManagementLock Owner Response[] 
- The owners of the lock.
- id str
- The resource ID of the lock.
- level str
- 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.
- name str
- The name of the lock.
- system_data SystemData Response 
- Metadata pertaining to creation and last modification of the resource.
- type str
- The resource type of the lock - Microsoft.Authorization/locks.
- notes str
- Notes about the lock. Maximum of 512 characters.
- owners
Sequence[ManagementLock Owner Response] 
- The owners of the lock.
- id String
- The resource ID of the lock.
- level String
- 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.
- name String
- The name of the lock.
- systemData Property Map
- Metadata pertaining to creation and last modification of the resource.
- type String
- The resource type of the lock - Microsoft.Authorization/locks.
- notes String
- Notes about the lock. Maximum of 512 characters.
- owners List<Property Map>
- The owners of the lock.
Supporting Types
ManagementLockOwnerResponse   
- ApplicationId string
- The application ID of the lock owner.
- ApplicationId string
- The application ID of the lock owner.
- applicationId String
- The application ID of the lock owner.
- applicationId string
- The application ID of the lock owner.
- application_id str
- The application ID of the lock owner.
- applicationId String
- The application ID of the lock owner.
SystemDataResponse  
- CreatedAt string
- The timestamp of resource creation (UTC).
- CreatedBy string
- The identity that created the resource.
- CreatedBy stringType 
- The type of identity that created the resource.
- LastModified stringAt 
- The timestamp of resource last modification (UTC)
- LastModified stringBy 
- The identity that last modified the resource.
- LastModified stringBy Type 
- The type of identity that last modified the resource.
- CreatedAt string
- The timestamp of resource creation (UTC).
- CreatedBy string
- The identity that created the resource.
- CreatedBy stringType 
- The type of identity that created the resource.
- LastModified stringAt 
- The timestamp of resource last modification (UTC)
- LastModified stringBy 
- The identity that last modified the resource.
- LastModified stringBy Type 
- The type of identity that last modified the resource.
- createdAt String
- The timestamp of resource creation (UTC).
- createdBy String
- The identity that created the resource.
- createdBy StringType 
- The type of identity that created the resource.
- lastModified StringAt 
- The timestamp of resource last modification (UTC)
- lastModified StringBy 
- The identity that last modified the resource.
- lastModified StringBy Type 
- The type of identity that last modified the resource.
- createdAt string
- The timestamp of resource creation (UTC).
- createdBy string
- The identity that created the resource.
- createdBy stringType 
- The type of identity that created the resource.
- lastModified stringAt 
- The timestamp of resource last modification (UTC)
- lastModified stringBy 
- The identity that last modified the resource.
- lastModified stringBy Type 
- The type of identity that last modified the resource.
- created_at str
- The timestamp of resource creation (UTC).
- created_by str
- The identity that created the resource.
- created_by_ strtype 
- The type of identity that created the resource.
- last_modified_ strat 
- The timestamp of resource last modification (UTC)
- last_modified_ strby 
- The identity that last modified the resource.
- last_modified_ strby_ type 
- The type of identity that last modified the resource.
- createdAt String
- The timestamp of resource creation (UTC).
- createdBy String
- The identity that created the resource.
- createdBy StringType 
- The type of identity that created the resource.
- lastModified StringAt 
- The timestamp of resource last modification (UTC)
- lastModified StringBy 
- The identity that last modified the resource.
- lastModified StringBy Type 
- The type of identity that last modified the resource.
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.63.0 published on Tuesday, Sep 24, 2024 by Pulumi