C# Class Elastacloud.AzureManagement.Fluent.Clients.ServiceBusClient

Defines an interface which can perform operations on blobs
Inheritance: IServiceBusClient
Show file Open project: azurecoder/fluent-management

Public Methods

Method Description
CheckNamespaceExists ( string name ) : bool

Checks to see whether a given namespace exists

CreateNamespace ( string name, string location = LocationConstants.NorthEurope ) : void

Creates a namespace given a name value

DeleteNamespace ( string name ) : void

Deletes a namespace and throws an exception if the namespace doesn't exist

GetServiceBusConnectionString ( string @namespace, string ruleName ) : string

Gets a service bus connection string given a namespace name

GetServiceBusNamspaceList ( string location ) : IEnumerable

Returns a list of service bus namespaces

ServiceBusClient ( string subscriptionId, X509Certificate2 certificate ) : System

Method Details

CheckNamespaceExists() public method

Checks to see whether a given namespace exists
public CheckNamespaceExists ( string name ) : bool
name string
return bool

CreateNamespace() public method

Creates a namespace given a name value
public CreateNamespace ( string name, string location = LocationConstants.NorthEurope ) : void
name string The name of the namespace that has to follow the prescribed rules
location string The location of the namespace default to N. Europe
return void

DeleteNamespace() public method

Deletes a namespace and throws an exception if the namespace doesn't exist
public DeleteNamespace ( string name ) : void
name string
return void

GetServiceBusConnectionString() public method

Gets a service bus connection string given a namespace name
public GetServiceBusConnectionString ( string @namespace, string ruleName ) : string
@namespace string
ruleName string
return string

GetServiceBusNamspaceList() public method

Returns a list of service bus namespaces
public GetServiceBusNamspaceList ( string location ) : IEnumerable
location string
return IEnumerable

ServiceBusClient() public method

public ServiceBusClient ( string subscriptionId, X509Certificate2 certificate ) : System
subscriptionId string
certificate System.Security.Cryptography.X509Certificates.X509Certificate2
return System