C# Class Microsoft.Azure.Commands.Batch.BatchAccountContext

Contains Batch account details for use when interacting with the Batch service.
Mostrar archivo Open project: Azure/azure-powershell Class Usage Examples

Private Properties

Property Type Description
BatchAccountContext Microsoft.Azure.Batch
BatchAccountContext Microsoft.Azure.Batch
ConvertAccountResourceToAccountContext void
ConvertAccountResourceToNewAccountContext BatchAccountContext

Protected Methods

Method Description
CreateBatchRestClient ( string url, string accountName, string key, DelegatingHandler handler = default(DelegatingHandler) ) : BatchServiceClient

Private Methods

Method Description
BatchAccountContext ( ) : Microsoft.Azure.Batch
BatchAccountContext ( string accountEndpoint ) : Microsoft.Azure.Batch
ConvertAccountResourceToAccountContext ( BatchAccount resource ) : void

Take an AccountResource and turn it into a BatchAccountContext

ConvertAccountResourceToNewAccountContext ( BatchAccount resource ) : BatchAccountContext

Create a new BAC and fill it in

Method Details

CreateBatchRestClient() protected method

protected CreateBatchRestClient ( string url, string accountName, string key, DelegatingHandler handler = default(DelegatingHandler) ) : BatchServiceClient
url string
accountName string
key string
handler DelegatingHandler
return BatchServiceClient