Partager via

服务模型 XML 架构元素

AddRemoveIncrementalNamedPartitionScalingMechanism 元素

定义用于添加或删除命名分区的机制。

Attribute 价值
类型 anonymous complexType
内容 0 元素(s)、3 个属性(s)
定义 ScalingPolicyMechanismGroup 组中本地
名字 AddRemoveIncrementalNamedPartitionScalingMechanism
minOccurs 0
maxOccurs 1

XML 源

<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="AddRemoveIncrementalNamedPartitionScalingMechanism" minOccurs="0" maxOccurs="1">
                <xs:annotation>
                    <xs:documentation>Defines a mechanism for adding or removing named partitions.</xs:documentation>
                </xs:annotation>
                <xs:complexType>
                    <xs:attribute name="MinPartitionCount" type="xs:string" use="required">
                        <xs:annotation>
                            <xs:documentation>The minimum number of partitions.</xs:documentation>
                        </xs:annotation>
                    </xs:attribute>
                    <xs:attribute name="MaxPartitionCount" type="xs:string" use="required">
                        <xs:annotation>
                            <xs:documentation>The maximum number of partitions.</xs:documentation>
                        </xs:annotation>
                    </xs:attribute>
                    <xs:attribute name="ScaleIncrement" type="xs:string" use="required">
                        <xs:annotation>
                            <xs:documentation>The number of partitions by which to perform the upshift/downshift.</xs:documentation>
                        </xs:annotation>
                    </xs:attribute>
                </xs:complexType>
            </xs:element>

属性详细信息

MinPartitionCount

最小分区数。

Attribute 价值
名字 MinPartitionCount
类型 xs:string
使用 (必需)

MaxPartitionCount

最大分区数。

Attribute 价值
名字 MaxPartitionCount
类型 xs:string
使用 (必需)

ScaleIncrement

执行上移/下移的分区数。

Attribute 价值
名字 ScaleIncrement
类型 xs:string
使用 (必需)

应用程序元素

应用程序实例特定信息,例如用于创建应用程序的应用程序名称和应用程序参数值。 此文件中的参数值替代应用程序清单中定义的默认参数值。

Attribute 价值
类型 AppInstanceDefinitionType
内容 0 元素(s)、0 特性(s)
定义 全球
名字 应用程序

XML 源

<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="Application" type="AppInstanceDefinitionType">
                <xs:annotation>
                        <xs:documentation>Application Instance specific information like application name and application parameter values used to create application. Parameter values in this file overrides the default parameter values defined in Application Manifest.</xs:documentation>
                </xs:annotation>
        </xs:element>

ApplicationEndpoints 元素

Attribute 价值
类型 anonymous complexType
内容 0 元素(s)、2 个特性(s)
定义 FabricEndpointsType complexType 本地
名字 ApplicationEndpoints
minOccurs 0

XML 源

<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="ApplicationEndpoints" minOccurs="0">
        <xs:complexType>
          <xs:attribute name="StartPort" type="xs:int" use="required"/>
          <xs:attribute name="EndPort" type="xs:int" use="required"/>
        </xs:complexType>
      </xs:element>

属性详细信息

StartPort

Attribute 价值
名字 StartPort
类型 xs:int
使用 (必需)

EndPort

Attribute 价值
名字 EndPort
类型 xs:int
使用 (必需)

ApplicationInstance 元素

描述 Azure Service Fabric 应用程序的实例。

Attribute 价值
类型 ApplicationInstanceType
内容 0 元素(s)、0 特性(s)
定义 全球
名字 ApplicationInstance

XML 源

<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="ApplicationInstance" type="ApplicationInstanceType">
    <xs:annotation>
      <xs:documentation>Describes an instance of a Azure Service Fabric application.</xs:documentation>
    </xs:annotation>
  </xs:element>

ApplicationManifest 元素

以声明方式描述应用程序类型和版本。 引用构成服务的一个或多个服务清单来构成应用程序类型。 可以使用参数化应用程序设置重写构成服务的配置设置。 默认服务、服务模板、主体、策略、诊断设置和证书也可以在应用程序级别声明。

Attribute 价值
类型 ApplicationManifestType
内容 0 元素(s)、0 特性(s)
定义 全球
名字 ApplicationManifest

XML 源

<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="ApplicationManifest" type="ApplicationManifestType"/>

ApplicationPackage 元素

ApplicationPackage 表示节点所需的版本控制的应用程序信息。

Attribute 价值
类型 ApplicationPackageType
内容 0 元素(s)、0 特性(s)
定义 全球
名字 ApplicationPackage

XML 源

<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="ApplicationPackage" type="ApplicationPackageType">
    <xs:annotation>
      <xs:documentation>ApplicationPackage represents the versioned Application information required by the node.</xs:documentation>
    </xs:annotation>
  </xs:element>

ApplicationPackageRef 元素

Attribute 价值
类型 anonymous complexType
内容 0 元素(s)、0 特性(s)
定义 ApplicationInstanceType complexType 本地
名字 ApplicationPackageRef

XML 源

<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="ApplicationPackageRef">
        <xs:complexType>
          <xs:attributeGroup ref="VersionedItemAttrGroup"/>
        </xs:complexType>
      </xs:element>

Arguments 元素

Attribute 价值
类型 xs:string
内容 0 元素(s)、0 特性(s)
定义 ExeHostEntryPointType complexType 本地
名字 Arguments
minOccurs 0

XML 源

<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="Arguments" type="xs:string" minOccurs="0"/>

AveragePartitionLoadScalingTrigger 元素

根据分区副本的平均负载定义缩放机制。

Attribute 价值
类型 anonymous complexType
内容 0 元素(s)、4 个属性(s)
定义 ScalingPolicyTriggerGroup 组中本地
名字 AveragePartitionLoadScalingTrigger
minOccurs 0
maxOccurs 1

XML 源

<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="AveragePartitionLoadScalingTrigger" minOccurs="0" maxOccurs="1">
                <xs:annotation>
                    <xs:documentation>Defines a scaling mechanism based on the average load of replicas of a partition.</xs:documentation>
                </xs:annotation>
                <xs:complexType>
                    <xs:attribute name="MetricName" type="xs:string" use="required">
                        <xs:annotation>
                            <xs:documentation>The name of metric which should be used for scaling operations.</xs:documentation>
                        </xs:annotation>
                    </xs:attribute>
                    <xs:attribute name="LowerLoadThreshold" type="xs:string" use="required">
                        <xs:annotation>
                            <xs:documentation>The lower limit of the load value of a metric.</xs:documentation>
                        </xs:annotation>
                    </xs:attribute>
                    <xs:attribute name="UpperLoadThreshold" type="xs:string" use="required">
                        <xs:annotation>
                            <xs:documentation>The upper limit of the load value of a metric.</xs:documentation>
                        </xs:annotation>
                    </xs:attribute>
                    <xs:attribute name="ScaleIntervalInSeconds" type="xs:string" use="required">
                        <xs:annotation>
                            <xs:documentation>The time interval in seconds to be considered for scaling.</xs:documentation>
                        </xs:annotation>
                    </xs:attribute>
                </xs:complexType>
            </xs:element>

属性详细信息

指标名称

应用于缩放操作的指标的名称。

Attribute 价值
名字 指标名称
类型 xs:string
使用 (必需)

LowerLoadThreshold

指标负载值的下限。

Attribute 价值
名字 LowerLoadThreshold
类型 xs:string
使用 (必需)

UpperLoadThreshold

指标的负载值的上限。

Attribute 价值
名字 UpperLoadThreshold
类型 xs:string
使用 (必需)

ScaleIntervalInSeconds

要考虑缩放的时间间隔(以秒为单位)。

Attribute 价值
名字 ScaleIntervalInSeconds
类型 xs:string
使用 (必需)

AverageServiceLoadScalingTrigger 元素

根据服务分区的平均负载定义缩放机制。

Attribute 价值
类型 anonymous complexType
内容 0 元素(s)、5 个属性(s)
定义 ScalingPolicyTriggerGroup 组中本地
名字 AverageServiceLoadScalingTrigger
minOccurs 0
maxOccurs 1

XML 源

<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="AverageServiceLoadScalingTrigger" minOccurs="0" maxOccurs="1">
                <xs:annotation>
                    <xs:documentation>Defines a scaling mechanism based on the average load of partitions of a service.</xs:documentation>
                </xs:annotation>
                <xs:complexType>
                    <xs:attribute name="MetricName" type="xs:string" use="required">
                        <xs:annotation>
                            <xs:documentation>The name of metric which should be used for scaling operations.</xs:documentation>
                        </xs:annotation>
                    </xs:attribute>
                    <xs:attribute name="LowerLoadThreshold" type="xs:string" use="required">
                        <xs:annotation>
                            <xs:documentation>The lower limit of the load value of a metric.</xs:documentation>
                        </xs:annotation>
                    </xs:attribute>
                    <xs:attribute name="UpperLoadThreshold" type="xs:string" use="required">
                        <xs:annotation>
                            <xs:documentation>The upper limit of the load value of a metric.</xs:documentation>
                        </xs:annotation>
                    </xs:attribute>
                    <xs:attribute name="ScaleIntervalInSeconds" type="xs:string" use="required">
                        <xs:annotation>
                            <xs:documentation>The time interval in seconds to be considered for scaling.</xs:documentation>
                        </xs:annotation>
                    </xs:attribute>
                    <xs:attribute name="UseOnlyPrimaryLoad" type="xs:string" use="optional">
                        <xs:annotation>
                            <xs:documentation>Use load of primary replica as average load of partition.</xs:documentation>
                        </xs:annotation>
                    </xs:attribute>
                </xs:complexType>
            </xs:element>

属性详细信息

指标名称

应用于缩放操作的指标的名称。

Attribute 价值
名字 指标名称
类型 xs:string
使用 (必需)

LowerLoadThreshold

指标负载值的下限。

Attribute 价值
名字 LowerLoadThreshold
类型 xs:string
使用 (必需)

UpperLoadThreshold

指标的负载值的上限。

Attribute 价值
名字 UpperLoadThreshold
类型 xs:string
使用 (必需)

ScaleIntervalInSeconds

要考虑缩放的时间间隔(以秒为单位)。

Attribute 价值
名字 ScaleIntervalInSeconds
类型 xs:string
使用 (必需)

UseOnlyPrimaryLoad

使用主副本的负载作为分区的平均负载。

Attribute 价值
名字 UseOnlyPrimaryLoad
类型 xs:string
使用 optional

AzureBlob 元素(类型为 AzureBlobETWType)

介绍 ETW 事件的 Azure Blob 存储目标。 仅适用于 Azure 环境。

Attribute 价值
类型 AzureBlobETWType
内容 0 元素(s)、0 特性(s)
定义 在 Destinations 元素本地
名字 AzureBlob
minOccurs 0
maxOccurs 无限制

XML 源

<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="AzureBlob" type="AzureBlobETWType" minOccurs="0" maxOccurs="unbounded"/>

AzureBlob 元素(类型为 AzureBlobType)

介绍诊断数据的 Azure Blob 存储目标。 仅适用于 Azure 群集环境。

Attribute 价值
类型 AzureBlobType
内容 0 元素(s)、0 特性(s)
定义 在 Destinations 元素、Destinations 元素本地
名字 AzureBlob
minOccurs 0
maxOccurs 无限制

XML 源

<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="AzureBlob" type="AzureBlobType" minOccurs="0" maxOccurs="unbounded"/>

BackupRestoreServiceReplicatorEndpoint 元素

Attribute 价值
类型 InternalEndpointType
内容 0 元素(s)、0 特性(s)
定义 FabricEndpointsType complexType 本地
名字 BackupRestoreServiceReplicatorEndpoint
minOccurs 0

XML 源

<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="BackupRestoreServiceReplicatorEndpoint" type="InternalEndpointType" minOccurs="0"/>

Blackbird 元素

Attribute 价值
类型 anonymous complexType
内容 1 个元素(s)、0 个属性(s)
定义 在 Infrastructure 元素本地
名字 黑鸟

XML 源

<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="Blackbird">
                                                        <xs:complexType>
                                                                <xs:sequence>
                                                                        <xs:element name="Roles">
                                                                                <xs:complexType>
                                                                                        <xs:sequence>
                                                                                                <xs:element name="Role" type="BlackbirdRoleType" minOccurs="1" maxOccurs="unbounded"/>
                                                                                        </xs:sequence>
                                                                                </xs:complexType>
                                                                        </xs:element>
                                                                </xs:sequence>
                                                        </xs:complexType>
                                                </xs:element>

内容元素详细信息

角色

Attribute 价值
名字 角色

Capacities 元素

此节点类型的各种指标的容量

Attribute 价值
类型 anonymous complexType
内容 1 个元素(s)、0 个属性(s)
定义 在 NodeType 元素本地
名字 能力
minOccurs 0

XML 源

<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="Capacities" minOccurs="0">
                                                                                <xs:annotation>
                                                                                        <xs:documentation>The capacities of various metrics for this node type</xs:documentation>
                                                                                </xs:annotation>
                                                                                <xs:complexType>
                                                                                        <xs:sequence>
                                                                                                <xs:element name="Capacity" type="KeyValuePairType" minOccurs="0" maxOccurs="unbounded"/>
                                                                                        </xs:sequence>
                                                                                </xs:complexType>
                                                                        </xs:element>

内容元素详细信息

容量

Attribute 价值
名字 容量
类型 KeyValuePairType
minOccurs 0
maxOccurs 无限制

Capacity 元素

Attribute 价值
类型 KeyValuePairType
内容 0 元素(s)、0 特性(s)
定义 在 Capacities 元素本地
名字 容量
minOccurs 0
maxOccurs 无限制

XML 源

<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="Capacity" type="KeyValuePairType" minOccurs="0" maxOccurs="unbounded"/>

CentralSecretServiceReplicatorEndpoint 元素

Attribute 价值
类型 InternalEndpointType
内容 0 元素(s)、0 特性(s)
定义 FabricEndpointsType complexType 本地
名字 CentralSecretServiceReplicatorEndpoint
minOccurs 0

XML 源

<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="CentralSecretServiceReplicatorEndpoint" type="InternalEndpointType" minOccurs="0"/>

CertificateRef 元素

指定将公开给容器的证书的信息。

Attribute 价值
类型 ContainerCertificateType
内容 0 元素(s)、0 特性(s)
定义 ContainerHostPoliciesType complexType 本地
名字 CertificateRef
minOccurs 0
maxOccurs 无限制

XML 源

<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="CertificateRef" type="ContainerCertificateType" minOccurs="0" maxOccurs="unbounded">
        <xs:annotation>
          <xs:documentation>Specifies information for a certificate which will be exposed to the container.</xs:documentation>
        </xs:annotation>
      </xs:element>

Certificates 元素(类型 CertificatesType)

描述与此节点类型关联的证书

Attribute 价值
类型 CertificatesType
内容 0 元素(s)、0 特性(s)
定义 在 NodeType 元素、InfrastructureNodeType complexType 本地
名字 证书
minOccurs 0

XML 源

<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="Certificates" type="CertificatesType" minOccurs="0">
                                                                                <xs:annotation>
                                                                                        <xs:documentation>Describe the certificates associated with this node type</xs:documentation>
                                                                                </xs:annotation>
                                                                        </xs:element>

Certificates 元素(在 ApplicationManifestType 中定义)

声明用于保护终结点或加密应用程序清单或群集清单中的机密的证书。

Attribute 价值
类型 anonymous complexType
内容 2 元素(s)、0 特性(s)
定义 ApplicationManifestType complexType 本地
名字 证书
minOccurs 0

XML 源

<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="Certificates" minOccurs="0">
        <xs:annotation>
          <xs:documentation>Declares certificates used to secure endpoints or encrypt secrets within the application manifest or a cluster manifest.</xs:documentation>
        </xs:annotation>
        <xs:complexType>
          <xs:sequence maxOccurs="unbounded">
            <xs:element name="SecretsCertificate" type="FabricCertificateType" minOccurs="0">
              <xs:annotation>
                <xs:documentation>Declares a certificate used to encrypt sensitive information within the application manifest. The application author uses the Invoke-ServiceFabricEncryptSecret cmdlet to encrypt the sensitive information, which is copied to a Parameter in the ConfigOverrides section.</xs:documentation>
              </xs:annotation>
            </xs:element>
            <xs:element name="EndpointCertificate" type="EndpointCertificateType" minOccurs="0"/>
          </xs:sequence>
        </xs:complexType>
      </xs:element>

内容元素详细信息

SecretsCertificate

声明用于加密应用程序清单中的敏感信息的证书。 应用程序作者使用 Invoke-ServiceFabricEncryptSecret cmdlet 加密敏感信息,该敏感信息将复制到 ConfigOverrides 节中的参数。

Attribute 价值
名字 SecretsCertificate
类型 FabricCertificateType
minOccurs 0

EndpointCertificate

Attribute 价值
名字 EndpointCertificate
类型 EndpointCertificateType
minOccurs 0

Certificates 元素(在 ClusterManifestType 中定义)

Attribute 价值
类型 anonymous complexType
内容 1 个元素(s)、0 个属性(s)
定义 ClusterManifestType complexType 本地
名字 证书
minOccurs 0

XML 源

<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="Certificates" minOccurs="0">
                                <xs:complexType>
                                        <xs:sequence>
                                                <xs:element name="SecretsCertificate" type="FabricCertificateType" minOccurs="0"/>
                                        </xs:sequence>
                                </xs:complexType>
                        </xs:element>

内容元素详细信息

SecretsCertificate

Attribute 价值
名字 SecretsCertificate
类型 FabricCertificateType
minOccurs 0

ClientCertificate 元素

用于保护客户端服务器通信的默认管理员角色客户端证书。

Attribute 价值
类型 FabricCertificateType
内容 0 元素(s)、0 特性(s)
定义 CertificatesType complexType 本地
名字 客户端证书
minOccurs 0

XML 源

<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="ClientCertificate" type="FabricCertificateType" minOccurs="0">
        <xs:annotation>
          <xs:documentation>The default admin role client certificate used to secure client server communication.</xs:documentation>
        </xs:annotation>
      </xs:element>

ClientConnectionEndpoint 元素

Attribute 价值
类型 InputEndpointType
内容 0 元素(s)、0 特性(s)
定义 FabricEndpointsType complexType 本地
名字 ClientConnectionEndpoint

XML 源

<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="ClientConnectionEndpoint" type="InputEndpointType"/>

ClusterCertificate 元素

用于保护群集内部通信的证书。

Attribute 价值
类型 FabricCertificateType
内容 0 元素(s)、0 特性(s)
定义 CertificatesType complexType 本地
名字 ClusterCertificate
minOccurs 0

XML 源

<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="ClusterCertificate" type="FabricCertificateType" minOccurs="0">
        <xs:annotation>
          <xs:documentation>The certificate used to secure the intra cluster communication.</xs:documentation>
        </xs:annotation>
      </xs:element>

ClusterConnectionEndpoint 元素

Attribute 价值
类型 InternalEndpointType
内容 0 元素(s)、0 特性(s)
定义 FabricEndpointsType complexType 本地
名字 ClusterConnectionEndpoint

XML 源

<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="ClusterConnectionEndpoint" type="InternalEndpointType"/>

ClusterManagerReplicatorEndpoint 元素

Attribute 价值
类型 InternalEndpointType
内容 0 元素(s)、0 特性(s)
定义 FabricEndpointsType complexType 本地
名字 ClusterManagerReplicatorEndpoint
minOccurs 0

XML 源

<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="ClusterManagerReplicatorEndpoint" type="InternalEndpointType" minOccurs="0"/>

ClusterManifest 元素

介绍 Azure Service Fabric 群集。

Attribute 价值
类型 ClusterManifestType
内容 0 元素(s)、0 特性(s)
定义 全球
名字 ClusterManifest

XML 源

<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="ClusterManifest" type="ClusterManifestType">
                <xs:annotation>
                        <xs:documentation>Describes a Azure Service Fabric Cluster.</xs:documentation>
                </xs:annotation>
        </xs:element>

CodePackage 元素

描述支持定义的服务类型的代码包。 当针对其中一种服务类型实例化服务时,此清单中声明的所有代码包都通过运行入口点来激活。 生成的进程预期会在运行时注册受支持的服务类型。 当有多个代码包时,每当系统查找任何声明的服务类型时,它们都会激活。

Attribute 价值
类型 CodePackageType
内容 0 元素(s)、0 特性(s)
定义 ServiceManifestType complexType、DigestedCodePackage 元素本地
名字 CodePackage
maxOccurs 无限制

XML 源

<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="CodePackage" type="CodePackageType" maxOccurs="unbounded"/>

Commands 元素

将逗号分隔的命令列表传递给容器。

Attribute 价值
类型 xs:string
内容 0 元素(s)、0 特性(s)
定义 ContainerHostEntryPointType complexType 本地
名字 指令
minOccurs 0
maxOccurs 1

XML 源

<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="Commands" type="xs:string" minOccurs="0" maxOccurs="1">
        <xs:annotation>
          <xs:documentation>Pass a comma delimited list of commands to the container.</xs:documentation>
        </xs:annotation>
      </xs:element>

ConfigOverride 元素

描述导入的服务清单中特定配置包的配置替代。

Attribute 价值
类型 ConfigOverrideType
内容 0 元素(s)、0 特性(s)
定义 在 ConfigOverrides 元素、DigestedConfigPackage 元素本地
名字 ConfigOverride
minOccurs 0
maxOccurs 无限制

XML 源

<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="ConfigOverride" type="ConfigOverrideType" minOccurs="0" maxOccurs="unbounded"/>

ConfigOverrides 元素

描述导入的服务清单的配置替代。 配置替代允许在多个应用程序类型之间重用同一服务清单的灵活性,只需在与特定应用程序类型一起使用时才重写服务清单的配置。 只要使用 ConfigPackage 文件夹中 Settings.xml 定义默认配置,配置替代就可以更改服务清单中的任何默认配置。

Attribute 价值
类型 anonymous complexType
内容 1 个元素(s)、0 个属性(s)
定义 在 ServiceManifestImport 元素本地
名字 ConfigOverrides
minOccurs 0

XML 源

<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="ConfigOverrides" minOccurs="0">
              <xs:annotation>
                <xs:documentation>Describes configuration overrides for the imported service manifest. Configuration overrides allow the flexibility of re-using the same service manifests across multiple application types by overriding the service manifest's configuration only when used with a particular application type. Configuration overrides can change any default configuration in a service manifest as long as default configuration is defined using the Settings.xml in the ConfigPackage folder. </xs:documentation>
              </xs:annotation>
              <xs:complexType>
                <xs:sequence>
                  <xs:element name="ConfigOverride" type="ConfigOverrideType" minOccurs="0" maxOccurs="unbounded"/>
                </xs:sequence>
              </xs:complexType>
            </xs:element>

内容元素详细信息

ConfigOverride

Attribute 价值
名字 ConfigOverride
类型 ConfigOverrideType
minOccurs 0
maxOccurs 无限制

ConfigPackage 元素(类型为 ConfigPackageDescriptionType)

声明一个由 Name 属性命名的文件夹,其中包含 Settings.xml 文件。 此文件包含进程可以在运行时读回的用户定义的键值对设置部分。 在升级期间,如果只有 ConfigPackage 版本已更改,则不会重启正在运行的进程。 相反,回调会通知进程配置设置已更改,以便可以动态重新加载这些设置。

Attribute 价值
类型 ConfigPackageDescriptionType
内容 0 元素(s)、0 特性(s)
定义 ConfigPackagePoliciesType complexType 本地
名字 ConfigPackage
minOccurs 0
maxOccurs 无限制

XML 源

<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="ConfigPackage" type="ConfigPackageDescriptionType" minOccurs="0" maxOccurs="unbounded"/>

ConfigPackage 元素(类型为 ConfigPackageType)

声明一个由 Name 属性命名的文件夹,以及包含 Settings.xml 文件的 PackageRoot。 此文件包含进程可以在运行时读回的用户定义的键值对设置部分。 在升级期间,如果只有 ConfigPackage 版本已更改,则不会重启正在运行的进程。 相反,回调会通知进程配置设置已更改,以便可以动态重新加载这些设置。

Attribute 价值
类型 ConfigPackageType
内容 0 元素(s)、0 特性(s)
定义 ServiceManifestType complexType、DigestedConfigPackage 元素本地
名字 ConfigPackage
minOccurs 0
maxOccurs 无限制

XML 源

<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="ConfigPackage" type="ConfigPackageType" minOccurs="0" maxOccurs="unbounded"/>

ConfigPackagePolicies 元素

要装载到容器内的配置包。

Attribute 价值
类型 ConfigPackagePoliciesType
内容 0 元素(s)、0 特性(s)
定义 ServiceManifestImportPoliciesType complexType、DigestedCodePackage 元素本地
名字 ConfigPackagePolicies
minOccurs 0

XML 源

<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="ConfigPackagePolicies" type="ConfigPackagePoliciesType" minOccurs="0">
        <xs:annotation>
          <xs:documentation>Config Packages to be mounted inside the container.</xs:documentation>
        </xs:annotation>
      </xs:element>

ConsoleRedirection 元素

警告! 不要在生产应用程序中使用控制台重定向,只将其用于本地开发和调试。 将控制台输出从启动脚本重定向到部署并运行应用程序的群集节点上名为“log”的应用程序文件夹中的输出文件。

Attribute 价值
类型 anonymous complexType
内容 0 元素(s)、2 个特性(s)
定义 ExeHostEntryPointType complexType 本地
名字 ConsoleRedirection
minOccurs 0

XML 源

<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="ConsoleRedirection" minOccurs="0">
        <xs:annotation>
          <xs:documentation>Warning! Do not use console redirection in a production application, only use it for local development and debugging. Redirects console output from the startup script to an output file in the application folder called "log" on the cluster node where the application is deployed and run.</xs:documentation>
        </xs:annotation>
        <xs:complexType>
          <xs:attribute name="FileRetentionCount" default="2">
            <xs:annotation>
              <xs:documentation>Sets the number of console redirection output files to retain.  Must be a positive integer, the default value is "2".</xs:documentation>
            </xs:annotation>
            <xs:simpleType>
              <xs:restriction base="xs:int">
                <xs:minInclusive value="1"/>
              </xs:restriction>
            </xs:simpleType>
          </xs:attribute>
          <xs:attribute name="FileMaxSizeInKb" default="20480">
            <xs:annotation>
              <xs:documentation>Set the maximum size of a console redirection output file.  Must be a positive integer greater than 128KB, the default value is "20480".</xs:documentation>
            </xs:annotation>
            <xs:simpleType>
              <xs:restriction base="xs:int">
                <xs:minInclusive value="128"/>
              </xs:restriction>
            </xs:simpleType>
          </xs:attribute>
        </xs:complexType>
      </xs:element>

属性详细信息

FileRetentionCount

设置要保留的控制台重定向输出文件数。 必须是正整数,默认值为“2”。

Attribute 价值
名字 FileRetentionCount
默认 2

FileMaxSizeInKb

设置控制台重定向输出文件的最大大小。 必须是大于 128KB 的正整数,默认值为“20480”。

Attribute 价值
名字 FileMaxSizeInKb
默认 20480

ContainerEntryPoint 元素

重写容器的入口点,以便可以启动调试器。

Attribute 价值
类型 xs:string
内容 0 元素(s)、0 特性(s)
定义 DebugParametersType complexType 本地
名字 ContainerEntryPoint
minOccurs 0
maxOccurs 无限制

XML 源

<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="ContainerEntryPoint" type="xs:string" minOccurs="0" maxOccurs="unbounded">
        <xs:annotation>
          <xs:documentation>Overridden entrypoint for containers so debugger can be launched.</xs:documentation>
        </xs:annotation>
      </xs:element>

ContainerEnvironmentBlock 元素

容器的 EnvironmentBlock。

Attribute 价值
类型 xs:string
内容 0 元素(s)、0 特性(s)
定义 DebugParametersType complexType 本地
名字 ContainerEnvironmentBlock
minOccurs 0
maxOccurs 无限制

XML 源

<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="ContainerEnvironmentBlock" type="xs:string" minOccurs="0" maxOccurs="unbounded">
        <xs:annotation>
          <xs:documentation>EnvironmentBlock for containers.</xs:documentation>
        </xs:annotation>
      </xs:element>

ContainerHost 元素

Attribute 价值
类型 ContainerHostEntryPointType
内容 0 元素(s)、0 特性(s)
定义 在 EntryPointDescriptionType complexType 本地
名字 ContainerHost

XML 源

<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="ContainerHost" type="ContainerHostEntryPointType"/>

ContainerHostPolicies 元素

指定用于激活容器主机的策略。

Attribute 价值
类型 ContainerHostPoliciesType
内容 0 元素(s)、0 特性(s)
定义 ServiceManifestImportPoliciesType complexType、DigestedCodePackage 元素本地
名字 ContainerHostPolicies
minOccurs 0

XML 源

<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="ContainerHostPolicies" type="ContainerHostPoliciesType" minOccurs="0">
        <xs:annotation>
          <xs:documentation>Specifies policies for activating container hosts.</xs:documentation>
        </xs:annotation>
      </xs:element>

ContainerLabel 元素

窗体键=value 中容器的标签。

Attribute 价值
类型 xs:string
内容 0 元素(s)、0 特性(s)
定义 DebugParametersType complexType 本地
名字 ContainerLabel
minOccurs 0
maxOccurs 无限制

XML 源

<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="ContainerLabel" type="xs:string" minOccurs="0" maxOccurs="unbounded">
        <xs:annotation>
          <xs:documentation>Labels for containers in form key=value.</xs:documentation>
        </xs:annotation>
      </xs:element>

ContainerMountedVolume 元素

要装载到容器内的卷。

Attribute 价值
类型 xs:string
内容 0 元素(s)、0 特性(s)
定义 DebugParametersType complexType 本地
名字 ContainerMountedVolume
minOccurs 0
maxOccurs 无限制

XML 源

<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="ContainerMountedVolume" type="xs:string" minOccurs="0" maxOccurs="unbounded">
        <xs:annotation>
          <xs:documentation>Volumes to be mounted inside container.</xs:documentation>
        </xs:annotation>
      </xs:element>

ContainerNetworkPolicy 元素

描述服务包的容器网络策略。

Attribute 价值
类型 ContainerNetworkPolicyType
内容 0 元素(s)、0 特性(s)
定义 NetworkPoliciesType complexType 本地
名字 ContainerNetworkPolicy
minOccurs 0
maxOccurs 无限制

XML 源

<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="ContainerNetworkPolicy" type="ContainerNetworkPolicyType" minOccurs="0" maxOccurs="unbounded">
        <xs:annotation>
          <xs:documentation>Describes container network policies for the service package.</xs:documentation>
        </xs:annotation>
      </xs:element>

CrashDumpSource 元素

指定故障转储收集。 为托管属于应用程序的所有服务的代码包的可执行文件收集故障转储。

Attribute 价值
类型 anonymous complexType
内容 2 个元素(s)、1 个属性(s)
定义 DiagnosticsType complexType 本地
名字 CrashDumpSource
minOccurs 0

XML 源

<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="CrashDumpSource" minOccurs="0">
        <xs:annotation>
          <xs:documentation>Specifies crash dump collection. Crash dumps are collected for executables that host the code packages of all services belonging to the application.</xs:documentation>
        </xs:annotation>
        <xs:complexType>
          <xs:sequence>
            <xs:element name="Destinations" minOccurs="0">
              <xs:annotation>
                <xs:documentation>Destinations to which the crash dumps need to be transferred.</xs:documentation>
              </xs:annotation>
              <xs:complexType>
                <xs:sequence>
                  <xs:element name="LocalStore" type="LocalStoreType" minOccurs="0" maxOccurs="unbounded"/>
                  <xs:element name="FileStore" type="FileStoreType" minOccurs="0" maxOccurs="unbounded"/>
                  <xs:element name="AzureBlob" type="AzureBlobType" minOccurs="0" maxOccurs="unbounded"/>
                </xs:sequence>
              </xs:complexType>
            </xs:element>
            <xs:element ref="Parameters" minOccurs="0" maxOccurs="1"/>
          </xs:sequence>
          <xs:attribute name="IsEnabled" type="xs:string">
            <xs:annotation>
              <xs:documentation>Whether or not crash dump collection is enabled. By default, it is not enabled.</xs:documentation>
            </xs:annotation>
          </xs:attribute>
        </xs:complexType>
      </xs:element>

属性详细信息

已启用

是否启用故障转储收集。 默认情况下,它未启用。

Attribute 价值
名字 已启用
类型 xs:string

内容元素详细信息

Destinations

需要将故障转储传输到的目标。

Attribute 价值
名字 Destinations
minOccurs 0

没有

Attribute 价值
参考 参数
minOccurs 0
maxOccurs 1

CurrentInstallation 元素

Attribute 价值
类型 WindowsFabricDeploymentInformation
内容 0 元素(s)、0 特性(s)
定义 TargetInformationType complexType 本地
名字 CurrentInstallation
minOccurs 0

XML 源

<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="CurrentInstallation" type="WindowsFabricDeploymentInformation" minOccurs="0"/>

DataPackage 元素

声明由 Name 属性命名的文件夹,该文件夹位于 PackageRoot 下,其中包含进程在运行时要使用的静态数据文件。 升级服务清单中列出的任何数据包时,Service Fabric 将回收主机中指定的所有 EXE 和 DLLHOST,并支持包。

Attribute 价值
类型 DataPackageType
内容 0 元素(s)、0 特性(s)
定义 ServiceManifestType complexType、DigestedDataPackage 元素本地
名字 DataPackage
minOccurs 0
maxOccurs 无限制

XML 源

<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="DataPackage" type="DataPackageType" minOccurs="0" maxOccurs="unbounded"/>

DebugParameters 元素

指定激活 codepackage 时要附加的调试器的信息。

Attribute 价值
类型 DebugParametersType
内容 0 元素(s)、0 特性(s)
定义 在 DigestedCodePackage 元素、DigestedConfigPackage 元素、DigestedDataPackage 元素本地
名字 DebugParameters
minOccurs 0
maxOccurs 1

XML 源

<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="DebugParameters" type="DebugParametersType" minOccurs="0" maxOccurs="1"/>

DefaultReplicatorEndpoint 元素

Attribute 价值
类型 InternalEndpointType
内容 0 元素(s)、0 特性(s)
定义 FabricEndpointsType complexType 本地
名字 DefaultReplicatorEndpoint
minOccurs 0

XML 源

<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="DefaultReplicatorEndpoint" type="InternalEndpointType" minOccurs="0"/>

DefaultRunAsPolicy 元素

为 ServiceManifestImport 节中未定义特定 RunAsPolicy 的所有服务代码包指定默认用户帐户。

Attribute 价值
类型 anonymous complexType
内容 0 元素(s)、1 个属性(s)
定义 ApplicationPoliciesType complexType 本地
名字 DefaultRunAsPolicy
minOccurs 0

XML 源

<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="DefaultRunAsPolicy" minOccurs="0">
                                <xs:annotation>
                                        <xs:documentation>Specify a default user account for all service code packages that don't have a specific RunAsPolicy defined in the ServiceManifestImport section.</xs:documentation>
                                </xs:annotation>
                                <xs:complexType>
                                        <xs:attribute name="UserRef" type="xs:string" use="required">
                                                <xs:annotation>
                                                        <xs:documentation>The user account that the service code packages will run as.  The user account must be declared in the Principals section. Often it is preferable to run the setup entry point using a local system account rather than an administrators account.</xs:documentation>
                                                </xs:annotation>
                                        </xs:attribute>
                                </xs:complexType>
                        </xs:element>

属性详细信息

UserRef

服务代码包将作为其运行方式的用户帐户。 必须在 Principals 节中声明用户帐户。 通常最好使用本地系统帐户而不是管理员帐户运行设置入口点。

Attribute 价值
名字 UserRef
类型 xs:string
使用 (必需)

DefaultServiceTypeHealthPolicy 元素

指定默认服务类型运行状况策略,这将替换应用程序中所有服务类型的默认运行状况策略。

Attribute 价值
类型 ServiceTypeHealthPolicyType
内容 0 元素(s)、0 特性(s)
定义 ApplicationHealthPolicyType complexType 本地
名字 默认服务类型健康策略 (DefaultServiceTypeHealthPolicy)
minOccurs 0

XML 源

<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="DefaultServiceTypeHealthPolicy" type="ServiceTypeHealthPolicyType" minOccurs="0">
        <xs:annotation>
          <xs:documentation>Specifies the default service type health policy, which will replace the default health policy for all service types in the application.</xs:documentation>
        </xs:annotation>
      </xs:element>

DefaultServices 元素

声明每当针对此应用程序类型实例化应用程序时自动创建的服务实例。

Attribute 价值
类型 DefaultServicesType
内容 0 元素(s)、0 特性(s)
定义 ApplicationManifestType complexTypeApplicationInstanceType complexType 本地
名字 DefaultServices
minOccurs 0

XML 源

<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="DefaultServices" type="DefaultServicesType" minOccurs="0">

      </xs:element>

Description 元素

描述此应用程序的文本。

Attribute 价值
类型 xs:string
内容 0 元素(s)、0 特性(s)
定义 ApplicationManifestType complexTypeServiceManifestType complexTypeServicePackageType complexType 本地
名字 说明
minOccurs 0

XML 源

<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="Description" type="xs:string" minOccurs="0">
        <xs:annotation>
          <xs:documentation>Text describing this application.</xs:documentation>
        </xs:annotation>
      </xs:element>

Destinations 元素(在 CrashDumpSource 中定义)

需要将故障转储传输到的目标。

Attribute 价值
类型 anonymous complexType
内容 3 个元素,0 个特性(s)
定义 在 CrashDumpSource 元素本地
名字 Destinations
minOccurs 0

XML 源

<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="Destinations" minOccurs="0">
              <xs:annotation>
                <xs:documentation>Destinations to which the crash dumps need to be transferred.</xs:documentation>
              </xs:annotation>
              <xs:complexType>
                <xs:sequence>
                  <xs:element name="LocalStore" type="LocalStoreType" minOccurs="0" maxOccurs="unbounded"/>
                  <xs:element name="FileStore" type="FileStoreType" minOccurs="0" maxOccurs="unbounded"/>
                  <xs:element name="AzureBlob" type="AzureBlobType" minOccurs="0" maxOccurs="unbounded"/>
                </xs:sequence>
              </xs:complexType>
            </xs:element>

内容元素详细信息

LocalStore

Attribute 价值
名字 LocalStore
类型 LocalStoreType
minOccurs 0
maxOccurs 无限制

FileStore

Attribute 价值
名字 FileStore
类型 FileStoreType
minOccurs 0
maxOccurs 无限制

AzureBlob

Attribute 价值
名字 AzureBlob
类型 AzureBlobType
minOccurs 0
maxOccurs 无限制

Destinations 元素(在 ETWSource 中定义)

需要将故障转储传输到的目标。

Attribute 价值
类型 anonymous complexType
内容 3 个元素,0 个特性(s)
定义 在 ETWSource 元素本地
名字 Destinations
minOccurs 0

XML 源

<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="Destinations" minOccurs="0">
              <xs:annotation>
                <xs:documentation>Destinations to which the crash dumps need to be transferred.</xs:documentation>
              </xs:annotation>
              <xs:complexType>
                <xs:sequence>
                  <xs:element name="LocalStore" type="LocalStoreETWType" minOccurs="0" maxOccurs="unbounded"/>
                  <xs:element name="FileStore" type="FileStoreETWType" minOccurs="0" maxOccurs="unbounded"/>
                  <xs:element name="AzureBlob" type="AzureBlobETWType" minOccurs="0" maxOccurs="unbounded"/>
                </xs:sequence>
              </xs:complexType>
            </xs:element>

内容元素详细信息

LocalStore

Attribute 价值
名字 LocalStore
类型 LocalStoreETWType
minOccurs 0
maxOccurs 无限制

FileStore

Attribute 价值
名字 FileStore
类型 FileStoreETWType
minOccurs 0
maxOccurs 无限制

AzureBlob

Attribute 价值
名字 AzureBlob
类型 AzureBlobETWType
minOccurs 0
maxOccurs 无限制

Destinations 元素(在 FolderSource 中定义)

需要将文件夹内容传输到的目标。

Attribute 价值
类型 anonymous complexType
内容 3 个元素,0 个特性(s)
定义 在 FolderSource 元素本地
名字 Destinations
minOccurs 0

XML 源

<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="Destinations" minOccurs="0">
              <xs:annotation>
                <xs:documentation>Destinations to which the folder contents need to be transferred.</xs:documentation>
              </xs:annotation>
              <xs:complexType>
                <xs:sequence>
                  <xs:element name="LocalStore" type="LocalStoreType" minOccurs="0" maxOccurs="unbounded"/>
                  <xs:element name="FileStore" type="FileStoreType" minOccurs="0" maxOccurs="unbounded"/>
                  <xs:element name="AzureBlob" type="AzureBlobType" minOccurs="0" maxOccurs="unbounded"/>
                </xs:sequence>
              </xs:complexType>
            </xs:element>

内容元素详细信息

LocalStore

Attribute 价值
名字 LocalStore
类型 LocalStoreType
minOccurs 0
maxOccurs 无限制

FileStore

Attribute 价值
名字 FileStore
类型 FileStoreType
minOccurs 0
maxOccurs 无限制

AzureBlob

Attribute 价值
名字 AzureBlob
类型 AzureBlobType
minOccurs 0
maxOccurs 无限制

Diagnostics 元素(类型 DiagnosticsType)

描述应用程序的诊断设置。

Attribute 价值
类型 DiagnosticsType
内容 0 元素(s)、0 特性(s)
定义 ApplicationManifestType complexTypeEnvironmentType complexType 本地
名字 诊断
minOccurs 0

XML 源

<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="Diagnostics" type="DiagnosticsType" minOccurs="0"/>

Diagnostics 元素(类型 ServiceDiagnosticsType)

描述此服务清单组件的诊断设置。

Attribute 价值
类型 ServiceDiagnosticsType
内容 0 元素(s)、0 特性(s)
定义 ServiceManifestType complexTypeServicePackageType complexType 本地
名字 诊断
minOccurs 0

XML 源

<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="Diagnostics" type="ServiceDiagnosticsType" minOccurs="0"/>

DigestedCertificates 元素(在 ApplicationPackageType 中定义)

Attribute 价值
类型 anonymous complexType
内容 2 元素(s)、0 特性(s)
定义 ApplicationPackageType complexType 本地
名字 DigestedCertificates

XML 源

<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="DigestedCertificates">
        <xs:complexType>
          <xs:sequence maxOccurs="unbounded">
            <xs:element name="SecretsCertificate" type="FabricCertificateType" minOccurs="0"/>
            <xs:element name="EndpointCertificate" type="EndpointCertificateType" minOccurs="0"/>
          </xs:sequence>
          <xs:attributeGroup ref="VersionedItemAttrGroup"/>
        </xs:complexType>
      </xs:element>

内容元素详细信息

SecretsCertificate

Attribute 价值
名字 SecretsCertificate
类型 FabricCertificateType
minOccurs 0

EndpointCertificate

Attribute 价值
名字 EndpointCertificate
类型 EndpointCertificateType
minOccurs 0

DigestedCertificates 元素(在 DigestedResources 中定义)

Attribute 价值
类型 anonymous complexType
内容 1 个元素(s)、0 个属性(s)
定义 在 DigestedResources 元素本地
名字 DigestedCertificates
minOccurs 0
maxOccurs 1

XML 源

<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="DigestedCertificates" minOccurs="0" maxOccurs="1">
              <xs:complexType>
                <xs:sequence>
                  <xs:element name="EndpointCertificate" type="EndpointCertificateType" minOccurs="0" maxOccurs="unbounded"/>
                </xs:sequence>
              </xs:complexType>
            </xs:element>

内容元素详细信息

EndpointCertificate

Attribute 价值
名字 EndpointCertificate
类型 EndpointCertificateType
minOccurs 0
maxOccurs 无限制

DigestedCodePackage 元素

Attribute 价值
类型 anonymous complexType
内容 6 个元素(s)、2 个属性(s)
定义 ServicePackageType complexType 本地
名字 DigestedCodePackage
maxOccurs 无限制

XML 源

<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="DigestedCodePackage" maxOccurs="unbounded">
        <xs:complexType>
          <xs:sequence>
            <xs:element name="CodePackage" type="CodePackageType"/>
            <xs:element name="RunAsPolicy" type="RunAsPolicyType" minOccurs="0" maxOccurs="2"/>
            <xs:element name="DebugParameters" type="DebugParametersType" minOccurs="0" maxOccurs="1"/>
            <xs:element name="ContainerHostPolicies" type="ContainerHostPoliciesType" minOccurs="0">
              <xs:annotation>
                <xs:documentation>Specifies policies for activating container hosts.</xs:documentation>
              </xs:annotation>
            </xs:element>
            <xs:element name="ResourceGovernancePolicy" type="ResourceGovernancePolicyType" minOccurs="0">
              <xs:annotation>
                <xs:documentation>Specifies resource limits for codepackage.</xs:documentation>
              </xs:annotation>
            </xs:element>
            <xs:element name="ConfigPackagePolicies" type="ConfigPackagePoliciesType" minOccurs="0">
              <xs:annotation>
                <xs:documentation>Specifies config policies for mounts.</xs:documentation>
              </xs:annotation>
            </xs:element>
          </xs:sequence>
          <xs:attributeGroup ref="VersionedItemAttrGroup"/>
          <xs:attribute name="ContentChecksum" type="xs:string"/>
          <xs:attribute name="IsShared" type="xs:boolean"/>
        </xs:complexType>
      </xs:element>

属性详细信息

ContentChecksum

Attribute 价值
名字 ContentChecksum
类型 xs:string

IsShared

Attribute 价值
名字 IsShared
类型 xs:boolean

内容元素详细信息

CodePackage

Attribute 价值
名字 CodePackage
类型 CodePackageType

RunAsPolicy

Attribute 价值
名字 RunAsPolicy
类型 RunAsPolicyType
minOccurs 0
maxOccurs 2

DebugParameters

Attribute 价值
名字 DebugParameters
类型 DebugParametersType
minOccurs 0
maxOccurs 1

ContainerHostPolicies

指定用于激活容器主机的策略。

Attribute 价值
名字 ContainerHostPolicies
类型 ContainerHostPoliciesType
minOccurs 0

ResourceGovernancePolicy

指定代码包的资源限制。

Attribute 价值
名字 ResourceGovernancePolicy
类型 ResourceGovernancePolicyType
minOccurs 0

ConfigPackagePolicies

指定装载的配置策略。

Attribute 价值
名字 ConfigPackagePolicies
类型 ConfigPackagePoliciesType
minOccurs 0

DigestedConfigPackage 元素

Attribute 价值
类型 anonymous complexType
内容 3 个元素(s)、2 个属性(s)
定义 ServicePackageType complexType 本地
名字 DigestedConfigPackage
minOccurs 0
maxOccurs 无限制

XML 源

<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="DigestedConfigPackage" minOccurs="0" maxOccurs="unbounded">
        <xs:complexType>
          <xs:sequence>
            <xs:element name="ConfigPackage" type="ConfigPackageType"/>
            <xs:element name="ConfigOverride" type="ConfigOverrideType" minOccurs="0"/>
            <xs:element name="DebugParameters" type="DebugParametersType" minOccurs="0" maxOccurs="1"/>
          </xs:sequence>
          <xs:attributeGroup ref="VersionedItemAttrGroup"/>
          <xs:attribute name="ContentChecksum" type="xs:string"/>
          <xs:attribute name="IsShared" type="xs:boolean"/>
        </xs:complexType>
      </xs:element>

属性详细信息

ContentChecksum

Attribute 价值
名字 ContentChecksum
类型 xs:string

IsShared

Attribute 价值
名字 IsShared
类型 xs:boolean

内容元素详细信息

ConfigPackage

Attribute 价值
名字 ConfigPackage
类型 ConfigPackageType

ConfigOverride

Attribute 价值
名字 ConfigOverride
类型 ConfigOverrideType
minOccurs 0

DebugParameters

Attribute 价值
名字 DebugParameters
类型 DebugParametersType
minOccurs 0
maxOccurs 1

DigestedDataPackage 元素

Attribute 价值
类型 anonymous complexType
内容 2 个元素,2 个特性(s)
定义 ServicePackageType complexType 本地
名字 DigestedDataPackage
minOccurs 0
maxOccurs 无限制

XML 源

<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="DigestedDataPackage" minOccurs="0" maxOccurs="unbounded">
        <xs:complexType>
          <xs:sequence>
            <xs:element name="DataPackage" type="DataPackageType"/>
            <xs:element name="DebugParameters" type="DebugParametersType" minOccurs="0" maxOccurs="1"/>
          </xs:sequence>
          <xs:attributeGroup ref="VersionedItemAttrGroup"/>
          <xs:attribute name="ContentChecksum" type="xs:string"/>
          <xs:attribute name="IsShared" type="xs:boolean"/>
        </xs:complexType>
      </xs:element>

属性详细信息

ContentChecksum

Attribute 价值
名字 ContentChecksum
类型 xs:string

IsShared

Attribute 价值
名字 IsShared
类型 xs:boolean

内容元素详细信息

DataPackage

Attribute 价值
名字 DataPackage
类型 DataPackageType

DebugParameters

Attribute 价值
名字 DebugParameters
类型 DebugParametersType
minOccurs 0
maxOccurs 1

DigestedEndpoint 元素

Attribute 价值
类型 anonymous complexType
内容 4 元素(s)、0 特性(s)
定义 在 DigestedEndpoints 元素本地
名字 DigestedEndpoint
minOccurs 0
maxOccurs 无限制

XML 源

<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="DigestedEndpoint" minOccurs="0" maxOccurs="unbounded">
                    <xs:complexType>
                      <xs:sequence>
                        <xs:element name="Endpoint" type="EndpointType"/>
                        <xs:element name="SecurityAccessPolicy" type="SecurityAccessPolicyType" minOccurs="0"/>
                        <xs:element name="EndpointBindingPolicy" type="EndpointBindingPolicyType" minOccurs="0"/>
                        <xs:element name="ResourceGovernancePolicy" type="ResourceGovernancePolicyType" minOccurs="0" maxOccurs="1"/>
                      </xs:sequence>
                    </xs:complexType>
                  </xs:element>

内容元素详细信息

终结点

Attribute 价值
名字 终结点
类型 EndpointType

SecurityAccessPolicy

Attribute 价值
名字 SecurityAccessPolicy
类型 SecurityAccessPolicyType
minOccurs 0

EndpointBindingPolicy

Attribute 价值
名字 EndpointBindingPolicy
类型 EndpointBindingPolicyType
minOccurs 0

ResourceGovernancePolicy

Attribute 价值
名字 ResourceGovernancePolicy
类型 ResourceGovernancePolicyType
minOccurs 0
maxOccurs 1

DigestedEndpoints 元素

Attribute 价值
类型 anonymous complexType
内容 1 个元素(s)、0 个属性(s)
定义 在 DigestedResources 元素本地
名字 DigestedEndpoints
minOccurs 0

XML 源

<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="DigestedEndpoints" minOccurs="0">
              <xs:complexType>
                <xs:sequence>
                  <xs:element name="DigestedEndpoint" minOccurs="0" maxOccurs="unbounded">
                    <xs:complexType>
                      <xs:sequence>
                        <xs:element name="Endpoint" type="EndpointType"/>
                        <xs:element name="SecurityAccessPolicy" type="SecurityAccessPolicyType" minOccurs="0"/>
                        <xs:element name="EndpointBindingPolicy" type="EndpointBindingPolicyType" minOccurs="0"/>
                        <xs:element name="ResourceGovernancePolicy" type="ResourceGovernancePolicyType" minOccurs="0" maxOccurs="1"/>
                      </xs:sequence>
                    </xs:complexType>
                  </xs:element>
                </xs:sequence>
              </xs:complexType>
            </xs:element>

内容元素详细信息

DigestedEndpoint

Attribute 价值
名字 DigestedEndpoint
minOccurs 0
maxOccurs 无限制

DigestedEnvironment 元素

Attribute 价值
类型 EnvironmentType
内容 0 元素(s)、0 特性(s)
定义 ApplicationPackageType complexType 本地
名字 DigestedEnvironment

XML 源

<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="DigestedEnvironment" type="EnvironmentType"/>

DigestedResources 元素

Attribute 价值
类型 anonymous complexType
内容 2 元素(s)、0 特性(s)
定义 ServicePackageType complexType 本地
名字 DigestedResources
minOccurs 1

XML 源

<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="DigestedResources" minOccurs="1">
        <xs:complexType>
          <xs:sequence>
            <xs:element name="DigestedEndpoints" minOccurs="0">
              <xs:complexType>
                <xs:sequence>
                  <xs:element name="DigestedEndpoint" minOccurs="0" maxOccurs="unbounded">
                    <xs:complexType>
                      <xs:sequence>
                        <xs:element name="Endpoint" type="EndpointType"/>
                        <xs:element name="SecurityAccessPolicy" type="SecurityAccessPolicyType" minOccurs="0"/>
                        <xs:element name="EndpointBindingPolicy" type="EndpointBindingPolicyType" minOccurs="0"/>
                        <xs:element name="ResourceGovernancePolicy" type="ResourceGovernancePolicyType" minOccurs="0" maxOccurs="1"/>
                      </xs:sequence>
                    </xs:complexType>
                  </xs:element>
                </xs:sequence>
              </xs:complexType>
            </xs:element>
            <xs:element name="DigestedCertificates" minOccurs="0" maxOccurs="1">
              <xs:complexType>
                <xs:sequence>
                  <xs:element name="EndpointCertificate" type="EndpointCertificateType" minOccurs="0" maxOccurs="unbounded"/>
                </xs:sequence>
              </xs:complexType>
            </xs:element>
          </xs:sequence>
          <xs:attributeGroup ref="VersionedItemAttrGroup"/>
        </xs:complexType>
      </xs:element>

内容元素详细信息

DigestedEndpoints

Attribute 价值
名字 DigestedEndpoints
minOccurs 0

DigestedCertificates

Attribute 价值
名字 DigestedCertificates
minOccurs 0
maxOccurs 1

DigestedServiceTypes 元素

Attribute 价值
类型 anonymous complexType
内容 1 个元素(s)、0 个属性(s)
定义 ServicePackageType complexType 本地
名字 DigestedServiceTypes

XML 源

<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="DigestedServiceTypes">
        <xs:complexType>
          <xs:sequence>
            <xs:element name="ServiceTypes" type="ServiceTypesType"/>
          </xs:sequence>
          <xs:attributeGroup ref="VersionedItemAttrGroup"/>
        </xs:complexType>
      </xs:element>

内容元素详细信息

ServiceTypes

Attribute 价值
名字 ServiceTypes
类型 ServiceTypesType

DllHost 元素

不支持,请勿使用。 DLL 托管支持(程序集入口点)通过 FWP.exe 过程提供。 Service Fabric 启动 Fabric 辅助角色进程(FWP.exe),并在激活过程中加载程序集。

Attribute 价值
类型 DllHostEntryPointType
内容 0 元素(s)、0 特性(s)
定义 在 EntryPointDescriptionType complexType 本地
名字 DllHost

XML 源

<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="DllHost" type="DllHostEntryPointType"/>

DomainGroup 元素

Attribute 价值
类型 anonymous complexType
内容 0 元素(s)、1 个属性(s)
定义 在 Membership 元素本地
名字 DomainGroup
minOccurs 0
maxOccurs 无限制

XML 源

<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="DomainGroup" minOccurs="0" maxOccurs="unbounded">
                                                    <xs:complexType>
                                                        <xs:attribute name="Name" type="xs:string" use="required"/>
                                                    </xs:complexType>
                                                </xs:element>

属性详细信息

名称

Attribute 价值
名字 名称
类型 xs:string
使用 (必需)

DomainUser 元素

Attribute 价值
类型 anonymous complexType
内容 0 元素(s)、1 个属性(s)
定义 在 Membership 元素本地
名字 DomainUser
minOccurs 0
maxOccurs 无限制

XML 源

<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="DomainUser" minOccurs="0" maxOccurs="unbounded">
                                                    <xs:complexType>
                                                        <xs:attribute name="Name" type="xs:string" use="required"/>
                                                    </xs:complexType>
                                                </xs:element>

属性详细信息

名称

Attribute 价值
名字 名称
类型 xs:string
使用 (必需)

DriverOption 元素

要传递给驱动程序的驱动程序选项。

Attribute 价值
类型 DriverOptionType
内容 0 元素(s)、0 特性(s)
定义 ContainerLoggingDriverType complexTypeContainerVolumeType complexType 本地
名字 DriverOption
minOccurs 0
maxOccurs 无限制

XML 源

<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="DriverOption" type="DriverOptionType" minOccurs="0" maxOccurs="unbounded">
              <xs:annotation>
                  <xs:documentation>Driver options to be passed to driver.</xs:documentation>
              </xs:annotation>
          </xs:element>

ETW 元素

描述此服务清单组件的 ETW 设置。

Attribute 价值
类型 anonymous complexType
内容 2 元素(s)、0 特性(s)
定义 ServiceDiagnosticsType complexType 本地
名字 ETW
minOccurs 0

XML 源

<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="ETW" minOccurs="0">
        <xs:annotation>
          <xs:documentation>Describes the ETW settings for the components of this service manifest.</xs:documentation>
        </xs:annotation>
        <xs:complexType>
          <xs:sequence>
            <xs:element name="ProviderGuids" minOccurs="0">
              <xs:annotation>
                <xs:documentation>Lists the ETW provider GUIDs for the components of this service manifest.</xs:documentation>
              </xs:annotation>
              <xs:complexType>
                <xs:sequence>
                  <xs:element name="ProviderGuid" minOccurs="0" maxOccurs="unbounded">
                    <xs:complexType>
                      <xs:attribute name="Value" use="required">
                        <xs:simpleType>
                          <xs:restriction base="xs:string">
                            <xs:pattern value="[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}"/>
                          </xs:restriction>
                        </xs:simpleType>
                      </xs:attribute>
                    </xs:complexType>
                  </xs:element>
                </xs:sequence>
              </xs:complexType>
            </xs:element>
            <xs:element name="ManifestDataPackages" minOccurs="0">
              <xs:annotation>
                <xs:documentation>Lists the data packages containing ETW manifests for the components of this service manifest. The data package containing ETW manifests should not contain any other files. </xs:documentation>
              </xs:annotation>
              <xs:complexType>
                <xs:sequence>
                  <xs:element name="ManifestDataPackage" type="DataPackageType" minOccurs="0" maxOccurs="unbounded"/>
                </xs:sequence>
              </xs:complexType>
            </xs:element>
          </xs:sequence>
        </xs:complexType>
      </xs:element>

内容元素详细信息

ProviderGuids

列出此服务清单的组件的 ETW 提供程序 GUID。

Attribute 价值
名字 ProviderGuids
minOccurs 0

ManifestDataPackages

列出包含此服务清单组件的 ETW 清单的数据包。 包含 ETW 清单的数据包不应包含任何其他文件。

Attribute 价值
名字 ManifestDataPackages
minOccurs 0

ETWSource 元素

指定 ETW 跟踪集合。 将为属于应用程序的所有服务注册的提供程序收集 ETW 跟踪。

Attribute 价值
类型 anonymous complexType
内容 2 个元素(s)、1 个属性(s)
定义 DiagnosticsType complexType 本地
名字 ETWSource
minOccurs 0

XML 源

<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="ETWSource" minOccurs="0">
        <xs:annotation>
          <xs:documentation>Specifies ETW trace collection. ETW traces are collected for the providers that are registered by all services belonging to the application.</xs:documentation>
        </xs:annotation>
        <xs:complexType>
          <xs:sequence>
            <xs:element name="Destinations" minOccurs="0">
              <xs:annotation>
                <xs:documentation>Destinations to which the crash dumps need to be transferred.</xs:documentation>
              </xs:annotation>
              <xs:complexType>
                <xs:sequence>
                  <xs:element name="LocalStore" type="LocalStoreETWType" minOccurs="0" maxOccurs="unbounded"/>
                  <xs:element name="FileStore" type="FileStoreETWType" minOccurs="0" maxOccurs="unbounded"/>
                  <xs:element name="AzureBlob" type="AzureBlobETWType" minOccurs="0" maxOccurs="unbounded"/>
                </xs:sequence>
              </xs:complexType>
            </xs:element>
            <xs:element ref="Parameters" minOccurs="0" maxOccurs="1"/>
          </xs:sequence>
          <xs:attribute name="IsEnabled" type="xs:string">
            <xs:annotation>
              <xs:documentation>Whether or not ETW trace collection is enabled. By default, it is not enabled.</xs:documentation>
            </xs:annotation>
          </xs:attribute>
        </xs:complexType>
      </xs:element>

属性详细信息

已启用

是否启用 ETW 跟踪集合。 默认情况下,它未启用。

Attribute 价值
名字 已启用
类型 xs:string

内容元素详细信息

Destinations

需要将故障转储传输到的目标。

Attribute 价值
名字 Destinations
minOccurs 0

没有

Attribute 价值
参考 参数
minOccurs 0
maxOccurs 1

Endpoint 元素(类型 EndpointOverrideType)

在服务清单中声明的终结点,要重写。

Attribute 价值
类型 EndpointOverrideType
内容 0 元素(s)、0 特性(s)
定义 在 Endpoints 元素本地
名字 终结点
maxOccurs 无限制

XML 源

<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="Endpoint" type="EndpointOverrideType" maxOccurs="unbounded">
              <xs:annotation>
                <xs:documentation>The endpoint, declared in the service manifest, to override.</xs:documentation>
              </xs:annotation>
            </xs:element>

Endpoint 元素(类型 EndpointType)

定义服务的终结点。 可以请求特定端口。 如果未显式指定端口,则会从保留的应用程序端口范围分配端口。 可以在不同的群集节点上运行的服务副本分配不同的端口号,而在同一节点上运行的同一服务的副本共享同一端口。 服务副本可以使用此类端口,以用于各种目的,例如复制或侦听客户端请求。

Attribute 价值
类型 EndpointType
内容 0 元素(s)、0 特性(s)
定义 在 Endpoints 元素、DigestedEndpoint 元素本地
名字 终结点
maxOccurs 无限制

XML 源

<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="Endpoint" type="EndpointType" maxOccurs="unbounded"/>

EndpointBinding 元素

指定应在容器网络上公开的终结点。

Attribute 价值
类型 ContainerNetworkPolicyEndpointBindingType
内容 0 元素(s)、0 特性(s)
定义 ContainerNetworkPolicyType complexType 本地
名字 EndpointBinding
minOccurs 0
maxOccurs 无限制

XML 源

<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="EndpointBinding" type="ContainerNetworkPolicyEndpointBindingType" minOccurs="0" maxOccurs="unbounded">
        <xs:annotation>
          <xs:documentation>Specifies an endpoint that should be exposed on the container network.</xs:documentation>
        </xs:annotation>
      </xs:element>

EndpointBindingPolicy 元素

指定应返回到 HTTPS 终结点的客户端的证书。

Attribute 价值
类型 EndpointBindingPolicyType
内容 0 元素(s)、0 特性(s)
定义 ServiceManifestImportPoliciesType complexType、DigestedEndpoint 元素本地
名字 EndpointBindingPolicy
minOccurs 0

XML 源

<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="EndpointBindingPolicy" type="EndpointBindingPolicyType" minOccurs="0">
        <xs:annotation>
          <xs:documentation>Specifies a certificate that should be returned to a client for an HTTPS endpoint.</xs:documentation>
        </xs:annotation>
      </xs:element>

EndpointCertificate 元素

指定有关用于保护终结点的 X509 证书的信息。

Attribute 价值
类型 EndpointCertificateType
内容 0 元素(s)、0 特性(s)
定义 在 Certificates 元素、DigestedCertificates 元素、DigestedCertificates 元素本地
名字 EndpointCertificate
minOccurs 0

XML 源

<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="EndpointCertificate" type="EndpointCertificateType" minOccurs="0"/>

Endpoints 元素 (type FabricEndpointsType)

描述与此节点类型关联的终结点

Attribute 价值
类型 FabricEndpointsType
内容 0 元素(s)、0 特性(s)
定义 在 NodeType 元素、InfrastructureNodeType complexType 本地
名字 端点
minOccurs 0

XML 源

<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="Endpoints" type="FabricEndpointsType" minOccurs="0">
                                                                                <xs:annotation>
                                                                                        <xs:documentation>Describe the endpoints associated with this node type</xs:documentation>
                                                                                </xs:annotation>
                                                                        </xs:element>

Endpoints 元素(在 ResourceOverridesType 中定义)

要重写的服务终结点。

Attribute 价值
类型 anonymous complexType
内容 1 个元素(s)、0 个属性(s)
定义 ResourceOverridesType complexType 本地
名字 端点
minOccurs 0

XML 源

<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="Endpoints" minOccurs="0">
        <xs:annotation>
          <xs:documentation>The service endpoint(s) to override.</xs:documentation>
        </xs:annotation>
        <xs:complexType>
          <xs:sequence>
            <xs:element name="Endpoint" type="EndpointOverrideType" maxOccurs="unbounded">
              <xs:annotation>
                <xs:documentation>The endpoint, declared in the service manifest, to override.</xs:documentation>
              </xs:annotation>
            </xs:element>
          </xs:sequence>
        </xs:complexType>
      </xs:element>

内容元素详细信息

终结点

在服务清单中声明的终结点,要重写。

Attribute 价值
名字 终结点
类型 EndpointOverrideType
maxOccurs 无限制

Endpoints 元素(在 ResourcesType 中定义)

定义服务的终结点。

Attribute 价值
类型 anonymous complexType
内容 1 个元素(s)、0 个属性(s)
定义 ResourcesType complexType 本地
名字 端点
minOccurs 0

XML 源

<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="Endpoints" minOccurs="0">
        <xs:annotation>
          <xs:documentation>Defines endpoints for the service.</xs:documentation>
        </xs:annotation>
        <xs:complexType>
          <xs:sequence>
            <xs:element name="Endpoint" type="EndpointType" maxOccurs="unbounded"/>
          </xs:sequence>
        </xs:complexType>
      </xs:element>

内容元素详细信息

终结点

Attribute 价值
名字 终结点
类型 EndpointType
maxOccurs 无限制

EntryPoint 元素 (Type EntryPointDescriptionType)

EntryPoint 指定的可执行文件通常是长时间运行的服务主机。 存在单独的设置入口点可避免长时间使用高特权运行服务主机。 EntryPoint 指定的可执行文件在 SetupEntryPoint 成功退出后运行。 如果进程终止或崩溃,则会监视并重新启动(从 SetupEntryPoint 重新开始)。

Attribute 价值
类型 EntryPointDescriptionType
内容 0 元素(s)、0 特性(s)
定义 CodePackageType complexType 本地
名字 EntryPoint
minOccurs 1

XML 源

<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="EntryPoint" type="EntryPointDescriptionType" minOccurs="1"/>

EntryPoint 元素(类型 xs:string)

Attribute 价值
类型 xs:string
内容 0 元素(s)、0 特性(s)
定义 ContainerHostEntryPointType complexType 本地
名字 EntryPoint
minOccurs 0
maxOccurs 1

XML 源

<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="EntryPoint" type="xs:string" minOccurs="0" maxOccurs="1"/>

EnvironmentOverrides 元素

Attribute 价值
类型 EnvironmentOverridesType
内容 0 元素(s)、0 特性(s)
定义 在 ServiceManifestImport 元素本地
名字 EnvironmentOverrides
minOccurs 0
maxOccurs 无限制

XML 源

<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="EnvironmentOverrides" type="EnvironmentOverridesType" minOccurs="0" maxOccurs="unbounded"/>

EnvironmentVariable 元素 (type EnvironmentVariableOverrideType)

环境变量。

Attribute 价值
类型 EnvironmentVariableOverrideType
内容 0 元素(s)、0 特性(s)
定义 EnvironmentOverridesType complexType 本地
名字 环境变量
minOccurs 0
maxOccurs 无限制

XML 源

<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="EnvironmentVariable" type="EnvironmentVariableOverrideType" minOccurs="0" maxOccurs="unbounded">
        <xs:annotation>
          <xs:documentation>Environment variable.</xs:documentation>
        </xs:annotation>
      </xs:element>

EnvironmentVariable 元素 (Type EnvironmentVariableType)

环境变量。

Attribute 价值
类型 EnvironmentVariableType
内容 0 元素(s)、0 特性(s)
定义 EnvironmentVariablesType complexType 本地
名字 环境变量
minOccurs 0
maxOccurs 无限制

XML 源

<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="EnvironmentVariable" type="EnvironmentVariableType" minOccurs="0" maxOccurs="unbounded">
        <xs:annotation>
          <xs:documentation>Environment variable.</xs:documentation>
        </xs:annotation>
      </xs:element>

EnvironmentVariables 元素

将环境变量传递给容器或 exe。

Attribute 价值
类型 EnvironmentVariablesType
内容 0 元素(s)、0 特性(s)
定义 CodePackageType complexType 本地
名字 环境变量
minOccurs 0
maxOccurs 1

XML 源

<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="EnvironmentVariables" type="EnvironmentVariablesType" minOccurs="0" maxOccurs="1"/>

EphemeralEndpoints 元素

Attribute 价值
类型 anonymous complexType
内容 0 元素(s)、2 个特性(s)
定义 FabricEndpointsType complexType 本地
名字 EphemeralEndpoints
minOccurs 0

XML 源

<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="EphemeralEndpoints" minOccurs="0">
        <xs:complexType>
          <xs:attribute name="StartPort" type="xs:int" use="required"/>
          <xs:attribute name="EndPort" type="xs:int" use="required"/>
        </xs:complexType>
      </xs:element>

属性详细信息

StartPort

Attribute 价值
名字 StartPort
类型 xs:int
使用 (必需)

EndPort

Attribute 价值
名字 EndPort
类型 xs:int
使用 (必需)

EventStoreServiceReplicatorEndpoint 元素

Attribute 价值
类型 InternalEndpointType
内容 0 元素(s)、0 特性(s)
定义 FabricEndpointsType complexType 本地
名字 EventStoreServiceReplicatorEndpoint
minOccurs 0

XML 源

<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="EventStoreServiceReplicatorEndpoint" type="InternalEndpointType" minOccurs="0"/>

EvictionPolicy 元素

服务类型的逐出策略扩展。

Attribute 价值
类型 anonymous complexType
内容 1 个元素,2 个特性(s)
定义 全球
名字 EvictionPolicy

XML 源

<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="EvictionPolicy">
    <xs:annotation>
      <xs:documentation>Eviction Policy extension for the Service Type.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:element name="Properties" type="ServiceTypeExtensionPolicyPropertiesType" minOccurs="0"/>
      </xs:sequence>
      <xs:attribute name="Name" type="xs:string" use="required"/>
      <xs:attribute name="Provider" type="xs:string" use="required"/>
    </xs:complexType>
  </xs:element>

属性详细信息

名称

Attribute 价值
名字 名称
类型 xs:string
使用 (必需)

Provider

Attribute 价值
名字 Provider
类型 xs:string
使用 (必需)

内容元素详细信息

属性

Attribute 价值
名字 属性
类型 ServiceTypeExtensionPolicyPropertiesType
minOccurs 0

ExeHost 元素(类型 ExeHostEntryPointType)

Attribute 价值
类型 ExeHostEntryPointType
内容 0 元素(s)、0 特性(s)
定义 在 SetupEntryPoint 元素本地
名字 ExeHost

XML 源

<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="ExeHost" type="ExeHostEntryPointType"/>

ExeHost 元素(在 EntryPointDescriptionType 中定义)

Attribute 价值
类型 anonymous complexType
内容 0 元素(s)、0 特性(s)
定义 在 EntryPointDescriptionType complexType 本地
名字 ExeHost

XML 源

<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="ExeHost">
          <xs:complexType>
            <xs:complexContent>
              <xs:extension base="ExeHostEntryPointType">
                <xs:sequence>
                  <xs:element name="RunFrequency" minOccurs="0">
                    <xs:complexType>
                      <xs:attribute name="IntervalInSeconds" use="required">
                        <xs:simpleType>
                          <xs:restriction base="xs:int">
                            <xs:minInclusive value="0"/>
                            <xs:maxInclusive value="2147483647"/>
                          </xs:restriction>
                        </xs:simpleType>
                      </xs:attribute>
                    </xs:complexType>
                  </xs:element>
                </xs:sequence>
              </xs:extension>
            </xs:complexContent>
          </xs:complexType>
        </xs:element>

Extension 元素

Attribute 价值
类型 anonymous complexType
内容 0 元素(s)、2 个特性(s)
定义 ExtensionsType complexType 本地
名字 扩展
minOccurs 0
maxOccurs 无限制

XML 源

<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="Extension" minOccurs="0" maxOccurs="unbounded">
        <xs:complexType>
          <xs:sequence>
            <xs:any namespace="##other" processContents="lax"/>
          </xs:sequence>
          <xs:attribute name="Name" use="required">
            <xs:simpleType>
              <xs:restriction base="xs:string">
                <xs:minLength value="1"/>
              </xs:restriction>
            </xs:simpleType>
          </xs:attribute>
          <xs:attribute name="GeneratedId" type="xs:string" use="optional"/>
        </xs:complexType>
      </xs:element>

属性详细信息

名称

Attribute 价值
名字 名称
使用 (必需)

GeneratedId

Attribute 价值
名字 GeneratedId
类型 xs:string
使用 optional

Extensions 元素

描述可应用于其他元素的扩展。

Attribute 价值
类型 ExtensionsType
内容 0 元素(s)、0 特性(s)
定义 全球
名字 Extensions

XML 源

<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="Extensions" type="ExtensionsType"/>

FabricSettings 元素

声明要重写的服务清单中的配置设置。 它由一个或多个键值对部分组成。 可以使用 Invoke-ServiceFabricEncryptSecret cmdlet 对参数值进行加密。

Attribute 价值
类型 SettingsOverridesType
内容 0 元素(s)、0 特性(s)
定义 ClusterManifestType complexType 本地
名字 FabricSettings
minOccurs 0

XML 源

<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="FabricSettings" type="SettingsOverridesType" minOccurs="0"/>

FailoverManagerReplicatorEndpoint 元素

Attribute 价值
类型 InternalEndpointType
内容 0 元素(s)、0 特性(s)
定义 FabricEndpointsType complexType 本地
名字 FailoverManagerReplicatorEndpoint
minOccurs 0

XML 源

<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="FailoverManagerReplicatorEndpoint" type="InternalEndpointType" minOccurs="0"/>

FaultAnalysisServiceReplicatorEndpoint 元素

Attribute 价值
类型 InternalEndpointType
内容 0 元素(s)、0 特性(s)
定义 FabricEndpointsType complexType 本地
名字 FaultAnalysisServiceReplicatorEndpoint
minOccurs 0

XML 源

<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="FaultAnalysisServiceReplicatorEndpoint" type="InternalEndpointType" minOccurs="0"/>

FileStore 元素(类型 FileStoreETWType)

描述 ETW 事件的文件存储目标。 仅适用于本地环境。

Attribute 价值
类型 FileStoreETWType
内容 0 元素(s)、0 特性(s)
定义 在 Destinations 元素本地
名字 FileStore
minOccurs 0
maxOccurs 无限制

XML 源

<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="FileStore" type="FileStoreETWType" minOccurs="0" maxOccurs="unbounded"/>

FileStore 元素(类型 FileStoreType)

描述诊断数据的文件存储目标。 仅适用于独立群集环境。

Attribute 价值
类型 FileStoreType
内容 0 元素(s)、0 特性(s)
定义 在 Destinations 元素、Destinations 元素本地
名字 FileStore
minOccurs 0
maxOccurs 无限制

XML 源

<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="FileStore" type="FileStoreType" minOccurs="0" maxOccurs="unbounded"/>

FolderSource 元素

指定本地节点上特定文件夹内容的集合。

Attribute 价值
类型 anonymous complexType
内容 2 个元素(s)、1 个属性(s)
定义 DiagnosticsType complexType 本地
名字 FolderSource
minOccurs 0
maxOccurs 无限制

XML 源

<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="FolderSource" minOccurs="0" maxOccurs="unbounded">
        <xs:annotation>
          <xs:documentation>Specifies the collection of the contents of a particular folder on the local node.</xs:documentation>
        </xs:annotation>
        <xs:complexType>
          <xs:sequence>
            <xs:element name="Destinations" minOccurs="0">
              <xs:annotation>
                <xs:documentation>Destinations to which the folder contents need to be transferred.</xs:documentation>
              </xs:annotation>
              <xs:complexType>
                <xs:sequence>
                  <xs:element name="LocalStore" type="LocalStoreType" minOccurs="0" maxOccurs="unbounded"/>
                  <xs:element name="FileStore" type="FileStoreType" minOccurs="0" maxOccurs="unbounded"/>
                  <xs:element name="AzureBlob" type="AzureBlobType" minOccurs="0" maxOccurs="unbounded"/>
                </xs:sequence>
              </xs:complexType>
            </xs:element>
            <xs:element ref="Parameters" minOccurs="0" maxOccurs="1"/>
          </xs:sequence>
          <xs:attribute name="IsEnabled" type="xs:string">
            <xs:annotation>
              <xs:documentation>Whether or not collection of the contents of this folder is enabled. By default, it is not enabled.</xs:documentation>
            </xs:annotation>
          </xs:attribute>
          <xs:attributeGroup ref="RelativeFolderPath"/>
          <xs:attributeGroup ref="DataDeletionAgeInDays"/>
        </xs:complexType>
      </xs:element>

属性详细信息

已启用

是否启用此文件夹内容的集合。 默认情况下,它未启用。

Attribute 价值
名字 已启用
类型 xs:string

内容元素详细信息

Destinations

需要将文件夹内容传输到的目标。

Attribute 价值
名字 Destinations
minOccurs 0

没有

Attribute 价值
参考 参数
minOccurs 0
maxOccurs 1

FromSource 元素

Attribute 价值
类型 xs:string
内容 0 元素(s)、0 特性(s)
定义 ContainerHostEntryPointType complexType 本地
名字 FromSource
minOccurs 0
maxOccurs 1

XML 源

<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="FromSource" type="xs:string" minOccurs="0" maxOccurs="1"/>

GatewayResourceManagerReplicatorEndpoint 元素

Attribute 价值
类型 InternalEndpointType
内容 0 元素(s)、0 特性(s)
定义 FabricEndpointsType complexType 本地
名字 GatewayResourceManagerReplicatorEndpoint
minOccurs 0

XML 源

<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="GatewayResourceManagerReplicatorEndpoint" type="InternalEndpointType" minOccurs="0"/>

Group 元素(在组中定义)

将组声明为可在策略中引用的安全主体。

Attribute 价值
类型 anonymous complexType
内容 2 个元素(s)、1 个属性(s)
定义 在 Groups 元素本地
名字
maxOccurs 无限制

XML 源

<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="Group" maxOccurs="unbounded">
                            <xs:annotation>
                                <xs:documentation>Declares a group as a security principal, which can be referenced in policies.</xs:documentation>
                            </xs:annotation>
                            <xs:complexType>
                                <xs:sequence>
                                    <xs:element name="NTLMAuthenticationPolicy" minOccurs="0">
                                        <xs:complexType>
                                            <xs:attribute name="IsEnabled" type="xs:boolean" use="optional" default="true"/>
                                        </xs:complexType>
                                    </xs:element>
                                    <xs:element name="Membership" minOccurs="0">
                                        <xs:complexType>
                                            <xs:choice maxOccurs="unbounded">
                                                <xs:element name="DomainGroup" minOccurs="0" maxOccurs="unbounded">
                                                    <xs:complexType>
                                                        <xs:attribute name="Name" type="xs:string" use="required"/>
                                                    </xs:complexType>
                                                </xs:element>
                                                <xs:element name="SystemGroup" minOccurs="0" maxOccurs="unbounded">
                                                    <xs:complexType>
                                                        <xs:attribute name="Name" type="xs:string" use="required"/>
                                                    </xs:complexType>
                                                </xs:element>
                                                <xs:element name="DomainUser" minOccurs="0" maxOccurs="unbounded">
                                                    <xs:complexType>
                                                        <xs:attribute name="Name" type="xs:string" use="required"/>
                                                    </xs:complexType>
                                                </xs:element>
                                            </xs:choice>
                                        </xs:complexType>
                                    </xs:element>
                                </xs:sequence>
                                <xs:attribute name="Name" type="xs:string" use="required">
                                    <xs:annotation>
                                        <xs:documentation>Name of the local group account. The name will be prefixed with the application ID.</xs:documentation>
                                    </xs:annotation>
                                </xs:attribute>
                            </xs:complexType>
                        </xs:element>

属性详细信息

名称

本地组帐户的名称。 名称将带有应用程序 ID 的前缀。

Attribute 价值
名字 名称
类型 xs:string
使用 (必需)

内容元素详细信息

NTLMAuthenticationPolicy

Attribute 价值
名字 NTLMAuthenticationPolicy
minOccurs 0

Membership

Attribute 价值
名字 Membership
minOccurs 0

Group 元素(在 MemberOf 中定义)

要向其添加用户的组。 必须在“组”部分中定义该组。

Attribute 价值
类型 anonymous complexType
内容 0 元素(s)、1 个属性(s)
定义 在 MemberOf 元素本地
名字
minOccurs 0
maxOccurs 无限制

XML 源

<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="Group" minOccurs="0" maxOccurs="unbounded">
                                                                                                        <xs:annotation>
                                                                                                                <xs:documentation>The group to add the user to.  The group must be defined in the Groups section.</xs:documentation>
                                                                                                        </xs:annotation>
                                                                                                        <xs:complexType>
                                                                                                                <xs:attribute name="NameRef" type="xs:string" use="required">
                                                                                                                        <xs:annotation>
                                                                                                                                <xs:documentation>The name of the group.</xs:documentation>
                                                                                                                        </xs:annotation>
                                                                                                                </xs:attribute>
                                                                                                        </xs:complexType>
                                                                                                </xs:element>

属性详细信息

NameRef

组的名称。

Attribute 价值
名字 NameRef
类型 xs:string
使用 (必需)

Groups 元素

将一组组声明为可在策略中引用的安全主体。 如果有多个用户用于不同的服务入口点,并且组级别需要具有某些通用权限,则组非常有用。

Attribute 价值
类型 anonymous complexType
内容 1 个元素(s)、0 个属性(s)
定义 SecurityPrincipalsType complexType 本地
名字 Groups
minOccurs 0

XML 源

<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="Groups" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Declares a set of groups as security principals, which can be referenced in policies. Groups are useful if there are multiple users for different service entry points and they need to have certain common privileges that are available at the group level.</xs:documentation>
                </xs:annotation>
                <xs:complexType>
                    <xs:sequence>
                        <xs:element name="Group" maxOccurs="unbounded">
                            <xs:annotation>
                                <xs:documentation>Declares a group as a security principal, which can be referenced in policies.</xs:documentation>
                            </xs:annotation>
                            <xs:complexType>
                                <xs:sequence>
                                    <xs:element name="NTLMAuthenticationPolicy" minOccurs="0">
                                        <xs:complexType>
                                            <xs:attribute name="IsEnabled" type="xs:boolean" use="optional" default="true"/>
                                        </xs:complexType>
                                    </xs:element>
                                    <xs:element name="Membership" minOccurs="0">
                                        <xs:complexType>
                                            <xs:choice maxOccurs="unbounded">
                                                <xs:element name="DomainGroup" minOccurs="0" maxOccurs="unbounded">
                                                    <xs:complexType>
                                                        <xs:attribute name="Name" type="xs:string" use="required"/>
                                                    </xs:complexType>
                                                </xs:element>
                                                <xs:element name="SystemGroup" minOccurs="0" maxOccurs="unbounded">
                                                    <xs:complexType>
                                                        <xs:attribute name="Name" type="xs:string" use="required"/>
                                                    </xs:complexType>
                                                </xs:element>
                                                <xs:element name="DomainUser" minOccurs="0" maxOccurs="unbounded">
                                                    <xs:complexType>
                                                        <xs:attribute name="Name" type="xs:string" use="required"/>
                                                    </xs:complexType>
                                                </xs:element>
                                            </xs:choice>
                                        </xs:complexType>
                                    </xs:element>
                                </xs:sequence>
                                <xs:attribute name="Name" type="xs:string" use="required">
                                    <xs:annotation>
                                        <xs:documentation>Name of the local group account. The name will be prefixed with the application ID.</xs:documentation>
                                    </xs:annotation>
                                </xs:attribute>
                            </xs:complexType>
                        </xs:element>
                    </xs:sequence>
                </xs:complexType>
            </xs:element>

内容元素详细信息

将组声明为可在策略中引用的安全主体。

Attribute 价值
名字
maxOccurs 无限制

HealthConfig 元素

指定容器的 docker HEALTHCHECK 集成选项。

Attribute 价值
类型 ContainerHealthConfigType
内容 0 元素(s)、0 特性(s)
定义 ContainerHostPoliciesType complexType 本地
名字 HealthConfig
minOccurs 0
maxOccurs 1

XML 源

<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="HealthConfig" type="ContainerHealthConfigType" minOccurs="0" maxOccurs="1">
        <xs:annotation>
          <xs:documentation>Specifies docker HEALTHCHECK integration options for the container.</xs:documentation>
        </xs:annotation>
      </xs:element>

HealthPolicy 元素

描述评估针对各种应用程序相关实体报告的运行状况事件的策略。 如果未指定任何策略,则如果运行状况报告为警告或错误,则假定实体不正常。

Attribute 价值
类型 ApplicationHealthPolicyType
内容 0 元素(s)、0 特性(s)
定义 ApplicationPoliciesType complexType 本地
名字 HealthPolicy
minOccurs 0

XML 源

<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="HealthPolicy" type="ApplicationHealthPolicyType" minOccurs="0"/>

HttpApplicationGatewayEndpoint 元素

Attribute 价值
类型 InputEndpointType
内容 0 元素(s)、0 特性(s)
定义 FabricEndpointsType complexType 本地
名字 HttpApplicationGatewayEndpoint
minOccurs 0

XML 源

<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="HttpApplicationGatewayEndpoint" type="InputEndpointType" minOccurs="0"/>

HttpGatewayEndpoint 元素

Attribute 价值
类型 InputEndpointType
内容 0 元素(s)、0 特性(s)
定义 FabricEndpointsType complexType 本地
名字 HttpGatewayEndpoint
minOccurs 0

XML 源

<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="HttpGatewayEndpoint" type="InputEndpointType" minOccurs="0"/>

图像元素

与要启动的 OS 内部版本号对应的容器映像。 如果未指定 Os 属性,则假定容器映像适用于所有版本的 OS,并覆盖服务清单中指定的映像。

Attribute 价值
类型 ImageType
内容 0 元素(s)、0 特性(s)
定义 ImageOverridesType complexType 本地
名字 图像
minOccurs 0
maxOccurs 无限制

XML 源

<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="Image" type="ImageType" minOccurs="0" maxOccurs="unbounded">
        <xs:annotation>
          <xs:documentation>Container image corresponding to OS build version number to be launched. If the Os attribute is not specified, the container image
            is assumed to work across all versions of the OS and overrides the image specified in the service manifest.</xs:documentation>
        </xs:annotation>
      </xs:element>

ImageName 元素

存储库和映像位于或 Azure 容器注册表上 https://hub.docker.com

Attribute 价值
类型 xs:string
内容 0 元素(s)、0 特性(s)
定义 ContainerHostEntryPointType complexType 本地
名字 图像名称

XML 源

<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="ImageName" type="xs:string">
        <xs:annotation>
          <xs:documentation>The repo and image on https://hub.docker.com or Azure Container Registry.</xs:documentation>
        </xs:annotation>
      </xs:element>

ImageOverrides 元素

与要启动的 OS 内部版本号对应的映像名称。

Attribute 价值
类型 ImageOverridesType
内容 0 元素(s)、0 特性(s)
定义 ContainerHostPoliciesType complexType 本地
名字 ImageOverrides
minOccurs 0
maxOccurs 1

XML 源

<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="ImageOverrides" type="ImageOverridesType" minOccurs="0" maxOccurs="1">
      <xs:annotation>
        <xs:documentation>Image names corresponding to OS build number to be launched.</xs:documentation>
      </xs:annotation>
      </xs:element>

ImageStoreServiceReplicatorEndpoint 元素

Attribute 价值
类型 InternalEndpointType
内容 0 元素(s)、0 特性(s)
定义 FabricEndpointsType complexType 本地
名字 ImageStoreServiceReplicatorEndpoint
minOccurs 0

XML 源

<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="ImageStoreServiceReplicatorEndpoint" type="InternalEndpointType" minOccurs="0"/>

Infrastructure 元素

Attribute 价值
类型 anonymous complexType
内容 6 个元素(s)、0 个属性(s)
定义 ClusterManifestType complexType 本地
名字 基础结构

XML 源

<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="Infrastructure">
                                <xs:complexType>
                                        <xs:choice>
                                                <xs:element name="WindowsServer">
                                                        <xs:complexType>
                                                                <xs:complexContent>
                                                                        <xs:extension base="WindowsInfrastructureType">
                                                                                <xs:attribute name="IsScaleMin" type="xs:boolean" default="false"/>
                                                                        </xs:extension>
                                                                </xs:complexContent>
                                                        </xs:complexType>
                                                </xs:element>
            <xs:element name="Linux">
              <xs:complexType>
                <xs:complexContent>
                  <xs:extension base="LinuxInfrastructureType">
                    <xs:attribute name="IsScaleMin" type="xs:boolean" default="false"/>
                  </xs:extension>
                </xs:complexContent>
              </xs:complexType>
            </xs:element>
                                                <xs:element name="WindowsAzure">
                                                        <xs:complexType>
                                                                <xs:sequence>
                                                                        <xs:element name="Roles">
                                                                                <xs:complexType>
                                                                                        <xs:sequence>
                                                                                                <xs:element name="Role" type="AzureRoleType" maxOccurs="unbounded"/>
                                                                                        </xs:sequence>
                                                                                </xs:complexType>
                                                                        </xs:element>
                                                                </xs:sequence>
                                                        </xs:complexType>
                                                </xs:element>
                                                <xs:element name="WindowsAzureStaticTopology">
                                                        <xs:complexType>
                                                                <xs:complexContent>
                                                                        <xs:extension base="WindowsInfrastructureType"/>
                                                                </xs:complexContent>
                                                        </xs:complexType>
                                                </xs:element>
                                                <xs:element name="Blackbird">
                                                        <xs:complexType>
                                                                <xs:sequence>
                                                                        <xs:element name="Roles">
                                                                                <xs:complexType>
                                                                                        <xs:sequence>
                                                                                                <xs:element name="Role" type="BlackbirdRoleType" minOccurs="1" maxOccurs="unbounded"/>
                                                                                        </xs:sequence>
                                                                                </xs:complexType>
                                                                        </xs:element>
                                                                </xs:sequence>
                                                        </xs:complexType>
                                                </xs:element>
                                                <xs:element name="PaaS">
                                                        <xs:complexType>
                                                                <xs:all>
                                                                        <xs:element name="Roles">
                                                                                <xs:complexType>
                                                                                        <xs:sequence>
                                                                                                <xs:element name="Role" type="PaaSRoleType" maxOccurs="unbounded"/>
                                                                                        </xs:sequence>
                                                                                </xs:complexType>
                                                                        </xs:element>
                                                                        <xs:element name="Votes">
                                                                                <xs:complexType>
                                                                                        <xs:sequence>
                                                                                                <xs:element name="Vote" type="PaaSVoteType" maxOccurs="unbounded"/>
                                                                                        </xs:sequence>
                                                                                </xs:complexType>
                                                                        </xs:element>
                                                                </xs:all>
                                                        </xs:complexType>
                                                </xs:element>
                                        </xs:choice>
                                </xs:complexType>
                        </xs:element>

内容元素详细信息

WindowsServer

Attribute 价值
名字 WindowsServer

Linux

Attribute 价值
名字 Linux

WindowsAzure

Attribute 价值
名字 WindowsAzure

WindowsAzureStaticTopology

Attribute 价值
名字 WindowsAzureStaticTopology

黑鸟

Attribute 价值
名字 黑鸟

PaaS

Attribute 价值
名字 PaaS

InfrastructureInformation 元素

描述需要运行构造的基础结构。

Attribute 价值
类型 InfrastructureInformationType
内容 0 元素(s)、0 特性(s)
定义 全球
名字 InfrastructureInformation

XML 源

<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="InfrastructureInformation" type="InfrastructureInformationType">
                <xs:annotation>
                        <xs:documentation>Describes the infrastructure on which fabric needs to run.</xs:documentation>
                </xs:annotation>
        </xs:element>

InstanceCountScalingMechanism 元素

定义用于增加分区实例计数的机制。 这仅适用于无状态服务。

Attribute 价值
类型 anonymous complexType
内容 0 元素(s)、3 个属性(s)
定义 ScalingPolicyMechanismGroup 组中本地
名字 InstanceCountScalingMechanism
minOccurs 0
maxOccurs 1

XML 源

<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="InstanceCountScalingMechanism" minOccurs="0" maxOccurs="1">
                <xs:annotation>
                    <xs:documentation>Defines a mechanism for increasing the instance count of a partition. This is for stateless services only.</xs:documentation>
                </xs:annotation>
                <xs:complexType>
                    <xs:attribute name="MinInstanceCount" type="xs:string" use="required">
                        <xs:annotation>
                            <xs:documentation>The minimum number of instances.</xs:documentation>
                        </xs:annotation>
                    </xs:attribute>
                    <xs:attribute name="MaxInstanceCount" type="xs:string" use="required">
                        <xs:annotation>
                            <xs:documentation>The maximum number of instances..</xs:documentation>
                        </xs:annotation>
                    </xs:attribute>
                    <xs:attribute name="ScaleIncrement" type="xs:string" use="required">
                        <xs:annotation>
                            <xs:documentation>The number of instances by which to perform the upshift/downshift.</xs:documentation>
                        </xs:annotation>
                    </xs:attribute>
                </xs:complexType>
            </xs:element>

属性详细信息

MinInstanceCount

最小实例数。

Attribute 价值
名字 MinInstanceCount
类型 xs:string
使用 (必需)

MaxInstanceCount

实例的最大数目。

Attribute 价值
名字 MaxInstanceCount
类型 xs:string
使用 (必需)

ScaleIncrement

要执行上移/下移的实例数。

Attribute 价值
名字 ScaleIncrement
类型 xs:string
使用 (必需)

KtlLoggerSettings 元素

描述与此节点类型关联的 KtlLogger 信息

Attribute 价值
类型 FabricKtlLoggerSettingsType
内容 0 元素(s)、0 特性(s)
定义 在 NodeType 元素本地
名字 KtlLoggerSettings
minOccurs 0

XML 源

<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="KtlLoggerSettings" type="FabricKtlLoggerSettingsType" minOccurs="0">
                                                                            <xs:annotation>
                                                                              <xs:documentation>Describe the KtlLogger information associated with this node type</xs:documentation>
                                                                            </xs:annotation>
                                                                          </xs:element>

Label 元素

指定容器的标签。

Attribute 价值
类型 ContainerLabelType
内容 0 元素(s)、0 特性(s)
定义 ContainerHostPoliciesType complexType 本地
名字 标签
minOccurs 0
maxOccurs 无限制

XML 源

<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="Label" type="ContainerLabelType" minOccurs="0" maxOccurs="unbounded">
        <xs:annotation>
            <xs:documentation>Specifies the labels for the container.</xs:documentation>
        </xs:annotation>
      </xs:element>

LeaseDriverEndpoint 元素

Attribute 价值
类型 InternalEndpointType
内容 0 元素(s)、0 特性(s)
定义 FabricEndpointsType complexType 本地
名字 LeaseDriverEndpoint

XML 源

<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="LeaseDriverEndpoint" type="InternalEndpointType"/>

Linux 元素

Attribute 价值
类型 anonymous complexType
内容 0 元素(s)、0 特性(s)
定义 在 Infrastructure 元素本地
名字 Linux

XML 源

<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="Linux">
              <xs:complexType>
                <xs:complexContent>
                  <xs:extension base="LinuxInfrastructureType">
                    <xs:attribute name="IsScaleMin" type="xs:boolean" default="false"/>
                  </xs:extension>
                </xs:complexContent>
              </xs:complexType>
            </xs:element>

LoadMetric 元素

此服务应均衡的资源,例如内存或 CPU 使用率。 包括有关此服务的每个副本或实例默认消耗的资源量的信息。

Attribute 价值
类型 LoadMetricType
内容 0 元素(s)、0 特性(s)
定义 在 LoadMetrics 元素、LoadMetrics 元素、LoadMetrics 元素、LoadMetrics 元素、LoadMetrics 元素本地
名字 LoadMetric
maxOccurs 无限制

XML 源

<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="LoadMetric" type="LoadMetricType" maxOccurs="unbounded"/>

LoadMetrics 元素(在 ServiceGroupMemberType 中定义)

此服务报告的负载指标。

Attribute 价值
类型 anonymous complexType
内容 1 个元素(s)、0 个属性(s)
定义 ServiceGroupMemberType complexType 本地
名字 LoadMetrics
minOccurs 0

XML 源

<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="LoadMetrics" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Load metrics reported by this service.</xs:documentation>
                </xs:annotation>
                <xs:complexType>
                    <xs:sequence>
                        <xs:element name="LoadMetric" type="LoadMetricType" maxOccurs="unbounded"/>
                    </xs:sequence>
                </xs:complexType>
            </xs:element>

内容元素详细信息

LoadMetric

Attribute 价值
名字 LoadMetric
类型 LoadMetricType
maxOccurs 无限制

LoadMetrics 元素(在 ServiceGroupTypeMember 中定义)

此服务报告的负载指标,用于资源均衡服务。

Attribute 价值
类型 anonymous complexType
内容 1 个元素(s)、0 个属性(s)
定义 在 ServiceGroupTypeMember 元素本地
名字 LoadMetrics
minOccurs 0

XML 源

<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="LoadMetrics" minOccurs="0">
          <xs:annotation>
            <xs:documentation>Load metrics reported by this service, used for resource balancing services.</xs:documentation>
          </xs:annotation>
          <xs:complexType>
            <xs:sequence>
              <xs:element name="LoadMetric" type="LoadMetricType" maxOccurs="unbounded"/>
            </xs:sequence>
          </xs:complexType>
        </xs:element>

内容元素详细信息

LoadMetric

Attribute 价值
名字 LoadMetric
类型 LoadMetricType
maxOccurs 无限制

LoadMetrics 元素 (在 ServiceGroupTypeTypeType 中定义)

此服务报告的负载指标。

Attribute 价值
类型 anonymous complexType
内容 1 个元素(s)、0 个属性(s)
定义 ServiceGroupTypeType complexType 本地
名字 LoadMetrics
minOccurs 0

XML 源

<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="LoadMetrics" minOccurs="0">
        <xs:annotation>
          <xs:documentation>Load metrics reported by this service.</xs:documentation>
        </xs:annotation>
        <xs:complexType>
          <xs:sequence>
            <xs:element name="LoadMetric" type="LoadMetricType" maxOccurs="unbounded"/>
          </xs:sequence>
        </xs:complexType>
      </xs:element>

内容元素详细信息

LoadMetric

Attribute 价值
名字 LoadMetric
类型 LoadMetricType
maxOccurs 无限制

LoadMetrics 元素(在 ServiceTypeType 中定义)

此服务报告的负载指标。

Attribute 价值
类型 anonymous complexType
内容 1 个元素(s)、0 个属性(s)
定义 ServiceTypeType complexType 本地
名字 LoadMetrics
minOccurs 0

XML 源

<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="LoadMetrics" minOccurs="0">
        <xs:annotation>
          <xs:documentation>Load metrics reported by this service.</xs:documentation>
        </xs:annotation>
        <xs:complexType>
          <xs:sequence>
            <xs:element name="LoadMetric" type="LoadMetricType" maxOccurs="unbounded"/>
          </xs:sequence>
        </xs:complexType>
      </xs:element>

内容元素详细信息

LoadMetric

Attribute 价值
名字 LoadMetric
类型 LoadMetricType
maxOccurs 无限制

LoadMetrics 元素(在 ServiceType 中定义)

此服务报告的负载指标,用于资源均衡服务。

Attribute 价值
类型 anonymous complexType
内容 1 个元素(s)、0 个属性(s)
定义 ServiceType complexType 本地
名字 LoadMetrics
minOccurs 0

XML 源

<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="LoadMetrics" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Load metrics reported by this service, used for resource balancing services.</xs:documentation>
                </xs:annotation>
                <xs:complexType>
                    <xs:sequence>
                        <xs:element name="LoadMetric" type="LoadMetricType" maxOccurs="unbounded"/>
                    </xs:sequence>
                </xs:complexType>
            </xs:element>

内容元素详细信息

LoadMetric

Attribute 价值
名字 LoadMetric
类型 LoadMetricType
maxOccurs 无限制

LocalStore 元素(类型 LocalStoreETWType)

描述 ETW 事件的节点中的存储目标。

Attribute 价值
类型 LocalStoreETWType
内容 0 元素(s)、0 特性(s)
定义 在 Destinations 元素本地
名字 LocalStore
minOccurs 0
maxOccurs 无限制

XML 源

<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="LocalStore" type="LocalStoreETWType" minOccurs="0" maxOccurs="unbounded"/>

LocalStore 元素(类型 LocalStoreType)

描述诊断数据的节点中的存储目标。

Attribute 价值
类型 LocalStoreType
内容 0 元素(s)、0 特性(s)
定义 在 Destinations 元素、Destinations 元素本地
名字 LocalStore
minOccurs 0
maxOccurs 无限制

XML 源

<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="LocalStore" type="LocalStoreType" minOccurs="0" maxOccurs="unbounded"/>

LogCollectionPolicies 元素

指定是否启用日志收集。 仅适用于 Azure 群集环境

Attribute 价值
类型 anonymous complexType
内容 1 个元素(s)、0 个属性(s)
定义 ApplicationPoliciesType complexType 本地
名字 LogCollectionPolicies
minOccurs 0

XML 源

<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="LogCollectionPolicies" minOccurs="0">
                                <xs:annotation>
                                        <xs:documentation>Specifies whether log collection is enabled. Works only in an Azure cluster environment</xs:documentation>
                                </xs:annotation>
                                <xs:complexType>
                                        <xs:sequence maxOccurs="unbounded">
                                                <xs:element name="LogCollectionPolicy">
                                                        <xs:complexType>
                                                                <xs:attribute name="Path" type="xs:string" use="optional"/>
                                                        </xs:complexType>
                                                </xs:element>
                                        </xs:sequence>
                                </xs:complexType>
                        </xs:element>

内容元素详细信息

LogCollectionPolicy

Attribute 价值
名字 LogCollectionPolicy

LogCollectionPolicy 元素

Attribute 价值
类型 anonymous complexType
内容 0 元素(s)、1 个属性(s)
定义 在 LogCollectionPolicies 元素本地
名字 LogCollectionPolicy

XML 源

<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="LogCollectionPolicy">
                                                        <xs:complexType>
                                                                <xs:attribute name="Path" type="xs:string" use="optional"/>
                                                        </xs:complexType>
                                                </xs:element>

属性详细信息

路径

Attribute 价值
名字 路径
类型 xs:string
使用 optional

LogConfig 元素

指定容器的日志记录驱动程序。

Attribute 价值
类型 ContainerLoggingDriverType
内容 0 元素(s)、0 特性(s)
定义 ContainerHostPoliciesType complexType 本地
名字 日志配置
minOccurs 0
maxOccurs 1

XML 源

<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="LogConfig" type="ContainerLoggingDriverType" minOccurs="0" maxOccurs="1">
        <xs:annotation>
          <xs:documentation>Specifies the logging driver for a container.</xs:documentation>
        </xs:annotation>
      </xs:element>

LogicalDirectories 元素

描述与此节点类型关联的 LogicalDirectories 设置

Attribute 价值
类型 anonymous complexType
内容 1 个元素(s)、0 个属性(s)
定义 在 NodeType 元素本地
名字 LogicalDirectories
minOccurs 0

XML 源

<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="LogicalDirectories" minOccurs="0">
                                                                            <xs:annotation>
                                                                              <xs:documentation>Describe the LogicalDirectories settings associated with this node type</xs:documentation>
                                                                            </xs:annotation>
                                                                            <xs:complexType>
                                                                              <xs:sequence>
                                                                                <xs:element name="LogicalDirectory" type="LogicalDirectoryType" maxOccurs="unbounded"/>
                                                                              </xs:sequence>
                                                                            </xs:complexType>
                                                                          </xs:element>

内容元素详细信息

LogicalDirectory

Attribute 价值
名字 LogicalDirectory
类型 LogicalDirectoryType
maxOccurs 无限制

LogicalDirectory 元素

描述 LogicalDirectoryType。

Attribute 价值
类型 LogicalDirectoryType
内容 0 元素(s)、0 特性(s)
定义 在 LogicalDirectories 元素本地
名字 LogicalDirectory
maxOccurs 无限制

XML 源

<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="LogicalDirectory" type="LogicalDirectoryType" maxOccurs="unbounded"/>

ManagedAssembly 元素

不支持,请勿使用。 要承载的托管程序集的名称(例如,Queue.dll)。

Attribute 价值
类型 ManagedAssemblyType
内容 0 元素(s)、0 特性(s)
定义 DllHostEntryPointType complexType 本地
名字 ManagedAssembly

XML 源

<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="ManagedAssembly" type="ManagedAssemblyType"/>

ManifestDataPackage 元素

声明由 Name 属性命名的文件夹,该文件夹位于 PackageRoot 下,其中包含进程在运行时要使用的静态数据文件。 升级服务清单中列出的任何数据包时,Service Fabric 将回收主机中指定的所有 EXE 和 DLLHOST,并支持包。

Attribute 价值
类型 DataPackageType
内容 0 元素(s)、0 特性(s)
定义 在 ManifestDataPackages 元素本地
名字 ManifestDataPackage
minOccurs 0
maxOccurs 无限制

XML 源

<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="ManifestDataPackage" type="DataPackageType" minOccurs="0" maxOccurs="unbounded"/>

ManifestDataPackages 元素

列出包含此服务清单组件的 ETW 清单的数据包。 包含 ETW 清单的数据包不应包含任何其他文件。

Attribute 价值
类型 anonymous complexType
内容 1 个元素(s)、0 个属性(s)
定义 在 ETW 元素本地
名字 ManifestDataPackages
minOccurs 0

XML 源

<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="ManifestDataPackages" minOccurs="0">
              <xs:annotation>
                <xs:documentation>Lists the data packages containing ETW manifests for the components of this service manifest. The data package containing ETW manifests should not contain any other files. </xs:documentation>
              </xs:annotation>
              <xs:complexType>
                <xs:sequence>
                  <xs:element name="ManifestDataPackage" type="DataPackageType" minOccurs="0" maxOccurs="unbounded"/>
                </xs:sequence>
              </xs:complexType>
            </xs:element>

内容元素详细信息

ManifestDataPackage

Attribute 价值
名字 ManifestDataPackage
类型 DataPackageType
minOccurs 0
maxOccurs 无限制

Member 元素

Attribute 价值
类型 ServiceGroupMemberType
内容 0 元素(s)、0 特性(s)
定义 在 Members 元素、Members 元素本地
名字 成员
minOccurs 1
maxOccurs 无限制

XML 源

<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="Member" type="ServiceGroupMemberType" minOccurs="1" maxOccurs="unbounded"/>

MemberOf 元素

可以将用户添加到任何现有成员身份组,以便它可以继承该成员身份组的所有属性和安全设置。 成员身份组可用于保护需要由不同服务或同一服务(在不同的计算机上)访问的外部资源。

Attribute 价值
类型 anonymous complexType
内容 2 元素(s)、0 特性(s)
定义 在 User 元素本地
名字 MemberOf
minOccurs 0

XML 源

<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="MemberOf" minOccurs="0">
                                        <xs:annotation>
                                            <xs:documentation>Users can be added to any existing membership group, so it can inherit all the properties and security settings of that membership group. The membership group can be used to secure external resources that need to be accessed by different services or the same service (on a different machine).</xs:documentation>
                                                                                </xs:annotation>
                                                                                <xs:complexType>
                                                                                        <xs:choice maxOccurs="unbounded">
                                                                                                <xs:element name="SystemGroup" minOccurs="0" maxOccurs="unbounded">
                                                                                                        <xs:annotation>
                                                                                                                <xs:documentation>The system group to add the user to.  The system group must be defined in the Groups section.</xs:documentation>
                                                                                                        </xs:annotation>
                                                                                                        <xs:complexType>
                                                                                                                <xs:attribute name="Name" type="xs:string" use="required">
                                                                                                                        <xs:annotation>
                                                                                                                                <xs:documentation>The name of the system group.</xs:documentation>
                                                                                                                        </xs:annotation>
                                                                                                                </xs:attribute>
                                                                                                        </xs:complexType>
                                                                                                </xs:element>
                                                                                                <xs:element name="Group" minOccurs="0" maxOccurs="unbounded">
                                                                                                        <xs:annotation>
                                                                                                                <xs:documentation>The group to add the user to.  The group must be defined in the Groups section.</xs:documentation>
                                                                                                        </xs:annotation>
                                                                                                        <xs:complexType>
                                                                                                                <xs:attribute name="NameRef" type="xs:string" use="required">
                                                                                                                        <xs:annotation>
                                                                                                                                <xs:documentation>The name of the group.</xs:documentation>
                                                                                                                        </xs:annotation>
                                                                                                                </xs:attribute>
                                                                                                        </xs:complexType>
                                                                                                </xs:element>
                                                                                        </xs:choice>
                                                                                </xs:complexType>
                                                                        </xs:element>

内容元素详细信息

SystemGroup

要向其添加用户的系统组。 必须在“组”部分中定义系统组。

Attribute 价值
名字 SystemGroup
minOccurs 0
maxOccurs 无限制

要向其添加用户的组。 必须在“组”部分中定义该组。

Attribute 价值
名字
minOccurs 0
maxOccurs 无限制

Members 元素(在 StatefulServiceGroupType 中定义)

此服务组的成员服务

Attribute 价值
类型 anonymous complexType
内容 1 个元素(s)、0 个属性(s)
定义 StatefulServiceGroupType complexType 本地
名字 成员
minOccurs 1
maxOccurs 1

XML 源

<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="Members" minOccurs="1" maxOccurs="1">
                        <xs:annotation>
                            <xs:documentation>Member services of this service group</xs:documentation>
                        </xs:annotation>
                        <xs:complexType>
                            <xs:sequence>
                                <xs:element name="Member" type="ServiceGroupMemberType" minOccurs="1" maxOccurs="unbounded"/>
                            </xs:sequence>
                        </xs:complexType>
                    </xs:element>

内容元素详细信息

成员

Attribute 价值
名字 成员
类型 ServiceGroupMemberType
minOccurs 1
maxOccurs 无限制

Members 元素(在 StatelessServiceGroupType 中定义)

此服务组的成员服务

Attribute 价值
类型 anonymous complexType
内容 1 个元素(s)、0 个属性(s)
定义 StatelessServiceGroupType complexType 本地
名字 成员
minOccurs 1
maxOccurs 1

XML 源

<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="Members" minOccurs="1" maxOccurs="1">
                        <xs:annotation>
                            <xs:documentation>Member services of this service group</xs:documentation>
                        </xs:annotation>
                        <xs:complexType>
                            <xs:sequence>
                                <xs:element name="Member" type="ServiceGroupMemberType" minOccurs="1" maxOccurs="unbounded"/>
                            </xs:sequence>
                        </xs:complexType>
                    </xs:element>

内容元素详细信息

成员

Attribute 价值
名字 成员
类型 ServiceGroupMemberType
minOccurs 1
maxOccurs 无限制

Membership 元素

Attribute 价值
类型 anonymous complexType
内容 3 个元素,0 个特性(s)
定义 在 Group 元素本地
名字 Membership
minOccurs 0

XML 源

<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="Membership" minOccurs="0">
                                        <xs:complexType>
                                            <xs:choice maxOccurs="unbounded">
                                                <xs:element name="DomainGroup" minOccurs="0" maxOccurs="unbounded">
                                                    <xs:complexType>
                                                        <xs:attribute name="Name" type="xs:string" use="required"/>
                                                    </xs:complexType>
                                                </xs:element>
                                                <xs:element name="SystemGroup" minOccurs="0" maxOccurs="unbounded">
                                                    <xs:complexType>
                                                        <xs:attribute name="Name" type="xs:string" use="required"/>
                                                    </xs:complexType>
                                                </xs:element>
                                                <xs:element name="DomainUser" minOccurs="0" maxOccurs="unbounded">
                                                    <xs:complexType>
                                                        <xs:attribute name="Name" type="xs:string" use="required"/>
                                                    </xs:complexType>
                                                </xs:element>
                                            </xs:choice>
                                        </xs:complexType>
                                    </xs:element>

内容元素详细信息

DomainGroup

Attribute 价值
名字 DomainGroup
minOccurs 0
maxOccurs 无限制

SystemGroup

Attribute 价值
名字 SystemGroup
minOccurs 0
maxOccurs 无限制

DomainUser

Attribute 价值
名字 DomainUser
minOccurs 0
maxOccurs 无限制

NTLMAuthenticationPolicy 元素(在组中定义)

Attribute 价值
类型 anonymous complexType
内容 0 元素(s)、1 个属性(s)
定义 在 Group 元素本地
名字 NTLMAuthenticationPolicy
minOccurs 0

XML 源

<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="NTLMAuthenticationPolicy" minOccurs="0">
                                        <xs:complexType>
                                            <xs:attribute name="IsEnabled" type="xs:boolean" use="optional" default="true"/>
                                        </xs:complexType>
                                    </xs:element>

属性详细信息

已启用

Attribute 价值
名字 已启用
类型 xs:boolean
使用 optional
默认

NTLMAuthenticationPolicy 元素(在 User 中定义)

Attribute 价值
类型 anonymous complexType
内容 0 元素(s)、6 个属性(s)
定义 在 User 元素本地
名字 NTLMAuthenticationPolicy
minOccurs 0

XML 源

<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="NTLMAuthenticationPolicy" minOccurs="0">
                                        <xs:complexType>
                                            <xs:attribute name="IsEnabled" type="xs:boolean" use="optional" default="true"/>
                                            <xs:attribute name="PasswordSecret" type="xs:string" use="required"/>
                                            <xs:attribute name="PasswordSecretEncrypted" type="xs:boolean" use="optional" default="false"/>
                                            <xs:attribute name="X509StoreLocation" use="optional" default="LocalMachine">
                                                <xs:simpleType>
                                                    <xs:restriction base="xs:string">
                                                        <xs:enumeration value="LocalMachine"/>
                                                        <xs:enumeration value="CurrentUser"/>
                                                    </xs:restriction>
                                                </xs:simpleType>
                                            </xs:attribute>
                                                                                        <xs:attribute name="X509StoreName" default="My">
                                                <xs:simpleType>
                                                    <xs:restriction base="xs:string"/>
                                                </xs:simpleType>
                                            </xs:attribute>
                                            <xs:attribute name="X509Thumbprint" type="xs:string"/>
                                        </xs:complexType>
                                    </xs:element>

属性详细信息

已启用

Attribute 价值
名字 已启用
类型 xs:boolean
使用 optional
默认

PasswordSecret

Attribute 价值
名字 PasswordSecret
类型 xs:string
使用 (必需)

PasswordSecretEncrypted

Attribute 价值
名字 PasswordSecretEncrypted
类型 xs:boolean
使用 optional
默认

X509StoreLocation

Attribute 价值
名字 X509StoreLocation
使用 optional
默认 LocalMachine

X509StoreName

Attribute 价值
名字 X509StoreName
默认

X509Thumbprint

Attribute 价值
名字 X509Thumbprint
类型 xs:string

NamedPartition 元素

根据每个分区的名称描述命名分区方案。

Attribute 价值
类型 anonymous complexType
内容 1 个元素(s)、0 个属性(s)
定义 PartitionDescriptionGroup 组中本地
名字 NamedPartition

XML 源

<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="NamedPartition">
                <xs:annotation>
                    <xs:documentation>Describes a named partitioning scheme based on names for each partition.</xs:documentation>
                </xs:annotation>
                <xs:complexType>
                    <xs:sequence maxOccurs="unbounded">
                        <xs:element name="Partition">
                            <xs:annotation>
                                <xs:documentation>Describes a partition by name.</xs:documentation>
                            </xs:annotation>
                            <xs:complexType>
                                <xs:attribute name="Name" use="required">
                                    <xs:annotation>
                                        <xs:documentation>The name of the partition</xs:documentation>
                                    </xs:annotation>
                                    <xs:simpleType>
                                        <xs:restriction base="xs:string">
                                            <xs:minLength value="1"/>
                                        </xs:restriction>
                                    </xs:simpleType>
                                </xs:attribute>
                            </xs:complexType>
                        </xs:element>
                    </xs:sequence>
                </xs:complexType>
            </xs:element>

内容元素详细信息

Partition

按名称描述分区。

Attribute 价值
名字 Partition

NamingReplicatorEndpoint 元素

Attribute 价值
类型 InternalEndpointType
内容 0 元素(s)、0 特性(s)
定义 FabricEndpointsType complexType 本地
名字 NamingReplicatorEndpoint
minOccurs 0

XML 源

<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="NamingReplicatorEndpoint" type="InternalEndpointType" minOccurs="0"/>

NetworkConfig 元素

指定容器的网络配置。

Attribute 价值
类型 ContainerNetworkConfigType
内容 0 元素(s)、0 特性(s)
定义 ContainerHostPoliciesType complexType 本地
名字 NetworkConfig
minOccurs 0
maxOccurs 1

XML 源

<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="NetworkConfig" type="ContainerNetworkConfigType" minOccurs="0" maxOccurs="1">
            <xs:annotation>
                <xs:documentation>Specifies the network configuration for a container.</xs:documentation>
            </xs:annotation>
        </xs:element>

NetworkPolicies 元素

指定包括容器网络策略在内的网络策略。

Attribute 价值
类型 NetworkPoliciesType
内容 0 元素(s)、0 特性(s)
定义 ServiceManifestImportPoliciesType complexTypeServicePackageType complexType 本地
名字 NetworkPolicies
minOccurs 0
maxOccurs 1

XML 源

<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="NetworkPolicies" type="NetworkPoliciesType" minOccurs="0" maxOccurs="1">
        <xs:annotation>
          <xs:documentation>Specifies network policies including container network policies.</xs:documentation>
        </xs:annotation>
      </xs:element>

Node 元素 (type FabricNodeType)

描述 Azure Service Fabric 节点。

Attribute 价值
类型 FabricNodeType
内容 0 元素(s)、0 特性(s)
定义 在 NodeList 元素、NodeList 元素本地
名字 Node
maxOccurs 无限制

XML 源

<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="Node" type="FabricNodeType" maxOccurs="unbounded"/>

Node 元素(类型 InfrastructureNodeType)

描述所需的基础结构信息。

Attribute 价值
类型 InfrastructureNodeType
内容 0 元素(s)、0 特性(s)
定义 在 NodeList 元素本地
名字 Node
maxOccurs 无限制

XML 源

<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="Node" type="InfrastructureNodeType" maxOccurs="unbounded"/>

NodeList 元素(在 InfrastructureInformationType 中定义)

Attribute 价值
类型 anonymous complexType
内容 1 个元素(s)、0 个属性(s)
定义 InfrastructureInformationType complexType 本地
名字 NodeList

XML 源

<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="NodeList">
        <xs:complexType>
          <xs:sequence>
            <xs:element name="Node" type="InfrastructureNodeType" maxOccurs="unbounded"/>
          </xs:sequence>
        </xs:complexType>
      </xs:element>

内容元素详细信息

Node

Attribute 价值
名字 Node
类型 InfrastructureNodeType
maxOccurs 无限制

NodeList 元素(在 LinuxInfrastructureType 中定义)

Attribute 价值
类型 anonymous complexType
内容 1 个元素(s)、0 个属性(s)
定义 LinuxInfrastructureType complexType 本地
名字 NodeList

XML 源

<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="NodeList">
        <xs:complexType>
          <xs:sequence>
            <xs:element name="Node" type="FabricNodeType" maxOccurs="unbounded"/>
          </xs:sequence>
        </xs:complexType>
      </xs:element>

内容元素详细信息

Node

Attribute 价值
名字 Node
类型 FabricNodeType
maxOccurs 无限制

NodeList 元素(在 WindowsInfrastructureType 中定义)

Attribute 价值
类型 anonymous complexType
内容 1 个元素(s)、0 个属性(s)
定义 WindowsInfrastructureType complexType 本地
名字 NodeList

XML 源

<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="NodeList">
                                <xs:complexType>
                                        <xs:sequence>
                                                <xs:element name="Node" type="FabricNodeType" maxOccurs="unbounded"/>
                                        </xs:sequence>
                                </xs:complexType>
                        </xs:element>

内容元素详细信息

Node

Attribute 价值
名字 Node
类型 FabricNodeType
maxOccurs 无限制

NodeType 元素

描述节点类型。

Attribute 价值
类型 anonymous complexType
内容 7 个元素(s)、1 个属性(s)
定义 在 NodeTypes 元素本地
名字 NodeType
maxOccurs 无限制

XML 源

<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="NodeType" maxOccurs="unbounded">
                                                        <xs:annotation>
                                                                <xs:documentation>Describe a node type.</xs:documentation>
                                                        </xs:annotation>
                                                        <xs:complexType>
                                                                <xs:all>
                                                                        <xs:element name="Endpoints" type="FabricEndpointsType" minOccurs="0">
                                                                                <xs:annotation>
                                                                                        <xs:documentation>Describe the endpoints associated with this node type</xs:documentation>
                                                                                </xs:annotation>
                                                                        </xs:element>
                                                                          <xs:element name="KtlLoggerSettings" type="FabricKtlLoggerSettingsType" minOccurs="0">
                                                                            <xs:annotation>
                                                                              <xs:documentation>Describe the KtlLogger information associated with this node type</xs:documentation>
                                                                            </xs:annotation>
                                                                          </xs:element>
                                                                          <xs:element name="LogicalDirectories" minOccurs="0">
                                                                            <xs:annotation>
                                                                              <xs:documentation>Describe the LogicalDirectories settings associated with this node type</xs:documentation>
                                                                            </xs:annotation>
                                                                            <xs:complexType>
                                                                              <xs:sequence>
                                                                                <xs:element name="LogicalDirectory" type="LogicalDirectoryType" maxOccurs="unbounded"/>
                                                                              </xs:sequence>
                                                                            </xs:complexType>
                                                                          </xs:element>
                                                                          <xs:element name="Certificates" type="CertificatesType" minOccurs="0">
                                                                                <xs:annotation>
                                                                                        <xs:documentation>Describe the certificates associated with this node type</xs:documentation>
                                                                                </xs:annotation>
                                                                        </xs:element>
                                                                        <xs:element name="PlacementProperties" minOccurs="0">
                                                                                <xs:annotation>
                                                                                        <xs:documentation>Describe the properties for this NodeType that will be used as placement constraints</xs:documentation>
                                                                                </xs:annotation>
                                                                                <xs:complexType>
                                                                                        <xs:sequence>
                                                                                                <xs:element name="Property" type="KeyValuePairType" minOccurs="0" maxOccurs="unbounded"/>
                                                                                        </xs:sequence>
                                                                                </xs:complexType>
                                                                        </xs:element>
                                                                        <xs:element name="Capacities" minOccurs="0">
                                                                                <xs:annotation>
                                                                                        <xs:documentation>The capacities of various metrics for this node type</xs:documentation>
                                                                                </xs:annotation>
                                                                                <xs:complexType>
                                                                                        <xs:sequence>
                                                                                                <xs:element name="Capacity" type="KeyValuePairType" minOccurs="0" maxOccurs="unbounded"/>
                                                                                        </xs:sequence>
                                                                                </xs:complexType>
                                                                        </xs:element>
                                                                        <xs:element name="SfssRgPolicies" minOccurs="0">
                                                                                <xs:annotation>
                                                                                        <xs:documentation>The SF system services resource governance policy for this node type</xs:documentation>
                                                                                </xs:annotation>
                                                                                <xs:complexType>
                                                                                        <xs:sequence>
                                                                                                <xs:element name="SfssRgPolicy" type="KeyValuePairType" minOccurs="0" maxOccurs="unbounded"/>
                                                                                        </xs:sequence>
                                                                                </xs:complexType>
                                                                        </xs:element>
                                                                </xs:all>
                                                                <xs:attribute name="Name" type="xs:string" use="required">
                                                                        <xs:annotation>
                                                                                <xs:documentation>Name of the NodeType</xs:documentation>
                                                                        </xs:annotation>
                                                                </xs:attribute>
                                                        </xs:complexType>
                                                </xs:element>

属性详细信息

名称

NodeType 的名称

Attribute 价值
名字 名称
类型 xs:string
使用 (必需)

内容元素详细信息

端点

描述与此节点类型关联的终结点

Attribute 价值
名字 端点
类型 FabricEndpointsType
minOccurs 0

KtlLoggerSettings

描述与此节点类型关联的 KtlLogger 信息

Attribute 价值
名字 KtlLoggerSettings
类型 FabricKtlLoggerSettingsType
minOccurs 0

LogicalDirectories

描述与此节点类型关联的 LogicalDirectories 设置

Attribute 价值
名字 LogicalDirectories
minOccurs 0

证书

描述与此节点类型关联的证书

Attribute 价值
名字 证书
类型 CertificatesType
minOccurs 0

PlacementProperties

描述将用作放置约束的此 NodeType 的属性

Attribute 价值
名字 PlacementProperties
minOccurs 0

能力

此节点类型的各种指标的容量

Attribute 价值
名字 能力
minOccurs 0

SfssRgPolicies

此节点类型的 SF 系统服务资源治理策略

Attribute 价值
名字 SfssRgPolicies
minOccurs 0

NodeTypes 元素

Attribute 价值
类型 anonymous complexType
内容 1 个元素(s)、0 个属性(s)
定义 ClusterManifestType complexType 本地
名字 NodeTypes
minOccurs 1

XML 源

<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="NodeTypes" minOccurs="1">
                                <xs:complexType>
                                        <xs:sequence>
                                                <xs:element name="NodeType" maxOccurs="unbounded">
                                                        <xs:annotation>
                                                                <xs:documentation>Describe a node type.</xs:documentation>
                                                        </xs:annotation>
                                                        <xs:complexType>
                                                                <xs:all>
                                                                        <xs:element name="Endpoints" type="FabricEndpointsType" minOccurs="0">
                                                                                <xs:annotation>
                                                                                        <xs:documentation>Describe the endpoints associated with this node type</xs:documentation>
                                                                                </xs:annotation>
                                                                        </xs:element>
                                                                          <xs:element name="KtlLoggerSettings" type="FabricKtlLoggerSettingsType" minOccurs="0">
                                                                            <xs:annotation>
                                                                              <xs:documentation>Describe the KtlLogger information associated with this node type</xs:documentation>
                                                                            </xs:annotation>
                                                                          </xs:element>
                                                                          <xs:element name="LogicalDirectories" minOccurs="0">
                                                                            <xs:annotation>
                                                                              <xs:documentation>Describe the LogicalDirectories settings associated with this node type</xs:documentation>
                                                                            </xs:annotation>
                                                                            <xs:complexType>
                                                                              <xs:sequence>
                                                                                <xs:element name="LogicalDirectory" type="LogicalDirectoryType" maxOccurs="unbounded"/>
                                                                              </xs:sequence>
                                                                            </xs:complexType>
                                                                          </xs:element>
                                                                          <xs:element name="Certificates" type="CertificatesType" minOccurs="0">
                                                                                <xs:annotation>
                                                                                        <xs:documentation>Describe the certificates associated with this node type</xs:documentation>
                                                                                </xs:annotation>
                                                                        </xs:element>
                                                                        <xs:element name="PlacementProperties" minOccurs="0">
                                                                                <xs:annotation>
                                                                                        <xs:documentation>Describe the properties for this NodeType that will be used as placement constraints</xs:documentation>
                                                                                </xs:annotation>
                                                                                <xs:complexType>
                                                                                        <xs:sequence>
                                                                                                <xs:element name="Property" type="KeyValuePairType" minOccurs="0" maxOccurs="unbounded"/>
                                                                                        </xs:sequence>
                                                                                </xs:complexType>
                                                                        </xs:element>
                                                                        <xs:element name="Capacities" minOccurs="0">
                                                                                <xs:annotation>
                                                                                        <xs:documentation>The capacities of various metrics for this node type</xs:documentation>
                                                                                </xs:annotation>
                                                                                <xs:complexType>
                                                                                        <xs:sequence>
                                                                                                <xs:element name="Capacity" type="KeyValuePairType" minOccurs="0" maxOccurs="unbounded"/>
                                                                                        </xs:sequence>
                                                                                </xs:complexType>
                                                                        </xs:element>
                                                                        <xs:element name="SfssRgPolicies" minOccurs="0">
                                                                                <xs:annotation>
                                                                                        <xs:documentation>The SF system services resource governance policy for this node type</xs:documentation>
                                                                                </xs:annotation>
                                                                                <xs:complexType>
                                                                                        <xs:sequence>
                                                                                                <xs:element name="SfssRgPolicy" type="KeyValuePairType" minOccurs="0" maxOccurs="unbounded"/>
                                                                                        </xs:sequence>
                                                                                </xs:complexType>
                                                                        </xs:element>
                                                                </xs:all>
                                                                <xs:attribute name="Name" type="xs:string" use="required">
                                                                        <xs:annotation>
                                                                                <xs:documentation>Name of the NodeType</xs:documentation>
                                                                        </xs:annotation>
                                                                </xs:attribute>
                                                        </xs:complexType>
                                                </xs:element>
                                        </xs:sequence>
                                </xs:complexType>
                        </xs:element>

内容元素详细信息

NodeType

描述节点类型。

Attribute 价值
名字 NodeType
maxOccurs 无限制

PaaS 元素

Attribute 价值
类型 anonymous complexType
内容 2 元素(s)、0 特性(s)
定义 在 Infrastructure 元素本地
名字 PaaS

XML 源

<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="PaaS">
                                                        <xs:complexType>
                                                                <xs:all>
                                                                        <xs:element name="Roles">
                                                                                <xs:complexType>
                                                                                        <xs:sequence>
                                                                                                <xs:element name="Role" type="PaaSRoleType" maxOccurs="unbounded"/>
                                                                                        </xs:sequence>
                                                                                </xs:complexType>
                                                                        </xs:element>
                                                                        <xs:element name="Votes">
                                                                                <xs:complexType>
                                                                                        <xs:sequence>
                                                                                                <xs:element name="Vote" type="PaaSVoteType" maxOccurs="unbounded"/>
                                                                                        </xs:sequence>
                                                                                </xs:complexType>
                                                                        </xs:element>
                                                                </xs:all>
                                                        </xs:complexType>
                                                </xs:element>

内容元素详细信息

角色

Attribute 价值
名字 角色

投票

Attribute 价值
名字 投票

PackageSharingPolicy 元素

指示是否应在同一服务类型的服务实例之间共享代码、配置或数据包。

Attribute 价值
类型 PackageSharingPolicyType
内容 0 元素(s)、0 特性(s)
定义 ServiceManifestImportPoliciesType complexType 本地
名字 PackageSharingPolicy
minOccurs 0

XML 源

<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="PackageSharingPolicy" type="PackageSharingPolicyType" minOccurs="0"/>

Parameter 元素(类型 ParameterType)

Attribute 价值
类型 ParameterType
内容 0 元素(s)、0 特性(s)
定义 ParametersType complexType 本地
名字 参数
minOccurs 1
maxOccurs 无限制

XML 源

<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="Parameter" type="ParameterType" minOccurs="1" maxOccurs="unbounded"/>

Parameters 中定义的参数元素

此清单中使用的应用程序参数。 可以在应用程序实例化期间更改参数值,如果未提供任何值,则使用默认值。

Attribute 价值
类型 anonymous complexType
内容 0 元素(s)、2 个特性(s)
定义 在 Parameters 元素本地
名字 参数
minOccurs 0
maxOccurs 无限制

XML 源

<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="Parameter" block="" minOccurs="0" maxOccurs="unbounded">
              <xs:annotation>
                <xs:documentation>An application parameter to be used in this manifest. The parameter value can be changed during application instantiation, or, if no value is supplied the default value is used.</xs:documentation>
              </xs:annotation>
              <xs:complexType>
                <xs:attribute name="Name" use="required">
                  <xs:annotation>
                    <xs:documentation>The name of the parameter to be used in the manifest as "[Name]".</xs:documentation>
                  </xs:annotation>
                  <xs:simpleType>
                    <xs:restriction base="xs:string">
                      <xs:minLength value="1"/>
                    </xs:restriction>
                  </xs:simpleType>
                </xs:attribute>
                <xs:attribute name="DefaultValue" type="xs:string" use="required">
                  <xs:annotation>
                    <xs:documentation>Default value for the parameter, used if the parameter value is not provided during application instantiation.</xs:documentation>
                  </xs:annotation>
                </xs:attribute>
              </xs:complexType>
            </xs:element>

属性详细信息

名称

在清单中用作“[Name]”的参数的名称。

Attribute 价值
名字 名称
使用 (必需)

默认值

参数的默认值,如果在应用程序实例化期间未提供参数值,则使用此参数。

Attribute 价值
名字 默认值
类型 xs:string
使用 (必需)

Parameter 元素(在 Parameters 中定义)

Attribute 价值
类型 anonymous complexType
内容 0 元素(s)、0 特性(s)
定义 在 Parameters 元素本地
名字 参数
minOccurs 0
maxOccurs 无限制

XML 源

<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="Parameter" minOccurs="0" maxOccurs="unbounded">
              <xs:complexType>
                <xs:attributeGroup ref="NameValuePair"/>
              </xs:complexType>
            </xs:element>

节中定义的参数元素

要重写的设置。

Attribute 价值
类型 anonymous complexType
内容 0 元素(s)、2 个特性(s)
定义 在 Section 元素本地
名字 参数
minOccurs 0
maxOccurs 无限制

XML 源

<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="Parameter" minOccurs="0" maxOccurs="unbounded">
              <xs:annotation>
                <xs:documentation>The setting to override.</xs:documentation>
              </xs:annotation>
              <xs:complexType>
                <xs:attributeGroup ref="NameValuePair"/>
                <xs:attribute name="IsEncrypted" type="xs:boolean" default="false">
                  <xs:annotation>
                    <xs:documentation>
                      If true, the value of this parameter is encrypted. The application developer is responsible for creating a certificate and using the Invoke-ServiceFabricEncryptSecret cmdlet to encrypt sensitive information. The certificate information that will be used to encrypt the value is specified in the Certificates section. This attribute is deprecated. Please use Type attribute.
                    </xs:documentation>
                                    </xs:annotation>
                                </xs:attribute>
                <xs:attribute name="Type" type="xs:string" use="optional">
                  <xs:annotation>
                    <xs:documentation>
                      This value defines the type of value you have specified in the 'Value' Attribute. It can be SecretsStoreRef/Encrypted/PlainText.
                      If set to SecretsStoreRef, we retrieve  the reference value from the SecretStore.
                      If set to Encrypted, the application developer is responsible for creating a certificate and using the Invoke-ServiceFabricEncryptSecret cmdlet to encrypt sensitive information.
                    </xs:documentation>
                  </xs:annotation>
                </xs:attribute>
                            </xs:complexType>
                        </xs:element>

属性详细信息

IsEncrypted

如果为 true,则此参数的值已加密。 应用程序开发人员负责创建证书并使用 Invoke-ServiceFabricEncryptSecret cmdlet 加密敏感信息。 用于加密值的证书信息在“证书”部分中指定。 此属性已弃用。 请使用 Type 属性。

Attribute 价值
名字 IsEncrypted
类型 xs:boolean
默认

类型

此值定义在“Value”属性中指定的值类型。 它可以是 SecretsStoreRef/Encrypted/PlainText。 如果设置为 SecretsStoreRef,我们将从 SecretStore 检索引用值。 如果设置为 Encrypted,则应用程序开发人员负责创建证书并使用 Invoke-ServiceFabricEncryptSecret cmdlet 加密敏感信息。

Attribute 价值
名字 类型
类型 xs:string
使用 optional

参数元素(在 Section 中定义)

Attribute 价值
类型 anonymous complexType
内容 0 元素(s)、5 个属性(s)
定义 在 Section 元素本地
名字 参数
minOccurs 0
maxOccurs 无限制

XML 源

<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="Parameter" minOccurs="0" maxOccurs="unbounded">
              <xs:complexType>
                <xs:attribute name="Name" type="xs:string" use="required"/>
                <xs:attribute name="Value" type="xs:string" use="required"/>
                <xs:attribute name="MustOverride" type="xs:boolean" default="false">
                  <xs:annotation>
                    <xs:documentation>If true, the value of this parameter must be overridden by higher level configuration.</xs:documentation>
                  </xs:annotation>
                </xs:attribute>
                <xs:attribute name="IsEncrypted" type="xs:boolean" default="false">
                  <xs:annotation>
                    <xs:documentation>If true, the value of this parameter is encrypted.</xs:documentation>
                  </xs:annotation>
                </xs:attribute>
                <xs:attribute name="Type" type="xs:string" use="optional"/>
              </xs:complexType>
            </xs:element>

属性详细信息

名称

Attribute 价值
名字 名称
类型 xs:string
使用 (必需)

价值

Attribute 价值
名字 价值
类型 xs:string
使用 (必需)

MustOverride

如果为 true,则必须通过更高级别的配置重写此参数的值。

Attribute 价值
名字 MustOverride
类型 xs:boolean
默认

IsEncrypted

如果为 true,则此参数的值已加密。

Attribute 价值
名字 IsEncrypted
类型 xs:boolean
默认

类型

Attribute 价值
名字 类型
类型 xs:string
使用 optional

Parameters 元素(类型 ParametersType)

指定为名称值对的其他设置

Attribute 价值
类型 ParametersType
内容 0 元素(s)、0 特性(s)
定义 全球
名字 参数

XML 源

<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="Parameters" type="ParametersType">
    <xs:annotation>
      <xs:documentation>Additional settings specified as name-value pairs</xs:documentation>
    </xs:annotation>
  </xs:element>

Parameters 元素(在 AppInstanceDefinitionType 中定义)

应用程序清单中定义的应用程序参数列表及其各自的值。

Attribute 价值
类型 anonymous complexType
内容 1 个元素(s)、0 个属性(s)
定义 AppInstanceDefinitionType complexType 本地
名字 参数

XML 源

<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="Parameters">
        <xs:annotation>
          <xs:documentation>List of parameters for the application as defined in application manifest and their respective values.</xs:documentation>
        </xs:annotation>
        <xs:complexType>
          <xs:sequence>
            <xs:element name="Parameter" minOccurs="0" maxOccurs="unbounded">
              <xs:complexType>
                <xs:attributeGroup ref="NameValuePair"/>
              </xs:complexType>
            </xs:element>
          </xs:sequence>
        </xs:complexType>
      </xs:element>

内容元素详细信息

参数

Attribute 价值
名字 参数
minOccurs 0
maxOccurs 无限制

Parameters 元素(在 ApplicationManifestType 中定义)

声明此应用程序清单中使用的参数。 实例化应用程序时,可以提供这些参数的值,并可用于替代应用程序或服务配置设置。

Attribute 价值
类型 anonymous complexType
内容 1 个元素(s)、0 个属性(s)
定义 ApplicationManifestType complexType 本地
名字 参数
minOccurs 0

XML 源

<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="Parameters" minOccurs="0">
        <xs:annotation>
          <xs:documentation>Declares the parameters that are used in this application manifest. The value of these parameters can be supplied when the application is instantiated and can be used to override application or service configuration settings.</xs:documentation>
        </xs:annotation>
        <xs:complexType>
          <xs:sequence>
            <xs:element name="Parameter" block="" minOccurs="0" maxOccurs="unbounded">
              <xs:annotation>
                <xs:documentation>An application parameter to be used in this manifest. The parameter value can be changed during application instantiation, or, if no value is supplied the default value is used.</xs:documentation>
              </xs:annotation>
              <xs:complexType>
                <xs:attribute name="Name" use="required">
                  <xs:annotation>
                    <xs:documentation>The name of the parameter to be used in the manifest as "[Name]".</xs:documentation>
                  </xs:annotation>
                  <xs:simpleType>
                    <xs:restriction base="xs:string">
                      <xs:minLength value="1"/>
                    </xs:restriction>
                  </xs:simpleType>
                </xs:attribute>
                <xs:attribute name="DefaultValue" type="xs:string" use="required">
                  <xs:annotation>
                    <xs:documentation>Default value for the parameter, used if the parameter value is not provided during application instantiation.</xs:documentation>
                  </xs:annotation>
                </xs:attribute>
              </xs:complexType>
            </xs:element>
          </xs:sequence>
        </xs:complexType>
      </xs:element>

内容元素详细信息

参数

此清单中使用的应用程序参数。 可以在应用程序实例化期间更改参数值,如果未提供任何值,则使用默认值。

Attribute 价值
名字 参数
minOccurs 0
maxOccurs 无限制

Partition 元素

按名称描述分区。

Attribute 价值
类型 anonymous complexType
内容 0 元素(s)、1 个属性(s)
定义 在 NamedPartition 元素本地
名字 Partition

XML 源

<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="Partition">
                            <xs:annotation>
                                <xs:documentation>Describes a partition by name.</xs:documentation>
                            </xs:annotation>
                            <xs:complexType>
                                <xs:attribute name="Name" use="required">
                                    <xs:annotation>
                                        <xs:documentation>The name of the partition</xs:documentation>
                                    </xs:annotation>
                                    <xs:simpleType>
                                        <xs:restriction base="xs:string">
                                            <xs:minLength value="1"/>
                                        </xs:restriction>
                                    </xs:simpleType>
                                </xs:attribute>
                            </xs:complexType>
                        </xs:element>

属性详细信息

名称

分区的名称

Attribute 价值
名字 名称
使用 (必需)

PersistencePolicy 元素

服务类型的持久性策略扩展

Attribute 价值
类型 anonymous complexType
内容 1 个元素(s)、4 个属性(s)
定义 全球
名字 PersistencePolicy

XML 源

<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="PersistencePolicy">
    <xs:annotation>
      <xs:documentation>Persistence Policy extension for the Service Type</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:element name="Properties" type="ServiceTypeExtensionPolicyPropertiesType" minOccurs="0"/>
      </xs:sequence>
      <xs:attribute name="Name" type="xs:string" use="required"/>
      <xs:attribute name="Mode" use="required">
        <xs:simpleType>
          <xs:restriction base="xs:string">
            <xs:enumeration value="Synchronous"/>
            <xs:enumeration value="Asynchronous"/>
          </xs:restriction>
        </xs:simpleType>
      </xs:attribute>
      <xs:attribute name="WriteBehind" type="xs:string" use="required"/>
      <xs:attribute name="Provider" type="xs:string" use="required"/>
    </xs:complexType>
  </xs:element>

属性详细信息

名称

Attribute 价值
名字 名称
类型 xs:string
使用 (必需)

模式

Attribute 价值
名字 模式
使用 (必需)

WriteBehind

Attribute 价值
名字 WriteBehind
类型 xs:string
使用 (必需)

Provider

Attribute 价值
名字 Provider
类型 xs:string
使用 (必需)

内容元素详细信息

属性

Attribute 价值
名字 属性
类型 ServiceTypeExtensionPolicyPropertiesType
minOccurs 0

PlacementConstraints 元素

用于控制服务可以在群集中运行的节点。 一个键/值对,描述节点属性名称和服务对值的要求。 可以将单个语句与简单的布尔逻辑组合在一起,以创建必要的约束。 例如,“(FirmwareVersion>12 && InDMZ == True)”。

Attribute 价值
类型 xs:string
内容 0 元素(s)、0 特性(s)
定义 ServiceType complexTypeServiceTypeType complexTypeServiceGroupTypetype complexType 本地
名字 PlacementConstraints
minOccurs 0

XML 源

<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="PlacementConstraints" type="xs:string" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Used to control which nodes in the cluster a service can run on. A key/value pair which describes the node property name and the service's requirements for the value. Individual statements can be grouped together with simple boolean logic to create the necessary constraint. For example, "(FirmwareVersion&gt;12  &amp;&amp; InDMZ == True)".</xs:documentation>
                </xs:annotation>
            </xs:element>

PlacementProperties 元素

描述将用作放置约束的此 NodeType 的属性

Attribute 价值
类型 anonymous complexType
内容 1 个元素(s)、0 个属性(s)
定义 在 NodeType 元素本地
名字 PlacementProperties
minOccurs 0

XML 源

<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="PlacementProperties" minOccurs="0">
                                                                                <xs:annotation>
                                                                                        <xs:documentation>Describe the properties for this NodeType that will be used as placement constraints</xs:documentation>
                                                                                </xs:annotation>
                                                                                <xs:complexType>
                                                                                        <xs:sequence>
                                                                                                <xs:element name="Property" type="KeyValuePairType" minOccurs="0" maxOccurs="unbounded"/>
                                                                                        </xs:sequence>
                                                                                </xs:complexType>
                                                                        </xs:element>

内容元素详细信息

财产

Attribute 价值
名字 财产
类型 KeyValuePairType
minOccurs 0
maxOccurs 无限制

Policies 元素(类型 ApplicationPoliciesType)

描述在应用程序级别应用的策略(日志收集、默认运行方式、运行状况和安全访问)。

Attribute 价值
类型 ApplicationPoliciesType
内容 0 元素(s)、0 特性(s)
定义 ApplicationManifestType complexTypeEnvironmentType complexType 本地
名字 策略
minOccurs 0

XML 源

<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="Policies" type="ApplicationPoliciesType" minOccurs="0"/>

Policies 元素(Type ServiceManifestImportPoliciesType)

描述要应用于导入服务清单的策略(终结点绑定、包共享、运行方式和安全访问)。

Attribute 价值
类型 ServiceManifestImportPoliciesType
内容 0 元素(s)、0 特性(s)
定义 在 ServiceManifestImport 元素本地
名字 策略
minOccurs 0

XML 源

<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="Policies" type="ServiceManifestImportPoliciesType" minOccurs="0"/>

PortBinding 元素

指定要绑定容器公开端口的终结点资源。

Attribute 价值
类型 PortBindingType
内容 0 元素(s)、0 特性(s)
定义 ServicePackageContainerPolicyType complexTypeContainerHostPoliciesType complexType 本地
名字 PortBinding
minOccurs 0
maxOccurs 无限制

XML 源

<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="PortBinding" type="PortBindingType" minOccurs="0" maxOccurs="unbounded">
        <xs:annotation>
          <xs:documentation>Specifies which endpoint resource to bind container exposed port.</xs:documentation>
        </xs:annotation>
      </xs:element>

Principals 元素

介绍此应用程序运行服务和保护资源所需的安全主体(用户、组)。 策略部分中引用主体。

Attribute 价值
类型 SecurityPrincipalsType
内容 0 元素(s)、0 特性(s)
定义 ApplicationManifestType complexTypeEnvironmentType complexType 本地
名字 Principals
minOccurs 0

XML 源

<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="Principals" type="SecurityPrincipalsType" minOccurs="0"/>

Program 元素

可执行文件名称。 例如,“MySetup.bat”或“MyServiceHost.exe”。

Attribute 价值
类型 xs:string
内容 0 元素(s)、0 特性(s)
定义 ExeHostEntryPointType complexType 本地
名字 程序

XML 源

<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="Program" type="xs:string">
        <xs:annotation>
          <xs:documentation>The executable name. For example, "MySetup.bat" or "MyServiceHost.exe".</xs:documentation>
        </xs:annotation></xs:element>

Properties 元素

定义持久性和逐出策略的属性。

Attribute 价值
类型 ServiceTypeExtensionPolicyPropertiesType
内容 0 元素(s)、0 特性(s)
定义 在 PersistencePolicy 元素、EvictionPolicy 元素本地
名字 属性
minOccurs 0

XML 源

<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="Properties" type="ServiceTypeExtensionPolicyPropertiesType" minOccurs="0"/>

Property 元素 (Type KeyValuePairType)

Attribute 价值
类型 KeyValuePairType
内容 0 元素(s)、0 特性(s)
定义 在 PlacementProperties 元素本地
名字 财产
minOccurs 0
maxOccurs 无限制

XML 源

<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="Property" type="KeyValuePairType" minOccurs="0" maxOccurs="unbounded"/>

Property 元素(在 ServiceTypeExtensionPolicyPropertiesType 中定义)

Attribute 价值
类型 anonymous complexType
内容 0 元素(s)、2 个特性(s)
定义 ServiceTypeExtensionPolicyPropertiesType complexType 本地
名字 财产
minOccurs 0
maxOccurs 无限制

XML 源

<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="Property" minOccurs="0" maxOccurs="unbounded">
        <xs:complexType>
          <xs:attribute name="Name" type="xs:string" use="required"/>
          <xs:attribute name="Value" type="xs:string" use="required"/>
        </xs:complexType>
      </xs:element>

属性详细信息

名称

Attribute 价值
名字 名称
类型 xs:string
使用 (必需)

价值

Attribute 价值
名字 价值
类型 xs:string
使用 (必需)

ProviderGuid 元素

Attribute 价值
类型 anonymous complexType
内容 0 元素(s)、1 个属性(s)
定义 在 ProviderGuids 元素本地
名字 供应商指南
minOccurs 0
maxOccurs 无限制

XML 源

<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="ProviderGuid" minOccurs="0" maxOccurs="unbounded">
                    <xs:complexType>
                      <xs:attribute name="Value" use="required">
                        <xs:simpleType>
                          <xs:restriction base="xs:string">
                            <xs:pattern value="[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}"/>
                          </xs:restriction>
                        </xs:simpleType>
                      </xs:attribute>
                    </xs:complexType>
                  </xs:element>

属性详细信息

价值

Attribute 价值
名字 价值
使用 (必需)

ProviderGuids 元素

列出此服务清单的组件的 ETW 提供程序 GUID。

Attribute 价值
类型 anonymous complexType
内容 1 个元素(s)、0 个属性(s)
定义 在 ETW 元素本地
名字 ProviderGuids
minOccurs 0

XML 源

<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="ProviderGuids" minOccurs="0">
              <xs:annotation>
                <xs:documentation>Lists the ETW provider GUIDs for the components of this service manifest.</xs:documentation>
              </xs:annotation>
              <xs:complexType>
                <xs:sequence>
                  <xs:element name="ProviderGuid" minOccurs="0" maxOccurs="unbounded">
                    <xs:complexType>
                      <xs:attribute name="Value" use="required">
                        <xs:simpleType>
                          <xs:restriction base="xs:string">
                            <xs:pattern value="[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}"/>
                          </xs:restriction>
                        </xs:simpleType>
                      </xs:attribute>
                    </xs:complexType>
                  </xs:element>
                </xs:sequence>
              </xs:complexType>
            </xs:element>

内容元素详细信息

供应商指南

Attribute 价值
名字 供应商指南
minOccurs 0
maxOccurs 无限制

RepairManagerReplicatorEndpoint 元素

Attribute 价值
类型 InternalEndpointType
内容 0 元素(s)、0 特性(s)
定义 FabricEndpointsType complexType 本地
名字 RepairManagerReplicatorEndpoint
minOccurs 0

XML 源

<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="RepairManagerReplicatorEndpoint" type="InternalEndpointType" minOccurs="0"/>

RepositoryCredentials 元素

用于从中拉取映像的容器映像存储库的凭据。

Attribute 价值
类型 RepositoryCredentialsType
内容 0 元素(s)、0 特性(s)
定义 ContainerHostPoliciesType complexType 本地
名字 存储库凭据
minOccurs 0
maxOccurs 1

XML 源

<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="RepositoryCredentials" type="RepositoryCredentialsType" minOccurs="0" maxOccurs="1">
        <xs:annotation>
          <xs:documentation>Credentials for container image repository to pull images from.</xs:documentation>
        </xs:annotation>
      </xs:element>

ResourceGovernancePolicy 元素

指定代码包的资源限制。

Attribute 价值
类型 ResourceGovernancePolicyType
内容 0 元素(s)、0 特性(s)
定义 ServiceManifestImportPoliciesType complexType、DigestedCodePackage 元素、DigestedEndpoint 元素本地
名字 ResourceGovernancePolicy
minOccurs 0

XML 源

<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="ResourceGovernancePolicy" type="ResourceGovernancePolicyType" minOccurs="0">
        <xs:annotation>
          <xs:documentation>Specifies resource limits for a codepackage.</xs:documentation>
        </xs:annotation>
      </xs:element>

ResourceOverrides 元素

指定服务清单资源中声明的终结点的资源替代。

Attribute 价值
类型 ResourceOverridesType
内容 0 元素(s)、0 特性(s)
定义 在 ServiceManifestImport 元素本地
名字 ResourceOverrides
minOccurs 0

XML 源

<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="ResourceOverrides" type="ResourceOverridesType" minOccurs="0"/>

Resources 元素

描述此服务使用的资源,可以在不修改已编译代码的情况下声明这些资源,并在部署服务时进行更改。 通过应用程序清单的“主体和策略”部分控制对这些资源的访问。

Attribute 价值
类型 ResourcesType
内容 0 元素(s)、0 特性(s)
定义 ServiceManifestType complexType 本地
名字 资源
minOccurs 0

XML 源

<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="Resources" type="ResourcesType" minOccurs="0"/>

Role 元素(类型 AzureRoleType)

Attribute 价值
类型 AzureRoleType
内容 0 元素(s)、0 特性(s)
定义 在 Roles 元素本地
名字 角色
maxOccurs 无限制

XML 源

<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="Role" type="AzureRoleType" maxOccurs="unbounded"/>

Role 元素 (Type BlackbirdRoleType)

Attribute 价值
类型 BlackbirdRoleType
内容 0 元素(s)、0 特性(s)
定义 在 Roles 元素本地
名字 角色
minOccurs 1
maxOccurs 无限制

XML 源

<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="Role" type="BlackbirdRoleType" minOccurs="1" maxOccurs="unbounded"/>

Role 元素(类型 PaaSRoleType)

Attribute 价值
类型 PaaSRoleType
内容 0 元素(s)、0 特性(s)
定义 在 Roles 元素本地
名字 角色
maxOccurs 无限制

XML 源

<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="Role" type="PaaSRoleType" maxOccurs="unbounded"/>

Roles 元素(在 Blackbird 中定义)

Attribute 价值
类型 anonymous complexType
内容 1 个元素(s)、0 个属性(s)
定义 在 Blackbird 元素本地
名字 角色

XML 源

<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="Roles">
                                                                                <xs:complexType>
                                                                                        <xs:sequence>
                                                                                                <xs:element name="Role" type="BlackbirdRoleType" minOccurs="1" maxOccurs="unbounded"/>
                                                                                        </xs:sequence>
                                                                                </xs:complexType>
                                                                        </xs:element>

内容元素详细信息

角色

Attribute 价值
名字 角色
类型 BlackbirdRoleType
minOccurs 1
maxOccurs 无限制

Roles 元素(在 PaaS 中定义)

Attribute 价值
类型 anonymous complexType
内容 1 个元素(s)、0 个属性(s)
定义 在 PaaS 元素本地
名字 角色

XML 源

<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="Roles">
                                                                                <xs:complexType>
                                                                                        <xs:sequence>
                                                                                                <xs:element name="Role" type="PaaSRoleType" maxOccurs="unbounded"/>
                                                                                        </xs:sequence>
                                                                                </xs:complexType>
                                                                        </xs:element>

内容元素详细信息

角色

Attribute 价值
名字 角色
类型 PaaSRoleType
maxOccurs 无限制

Roles 元素(在 WindowsAzure 中定义)

Attribute 价值
类型 anonymous complexType
内容 1 个元素(s)、0 个属性(s)
定义 在 WindowsAzure 元素本地
名字 角色

XML 源

<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="Roles">
                                                                                <xs:complexType>
                                                                                        <xs:sequence>
                                                                                                <xs:element name="Role" type="AzureRoleType" maxOccurs="unbounded"/>
                                                                                        </xs:sequence>
                                                                                </xs:complexType>
                                                                        </xs:element>

内容元素详细信息

角色

Attribute 价值
名字 角色
类型 AzureRoleType
maxOccurs 无限制

RunAsPolicy 元素

指定服务代码包将作为其运行方式的本地用户或本地系统帐户。 Microsoft Entra ID 可用的 Windows Server 部署支持域帐户。 默认情况下,应用程序在运行 Fabric.exe 进程的帐户下运行。 应用程序还可以作为其他帐户运行,这些帐户必须在 Principals 节中声明。 如果将 RunAs 策略应用于服务,并且服务清单使用 HTTP 协议声明终结点资源,则还必须指定 SecurityAccessPolicy,以确保为运行服务的 RunAs 用户帐户正确列出了分配给这些终结点的端口。 对于 HTTPS 终结点,还必须定义 EndpointBindingPolicy 以指示要返回到客户端的证书的名称。

Attribute 价值
类型 RunAsPolicyType
内容 0 元素(s)、0 特性(s)
定义 ServiceManifestImportPoliciesType complexType、DigestedCodePackage 元素本地
名字 RunAsPolicy
minOccurs 0

XML 源

<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="RunAsPolicy" type="RunAsPolicyType" minOccurs="0"/>

RunFrequency 元素

Attribute 价值
类型 anonymous complexType
内容 0 元素(s)、1 个属性(s)
定义 在 ExeHost 元素本地
名字 RunFrequency
minOccurs 0

XML 源

<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="RunFrequency" minOccurs="0">
                    <xs:complexType>
                      <xs:attribute name="IntervalInSeconds" use="required">
                        <xs:simpleType>
                          <xs:restriction base="xs:int">
                            <xs:minInclusive value="0"/>
                            <xs:maxInclusive value="2147483647"/>
                          </xs:restriction>
                        </xs:simpleType>
                      </xs:attribute>
                    </xs:complexType>
                  </xs:element>

属性详细信息

IntervalInSeconds

Attribute 价值
名字 IntervalInSeconds
使用 (必需)

ScalingPolicy 元素

由触发器和缩放机制组成的缩放策略说明。

Attribute 价值
类型 ScalingPolicyType
内容 0 元素(s)、0 特性(s)
定义 在 ServiceScalingPolicies 元素本地
名字 ScalingPolicy
maxOccurs 无限制

XML 源

<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="ScalingPolicy" type="ScalingPolicyType" maxOccurs="unbounded"/>

SecretsCertificate 元素

这指定证书信息。

Attribute 价值
类型 FabricCertificateType
内容 0 元素(s)、0 特性(s)
定义 在 Certificates 元素、Certificates 元素、DigestedCertificates 元素本地
名字 SecretsCertificate
minOccurs 0

XML 源

<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="SecretsCertificate" type="FabricCertificateType" minOccurs="0"/>

Section 元素(在 SettingsOverridesType 中定义)

要重写的 Settings.xml 文件中的一部分。

Attribute 价值
类型 anonymous complexType
内容 1 个元素(s)、1 个属性(s)
定义 SettingsOverridesType complexType 本地
名字 章节
maxOccurs 无限制

XML 源

<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="Section" maxOccurs="unbounded">
        <xs:annotation>
          <xs:documentation>A section in the Settings.xml file to override.</xs:documentation>
        </xs:annotation>
        <xs:complexType>
          <xs:sequence>
            <xs:element name="Parameter" minOccurs="0" maxOccurs="unbounded">
              <xs:annotation>
                <xs:documentation>The setting to override.</xs:documentation>
              </xs:annotation>
              <xs:complexType>
                <xs:attributeGroup ref="NameValuePair"/>
                <xs:attribute name="IsEncrypted" type="xs:boolean" default="false">
                  <xs:annotation>
                    <xs:documentation>
                      If true, the value of this parameter is encrypted. The application developer is responsible for creating a certificate and using the Invoke-ServiceFabricEncryptSecret cmdlet to encrypt sensitive information. The certificate information that will be used to encrypt the value is specified in the Certificates section. This attribute is deprecated. Please use Type attribute.
                    </xs:documentation>
                                    </xs:annotation>
                                </xs:attribute>
                <xs:attribute name="Type" type="xs:string" use="optional">
                  <xs:annotation>
                    <xs:documentation>
                      This value defines the type of value you have specified in the 'Value' Attribute. It can be SecretsStoreRef/Encrypted/PlainText.
                      If set to SecretsStoreRef, we retrieve  the reference value from the SecretStore.
                      If set to Encrypted, the application developer is responsible for creating a certificate and using the Invoke-ServiceFabricEncryptSecret cmdlet to encrypt sensitive information.
                    </xs:documentation>
                  </xs:annotation>
                </xs:attribute>
                            </xs:complexType>
                        </xs:element>
                    </xs:sequence>
                    <xs:attribute name="Name" use="required">
                        <xs:annotation>
                            <xs:documentation>The name of the section in the Settings.xml file to override.</xs:documentation>
                        </xs:annotation>
                        <xs:simpleType>
                            <xs:restriction base="xs:string">
                                <xs:minLength value="1"/>
                            </xs:restriction>
                        </xs:simpleType>
                    </xs:attribute>
                </xs:complexType>
            </xs:element>

属性详细信息

名称

要重写的 Settings.xml 文件中节的名称。

Attribute 价值
名字 名称
使用 (必需)

内容元素详细信息

参数

要重写的设置。

Attribute 价值
名字 参数
minOccurs 0
maxOccurs 无限制

Section 元素(在 SettingsType 中定义)

用户定义的命名节。

Attribute 价值
类型 anonymous complexType
内容 1 个元素(s)、1 个属性(s)
定义 SettingsType complexType 本地
名字 章节
minOccurs 0
maxOccurs 无限制

XML 源

<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="Section" minOccurs="0" maxOccurs="unbounded">
        <xs:annotation>
          <xs:documentation>A user-defined named section.</xs:documentation>
        </xs:annotation>
        <xs:complexType>
          <xs:sequence>
            <xs:element name="Parameter" minOccurs="0" maxOccurs="unbounded">
              <xs:complexType>
                <xs:attribute name="Name" type="xs:string" use="required"/>
                <xs:attribute name="Value" type="xs:string" use="required"/>
                <xs:attribute name="MustOverride" type="xs:boolean" default="false">
                  <xs:annotation>
                    <xs:documentation>If true, the value of this parameter must be overridden by higher level configuration.</xs:documentation>
                  </xs:annotation>
                </xs:attribute>
                <xs:attribute name="IsEncrypted" type="xs:boolean" default="false">
                  <xs:annotation>
                    <xs:documentation>If true, the value of this parameter is encrypted.</xs:documentation>
                  </xs:annotation>
                </xs:attribute>
                <xs:attribute name="Type" type="xs:string" use="optional"/>
              </xs:complexType>
            </xs:element>
          </xs:sequence>
          <xs:attribute name="Name" type="xs:string" use="required"/>
        </xs:complexType>
      </xs:element>

属性详细信息

名称

Attribute 价值
名字 名称
类型 xs:string
使用 (必需)

内容元素详细信息

参数

Attribute 价值
名字 参数
minOccurs 0
maxOccurs 无限制

SecurityAccessPolicies 元素

应用于应用程序级别的资源的安全策略列表。

Attribute 价值
类型 anonymous complexType
内容 1 个元素(s)、0 个属性(s)
定义 ApplicationPoliciesType complexType 本地
名字 SecurityAccessPolicies
minOccurs 0

XML 源

<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="SecurityAccessPolicies" minOccurs="0">
                                <xs:annotation>
                                        <xs:documentation>List of security policies applied to resources at the application level.</xs:documentation>
                                </xs:annotation>
                                <xs:complexType>
                                        <xs:sequence maxOccurs="unbounded">
                                                <xs:element name="SecurityAccessPolicy" type="SecurityAccessPolicyType"/>
                                        </xs:sequence>
                                </xs:complexType>
                        </xs:element>

内容元素详细信息

SecurityAccessPolicy

Attribute 价值
名字 SecurityAccessPolicy
类型 SecurityAccessPolicyType

SecurityAccessPolicy 元素

向服务清单中定义的资源(例如终结点)上的主体授予访问权限。 通常,控制和限制服务对不同资源的访问非常有用,以最大程度地降低安全风险。 当应用程序从由不同开发人员开发的市场中生成的服务集合生成时,这一点尤其重要。

Attribute 价值
类型 SecurityAccessPolicyType
内容 0 元素(s)、0 特性(s)
定义 ServiceManifestImportPoliciesType complexType、SecurityAccessPolicies 元素、DigestedEndpoint 元素本地
名字 SecurityAccessPolicy
minOccurs 0

XML 源

<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="SecurityAccessPolicy" type="SecurityAccessPolicyType" minOccurs="0"/>

SecurityOption 元素

指定容器的安全选项。

Attribute 价值
类型 SecurityOptionsType
内容 0 元素(s)、0 特性(s)
定义 ContainerHostPoliciesType complexType 本地
名字 SecurityOption
minOccurs 0
maxOccurs 无限制

XML 源

<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="SecurityOption" type="SecurityOptionsType" minOccurs="0" maxOccurs="unbounded">
        <xs:annotation>
          <xs:documentation>Specifies securityoptions for the container.</xs:documentation>
        </xs:annotation>
      </xs:element>

ServerCertificate 元素

用于保护群集内部通信的证书。

Attribute 价值
类型 FabricCertificateType
内容 0 元素(s)、0 特性(s)
定义 CertificatesType complexType 本地
名字 ServerCertificate
minOccurs 0

XML 源

<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="ServerCertificate" type="FabricCertificateType" minOccurs="0">
        <xs:annotation>
          <xs:documentation>The certificate used to secure the intra cluster communication.</xs:documentation>
        </xs:annotation>
      </xs:element>

Service 元素

声明在实例化应用程序时自动创建的服务。

Attribute 价值
类型 anonymous complexType
内容 2 个元素,4 个特性(s)
定义 DefaultServicesType complexType 本地
名字 Service

XML 源

<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="Service">
                    <xs:annotation>
                        <xs:documentation>Declares a service to be created automatically when the application is instantiated.</xs:documentation>
                    </xs:annotation>
                    <xs:complexType>
                        <xs:choice minOccurs="0">
                            <xs:element name="StatelessService" type="StatelessServiceType"/>
                            <xs:element name="StatefulService" type="StatefulServiceType"/>
                        </xs:choice>
                        <xs:attribute name="Name" type="xs:string" use="required">
                            <xs:annotation>
                                <xs:documentation>The service name, used to form the fully qualified application name URI. The fully qualified name URI of the service would be: fabric:/ApplicationName/ServiceName.</xs:documentation>
                            </xs:annotation>
                        </xs:attribute>
                        <xs:attribute name="GeneratedIdRef" type="xs:string" use="optional">
                            <xs:annotation>
                                <xs:documentation>Reference to the auto generated id used by Visual Studio tooling.</xs:documentation>
                            </xs:annotation>
                        </xs:attribute>
                        <xs:attribute name="ServiceDnsName" type="xs:string" use="optional">
                          <xs:annotation>
                            <xs:documentation>The DNS name of the service.</xs:documentation>
                          </xs:annotation>
                        </xs:attribute>
                        <xs:attribute name="ServicePackageActivationMode" type="xs:string" use="optional" default="SharedProcess">
                          <xs:annotation>
                            <xs:documentation>ServicePackageActivationMode to be used when creating the service. Allowed values are 'SharedProcess' and 'ExclusiveProcess'. With SharedProcess mode, replica(s) or instance(s) from different partition(s) of service will share same activation of service package on a node. With ExclusiveProcess mode, each replica or instance of service will have its own dedicated activation of service package.</xs:documentation>
                          </xs:annotation>
                        </xs:attribute>
                    </xs:complexType>
                </xs:element>

属性详细信息

名称

服务名称,用于形成完全限定的应用程序名称 URI。 服务的完全限定名称 URI 为:fabric:/ApplicationName/ServiceName。

Attribute 价值
名字 名称
类型 xs:string
使用 (必需)

GeneratedIdRef

对 Visual Studio 工具使用的自动生成 ID 的引用。

Attribute 价值
名字 GeneratedIdRef
类型 xs:string
使用 optional

ServiceDnsName

服务的 DNS 名称。

Attribute 价值
名字 ServiceDnsName
类型 xs:string
使用 optional

ServicePackageActivationMode

创建服务时要使用的 ServicePackageActivationMode。 允许的值为“SharedProcess”和“ExclusiveProcess”。 使用 SharedProcess 模式,不同分区的副本或实例(s)将在节点上共享相同的服务包激活。 使用 ExclusiveProcess 模式时,每个服务的副本或实例都将有自己的专用服务包激活。

Attribute 价值
名字 ServicePackageActivationMode
类型 xs:string
使用 optional
默认 SharedProcess

内容元素详细信息

StatelessService

Attribute 价值
名字 StatelessService
类型 StatelessServiceType

StatefulService

Attribute 价值
名字 StatefulService
类型 StatefulServiceType

ServiceConnectionEndpoint 元素

Attribute 价值
类型 InternalEndpointType
内容 0 元素(s)、0 特性(s)
定义 FabricEndpointsType complexType 本地
名字 ServiceConnectionEndpoint
minOccurs 0

XML 源

<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="ServiceConnectionEndpoint" type="InternalEndpointType" minOccurs="0"/>

ServiceCorrelation 元素

定义与另一个服务的相关性关系。 将以前单一式应用程序拆分为微服务时非常有用。 一个服务对另一个服务具有本地依赖关系,两个服务都需要在同一节点上运行才能正常工作。

Attribute 价值
类型 anonymous complexType
内容 0 元素(s)、2 个特性(s)
定义 在 ServiceCorrelations 元素本地
名字 ServiceCorrelation
maxOccurs 无限制

XML 源

<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="ServiceCorrelation" maxOccurs="unbounded">
                            <xs:annotation>
                                <xs:documentation>Defines an affinity relationship with another service. Useful when splitting a previously-monolithic application into microservices.  One service has a local dependency on another service and both services need to run on the same node in order to work.</xs:documentation>
                            </xs:annotation>
                            <xs:complexType>
                                <xs:attribute name="ServiceName" use="required">
                                    <xs:annotation>
                                        <xs:documentation>The name of the other service as a URI. Example, "fabric:/otherApplication/parentService".</xs:documentation>
                                    </xs:annotation>
                                    <xs:simpleType>
                                        <xs:restriction base="xs:string">
                                            <xs:minLength value="1"/>
                                        </xs:restriction>
                                    </xs:simpleType>
                                </xs:attribute>
                                <xs:attribute name="Scheme" use="required">
                                    <xs:annotation>
                                        <xs:documentation>In NonAlignedAffinity the replicas or instances of the different services are placed on the same nodes. AlignedAffinity is used with stateful services. Configuring one stateful service as having aligned affinity with another stateful service ensures that the primaries of those services are placed on the same nodes as each other, and that each pair of secondaries are also placed on the same nodes.</xs:documentation>
                                    </xs:annotation>
                                    <xs:simpleType>
                                        <xs:restriction base="xs:string">
                                            <xs:enumeration value="Affinity"/>
                                            <xs:enumeration value="AlignedAffinity"/>
                                            <xs:enumeration value="NonAlignedAffinity"/>
                                        </xs:restriction>
                                    </xs:simpleType>
                                </xs:attribute>
                            </xs:complexType>
                        </xs:element>

属性详细信息

ServiceName

其他服务的名称作为 URI。 示例“fabric:/otherApplication/parentService”。

Attribute 价值
名字 ServiceName
使用 (必需)

Scheme

在 NonAlignedAffinity 中,不同服务的副本或实例放置在同一节点上。 AlignedAffinity 与有状态服务一起使用。 将一个有状态服务配置为与另一个有状态服务保持一致相关性,可确保这些服务的初选与彼此位于同一节点上,并且每个辅助副本也放置在同一节点上。

Attribute 价值
名字 Scheme
使用 (必需)

ServiceCorrelations 元素

定义服务之间的相关性关系。

Attribute 价值
类型 anonymous complexType
内容 1 个元素(s)、0 个属性(s)
定义 ServiceType complexType 本地
名字 ServiceCorrelations
minOccurs 0

XML 源

<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="ServiceCorrelations" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Defines affinity relationships between services.</xs:documentation>
                </xs:annotation>
                <xs:complexType>
                    <xs:sequence>
                        <xs:element name="ServiceCorrelation" maxOccurs="unbounded">
                            <xs:annotation>
                                <xs:documentation>Defines an affinity relationship with another service. Useful when splitting a previously-monolithic application into microservices.  One service has a local dependency on another service and both services need to run on the same node in order to work.</xs:documentation>
                            </xs:annotation>
                            <xs:complexType>
                                <xs:attribute name="ServiceName" use="required">
                                    <xs:annotation>
                                        <xs:documentation>The name of the other service as a URI. Example, "fabric:/otherApplication/parentService".</xs:documentation>
                                    </xs:annotation>
                                    <xs:simpleType>
                                        <xs:restriction base="xs:string">
                                            <xs:minLength value="1"/>
                                        </xs:restriction>
                                    </xs:simpleType>
                                </xs:attribute>
                                <xs:attribute name="Scheme" use="required">
                                    <xs:annotation>
                                        <xs:documentation>In NonAlignedAffinity the replicas or instances of the different services are placed on the same nodes. AlignedAffinity is used with stateful services. Configuring one stateful service as having aligned affinity with another stateful service ensures that the primaries of those services are placed on the same nodes as each other, and that each pair of secondaries are also placed on the same nodes.</xs:documentation>
                                    </xs:annotation>
                                    <xs:simpleType>
                                        <xs:restriction base="xs:string">
                                            <xs:enumeration value="Affinity"/>
                                            <xs:enumeration value="AlignedAffinity"/>
                                            <xs:enumeration value="NonAlignedAffinity"/>
                                        </xs:restriction>
                                    </xs:simpleType>
                                </xs:attribute>
                            </xs:complexType>
                        </xs:element>
                    </xs:sequence>
                </xs:complexType>
            </xs:element>

内容元素详细信息

ServiceCorrelation

定义与另一个服务的相关性关系。 将以前单一式应用程序拆分为微服务时非常有用。 一个服务对另一个服务具有本地依赖关系,两个服务都需要在同一节点上运行才能正常工作。

Attribute 价值
名字 ServiceCorrelation
maxOccurs 无限制

ServiceFabricRuntimeAccessPolicy 元素

指定用于确定 Service Fabric 运行时如何向副本公开的策略。

Attribute 价值
类型 ServiceFabricRuntimeAccessPolicyType
内容 0 元素(s)、0 特性(s)
定义 ServiceManifestImportPoliciesType complexTypeServicePackageType complexType 本地
名字 ServiceFabricRuntimeAccessPolicy
minOccurs 0
maxOccurs 1

XML 源

<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="ServiceFabricRuntimeAccessPolicy" type="ServiceFabricRuntimeAccessPolicyType" minOccurs="0" maxOccurs="1">
      <xs:annotation>
        <xs:documentation>Specifies policies that determine how the service fabric runtime is exposed to the replicas.</xs:documentation>
      </xs:annotation>
      </xs:element>

ServiceGroup 元素

自动定位在一起的服务集合,因此它们也会在故障转移或资源管理期间一起移动。

Attribute 价值
类型 anonymous complexType
内容 2 个元素,2 个特性(s)
定义 DefaultServicesType complexType 本地
名字 ServiceGroup

XML 源

<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="ServiceGroup">
                    <xs:annotation>
                        <xs:documentation>A collection of services that are automatically located together, so they are also moved together during fail-over or resource management.</xs:documentation>
                    </xs:annotation>
                    <xs:complexType>
                        <xs:choice minOccurs="0">
                            <xs:element name="StatelessServiceGroup" type="StatelessServiceGroupType"/>
                            <xs:element name="StatefulServiceGroup" type="StatefulServiceGroupType"/>
                        </xs:choice>
                        <xs:attribute name="Name" type="xs:string" use="required">
                            <xs:annotation>
                                <xs:documentation>Name of this service relative to this application Name URI. Fully qualified Name of the service is a combination of Name Uri of the Application and this Name.</xs:documentation>
                            </xs:annotation>
                        </xs:attribute>
                        <xs:attribute name="ServicePackageActivationMode" type="xs:string" use="optional" default="SharedProcess">
                          <xs:annotation>
                            <xs:documentation>ServicePackageActivationMode to be used when creating the service. Allowed values are 'SharedProcess' and 'ExclusiveProcess'. With SharedProcess mode, replica(s) or instance(s) from different partition(s) of service will share same activation of service package on a node. With ExclusiveProcess mode, each replica or instance of service will have its own dedicated activation of service package.</xs:documentation>
                          </xs:annotation>
                        </xs:attribute>
                    </xs:complexType>
                </xs:element>

属性详细信息

名称

此服务的名称相对于此应用程序名称 URI。 服务的完全限定名称是应用程序的名称 URI 和此名称的组合。

Attribute 价值
名字 名称
类型 xs:string
使用 (必需)

ServicePackageActivationMode

创建服务时要使用的 ServicePackageActivationMode。 允许的值为“SharedProcess”和“ExclusiveProcess”。 使用 SharedProcess 模式,不同分区的副本或实例(s)将在节点上共享相同的服务包激活。 使用 ExclusiveProcess 模式时,每个服务的副本或实例都将有自己的专用服务包激活。

Attribute 价值
名字 ServicePackageActivationMode
类型 xs:string
使用 optional
默认 SharedProcess

内容元素详细信息

StatelessServiceGroup

Attribute 价值
名字 StatelessServiceGroup
类型 StatelessServiceGroupType

StatefulServiceGroup

Attribute 价值
名字 StatefulServiceGroup
类型 StatefulServiceGroupType

ServiceGroupMembers 元素

此服务组类型的成员类型。

Attribute 价值
类型 anonymous complexType
内容 1 个元素(s)、0 个属性(s)
定义 ServiceGroupTypeType complexType 本地
名字 ServiceGroupMembers
minOccurs 0
maxOccurs 1

XML 源

<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="ServiceGroupMembers" minOccurs="0" maxOccurs="1">
        <xs:annotation>
          <xs:documentation>Member types of this service group type.</xs:documentation>
        </xs:annotation>
        <xs:complexType>
          <xs:sequence>
            <xs:element ref="ServiceGroupTypeMember" minOccurs="1" maxOccurs="unbounded"/>
          </xs:sequence>
        </xs:complexType>
      </xs:element>

内容元素详细信息

没有

Attribute 价值
参考 ServiceGroupTypeMember
minOccurs 1
maxOccurs 无限制

ServiceGroupTypeMember 元素

描述服务组的成员类型。

Attribute 价值
类型 anonymous complexType
内容 1 个元素(s)、1 个属性(s)
定义 全球
名字 ServiceGroupTypeMember

XML 源

<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="ServiceGroupTypeMember">
    <xs:annotation>
      <xs:documentation>Describes the member type of the service group.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:element name="LoadMetrics" minOccurs="0">
          <xs:annotation>
            <xs:documentation>Load metrics reported by this service, used for resource balancing services.</xs:documentation>
          </xs:annotation>
          <xs:complexType>
            <xs:sequence>
              <xs:element name="LoadMetric" type="LoadMetricType" maxOccurs="unbounded"/>
            </xs:sequence>
          </xs:complexType>
        </xs:element>
      </xs:sequence>
      <xs:attribute name="ServiceTypeName" use="required">
        <xs:annotation>
          <xs:documentation>User-defined type identifier for a Azure Service Fabric ServiceGroup Member, .e.g Actor</xs:documentation>
        </xs:annotation>
        <xs:simpleType>
          <xs:restriction base="xs:string">
            <xs:minLength value="1"/>
          </xs:restriction>
        </xs:simpleType>
      </xs:attribute>
    </xs:complexType>
  </xs:element>

属性详细信息

服务类型名称

Azure Service Fabric ServiceGroup 成员的用户定义类型标识符,例如 Actor

Attribute 价值
名字 服务类型名称
使用 (必需)

内容元素详细信息

LoadMetrics

此服务报告的负载指标,用于资源均衡服务。

Attribute 价值
名字 LoadMetrics
minOccurs 0

ServiceManifest 元素

以声明方式描述服务类型和版本。 其中列出了独立可升级的代码、配置和数据包,这些包共同组成服务包以支持一个或多个服务类型。 还指定了资源、诊断设置和服务元数据,例如服务类型、运行状况属性和负载均衡指标。

Attribute 价值
类型 ServiceManifestType
内容 0 元素(s)、0 特性(s)
定义 全球
名字 ServiceManifest

XML 源

<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="ServiceManifest" type="ServiceManifestType"/>

ServiceManifestImport 元素

导入服务开发人员创建的服务清单。 必须为应用程序中的每个构成服务导入服务清单。 可以为服务清单声明配置替代和策略。

Attribute 价值
类型 anonymous complexType
内容 5 个元素,0 个属性(s)
定义 ApplicationManifestType complexType 本地
名字 ServiceManifestImport
maxOccurs 无限制

XML 源

<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="ServiceManifestImport" maxOccurs="unbounded">
        <xs:annotation>
          <xs:documentation>Imports a service manifest created by the service developer. A service manifest must be imported for each constituent service in the application. Configuration overrides and policies can be declared for the service manifest.</xs:documentation>
        </xs:annotation>
        <xs:complexType>
          <xs:sequence>
            <xs:element name="ServiceManifestRef" type="ServiceManifestRefType"/>
            <xs:element name="ConfigOverrides" minOccurs="0">
              <xs:annotation>
                <xs:documentation>Describes configuration overrides for the imported service manifest. Configuration overrides allow the flexibility of re-using the same service manifests across multiple application types by overriding the service manifest's configuration only when used with a particular application type. Configuration overrides can change any default configuration in a service manifest as long as default configuration is defined using the Settings.xml in the ConfigPackage folder. </xs:documentation>
              </xs:annotation>
              <xs:complexType>
                <xs:sequence>
                  <xs:element name="ConfigOverride" type="ConfigOverrideType" minOccurs="0" maxOccurs="unbounded"/>
                </xs:sequence>
              </xs:complexType>
            </xs:element>
            <xs:element name="ResourceOverrides" type="ResourceOverridesType" minOccurs="0"/>
            <xs:element name="EnvironmentOverrides" type="EnvironmentOverridesType" minOccurs="0" maxOccurs="unbounded"/>
            <xs:element name="Policies" type="ServiceManifestImportPoliciesType" minOccurs="0"/>
          </xs:sequence>
        </xs:complexType>
      </xs:element>

内容元素详细信息

ServiceManifestRef

Attribute 价值
名字 ServiceManifestRef
类型 ServiceManifestRefType

ConfigOverrides

描述导入的服务清单的配置替代。 配置替代允许在多个应用程序类型之间重用同一服务清单的灵活性,只需在与特定应用程序类型一起使用时才重写服务清单的配置。 只要使用 ConfigPackage 文件夹中 Settings.xml 定义默认配置,配置替代就可以更改服务清单中的任何默认配置。

Attribute 价值
名字 ConfigOverrides
minOccurs 0

ResourceOverrides

Attribute 价值
名字 ResourceOverrides
类型 ResourceOverridesType
minOccurs 0

EnvironmentOverrides

Attribute 价值
名字 EnvironmentOverrides
类型 EnvironmentOverridesType
minOccurs 0
maxOccurs 无限制

策略

Attribute 价值
名字 策略
类型 ServiceManifestImportPoliciesType
minOccurs 0

ServiceManifestRef 元素

按引用导入服务清单。 当前,服务清单文件(ServiceManifest.xml)必须存在于生成包中。

Attribute 价值
类型 ServiceManifestRefType
内容 0 元素(s)、0 特性(s)
定义 在 ServiceManifestImport 元素本地
名字 ServiceManifestRef

XML 源

<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="ServiceManifestRef" type="ServiceManifestRefType"/>

ServicePackage 元素

ServicePackage 表示部署和激活的版本控制单元。 ServicePackage 的版本根据清单版本和替代版本确定。

Attribute 价值
类型 ServicePackageType
内容 0 元素(s)、0 特性(s)
定义 全球
名字 ServicePackage

XML 源

<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="ServicePackage" type="ServicePackageType">
    <xs:annotation>
      <xs:documentation>ServicePackage represents a versioned unit of deployment and activation. The version of the ServicePackage is determined based on the manifest version and the version of the overrides.</xs:documentation>
    </xs:annotation>
  </xs:element>

ServicePackageContainerPolicy 元素

Attribute 价值
类型 ServicePackageContainerPolicyType
内容 0 元素(s)、0 特性(s)
定义 ServiceManifestImportPoliciesType complexTypeServicePackageType complexType 本地
名字 ServicePackageContainerPolicy
minOccurs 0
maxOccurs 1

XML 源

<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="ServicePackageContainerPolicy" type="ServicePackageContainerPolicyType" minOccurs="0" maxOccurs="1"/>

ServicePackageRef 元素

Attribute 价值
类型 anonymous complexType
内容 0 元素(s)、1 个属性(s)
定义 ApplicationInstanceType complexType 本地
名字 ServicePackageRef
maxOccurs 无限制

XML 源

<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="ServicePackageRef" maxOccurs="unbounded">
        <xs:complexType>
          <xs:attribute name="Name" use="required"/>
          <xs:attributeGroup ref="VersionedItemAttrGroup"/>
        </xs:complexType>
      </xs:element>

属性详细信息

名称

Attribute 价值
名字 名称
使用 (必需)

ServicePackageResourceGovernancePolicy 元素

定义在整个服务包级别应用的资源治理策略。

Attribute 价值
类型 ServicePackageResourceGovernancePolicyType
内容 0 元素(s)、0 特性(s)
定义 ServiceManifestImportPoliciesType complexTypeServicePackageType complexType 本地
名字 ServicePackageResourceGovernancePolicy
minOccurs 0
maxOccurs 1

XML 源

<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="ServicePackageResourceGovernancePolicy" type="ServicePackageResourceGovernancePolicyType" minOccurs="0" maxOccurs="1">
        <xs:annotation>
          <xs:documentation>Defines the resource governance policy that is applied at the level of the entire service package.</xs:documentation>
        </xs:annotation>
      </xs:element>

ServicePlacementPolicies 元素(在 ServiceTypeType 中定义)

声明服务的放置策略。 当群集跨越地理距离或/或地缘政治区域时非常有用。

Attribute 价值
类型 anonymous complexType
内容 1 个元素(s)、0 个属性(s)
定义 ServiceTypeType complexType 本地
名字 ServicePlacementPolicies
minOccurs 0

XML 源

<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="ServicePlacementPolicies" minOccurs="0">
        <xs:annotation>
          <xs:documentation>Declares placement policies for a service.  Useful when the cluster spans geographic distances or and/or geopolitical regions.</xs:documentation>
        </xs:annotation>
        <xs:complexType>
          <xs:sequence>
            <xs:element name="ServicePlacementPolicy" maxOccurs="unbounded">
              <xs:annotation>
                <xs:documentation>Defines a service placement policy, which specifies that the service should or should not run in certain cluster fault domains.  Useful when the cluster spans geographic distances or and/or geopolitical regions.</xs:documentation>
              </xs:annotation>
              <xs:complexType>
                <xs:attribute name="DomainName">
                  <xs:annotation>
                    <xs:documentation>The fault domain where the service should or should not be placed, depending on the Type value.</xs:documentation>
                  </xs:annotation>
                  <xs:simpleType>
                    <xs:restriction base="xs:string">
                      <xs:minLength value="1"/>
                    </xs:restriction>
                  </xs:simpleType>
                </xs:attribute>
                <xs:attribute name="Type" use="required">
                  <xs:annotation>
                    <xs:documentation>InvalidDomain allows you to specify that a particular Fault Domain is invalid for this workload. RequiredDomain requires that all of the replicas be present in the specified domain. Multiple required domains can be specified. PreferredPrimaryDomain specifies the preferred Fault Domain for primary replicas. Useful in geographically spanned clusters where you are using other locations for redundancy, but would prefer that the primary replicas be placed in a certain location in order to provider lower latency for operations which go to the primary. RequiredDomainDistribution specifies that replicas are required to be distributed among the available fault domains. NonPartiallyPlace controls if the service replicas will be partially place if not all of them can be placed. </xs:documentation>
                  </xs:annotation>
                  <xs:simpleType>
                    <xs:restriction base="xs:string">
                      <xs:enumeration value="InvalidDomain"/>
                      <xs:enumeration value="RequiredDomain"/>
                      <xs:enumeration value="PreferredPrimaryDomain"/>
                      <xs:enumeration value="RequiredDomainDistribution"/>
                      <xs:enumeration value="NonPartiallyPlace"/>
                    </xs:restriction>
                  </xs:simpleType>
                </xs:attribute>
              </xs:complexType>
            </xs:element>
          </xs:sequence>
        </xs:complexType>
      </xs:element>

内容元素详细信息

ServicePlacementPolicy

定义服务放置策略,该策略指定服务应或不应在某些群集容错域中运行。 当群集跨越地理距离或/或地缘政治区域时非常有用。

Attribute 价值
名字 ServicePlacementPolicy
maxOccurs 无限制

ServicePlacementPolicies 元素(在 ServiceType 中定义)

声明服务的放置策略。 当群集跨越地理距离或/或地缘政治区域时非常有用。

Attribute 价值
类型 anonymous complexType
内容 1 个元素(s)、0 个属性(s)
定义 ServiceType complexType 本地
名字 ServicePlacementPolicies
minOccurs 0

XML 源

<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="ServicePlacementPolicies" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Declares placement policies for a service.  Useful when the cluster spans geographic distances or and/or geopolitical regions.</xs:documentation>
                </xs:annotation>
                <xs:complexType>
                    <xs:sequence>
                        <xs:element name="ServicePlacementPolicy" maxOccurs="unbounded">
                            <xs:annotation>
                                <xs:documentation>Defines a service placement policy, which specifies that the service should or should not run in certain cluster fault domains.  Useful when the cluster spans geographic distances or and/or geopolitical regions.</xs:documentation>
                            </xs:annotation>
                            <xs:complexType>
                                <xs:attribute name="DomainName">
                                    <xs:annotation>
                                        <xs:documentation>The fault domain where the service should or should not be placed, depending on the Type value.</xs:documentation>
                                    </xs:annotation>
                                    <xs:simpleType>
                                        <xs:restriction base="xs:string">
                                            <xs:minLength value="1"/>
                                        </xs:restriction>
                                    </xs:simpleType>
                                </xs:attribute>
                                <xs:attribute name="Type" use="required">
                                    <xs:annotation>
                                        <xs:documentation>InvalidDomain allows you to specify that a particular Fault Domain is invalid for this workload. RequiredDomain requires that all of the replicas be present in the specified domain. Multiple required domains can be specified. PreferredPrimaryDomain specifies the preferred Fault Domain for primary replicas. Useful in geographically spanned clusters where you are using other locations for redundancy, but would prefer that the primary replicas be placed in a certain location in order to provider lower latency for operations which go to the primary. RequiredDomainDistribution specifies that replicas are required to be distributed among the available fault domains. NonPartiallyPlace controls if the service replicas will be partially place if not all of them can be placed.</xs:documentation>
                                    </xs:annotation>
                                    <xs:simpleType>
                                        <xs:restriction base="xs:string">
                                            <xs:enumeration value="InvalidDomain"/>
                                            <xs:enumeration value="RequiredDomain"/>
                                            <xs:enumeration value="PreferredPrimaryDomain"/>
                                            <xs:enumeration value="RequiredDomainDistribution"/>
                                            <xs:enumeration value="NonPartiallyPlace"/>
                                        </xs:restriction>
                                    </xs:simpleType>
                                </xs:attribute>
                            </xs:complexType>
                        </xs:element>
                    </xs:sequence>
                </xs:complexType>
            </xs:element>

内容元素详细信息

ServicePlacementPolicy

定义服务放置策略,该策略指定服务应或不应在某些群集容错域中运行。 当群集跨越地理距离或/或地缘政治区域时非常有用。

Attribute 价值
名字 ServicePlacementPolicy
maxOccurs 无限制

ServicePlacementPolicy 元素在 ServicePlacementPolicies 中定义

定义服务放置策略,该策略指定服务应或不应在某些群集容错域中运行。 当群集跨越地理距离或/或地缘政治区域时非常有用。

Attribute 价值
类型 anonymous complexType
内容 0 元素(s)、2 个特性(s)
定义 在 ServicePlacementPolicies 元素本地
名字 ServicePlacementPolicy
maxOccurs 无限制

XML 源

<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="ServicePlacementPolicy" maxOccurs="unbounded">
                            <xs:annotation>
                                <xs:documentation>Defines a service placement policy, which specifies that the service should or should not run in certain cluster fault domains.  Useful when the cluster spans geographic distances or and/or geopolitical regions.</xs:documentation>
                            </xs:annotation>
                            <xs:complexType>
                                <xs:attribute name="DomainName">
                                    <xs:annotation>
                                        <xs:documentation>The fault domain where the service should or should not be placed, depending on the Type value.</xs:documentation>
                                    </xs:annotation>
                                    <xs:simpleType>
                                        <xs:restriction base="xs:string">
                                            <xs:minLength value="1"/>
                                        </xs:restriction>
                                    </xs:simpleType>
                                </xs:attribute>
                                <xs:attribute name="Type" use="required">
                                    <xs:annotation>
                                        <xs:documentation>InvalidDomain allows you to specify that a particular Fault Domain is invalid for this workload. RequiredDomain requires that all of the replicas be present in the specified domain. Multiple required domains can be specified. PreferredPrimaryDomain specifies the preferred Fault Domain for primary replicas. Useful in geographically spanned clusters where you are using other locations for redundancy, but would prefer that the primary replicas be placed in a certain location in order to provider lower latency for operations which go to the primary. RequiredDomainDistribution specifies that replicas are required to be distributed among the available fault domains. NonPartiallyPlace controls if the service replicas will be partially place if not all of them can be placed.</xs:documentation>
                                    </xs:annotation>
                                    <xs:simpleType>
                                        <xs:restriction base="xs:string">
                                            <xs:enumeration value="InvalidDomain"/>
                                            <xs:enumeration value="RequiredDomain"/>
                                            <xs:enumeration value="PreferredPrimaryDomain"/>
                                            <xs:enumeration value="RequiredDomainDistribution"/>
                                            <xs:enumeration value="NonPartiallyPlace"/>
                                        </xs:restriction>
                                    </xs:simpleType>
                                </xs:attribute>
                            </xs:complexType>
                        </xs:element>

属性详细信息

域名

应或不应放置服务的容错域,具体取决于 Type 值。

Attribute 价值
名字 域名

类型

InvalidDomain 允许指定特定容错域对此工作负荷无效。 RequiredDomain 要求指定域中存在所有副本。 可以指定多个必需的域。 PreferredPrimaryDomain 指定主要副本的首选容错域。 在地理上跨区域的群集中非常有用,你使用其他位置实现冗余,但希望将主要副本放置在特定位置,以便为转到主副本的操作提供较低的延迟。 RequiredDomainDistribution 指定副本需要分发到可用的容错域之间。 如果服务副本部分放置,则 NonPartiallyPlace 控制是否不能放置所有这些副本。

Attribute 价值
名字 类型
使用 (必需)

ServicePlacementPolicy 元素(在 ServicePlacementPolicies 中定义)

定义服务放置策略,该策略指定服务应或不应在某些群集容错域中运行。 当群集跨越地理距离或/或地缘政治区域时非常有用。

Attribute 价值
类型 anonymous complexType
内容 0 元素(s)、2 个特性(s)
定义 在 ServicePlacementPolicies 元素本地
名字 ServicePlacementPolicy
maxOccurs 无限制

XML 源

<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="ServicePlacementPolicy" maxOccurs="unbounded">
              <xs:annotation>
                <xs:documentation>Defines a service placement policy, which specifies that the service should or should not run in certain cluster fault domains.  Useful when the cluster spans geographic distances or and/or geopolitical regions.</xs:documentation>
              </xs:annotation>
              <xs:complexType>
                <xs:attribute name="DomainName">
                  <xs:annotation>
                    <xs:documentation>The fault domain where the service should or should not be placed, depending on the Type value.</xs:documentation>
                  </xs:annotation>
                  <xs:simpleType>
                    <xs:restriction base="xs:string">
                      <xs:minLength value="1"/>
                    </xs:restriction>
                  </xs:simpleType>
                </xs:attribute>
                <xs:attribute name="Type" use="required">
                  <xs:annotation>
                    <xs:documentation>InvalidDomain allows you to specify that a particular Fault Domain is invalid for this workload. RequiredDomain requires that all of the replicas be present in the specified domain. Multiple required domains can be specified. PreferredPrimaryDomain specifies the preferred Fault Domain for primary replicas. Useful in geographically spanned clusters where you are using other locations for redundancy, but would prefer that the primary replicas be placed in a certain location in order to provider lower latency for operations which go to the primary. RequiredDomainDistribution specifies that replicas are required to be distributed among the available fault domains. NonPartiallyPlace controls if the service replicas will be partially place if not all of them can be placed. </xs:documentation>
                  </xs:annotation>
                  <xs:simpleType>
                    <xs:restriction base="xs:string">
                      <xs:enumeration value="InvalidDomain"/>
                      <xs:enumeration value="RequiredDomain"/>
                      <xs:enumeration value="PreferredPrimaryDomain"/>
                      <xs:enumeration value="RequiredDomainDistribution"/>
                      <xs:enumeration value="NonPartiallyPlace"/>
                    </xs:restriction>
                  </xs:simpleType>
                </xs:attribute>
              </xs:complexType>
            </xs:element>

属性详细信息

域名

应或不应放置服务的容错域,具体取决于 Type 值。

Attribute 价值
名字 域名

类型

InvalidDomain 允许指定特定容错域对此工作负荷无效。 RequiredDomain 要求指定域中存在所有副本。 可以指定多个必需的域。 PreferredPrimaryDomain 指定主要副本的首选容错域。 在地理上跨区域的群集中非常有用,你使用其他位置实现冗余,但希望将主要副本放置在特定位置,以便为转到主副本的操作提供较低的延迟。 RequiredDomainDistribution 指定副本需要分发到可用的容错域之间。 如果服务副本部分放置,则 NonPartiallyPlace 控制是否不能放置所有这些副本。

Attribute 价值
名字 类型
使用 (必需)

ServiceScalingPolicies 元素

声明服务的缩放策略。 可用于根据需求动态缩放服务。

Attribute 价值
类型 anonymous complexType
内容 1 个元素(s)、0 个属性(s)
定义 ServiceType complexType 本地
名字 ServiceScalingPolicies
minOccurs 0

XML 源

<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="ServiceScalingPolicies" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Declares scaling policies for a service. Useful for dynamically scaling the service based on needs. </xs:documentation>
                </xs:annotation>
                <xs:complexType>
                    <xs:sequence>
                        <xs:element name="ScalingPolicy" type="ScalingPolicyType" maxOccurs="unbounded"/>
                    </xs:sequence>
                </xs:complexType>
            </xs:element>

内容元素详细信息

ScalingPolicy

Attribute 价值
名字 ScalingPolicy
类型 ScalingPolicyType
maxOccurs 无限制

ServiceTemplates 元素

声明可在应用程序实例内动态创建的允许的服务类型集。 默认配置值(如复制因子)指定并用作用于创建服务实例的模板。

Attribute 价值
类型 ServiceTemplatesType
内容 0 元素(s)、0 特性(s)
定义 ApplicationManifestType complexTypeApplicationInstanceType complexType 本地
名字 ServiceTemplates
minOccurs 0

XML 源

<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="ServiceTemplates" type="ServiceTemplatesType" minOccurs="0">
        <xs:annotation>
          <xs:documentation>Declares the set of permitted service types that can be created dynamically inside the application instance. Default configuration values, such as replication factor, are specified and used as a template for creating service instances.</xs:documentation>
        </xs:annotation>
      </xs:element>

ServiceTypeHealthPolicy 元素

描述用于评估针对特定服务类型的服务、分区和副本报告的运行状况事件的策略。

Attribute 价值
类型 anonymous complexType
内容 0 元素(s)、0 特性(s)
定义 ApplicationHealthPolicyType complexType 本地
名字 ServiceTypeHealthPolicy
minOccurs 0
maxOccurs 无限制

XML 源

<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="ServiceTypeHealthPolicy" minOccurs="0" maxOccurs="unbounded">
        <xs:annotation>
          <xs:documentation>Describes the policy for evaluating health events reported on services, partitions and replicas of a particular service type.</xs:documentation>
        </xs:annotation>
        <xs:complexType>
          <xs:complexContent>
            <xs:extension base="ServiceTypeHealthPolicyType">
              <xs:attribute name="ServiceTypeName" type="xs:string" use="required">
                <xs:annotation>
                  <xs:documentation>The name of the service type that the policy will be applied to.</xs:documentation>
                </xs:annotation>
              </xs:attribute>
            </xs:extension>
          </xs:complexContent>
        </xs:complexType>
      </xs:element>

ServiceTypes 元素(类型 ServiceAndServiceGroupTypesType)

定义此清单中的 CodePackage 支持哪些服务类型。 当针对其中一种服务类型实例化服务时,此清单中声明的所有代码包都通过运行入口点来激活。 服务类型在清单级别声明,而不是代码包级别。

Attribute 价值
类型 ServiceAndServiceGroupTypesType
内容 0 元素(s)、0 特性(s)
定义 ServiceManifestType complexType 本地
名字 ServiceTypes

XML 源

<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="ServiceTypes" type="ServiceAndServiceGroupTypesType">
        <xs:annotation>
          <xs:documentation>Defines what service types are supported by a CodePackage in this manifest. When a service is instantiated against one of these service types, all code packages declared in this manifest are activated by running their entry points. Service types are declared at the manifest level and not the code package level.</xs:documentation>
        </xs:annotation>
      </xs:element>

ServiceTypes 元素(类型 ServiceTypesType)

Attribute 价值
类型 ServiceTypesType
内容 0 元素(s)、0 特性(s)
定义 在 DigestedServiceTypes 元素本地
名字 ServiceTypes

XML 源

<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="ServiceTypes" type="ServiceTypesType"/>

Settings 元素(类型 SettingsOverridesType)

声明要重写的服务清单中的配置设置。 它由一个或多个键值对部分组成。 可以使用 Invoke-ServiceFabricEncryptSecret cmdlet 对参数值进行加密。

Attribute 价值
类型 SettingsOverridesType
内容 0 元素(s)、0 特性(s)
定义 ConfigOverrideType complexType 本地
名字 Settings
minOccurs 0

XML 源

<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="Settings" type="SettingsOverridesType" minOccurs="0"/>

Settings 元素(类型 SettingsType)

对服务代码包的可配置设置进行碎片化处理。 Azure Service Fabric 不解释这些设置,但它通过运行时 API 提供这些设置供代码组件使用。

Attribute 价值
类型 SettingsType
内容 0 元素(s)、0 特性(s)
定义 全球
名字 Settings

XML 源

<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="Settings" type="SettingsType">
                <xs:annotation>
                        <xs:documentation>Defiles configurable settings for the code packages of a service. Azure Service Fabric does not interpret the settings, however it makes them available via Runtime APIs for use by the code components.</xs:documentation>
                </xs:annotation>
        </xs:element>

SetupEntryPoint 元素

默认情况下,特权入口点在任何其他入口点之前使用与 Service Fabric(通常是 NETWORKSERVICE 帐户)相同的凭据运行。 EntryPoint 指定的可执行文件通常是长时间运行的服务主机。 存在单独的设置入口点可避免长时间使用高特权运行服务主机。

Attribute 价值
类型 anonymous complexType
内容 1 个元素(s)、0 个属性(s)
定义 CodePackageType complexType 本地
名字 SetupEntryPoint
minOccurs 0

XML 源

<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="SetupEntryPoint" minOccurs="0">
        <xs:annotation>
          <xs:documentation>A privileged entry point that by default runs with the same credentials as Service Fabric (typically the NETWORKSERVICE account) before any other entry point. The executable specified by EntryPoint is typically the long-running service host. The presence of a separate setup entry point avoids having to run the service host with high privileges for extended periods of time.</xs:documentation>
        </xs:annotation>
        <xs:complexType>
          <xs:sequence>
            <xs:element name="ExeHost" type="ExeHostEntryPointType"/>
          </xs:sequence>
        </xs:complexType>
      </xs:element>

内容元素详细信息

ExeHost

Attribute 价值
名字 ExeHost
类型 ExeHostEntryPointType

SfssRgPolicies 元素

此节点类型的 SF 系统服务资源治理策略

Attribute 价值
类型 anonymous complexType
内容 1 个元素(s)、0 个属性(s)
定义 在 NodeType 元素本地
名字 SfssRgPolicies
minOccurs 0

XML 源

<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="SfssRgPolicies" minOccurs="0">
                                                                                <xs:annotation>
                                                                                        <xs:documentation>The SF system services resource governance policy for this node type</xs:documentation>
                                                                                </xs:annotation>
                                                                                <xs:complexType>
                                                                                        <xs:sequence>
                                                                                                <xs:element name="SfssRgPolicy" type="KeyValuePairType" minOccurs="0" maxOccurs="unbounded"/>
                                                                                        </xs:sequence>
                                                                                </xs:complexType>
                                                                        </xs:element>

内容元素详细信息

SfssRgPolicy

Attribute 价值
名字 SfssRgPolicy
类型 KeyValuePairType
minOccurs 0
maxOccurs 无限制

SfssRgPolicy 元素

Attribute 价值
类型 KeyValuePairType
内容 0 元素(s)、0 特性(s)
定义 在 SfssRgPolicies 元素本地
名字 SfssRgPolicy
minOccurs 0
maxOccurs 无限制

XML 源

<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="SfssRgPolicy" type="KeyValuePairType" minOccurs="0" maxOccurs="unbounded"/>

SharedLogFileId 元素

用作共享日志 ID 的特定 GUID。

Attribute 价值
类型 anonymous complexType
内容 0 元素(s)、1 个属性(s)
定义 FabricKtlLoggerSettingsType complexType 本地
名字 SharedLogFileId
minOccurs 0

XML 源

<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="SharedLogFileId" minOccurs="0">
        <xs:annotation>
          <xs:documentation>Specific GUID to use as the shared log ID.</xs:documentation>
        </xs:annotation>
        <xs:complexType>
          <xs:attribute name="Value" use="required">
            <xs:simpleType>
              <xs:restriction base="xs:string">
                <xs:pattern value="[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}"/>
              </xs:restriction>
            </xs:simpleType>
          </xs:attribute>
         </xs:complexType>
      </xs:element>

属性详细信息

价值

Attribute 价值
名字 价值
使用 (必需)

SharedLogFilePath 元素

定义共享日志的路径。

Attribute 价值
类型 anonymous complexType
内容 0 元素(s)、1 个属性(s)
定义 FabricKtlLoggerSettingsType complexType 本地
名字 SharedLogFilePath
minOccurs 0

XML 源

<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="SharedLogFilePath" minOccurs="0">
        <xs:annotation>
          <xs:documentation>Defines path to shared log.</xs:documentation>
        </xs:annotation>
        <xs:complexType>
          <xs:attribute name="Value" type="xs:string" use="required"/>
        </xs:complexType>
      </xs:element>

属性详细信息

价值

Attribute 价值
名字 价值
类型 xs:string
使用 (必需)

SharedLogFileSizeInMB 元素

定义共享日志的大小。

Attribute 价值
类型 anonymous complexType
内容 0 元素(s)、1 个属性(s)
定义 FabricKtlLoggerSettingsType complexType 本地
名字 SharedLogFileSizeInMB
minOccurs 0

XML 源

<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="SharedLogFileSizeInMB" minOccurs="0">
        <xs:annotation>
          <xs:documentation>Defines how large is the shared log.</xs:documentation>
        </xs:annotation>
        <xs:complexType>
          <xs:attribute name="Value" use="required">
            <xs:simpleType>
              <xs:restriction base="xs:int">
                <xs:minInclusive value="512"/>
              </xs:restriction>
            </xs:simpleType>
          </xs:attribute>
        </xs:complexType>
      </xs:element>

属性详细信息

价值

Attribute 价值
名字 价值
使用 (必需)

SingletonPartition 元素

声明此服务只有一个分区。

Attribute 价值
类型 anonymous complexType
内容 0 元素(s)、0 特性(s)
定义 PartitionDescriptionGroup 组中本地
名字 SingletonPartition

XML 源

<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="SingletonPartition">
                <xs:annotation>
                    <xs:documentation>Declares that this service has only one partition.</xs:documentation>
                </xs:annotation>
                <xs:complexType/>
            </xs:element>

StatefulService 元素

定义有状态服务。

Attribute 价值
类型 StatefulServiceType
内容 0 元素(s)、0 特性(s)
定义 ServiceTemplatesType complexType,Service 元素本地
名字 StatefulService

XML 源

<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="StatefulService" type="StatefulServiceType"/>

StatefulServiceGroup 元素

定义有状态服务组。

Attribute 价值
类型 StatefulServiceGroupType
内容 0 元素(s)、0 特性(s)
定义 ServiceTemplatesType complexType, ServiceGroup 元素本地
名字 StatefulServiceGroup

XML 源

<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="StatefulServiceGroup" type="StatefulServiceGroupType"/>

StatefulServiceGroupType 元素

描述有状态服务组类型。

Attribute 价值
类型 StatefulServiceGroupTypeType
内容 0 元素(s)、0 特性(s)
定义 ServiceAndServiceGroupTypesType complexType 本地
名字 StatefulServiceGroupType

XML 源

<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="StatefulServiceGroupType" type="StatefulServiceGroupTypeType"/>

StatefulServiceType 元素

描述有状态服务类型。

Attribute 价值
类型 StatefulServiceTypeType
内容 0 元素(s)、0 特性(s)
定义 ServiceAndServiceGroupTypesType complexTypeServiceTypesType complexType 本地
名字 StatefulServiceType

XML 源

<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="StatefulServiceType" type="StatefulServiceTypeType"/>

StatelessService 元素

定义无状态服务。

Attribute 价值
类型 StatelessServiceType
内容 0 元素(s)、0 特性(s)
定义 ServiceTemplatesType complexType,Service 元素本地
名字 StatelessService

XML 源

<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="StatelessService" type="StatelessServiceType"/>

StatelessServiceGroup 元素

定义无状态服务组。

Attribute 价值
类型 StatelessServiceGroupType
内容 0 元素(s)、0 特性(s)
定义 ServiceTemplatesType complexType, ServiceGroup 元素本地
名字 StatelessServiceGroup

XML 源

<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="StatelessServiceGroup" type="StatelessServiceGroupType"/>

StatelessServiceGroupType 元素

描述无状态服务组类型。

Attribute 价值
类型 StatelessServiceGroupTypeType
内容 0 元素(s)、0 特性(s)
定义 ServiceAndServiceGroupTypesType complexType 本地
名字 StatelessServiceGroupType

XML 源

<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="StatelessServiceGroupType" type="StatelessServiceGroupTypeType"/>

StatelessServiceType 元素

描述无状态服务类型。

Attribute 价值
类型 StatelessServiceTypeType
内容 0 元素(s)、0 特性(s)
定义 ServiceAndServiceGroupTypesType complexTypeServiceTypesType complexType 本地
名字 StatelessServiceType

XML 源

<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="StatelessServiceType" type="StatelessServiceTypeType"/>

SystemGroup 元素(在 MemberOf 中定义)

要向其添加用户的系统组。 必须在“组”部分中定义系统组。

Attribute 价值
类型 anonymous complexType
内容 0 元素(s)、1 个属性(s)
定义 在 MemberOf 元素本地
名字 SystemGroup
minOccurs 0
maxOccurs 无限制

XML 源

<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="SystemGroup" minOccurs="0" maxOccurs="unbounded">
                                                                                                        <xs:annotation>
                                                                                                                <xs:documentation>The system group to add the user to.  The system group must be defined in the Groups section.</xs:documentation>
                                                                                                        </xs:annotation>
                                                                                                        <xs:complexType>
                                                                                                                <xs:attribute name="Name" type="xs:string" use="required">
                                                                                                                        <xs:annotation>
                                                                                                                                <xs:documentation>The name of the system group.</xs:documentation>
                                                                                                                        </xs:annotation>
                                                                                                                </xs:attribute>
                                                                                                        </xs:complexType>
                                                                                                </xs:element>

属性详细信息

名称

系统组的名称。

Attribute 价值
名字 名称
类型 xs:string
使用 (必需)

SystemGroup 元素(在 Membership 中定义)

Attribute 价值
类型 anonymous complexType
内容 0 元素(s)、1 个属性(s)
定义 在 Membership 元素本地
名字 SystemGroup
minOccurs 0
maxOccurs 无限制

XML 源

<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="SystemGroup" minOccurs="0" maxOccurs="unbounded">
                                                    <xs:complexType>
                                                        <xs:attribute name="Name" type="xs:string" use="required"/>
                                                    </xs:complexType>
                                                </xs:element>

属性详细信息

名称

Attribute 价值
名字 名称
类型 xs:string
使用 (必需)

TargetInformation 元素

描述 FabricDeployer 需要部署的目标。

Attribute 价值
类型 TargetInformationType
内容 0 元素(s)、0 特性(s)
定义 全球
名字 TargetInformation

XML 源

<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="TargetInformation" type="TargetInformationType">
                <xs:annotation>
                        <xs:documentation>Describes the target the FabricDeployer needs to deploy.</xs:documentation>
                </xs:annotation>
        </xs:element>

TargetInstallation 元素

Attribute 价值
类型 WindowsFabricDeploymentInformation
内容 0 元素(s)、0 特性(s)
定义 TargetInformationType complexType 本地
名字 TargetInstallation
minOccurs 1

XML 源

<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="TargetInstallation" type="WindowsFabricDeploymentInformation" minOccurs="1"/>

UniformInt64Partition 元素

描述基于 Int64 键的统一分区方案。

Attribute 价值
类型 anonymous complexType
内容 0 元素(s)、3 个属性(s)
定义 PartitionDescriptionGroup 组中本地
名字 UniformInt64Partition

XML 源

<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="UniformInt64Partition">
                <xs:annotation>
                    <xs:documentation>Describes a uniform partitioning scheme based on Int64 keys.</xs:documentation>
                </xs:annotation>
                <xs:complexType>
                    <xs:attribute name="PartitionCount" type="xs:string" use="required">
                        <xs:annotation>
                            <xs:documentation>Total number of partitions (positive integer). Each partition is responsible for a non-overlapping subrange of the overall partition key range.</xs:documentation>
                        </xs:annotation>
                    </xs:attribute>
                    <xs:attribute name="LowKey" type="xs:string" use="required">
                        <xs:annotation>
                            <xs:documentation>Inclusive low range of the partition key (long).</xs:documentation>
                        </xs:annotation>
                    </xs:attribute>
                    <xs:attribute name="HighKey" type="xs:string" use="required">
                        <xs:annotation>
                            <xs:documentation>Inclusive high range of the partition key (long).</xs:documentation>
                        </xs:annotation>
                    </xs:attribute>
                </xs:complexType>
            </xs:element>

属性详细信息

PartitionCount

分区总数(正整数)。 每个分区负责整个分区键范围的不重叠子范围。

Attribute 价值
名字 PartitionCount
类型 xs:string
使用 (必需)

LowKey

分区键的低范围(长)。

Attribute 价值
名字 LowKey
类型 xs:string
使用 (必需)

HighKey

分区键(long)的非独占高范围。

Attribute 价值
名字 HighKey
类型 xs:string
使用 (必需)

UnmanagedDll 元素

不支持,请勿使用。 要托管的非托管程序集(例如,Queue.dll)的名称。

Attribute 价值
类型 UnmanagedDllType
内容 0 元素(s)、0 特性(s)
定义 DllHostEntryPointType complexType 本地
名字 UnmanagedDll

XML 源

<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="UnmanagedDll" type="UnmanagedDllType"/>

UpgradeOrchestrationServiceReplicatorEndpoint 元素

Attribute 价值
类型 InternalEndpointType
内容 0 元素(s)、0 特性(s)
定义 FabricEndpointsType complexType 本地
名字 UpgradeOrchestrationServiceReplicatorEndpoint
minOccurs 0

XML 源

<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="UpgradeOrchestrationServiceReplicatorEndpoint" type="InternalEndpointType" minOccurs="0"/>

UpgradeServiceReplicatorEndpoint 元素

Attribute 价值
类型 InternalEndpointType
内容 0 元素(s)、0 特性(s)
定义 FabricEndpointsType complexType 本地
名字 UpgradeServiceReplicatorEndpoint
minOccurs 0

XML 源

<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="UpgradeServiceReplicatorEndpoint" type="InternalEndpointType" minOccurs="0"/>

User 元素

将用户声明为可在策略中引用的安全主体。

Attribute 价值
类型 anonymous complexType
内容 2 个元素,5 个特性(s)
定义 在 Users 元素本地
名字 用户
maxOccurs 无限制

XML 源

<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="User" maxOccurs="unbounded">
                            <xs:annotation>
                                <xs:documentation>Declares a user as a security principal, which can be referenced in policies.</xs:documentation>
                            </xs:annotation>
                            <xs:complexType>
                                <xs:sequence>
                                    <xs:element name="NTLMAuthenticationPolicy" minOccurs="0">
                                        <xs:complexType>
                                            <xs:attribute name="IsEnabled" type="xs:boolean" use="optional" default="true"/>
                                            <xs:attribute name="PasswordSecret" type="xs:string" use="required"/>
                                            <xs:attribute name="PasswordSecretEncrypted" type="xs:boolean" use="optional" default="false"/>
                                            <xs:attribute name="X509StoreLocation" use="optional" default="LocalMachine">
                                                <xs:simpleType>
                                                    <xs:restriction base="xs:string">
                                                        <xs:enumeration value="LocalMachine"/>
                                                        <xs:enumeration value="CurrentUser"/>
                                                    </xs:restriction>
                                                </xs:simpleType>
                                            </xs:attribute>
                                                                                        <xs:attribute name="X509StoreName" default="My">
                                                <xs:simpleType>
                                                    <xs:restriction base="xs:string"/>
                                                </xs:simpleType>
                                            </xs:attribute>
                                            <xs:attribute name="X509Thumbprint" type="xs:string"/>
                                        </xs:complexType>
                                    </xs:element>
                                    <xs:element name="MemberOf" minOccurs="0">
                                        <xs:annotation>
                                            <xs:documentation>Users can be added to any existing membership group, so it can inherit all the properties and security settings of that membership group. The membership group can be used to secure external resources that need to be accessed by different services or the same service (on a different machine).</xs:documentation>
                                                                                </xs:annotation>
                                                                                <xs:complexType>
                                                                                        <xs:choice maxOccurs="unbounded">
                                                                                                <xs:element name="SystemGroup" minOccurs="0" maxOccurs="unbounded">
                                                                                                        <xs:annotation>
                                                                                                                <xs:documentation>The system group to add the user to.  The system group must be defined in the Groups section.</xs:documentation>
                                                                                                        </xs:annotation>
                                                                                                        <xs:complexType>
                                                                                                                <xs:attribute name="Name" type="xs:string" use="required">
                                                                                                                        <xs:annotation>
                                                                                                                                <xs:documentation>The name of the system group.</xs:documentation>
                                                                                                                        </xs:annotation>
                                                                                                                </xs:attribute>
                                                                                                        </xs:complexType>
                                                                                                </xs:element>
                                                                                                <xs:element name="Group" minOccurs="0" maxOccurs="unbounded">
                                                                                                        <xs:annotation>
                                                                                                                <xs:documentation>The group to add the user to.  The group must be defined in the Groups section.</xs:documentation>
                                                                                                        </xs:annotation>
                                                                                                        <xs:complexType>
                                                                                                                <xs:attribute name="NameRef" type="xs:string" use="required">
                                                                                                                        <xs:annotation>
                                                                                                                                <xs:documentation>The name of the group.</xs:documentation>
                                                                                                                        </xs:annotation>
                                                                                                                </xs:attribute>
                                                                                                        </xs:complexType>
                                                                                                </xs:element>
                                                                                        </xs:choice>
                                                                                </xs:complexType>
                                                                        </xs:element>
                                                                </xs:sequence>
                                                                <xs:attribute name="Name" type="xs:string" use="required">
                                                                        <xs:annotation>
                                                                                <xs:documentation>Name of the user account.</xs:documentation>
                                                                        </xs:annotation>
                                                                </xs:attribute>
                                                                <xs:attribute name="AccountType" use="optional" default="LocalUser">
                                                                        <xs:annotation>
                                                                                <xs:documentation>Specifies the type of account: LocalUser, DomainUser, NetworkService, LocalService, ManagedServiceAccount, or LocalSystem.  The default is LocalUser. Local user accounts are created on the machines where the application is deployed. By default, these accounts do not have the same names as those specified here. Instead, they are dynamically generated and have random passwords. Supported local system account types are LocalUser, NetworkService, LocalService and LocalSystem. Domain accounts are supported on Windows Server deployments where Azure Active Directory is available.</xs:documentation>
                                                                        </xs:annotation>
                                                                        <xs:simpleType>
                                                                                <xs:restriction base="xs:string">
                                                                                        <xs:enumeration value="LocalUser"/>
                                                                                        <xs:enumeration value="DomainUser"/>
                                                                                        <xs:enumeration value="NetworkService"/>
                                                                                        <xs:enumeration value="LocalService"/>
                                                                                        <xs:enumeration value="ManagedServiceAccount"/>
                                                                                        <xs:enumeration value="LocalSystem"/>
                                                                                </xs:restriction>
                                                                        </xs:simpleType>
                                                                </xs:attribute>
                                                                <xs:attribute name="LoadUserProfile" type="xs:boolean" use="optional" default="false"/>
                                                                <xs:attribute name="PerformInteractiveLogon" type="xs:boolean" use="optional" default="false"/>
                                                                <xs:attributeGroup ref="AccountCredentialsGroup"/>
                                                                <xs:attribute name="PasswordEncrypted" type="xs:boolean" use="optional">
                                                                        <xs:annotation>
                                                                                <xs:documentation>True if the password is encrypted; false if in plain text.</xs:documentation>
                                                                        </xs:annotation>
                                                                </xs:attribute>
                                                        </xs:complexType>
                                                </xs:element>

属性详细信息

名称

用户帐户的名称。

Attribute 价值
名字 名称
类型 xs:string
使用 (必需)

帐户类型

指定帐户的类型:LocalUser、DomainUser、NetworkService、LocalService、ManagedServiceAccount 或 LocalSystem。 默认值为 LocalUser。 本地用户帐户是在部署应用程序的计算机上创建的。 默认情况下,这些帐户的名称与此处指定的帐户不同。 而是动态生成并具有随机密码。 支持的本地系统帐户类型为 LocalUser、NetworkService、LocalService 和 LocalSystem。 Microsoft Entra ID 可用的 Windows Server 部署支持域帐户。

Attribute 价值
名字 帐户类型
使用 optional
默认 LocalUser

LoadUserProfile

Attribute 价值
名字 LoadUserProfile
类型 xs:boolean
使用 optional
默认

PerformInteractiveLogon

Attribute 价值
名字 PerformInteractiveLogon
类型 xs:boolean
使用 optional
默认

PasswordEncrypted

如果密码已加密,则为 True;如果为纯文本,则为 false。

Attribute 价值
名字 PasswordEncrypted
类型 xs:boolean
使用 optional

内容元素详细信息

NTLMAuthenticationPolicy

Attribute 价值
名字 NTLMAuthenticationPolicy
minOccurs 0

MemberOf

可以将用户添加到任何现有成员身份组,以便它可以继承该成员身份组的所有属性和安全设置。 成员身份组可用于保护需要由不同服务或同一服务(在不同的计算机上)访问的外部资源。

Attribute 价值
名字 MemberOf
minOccurs 0

UserRoleClientCertificate 元素

用于保护客户端服务器通信的默认用户角色客户端证书。

Attribute 价值
类型 FabricCertificateType
内容 0 元素(s)、0 特性(s)
定义 CertificatesType complexType 本地
名字 UserRoleClientCertificate
minOccurs 0

XML 源

<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="UserRoleClientCertificate" type="FabricCertificateType" minOccurs="0">
        <xs:annotation>
          <xs:documentation>The default user role client certificate used to secure client server communication.</xs:documentation>
        </xs:annotation>
      </xs:element>

Users 元素

将一组用户声明为安全主体,可在策略中引用这些主体。

Attribute 价值
类型 anonymous complexType
内容 1 个元素(s)、0 个属性(s)
定义 SecurityPrincipalsType complexType 本地
名字 用户
minOccurs 0

XML 源

<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="Users" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Declares a set of users as security principals, which can be referenced in policies.</xs:documentation>
                </xs:annotation>
                <xs:complexType>
                    <xs:sequence>
                        <xs:element name="User" maxOccurs="unbounded">
                            <xs:annotation>
                                <xs:documentation>Declares a user as a security principal, which can be referenced in policies.</xs:documentation>
                            </xs:annotation>
                            <xs:complexType>
                                <xs:sequence>
                                    <xs:element name="NTLMAuthenticationPolicy" minOccurs="0">
                                        <xs:complexType>
                                            <xs:attribute name="IsEnabled" type="xs:boolean" use="optional" default="true"/>
                                            <xs:attribute name="PasswordSecret" type="xs:string" use="required"/>
                                            <xs:attribute name="PasswordSecretEncrypted" type="xs:boolean" use="optional" default="false"/>
                                            <xs:attribute name="X509StoreLocation" use="optional" default="LocalMachine">
                                                <xs:simpleType>
                                                    <xs:restriction base="xs:string">
                                                        <xs:enumeration value="LocalMachine"/>
                                                        <xs:enumeration value="CurrentUser"/>
                                                    </xs:restriction>
                                                </xs:simpleType>
                                            </xs:attribute>
                                                                                        <xs:attribute name="X509StoreName" default="My">
                                                <xs:simpleType>
                                                    <xs:restriction base="xs:string"/>
                                                </xs:simpleType>
                                            </xs:attribute>
                                            <xs:attribute name="X509Thumbprint" type="xs:string"/>
                                        </xs:complexType>
                                    </xs:element>
                                    <xs:element name="MemberOf" minOccurs="0">
                                        <xs:annotation>
                                            <xs:documentation>Users can be added to any existing membership group, so it can inherit all the properties and security settings of that membership group. The membership group can be used to secure external resources that need to be accessed by different services or the same service (on a different machine).</xs:documentation>
                                                                                </xs:annotation>
                                                                                <xs:complexType>
                                                                                        <xs:choice maxOccurs="unbounded">
                                                                                                <xs:element name="SystemGroup" minOccurs="0" maxOccurs="unbounded">
                                                                                                        <xs:annotation>
                                                                                                                <xs:documentation>The system group to add the user to.  The system group must be defined in the Groups section.</xs:documentation>
                                                                                                        </xs:annotation>
                                                                                                        <xs:complexType>
                                                                                                                <xs:attribute name="Name" type="xs:string" use="required">
                                                                                                                        <xs:annotation>
                                                                                                                                <xs:documentation>The name of the system group.</xs:documentation>
                                                                                                                        </xs:annotation>
                                                                                                                </xs:attribute>
                                                                                                        </xs:complexType>
                                                                                                </xs:element>
                                                                                                <xs:element name="Group" minOccurs="0" maxOccurs="unbounded">
                                                                                                        <xs:annotation>
                                                                                                                <xs:documentation>The group to add the user to.  The group must be defined in the Groups section.</xs:documentation>
                                                                                                        </xs:annotation>
                                                                                                        <xs:complexType>
                                                                                                                <xs:attribute name="NameRef" type="xs:string" use="required">
                                                                                                                        <xs:annotation>
                                                                                                                                <xs:documentation>The name of the group.</xs:documentation>
                                                                                                                        </xs:annotation>
                                                                                                                </xs:attribute>
                                                                                                        </xs:complexType>
                                                                                                </xs:element>
                                                                                        </xs:choice>
                                                                                </xs:complexType>
                                                                        </xs:element>
                                                                </xs:sequence>
                                                                <xs:attribute name="Name" type="xs:string" use="required">
                                                                        <xs:annotation>
                                                                                <xs:documentation>Name of the user account.</xs:documentation>
                                                                        </xs:annotation>
                                                                </xs:attribute>
                                                                <xs:attribute name="AccountType" use="optional" default="LocalUser">
                                                                        <xs:annotation>
                                                                                <xs:documentation>Specifies the type of account: LocalUser, DomainUser, NetworkService, LocalService, ManagedServiceAccount, or LocalSystem.  The default is LocalUser. Local user accounts are created on the machines where the application is deployed. By default, these accounts do not have the same names as those specified here. Instead, they are dynamically generated and have random passwords. Supported local system account types are LocalUser, NetworkService, LocalService and LocalSystem. Domain accounts are supported on Windows Server deployments where Azure Active Directory is available.</xs:documentation>
                                                                        </xs:annotation>
                                                                        <xs:simpleType>
                                                                                <xs:restriction base="xs:string">
                                                                                        <xs:enumeration value="LocalUser"/>
                                                                                        <xs:enumeration value="DomainUser"/>
                                                                                        <xs:enumeration value="NetworkService"/>
                                                                                        <xs:enumeration value="LocalService"/>
                                                                                        <xs:enumeration value="ManagedServiceAccount"/>
                                                                                        <xs:enumeration value="LocalSystem"/>
                                                                                </xs:restriction>
                                                                        </xs:simpleType>
                                                                </xs:attribute>
                                                                <xs:attribute name="LoadUserProfile" type="xs:boolean" use="optional" default="false"/>
                                                                <xs:attribute name="PerformInteractiveLogon" type="xs:boolean" use="optional" default="false"/>
                                                                <xs:attributeGroup ref="AccountCredentialsGroup"/>
                                                                <xs:attribute name="PasswordEncrypted" type="xs:boolean" use="optional">
                                                                        <xs:annotation>
                                                                                <xs:documentation>True if the password is encrypted; false if in plain text.</xs:documentation>
                                                                        </xs:annotation>
                                                                </xs:attribute>
                                                        </xs:complexType>
                                                </xs:element>
                                        </xs:sequence>
                                </xs:complexType>
                        </xs:element>

内容元素详细信息

用户

将用户声明为可在策略中引用的安全主体。

Attribute 价值
名字 用户
maxOccurs 无限制

Volume 元素

指定要绑定到容器的卷。

Attribute 价值
类型 ContainerVolumeType
内容 0 元素(s)、0 特性(s)
定义 ContainerHostPoliciesType complexType 本地
名字 音量
minOccurs 0
maxOccurs 无限制

XML 源

<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="Volume" type="ContainerVolumeType" minOccurs="0" maxOccurs="unbounded">
            <xs:annotation>
                <xs:documentation>Specifies the volume to be bound to container.</xs:documentation>
            </xs:annotation>
        </xs:element>

Vote 元素

Attribute 价值
类型 PaaSVoteType
内容 0 元素(s)、0 特性(s)
定义 在 Votes 元素本地
名字 投票
maxOccurs 无限制

XML 源

<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="Vote" type="PaaSVoteType" maxOccurs="unbounded"/>

Votes 元素

Attribute 价值
类型 anonymous complexType
内容 1 个元素(s)、0 个属性(s)
定义 在 PaaS 元素本地
名字 投票

XML 源

<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="Votes">
                                                                                <xs:complexType>
                                                                                        <xs:sequence>
                                                                                                <xs:element name="Vote" type="PaaSVoteType" maxOccurs="unbounded"/>
                                                                                        </xs:sequence>
                                                                                </xs:complexType>
                                                                        </xs:element>

内容元素详细信息

投票

Attribute 价值
名字 投票
类型 PaaSVoteType
maxOccurs 无限制

WindowsAzure 元素

Attribute 价值
类型 anonymous complexType
内容 1 个元素(s)、0 个属性(s)
定义 在 Infrastructure 元素本地
名字 WindowsAzure

XML 源

<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="WindowsAzure">
                                                        <xs:complexType>
                                                                <xs:sequence>
                                                                        <xs:element name="Roles">
                                                                                <xs:complexType>
                                                                                        <xs:sequence>
                                                                                                <xs:element name="Role" type="AzureRoleType" maxOccurs="unbounded"/>
                                                                                        </xs:sequence>
                                                                                </xs:complexType>
                                                                        </xs:element>
                                                                </xs:sequence>
                                                        </xs:complexType>
                                                </xs:element>

内容元素详细信息

角色

Attribute 价值
名字 角色

WindowsAzureStaticTopology 元素

Attribute 价值
类型 anonymous complexType
内容 0 元素(s)、0 特性(s)
定义 在 Infrastructure 元素本地
名字 WindowsAzureStaticTopology

XML 源

<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="WindowsAzureStaticTopology">
                                                        <xs:complexType>
                                                                <xs:complexContent>
                                                                        <xs:extension base="WindowsInfrastructureType"/>
                                                                </xs:complexContent>
                                                        </xs:complexType>
                                                </xs:element>

WindowsServer 元素

Attribute 价值
类型 anonymous complexType
内容 0 元素(s)、0 特性(s)
定义 在 Infrastructure 元素本地
名字 WindowsServer

XML 源

<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="WindowsServer">
                                                        <xs:complexType>
                                                                <xs:complexContent>
                                                                        <xs:extension base="WindowsInfrastructureType">
                                                                                <xs:attribute name="IsScaleMin" type="xs:boolean" default="false"/>
                                                                        </xs:extension>
                                                                </xs:complexContent>
                                                        </xs:complexType>
                                                </xs:element>

WorkingFolder 元素

Attribute 价值
类型 anonymous complexType
内容 0 元素(s)、0 特性(s)
定义 ExeHostEntryPointType complexType 本地
名字 WorkingFolder
默认 工作
minOccurs 0

XML 源

<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="WorkingFolder" default="Work" minOccurs="0">
        <xs:simpleType>
          <xs:restriction base="xs:string">
            <xs:enumeration value="Work"/>
            <xs:enumeration value="CodePackage"/>
            <xs:enumeration value="CodeBase"/>
          </xs:restriction>
        </xs:simpleType>
      </xs:element>