Table of Contents

Class SubResource

Namespace
Azure.ResourceManager.Resources.Models
Assembly
Azure.ResourceManager.dll

A class representing a sub-resource that contains only the read-only ID.

[JsonConverter(typeof(SubResource.SubResourceConverter))]
public class SubResource : IJsonModel<SubResource>, IPersistableModel<SubResource>
Inheritance
SubResource
Implements
IJsonModel<SubResource>
IPersistableModel<SubResource>
Inherited Members

Constructors

SubResource()

Initializes an empty instance of SubResource for mocking.

public SubResource()

SubResource(ResourceIdentifier)

Initializes a new instance of SubResource.

protected SubResource(ResourceIdentifier id)

Parameters

id ResourceIdentifier

ARM resource Id.

Properties

Id

Gets the ARM resource identifier.

public virtual ResourceIdentifier Id { get; }

Property Value

ResourceIdentifier