Microsoft.Azure.Commands.Batch.Models.BatchClient.GetLocationQuotas C# (CSharp) 메소드

GetLocationQuotas() 공개 메소드

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.
리턴 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