Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FEATURE REQ] Add Microsoft.Web/sites/extensions and Microsoft.Web/sites/slots/extensions 'ZipDeploy' to the spec. #30988

Open
MitchBodmer opened this issue Oct 12, 2024 · 0 comments
Labels
customer-reported Issues that are reported by GitHub users external to the Azure organization. feature-request This issue requires a new behavior in the product in order be resolved. Mgmt This issue is related to a management-plane library. question The issue doesn't require a change to the product in order to be resolved. Most issues start as that Service Attention Workflow: This issue is responsible by Azure service team. Web Apps

Comments

@MitchBodmer
Copy link

API Spec link

https://github.com/Azure/azure-rest-api-specs/blob/main/specification/web/resource-manager/Microsoft.Web/stable/2024-04-01/WebApps.json

API Spec version

2024-04-01

Please describe the feature.

Right now it's not possible to create a ZipDeploy resource in a Bicep template because the Bicep types don't include the ZipDeploy extension, and that's because the API spec also doesn't include it.

resource functionApp 'Microsoft.Web/sites@2022-09-01' = {
  name: functionAppName
  location: location
  kind: 'functionapp'
  identity: functionAppIdentity
  properties: siteProperties

  resource stagingSlot 'slots' = {
    name: 'staging'
    location: location
    kind: 'functionapp'
    identity: functionAppIdentity
    properties: union(siteProperties, { siteConfig: { autoSwapSlotName: 'production' } })

    resource stagingAuthSettingsConfig 'config' = {
      name: 'authsettingsV2'
      properties: authSettingsConfigProperties
    }

    resource zipDeploy 'extensions' = {
      name: 'ZipDeploy' // This line fails.
      properties: {
        packageUri: packageUri
      }
    }
  }

  resource authSettingsConfig 'config' = {
    name: 'authsettingsV2'
    properties: authSettingsConfigProperties
  }
}

I'd like it to be added so that we can update the Bicep types and then use it in templates.

@MitchBodmer MitchBodmer added the feature-request This issue requires a new behavior in the product in order be resolved. label Oct 12, 2024
@microsoft-github-policy-service microsoft-github-policy-service bot added question The issue doesn't require a change to the product in order to be resolved. Most issues start as that customer-reported Issues that are reported by GitHub users external to the Azure organization. labels Oct 12, 2024
@v-jiaodi v-jiaodi added Service Attention Workflow: This issue is responsible by Azure service team. Mgmt This issue is related to a management-plane library. Web Apps labels Oct 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
customer-reported Issues that are reported by GitHub users external to the Azure organization. feature-request This issue requires a new behavior in the product in order be resolved. Mgmt This issue is related to a management-plane library. question The issue doesn't require a change to the product in order to be resolved. Most issues start as that Service Attention Workflow: This issue is responsible by Azure service team. Web Apps
Projects
None yet
Development

No branches or pull requests

2 participants