Skip to content

Add Invoke-AzureRmRestMethod cmdlet  #3806

@markcowl

Description

@markcowl

Description

Cmdlet in the AzureRm.Profile module to use the ClientFactory to make authenticated calls to an endpoint in the environment using HttpClient (we do not want this cmdlet to wrap the Invoke-RestMethod cmdlet)

  • Cmdlet allows setting characteristics of the Http Request per Invoke-RestMethod
    • Method
    • Uri
    • Body
    • Headers
    • Include default headers for tracking, authentication
    • Add tracing for request and response to debug stream
    • AsJob support
    • ShouldProcess for: Put, Delete, Post, Patch
  • Unit Tests
  • Scenario Tests using existing resource manager RP apis for each of the major methods
  • Help documentation

Cost: 12

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions