Azure PowerShellã使ç¨ããã¨ãPowerShellã§Azureã®ããããªæä½ãè¡ããããã«ãªãã¾ãã
Azure PowerShellã¯æ¨æºã§ã¯ã¤ã³ã¹ãã¼ã«ããã¦ããªãã®ã§ãWebPI*1ã使ç¨ãã¦ã¤ã³ã¹ãã¼ã«ããå¿ è¦ãããã¾ãã
å°è©±
å æ¥ããã®ããã°ã®PVããã¤ã¼ãããä»çµã¿ãä½ã£ã®ã§ããã
ããã«åå¾ãã¦é ¢é ¸å çãããã°ãæ¸ããã¦ã¦ã
ãã®çµæã
æ¨æ¥ã®ãã°ããéè¨ã® PV 㯠1599 ã§ããã
— ãã°ãã (@shibayan) 2014å¹´8æ8æ¥
æ¨æ¥ã®é ¢ããã® PV 㯠1,560 ã§ããã http://t.co/bZ7noiWmmp
— ãããã (@ch3cooh) 2014å¹´8æ8æ¥
ãããã§ããã1500PVãªãã¦ã¹ã´ã¤ã§ãã
ããã¦ãäºäººã¨ããã¤ã¼ãããæéã¯0:05ã«è¨å®ããã¦ããæ§ã§ãã
ã¡ãã£ã¨æ¥ããããããªãã®
人ã®å½¹ã«ç«ã¤è¨äºãå°ãªãã®ã§PVãå°ãªãã®ã¯ãããããªãã§ããããã®äºäººã®PVãè¦ãã¨ã¡ãã£ã¨æ°å¾ããã¡ããã¾ããã
æ¨æ¥ã®ãªãæ¥è¨ã®PVã¯325ã§ãã http://t.co/XKMz4hV4Q9
— ãªãã@å²ãããªããµã¼ãã¹æ å½ (@nakaji) 2014å¹´8æ8æ¥
ã¨ããããã§ããã¤ã¼ãããæéãå¤ãããã¨æãã¾ããã
ãã¼ãããç¶ããã0:05ã«ãã¤ã¼ããã¡ããã
ã¨ããããã§ããã®åãã°ãããããã°ã«æ¸ããã¦ãæ¹æ³ã§ã¹ã±ã¸ã¥ã¼ã©ã®å¤æ´ããããã¨ã«ãã¾ããã
ãããããæ¬ç¬¬
åç½®ãé·ããã¾ãããã¾ããæ¥è¨ãªã®ã§ã«ã³ãã³ãã¦ä¸ããã
ãã°ããã®ããã°ãã¾ããã¯ãªãã¦è¨å®ãããã¨ããã®ã§ããã
PS C:\> $startTime = [DateTime]::Parse("2014-08-09T15:05:00Z"); PS C:\> Set-AzureSchedulerHttpJob -Location "Japan West" -JobCollectionName nakaji-api -JobName tweetpv -StartTime $startTime Set-AzureSchedulerHttpJob : No current subscription has been designated. Use Select-AzureSubscription -Current <subscriptionName> to set the current subscription. çºçå ´æ è¡:1 æå:1 + Set-AzureSchedulerHttpJob -Location "Japan West" -JobCollectionName nakaji-api - ... + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : CloseError: (:) [Set-AzureSchedulerHttpJob]ãException + FullyQualifiedErrorId : Microsoft.WindowsAzure.Commands.Scheduler.SetSchedulerHttpJobCommand
ããµãã¹ã¯ãªãã·ã§ã³æå®ãã¦ãªãããªãããã³ã©ããã£ã¦ã¨ã©ã¼ã«ãªã£ã¡ããã¾ããã
æåã«Azureã¸ã®èªè¨¼ããã¾ããã
ãããããã ããªã£ã¦è©±ã§ããã
ã¨ããããã§ã以ä¸ã®æ§ãªã³ãã³ãã§è¨å®ãã¾ããã
#èªè¨¼ Add-AzureAccount #ã¢ã«ã¦ã³ãã§ç®¡çãã¦ããµãã¹ã¯ãªãã·ã§ã³ã®ä¸è¦§ã表示 Get-AzureSubscription #ãµãã¹ã¯ãªãã·ã§ã³ãé¸æãã Select-AzureSubscription -Current #ã¹ã±ã¸ã¥ã¼ã©ã®æå»ãå¤æ´ããï¼ãã°ããå çã®ã¾ããã¯ãªï¼ # éå§æéã® DateTime ãä½æï¼ããã©ããããã Parse ãã¦ãï¼ $startTime = [DateTime]::Parse("2014-08-09T15:05:00Z"); # å¿ é ãªã®ã¯ Location / JobCollectionName / JobName Set-AzureSchedulerHttpJob -Location "Japan West" -JobCollectionName nakaji-api -JobName tweetpv -StartTime $startTime
ããã¸ãã«æ å ±è¼ã£ã¦ã¾ãããã
ææ¥ã楽ãã¿ã
ææ¥ãããã°ãããé ¢é ¸å çã¨åãã¿ã¤ãã³ã°ã§ãã¤ã¼ããã¾ãï¼ï¼ï¼ãã¶ãï¼
*1:Microsoft Web Platform Installer