Giter Site home page Giter Site logo

Comments (3)

alex-frankel avatar alex-frankel commented on July 29, 2024

Bicep/ARM Templates do not support PATCH. Is the same API available as a PUT request? If not, then it is not possible with Bicep.

from bicep-types-az.

 avatar commented on July 29, 2024

Hi jikuja, this issue has been marked as stale because it was labeled as requiring author feedback but has not had any activity for 4 days. It will be closed if no further activity occurs within 3 days of this comment. Thanks for contributing to bicep! 😄 🦾

from bicep-types-az.

jikuja avatar jikuja commented on July 29, 2024

Update:


 azure-rest-api-specs   Invoke-AzRestMethod -Payload $body -Path "/subscriptions/xx-f5b3-4645-a52b-7faf38f07f51/resourcegroups/bicep-5165-rg/providers/Microsoft.RecoveryServices/vaults/bicep-5165-rsv/monitoringConfigurations/notificationConfiguration?api-version=2017-07-01-preview" -Method PATCH

Headers    : {[Cache-Control, System.String[]], [Pragma, System.String[]], [X-Content-Type-Options, System.String[]], [x-ms-request-id, 
             System.String[]]…}
Version    : 1.1
StatusCode : 200
Method     : PATCH
Content    : {"properties":{"areNotificationsEnabled":true,"hasValidEmailAddresses":true,"frequencyDetails":{"frequencyType":2,"frequencyValue":1},
             "sourcesToNotifyFor":null,"severitiesToNotifyFor":[1],"idsToNotifyFor":null,"additionalRecipients":["[email protected]"]},"id":"
             /subscriptions/8a4fb900-f5b3-4645-a52b-7faf38f07f51/resourceGroups/bicep-5165-rg/providers/Microsoft.RecoveryServices/vaults/bicep-516
             5-rsv/monitoringConfigurations/notificationConfiguration","name":"notificationConfiguration","type":"Microsoft.RecoveryServices/vaults
             /monitoringConfigurations"}


 azure-rest-api-specs   Invoke-AzRestMethod -Payload $body -Path "/subscriptions/xx-f5b3-4645-a52b-7faf38f07f51/resourcegroups/bicep-5165-rg/providers/Microsoft.RecoveryServices/vaults/bicep-5165-rsv/monitoringConfigurations/notificationConfiguration?api-version=2017-07-01-preview" -Method PUT

Headers    : {[Cache-Control, System.String[]], [Pragma, System.String[]], [X-Content-Type-Options, System.String[]], [x-ms-request-id, 
             System.String[]]…}
Version    : 1.1
StatusCode : 404
Method     : PUT
Content    : 

from bicep-types-az.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.