Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Surface _kind, _securityContext, and _name from resource during export#884

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
SteveL-MSFT merged 8 commits intoPowerShell:mainfromtgauth:surface-props-export
Jun 17, 2025

Conversation

tgauth
Copy link
Collaborator

PR Summary

  • updateexport to surface specific properties from resource at top-level, while also removing those properties from the lower-level object
  • add corresponding pester test

PR Context

@tgauthtgauth requested a review fromSteveL-MSFTJune 12, 2025 20:02
@tgauthtgauth changed the titleSurface props exportSurface _kind, _securityContext, and _name from resource during exportJun 12, 2025
@ThomasNieto
Copy link
Contributor

What is_kind and are there any restrictions on the values?

@SteveL-MSFT
Copy link
Member

What is_kind and are there any restrictions on the values?

The intent is to align with ARM where we have scenarios where this info is neededhttps://learn.microsoft.com/en-us/azure/azure-resource-manager/templates/syntax#resources. So short answer, is it's currently just a string with no validation. It isn't information that will be used by DSC itself, but higher level tools so scenario specific. I expect most DSC resources to not use this.

Copy link
Member

@SteveL-MSFTSteveL-MSFT left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

LGTM

@SteveL-MSFTSteveL-MSFT added this pull request to themerge queueJun 17, 2025
Merged via the queue intoPowerShell:main with commit2c5b5c7Jun 17, 2025
4 checks passed
@tgauthtgauth deleted the surface-props-export branchJuly 11, 2025 17:56
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@SteveL-MSFTSteveL-MSFTSteveL-MSFT approved these changes

Assignees
No one assigned
Labels
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

Export should allow resource to supply name to generated instance
3 participants
@tgauth@ThomasNieto@SteveL-MSFT

[8]ページ先頭

©2009-2025 Movatter.jp