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

GatewayContract 类

定义

网关详细信息。

[Microsoft.Rest.Serialization.JsonTransformation]
public class GatewayContract : Microsoft.Azure.Management.ApiManagement.Models.Resource
[<Microsoft.Rest.Serialization.JsonTransformation>]
type GatewayContract = class
    inherit Resource
Public Class GatewayContract
Inherits Resource
继承
GatewayContract
属性

构造函数

GatewayContract()

初始化 GatewayContract 类的新实例。

GatewayContract(String, String, String, ResourceLocationDataContract, String)

初始化 GatewayContract 类的新实例。

属性

Description

获取或设置网关说明

Id

获取资源的完全限定资源 ID。 例如 - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}

(继承自 Resource)
LocationData

获取或设置网关位置。

Name

获取资源的名称

(继承自 Resource)
Type

获取资源的类型。 例如“Microsoft.Compute/virtualMachines”或“Microsoft.Storage/storageAccounts”

(继承自 Resource)

方法

Validate()

验证 对象。

适用于