< Back

New-ArmFunctionResourceId

Sat Jan 18, 2020 8:09 pm

NAME New-ArmFunctionResourceId



SYNTAX

New-ArmFunctionResourceId [[-ResourceType] {Microsoft.Storage/storageAccounts | Microsoft.KeyVault/vaults |

Microsoft.Network/virtualNetworks | Microsoft.Compute/virtualMachineScaleSets |

Microsoft.Network/virtualNetworks/subnets | Microsoft.ServiceFabric/clusters | Microsoft.KeyVault/vaults/secrets |

Microsoft.Network/publicIPAddresses | Microsoft.Network/loadBalancers | Microsoft.Network/applicationGateways |

Microsoft.Network/networkSecurityGroups | Microsoft.Network/dnszones | Microsoft.Network/dnszones/a |

Microsoft.ManagedIdentity/userAssignedIdentities | Microsoft.Insights/components | Microsoft.Insights/alertRules |

Microsoft.Insights/webtests | Microsoft.Insights/metricAlerts | Microsoft.ServiceBus/namespaces |

Microsoft.ServiceBus/namespaces/queues | Microsoft.ServiceBus/namespaces/topics |

Microsoft.ServiceBus/namespaces/topics/subscriptions | Microsoft.ServiceBus/namespaces/topics/subscriptions/rules

| Microsoft.OperationalInsights/workspaces | Microsoft.Insights/actionGroups | Microsoft.Logic/workflows |

Microsoft.SignalRService/SignalR | Microsoft.DocumentDb/databaseAccounts |

Microsoft.DocumentDb/databaseAccounts/apis/databases | Microsoft.AlertsManagement/smartDetectorAlertRules}]

[-Resource <psobject>] [-WhatIf] [-Confirm] [<CommonParameters>]



New-ArmFunctionResourceId [[-ResourceType] {Microsoft.Storage/storageAccounts | Microsoft.KeyVault/vaults |

Microsoft.Network/virtualNetworks | Microsoft.Compute/virtualMachineScaleSets |

Microsoft.Network/virtualNetworks/subnets | Microsoft.ServiceFabric/clusters | Microsoft.KeyVault/vaults/secrets |

Microsoft.Network/publicIPAddresses | Microsoft.Network/loadBalancers | Microsoft.Network/applicationGateways |

Microsoft.Network/networkSecurityGroups | Microsoft.Network/dnszones | Microsoft.Network/dnszones/a |

Microsoft.ManagedIdentity/userAssignedIdentities | Microsoft.Insights/components | Microsoft.Insights/alertRules |

Microsoft.Insights/webtests | Microsoft.Insights/metricAlerts | Microsoft.ServiceBus/namespaces |

Microsoft.ServiceBus/namespaces/queues | Microsoft.ServiceBus/namespaces/topics |

Microsoft.ServiceBus/namespaces/topics/subscriptions | Microsoft.ServiceBus/namespaces/topics/subscriptions/rules

| Microsoft.OperationalInsights/workspaces | Microsoft.Insights/actionGroups | Microsoft.Logic/workflows |

Microsoft.SignalRService/SignalR | Microsoft.DocumentDb/databaseAccounts |

Microsoft.DocumentDb/databaseAccounts/apis/databases | Microsoft.AlertsManagement/smartDetectorAlertRules}]

-ResourceName1 <string> [-ResourceName2 <string>] [-ResourceGroupName <string>] [-SubscriptionId <string>]

[-WhatIf] [-Confirm] [<CommonParameters>]



New-ArmFunctionResourceId [[-ResourceType] {Microsoft.Storage/storageAccounts | Microsoft.KeyVault/vaults |

Microsoft.Network/virtualNetworks | Microsoft.Compute/virtualMachineScaleSets |

Microsoft.Network/virtualNetworks/subnets | Microsoft.ServiceFabric/clusters | Microsoft.KeyVault/vaults/secrets |

Microsoft.Network/publicIPAddresses | Microsoft.Network/loadBalancers | Microsoft.Network/applicationGateways |

Microsoft.Network/networkSecurityGroups | Microsoft.Network/dnszones | Microsoft.Network/dnszones/a |

Microsoft.ManagedIdentity/userAssignedIdentities | Microsoft.Insights/components | Microsoft.Insights/alertRules |

Microsoft.Insights/webtests | Microsoft.Insights/metricAlerts | Microsoft.ServiceBus/namespaces |

Microsoft.ServiceBus/namespaces/queues | Microsoft.ServiceBus/namespaces/topics |

Microsoft.ServiceBus/namespaces/topics/subscriptions | Microsoft.ServiceBus/namespaces/topics/subscriptions/rules

| Microsoft.OperationalInsights/workspaces | Microsoft.Insights/actionGroups | Microsoft.Logic/workflows |

Microsoft.SignalRService/SignalR | Microsoft.DocumentDb/databaseAccounts |

Microsoft.DocumentDb/databaseAccounts/apis/databases | Microsoft.AlertsManagement/smartDetectorAlertRules}]

-ResourceGroupName <string> -SubscriptionId <string> [-WhatIf] [-Confirm] [<CommonParameters>]



New-ArmFunctionResourceId [[-ResourceType] {Microsoft.Storage/storageAccounts | Microsoft.KeyVault/vaults |

Microsoft.Network/virtualNetworks | Microsoft.Compute/virtualMachineScaleSets |

Microsoft.Network/virtualNetworks/subnets | Microsoft.ServiceFabric/clusters | Microsoft.KeyVault/vaults/secrets |

Microsoft.Network/publicIPAddresses | Microsoft.Network/loadBalancers | Microsoft.Network/applicationGateways |

Microsoft.Network/networkSecurityGroups | Microsoft.Network/dnszones | Microsoft.Network/dnszones/a |

Microsoft.ManagedIdentity/userAssignedIdentities | Microsoft.Insights/components | Microsoft.Insights/alertRules |

Microsoft.Insights/webtests | Microsoft.Insights/metricAlerts | Microsoft.ServiceBus/namespaces |

Microsoft.ServiceBus/namespaces/queues | Microsoft.ServiceBus/namespaces/topics |

Microsoft.ServiceBus/namespaces/topics/subscriptions | Microsoft.ServiceBus/namespaces/topics/subscriptions/rules

| Microsoft.OperationalInsights/workspaces | Microsoft.Insights/actionGroups | Microsoft.Logic/workflows |

Microsoft.SignalRService/SignalR | Microsoft.DocumentDb/databaseAccounts |

Microsoft.DocumentDb/databaseAccounts/apis/databases | Microsoft.AlertsManagement/smartDetectorAlertRules}]

-ResourceGroupName <string> [-WhatIf] [-Confirm] [<CommonParameters>]





PARAMETERS

-Confirm



Required? false

Position? Named

Accept pipeline input? false

Parameter set name (All)

Aliases cf

Dynamic? false



-Resource <psobject>



Required? false

Position? Named

Accept pipeline input? false

Parameter set name Resource

Aliases None

Dynamic? false



-ResourceGroupName <string>



Required? true

Position? Named

Accept pipeline input? false

Parameter set name SubscriptionSpecific, ResourceGroupSpecific, TypeAndName

Aliases None

Dynamic? false



-ResourceName1 <string>



Required? true

Position? Named

Accept pipeline input? true (ByValue)

Parameter set name TypeAndName

Aliases None

Dynamic? false



-ResourceName2 <string>



Required? false

Position? Named

Accept pipeline input? false

Parameter set name TypeAndName

Aliases None

Dynamic? false



-ResourceType <string>



Required? false

Position? 0

Accept pipeline input? false

Parameter set name (All)

Aliases None

Dynamic? true



-SubscriptionId <string>



Required? true

Position? Named

Accept pipeline input? false

Parameter set name SubscriptionSpecific, TypeAndName

Aliases None

Dynamic? false



-WhatIf



Required? false

Position? Named

Accept pipeline input? false

Parameter set name (All)

Aliases wi

Dynamic? false



<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).





INPUTS

System.String





OUTPUTS

System.String





ALIASES

None





REMARKS

None