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

New Snippet example for Shared Image Gallery #2310

Merged
merged 6 commits into from
Apr 24, 2021
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
// $1 = 'sharedImageGallery'
// $2 = 'sharedImageGalleryDescription'
MarcusFelling marked this conversation as resolved.
Show resolved Hide resolved

// Insert snippet here
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
resource sharedImageGallery 'Microsoft.Compute/galleries@2020-09-30' = {
name: 'sharedImageGallery'
MarcusFelling marked this conversation as resolved.
Show resolved Hide resolved
location: resourceGroup().location
properties: {
description: 'sharedImageGalleryDescription'
MarcusFelling marked this conversation as resolved.
Show resolved Hide resolved
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
// Create Image Gallery
resource sharedImageGallery 'Microsoft.Compute/galleries@2020-09-30' = {
MarcusFelling marked this conversation as resolved.
Show resolved Hide resolved
name: ${1:sharedImageGallery}
MarcusFelling marked this conversation as resolved.
Show resolved Hide resolved
location: resourceGroup().location
properties: {
description: ${2:sharedImageGalleryDescription}
MarcusFelling marked this conversation as resolved.
Show resolved Hide resolved
}
}