Microsoft.Azure.Commands.Batch.Models.BatchClient.GetLocationQuotas C# (CSharp) Method

GetLocationQuotas() public method

Gets the Batch service quotas for the specified subscription at the given region.
public GetLocationQuotas ( string location ) : PSBatchLocationQuotas
location string The desired region for the quotas.
return PSBatchLocationQuotas
        public virtual PSBatchLocationQuotas GetLocationQuotas(string location)
        {
            if (string.IsNullOrEmpty(location))
            {
                throw new ArgumentNullException("location");
            }

            WriteVerbose(string.Format(Resources.GettingLocationQuotas, location));

            BatchLocationQuota response = this.BatchManagementClient.Location.GetQuotas(location);
            return new PSBatchLocationQuotas(location, response);
        }
    }
BatchClient