C# 클래스 Microsoft.WindowsAzure.Commands.Utilities.ServiceBus.ServiceBusClientExtensions

파일 보기 프로젝트 열기: Azure/azure-powershell 1 사용 예제들

공개 메소드들

메소드 설명
CreateNamespace ( string name, string location, NamespaceType type, bool createACSNamespace = false ) : Microsoft.WindowsAzure.Commands.Utilities.ServiceBus.ExtendedServiceBusNamespace
CreateNotificationHub ( string namespaceName, string name ) : NotificationHubDescription

Creates new service bus notification hub in the given name.

CreateQueue ( string namespaceName, string name ) : QueueDescription

Creates new service bus queue in the given name.

CreateRelay ( string namespaceName, string name, RelayType type ) : RelayDescription

Creates new service bus relay in the given name.

CreateSharedAccessAuthorization ( string namespaceName, string entityName, ServiceBusEntityType entityType, string ruleName, string primaryKey, string secondaryKey ) : Microsoft.WindowsAzure.Commands.Utilities.ServiceBus.ExtendedAuthorizationRule

Creates shared access signature authorization for the service bus entity. This authorization works on public Microsoft Azure environments and Windows Azure Pack on prim as well.

CreateSharedAccessAuthorization ( string namespaceName, string ruleName, string primaryKey, string secondaryKey ) : Microsoft.WindowsAzure.Commands.Utilities.ServiceBus.ExtendedAuthorizationRule

Creates shared access signature authorization for the service bus namespace. This authorization works on public Microsoft Azure environments and Windows Azure Pack on prim as well.

CreateTopic ( string namespaceName, string name ) : TopicDescription

Creates new service bus topic in the given name.

GetAuthorizationRule ( string namespaceName, string ruleName ) : Microsoft.WindowsAzure.Commands.Utilities.ServiceBus.ExtendedAuthorizationRule

Gets the authorization rule with the specified name in the namespace level.

GetAuthorizationRule ( string namespaceName, string entityName, ServiceBusEntityType entityType, string ruleName ) : Microsoft.WindowsAzure.Commands.Utilities.ServiceBus.ExtendedAuthorizationRule

Gets the authorization rule with the specified name in the entity level.

GetAuthorizationRule ( Microsoft.WindowsAzure.Commands.Utilities.ServiceBus.AuthorizationRuleFilterOption filterOptions ) : List

Gets authorization rules based on the passed filter options.

GetConnectionString ( string namespaceName ) : List

Gets all the available connection strings for given namespace.

GetConnectionString ( string namespaceName, string entityName, ServiceBusEntityType entityType ) : List

Gets available connection strings for the specified entity.

GetConnectionString ( string namespaceName, string keyName ) : string

Gets the connection string with the given name.

GetConnectionString ( string namespaceName, string entityName, ServiceBusEntityType entityType, string keyName ) : string

Gets the connection string with the given name for the entity.

GetDefaultLocation ( ) : string
GetNamespace ( string name ) : Microsoft.WindowsAzure.Commands.Utilities.ServiceBus.ExtendedServiceBusNamespace
GetNamespace ( ) : List
GetServiceBusRegions ( ) : List
IsAvailableNamespace ( string name ) : bool
NamespaceExists ( string name ) : bool
RemoveAuthorizationRule ( Microsoft.WindowsAzure.Commands.Utilities.ServiceBus.AuthorizationRuleFilterOption options ) : void

Removes set of authorization rules that matches filter options.

RemoveAuthorizationRule ( string namespaceName, string ruleName ) : void

Removes shared access signature authorization for the service bus namespace.

RemoveAuthorizationRule ( string namespaceName, string entityName, ServiceBusEntityType entityType, string ruleName ) : void

Removed shared access signature authorization for the service bus entity.

RemoveNamespace ( string name ) : bool
ServiceBusClientExtensions ( ) : System

Parameterless constructs for mocking framework.

ServiceBusClientExtensions ( AzureSMProfile profile ) : System

Creates new instance from ServiceBusClientExtensions

UpdateSharedAccessAuthorization ( string namespaceName, string entityName, ServiceBusEntityType entityType, string ruleName, string primaryKey, string secondaryKey ) : Microsoft.WindowsAzure.Commands.Utilities.ServiceBus.ExtendedAuthorizationRule

Updates shared access signature authorization for the service bus entity. This authorization works on public Microsoft Azure environments and Windows Azure Pack on prim as well.

UpdateSharedAccessAuthorization ( string namespaceName, string ruleName, string primaryKey, string secondaryKey ) : Microsoft.WindowsAzure.Commands.Utilities.ServiceBus.ExtendedAuthorizationRule

Updates shared access signature authorization for the service bus namespace. This authorization works on public Microsoft Azure environments and Windows Azure Pack on prim as well.

비공개 메소드들

메소드 설명
CreateExtendedAuthorizationRule ( AuthorizationRule rule, string namespaceName ) : Microsoft.WindowsAzure.Commands.Utilities.ServiceBus.ExtendedAuthorizationRule
CreateExtendedAuthorizationRule ( AuthorizationRule rule, string namespaceName, string entityName, ServiceBusEntityType entityType ) : Microsoft.WindowsAzure.Commands.Utilities.ServiceBus.ExtendedAuthorizationRule
CreateNamespaceManager ( string namespaceName ) : NamespaceManager
FilterAuthorizationRules ( Microsoft.WindowsAzure.Commands.Utilities.ServiceBus.AuthorizationRuleFilterOption options ) : List
GetAuthorizationRuleCore ( string namespaceName, string entityName, ServiceBusEntityType entityType, Predicate match ) : List
GetAuthorizationRulesToFilter ( Microsoft.WindowsAzure.Commands.Utilities.ServiceBus.AuthorizationRuleFilterOption options ) : List
GetExtendedServiceBusNamespace ( string name ) : Microsoft.WindowsAzure.Commands.Utilities.ServiceBus.ExtendedServiceBusNamespace
IsActiveNamespace ( string name ) : bool
TryGetNamespace ( string name ) : Microsoft.WindowsAzure.Management.ServiceBus.Models.ServiceBusNamespace

메소드 상세

CreateNamespace() 공개 메소드

public CreateNamespace ( string name, string location, NamespaceType type, bool createACSNamespace = false ) : Microsoft.WindowsAzure.Commands.Utilities.ServiceBus.ExtendedServiceBusNamespace
name string
location string
type NamespaceType
createACSNamespace bool
리턴 Microsoft.WindowsAzure.Commands.Utilities.ServiceBus.ExtendedServiceBusNamespace

CreateNotificationHub() 공개 메소드

Creates new service bus notification hub in the given name.
public CreateNotificationHub ( string namespaceName, string name ) : NotificationHubDescription
namespaceName string The namespace name
name string The notification hub name
리턴 NotificationHubDescription

CreateQueue() 공개 메소드

Creates new service bus queue in the given name.
public CreateQueue ( string namespaceName, string name ) : QueueDescription
namespaceName string The namespace name
name string The queue name
리턴 QueueDescription

CreateRelay() 공개 메소드

Creates new service bus relay in the given name.
public CreateRelay ( string namespaceName, string name, RelayType type ) : RelayDescription
namespaceName string The namespace name
name string The relay name
type RelayType The relay type
리턴 RelayDescription

CreateSharedAccessAuthorization() 공개 메소드

Creates shared access signature authorization for the service bus entity. This authorization works on public Microsoft Azure environments and Windows Azure Pack on prim as well.
public CreateSharedAccessAuthorization ( string namespaceName, string entityName, ServiceBusEntityType entityType, string ruleName, string primaryKey, string secondaryKey ) : Microsoft.WindowsAzure.Commands.Utilities.ServiceBus.ExtendedAuthorizationRule
namespaceName string The service bus namespace name
entityName string The fully qualified service bus entity name
entityType ServiceBusEntityType The service bus entity type (e.g. Queue)
ruleName string The SAS authorization rule name
primaryKey string The SAS primary key. It'll be generated if empty
secondaryKey string The SAS secondary key
리턴 Microsoft.WindowsAzure.Commands.Utilities.ServiceBus.ExtendedAuthorizationRule

CreateSharedAccessAuthorization() 공개 메소드

Creates shared access signature authorization for the service bus namespace. This authorization works on public Microsoft Azure environments and Windows Azure Pack on prim as well.
public CreateSharedAccessAuthorization ( string namespaceName, string ruleName, string primaryKey, string secondaryKey ) : Microsoft.WindowsAzure.Commands.Utilities.ServiceBus.ExtendedAuthorizationRule
namespaceName string The service bus namespace name
ruleName string The SAS authorization rule name
primaryKey string The SAS primary key. It'll be generated if empty
secondaryKey string The SAS secondary key
리턴 Microsoft.WindowsAzure.Commands.Utilities.ServiceBus.ExtendedAuthorizationRule

CreateTopic() 공개 메소드

Creates new service bus topic in the given name.
public CreateTopic ( string namespaceName, string name ) : TopicDescription
namespaceName string The namespace name
name string The topic name
리턴 TopicDescription

GetAuthorizationRule() 공개 메소드

Gets the authorization rule with the specified name in the namespace level.
public GetAuthorizationRule ( string namespaceName, string ruleName ) : Microsoft.WindowsAzure.Commands.Utilities.ServiceBus.ExtendedAuthorizationRule
namespaceName string The namespace name
ruleName string The rule name
리턴 Microsoft.WindowsAzure.Commands.Utilities.ServiceBus.ExtendedAuthorizationRule

GetAuthorizationRule() 공개 메소드

Gets the authorization rule with the specified name in the entity level.
public GetAuthorizationRule ( string namespaceName, string entityName, ServiceBusEntityType entityType, string ruleName ) : Microsoft.WindowsAzure.Commands.Utilities.ServiceBus.ExtendedAuthorizationRule
namespaceName string The namespace name
entityName string The entity name
entityType ServiceBusEntityType The entity type
ruleName string The rule name
리턴 Microsoft.WindowsAzure.Commands.Utilities.ServiceBus.ExtendedAuthorizationRule

GetAuthorizationRule() 공개 메소드

Gets authorization rules based on the passed filter options.
public GetAuthorizationRule ( Microsoft.WindowsAzure.Commands.Utilities.ServiceBus.AuthorizationRuleFilterOption filterOptions ) : List
filterOptions Microsoft.WindowsAzure.Commands.Utilities.ServiceBus.AuthorizationRuleFilterOption The filter options
리턴 List

GetConnectionString() 공개 메소드

Gets all the available connection strings for given namespace.
public GetConnectionString ( string namespaceName ) : List
namespaceName string The namespace name
리턴 List

GetConnectionString() 공개 메소드

Gets available connection strings for the specified entity.
public GetConnectionString ( string namespaceName, string entityName, ServiceBusEntityType entityType ) : List
namespaceName string The namespace name
entityName string The entity name
entityType ServiceBusEntityType The entity type
리턴 List

GetConnectionString() 공개 메소드

Gets the connection string with the given name.
public GetConnectionString ( string namespaceName, string keyName ) : string
namespaceName string The namespace name
keyName string The connection string key name
리턴 string

GetConnectionString() 공개 메소드

Gets the connection string with the given name for the entity.
public GetConnectionString ( string namespaceName, string entityName, ServiceBusEntityType entityType, string keyName ) : string
namespaceName string The namespace name
entityName string
entityType ServiceBusEntityType
keyName string The connection string key name
리턴 string

GetDefaultLocation() 공개 메소드

public GetDefaultLocation ( ) : string
리턴 string

GetNamespace() 공개 메소드

public GetNamespace ( string name ) : Microsoft.WindowsAzure.Commands.Utilities.ServiceBus.ExtendedServiceBusNamespace
name string
리턴 Microsoft.WindowsAzure.Commands.Utilities.ServiceBus.ExtendedServiceBusNamespace

GetNamespace() 공개 메소드

public GetNamespace ( ) : List
리턴 List

GetServiceBusRegions() 공개 메소드

public GetServiceBusRegions ( ) : List
리턴 List

IsAvailableNamespace() 공개 메소드

public IsAvailableNamespace ( string name ) : bool
name string
리턴 bool

NamespaceExists() 공개 메소드

public NamespaceExists ( string name ) : bool
name string
리턴 bool

RemoveAuthorizationRule() 공개 메소드

Removes set of authorization rules that matches filter options.
public RemoveAuthorizationRule ( Microsoft.WindowsAzure.Commands.Utilities.ServiceBus.AuthorizationRuleFilterOption options ) : void
options Microsoft.WindowsAzure.Commands.Utilities.ServiceBus.AuthorizationRuleFilterOption The filter options
리턴 void

RemoveAuthorizationRule() 공개 메소드

Removes shared access signature authorization for the service bus namespace.
public RemoveAuthorizationRule ( string namespaceName, string ruleName ) : void
namespaceName string The service bus namespace name
ruleName string The SAS authorization rule name
리턴 void

RemoveAuthorizationRule() 공개 메소드

Removed shared access signature authorization for the service bus entity.
public RemoveAuthorizationRule ( string namespaceName, string entityName, ServiceBusEntityType entityType, string ruleName ) : void
namespaceName string The service bus namespace name
entityName string The fully qualified service bus entity name
entityType ServiceBusEntityType The service bus entity type (e.g. Queue)
ruleName string The SAS authorization rule name
리턴 void

RemoveNamespace() 공개 메소드

public RemoveNamespace ( string name ) : bool
name string
리턴 bool

ServiceBusClientExtensions() 공개 메소드

Parameterless constructs for mocking framework.
public ServiceBusClientExtensions ( ) : System
리턴 System

ServiceBusClientExtensions() 공개 메소드

Creates new instance from ServiceBusClientExtensions
public ServiceBusClientExtensions ( AzureSMProfile profile ) : System
profile AzureSMProfile
리턴 System

UpdateSharedAccessAuthorization() 공개 메소드

Updates shared access signature authorization for the service bus entity. This authorization works on public Microsoft Azure environments and Windows Azure Pack on prim as well.
public UpdateSharedAccessAuthorization ( string namespaceName, string entityName, ServiceBusEntityType entityType, string ruleName, string primaryKey, string secondaryKey ) : Microsoft.WindowsAzure.Commands.Utilities.ServiceBus.ExtendedAuthorizationRule
namespaceName string The service bus namespace name
entityName string The fully qualified service bus entity name
entityType ServiceBusEntityType The service bus entity type (e.g. Queue)
ruleName string The SAS authorization rule name
primaryKey string The SAS primary key. It'll be generated if empty
secondaryKey string The SAS secondary key
리턴 Microsoft.WindowsAzure.Commands.Utilities.ServiceBus.ExtendedAuthorizationRule

UpdateSharedAccessAuthorization() 공개 메소드

Updates shared access signature authorization for the service bus namespace. This authorization works on public Microsoft Azure environments and Windows Azure Pack on prim as well.
public UpdateSharedAccessAuthorization ( string namespaceName, string ruleName, string primaryKey, string secondaryKey ) : Microsoft.WindowsAzure.Commands.Utilities.ServiceBus.ExtendedAuthorizationRule
namespaceName string The service bus namespace name
ruleName string The SAS authorization rule name
primaryKey string The SAS primary key. It'll be generated if empty
secondaryKey string The SAS secondary key
리턴 Microsoft.WindowsAzure.Commands.Utilities.ServiceBus.ExtendedAuthorizationRule