Azure / bicep-types-az

Bicep type definitions for ARM resources
MIT License
83 stars 26 forks source link

Microsoft.CostManagement/exports@2021-10-01 not idempotent #1441

Open slavizh opened 2 years ago

slavizh commented 2 years ago

Bicep version Bicep CLI version 0.4.1318 (ee0d808f35)

Describe the bug The API is not idempotent. You can create the resource the first time but when trying to reapply you get:

Status Message: Etag value required for update operation of report: test1.Please get the latest to avoid overwrite. (Request ID: 37dfcd1f-b755-45a0-bcd4-80eb27347b73) (Code:400)

if you try to add

etag: '*'

at the same level as name you will get error:

To Reproduce Steps to reproduce the behavior:

targetScope = 'subscription'

resource export 'Microsoft.CostManagement/exports@2021-10-01' = {
  name: 'test1'
  properties: {
    format: 'Csv'
    partitionData: false
    definition: {
      type: 'Usage'
      timeframe: 'TheLastBillingMonth'
      dataSet: {
        granularity: 'Daily'
        configuration: null
      }
      timePeriod: null
    }
    deliveryInfo: {
      destination: {
        resourceId: '/subscriptions/<sub id>/resourceGroups/<rg name>/providers/Microsoft.Storage/storageAccounts/<str account name>'
        container: 'test'
        rootFolderPath: 'test2'
        sasToken: null
        storageAccount: null
      }
    }
    schedule: {
      status: 'Active'
      recurrence: 'Monthly'
      recurrencePeriod: {
        from: '2022-04-06T00:00:00Z'
        to: '2022-05-01T00:00:00Z'
      }
    }
  }
}

Additional context Add any other context about the problem here.

RossMurr4y commented 2 years ago

Seeing the same behaviour on Microsoft.CostManagement/views@2021-10-01:

if you provide the eTag after resource has been created: "Could not find member 'eTag' on object of type 'TemplateResource'. Path 'properties.template.resources[0].eTag'"

if you don't provide the eTag: "Etag value required for update operation of view: "

slavizh commented 2 years ago

same old: we did the bare minimum on API and released it without testing ARM template support.

VM-ICT commented 1 year ago

I am also facing similar issue. When I tried to create a resource group. Below is my bicep code.

targetScope = 'subscription'

param namePrefix string param envPrefix string param instaneID string param resourceLocation string = deployment().location param projectName string = 'SampleProject'

resource resourceGroup 'Microsoft.Resources/resourceGroups@2021-04-01' = { name: '${namePrefix}-${projectName}-${envPrefix}-${instaneID}' location: resourceLocation tags: { Project: projectName InnovationsLab: 'InnovationsLab' Environment: envPrefix } }

Error Error from Azure portal : The request content was invalid and could not be deserialized: 'Could not find member 'etag' on object of type 'TemplateResource'. Path 'properties.template.resources[0].etag', line 1, position 1162.'. Any help is much appreciated.

massimosil commented 1 year ago

I have the same issue, the API is not idempotent. In Azure/bicep#9393 you said to open a support ticket but this is not a solution, and Azure/bicep-types-az#1441 redirects here. Please reopen this issue.

alex-frankel commented 1 year ago

Re-open which issue? Azure/bicep#9393 is closed as a duplicate because the resolution will be the same. This is an issue with the cost management API, so that is why we suggest a support ticket. We have made the cost management team aware of the issue and we hope the fix the issue soon, but we can't do anything beyond that. A support ticket is an effective way to get the issue in front of the team where they will need to provide a mitigation or ETA for a fix.

jikuja commented 1 year ago

i just yesterday re-deployed 'Microsoft.CostManagement/scheduledActions@2022-10-01 multiple times with Bicep without getting any issues => looks like Azure/bicep#9393 is fixed on RP now.


But Bicep documentation of the given resource still has false information of about etag property: https://learn.microsoft.com/en-us/azure/templates/microsoft.costmanagement/scheduledactions?pivots=deployment-language-bicep. REST API also have similar mentions: https://learn.microsoft.com/en-us/rest/api/cost-management/scheduled-actions/create-or-update?tabs=HTTP

I did not test if direct API call to PUT https://management.azure.com/providers/Microsoft.CostManagement/scheduledActions/{name}?api-version=2022-10-01 still requires eTag but Bicep re-deployment is working.

@slavizh It could be a good idea to test if they fixed all API endpoints in their namespace

cc: @massimosil @alex-frankel

vonbartas commented 1 year ago

i just yesterday re-deployed 'Microsoft.CostManagement/scheduledActions@2022-10-01 multiple times with Bicep without getting any issues => looks like Azure/bicep#9393 is fixed on RP now.

But Bicep documentation of the given resource still has false information of about etag property: https://learn.microsoft.com/en-us/azure/templates/microsoft.costmanagement/scheduledactions?pivots=deployment-language-bicep. REST API also have similar mentions: https://learn.microsoft.com/en-us/rest/api/cost-management/scheduled-actions/create-or-update?tabs=HTTP

I did not test if direct API call to PUT https://management.azure.com/providers/Microsoft.CostManagement/scheduledActions/{name}?api-version=2022-10-01 still requires eTag but Bicep re-deployment is working.

@slavizh It could be a good idea to test if they fixed all API endpoints in their namespace

cc: @massimosil @alex-frankel

It's fixed, I can confirm.

alex-frankel commented 1 year ago

Awesome that this is fixed! I will move this into the types repo to track the swagger fix to mark etag as optional -- FYI @flanakin

slavizh commented 1 year ago

I am confirming that idempotency is fixed in Microsoft.CostManagement/exports@2022-10-01 but Microsoft.CostManagement/views@2022-10-01 reported by another user still requires eTag thus still not ARM/Bicep Template compliant resource.

slavizh commented 1 year ago

I will make a fair comment here that Cost Management team cannot write proper APIs. Even some of the newer and simple APIs like providers/Microsoft.CostManagement/settings do not work properly with ARM/Bicep Templates.

Not to mention also the API versions that are published but not available on the service thus you get that the API is not supported and message which are available ones.

ghost commented 1 year ago

Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @ccmaxpcrew. Please see https://aka.ms/biceptypesinfo for troubleshooting help.

Issue Details
**Bicep version** Bicep CLI version 0.4.1318 (ee0d808f35) **Describe the bug** The API is not idempotent. You can create the resource the first time but when trying to reapply you get: Status Message: Etag value required for update operation of report: test1.Please get the latest to avoid overwrite. (Request ID: 37dfcd1f-b755-45a0-bcd4-80eb27347b73) (Code:400) if you try to add ``` etag: '*' ``` at the same level as name you will get error: - Error: Code=InvalidRequestContent; Message=The request content was invalid and could not be deserialized: 'Could not find member 'eTag' on object of type 'TemplateResource'. Path 'properties.template.resources[0].eTag', line 19, position 17.'. **To Reproduce** Steps to reproduce the behavior: ```bicep targetScope = 'subscription' resource export 'Microsoft.CostManagement/exports@2021-10-01' = { name: 'test1' properties: { format: 'Csv' partitionData: false definition: { type: 'Usage' timeframe: 'TheLastBillingMonth' dataSet: { granularity: 'Daily' configuration: null } timePeriod: null } deliveryInfo: { destination: { resourceId: '/subscriptions//resourceGroups//providers/Microsoft.Storage/storageAccounts/' container: 'test' rootFolderPath: 'test2' sasToken: null storageAccount: null } } schedule: { status: 'Active' recurrence: 'Monthly' recurrencePeriod: { from: '2022-04-06T00:00:00Z' to: '2022-05-01T00:00:00Z' } } } } ``` **Additional context** Add any other context about the problem here.
Author: slavizh
Assignees: -
Labels: `inaccuracy`, `RP: Microsoft.CostManagement`, `Service Attention`, `Cost Management and Consumption`
Milestone: -
przlwo commented 10 months ago

Hi, does the issue with Microsoft.CostManagement/views endpoint was resolved? Currently I'm facing this issue.

vonbartas commented 10 months ago

Hi, does the issue with Microsoft.CostManagement/views endpoint was resolved? Currently I'm facing this issue.

For me works fine.

przlwo commented 10 months ago

Thank you @vonbartas. Can you confirm that *_eTag: ''_** should work? Which API version do you use?

Maybe you can find other reason why I'm getting message 'Could not find member 'eTag' on object of type 'TemplateResource'.

resource costAnomalyView 'Microsoft.CostManagement/views@2022-10-05-preview' = { name: vName eTag: '*' properties: { accumulated: 'string' chart: 'Table' displayName: 'CostAnomaly' metric: 'ActualCost' query: { dataSet: { aggregation: { totalCost: { function: 'Sum' name: 'PreTaxCost' } } granularity: 'Daily' grouping: [ { name: 'SubscriptionId' type: 'Dimension' } ] sorting: [ { direction: 'Descending' name: 'Subscription' } ] } includeMonetaryCommitment: null timeframe: 'WeekToDate' type: 'Usage' } scope: 'subscriptions/{subscriptionId}' } }

vonbartas commented 10 months ago

Thank you @vonbartas. Can you confirm that *_eTag: ''_** should work? Which API version do you use?

Maybe you can find other reason why I'm getting message 'Could not find member 'eTag' on object of type 'TemplateResource'.

resource costAnomalyView 'Microsoft.CostManagement/views@2022-10-05-preview' = { name: vName eTag: '*' properties: { accumulated: 'string' chart: 'Table' displayName: 'CostAnomaly' metric: 'ActualCost' query: { dataSet: { aggregation: { totalCost: { function: 'Sum' name: 'PreTaxCost' } } granularity: 'Daily' grouping: [ { name: 'SubscriptionId' type: 'Dimension' } ] sorting: [ { direction: 'Descending' name: 'Subscription' } ] } includeMonetaryCommitment: null timeframe: 'WeekToDate' type: 'Usage' } scope: 'subscriptions/{subscriptionId}' } }

@2022-10-01

przlwo commented 10 months ago

unfortunatelly this API version also returns error "The request content was invalid and could not be deserialized: 'Could not find member 'eTag' on object of type 'TemplateResource' :(

ccmaxpcrew commented 10 months ago

@. @.> - AXP team was added on this thread instead of your team.

Sent from Outlookhttp://aka.ms/weboutlook


From: przlwo @.> Sent: Friday, October 27, 2023 4:04 AM To: Azure/bicep-types-az @.> Cc: BAFS Crew @.>; Mention @.> Subject: Re: [Azure/bicep-types-az] @.*** not idempotent (Issue #1441)

unfortunatelly this API version also returns error "The request content was invalid and could not be deserialized: 'Could not find member 'eTag' on object of type 'TemplateResource' :(

— Reply to this email directly, view it on GitHubhttps://github.com/Azure/bicep-types-az/issues/1441#issuecomment-1782721516, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AUYECDFMSIIY5DBJYWOK6FDYBOIKJAVCNFSM6AAAAAAWD2R6TOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTOOBSG4ZDCNJRGY. You are receiving this because you were mentioned.Message ID: @.***>

--_000DS7PR21MB366961B1AE3ACCC8002BDFF2DAA1ADS7PR21MB3669namp Content-Type: text/html; charset="Windows-1252" Content-Transfer-Encoding: quoted-printable



From: przlwo <notificati= ***@***.***>
Sent: Friday, October 27, 2023 4:04 AM
To: Azure/bicep-types-az ***@***.***> Cc: BAFS Crew ***@***.***>; Mention ***@***.***= reply.github.com>
Subject: Re: [Azure/bicep-types-az] Microsoft.CostManagement/exports= @2021-10-01 not idempotent (Issue #1441)
 

unfortunatelly this API version also returns error "Th= e request content was invalid and could not be deserialized: 'Could not fin= d member 'eTag' on object of type 'TemplateResource' :(

=97
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you were mentioned.3D""Message ID: <Azure/bicep-types-az/issues/1441/1782721516@github.com>

--_000DS7PR21MB366961B1AE3ACCC8002BDFF2DAA1ADS7PR21MB3669namp--

--_009DS7PR21MB366961B1AE3ACCC8002BDFF2DAA1ADS7PR21MB3669namp Content-Type: message/rfc822 Content-Disposition: attachment; creation-date="Mon, 30 Oct 2023 18:31:59 GMT"; modification-date="Mon, 30 Oct 2023 18:32:50 GMT"

Received: from DS7PR21MB3054.namprd21.prod.outlook.com (2603:10b6:8:72::17) by DS7PR21MB3669.namprd21.prod.outlook.com with HTTPS; Fri, 27 Oct 2023 11:04:09 +0000 Received: from DM6PR00CA0048.namprd00.prod.outlook.com (2603:10b6:5:331::17) by DS7PR21MB3054.namprd21.prod.outlook.com (2603:10b6:8:72::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6933.11; Fri, 27 Oct 2023 11:04:05 +0000 Received: from SA2PEPF0000224F.namprd00.prod.outlook.com (2603:10b6:5:331:cafe::63) by DM6PR00CA0048.outlook.office365.com (2603:10b6:5:331::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6972.0 via Frontend Transport; Fri, 27 Oct 2023 11:04:05 +0000 Authentication-Results: spf=pass (sender IP is 192.30.252.211) smtp.mailfrom=github.com; dkim=pass (signature was verified) header.d=github.com;dmarc=pass action=none header.from=github.com;compauth=pass reason=100 Received-SPF: Pass (protection.outlook.com: domain of github.com designates 192.30.252.211 as permitted sender) receiver=protection.outlook.com; client-ip=192.30.252.211; helo=out-28.smtp.github.com; pr=C Received: from out-28.smtp.github.com (192.30.252.211) by SA2PEPF0000224F.mail.protection.outlook.com (10.167.242.103) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6982.0 via Frontend Transport; Fri, 27 Oct 2023 11:04:05 +0000 Received: from github.com (hubbernetes-node-4258e3c.ash1-iad.github.net [10.56.200.22]) by smtp.github.com (Postfix) with ESMTPA id AACCF1003C0 for @.>; Fri, 27 Oct 2023 04:04:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=github.com; s=pf2023; t=1698404644; bh=ILcoewVsmmjsEUWTPMV7nCo7ulhse52kqVy5cHu/Ekk=; h=Date:From:Reply-To:To:Cc:In-Reply-To:References:Subject:List-ID: List-Archive:List-Post:List-Unsubscribe:From; b=DC9PkLBslSHP6xzhj3oivvxoMrc76PBQVPKe4Q77/L0kWPohtmvRVjy8uIq+ABsRD ET2gZYJERcSl9BPGYxo7s21wE9RGoN/Qf6uYR6cEhspz8r9RIinHlgRSsNSIiBJ/3c zHsbEREB0vCa0PF+QANYHIZ1wgz4qFz6qUlycmL8= Date: Fri, 27 Oct 2023 04:04:04 -0700 From: przlwo @.> Reply-To: Azure/bicep-types-az @.> To: Azure/bicep-types-az @.> Cc: ccmaxpcrew @.>, Mention @.> Message-ID: @.> In-Reply-To: @.> References: @.> Subject: Re: [Azure/bicep-types-az] @. not idempotent (Issue #1441) Content-Type: multipart/alternative; boundary="--==_mimepart_653b9924a7ec675d8045496"; charset=UTF-8 Content-Transfer-Encoding: 7bit Precedence: list X-GitHub-Sender: przlwo X-GitHub-Recipient: ccmaxpcrew X-GitHub-Reason: mention List-ID: Azure/bicep-types-az List-Archive: https://github.com/Azure/bicep-types-az List-Post: @.> List-Unsubscribe: @.>, https://github.com/notifications/unsubscribe/AUYECDEN2NV4ITWDVLXJPQLYBOIKJANCNFSM6AAAAAAWD2R6TM X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply destinations: @. X-GitHub-Recipient-Address: @. Return-Path: @.*** X-MS-Exchange-Organization-ExpirationStartTime: 27 Oct 2023 11:04:05.1800 (UTC) X-MS-Exchange-Organization-ExpirationStartTimeReason: OriginalSubmit X-MS-Exchange-Organization-ExpirationInterval: 1:00:00:00.0000000 X-MS-Exchange-Organization-ExpirationIntervalReason: OriginalSubmit X-MS-Exchange-Organization-Network-Message-Id: e8289d1a-ea02-4acb-38ae-08dbd6dc6f51 X-EOPAttributedMessage: 0 X-EOPTenantAttributedMessage: 72f988bf-86f1-41af-91ab-2d7cd011db47:0 X-MS-Exchange-Organization-MessageDirectionality: Incoming X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: SA2PEPF0000224F:EE|DS7PR21MB3054:EE|DS7PR21MB3669:EE X-MS-Exchange-Organization-AuthSource: SA2PEPF0000224F.namprd00.prod.outlook.com X-MS-Exchange-Organization-AuthAs: Anonymous X-MS-Office365-Filtering-Correlation-Id: e8289d1a-ea02-4acb-38ae-08dbd6dc6f51 X-MS-Exchange-AtpMessageProperties: SA|SL X-NO-EXTERNAL-TAGGING: true X-O365-Sonar-Daas-Pilot: True X-MS-Exchange-Organization-SCL: 1 X-Microsoft-Antispam: BCL:0; X-Forefront-Antispam-Report: CIP:192.30.252.211;CTRY:US;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:out-28.smtp.github.com;PTR:out-28.smtp.github.com;CAT:NONE;SFS:(13230031)(4636009)(451199024)(55016003)(426003)(336012)(66899024)(6286002)(26005)(6266002)(83380400001)(82960400001)(356005)(7596003)(166002)(82950400001)(36756003)(76236004)(7636003)(54906003)(19810500001)(8676002)(4326008)(1096003)(75640400001)(6862004)(450100002)(6966003)(7416002)(34756004)(5660300002)(4006050)(19627405001)(7696005)(33964004)(2616005)(966005)(107886003)(1406899027)(43062005)(43580500001);DIR:INB; X-MS-Exchange-CrossTenant-OriginalArrivalTime: 27 Oct 2023 11:04:05.0706 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: e8289d1a-ea02-4acb-38ae-08dbd6dc6f51 X-MS-Exchange-CrossTenant-Id: 72f988bf-86f1-41af-91ab-2d7cd011db47 X-MS-Exchange-CrossTenant-AuthSource: SA2PEPF0000224F.namprd00.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: Internet X-MS-Exchange-Transport-CrossTenantHeadersStamped: DS7PR21MB3054 X-MS-Exchange-Transport-EndToEndLatency: 00:00:04.2132241 X-MS-Exchange-Processed-By-BccFoldering: 15.20.6954.011 X-Microsoft-Antispam-Mailbox-Delivery: ucf:0;jmr:0;auth:0;dest:I;ENG:(910001)(944506478)(944626604)(920097)(930097)(140003)(1420103); X-Microsoft-Antispam-Message-Info: =?Windows-1252?Q?4Gxd4ntC/kTUecXuR4XD31BFQ9NrrfIdOPxYbD3A/4g+FZ01ymTUhmcR?= =?Windows-1252?Q?7cw9ZhqWF6TY2vQW5G5R6NonObMOnbaQWZzhiwZVQc1MJrYOQgXLtkCD?= =?Windows-1252?Q?Hx6Q+IHn9vdldLmnc8vhsq9/VKTU67fGTiY9ZZYVWmzAZ6p4uGX11wKM?= =?Windows-1252?Q?tmqR2N82Zuq8F8NAFzjGJuksPpGI7/U+QK44HcoFdd4X5MYWxWO37sLz?= =?Windows-1252?Q?Xyhaq48gRbG8BMjhANQ3nVAEKXTr+iN8uwl7Oean9VQp+5Anxv3xWv+P?= =?Windows-1252?Q?yYqud7Vs01RWIpknzi7bLY5F9khRNFPkdUVBzFSx2tn2jbumDkm02pY+?= =?Windows-1252?Q?awCAhA4AD35XPo1GucAIn2VU+62HLU0pMxpi+36QDGUStHSxOWoYKCkh?= =?Windows-1252?Q?LmhnDz7Jzmdt+RUtfvf4uuHifv8H65ublD/uvJATxmYiRYmBuXnhI5ta?= =?Windows-1252?Q?PRe1iOSI34pdZ3K1dE7e9gdCrN8BcT5c7IvB9cRB11uZ0Wifo7vUCTyS?= =?Windows-1252?Q?LK24EJRzen7t7WndM06jpQMk1PQnloWlBG7BnPK39W6FohEn+nVLENxO?= =?Windows-1252?Q?WH5iEmdv5ulOcbvVJAH5mdIH+gtzNgw+5hCiahvjHZmclndSh5KQnhCN?= =?Windows-1252?Q?ypy9ubKV/zQcikJNv19LlgZlvZLznf9ntH/IW/5UCkIJpjYIUpcEXj2Y?= =?Windows-1252?Q?NjZnhbpvXvEGGW8h3XJYSWy2XX6qtGhrMPtXLZEPOp4QYShmFpc/0hZ0?= =?Windows-1252?Q?roaB/tpbmoVGgXPYXsi6PasEEN657hqABKLtsxpLK66wxiYfOQYV/JZy?= =?Windows-1252?Q?dn1V54p2wfbHLS96QSugEgnCUJuGtDsOeD/DE3kPaMUt+uU+B8TyJJL/?= =?Windows-1252?Q?W96bdCCxGQvxWR6Hs5worqM4oP/K2bo3qfS10mOyQdmPGM/UvSQ2lusk?= =?Windows-1252?Q?5uSkf9sBVVl5bPZ5W+E1dyMIANCCJm1uBWTS+0MC/niARUmYirNTATAH?= =?Windows-1252?Q?6w+/1Rp3/yCyeH0ZO9yUX2ubm9+EXYzDG7arjFZxlBmRIAvS4WMburDY?= =?Windows-1252?Q?XVbdrKSuU/nRVdagSJDZ12p3QfRHPyzgml1GhK/F6EM3qJVaAt6MsJky?= =?Windows-1252?Q?DEkotMU1p+QOl8CASICWrP81W4tfN5PCJGGZUFnDEQqJzX8UrmFZ7TEq?= =?Windows-1252?Q?+himnYZaxard2UQOq+K0zXbkew+7K1JP+7c6cN3rzbUctYpiBcW2ozeL?= =?Windows-1252?Q?3q47KjXSFp3xdvAJgIyeNYvEmkqgkomzUVnwgxOeCdkVTPkZtf3qnbVo?= =?Windows-1252?Q?cujx0vW97RdW/ylQGXMBN/STxpKYQBJw52M/5VTJ6GLsrsTBNyIfdfDO?= =?Windows-1252?Q?oB/0qrAS1nxJQ3LYHwqUXYnx49RRhW9+2QA98suGZTXQIn8J1hM3eMiL?= =?Windows-1252?Q?rJ8H2pvIQ9hR2hQXcIQtojejPCDuAEX/Y2BW0LDQoGM=3D?= MIME-Version: 1.0

----==_mimepart_653b9924a7ec6_75d8045496 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit

unfortunatelly this API version also returns error "The request content was invalid and could not be deserialized: 'Could not find member 'eTag' on object of type 'TemplateResource' :(

-- Reply to this email directly or view it on GitHub: https://github.com/Azure/bicep-types-az/issues/1441#issuecomment-1782721516 You are receiving this because you were mentioned.

Message ID: @.***> ----==_mimepart_653b9924a7ec6_75d8045496 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

unfortunatelly this API version also returns error "The request content was invalid and could not be deserialized: 'Could not find member 'eTag' on object of type 'TemplateResource' :(

—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you were mentioned.Message ID: <Azure/bicep-types-az/issues/1441/1782721516@github.com>

----==_mimepart_653b9924a7ec6_75d8045496--

--_009DS7PR21MB366961B1AE3ACCC8002BDFF2DAA1ADS7PR21MB3669namp Content-Type: message/rfc822 Content-Disposition: attachment; creation-date="Mon, 30 Oct 2023 18:31:59 GMT"; modification-date="Mon, 30 Oct 2023 18:32:50 GMT"

Received: from BL1PR21MB3088.namprd21.prod.outlook.com (2603:10b6:208:390::20) by DS7PR21MB3669.namprd21.prod.outlook.com with HTTPS; Fri, 27 Oct 2023 06:55:27 +0000 Received: from DM6PR00CA0057.namprd00.prod.outlook.com (2603:10b6:5:331::26) by BL1PR21MB3088.namprd21.prod.outlook.com (2603:10b6:208:390::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6954.11; Fri, 27 Oct 2023 06:55:22 +0000 Received: from DM3NAM06FT011.Eop-nam06.prod.protection.outlook.com (2603:10b6:5:331:cafe::87) by DM6PR00CA0057.outlook.office365.com (2603:10b6:5:331::26) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6973.0 via Frontend Transport; Fri, 27 Oct 2023 06:55:22 +0000 Authentication-Results: spf=pass (sender IP is 192.30.252.209) smtp.mailfrom=github.com; dkim=pass (signature was verified) header.d=github.com;dmarc=pass action=none header.from=github.com;compauth=pass reason=100 Received-SPF: Pass (protection.outlook.com: domain of github.com designates 192.30.252.209 as permitted sender) receiver=protection.outlook.com; client-ip=192.30.252.209; helo=out-26.smtp.github.com; pr=C Received: from out-26.smtp.github.com (192.30.252.209) by DM3NAM06FT011.mail.protection.outlook.com (10.152.109.1) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6954.11 via Frontend Transport; Fri, 27 Oct 2023 06:55:22 +0000 Received: from github.com (hubbernetes-node-faef37f.ash1-iad.github.net [10.56.208.56]) by smtp.github.com (Postfix) with ESMTPA id D654E600049 for @.>; Thu, 26 Oct 2023 23:55:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=github.com; s=pf2023; t=1698389721; bh=PNuDK3FJkcqT/pSnh9hzJaKcMHHn+KsPbeNb/l2oX2w=; h=Date:From:Reply-To:To:Cc:In-Reply-To:References:Subject:List-ID: List-Archive:List-Post:List-Unsubscribe:From; b=B9BN40N4efmW9R8HrIc3FxwPiEizXuHOH74ip7NNoAIaRjp5IfEkKXUHSscgwhg+t zpuC9NYVPAcLdpmDAfQIdp7oSx2hXZxlmwafu/OAAarhRTnZDGaBkKG48A9QK/WsBM 1SDA96J+wEleAgBs0F4l7BI+OIFKpxsX7YCj9Qkk= Date: Thu, 26 Oct 2023 23:55:21 -0700 From: vonbartas @.> Reply-To: Azure/bicep-types-az @.> To: Azure/bicep-types-az @.> Cc: ccmaxpcrew @.>, Mention @.> Message-ID: @.> In-Reply-To: @.> References: @.> Subject: Re: [Azure/bicep-types-az] @. not idempotent (Issue #1441) Content-Type: multipart/alternative; boundary="--==_mimepart_653b5ed9d319c94d8041232f3"; charset=UTF-8 Content-Transfer-Encoding: 7bit Precedence: list X-GitHub-Sender: vonbartas X-GitHub-Recipient: ccmaxpcrew X-GitHub-Reason: mention List-ID: Azure/bicep-types-az List-Archive: https://github.com/Azure/bicep-types-az List-Post: @.> List-Unsubscribe: @.>, https://github.com/notifications/unsubscribe/AUYECDETGT35VBBGKMUW2CLYBNLFTANCNFSM6AAAAAAWD2R6TM X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply destinations: @. X-GitHub-Recipient-Address: @. Return-Path: @.*** X-MS-Exchange-Organization-ExpirationStartTime: 27 Oct 2023 06:55:22.3124 (UTC) X-MS-Exchange-Organization-ExpirationStartTimeReason: OriginalSubmit X-MS-Exchange-Organization-ExpirationInterval: 1:00:00:00.0000000 X-MS-Exchange-Organization-ExpirationIntervalReason: OriginalSubmit X-MS-Exchange-Organization-Network-Message-Id: 626137d3-4bdc-486b-57bc-08dbd6b9b098 X-EOPAttributedMessage: 0 X-EOPTenantAttributedMessage: 72f988bf-86f1-41af-91ab-2d7cd011db47:0 X-MS-Exchange-Organization-MessageDirectionality: Incoming X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DM3NAM06FT011:EE|BL1PR21MB3088:EE|DS7PR21MB3669:EE X-MS-Exchange-Organization-AuthSource: DM3NAM06FT011.Eop-nam06.prod.protection.outlook.com X-MS-Exchange-Organization-AuthAs: Anonymous X-MS-Office365-Filtering-Correlation-Id: 626137d3-4bdc-486b-57bc-08dbd6b9b098 X-MS-Exchange-AtpMessageProperties: SA|SL X-NO-EXTERNAL-TAGGING: true X-O365-Sonar-Daas-Pilot: True X-MS-Exchange-Organization-SCL: 1 X-Microsoft-Antispam: BCL:0; X-Forefront-Antispam-Report: CIP:192.30.252.209;CTRY:US;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:out-26.smtp.github.com;PTR:out-26.smtp.github.com;CAT:NONE;SFS:(13230031)(4636009)(451199024)(6966003)(55016003)(19810500001)(66899024)(54906003)(166002)(33964004)(356005)(7636003)(82960400001)(7596003)(7696005)(82950400001)(26005)(7416002)(76236004)(966005)(36756003)(6286002)(336012)(426003)(6266002)(83380400001)(107886003)(2616005)(5660300002)(4006050)(34756004)(450100002)(4326008)(1096003)(75640400001)(19627405001)(6862004)(8676002)(1406899027)(43062005)(43580500001);DIR:INB; X-MS-Exchange-CrossTenant-OriginalArrivalTime: 27 Oct 2023 06:55:22.2187 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 626137d3-4bdc-486b-57bc-08dbd6b9b098 X-MS-Exchange-CrossTenant-Id: 72f988bf-86f1-41af-91ab-2d7cd011db47 X-MS-Exchange-CrossTenant-AuthSource: DM3NAM06FT011.Eop-nam06.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: Internet X-MS-Exchange-Transport-CrossTenantHeadersStamped: BL1PR21MB3088 X-MS-Exchange-Transport-EndToEndLatency: 00:00:05.5023283 X-MS-Exchange-Processed-By-BccFoldering: 15.20.6954.011 X-Microsoft-Antispam-Mailbox-Delivery: ucf:0;jmr:0;auth:0;dest:I;ENG:(910001)(944506478)(944626604)(920097)(930097)(140003)(1420103); X-Microsoft-Antispam-Message-Info: =?Windows-1252?Q?ydBdqp8gsioowKhVZ7MymLHggOwOm80PjRt0ox1jK+NjKMJvA0ryTw2G?= =?Windows-1252?Q?nTP5pVOoZB0c65I2LrVHjvBLpOlQJ4s6UWK8Mn43gqKWVUP6UllcspOD?= =?Windows-1252?Q?zBbtLXmJ30IrHl84Tq87ciNTzqyGl76KJLpKI07zThFfUymJyvuwXeKH?= =?Windows-1252?Q?dHtsa1Xp72vvPlSQHMCmm+K/6pUAgN722iLoyAwZquW3e2vTfm4mg/my?= =?Windows-1252?Q?vFMyVur37ykKHm9aQzlQeeEKthHKciaVDqI1n49+c/QJ0Jcv14D4cO7R?= =?Windows-1252?Q?MG5ouPWFWKQKEhea3GyePrCDWA756AXtNU9PHbxDRivsrWORy/A6AjXa?= =?Windows-1252?Q?iukvOr0K20WD4OUqMAEMBvLjCVUs7xCYlHOUXxP8fHZ0+XTWWF742LYA?= =?Windows-1252?Q?ckO4gnoqe3kxpUd3ptJSQY/2OqV/0LzCwlkV6aFMjFXtM1TQoJScQEPp?= =?Windows-1252?Q?rnVHA2ID4Z+Uqgkehz95B0ZteaghNZ+0c4Rsj+2aKphvSYjvLyxalurG?= =?Windows-1252?Q?lhOaoDODqPexZQaOLKep/HoRa7tm+s7H3XSRvV/ooJX0/eufms3NHpxX?= =?Windows-1252?Q?7LDxmBTPI8gsZJCNo3cx64DDoKPuQpVozfbxA25H8jJEx7Nw0a8aB5wy?= =?Windows-1252?Q?joxA8YdbM2YWDTXQi4UouYa8SiUyKX2yiUvzCV3ld0WPaAK/8cOxgO1L?= =?Windows-1252?Q?ztY2YVtnBDmGp6elqVFpmwcd1v+fIl0CXCBSNjB/JpUvScBLIpGZL8KW?= =?Windows-1252?Q?JgdwaYrEf9ep3YRHqHsrlrdqXUbNeMzdeHxY/JDzBqv4TKTqNNd/ar02?= =?Windows-1252?Q?KH9i7ycpJHKScSl8OeodIV6W8J78Ndw7AGUCbveV8DLm78Jm00uSK8la?= =?Windows-1252?Q?vsRn4XahWBAWnIURa9nMLBw0fMOTPHu71Gd7reLD1NLlwHT2TjnVREEo?= =?Windows-1252?Q?YG1L6HdnTWaP/LLG6CfbSpk25nac1T4pYExid5yehgp2Miik1uXEG0O2?= =?Windows-1252?Q?u2Lj5vavi0zQmkHGVGkt06k3tgZYO8LTBhleseXWuLC9MXG8Sss9ejte?= =?Windows-1252?Q?siF6Nf09Yq/sc/4gN13Fv/ZM0thf9iX0ND92Be1Y5xlAPHh0mWmu//QC?= =?Windows-1252?Q?CChafhvUiiZTRYZnBr8V+/LNfEJ7OnE7tVGPerMyR9rxz3OANE6CN650?= =?Windows-1252?Q?BbMUWhQWnxLtGq38NjlaO2wYrcuJksTEX4+6or4T8v1GuUFvMdGiAqh8?= =?Windows-1252?Q?dx+GeUG0QhaUa7xCgW/3CwOqPdcaAYRGjgMKX0WPlDtzCv9teJ4bHBz4?= =?Windows-1252?Q?/VK9oYisBT2DLHwuoyiye5TVlXAnqYZyf3EsS5YeIBibcTw5MAxcDuX8?= =?Windows-1252?Q?D64pCRVVEa1oNIG41EyVcWAEcsLUYf0CP5qVg3Lcj4U9cch1/GW21T+z?= =?Windows-1252?Q?8ak3JJobOvjCYoduSXxsYGg+qIcF5uY7Fm9l1ey4dlV36EC91j1XrjbD?= =?Windows-1252?Q?/e8o6evzxsRcQO9df8AdOEIyO//UCaJGRF6uujdiH0sf3I2GOQQvfMK1?= =?Windows-1252?Q?QoorAbKlBTbvukrVGwT1ZcNPYWA+56MAsdh1CCYQ6VYU9k7Uyi1hpjo3?= =?Windows-1252?Q?p1o=3D?= MIME-Version: 1.0

----==_mimepart_653b5ed9d319c_94d8041232f3 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit

Thank you @vonbartas. Can you confirm that *_eTag: ''_** should work? Which API version do you use?

Maybe you can find other reason why I'm getting message 'Could not find member 'eTag' on object of type 'TemplateResource'.

resource costAnomalyView @.**' = { name: vName eTag: '' properties: { accumulated: 'string' chart: 'Table' displayName: 'CostAnomaly' metric: 'ActualCost' query: { dataSet: { aggregation: { totalCost: { function: 'Sum' name: 'PreTaxCost' } } granularity: 'Daily' grouping: [ { name: 'SubscriptionId' type: 'Dimension' } ] sorting: [ { direction: 'Descending' name: 'Subscription' } ] } includeMonetaryCommitment: null timeframe: 'WeekToDate' type: 'Usage' } scope: 'subscriptions/{subscriptionId}' } }

@2022-10-01

-- Reply to this email directly or view it on GitHub: https://github.com/Azure/bicep-types-az/issues/1441#issuecomment-1782395518 You are receiving this because you were mentioned.

Message ID: @.***> ----==_mimepart_653b5ed9d319c_94d8041232f3 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Thank you . Can you confirm that eTag: '*' should work? Which API version do you use?

Maybe you can find other reason why I'm getting message 'Could not find member 'eTag' on object of type 'TemplateResource'.

resource costAnomalyView ***@***.***' = { name: vName eTag: '*' properties: { accumulated: 'string' chart: 'Table' displayName: 'CostAnomaly' metric: 'ActualCost' query: { dataSet: { aggregation: { totalCost: { function: 'Sum' name: 'PreTaxCost' } } granularity: 'Daily' grouping: [ { name: 'SubscriptionId' type: 'Dimension' } ] sorting: [ { direction: 'Descending' name: 'Subscription' } ] } includeMonetaryCommitment: null timeframe: 'WeekToDate' type: 'Usage' } scope: 'subscriptions/{subscriptionId}' } }

<p @.***

—
Reply to this email directly,
view it on GitHub, or unsubscribe.
You are receiving this because you were mentioned.Message ID: <Azure/bicep-types-az/issues/1441/1782395518@github.com>

----==_mimepart_653b5ed9d319c_94d8041232f3--

--_009DS7PR21MB366961B1AE3ACCC8002BDFF2DAA1ADS7PR21MB3669namp Content-Type: message/rfc822 Content-Disposition: attachment; creation-date="Mon, 30 Oct 2023 18:31:59 GMT"; modification-date="Mon, 30 Oct 2023 18:32:50 GMT"

Received: from IA1PR21MB3473.namprd21.prod.outlook.com (2603:10b6:208:3e2::17) by DS7PR21MB3669.namprd21.prod.outlook.com with HTTPS; Thu, 26 Oct 2023 13:26:53 +0000 Received: from MN2PR00CA0004.namprd00.prod.outlook.com (2603:10b6:208:224::17) by IA1PR21MB3473.namprd21.prod.outlook.com (2603:10b6:208:3e2::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6954.5; Thu, 26 Oct 2023 13:26:46 +0000 Received: from BL2NAM06FT016.Eop-nam06.prod.protection.outlook.com (2603:10b6:208:224:cafe::36) by MN2PR00CA0004.outlook.office365.com (2603:10b6:208:224::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6951.0 via Frontend Transport; Thu, 26 Oct 2023 13:26:46 +0000 Authentication-Results: spf=pass (sender IP is 192.30.252.211) smtp.mailfrom=github.com; dkim=pass (signature was verified) header.d=github.com;dmarc=pass action=none header.from=github.com;compauth=pass reason=100 Received-SPF: Pass (protection.outlook.com: domain of github.com designates 192.30.252.211 as permitted sender) receiver=protection.outlook.com; client-ip=192.30.252.211; helo=out-28.smtp.github.com; pr=C Received: from out-28.smtp.github.com (192.30.252.211) by BL2NAM06FT016.mail.protection.outlook.com (10.152.107.20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6954.9 via Frontend Transport; Thu, 26 Oct 2023 13:26:45 +0000 Received: from github.com (hubbernetes-node-8312bd3.ash1-iad.github.net [10.56.201.101]) by smtp.github.com (Postfix) with ESMTPA id 7FF9C101172 for @.>; Thu, 26 Oct 2023 06:26:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=github.com; s=pf2023; t=1698326805; bh=uV4Te1MqfKpy7BUWQ2gcaAgQsVEj8SLvB53we2ynPmA=; h=Date:From:Reply-To:To:Cc:In-Reply-To:References:Subject:List-ID: List-Archive:List-Post:List-Unsubscribe:From; b=QIA0gPE+RTvA46ebg4CNsNrJSPEbwqud02wsZTuqepzhZvq9z9YOCCoSQD71CBcI4 ujCJbbCER12BK4gbUKG9qP+guOWakElilFCHKgJTuk5wXe4fTjEKJQJDGb2Rb8OgND 836TP1Uf59XXqFCkw21hoHg+fLpDoE4k++wgl3sQ= Date: Thu, 26 Oct 2023 06:26:45 -0700 From: przlwo @.> Reply-To: Azure/bicep-types-az @.> To: Azure/bicep-types-az @.> Cc: ccmaxpcrew @.>, Mention @.> Message-ID: @.> In-Reply-To: @.> References: @.> Subject: Re: [Azure/bicep-types-az] @. not idempotent (Issue #1441) Content-Type: multipart/alternative; boundary="--==_mimepart_653a69157d74687d8041304ab"; charset=UTF-8 Content-Transfer-Encoding: 7bit Precedence: list X-GitHub-Sender: przlwo X-GitHub-Recipient: ccmaxpcrew X-GitHub-Reason: mention List-ID: Azure/bicep-types-az List-Archive: https://github.com/Azure/bicep-types-az List-Post: @.> List-Unsubscribe: @.>, https://github.com/notifications/unsubscribe/AUYECDAN3QDXALGQQOZGQJDYBJQJLANCNFSM6AAAAAAWD2R6TM X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply destinations: @. X-GitHub-Recipient-Address: @. Return-Path: @.*** X-MS-Exchange-Organization-ExpirationStartTime: 26 Oct 2023 13:26:45.6446 (UTC) X-MS-Exchange-Organization-ExpirationStartTimeReason: OriginalSubmit X-MS-Exchange-Organization-ExpirationInterval: 1:00:00:00.0000000 X-MS-Exchange-Organization-ExpirationIntervalReason: OriginalSubmit X-MS-Exchange-Organization-Network-Message-Id: d9f4b841-537e-48e5-b7a0-08dbd6273356 X-EOPAttributedMessage: 0 X-EOPTenantAttributedMessage: 72f988bf-86f1-41af-91ab-2d7cd011db47:0 X-MS-Exchange-Organization-MessageDirectionality: Incoming X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: BL2NAM06FT016:EE|IA1PR21MB3473:EE|DS7PR21MB3669:EE X-MS-Exchange-Organization-AuthSource: BL2NAM06FT016.Eop-nam06.prod.protection.outlook.com X-MS-Exchange-Organization-AuthAs: Anonymous X-MS-Office365-Filtering-Correlation-Id: d9f4b841-537e-48e5-b7a0-08dbd6273356 X-MS-Exchange-AtpMessageProperties: SA|SL X-NO-EXTERNAL-TAGGING: true X-O365-Sonar-Daas-Pilot: True X-MS-Exchange-Organization-SCL: 1 X-Microsoft-Antispam: BCL:0; X-Forefront-Antispam-Report: CIP:192.30.252.211;CTRY:US;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:out-28.smtp.github.com;PTR:out-28.smtp.github.com;CAT:NONE;SFS:(13230031)(4636009)(451199024)(54906003)(19810500001)(66899024)(966005)(1096003)(4006050)(82960400001)(4326008)(82950400001)(7416002)(6862004)(5660300002)(36756003)(76236004)(6966003)(7596003)(7636003)(356005)(450100002)(34756004)(8676002)(166002)(75640400001)(33964004)(7696005)(336012)(6286002)(6266002)(2616005)(426003)(26005)(19627405001)(83380400001)(107886003)(55016003)(1406899027)(43062005)(43580500001);DIR:INB; X-MS-Exchange-CrossTenant-OriginalArrivalTime: 26 Oct 2023 13:26:45.5978 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: d9f4b841-537e-48e5-b7a0-08dbd6273356 X-MS-Exchange-CrossTenant-Id: 72f988bf-86f1-41af-91ab-2d7cd011db47 X-MS-Exchange-CrossTenant-AuthSource: BL2NAM06FT016.Eop-nam06.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: Internet X-MS-Exchange-Transport-CrossTenantHeadersStamped: IA1PR21MB3473 X-MS-Exchange-Transport-EndToEndLatency: 00:00:07.8918885 X-MS-Exchange-Processed-By-BccFoldering: 15.20.6954.005 X-Microsoft-Antispam-Mailbox-Delivery: ucf:0;jmr:0;auth:0;dest:I;ENG:(910001)(944506478)(944626604)(920097)(930097)(140003)(1420103); X-Microsoft-Antispam-Message-Info: =?Windows-1252?Q?gRmiYI7HNERQ1fi9D0qyW+VCwzO9lLwpq8rWZRjH55iupucG6XIapp88?= =?Windows-1252?Q?RErXqfOZEQrkKge8BVfqs7fH5EEpwa356XwRKPnYlLbZ+7wQr2H/e+JV?= =?Windows-1252?Q?7N4UK87OZ/iX/FB1IJej08Dwo/aeDbxn8uhmHitaUTH5NweYodXKOoGO?= =?Windows-1252?Q?XDou8ygmeqtSr64oRQxavufWxfQk1V//avTPwcqVz1xvbyhAX6dj42bH?= =?Windows-1252?Q?wJLFYdvEHOvFwtqzNvvr3a4YkKoBicnPSqv3TFAjPaxLstyf3XakdlR2?= =?Windows-1252?Q?6UdW27rV8YjsqhEjwiPLxq0Bn2wowjaJV0kF9Vq8OvSIOuk8Y9UNNWYS?= =?Windows-1252?Q?ykm8Syp2lRpiTTAb0HMAwEbCO9UBt4kvQhlQ13UTvYIhMFYWpZnEVhTD?= =?Windows-1252?Q?67thUGc/TuTIcbUrvE5PZe90P1sM5D71GflXETfKosSYZ+wWr/00uJXZ?= =?Windows-1252?Q?KsHWEvco7RnvT+p16s9Bih62yx2vvn5KUbjqLBc2L0/61juqiKSj8Qco?= =?Windows-1252?Q?ANriXCmpPYgQazTaS0rPsxXspB8iOqHb9cg2XoBjUyi4Sg3QtxjVXNFU?= =?Windows-1252?Q?X9YrMN2LWZGfakTym7LoDyQ8mAHfk8ovfUtqXjy2LZv87qnvie+MpVuF?= =?Windows-1252?Q?SfD28q9LC9T6HShEwHY2owri84kRN4rrhfowZsh3yhr5qxdX9LcHOt/p?= =?Windows-1252?Q?FnEUNd6oJpjSfE9tz9lqE12psfZuTySdQystdjl6yIZGNo3AYBQFgDR8?= =?Windows-1252?Q?VRNaOtTWB0s2bQjUxdVzPFqTgytAxWhCGY7zDgolWFt7FuYCIw5V+eI5?= =?Windows-1252?Q?CstlZz5iegYpkSo0r336MkgD5q9PTqYRXhhRTocKG6MljZfgu8nr5dKF?= =?Windows-1252?Q?TkPsS6SLnzIUrDAAOAQVn0acPw29pD21rHeXuiYzu24tNHUFSo5URjks?= =?Windows-1252?Q?spaTGY9Iuj3xNp9z+Q29AVdYZqsaq8uK7ujKX96xKy8S/iUnCmd3O4C9?= =?Windows-1252?Q?GDRyMpn/WtsKW8Arl2FWb6MLCLeN2ceJhadFzaPC2eq+0HtJ+jkiR1XD?= =?Windows-1252?Q?mnVFrgfo1+2n0MYxzuQfNSRhL0JlcSx/H5G8bqLEwg2pyICzNfPyug2W?= =?Windows-1252?Q?wkB6/ZijKOpGgAHdUCPd+R/LuNxqFxTg2SHX+5a6687MCx4o7LWX3g9/?= =?Windows-1252?Q?zwkdrXBOPgbpYUdPUjViQty8aOH9L8/qdXiPUTOSlyXNedsqigPQxBjI?= =?Windows-1252?Q?JL/36rr+DlcLUdCKzQ1lJgmzOl9MCo9LZMI1jSXnM0bCZ7t+HyML2Yb2?= =?Windows-1252?Q?RbOtJfjeRaoBqwYaSYBVf4Bkl61F06jqfWRbwCJSKtXIHCOTV4UhyI/u?= =?Windows-1252?Q?cHLT2+BBW8MAbMwONiY7QnjEYKbu+aCSwk0fkFQXyBwgmy+c0Kx7X7PK?= =?Windows-1252?Q?VBO/HfrYtR2eqAUda0MPs5jMNirgFpRsYphKtBfsgU4=3D?= MIME-Version: 1.0

----==_mimepart_653a69157d746_87d8041304ab Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit

Thank you @vonbartas. Can you confirm that *_eTag: ''_** should work? Which API version do you use?

-- Reply to this email directly or view it on GitHub: https://github.com/Azure/bicep-types-az/issues/1441#issuecomment-1781124200 You are receiving this because you were mentioned.

Message ID: @.***> ----==_mimepart_653a69157d746_87d8041304ab Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Thank you .
Can you confirm that eTag: '*' should work? Which API version do you use?

—
Reply to this email directly,
view it on GitHub, or unsubscribe.
You are receiving this because you were mentioned.Message ID: <Azure/bicep-types-az/issues/1441/1781124200@github.com>

----==_mimepart_653a69157d746_87d8041304ab--

--_009DS7PR21MB366961B1AE3ACCC8002BDFF2DAA1ADS7PR21MB3669namp Content-Type: message/rfc822 Content-Disposition: attachment; creation-date="Mon, 30 Oct 2023 18:32:00 GMT"; modification-date="Mon, 30 Oct 2023 18:32:50 GMT"

Received: from SJ1PR21MB3554.namprd21.prod.outlook.com (2603:10b6:a03:452::17) by DS7PR21MB3669.namprd21.prod.outlook.com with HTTPS; Thu, 26 Oct 2023 13:18:29 +0000 Received: from DM6PR00CA0031.namprd00.prod.outlook.com (2603:10b6:5:114::44) by SJ1PR21MB3554.namprd21.prod.outlook.com (2603:10b6:a03:452::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6954.8; Thu, 26 Oct 2023 13:18:25 +0000 Received: from DM3NAM06FT008.Eop-nam06.prod.protection.outlook.com (2603:10b6:5:114:cafe::b6) by DM6PR00CA0031.outlook.office365.com (2603:10b6:5:114::44) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6973.0 via Frontend Transport; Thu, 26 Oct 2023 13:18:25 +0000 Authentication-Results: spf=pass (sender IP is 192.30.252.200) smtp.mailfrom=github.com; dkim=pass (signature was verified) header.d=github.com;dmarc=pass action=none header.from=github.com;compauth=pass reason=100 Received-SPF: Pass (protection.outlook.com: domain of github.com designates 192.30.252.200 as permitted sender) receiver=protection.outlook.com; client-ip=192.30.252.200; helo=out-17.smtp.github.com; pr=C Received: from out-17.smtp.github.com (192.30.252.200) by DM3NAM06FT008.mail.protection.outlook.com (10.152.108.103) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6954.9 via Frontend Transport; Thu, 26 Oct 2023 13:18:25 +0000 Received: from github.com (hubbernetes-node-6415157.va3-iad.github.net [10.48.206.55]) by smtp.github.com (Postfix) with ESMTPA id D0C684118A for @.>; Thu, 26 Oct 2023 06:18:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=github.com; s=pf2023; t=1698326304; bh=LKtFODSc4BnCs/Eblp4wTPDtr54QR/uR5WCp18VksZ0=; h=Date:From:Reply-To:To:Cc:In-Reply-To:References:Subject:List-ID: List-Archive:List-Post:List-Unsubscribe:From; b=mHmtMazc3sKxQNwx2my2oa43A0NBf+vWIPT//gNYNoMDpG5qSChiEBBBO32JXy9Aj Ft93tqPc3R7pbLAvQpHixMaF72hpC5LFALdOnW6zVn7voIdV4JjunRJLb1YT90YRU0 uyCGvjguHSloFos1kt8Z9pfcjnkgbj2OFBTPqIfI= Date: Thu, 26 Oct 2023 06:18:24 -0700 From: vonbartas @.> Reply-To: Azure/bicep-types-az @.> To: Azure/bicep-types-az @.> Cc: ccmaxpcrew @.>, Mention @.> Message-ID: @.> In-Reply-To: @.> References: @.> Subject: Re: [Azure/bicep-types-az] @. not idempotent (Issue #1441) Content-Type: multipart/alternative; boundary="--==_mimepart_653a6720c511874d8041108ed"; charset=UTF-8 Content-Transfer-Encoding: 7bit Precedence: list X-GitHub-Sender: vonbartas X-GitHub-Recipient: ccmaxpcrew X-GitHub-Reason: mention List-ID: Azure/bicep-types-az List-Archive: https://github.com/Azure/bicep-types-az List-Post: @.> List-Unsubscribe: @.>, https://github.com/notifications/unsubscribe/AUYECDBBAD55GG4KQYU7Q3TYBJPKBANCNFSM6AAAAAAWD2R6TM X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply destinations: @. X-GitHub-Recipient-Address: @. Return-Path: @.*** X-MS-Exchange-Organization-ExpirationStartTime: 26 Oct 2023 13:18:25.3263 (UTC) X-MS-Exchange-Organization-ExpirationStartTimeReason: OriginalSubmit X-MS-Exchange-Organization-ExpirationInterval: 1:00:00:00.0000000 X-MS-Exchange-Organization-ExpirationIntervalReason: OriginalSubmit X-MS-Exchange-Organization-Network-Message-Id: 6134672b-a942-4768-30db-08dbd6260920 X-EOPAttributedMessage: 0 X-EOPTenantAttributedMessage: 72f988bf-86f1-41af-91ab-2d7cd011db47:0 X-MS-Exchange-Organization-MessageDirectionality: Incoming X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DM3NAM06FT008:EE|SJ1PR21MB3554:EE|DS7PR21MB3669:EE X-MS-Exchange-Organization-AuthSource: DM3NAM06FT008.Eop-nam06.prod.protection.outlook.com X-MS-Exchange-Organization-AuthAs: Anonymous X-MS-Office365-Filtering-Correlation-Id: 6134672b-a942-4768-30db-08dbd6260920 X-MS-Exchange-AtpMessageProperties: SA|SL X-NO-EXTERNAL-TAGGING: true X-O365-Sonar-Daas-Pilot: True X-MS-Exchange-Organization-SCL: 1 X-Microsoft-Antispam: BCL:0; X-Forefront-Antispam-Report: CIP:192.30.252.200;CTRY:US;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:out-17.smtp.github.com;PTR:out-17.smtp.github.com;CAT:NONE;SFS:(13230031)(4636009)(451199024)(6966003)(54906003)(19810500001)(7416002)(5660300002)(1096003)(4006050)(4326008)(6862004)(8676002)(966005)(450100002)(34756004)(36756003)(75640400001)(19627405001)(7696005)(33964004)(7636003)(356005)(7596003)(166002)(336012)(426003)(26005)(76236004)(107886003)(6266002)(6286002)(2616005)(82950400001)(82960400001)(55016003)(83380400001)(66899024)(1406899027)(43062005)(43580500001);DIR:INB; X-MS-Exchange-CrossTenant-OriginalArrivalTime: 26 Oct 2023 13:18:25.2325 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 6134672b-a942-4768-30db-08dbd6260920 X-MS-Exchange-CrossTenant-Id: 72f988bf-86f1-41af-91ab-2d7cd011db47 X-MS-Exchange-CrossTenant-AuthSource: DM3NAM06FT008.Eop-nam06.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: Internet X-MS-Exchange-Transport-CrossTenantHeadersStamped: SJ1PR21MB3554 X-MS-Exchange-Transport-EndToEndLatency: 00:00:04.5979673 X-MS-Exchange-Processed-By-BccFoldering: 15.20.6954.005 X-Microsoft-Antispam-Mailbox-Delivery: ucf:0;jmr:0;auth:0;dest:I;ENG:(910001)(944506478)(944626604)(920097)(930097)(140003)(1420103); X-Microsoft-Antispam-Message-Info: =?Windows-1252?Q?PM92tNkHvb5hGV8740SisUMfB8LOmtDf3l2THjB1UswPOBYNjKyG42E5?= =?Windows-1252?Q?WzVBI9Jke3CRfs13PoulykOLZYg38CraxtlLj2zab/OnNS5IRorEf2hx?= =?Windows-1252?Q?B57ov5unYUEAnBMbQgycxtek369cHawC6DMDfoo/in+1PhRMO0jUegU0?= =?Windows-1252?Q?wa/Ihu55nqMgSr2S07tbm0s58sHHSq3lZVq+dnpJiJ/GddFkijDdzOgN?= =?Windows-1252?Q?JMOlMhAjsBB9bUPQ66eSTWQ+adlq9PYC5zC0cFZgf929bmgxLvm1mo+G?= =?Windows-1252?Q?wDPckaoS7wxVWHYTw6I2jZGPeXdVwJp2SQTHibpMHystZdFOQtV0mL2C?= =?Windows-1252?Q?qQA3m+Jl8y3rkuol0h8QwaGTw3goYvi9k76D0WnD7OekpHNCPdVP/QvC?= =?Windows-1252?Q?HxzDukLIWHR3RWWV5yG1Ts96iBPyUilQaZofrLymLwMof4D4WxwFShZ2?= =?Windows-1252?Q?KrNo++nUJA6UQY/Hu2nNXdRYyRxeh47m1I/tIZaFha9zLkFtYXz7eyfi?= =?Windows-1252?Q?6MKMrNnmmOYNTQf1eQLyOBzeJ+pFP/faOdVvNy8LtJoSw2QTqoirHy5F?= =?Windows-1252?Q?+NYPRewkAVrh7lpsf8veSZJJ/dab1LQTclgh0Enmyh2G8lKLLHYvtvmU?= =?Windows-1252?Q?+RzvsqNFfJKGRUcRDzXC8QtMc+njsWLvou394nkKGySKK0xvXiSXSwjc?= =?Windows-1252?Q?RRRP/NPLf281GvmxOsmTyMEu684gyGCEzXM6F0nzRRW/fpHxXbKmwPiA?= =?Windows-1252?Q?DQGfqW8kaZy6zXO7Hlx0178dAxukYD1rIsBgzarOnL6UKuS6fNVFcRF0?= =?Windows-1252?Q?/xobPC3abxK1/NOVfAaCfG96/nPWksKEejvPiMWNwXDyb8p1NY0mUl2P?= =?Windows-1252?Q?8MV2qgvlvW11Y9/f0qtMSDX19lG8LwO4qgfIbft9yKA2Hb3OyTN7oZop?= =?Windows-1252?Q?yTRhfNAzbs9ojuJlHrSbhbGJJLSvJ2s9CNOosihrZW1VvJwpBxXoQ14T?= =?Windows-1252?Q?VgTV3sEC/pzPUnrsZB36EJQ7L+bggvSUqd9oD34UV3VmPucWJy6NvtDw?= =?Windows-1252?Q?pLQiOs3fGTj4JSPjnMKo0YIxKLtNVDJGrtLSRuDI6xaqjtOpzsOU+lyW?= =?Windows-1252?Q?5sKRWuxBlaDbgnV13CU2W6sknCH/62TYrrXsnCdqMa68xK/eM5sFhW7e?= =?Windows-1252?Q?xnsw0D2UdGtBttt1IjCu2Y6shuE6IBhM0aCLtv2+HBNekshHvV25WHXr?= =?Windows-1252?Q?tAPKa2xgC1WgE2std+NpN8xo328hWlI0raWoI0RewL1BPypq8yRy4eQ7?= =?Windows-1252?Q?h2xCkpHq36rz7S85muGWTtJihAGHIRkovRI8b5ygY444kbwfk2vGhrCJ?= =?Windows-1252?Q?I8fht+qYLXcKCRjeNsdFC9q6iwzmZx5JqaV9AvxNIVXwbnruuNdCH9s0?= =?Windows-1252?Q?irYwAWD2nkN4GMM6VFTZSAURpN9aQ/ZemDhOStrIqKM=3D?= MIME-Version: 1.0

----==_mimepart_653a6720c5118_74d8041108ed Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit

Hi, does the issue with Microsoft.CostManagement/views endpoint was resolved? Currently I'm facing this issue.

For me works fine.

-- Reply to this email directly or view it on GitHub: https://github.com/Azure/bicep-types-az/issues/1441#issuecomment-1781108327 You are receiving this because you were mentioned.

Message ID: @.***> ----==_mimepart_653a6720c5118_74d8041108ed Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Hi, does the issue with Microsoft.CostManagement/views endpoint was resolved? Currently I'm facing this issue.

For me works fine.

—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you were mentioned.Message ID: <Azure/bicep-types-az/issues/1441/1781108327@github.com>

----==_mimepart_653a6720c5118_74d8041108ed--

--_009DS7PR21MB366961B1AE3ACCC8002BDFF2DAA1ADS7PR21MB3669namp Content-Type: message/rfc822 Content-Disposition: attachment; creation-date="Mon, 30 Oct 2023 18:32:00 GMT"; modification-date="Mon, 30 Oct 2023 18:32:50 GMT"

Received: from DM4PR21MB3106.namprd21.prod.outlook.com (2603:10b6:8:62::18) by DS7PR21MB3669.namprd21.prod.outlook.com with HTTPS; Thu, 26 Oct 2023 12:45:43 +0000 Received: from DM6PR00CA0022.namprd00.prod.outlook.com (2603:10b6:5:114::35) by DM4PR21MB3106.namprd21.prod.outlook.com (2603:10b6:8:62::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6954.8; Thu, 26 Oct 2023 12:45:40 +0000 Received: from CY4PEPF0000FF2D.namprd00.prod.outlook.com (2603:10b6:5:114:cafe::8b) by DM6PR00CA0022.outlook.office365.com (2603:10b6:5:114::35) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6972.0 via Frontend Transport; Thu, 26 Oct 2023 12:45:40 +0000 Authentication-Results: spf=pass (sender IP is 192.30.252.209) smtp.mailfrom=github.com; dkim=pass (signature was verified) header.d=github.com;dmarc=pass action=none header.from=github.com;compauth=pass reason=100 Received-SPF: Pass (protection.outlook.com: domain of github.com designates 192.30.252.209 as permitted sender) receiver=protection.outlook.com; client-ip=192.30.252.209; helo=out-26.smtp.github.com; pr=C Received: from out-26.smtp.github.com (192.30.252.209) by CY4PEPF0000FF2D.mail.protection.outlook.com (10.167.242.135) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6975.0 via Frontend Transport; Thu, 26 Oct 2023 12:45:40 +0000 Received: from github.com (hubbernetes-node-c0cb37e.ash1-iad.github.net [10.56.206.75]) by smtp.github.com (Postfix) with ESMTPA id 13627600C2A for @.>; Thu, 26 Oct 2023 05:45:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=github.com; s=pf2023; t=1698324340; bh=2r8POlsW+e2oZDc8T284qGZmiJsLa28Axr20q7jTaZA=; h=Date:From:Reply-To:To:Cc:In-Reply-To:References:Subject:List-ID: List-Archive:List-Post:List-Unsubscribe:From; b=D3dk6xOQN3YrqDWqTEM1dQdYylXs71nIXLdV+/vx4TVM/fX5YouT27HvFmYZaske8 3RbyNJyPTukDPVQ3JL/AY0xRnI3OYXzuc6sETxzhbe1li8+CJAtfb7e6yV2i6dihW/ Dj8PkDApjet/L665cAnS9pdbSCvkPRjvnoyzr4O8= Date: Thu, 26 Oct 2023 05:45:40 -0700 From: przlwo @.> Reply-To: Azure/bicep-types-az @.> To: Azure/bicep-types-az @.> Cc: ccmaxpcrew @.>, Mention @.> Message-ID: @.> In-Reply-To: @.> References: @.> Subject: Re: [Azure/bicep-types-az] @. not idempotent (Issue #1441) Content-Type: multipart/alternative; boundary="--==_mimepart_653a5f7410bb07ad804321115"; charset=UTF-8 Content-Transfer-Encoding: 7bit Precedence: list X-GitHub-Sender: przlwo X-GitHub-Recipient: ccmaxpcrew X-GitHub-Reason: mention List-ID: Azure/bicep-types-az List-Archive: https://github.com/Azure/bicep-types-az List-Post: @.> List-Unsubscribe: @.>, https://github.com/notifications/unsubscribe/AUYECDB7Z7XWQY3F5UXBVP3YBJLPJANCNFSM6AAAAAAWD2R6TM X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply destinations: @. X-GitHub-Recipient-Address: @. Return-Path: @.*** X-MS-Exchange-Organization-ExpirationStartTime: 26 Oct 2023 12:45:40.6883 (UTC) X-MS-Exchange-Organization-ExpirationStartTimeReason: OriginalSubmit X-MS-Exchange-Organization-ExpirationInterval: 1:00:00:00.0000000 X-MS-Exchange-Organization-ExpirationIntervalReason: OriginalSubmit X-MS-Exchange-Organization-Network-Message-Id: 5882e8b3-1da9-4005-3be8-08dbd621761c X-EOPAttributedMessage: 0 X-EOPTenantAttributedMessage: 72f988bf-86f1-41af-91ab-2d7cd011db47:0 X-MS-Exchange-Organization-MessageDirectionality: Incoming X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: CY4PEPF0000FF2D:EE|DM4PR21MB3106:EE|DS7PR21MB3669:EE X-MS-Exchange-Organization-AuthSource: CY4PEPF0000FF2D.namprd00.prod.outlook.com X-MS-Exchange-Organization-AuthAs: Anonymous X-MS-Office365-Filtering-Correlation-Id: 5882e8b3-1da9-4005-3be8-08dbd621761c X-MS-Exchange-AtpMessageProperties: SA|SL X-NO-EXTERNAL-TAGGING: true X-O365-Sonar-Daas-Pilot: True X-MS-Exchange-Organization-SCL: 1 X-Microsoft-Antispam: BCL:0; X-Forefront-Antispam-Report: CIP:192.30.252.209;CTRY:US;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:out-26.smtp.github.com;PTR:out-26.smtp.github.com;CAT:NONE;SFS:(13230031)(4636009)(451199024)(34756004)(7416002)(19627405001)(19810500001)(6966003)(54906003)(107886003)(8676002)(1096003)(4326008)(75640400001)(450100002)(6862004)(36756003)(5660300002)(4006050)(166002)(76236004)(966005)(83380400001)(55016003)(82960400001)(82950400001)(426003)(336012)(7636003)(7596003)(6266002)(356005)(2616005)(26005)(6286002)(33964004)(7696005)(66899024)(1406899027)(43062005)(43580500001);DIR:INB; X-MS-Exchange-CrossTenant-OriginalArrivalTime: 26 Oct 2023 12:45:40.5634 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 5882e8b3-1da9-4005-3be8-08dbd621761c X-MS-Exchange-CrossTenant-Id: 72f988bf-86f1-41af-91ab-2d7cd011db47 X-MS-Exchange-CrossTenant-AuthSource: CY4PEPF0000FF2D.namprd00.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: Internet X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM4PR21MB3106 X-MS-Exchange-Transport-EndToEndLatency: 00:00:03.4052296 X-MS-Exchange-Processed-By-BccFoldering: 15.20.6954.005 X-Microsoft-Antispam-Mailbox-Delivery: ucf:0;jmr:0;auth:0;dest:I;ENG:(910001)(944506478)(944626604)(920097)(930097)(140003)(1420103); X-Microsoft-Antispam-Message-Info: =?Windows-1252?Q?94zoLOcmNGr1ngiliturLg7e0DoS0GPH574tK0jzKRxhmWQ1x+AlAW0i?= =?Windows-1252?Q?XXtzbS1DnEKWAk3YoCf76SJEw3jj8qVhXK2h/MFwbmych5emty25aD2z?= =?Windows-1252?Q?eGXwiL24KyjqPdznwxYR0yLo/TgMADWEFm6ywbIng1r88JcLhVAGAd/C?= =?Windows-1252?Q?7vNRubhpfXeghdzMhIQeAivKfvsSIYkKgynm+zHyaKrpxE8EiIwK58mU?= =?Windows-1252?Q?M8ouFGFGJpftrGQM9xE8GAJIolh72sAkne9EudzTZcoj9WNcmAnmzS2C?= =?Windows-1252?Q?mlZeJhh9sMyvqtOmSCc8AdNEbjFxteB68jmGmNMuipLyKNZ4LMq2729g?= =?Windows-1252?Q?dCSrV1DL91hQmNCWwtdJ/ZQaeH4T+RTj44n5R2zdQQaWaZcblCDXTSor?= =?Windows-1252?Q?LxrJV0rz8dPK9GXqN7MFiuvXQxTY/8tZ6DRbp2t30s8GYk5tdCRu55ke?= =?Windows-1252?Q?S/9oh0W+1xHM444sWU3CIDBecdqNhedRvVPDtmyu6kb/o3WWbGVAsw7s?= =?Windows-1252?Q?Crk2Ss6DOPQn30gCwPS945QXT8PVOvlHEMYq6cuZOuDOJkO9FbxSp+lT?= =?Windows-1252?Q?h0aOVLXPHnyII7HPj4SijBylMu5gCrIoZl1Vh4AER1u3BfG54nFFImks?= =?Windows-1252?Q?aoYGjfxDgOWL0hWDQJICzBt5DrO3AkqpALTmbSYwsCPH1DNAcF3IriFy?= =?Windows-1252?Q?3bYcaL7UFGAgoTyAbcCkbuTiRd3YnFlTQvjJ7bJNJr+Gvo1hphX4OzXh?= =?Windows-1252?Q?QPGrWvx316LLUipMk0KAGcRqvlR0XXRQLxIokuDb9MzscRPOIefBSvHe?= =?Windows-1252?Q?c4rf/dh1OXNcsATR27PdGMOCJq6OgOTiIS/1ERQKeMndgfcR+W5ppqBW?= =?Windows-1252?Q?+P+HVocYuMfh9kCh7yPYlrtPsI0C3HEUdyD6xo3641ZN5uZ6soiGDWp4?= =?Windows-1252?Q?ys1NghWnX3vJcmxPGxTSHb90uOCTqoLh/klMXWKGgWpF4EJm8XxZkjXQ?= =?Windows-1252?Q?CXvpi8KeqR212oMzUNSIuXHscGS0Uv9eVjli1vR2rHIP0+kWdmbtPB0J?= =?Windows-1252?Q?iMU06yIYBzSKVvRNnhbCz60LfY2c8SvrVD+Q+juDgp/M5zEKi6H8fQ8z?= =?Windows-1252?Q?Tfvg7jcqawkLimtPa6FQvRaMQ8TBD9V3JoS6W9Q2FIA4u+EY1maOaw9j?= =?Windows-1252?Q?k4Fn8E3VlJydEBnIfyuBa6E9LOd7DyVXrbGHALPmwYKBT196yvAy+uul?= =?Windows-1252?Q?hrt7jZjDqktq61SB9kEs4Pd2DvPR3zQap9I9TQSLOQUbEiU5wTde0aS3?= =?Windows-1252?Q?AtS64bodAmvg2xBzYOekSdYJao75dnNeUPOtUsPXDfpY6jooWV4n3b8o?= =?Windows-1252?Q?XZW7dhoYCJf+bI6jFdhxMf5YKv+kNnWsfc5MGqTDwPfw0xw3r1ebAkWd?= =?Windows-1252?Q?6cd6S0YJ4K+VuwocBEVri9TJbNhZwJS2szayGJm2lZM=3D?= MIME-Version: 1.0

----==_mimepart_653a5f7410bb0_7ad804321115 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit

Hi, does the issue with Microsoft.CostManagement/views endpoint was resolved? Currently I'm facing this issue.

-- Reply to this email directly or view it on GitHub: https://github.com/Azure/bicep-types-az/issues/1441#issuecomment-1781051812 You are receiving this because you were mentioned.

Message ID: @.***> ----==_mimepart_653a5f7410bb0_7ad804321115 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Hi, does the issue with Microsoft.CostManagement/views endpoint was resolved? Currently I'm facing this issue.

—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you were mentioned.Message ID: <Azure/bicep-types-az/issues/1441/1781051812@github.com>

----==_mimepart_653a5f7410bb0_7ad804321115--

--_009DS7PR21MB366961B1AE3ACCC8002BDFF2DAA1ADS7PR21MB3669namp Content-Type: message/rfc822 Content-Disposition: attachment; creation-date="Mon, 30 Oct 2023 18:32:00 GMT"; modification-date="Mon, 30 Oct 2023 18:32:50 GMT"

Received: from MN0PR21MB3751.namprd21.prod.outlook.com (2603:10b6:208:3ca::10) by DS7PR21MB3669.namprd21.prod.outlook.com with HTTPS; Mon, 8 May 2023 18:19:33 +0000 Received: from DM6PR00CA0038.namprd00.prod.outlook.com (2603:10b6:5:331::7) by MN0PR21MB3751.namprd21.prod.outlook.com (2603:10b6:208:3ca::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6411.2; Mon, 8 May 2023 18:19:30 +0000 Received: from CB1PEPF00003D79.namprd00.prod.outlook.com (2603:10b6:5:331:cafe::53) by DM6PR00CA0038.outlook.office365.com (2603:10b6:5:331::7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6405.0 via Frontend Transport; Mon, 8 May 2023 18:19:30 +0000 Authentication-Results: spf=pass (sender IP is 192.30.252.204) smtp.mailfrom=github.com; dkim=pass (signature was verified) he

pfoppe commented 4 weeks ago

Is there an update to this issue?

I can confirm, using... resource costManagementView 'Microsoft.CostManagement/views@2023-11-01' ...

Still returns: Status Message: Etag value required for update operation of view: test cost view. Please get the latest to avoid overwrite. (Request ID: <OBSCURED>) (Code:400)

I've written some modules to create action groups, create budgets (action group assigned), create the cost management views (with the same filter as the budget and the budget assigned as a KPI), and then a scheduled report of the view. I've got ~15-20 of these setup so it was ripe for building it in bicep.

My challenge with this bug - Since the Microsoft.CostManagement/views is not idempotent, I have to break the deployment into 3 components -

  1. Build action group and budget
  2. Build the cost management view (run only once)
  3. build the schedule on top of the view

If I have to tweak the view, I have to delete the cost management view and then re-run #2 and #3 above. Since the view is deleted/re-created, users get an email anytime I have to do this causing confusion to the audience receiving the budget alerts (ex - "why am I getting so many messages that I've subscribed to the weekly report?!")

Side note - does anyone have a way to 'mass delete' cost management views? I was unable to find an azure powershell or cli command to do this so am manually purging them if needed.

Thanks!