pspulumiyaml.azurenative.iotsecurity.psm1
using module pspulumiyaml function Invoke-AzureNativeFunctionIotsecurityGetSite { param ( [parameter(mandatory=$False,HelpMessage='Scope of the query (IoT Hub, /providers/Microsoft.Devices/iotHubs/myHub))')] [string] $scope ) process { $arguments = @{} $arguments["scope"] = $scope $functionObject = Invoke-PulumiFunction -Name azure-native:iotsecurity:getSite -variableName $([guid]::NewGuid().Guid) -Arguments $arguments return $functionObject } } function Invoke-AzureNativeFunctionIotsecurityGetOnPremiseSensor { param ( [parameter(mandatory=$False,HelpMessage='Name of the on-premise IoT sensor)')] [string] $onPremiseSensorName ) process { $arguments = @{} $arguments["onPremiseSensorName"] = $onPremiseSensorName $functionObject = Invoke-PulumiFunction -Name azure-native:iotsecurity:getOnPremiseSensor -variableName $([guid]::NewGuid().Guid) -Arguments $arguments return $functionObject } } function Invoke-AzureNativeFunctionIotsecurityGetDefenderSetting { param ( ) process { $arguments = @{} $functionObject = Invoke-PulumiFunction -Name azure-native:iotsecurity:getDefenderSetting -variableName $([guid]::NewGuid().Guid) -Arguments $arguments return $functionObject } } function Invoke-AzureNativeFunctionIotsecurityGetDeviceGroup { param ( [parameter(mandatory=$False,HelpMessage='Device group name)')] [string] $deviceGroupName, [parameter(mandatory=$False,HelpMessage='Defender for IoT location)')] [string] $iotDefenderLocation ) process { $arguments = @{} $arguments["deviceGroupName"] = $deviceGroupName $arguments["iotDefenderLocation"] = $iotDefenderLocation $functionObject = Invoke-PulumiFunction -Name azure-native:iotsecurity:getDeviceGroup -variableName $([guid]::NewGuid().Guid) -Arguments $arguments return $functionObject } } function Invoke-AzureNativeFunctionIotsecurityGetSensor { param ( [parameter(mandatory=$False,HelpMessage='Name of the IoT sensor)')] [string] $sensorName, [parameter(mandatory=$False,HelpMessage='Scope of the query (IoT Hub, /providers/Microsoft.Devices/iotHubs/myHub))')] [string] $scope ) process { $arguments = @{} $arguments["scope"] = $scope $arguments["sensorName"] = $sensorName $functionObject = Invoke-PulumiFunction -Name azure-native:iotsecurity:getSensor -variableName $([guid]::NewGuid().Guid) -Arguments $arguments return $functionObject } } function New-AzureNativeIotsecuritySite { [Alias('azure_native_iotsecurity_site')] param ( [parameter(mandatory=$False,HelpMessage='Tags of the IoT site)')] [hashtable] $tags, [parameter(mandatory=$False,HelpMessage='Display name of the IoT site)')] [string] $displayName, [parameter(mandatory=$False,HelpMessage='Scope of the query (IoT Hub, /providers/Microsoft.Devices/iotHubs/myHub))')] [string] $scope, [parameter(mandatory,HelpMessage='The reference to call when you want to make a dependency to another resource')] [string] $pulumiid, [parameter(mandatory,HelpMessage='Pass in the resources you make to make this resource dependant on')] [object] $DependsOn ) process { $resource = [pulumiresource]::new($pulumiid, "azure-native:iotsecurity:Site") foreach($Dependency in $DependsOn) { if($Dependency -is [pulumiresource]) { $resource.dependson += $Dependency.Reference() } else { $resource.dependson += $Dependency } } $resource.properties["displayName"] = $displayName $resource.properties["scope"] = $scope if($PSBoundParameters.Keys -icontains 'tags') { $resource.properties["tags"] = $tags } $global:pulumiresources += $resource return $resource } } class DefenderSettingsPropertiesMdeIntegration { [ArgumentCompletions('Disabled', 'Enabled')] [string] $status } function New-AzureNativeTypeIotsecurityDefenderSettingsPropertiesMdeIntegration { param ( [parameter(mandatory=$False,HelpMessage='Integration status)')] [string] [ValidateSet('Disabled', 'Enabled')] $status ) process { return $([DefenderSettingsPropertiesMdeIntegration]$PSBoundParameters) } } function New-AzureNativeIotsecurityDefenderSetting { [Alias('azure_native_iotsecurity_defendersetting')] param ( [parameter(mandatory=$False,HelpMessage='The kind of onboarding for the subscription)')] [string] [ValidateSet('Default', 'MigratedToAzure', 'Evaluation', 'Purchased')] $onboardingKind, [parameter(mandatory=$False,HelpMessage='MDE integration configuration)')] [DefenderSettingsPropertiesMdeIntegration] $mdeIntegration, [parameter(mandatory=$False,HelpMessage='Sentinel Workspace Resource Ids)')] [string[]] $sentinelWorkspaceResourceIds, [parameter(mandatory=$False,HelpMessage='Size of the device quota. Value is required to be in multiples of 100.)')] [int] $deviceQuota, [parameter(mandatory,HelpMessage='The reference to call when you want to make a dependency to another resource')] [string] $pulumiid, [parameter(mandatory,HelpMessage='Pass in the resources you make to make this resource dependant on')] [object] $DependsOn ) process { $resource = [pulumiresource]::new($pulumiid, "azure-native:iotsecurity:DefenderSetting") foreach($Dependency in $DependsOn) { if($Dependency -is [pulumiresource]) { $resource.dependson += $Dependency.Reference() } else { $resource.dependson += $Dependency } } $resource.properties["deviceQuota"] = $deviceQuota $resource.properties["mdeIntegration"] = $mdeIntegration $resource.properties["onboardingKind"] = $onboardingKind $resource.properties["sentinelWorkspaceResourceIds"] = $sentinelWorkspaceResourceIds $global:pulumiresources += $resource return $resource } } function New-AzureNativeIotsecuritySensor { [Alias('azure_native_iotsecurity_sensor')] param ( [parameter(mandatory=$False,HelpMessage='Name of the IoT sensor)')] [string] $sensorName, [parameter(mandatory=$False,HelpMessage='Scope of the query (IoT Hub, /providers/Microsoft.Devices/iotHubs/myHub))')] [string] $scope, [parameter(mandatory=$False,HelpMessage='Zone of the IoT sensor)')] [string] $zone, [parameter(mandatory=$False,HelpMessage='Type of sensor)')] [string] [ValidateSet('Ot', 'Enterprise')] $sensorType, [parameter(mandatory=$False,HelpMessage='TI Automatic mode status of the IoT sensor)')] [bool] $tiAutomaticUpdates, [parameter(mandatory,HelpMessage='The reference to call when you want to make a dependency to another resource')] [string] $pulumiid, [parameter(mandatory,HelpMessage='Pass in the resources you make to make this resource dependant on')] [object] $DependsOn ) process { $resource = [pulumiresource]::new($pulumiid, "azure-native:iotsecurity:Sensor") foreach($Dependency in $DependsOn) { if($Dependency -is [pulumiresource]) { $resource.dependson += $Dependency.Reference() } else { $resource.dependson += $Dependency } } $resource.properties["scope"] = $scope if($PSBoundParameters.Keys -icontains 'sensorName') { $resource.properties["sensorName"] = $sensorName } if($PSBoundParameters.Keys -icontains 'zone') { $resource.properties["zone"] = $zone } if($PSBoundParameters.Keys -icontains 'sensorType') { $resource.properties["sensorType"] = $sensorType } if($PSBoundParameters.Keys -icontains 'tiAutomaticUpdates') { $resource.properties["tiAutomaticUpdates"] = $tiAutomaticUpdates } $global:pulumiresources += $resource return $resource } } function New-AzureNativeIotsecurityDeviceGroup { [Alias('azure_native_iotsecurity_devicegroup')] param ( [parameter(mandatory=$False,HelpMessage='Device group name)')] [string] $deviceGroupName, [parameter(mandatory=$False,HelpMessage='Defender for IoT location)')] [string] $iotDefenderLocation, [parameter(mandatory,HelpMessage='The reference to call when you want to make a dependency to another resource')] [string] $pulumiid, [parameter(mandatory,HelpMessage='Pass in the resources you make to make this resource dependant on')] [object] $DependsOn ) process { $resource = [pulumiresource]::new($pulumiid, "azure-native:iotsecurity:DeviceGroup") foreach($Dependency in $DependsOn) { if($Dependency -is [pulumiresource]) { $resource.dependson += $Dependency.Reference() } else { $resource.dependson += $Dependency } } $resource.properties["iotDefenderLocation"] = $iotDefenderLocation if($PSBoundParameters.Keys -icontains 'deviceGroupName') { $resource.properties["deviceGroupName"] = $deviceGroupName } $global:pulumiresources += $resource return $resource } } function New-AzureNativeIotsecurityOnPremiseSensor { [Alias('azure_native_iotsecurity_onpremisesensor')] param ( [parameter(mandatory=$False,HelpMessage='Name of the on-premise IoT sensor)')] [string] $onPremiseSensorName, [parameter(mandatory,HelpMessage='The reference to call when you want to make a dependency to another resource')] [string] $pulumiid, [parameter(mandatory,HelpMessage='Pass in the resources you make to make this resource dependant on')] [object] $DependsOn ) process { $resource = [pulumiresource]::new($pulumiid, "azure-native:iotsecurity:OnPremiseSensor") foreach($Dependency in $DependsOn) { if($Dependency -is [pulumiresource]) { $resource.dependson += $Dependency.Reference() } else { $resource.dependson += $Dependency } } if($PSBoundParameters.Keys -icontains 'onPremiseSensorName') { $resource.properties["onPremiseSensorName"] = $onPremiseSensorName } $global:pulumiresources += $resource return $resource } } |