Get-FinOpsResourceType command
The Get-FinOpsResourceType command returns an Azure resource type with readable display names, a flag to indicate if the resource provider identified it as a preview resource type, a description, an icon, and help and support links.
Syntax
Get-FinOpsResourceType `
[[-ResourceType] <string>] `
[-IsPreview <bool>]
Parameters
Name | Description |
---|---|
‑ResourceType |
Optional. Azure resource type value. Accepts wildcards. Default = * (all). |
‑IsPreview |
Optional. Indicates whether to include or exclude resource types that are in preview. Not all resource types self-identify as being in preview, so this information might not be accurate. Default = null (include all). |
Examples
The following examples demonstrate how to use the Get-FinOpsResourceType command to retrieve Azure resource type details based on different criteria.
Get resource type details
Get-FinOpsResourceType -ResourceType "microsoft.compute/virtualmachines"
Returns the resource type details for virtual machines.
Get non-preview resource types
Get-FinOpsResourceType -Preview $false
Returns all resource types that aren't in preview.
Related content
Related products:
Related solutions: