你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

Resource 类

定义

资源模型定义。

public class Resource : Microsoft.Rest.Azure.IResource
type Resource = class
    interface IResource
Public Class Resource
Implements IResource
继承
Resource
派生
实现

构造函数

Resource()

初始化 Resource 类的新实例。

Resource(String, String, String, String, IDictionary<String,String>, String)

初始化 Resource 类的新实例。

属性

Etag

获取 azure 资源 etag。

Id

获取 Azure 资源标识符。

Location

获取或设置 Azure 资源位置。

Name

获取 Azure 资源名称。

Tags

获取或设置 Azure 资源标记。

Type

获取 azure 资源类型。

方法

Validate()

验证 对象。

适用于