1. Packages
  2. Azure Native
  3. API Docs
  4. computelimit
  5. getSharedLimit
This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v3.13.0 published on Wednesday, Jan 28, 2026 by Pulumi
azure-native logo
This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v3.13.0 published on Wednesday, Jan 28, 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.

    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: Optional[pulumi.Input[str]] = None,
                         name: Optional[pulumi.Input[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 dictionary

    The following arguments are supported:

    Location string
    The name of the Azure region.
    Name string
    The name of the SharedLimit
    Location string
    The name of the Azure region.
    Name string
    The name of the SharedLimit
    location String
    The name of the Azure region.
    name String
    The name of the SharedLimit
    location string
    The name of the Azure region.
    name string
    The name of the SharedLimit
    location str
    The name of the Azure region.
    name str
    The name of the SharedLimit
    location String
    The name of the Azure region.
    name String
    The name of the SharedLimit

    getSharedLimit Result

    The following output properties are available:

    AzureApiVersion string
    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
    ProvisioningState string
    The provisioning state of the resource.
    ResourceName Pulumi.AzureNative.ComputeLimit.Outputs.LimitNameResponse
    The limit name properties.
    SystemData Pulumi.AzureNative.ComputeLimit.Outputs.SystemDataResponse
    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.
    AzureApiVersion string
    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
    ProvisioningState string
    The provisioning state of the resource.
    ResourceName LimitNameResponse
    The limit name properties.
    SystemData SystemDataResponse
    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.
    azureApiVersion String
    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
    provisioningState String
    The provisioning state of the resource.
    resourceName LimitNameResponse
    The limit name properties.
    systemData SystemDataResponse
    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.
    azureApiVersion string
    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
    provisioningState string
    The provisioning state of the resource.
    resourceName LimitNameResponse
    The limit name properties.
    systemData SystemDataResponse
    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_version str
    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 LimitNameResponse
    The limit name properties.
    system_data SystemDataResponse
    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.
    azureApiVersion String
    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
    provisioningState String
    The provisioning state of the resource.
    resourceName Property Map
    The limit name properties.
    systemData 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

    LocalizedValue string
    The localized limit name.
    Value string
    The limit name.
    LocalizedValue string
    The localized limit name.
    Value string
    The limit name.
    localizedValue String
    The localized limit name.
    value String
    The limit name.
    localizedValue string
    The localized limit name.
    value string
    The limit name.
    localized_value str
    The localized limit name.
    value str
    The limit name.
    localizedValue String
    The localized limit name.
    value String
    The limit name.

    SystemDataResponse

    CreatedAt string
    The timestamp of resource creation (UTC).
    CreatedBy string
    The identity that created the resource.
    CreatedByType string
    The type of identity that created the resource.
    LastModifiedAt string
    The timestamp of resource last modification (UTC)
    LastModifiedBy string
    The identity that last modified the resource.
    LastModifiedByType string
    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.
    CreatedByType string
    The type of identity that created the resource.
    LastModifiedAt string
    The timestamp of resource last modification (UTC)
    LastModifiedBy string
    The identity that last modified the resource.
    LastModifiedByType string
    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.
    createdByType String
    The type of identity that created the resource.
    lastModifiedAt String
    The timestamp of resource last modification (UTC)
    lastModifiedBy String
    The identity that last modified the resource.
    lastModifiedByType String
    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.
    createdByType string
    The type of identity that created the resource.
    lastModifiedAt string
    The timestamp of resource last modification (UTC)
    lastModifiedBy string
    The identity that last modified the resource.
    lastModifiedByType string
    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_type str
    The type of identity that created the resource.
    last_modified_at str
    The timestamp of resource last modification (UTC)
    last_modified_by str
    The identity that last modified the resource.
    last_modified_by_type str
    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.
    createdByType String
    The type of identity that created the resource.
    lastModifiedAt String
    The timestamp of resource last modification (UTC)
    lastModifiedBy String
    The identity that last modified the resource.
    lastModifiedByType String
    The type of identity that last modified the resource.

    Package Details

    Repository
    Azure Native pulumi/pulumi-azure-native
    License
    Apache-2.0
    azure-native logo
    This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
    Azure Native v3.13.0 published on Wednesday, Jan 28, 2026 by Pulumi
      Meet Neo: Your AI Platform Teammate