Skip to content

[FEATURE REQ] Add Parse and TryParse on ResourceType type #47260

Open
@ArcturusZhang

Description

@ArcturusZhang

Library name

Azure.Core

Please describe the feature.

The constructor of ResourceType throws exception when the input string does not have a valid format for arm resource type, but it does not give us a method to check if the input type is valid.
Introducing Parse and TryParse method should solve this, just like what we have done for ResourceIdentifier: #32039

Metadata

Metadata

Labels

Azure.CoreMgmtThis issue is related to a management-plane library.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions