Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Synopsis
- sendMessageBatch :: ToJSON a => Text -> Text -> Text -> Option 'Https -> MessageBatch a -> AccessToken -> Req ()
- newtype MessageBatch a = MessageBatch [a]
- createTopic :: Text -> Text -> Text -> Text -> TopicCreate -> AccessToken -> Req ()
- data TopicCreate = TopicCreate {}
- data TCProperties = TCProperties {}
- createQueue :: Text -> Text -> Text -> Text -> AccessToken -> Req QueueCreateResponse
- data QueueCreateResponse = QueueCreateResponse {}
- data QCRProperties = QCRProperties {}
- createNamespace :: Text -> Text -> Text -> NameSpaceCreate -> AccessToken -> Req NameSpaceCreateResponse
- data NameSpaceCreate = NameSpaceCreate {}
- data NameSpaceCreateResponse = NameSpaceCreateResponse {}
- data NSCRProperties = NSCRProperties {}
- data Sku = Sku {}
- data SkuName
Documentation
:: ToJSON a | |
=> Text | namespace |
-> Text | queue name |
-> Text | topic |
-> Option 'Https | |
-> MessageBatch a | |
-> AccessToken | |
-> Req () |
Send a message batch to the service bus
https://learn.microsoft.com/en-us/rest/api/servicebus/send-message-batch#request
newtype MessageBatch a Source #
MessageBatch [a] |
Instances
ToJSON a => ToJSON (MessageBatch a) Source # | |
Defined in MSAzureAPI.ServiceBus toJSON :: MessageBatch a -> Value # toEncoding :: MessageBatch a -> Encoding # toJSONList :: [MessageBatch a] -> Value # toEncodingList :: [MessageBatch a] -> Encoding # | |
IsList (MessageBatch a) Source # | |
Defined in MSAzureAPI.ServiceBus type Item (MessageBatch a) # fromList :: [Item (MessageBatch a)] -> MessageBatch a # fromListN :: Int -> [Item (MessageBatch a)] -> MessageBatch a # toList :: MessageBatch a -> [Item (MessageBatch a)] # | |
Show a => Show (MessageBatch a) Source # | |
Defined in MSAzureAPI.ServiceBus showsPrec :: Int -> MessageBatch a -> ShowS # show :: MessageBatch a -> String # showList :: [MessageBatch a] -> ShowS # | |
Eq a => Eq (MessageBatch a) Source # | |
Defined in MSAzureAPI.ServiceBus (==) :: MessageBatch a -> MessageBatch a -> Bool # (/=) :: MessageBatch a -> MessageBatch a -> Bool # | |
type Item (MessageBatch a) Source # | |
Defined in MSAzureAPI.ServiceBus |
:: Text | subscription id |
-> Text | RG name |
-> Text | namespace name |
-> Text | topic name |
-> TopicCreate | |
-> AccessToken | |
-> Req () |
data TopicCreate Source #
Instances
data TCProperties Source #
TCProperties | |
|
Instances
:: Text | subscription id |
-> Text | RG name |
-> Text | namespace name |
-> Text | queue name |
-> AccessToken | |
-> Req QueueCreateResponse |
Create a service bus queue using default options
data QueueCreateResponse Source #
Instances
data QCRProperties Source #
Instances
:: Text | subscription id |
-> Text | RG name |
-> Text | namespace name |
-> NameSpaceCreate | |
-> AccessToken | |
-> Req NameSpaceCreateResponse |
data NameSpaceCreate Source #
Instances
data NameSpaceCreateResponse Source #
Instances
FromJSON NameSpaceCreateResponse Source # | |
Defined in MSAzureAPI.ServiceBus | |
Generic NameSpaceCreateResponse Source # | |
Defined in MSAzureAPI.ServiceBus type Rep NameSpaceCreateResponse :: Type -> Type # | |
Show NameSpaceCreateResponse Source # | |
Defined in MSAzureAPI.ServiceBus showsPrec :: Int -> NameSpaceCreateResponse -> ShowS # show :: NameSpaceCreateResponse -> String # showList :: [NameSpaceCreateResponse] -> ShowS # | |
Eq NameSpaceCreateResponse Source # | |
Defined in MSAzureAPI.ServiceBus | |
type Rep NameSpaceCreateResponse Source # | |
Defined in MSAzureAPI.ServiceBus type Rep NameSpaceCreateResponse = D1 ('MetaData "NameSpaceCreateResponse" "MSAzureAPI.ServiceBus" "ms-azure-api-0.6.0.1-9AqtB8TNiqqGzZl2uZcaR4" 'False) (C1 ('MetaCons "NameSpaceCreateResponse" 'PrefixI 'True) (S1 ('MetaSel ('Just "nscrId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: S1 ('MetaSel ('Just "nscrProperties") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 NSCRProperties))) |
data NSCRProperties Source #
Instances
Instances
ToJSON SkuName Source # | |
Defined in MSAzureAPI.ServiceBus | |
Generic SkuName Source # | |
Show SkuName Source # | |
Eq SkuName Source # | |
type Rep SkuName Source # | |
Defined in MSAzureAPI.ServiceBus type Rep SkuName = D1 ('MetaData "SkuName" "MSAzureAPI.ServiceBus" "ms-azure-api-0.6.0.1-9AqtB8TNiqqGzZl2uZcaR4" 'False) (C1 ('MetaCons "Basic" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "Premium" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "Standard" 'PrefixI 'False) (U1 :: Type -> Type))) |