MBrace.Azure


SubscriptionManager

Namespace: MBrace.Azure.Management

Client object for managing MBrace Cloud Service deployments for user-suppplied Azure subscription

Instance members

Instance memberDescription
AttachLogger(l)
Signature: l:ISystemLogger -> IDisposable

Attaches logger to the deployment manager instance

DefaultRegion()
Signature: unit -> Region

Gets or sets the default region used by the client instance

CompiledName: set_DefaultRegion

DefaultRegion()
Signature: unit -> unit

Gets or sets the default region used by the client instance

CompiledName: get_DefaultRegion

DeleteDeployment(...)
Signature: (serviceName:string * deleteStorageAccount:bool option * deleteServiceBusAccount:bool option) -> unit

Deletes deployment of given name.

DeleteDeploymentAsync(...)
Signature: (serviceName:string * deleteStorageAccount:bool option * deleteServiceBusAccount:bool option) -> Async<unit>

Asynchronously deletes deployment of given name.

GetDeployment(serviceName)
Signature: serviceName:string -> Deployment

Fetches deployment of given service name

GetDeploymentAsync(serviceName)
Signature: serviceName:string -> Async<Deployment>

Asynchronously fetches deployment of given service name

GetDeployments()
Signature: unit -> Deployment []

Fetches a list of all currently running deployments

GetDeploymentsAsync()
Signature: unit -> Async<Deployment []>

Asynchronously fetches a list of all currently running deployments

Provision(...)
Signature: (vmCount:int * serviceName:string option * region:Region option * vmSize:VMSize option * mbraceVersion:string option * storageAccount:string option * serviceBusAccount:string option * cloudServicePackage:string option * clusterLabel:string option * enableDiagnostics:bool option * reuseAccounts:bool option) -> Deployment

Starts deployment of MBrace cloud service with supplied parameters.

ProvisionAsync(...)
Signature: (vmCount:int * serviceName:string option * region:Region option * vmSize:VMSize option * mbraceVersion:string option * storageAccount:string option * serviceBusAccount:string option * cloudServicePackage:string option * clusterLabel:string option * enableDiagnostics:bool option * reuseAccounts:bool option) -> Async<Deployment>

Asynchronously starts deployment of MBrace cloud service with supplied parameters.

ResizeDeployment(serviceName, vmCount)
Signature: (serviceName:string * vmCount:int) -> unit

Asynchronously resizes deployment of given name to supplied instance count (scale out).

ResizeDeploymentAsync(...)
Signature: (serviceName:string * vmCount:int) -> Async<unit>

Asynchronously resizes deployment of given name to supplied instance count (scale out).

ServiceBus
Signature: ServiceBusManager

Service Bus account management client

CompiledName: get_ServiceBus

ShowDeployments()
Signature: unit -> unit

Prints a report on deployments to stdout.

Storage
Signature: StorageManager

Storage account management client

CompiledName: get_Storage

SubscriptionId
Signature: string

Subscription identifier

CompiledName: get_SubscriptionId

SubscriptionName
Signature: string

Subscription name

CompiledName: get_SubscriptionName

Static members

Static memberDescription
Create(...)
Signature: (subscription:Subscription * defaultRegion:Region * logger:ISystemLogger option * logLevel:LogLevel option) -> SubscriptionManager

Creates a new subscription manager instance using supplied Azure subscription

FromPublishSettings(...)
Signature: (publishSettings:PublishSettings * defaultRegion:Region * subscriptionId:string option * logger:ISystemLogger option * logLevel:LogLevel option) -> SubscriptionManager

Creates a new subscription manager instance using supplied set of Azure subscriptions

FromPublishSettingsFile(...)
Signature: (publishSettingsFile:string * defaultRegion:Region * subscriptionId:string option * logger:ISystemLogger option * logLevel:LogLevel option) -> SubscriptionManager

Creates a new subscription manager instance using local Azure PublishSettings file.

Fork me on GitHub