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.73.0 published on Wednesday, Nov 20, 2024 by Pulumi
azure-native.authorization.getManagementLockAtSubscriptionLevel
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.73.0 published on Wednesday, Nov 20, 2024 by Pulumi
Gets a management lock at the subscription level. Azure REST API version: 2020-05-01.
Using getManagementLockAtSubscriptionLevel
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 getManagementLockAtSubscriptionLevel(args: GetManagementLockAtSubscriptionLevelArgs, opts?: InvokeOptions): Promise<GetManagementLockAtSubscriptionLevelResult>
function getManagementLockAtSubscriptionLevelOutput(args: GetManagementLockAtSubscriptionLevelOutputArgs, opts?: InvokeOptions): Output<GetManagementLockAtSubscriptionLevelResult>
def get_management_lock_at_subscription_level(lock_name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetManagementLockAtSubscriptionLevelResult
def get_management_lock_at_subscription_level_output(lock_name: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetManagementLockAtSubscriptionLevelResult]
func LookupManagementLockAtSubscriptionLevel(ctx *Context, args *LookupManagementLockAtSubscriptionLevelArgs, opts ...InvokeOption) (*LookupManagementLockAtSubscriptionLevelResult, error)
func LookupManagementLockAtSubscriptionLevelOutput(ctx *Context, args *LookupManagementLockAtSubscriptionLevelOutputArgs, opts ...InvokeOption) LookupManagementLockAtSubscriptionLevelResultOutput
> Note: This function is named LookupManagementLockAtSubscriptionLevel
in the Go SDK.
public static class GetManagementLockAtSubscriptionLevel
{
public static Task<GetManagementLockAtSubscriptionLevelResult> InvokeAsync(GetManagementLockAtSubscriptionLevelArgs args, InvokeOptions? opts = null)
public static Output<GetManagementLockAtSubscriptionLevelResult> Invoke(GetManagementLockAtSubscriptionLevelInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetManagementLockAtSubscriptionLevelResult> getManagementLockAtSubscriptionLevel(GetManagementLockAtSubscriptionLevelArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: azure-native:authorization:getManagementLockAtSubscriptionLevel
arguments:
# arguments dictionary
The following arguments are supported:
- Lock
Name string - The name of the lock to get.
- Lock
Name string - The name of the lock to get.
- lock
Name String - The name of the lock to get.
- lock
Name string - The name of the lock to get.
- lock_
name str - The name of the lock to get.
- lock
Name String - The name of the lock to get.
getManagementLockAtSubscriptionLevel 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.
- System
Data 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.
- System
Data 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
[]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.
- system
Data 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<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.
- system
Data 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
Management
Lock 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[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.
- system
Data 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
- Application
Id string - The application ID of the lock owner.
- Application
Id string - The application ID of the lock owner.
- application
Id String - The application ID of the lock owner.
- application
Id string - The application ID of the lock owner.
- application_
id str - The application ID of the lock owner.
- application
Id String - The application ID of the lock owner.
SystemDataResponse
- Created
At string - The timestamp of resource creation (UTC).
- Created
By string - The identity that created the resource.
- Created
By stringType - The type of identity that created the resource.
- Last
Modified stringAt - The timestamp of resource last modification (UTC)
- Last
Modified stringBy - The identity that last modified the resource.
- Last
Modified stringBy Type - The type of identity that last modified the resource.
- Created
At string - The timestamp of resource creation (UTC).
- Created
By string - The identity that created the resource.
- Created
By stringType - The type of identity that created the resource.
- Last
Modified stringAt - The timestamp of resource last modification (UTC)
- Last
Modified stringBy - The identity that last modified the resource.
- Last
Modified stringBy Type - The type of identity that last modified the resource.
- created
At String - The timestamp of resource creation (UTC).
- created
By String - The identity that created the resource.
- created
By StringType - The type of identity that created the resource.
- last
Modified StringAt - The timestamp of resource last modification (UTC)
- last
Modified StringBy - The identity that last modified the resource.
- last
Modified StringBy Type - The type of identity that last modified the resource.
- created
At string - The timestamp of resource creation (UTC).
- created
By string - The identity that created the resource.
- created
By stringType - The type of identity that created the resource.
- last
Modified stringAt - The timestamp of resource last modification (UTC)
- last
Modified stringBy - The identity that last modified the resource.
- last
Modified 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.
- created
At String - The timestamp of resource creation (UTC).
- created
By String - The identity that created the resource.
- created
By StringType - The type of identity that created the resource.
- last
Modified StringAt - The timestamp of resource last modification (UTC)
- last
Modified StringBy - The identity that last modified the resource.
- last
Modified 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.73.0 published on Wednesday, Nov 20, 2024 by Pulumi