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

SourceControl interface

表示 Azure Security Insights 中的 SourceControl。

扩展

属性

contentTypes

源代码管理内容类型的数组。

description

源代码管理的说明

displayName

源代码管理的显示名称

idPropertiesId

源代码管理 ID (Guid)

lastDeploymentInfo

有关源代码管理的最新部署的信息。

repository

存储库元数据。

repositoryResourceInfo

有关在用户存储库中创建的资源的信息。

repoType

源代码管理的存储库类型

version

与源代码管理关联的版本号

继承属性

etag

Azure 资源的 Etag

id

资源的完全限定资源 ID。 Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} 注意:此属性不会序列化。 它只能由服务器填充。

name

资源说明的名称:此属性不会序列化。 它只能由服务器填充。

systemData

包含 createdBy 和 modifiedBy 信息的 Azure 资源管理器元数据。 注意:此属性不会序列化。 它只能由服务器填充。

type

资源的类型。 例如“Microsoft.Compute/virtualMachines”或“Microsoft.Storage/storageAccounts”注意:此属性不会序列化。 它只能由服务器填充。

属性详细信息

contentTypes

源代码管理内容类型的数组。

contentTypes?: string[]

属性值

string[]

description

源代码管理的说明

description?: string

属性值

string

displayName

源代码管理的显示名称

displayName?: string

属性值

string

idPropertiesId

源代码管理 ID (Guid)

idPropertiesId?: string

属性值

string

lastDeploymentInfo

有关源代码管理的最新部署的信息。

lastDeploymentInfo?: DeploymentInfo

属性值

repository

存储库元数据。

repository?: Repository

属性值

repositoryResourceInfo

有关在用户存储库中创建的资源的信息。

repositoryResourceInfo?: RepositoryResourceInfo

属性值

repoType

源代码管理的存储库类型

repoType?: string

属性值

string

version

与源代码管理关联的版本号

version?: string

属性值

string

继承属性详细信息

etag

Azure 资源的 Etag

etag?: string

属性值

string

继承自ResourceWithEtag.etag

id

资源的完全限定资源 ID。 Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} 注意:此属性不会序列化。 它只能由服务器填充。

id?: string

属性值

string

继承自 ResourceWithEtag.id

name

资源说明的名称:此属性不会序列化。 它只能由服务器填充。

name?: string

属性值

string

继承自 ResourceWithEtag.name

systemData

包含 createdBy 和 modifiedBy 信息的 Azure 资源管理器元数据。 注意:此属性不会序列化。 它只能由服务器填充。

systemData?: SystemData

属性值

继承自ResourceWithEtag.systemData

type

资源的类型。 例如“Microsoft.Compute/virtualMachines”或“Microsoft.Storage/storageAccounts”注意:此属性不会序列化。 它只能由服务器填充。

type?: string

属性值

string

继承自ResourceWithEtag.type