< Back

Get-ProvAzureResource

Sun Jan 19, 2020 5:37 pm

NAME Get-ProvAzureResource



SYNOPSIS





SYNTAX

Get-ProvAzureResource -AuthContext <object> -Subscriptionid <Guid> [-ApiVersion <string>] [-ResourceGroup

<string>] [-SyncOnlyTag <SwitchParameter>] [-Type <string>] [<CommonParameters>]





DESCRIPTION





PARAMETERS

-AuthContext <object>

A valid authentication token, as provided by "Get-ProvAzureAuthContext"



Required? true

Position? named

Default value

Accept pipeline input? true (ByValue)

Accept wildcard characters? false



-ApiVersion <string>

The REST API Version used to read the data from Azure. Default is "2016-01-01", but may be changed due to

updates in the REST API on Azure



See https://docs.microsoft.com/en-us/rest/a ... urcegroups for more.



Required? false

Position? named

Default value 2018-01-01

Accept pipeline input? false

Accept wildcard characters? false



-Subscriptionid <Guid>

The GUID of the Azure Subscription where the Resource Group has been created.



Required? true

Position? named

Default value 00000000-0000-0000-0000-000000000000

Accept pipeline input? false

Accept wildcard characters? false



-ResourceGroup <string>

The name of the Resource Group to look for.



If this parameteris not specified, all Resource Groups of the Subscriptions will be returned.



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-Type <string>

The type of the resource to look for.



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-SyncOnlyTag <SwitchParameter>



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 (https:/go.microsoft.com/fwlink/?LinkID=113216).



INPUTS

System.Object

A valid authentication token, as provided by "Get-ProvAzureAuthContext"





OUTPUTS

System.Collections.Hashtable







RELATED LINKS