published on Saturday, Jul 18, 2026 by Pulumi
published on Saturday, Jul 18, 2026 by Pulumi
Gets the properties of a compute limit shared by the host subscription with its guest subscriptions.
Uses Azure REST API version 2025-08-15.
Other available API versions: 2026-03-20, 2026-04-30, 2026-06-01, 2026-07-01. These can be accessed by generating a local SDK package using the CLI command pulumi package add azure-native computelimit [ApiVersion]. See the version guide for details.
Using getSharedLimit
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 getSharedLimit(args: GetSharedLimitArgs, opts?: InvokeOptions): Promise<GetSharedLimitResult>
function getSharedLimitOutput(args: GetSharedLimitOutputArgs, opts?: InvokeOptions): Output<GetSharedLimitResult>def get_shared_limit(location: Optional[str] = None,
name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetSharedLimitResult
def get_shared_limit_output(location: pulumi.Input[Optional[str]] = None,
name: pulumi.Input[Optional[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetSharedLimitResult]func LookupSharedLimit(ctx *Context, args *LookupSharedLimitArgs, opts ...InvokeOption) (*LookupSharedLimitResult, error)
func LookupSharedLimitOutput(ctx *Context, args *LookupSharedLimitOutputArgs, opts ...InvokeOption) LookupSharedLimitResultOutput> Note: This function is named LookupSharedLimit in the Go SDK.
public static class GetSharedLimit
{
public static Task<GetSharedLimitResult> InvokeAsync(GetSharedLimitArgs args, InvokeOptions? opts = null)
public static Output<GetSharedLimitResult> Invoke(GetSharedLimitInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetSharedLimitResult> getSharedLimit(GetSharedLimitArgs args, InvokeOptions options)
public static Output<GetSharedLimitResult> getSharedLimit(GetSharedLimitArgs args, InvokeOptions options)
fn::invoke:
function: azure-native:computelimit:getSharedLimit
arguments:
# arguments dictionarydata "azure-native_computelimit_get_shared_limit" "name" {
# arguments
}The following arguments are supported:
getSharedLimit Result
The following output properties are available:
- Azure
Api stringVersion - The Azure API version of the resource.
- Id string
- Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
- Limit int
- The maximum permitted usage of the resource.
- Name string
- The name of the resource
- Provisioning
State string - The provisioning state of the resource.
- Resource
Name Pulumi.Azure Native. Compute Limit. Outputs. Limit Name Response - The limit name properties.
- System
Data Pulumi.Azure Native. Compute Limit. Outputs. System Data Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- Type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- Unit string
- The quota units, such as Count.
- Azure
Api stringVersion - The Azure API version of the resource.
- Id string
- Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
- Limit int
- The maximum permitted usage of the resource.
- Name string
- The name of the resource
- Provisioning
State string - The provisioning state of the resource.
- Resource
Name LimitName Response - The limit name properties.
- System
Data SystemData Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- Type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- Unit string
- The quota units, such as Count.
- azure_
api_ stringversion - The Azure API version of the resource.
- id string
- Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
- limit number
- The maximum permitted usage of the resource.
- name string
- The name of the resource
- provisioning_
state string - The provisioning state of the resource.
- resource_
name object - The limit name properties.
- system_
data object - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- unit string
- The quota units, such as Count.
- azure
Api StringVersion - The Azure API version of the resource.
- id String
- Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
- limit Integer
- The maximum permitted usage of the resource.
- name String
- The name of the resource
- provisioning
State String - The provisioning state of the resource.
- resource
Name LimitName Response - The limit name properties.
- system
Data SystemData Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type String
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- unit String
- The quota units, such as Count.
- azure
Api stringVersion - The Azure API version of the resource.
- id string
- Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
- limit number
- The maximum permitted usage of the resource.
- name string
- The name of the resource
- provisioning
State string - The provisioning state of the resource.
- resource
Name LimitName Response - The limit name properties.
- system
Data SystemData Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- unit string
- The quota units, such as Count.
- azure_
api_ strversion - The Azure API version of the resource.
- id str
- Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
- limit int
- The maximum permitted usage of the resource.
- name str
- The name of the resource
- provisioning_
state str - The provisioning state of the resource.
- resource_
name LimitName Response - The limit name properties.
- system_
data SystemData Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type str
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- unit str
- The quota units, such as Count.
- azure
Api StringVersion - The Azure API version of the resource.
- id String
- Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
- limit Number
- The maximum permitted usage of the resource.
- name String
- The name of the resource
- provisioning
State String - The provisioning state of the resource.
- resource
Name Property Map - The limit name properties.
- system
Data Property Map - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type String
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- unit String
- The quota units, such as Count.
Supporting Types
LimitNameResponse
- Localized
Value string - The localized limit name.
- Value string
- The limit name.
- Localized
Value string - The localized limit name.
- Value string
- The limit name.
- localized_
value string - The localized limit name.
- value string
- The limit name.
- localized
Value String - The localized limit name.
- value String
- The limit name.
- localized
Value string - The localized limit name.
- value string
- The limit name.
- localized_
value str - The localized limit name.
- value str
- The limit name.
- localized
Value String - The localized limit name.
- value String
- The limit name.
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 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
published on Saturday, Jul 18, 2026 by Pulumi