Udostępnij za pośrednictwem


Resource Class

Definition

The core properties of ARM resources

public class Resource : Microsoft.Rest.Azure.IResource
type Resource = class
    interface IResource
Public Class Resource
Implements IResource
Inheritance
Resource
Derived
Implements

Constructors

Resource()

Initializes a new instance of the Resource class.

Resource(String, String, String)

Initializes a new instance of the Resource class.

Properties

Id

Gets or sets fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/trafficManagerProfiles/{resourceName}

Name

Gets or sets the name of the resource

Type

Gets or sets the type of the resource. Ex- Microsoft.Network/trafficManagerProfiles.

Applies to