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

Defines an interface which can perform operations on blobs
Inheritance: IServiceBusClient
Afficher le fichier Open project: azurecoder/fluent-management

Méthodes publiques

Méthode 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 méthode

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

CreateNamespace() public méthode

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
Résultat void

DeleteNamespace() public méthode

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

GetServiceBusConnectionString() public méthode

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

GetServiceBusNamspaceList() public méthode

Returns a list of service bus namespaces
public GetServiceBusNamspaceList ( string location ) : IEnumerable
location string
Résultat IEnumerable

ServiceBusClient() public méthode

public ServiceBusClient ( string subscriptionId, X509Certificate2 certificate ) : System
subscriptionId string
certificate System.Security.Cryptography.X509Certificates.X509Certificate2
Résultat System