More Related Content Similar to 1st step LogicFlow (20) More from Tomoyuki Obi (20) 1st step LogicFlow2. Self Introduction
Attribute1: VB / LogicApps-Flow
@twit_ahf
Attribute2: 提督 / 殿 / メガネ / クマ / プロレス / ヤマト /もっふり
tomoyuki.obi http://el.jibun.atmarkit.co.jp/ahf/
Community: LogicFlow-ja / CLR/H
Microsoft MVP for Microsoft Azure(2017.03 ~)
4. Agenda
• LogicApps/Flow/PowerApps とは
– LogicFlow 基本機能
– LogicApps と Flow の違い
– HybridConnection と OnPremiss DataGateway
– Enterprise Integration Pack
• LogicFlow の各機能
• Flow/PowerApps モバイルアプリ
14. LogicApps プランの切り替え
Param(
[string] $AppService_RG = {AppService の ResourceGropu 名},
[string] $AppService_Name = {AppService の名前},
[string] $LogicApp_RG = {LogicApps の ResourceGroup 名},
[string] $LogicApp_Name = {LogicApps の名前},
[string] $subscriptionId = {サブスクリプションのID}
)
Login-AzureRmAccount
Set-AzureRmContext -SubscriptionID $subscriptionId
$subscription = Get-AzureRmSubscription -SubscriptionId $subscriptionId
$appserviceplan = Get-AzureRmResource -ResourceType "Microsoft.Web/serverFarms" -
ResourceGroupName $AppService_RG -ResourceName $AppService_Name
$logicapp = Get-AzureRmResource -ResourceType "Microsoft.Logic/workflows" -
ResourceGroupName $LogicApp_RG -ResourceName $LogicApp_Name
$sku = @{
"name" = $appservicePlan.Sku.tier;
"plan" = @{
"id" = $appserviceplan.ResourceId;
"type" = "Microsoft.Web/ServerFarms";
"name" = $appserviceplan.Name
}
}
$updatedProperties = $logicapp.Properties | Add-Member @{sku = $sku;} -PassThru
$updatedLA = Set-AzureRmResource -ResourceId $logicapp.ResourceId
-Properties $updatedProperties -ApiVersion 2016-06-01
Add-AzureRmAccount
Set-AzureRmContext -SubscriptionID {SubscriptionID}
Set-AzureRmLogicApp -ResourceGroupName
{ResourceGroupName} -Name {LogicFlowName}
-AppServicePlan {PlanName}
要 EA 契約
(または GA 前の LogicApps)
Ptn 1: Ptn 2:
15. LogicApps 仕様と制限
最大実行継続時間 90 日
ストレージリテンション期間 90 日
最小繰り返し時間 1 秒
最大繰り返し間隔 500 日
ForEach レコード数 100,000
Loop Until 回数 5,000
SplitOn 最大数 100,000
ForEach 並列処理数 20
アクション実行数(5分間) 100,000
同時呼出し数 2,500
エンドポイント同時受信数 1,000
エンドポイント読み取り可能呼出し数 60,000
エンドポイント起動可能呼出し数 45,000
ワークフローでのアクション数 250
ワークフロー内部でのネスト数 5
1リージョンでのワークフロー数 1,000
ワークフローごとのトリガ数 10
一つの式での最大文字数 8,192
アクション/トリガ名の文字数 80
コメントの文字数 256
パラメーター数 50
25. 繰り返し / Loop
Do Until ループ
ForEach ループ
ループが一定時間内に終了しない場合に
タイムアウトとする場合は
ISO 8601 形式でタイムアウト条件を設定
規定では 20 アクションの並列動作
operationOptions:Sequential で変更可能
37. 関数 / Workflow Functions
Referencing functions
Collection functions
String functions
Logical functions
Conversion functions
Math functions
Date functions
Workflow functions デザイナ上でインテリセンス等サポートはない
https://docs.microsoft.com/ja-jp/azure/logic-apps/logic-apps-workflow-definition-language
40. Hybrid Connection
(ServiceBus – Relay)
OnPremiss Data Gateway
(ServiceBus – Queue)
OnPremiss DataGateway
対象コネクタ
DataGateway はメッセージを
ポーリングする方式でやり取りを行う
(リアルタイム性は若干落ちる)
51. Azure Alert の LogicApps 呼出し
Azure の各種サービスでAlert が発生した際に
実行する LogicApps を指定できる
Alert ルールはメトリックとして定義可能
Flow で定義した LogicFlow を呼出したい際は
Webhook として Request コネクタで
生成された URL を指定することで可能
(ブレード上 LogicApps 呼出がない際も同様)
発生した Alert の集約も非常に簡単に行える
55. ボタン / Button
Flow モバイルアプリ導入で利用可能
端末 / Web サイトより実行可能
作成したボタントリガはメニュー上に
ウィジェットとして配置することが可能
57. 通知 / Notification
Flow モバイルアプリ導入で利用可能
自分の端末へのプッシュ通知 / メールによる通知
PowerApps で利用可能(ブラウザ上では未対応)
アプリケーション単位での通知(特定ユーザーも可)
60. 承認 / Approval
Flow Premium(または Office365 FreePlan) で可能
活用するには Office365 ユーザーが必要
Flow モバイルアプリ
または Flow ウェブサイト上で承認行為が可能
67. LogicApps の高可用性対応
API Management リダイレクト先の調整
ServiceBus メッセージング形式の構築
Hot-Cold 的に構築
動作中のリージョンで障害発生時に
COLD 側へ切り替えさせる
常に全てのリージョンで動作するよう構築
LogicApps の課金としては変化なし
(トリガで対象データなしは無課金)
70. Appendix
• LogicFlow-ja
( https://www.facebook.com/groups/logicflowja/ )
• LogicFlow を扱っている Blog
– nrjlog ( http://zuvuyalink.net/nrjlog/ )
– てすとぶろぐ ( http://blogahf.blogspot.jp/ )
• Azure LogicApps
( https://blogs.msdn.microsoft.com/logicapps/ )
• Flow – Blog
(https://flow.microsoft.com/en-us/blog/)
• PowerApps – Blog
(https://powerapps.microsoft.com/en-us/blog/)
• Twitter Hashtag
– LogicApps → #LogicApps
– Flow → #MicrosoftFlow