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

Environment class

构造函数

Environment(EnvironmentParameters)

属性

activeDirectoryEndpointUrl

Active Directory 登录终结点。

activeDirectoryGraphApiVersion

Active Directory API 版本。

activeDirectoryGraphResourceId

Active Directory 资源 ID。

activeDirectoryResourceId

用于为 (令牌受众获取 AD 令牌的资源 ID) 。

AzureCloud
azureDataLakeAnalyticsCatalogAndJobEndpointSuffix

Data Lake Analytics 作业和目录服务 dns 后缀。

azureDataLakeStoreFileSystemEndpointSuffix

data lake store 文件系统服务 dns 后缀。

batchResourceId

批处理资源 ID。

ChinaCloud
galleryEndpointUrl

模板库终结点。

GermanCloud
keyVaultDnsSuffix

keyvault 服务 dns 后缀。

managementEndpointUrl

管理服务终结点。

name

环境名称。

portalUrl

管理门户 URL。

publishingProfileUrl

发布设置文件 URL。

resourceManagerEndpointUrl

资源管理终结点。

sqlManagementEndpointUrl

移动命令的 sql Server 管理终结点。

sqlServerHostnameSuffix

sql 服务器的 dns 后缀。

storageEndpointSuffix

存储帐户的终结点后缀。

USGovernment
validateAuthority

确定是否应使用 Azure AD 验证身份验证终结点。 默认值为 true。

方法

add(EnvironmentParameters)
get(string)

构造函数详细信息

Environment(EnvironmentParameters)

new Environment(parameters: EnvironmentParameters)

参数

属性详细信息

activeDirectoryEndpointUrl

Active Directory 登录终结点。

activeDirectoryEndpointUrl: string

属性值

string

activeDirectoryGraphApiVersion

Active Directory API 版本。

activeDirectoryGraphApiVersion?: string

属性值

string

activeDirectoryGraphResourceId

Active Directory 资源 ID。

activeDirectoryGraphResourceId?: string

属性值

string

activeDirectoryResourceId

用于为 (令牌受众获取 AD 令牌的资源 ID) 。

activeDirectoryResourceId: string

属性值

string

AzureCloud

static AzureCloud: { activeDirectoryEndpointUrl: string, activeDirectoryGraphApiVersion: string, activeDirectoryGraphResourceId: string, activeDirectoryResourceId: string, azureDataLakeAnalyticsCatalogAndJobEndpointSuffix: string, azureDataLakeStoreFileSystemEndpointSuffix: string, batchResourceId: string, galleryEndpointUrl: string, keyVaultDnsSuffix: string, managementEndpointUrl: string, name: string, portalUrl: string, publishingProfileUrl: string, resourceManagerEndpointUrl: string, sqlManagementEndpointUrl: string, sqlServerHostnameSuffix: string, storageEndpointSuffix: string, validateAuthority: boolean }

属性值

{ activeDirectoryEndpointUrl: string, activeDirectoryGraphApiVersion: string, activeDirectoryGraphResourceId: string, activeDirectoryResourceId: string, azureDataLakeAnalyticsCatalogAndJobEndpointSuffix: string, azureDataLakeStoreFileSystemEndpointSuffix: string, batchResourceId: string, galleryEndpointUrl: string, keyVaultDnsSuffix: string, managementEndpointUrl: string, name: string, portalUrl: string, publishingProfileUrl: string, resourceManagerEndpointUrl: string, sqlManagementEndpointUrl: string, sqlServerHostnameSuffix: string, storageEndpointSuffix: string, validateAuthority: boolean }

azureDataLakeAnalyticsCatalogAndJobEndpointSuffix

Data Lake Analytics 作业和目录服务 dns 后缀。

azureDataLakeAnalyticsCatalogAndJobEndpointSuffix?: string

属性值

string

azureDataLakeStoreFileSystemEndpointSuffix

data lake store 文件系统服务 dns 后缀。

azureDataLakeStoreFileSystemEndpointSuffix?: string

属性值

string

batchResourceId

批处理资源 ID。

batchResourceId?: string

属性值

string

ChinaCloud

static ChinaCloud: { activeDirectoryEndpointUrl: string, activeDirectoryGraphApiVersion: string, activeDirectoryGraphResourceId: string, activeDirectoryResourceId: string, azureDataLakeAnalyticsCatalogAndJobEndpointSuffix: string, azureDataLakeStoreFileSystemEndpointSuffix: string, batchResourceId: string, galleryEndpointUrl: string, keyVaultDnsSuffix: string, managementEndpointUrl: string, name: string, portalUrl: string, publishingProfileUrl: string, resourceManagerEndpointUrl: string, sqlManagementEndpointUrl: string, sqlServerHostnameSuffix: string, storageEndpointSuffix: string, validateAuthority: boolean }

属性值

{ activeDirectoryEndpointUrl: string, activeDirectoryGraphApiVersion: string, activeDirectoryGraphResourceId: string, activeDirectoryResourceId: string, azureDataLakeAnalyticsCatalogAndJobEndpointSuffix: string, azureDataLakeStoreFileSystemEndpointSuffix: string, batchResourceId: string, galleryEndpointUrl: string, keyVaultDnsSuffix: string, managementEndpointUrl: string, name: string, portalUrl: string, publishingProfileUrl: string, resourceManagerEndpointUrl: string, sqlManagementEndpointUrl: string, sqlServerHostnameSuffix: string, storageEndpointSuffix: string, validateAuthority: boolean }

galleryEndpointUrl

模板库终结点。

galleryEndpointUrl?: string

属性值

string

GermanCloud

static GermanCloud: { activeDirectoryEndpointUrl: string, activeDirectoryGraphApiVersion: string, activeDirectoryGraphResourceId: string, activeDirectoryResourceId: string, azureDataLakeAnalyticsCatalogAndJobEndpointSuffix: string, azureDataLakeStoreFileSystemEndpointSuffix: string, batchResourceId: string, galleryEndpointUrl: string, keyVaultDnsSuffix: string, managementEndpointUrl: string, name: string, portalUrl: string, publishingProfileUrl: string, resourceManagerEndpointUrl: string, sqlManagementEndpointUrl: string, sqlServerHostnameSuffix: string, storageEndpointSuffix: string, validateAuthority: boolean }

属性值

{ activeDirectoryEndpointUrl: string, activeDirectoryGraphApiVersion: string, activeDirectoryGraphResourceId: string, activeDirectoryResourceId: string, azureDataLakeAnalyticsCatalogAndJobEndpointSuffix: string, azureDataLakeStoreFileSystemEndpointSuffix: string, batchResourceId: string, galleryEndpointUrl: string, keyVaultDnsSuffix: string, managementEndpointUrl: string, name: string, portalUrl: string, publishingProfileUrl: string, resourceManagerEndpointUrl: string, sqlManagementEndpointUrl: string, sqlServerHostnameSuffix: string, storageEndpointSuffix: string, validateAuthority: boolean }

keyVaultDnsSuffix

keyvault 服务 dns 后缀。

keyVaultDnsSuffix?: string

属性值

string

managementEndpointUrl

管理服务终结点。

managementEndpointUrl: string

属性值

string

name

环境名称。

name: string

属性值

string

portalUrl

管理门户 URL。

portalUrl: string

属性值

string

publishingProfileUrl

发布设置文件 URL。

publishingProfileUrl?: string

属性值

string

resourceManagerEndpointUrl

资源管理终结点。

resourceManagerEndpointUrl: string

属性值

string

sqlManagementEndpointUrl

移动命令的 sql Server 管理终结点。

sqlManagementEndpointUrl?: string

属性值

string

sqlServerHostnameSuffix

sql 服务器的 dns 后缀。

sqlServerHostnameSuffix?: string

属性值

string

storageEndpointSuffix

存储帐户的终结点后缀。

storageEndpointSuffix?: string

属性值

string

USGovernment

static USGovernment: { activeDirectoryEndpointUrl: string, activeDirectoryGraphApiVersion: string, activeDirectoryGraphResourceId: string, activeDirectoryResourceId: string, azureDataLakeAnalyticsCatalogAndJobEndpointSuffix: string, azureDataLakeStoreFileSystemEndpointSuffix: string, batchResourceId: string, galleryEndpointUrl: string, keyVaultDnsSuffix: string, managementEndpointUrl: string, name: string, portalUrl: string, publishingProfileUrl: string, resourceManagerEndpointUrl: string, sqlManagementEndpointUrl: string, sqlServerHostnameSuffix: string, storageEndpointSuffix: string, validateAuthority: boolean }

属性值

{ activeDirectoryEndpointUrl: string, activeDirectoryGraphApiVersion: string, activeDirectoryGraphResourceId: string, activeDirectoryResourceId: string, azureDataLakeAnalyticsCatalogAndJobEndpointSuffix: string, azureDataLakeStoreFileSystemEndpointSuffix: string, batchResourceId: string, galleryEndpointUrl: string, keyVaultDnsSuffix: string, managementEndpointUrl: string, name: string, portalUrl: string, publishingProfileUrl: string, resourceManagerEndpointUrl: string, sqlManagementEndpointUrl: string, sqlServerHostnameSuffix: string, storageEndpointSuffix: string, validateAuthority: boolean }

validateAuthority

确定是否应使用 Azure AD 验证身份验证终结点。 默认值为 true。

validateAuthority: boolean

属性值

boolean

方法详细信息

add(EnvironmentParameters)

static function add(parameters: EnvironmentParameters)

参数

get(string)

static function get(name: string): Environment

参数

name

string

返回