< Back
New-AzureRmIotHubImportDevices
Post
NAME New-AzureRmIotHubImportDevices
SYNOPSIS
Creates a new import devices job.
SYNTAX
New-AzureRmIotHubImportDevices [-ResourceGroupName] <String> [-Name] <String> [-InputBlobContainerUri] <String> [-OutputBlobContainerUri] <String>
[-DefaultProfile <IAzureContextContainer>] [-Confirm] [-WhatIf] [<CommonParameters>]
DESCRIPTION
Creates a new import devices job for the IotHub. This will import all the devices to the IotHub from the specified container. Refer to the
following article on how to generate the SAS URI. https://azure.microsoft.com/en-us/docum ... tity-mgmt/ .
PARAMETERS
-DefaultProfile <IAzureContextContainer>
The credentials, account, tenant, and subscription used for communication with azure
Required? false
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-InputBlobContainerUri <String>
Input Blob Container Uri for FileUpload
Required? true
Position? 2
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-Name <String>
Name of the IotHub
Required? true
Position? 1
Default value None
Accept pipeline input? True (ByPropertyName)
Accept wildcard characters? false
-OutputBlobContainerUri <String>
The Uri to write the output to.
Required? true
Position? 3
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-ResourceGroupName <String>
Resource Group Name
Required? true
Position? 0
Default value None
Accept pipeline input? True (ByPropertyName)
Accept wildcard characters? false
-Confirm [<SwitchParameter>]
Prompts you for confirmation before running the cmdlet.
Required? false
Position? named
Default value False
Accept pipeline input? False
Accept wildcard characters? false
-WhatIf [<SwitchParameter>]
Shows what would happen if the cmdlet runs. The cmdlet is not run.
Required? false
Position? named
Default value False
Accept pipeline input? False
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
System.String
OUTPUTS
Microsoft.Azure.Management.IotHub.Models.JobResponse
NOTES
Example 1
PS C:\\> New-AzureRmIotHubImportDevices -ResourceGroupName "myresourcegroup" -Name "myiothub" -InputBlobContainerUri "https://mystorageaccount.blob.
core.windows.net/?sv=2015-04-05&ss=bfqt&sr=c&srt=sco&sp=rwdl&se=2016-10-27T04:01:48Z&st=2016-10-26T20:01:48Z&spr=https&sig=QqpIhHsIMF8hNuFO%3D"
-OutputBlobContainerUri "https://mystorageaccount.blob.core.wind ... 8Z&st=2016
-10-26T20:01:48Z&spr=https&sig=QqpIhHsIMF8hNuFO%3D"
Creates a new import device request for the IotHub "myiothub".
RELATED LINKS
Online Version: https://docs.microsoft.com/en-us/powers ... ortdevices
SYNOPSIS
Creates a new import devices job.
SYNTAX
New-AzureRmIotHubImportDevices [-ResourceGroupName] <String> [-Name] <String> [-InputBlobContainerUri] <String> [-OutputBlobContainerUri] <String>
[-DefaultProfile <IAzureContextContainer>] [-Confirm] [-WhatIf] [<CommonParameters>]
DESCRIPTION
Creates a new import devices job for the IotHub. This will import all the devices to the IotHub from the specified container. Refer to the
following article on how to generate the SAS URI. https://azure.microsoft.com/en-us/docum ... tity-mgmt/ .
PARAMETERS
-DefaultProfile <IAzureContextContainer>
The credentials, account, tenant, and subscription used for communication with azure
Required? false
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-InputBlobContainerUri <String>
Input Blob Container Uri for FileUpload
Required? true
Position? 2
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-Name <String>
Name of the IotHub
Required? true
Position? 1
Default value None
Accept pipeline input? True (ByPropertyName)
Accept wildcard characters? false
-OutputBlobContainerUri <String>
The Uri to write the output to.
Required? true
Position? 3
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-ResourceGroupName <String>
Resource Group Name
Required? true
Position? 0
Default value None
Accept pipeline input? True (ByPropertyName)
Accept wildcard characters? false
-Confirm [<SwitchParameter>]
Prompts you for confirmation before running the cmdlet.
Required? false
Position? named
Default value False
Accept pipeline input? False
Accept wildcard characters? false
-WhatIf [<SwitchParameter>]
Shows what would happen if the cmdlet runs. The cmdlet is not run.
Required? false
Position? named
Default value False
Accept pipeline input? False
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
System.String
OUTPUTS
Microsoft.Azure.Management.IotHub.Models.JobResponse
NOTES
Example 1
PS C:\\> New-AzureRmIotHubImportDevices -ResourceGroupName "myresourcegroup" -Name "myiothub" -InputBlobContainerUri "https://mystorageaccount.blob.
core.windows.net/?sv=2015-04-05&ss=bfqt&sr=c&srt=sco&sp=rwdl&se=2016-10-27T04:01:48Z&st=2016-10-26T20:01:48Z&spr=https&sig=QqpIhHsIMF8hNuFO%3D"
-OutputBlobContainerUri "https://mystorageaccount.blob.core.wind ... 8Z&st=2016
-10-26T20:01:48Z&spr=https&sig=QqpIhHsIMF8hNuFO%3D"
Creates a new import device request for the IotHub "myiothub".
RELATED LINKS
Online Version: https://docs.microsoft.com/en-us/powers ... ortdevices