Get-AzureSqlDatabaseServerQuota

[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

Get-AzureSqlDatabaseServerQuota

Returns the quota information for a specified Windows Azure SQL Database Server.

Syntax

Parameter Set: Default
Get-AzureSqlDatabaseServerQuota [-ConnectionContext] <IServerDataServiceContext> [[-QuotaName] <String> ] [ <CommonParameters>]

Detailed Description

The user specifies the server by supplying a connection context. If a quota name is not specified, then all the quota information for the server is returned.

Parameters

-ConnectionContext<IServerDataServiceContext>

The connection context to the specified Windows Azure SQL Database Server.

Aliases

Context

Required?

true

Position?

1

Default Value

none

Accept Pipeline Input?

True (ByValue, ByPropertyName)

Accept Wildcard Characters?

false

-QuotaName<String>

The name of the quota value to be retrieved. If a quota name is not specified, then all the quota information for the server is returned.

Aliases

none

Required?

false

Position?

2

Default Value

none

Accept Pipeline Input?

True (ByPropertyName)

Accept Wildcard Characters?

false

<CommonParameters>

This cmdlet supports the common parameters: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer, and -OutVariable. For more information, see about_CommonParameters

Inputs

The input type is the type of the objects that you can pipe to the cmdlet.

Outputs

The output type is the type of the objects that the cmdlet emits.

  • Microsoft.WindowsAzure.Management.SqlDatabase.Services.Server.ServerQuota[]

Examples

-------------- EXAMPLE 1 --------------

This example returns the quota, "Premium_Databases", from the Windows Azure SQL Database Server specified by the connection $ctx.

C:\PS>$quotaPremium = GetAzureSqlDatabaseServerQuota $ctx QuotaName "Premium_Databases"

-------------- EXAMPLE 2 --------------

This example returns a list of all quota values from the Windows Azure SQL Database Server specified by the connection $ctx.

C:\PS>$quotaList = GetAzureSqlDatabaseServerQuota $ctx

New-AzureSqlDatabaseServerContext