服务模型 XML 架构元素

AddRemoveIncrementalNamedPartitionScalingMechanism 元素

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

属性
type 匿名的 complexType
内容 0 个元素,3 个属性
maxOccurs 1
name AddRemoveIncrementalNamedPartitionScalingMechanism
minOccurs 0

XML 源

<xs:element xmlns:xs="http://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 wich to perform the upshift/downshift.</xs:documentation>
                        </xs:annotation>
                    </xs:attribute>
                </xs:complexType>
            </xs:element>

属性详细信息

MinPartitionCount

最小分区数。

属性
type xs:string
name MinPartitionCount
use required

MaxPartitionCount

最大分区数。

属性
type xs:string
name MaxPartitionCount
use required

ScaleIncrement

执行升档/降档时所依据的分区数。

属性
type xs:string
name ScaleIncrement
use required

Application 元素

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

属性
type AppInstanceDefinitionType
内容 0 个元素,0 个属性
name 应用程序

XML 源

<xs:element xmlns:xs="http://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 元素

属性
type 匿名的 complexType
内容 0 个元素,2 个属性
name ApplicationEndpoints
minOccurs 0

XML 源

<xs:element xmlns:xs="http://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

属性
type xs:int
name StartPort
use required

EndPort

属性
type xs:int
name EndPort
use required

ApplicationInstance 元素

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

属性
type ApplicationInstanceType
内容 0 个元素,0 个属性
name ApplicationInstance

XML 源

<xs:element xmlns:xs="http://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 元素

属性
type ApplicationManifestType
内容 0 个元素,0 个属性
name ApplicationManifest

XML 源

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

ApplicationPackage 元素

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

属性
type ApplicationPackageType
内容 0 个元素,0 个属性
name ApplicationPackage

XML 源

<xs:element xmlns:xs="http://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 元素

属性
type 匿名的 complexType
内容 0 个元素,0 个属性
name ApplicationPackageRef

XML 源

<xs:element xmlns:xs="http://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 元素

属性
type xs:string
内容 0 个元素,0 个属性
name Arguments
minOccurs 0

XML 源

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

AveragePartitionLoadScalingTrigger 元素

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

属性
type 匿名的 complexType
内容 0 个元素,4 个属性
maxOccurs 1
name AveragePartitionLoadScalingTrigger
minOccurs 0

XML 源

<xs:element xmlns:xs="http://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>

属性详细信息

MetricName

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

属性
type xs:string
name MetricName
use required

LowerLoadThreshold

指标负载值的下限。

属性
type xs:string
name LowerLoadThreshold
use required

UpperLoadThreshold

指标负载值的上限。

属性
type xs:string
name UpperLoadThreshold
use required

ScaleIntervalInSeconds

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

属性
type xs:string
name ScaleIntervalInSeconds
use required

AverageServiceLoadScalingTrigger 元素

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

属性
type 匿名的 complexType
内容 0 个元素,4 个属性
maxOccurs 1
name AverageServiceLoadScalingTrigger
minOccurs 0

XML 源

<xs:element xmlns:xs="http://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:complexType>
            </xs:element>

属性详细信息

MetricName

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

属性
type xs:string
name MetricName
use required

LowerLoadThreshold

指标负载值的下限。

属性
type xs:string
name LowerLoadThreshold
use required

UpperLoadThreshold

指标负载值的上限。

属性
type xs:string
name UpperLoadThreshold
use required

ScaleIntervalInSeconds

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

属性
type xs:string
name ScaleIntervalInSeconds
use required

AzureBlob 元素

属性
type AzureBlobType
内容 0 个元素,0 个属性
name AzureBlob
maxOccurs unbounded
minOccurs 0

XML 源

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

AzureBlob 元素

属性
type AzureBlobETWType
内容 0 个元素,0 个属性
name AzureBlob
maxOccurs unbounded
minOccurs 0

XML 源

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

AzureBlob 元素

属性
type AzureBlobType
内容 0 个元素,0 个属性
name AzureBlob
maxOccurs unbounded
minOccurs 0

XML 源

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

BackupRestoreServiceReplicatorEndpoint 元素

属性
type InternalEndpointType
内容 0 个元素,0 个属性
name BackupRestoreServiceReplicatorEndpoint
minOccurs 0

XML 源

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

Blackbird 元素

属性
type 匿名的 complexType
内容 1 个元素,0 个属性
name Blackbird

XML 源

<xs:element xmlns:xs="http://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>

内容元素详细信息

Roles

属性
name Roles

Capacities 元素

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

属性
type 匿名的 complexType
内容 1 个元素,0 个属性
name Capacities
minOccurs 0

XML 源

<xs:element xmlns:xs="http://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>

内容元素详细信息

Capacity

属性
type KeyValuePairType
name Capacity
maxOccurs unbounded
minOccurs 0

Capacity 元素

属性
type KeyValuePairType
内容 0 个元素,0 个属性
name Capacity
maxOccurs unbounded
minOccurs 0

XML 源

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

CertificateRef 元素

指定要向容器公开的证书的信息。

属性
type ContainerCertificateType
内容 0 个元素,0 个属性
name CertificateRef
maxOccurs unbounded
minOccurs 0

XML 源

<xs:element xmlns:xs="http://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 元素

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

属性
type CertificatesType
内容 0 个元素,0 个属性
name Certificates
minOccurs 0

XML 源

<xs:element xmlns:xs="http://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 元素

属性
type 匿名的 complexType
内容 1 个元素,0 个属性
name Certificates
minOccurs 0

XML 源

<xs:element xmlns:xs="http://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

属性
type FabricCertificateType
name SecretsCertificate
minOccurs 0

Certificates 元素

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

属性
type 匿名的 complexType
内容 2 个元素,0 个属性
name Certificates
minOccurs 0

XML 源

<xs:element xmlns:xs="http://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 节中某个参数的敏感信息。

属性
type FabricCertificateType
name SecretsCertificate
minOccurs 0

EndpointCertificate

属性
type EndpointCertificateType
name EndpointCertificate
minOccurs 0

Certificates 元素

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

属性
type CertificatesType
内容 0 个元素,0 个属性
name Certificates
minOccurs 0

XML 源

<xs:element xmlns:xs="http://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>

ClientCertificate 元素

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

属性
type FabricCertificateType
内容 0 个元素,0 个属性
name ClientCertificate
minOccurs 0

XML 源

<xs:element xmlns:xs="http://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 元素

属性
type InputEndpointType
内容 0 个元素,0 个属性
name ClientConnectionEndpoint

XML 源

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

ClusterCertificate 元素

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

属性
type FabricCertificateType
内容 0 个元素,0 个属性
name ClusterCertificate
minOccurs 0

XML 源

<xs:element xmlns:xs="http://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 元素

属性
type InternalEndpointType
内容 0 个元素,0 个属性
name ClusterConnectionEndpoint

XML 源

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

ClusterManagerReplicatorEndpoint 元素

属性
type InternalEndpointType
内容 0 个元素,0 个属性
name ClusterManagerReplicatorEndpoint
minOccurs 0

XML 源

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

ClusterManifest 元素

描述 Azure Service Fabric 群集。

属性
type ClusterManifestType
内容 0 个元素,0 个属性
name ClusterManifest

XML 源

<xs:element xmlns:xs="http://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 元素

属性
type CodePackageType
内容 0 个元素,0 个属性
name CodePackage
maxOccurs unbounded

XML 源

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

CodePackage 元素

属性
type CodePackageType
内容 0 个元素,0 个属性
name CodePackage

XML 源

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

Commands 元素

属性
type xs:string
内容 0 个元素,0 个属性
name Commands
maxOccurs 1
minOccurs 0

XML 源

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

ConfigOverride 元素

属性
type ConfigOverrideType
内容 0 个元素,0 个属性
name ConfigOverride
maxOccurs unbounded
minOccurs 0

XML 源

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

ConfigOverride 元素

属性
type ConfigOverrideType
内容 0 个元素,0 个属性
name ConfigOverride
minOccurs 0

XML 源

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

ConfigOverrides 元素

描述所导入服务清单的配置重写。 使用配置重写可以做到仅当与特定的应用程序类型配合使用时才重写服务清单的配置,从而可在多个应用程序类型中重复使用相同的服务清单。 只要使用 ConfigPackage 文件夹中的 Settings.xml 定义默认配置,配置重写就能更改服务清单中的任何默认配置。

属性
type 匿名的 complexType
内容 1 个元素,0 个属性
name ConfigOverrides
minOccurs 0

XML 源

<xs:element xmlns:xs="http://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

属性
type ConfigOverrideType
name ConfigOverride
maxOccurs unbounded
minOccurs 0

ConfigPackage 元素

属性
type ConfigPackageType
内容 0 个元素,0 个属性
name ConfigPackage
maxOccurs unbounded
minOccurs 0

XML 源

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

ConfigPackage 元素

属性
type ConfigPackageType
内容 0 个元素,0 个属性
name ConfigPackage

XML 源

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

ConsoleRedirection 元素

属性
type 匿名的 complexType
内容 0 个元素,2 个属性
name ConsoleRedirection
minOccurs 0

XML 源

<xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="ConsoleRedirection" minOccurs="0">
        <xs:complexType>
          <xs:attribute name="FileRetentionCount" default="2">
            <xs:simpleType>
              <xs:restriction base="xs:int">
                <xs:minInclusive value="1"/>
              </xs:restriction>
            </xs:simpleType>
          </xs:attribute>
          <xs:attribute name="FileMaxSizeInKb" default="20480">
            <xs:simpleType>
              <xs:restriction base="xs:int">
                <xs:minInclusive value="128"/>
              </xs:restriction>
            </xs:simpleType>
          </xs:attribute>
        </xs:complexType>
      </xs:element>

属性详细信息

FileRetentionCount

属性
default 2
name FileRetentionCount

FileMaxSizeInKb

属性
default 20480
name FileMaxSizeInKb

ContainerEntryPoint 元素

已重写容器的入口点,以便能够启动调试程序。

属性
type xs:string
内容 0 个元素,0 个属性
name ContainerEntryPoint
maxOccurs unbounded
minOccurs 0

XML 源

<xs:element xmlns:xs="http://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>Overidden entrypoint for containers so debugger can be launched..</xs:documentation>
        </xs:annotation>
      </xs:element>

ContainerEnvironmentBlock 元素

容器的 EnvironmentBlock。

属性
type xs:string
内容 0 个元素,0 个属性
name ContainerEnvironmentBlock
maxOccurs unbounded
minOccurs 0

XML 源

<xs:element xmlns:xs="http://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 元素

属性
type ContainerHostEntryPointType
内容 0 个元素,0 个属性
name ContainerHost

XML 源

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

ContainerHostPolicies 元素

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

属性
type ContainerHostPoliciesType
内容 0 个元素,0 个属性
name ContainerHostPolicies
minOccurs 0

XML 源

<xs:element xmlns:xs="http://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>

ContainerHostPolicies 元素

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

属性
type ContainerHostPoliciesType
内容 0 个元素,0 个属性
name ContainerHostPolicies
minOccurs 0

XML 源

<xs:element xmlns:xs="http://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>

ContainerMountedVolume 元素

要在容器内部装载的卷。

属性
type xs:string
内容 0 个元素,0 个属性
name ContainerMountedVolume
maxOccurs unbounded
minOccurs 0

XML 源

<xs:element xmlns:xs="http://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>

CrashDumpSource 元素

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

属性
type 匿名的 complexType
内容 2 个元素,1 个属性
name CrashDumpSource
minOccurs 0

XML 源

<xs:element xmlns:xs="http://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>

属性详细信息

IsEnabled

指示是否启用故障转储收集。 默认情况下不启用。

属性
type xs:string
name IsEnabled

内容元素详细信息

Destinations

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

属性
name Destinations
minOccurs 0

属性
ref parameters
maxOccurs 1
minOccurs 0

CurrentInstallation 元素

属性
type WindowsFabricDeploymentInformation
内容 0 个元素,0 个属性
name CurrentInstallation
minOccurs 0

XML 源

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

DataPackage 元素

属性
type DataPackageType
内容 0 个元素,0 个属性
name DataPackage
maxOccurs unbounded
minOccurs 0

XML 源

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

DataPackage 元素

属性
type DataPackageType
内容 0 个元素,0 个属性
name DataPackage

XML 源

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

DebugParameters 元素

属性
type DebugParametersType
内容 0 个元素,0 个属性
name DebugParameters
maxOccurs 1
minOccurs 0

XML 源

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

DebugParameters 元素

属性
type DebugParametersType
内容 0 个元素,0 个属性
name DebugParameters
maxOccurs 1
minOccurs 0

XML 源

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

DebugParameters 元素

属性
type DebugParametersType
内容 0 个元素,0 个属性
name DebugParameters
maxOccurs 1
minOccurs 0

XML 源

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

DefaultReplicatorEndpoint 元素

属性
type InternalEndpointType
内容 0 个元素,0 个属性
name DefaultReplicatorEndpoint
minOccurs 0

XML 源

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

DefaultRunAsPolicy 元素

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

属性
type 匿名的 complexType
内容 0 个元素,1 个属性
name DefaultRunAsPolicy
minOccurs 0

XML 源

<xs:element xmlns:xs="http://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”部分中声明用户帐户。 通常建议使用本地系统帐户(而不是管理员帐户)来运行安装程序入口点。

属性
type xs:string
name UserRef
use required

DefaultServiceTypeHealthPolicy 元素

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

属性
type ServiceTypeHealthPolicyType
内容 0 个元素,0 个属性
name DefaultServiceTypeHealthPolicy
minOccurs 0

XML 源

<xs:element xmlns:xs="http://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 元素

属性
type DefaultServicesType
内容 0 个元素,0 个属性
name DefaultServices
minOccurs 0

XML 源

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

      </xs:element>

DefaultServices 元素

属性
type DefaultServicesType
内容 0 个元素,0 个属性
name DefaultServices

XML 源

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

Description 元素

描述此应用程序的文本。

属性
type xs:string
内容 0 个元素,0 个属性
name Description
minOccurs 0

XML 源

<xs:element xmlns:xs="http://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>

Description 元素

对此服务进行描述的文本。

属性
type xs:string
内容 0 个元素,0 个属性
name Description
minOccurs 0

XML 源

<xs:element xmlns:xs="http://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 service.</xs:documentation>
        </xs:annotation>
      </xs:element>

Description 元素

属性
type xs:string
内容 0 个元素,0 个属性
name Description
minOccurs 0

XML 源

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

Destinations 元素

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

属性
type 匿名的 complexType
内容 3 个元素,0 个属性
name Destinations
minOccurs 0

XML 源

<xs:element xmlns:xs="http://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

属性
type LocalStoreType
name LocalStore
maxOccurs unbounded
minOccurs 0

FileStore

属性
type FileStoreType
name FileStore
maxOccurs unbounded
minOccurs 0

AzureBlob

属性
type AzureBlobType
name AzureBlob
maxOccurs unbounded
minOccurs 0

Destinations 元素

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

属性
type 匿名的 complexType
内容 3 个元素,0 个属性
name Destinations
minOccurs 0

XML 源

<xs:element xmlns:xs="http://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

属性
type LocalStoreETWType
name LocalStore
maxOccurs unbounded
minOccurs 0

FileStore

属性
type FileStoreETWType
name FileStore
maxOccurs unbounded
minOccurs 0

AzureBlob

属性
type AzureBlobETWType
name AzureBlob
maxOccurs unbounded
minOccurs 0

Destinations 元素

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

属性
type 匿名的 complexType
内容 3 个元素,0 个属性
name Destinations
minOccurs 0

XML 源

<xs:element xmlns:xs="http://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

属性
type LocalStoreType
name LocalStore
maxOccurs unbounded
minOccurs 0

FileStore

属性
type FileStoreType
name FileStore
maxOccurs unbounded
minOccurs 0

AzureBlob

属性
type AzureBlobType
name AzureBlob
maxOccurs unbounded
minOccurs 0

Diagnostics 元素

属性
type DiagnosticsType
内容 0 个元素,0 个属性
name Diagnostics
minOccurs 0

XML 源

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

Diagnostics 元素

属性
type DiagnosticsType
内容 0 个元素,0 个属性
name Diagnostics

XML 源

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

Diagnostics 元素

属性
type ServiceDiagnosticsType
内容 0 个元素,0 个属性
name Diagnostics
minOccurs 0

XML 源

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

Diagnostics 元素

属性
type ServiceDiagnosticsType
内容 0 个元素,0 个属性
name Diagnostics

XML 源

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

DigestedCertificates 元素

属性
type 匿名的 complexType
内容 2 个元素,0 个属性
name DigestedCertificates

XML 源

<xs:element xmlns:xs="http://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

属性
type FabricCertificateType
name SecretsCertificate
minOccurs 0

EndpointCertificate

属性
type EndpointCertificateType
name EndpointCertificate
minOccurs 0

DigestedCertificates 元素

属性
type 匿名的 complexType
内容 1 个元素,0 个属性
maxOccurs 1
name DigestedCertificates
minOccurs 0

XML 源

<xs:element xmlns:xs="http://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

属性
type EndpointCertificateType
name EndpointCertificate
maxOccurs unbounded
minOccurs 0

DigestedCodePackage 元素

属性
type 匿名的 complexType
内容 5 个元素,2 个属性
maxOccurs unbounded
name DigestedCodePackage

XML 源

<xs:element xmlns:xs="http://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:sequence>
          <xs:attributeGroup ref="VersionedItemAttrGroup"/>
          <xs:attribute name="ContentChecksum" type="xs:string"/>
          <xs:attribute name="IsShared" type="xs:boolean"/>
        </xs:complexType>
      </xs:element>

属性详细信息

ContentChecksum

属性
type xs:string
name ContentChecksum

IsShared

属性
type xs:boolean
name IsShared

内容元素详细信息

CodePackage

属性
type CodePackageType
name CodePackage

RunAsPolicy

属性
type RunAsPolicyType
name RunAsPolicy
maxOccurs 2
minOccurs 0

DebugParameters

属性
type DebugParametersType
name DebugParameters
maxOccurs 1
minOccurs 0

ContainerHostPolicies

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

属性
type ContainerHostPoliciesType
name ContainerHostPolicies
minOccurs 0

ResourceGovernancePolicy

指定代码包的资源限制。

属性
type ResourceGovernancePolicyType
name ResourceGovernancePolicy
minOccurs 0

DigestedConfigPackage 元素

属性
type 匿名的 complexType
内容 3 个元素,2 个属性
maxOccurs unbounded
name DigestedConfigPackage
minOccurs 0

XML 源

<xs:element xmlns:xs="http://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

属性
type xs:string
name ContentChecksum

IsShared

属性
type xs:boolean
name IsShared

内容元素详细信息

ConfigPackage

属性
type ConfigPackageType
name ConfigPackage

ConfigOverride

属性
type ConfigOverrideType
name ConfigOverride
minOccurs 0

DebugParameters

属性
type DebugParametersType
name DebugParameters
maxOccurs 1
minOccurs 0

DigestedDataPackage 元素

属性
type 匿名的 complexType
内容 2 个元素,2 个属性
maxOccurs unbounded
name DigestedDataPackage
minOccurs 0

XML 源

<xs:element xmlns:xs="http://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

属性
type xs:string
name ContentChecksum

IsShared

属性
type xs:boolean
name IsShared

内容元素详细信息

DataPackage

属性
type DataPackageType
name DataPackage

DebugParameters

属性
type DebugParametersType
name DebugParameters
maxOccurs 1
minOccurs 0

DigestedEndpoint 元素

属性
type 匿名的 complexType
内容 4 个元素,0 个属性
maxOccurs unbounded
name DigestedEndpoint
minOccurs 0

XML 源

<xs:element xmlns:xs="http://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>

内容元素详细信息

Endpoint

属性
type EndpointType
name Endpoint

SecurityAccessPolicy

属性
type SecurityAccessPolicyType
name SecurityAccessPolicy
minOccurs 0

EndpointBindingPolicy

属性
type EndpointBindingPolicyType
name EndpointBindingPolicy
minOccurs 0

ResourceGovernancePolicy

属性
type ResourceGovernancePolicyType
name ResourceGovernancePolicy
maxOccurs 1
minOccurs 0

DigestedEndpoints 元素

属性
type 匿名的 complexType
内容 1 个元素,0 个属性
name DigestedEndpoints
minOccurs 0

XML 源

<xs:element xmlns:xs="http://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

属性
maxOccurs unbounded
name DigestedEndpoint
minOccurs 0

DigestedEnvironment 元素

属性
type EnvironmentType
内容 0 个元素,0 个属性
name DigestedEnvironment

XML 源

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

DigestedResources 元素

属性
type 匿名的 complexType
内容 2 个元素,0 个属性
name DigestedResources
minOccurs 1

XML 源

<xs:element xmlns:xs="http://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

属性
name DigestedEndpoints
minOccurs 0

DigestedCertificates

属性
maxOccurs 1
name DigestedCertificates
minOccurs 0

DigestedServiceTypes 元素

属性
type 匿名的 complexType
内容 1 个元素,0 个属性
name DigestedServiceTypes

XML 源

<xs:element xmlns:xs="http://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

属性
type ServiceTypesType
name ServiceTypes

DllHost 元素

属性
type DllHostEntryPointType
内容 0 个元素,0 个属性
name DllHost

XML 源

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

DomainGroup 元素

属性
type 匿名的 complexType
内容 0 个元素,1 个属性
maxOccurs unbounded
name DomainGroup
minOccurs 0

XML 源

<xs:element xmlns:xs="http://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>

属性详细信息

Name

属性
type xs:string
name Name
use required

DomainUser 元素

属性
type 匿名的 complexType
内容 0 个元素,1 个属性
maxOccurs unbounded
name DomainUser
minOccurs 0

XML 源

<xs:element xmlns:xs="http://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>

属性详细信息

Name

属性
type xs:string
name Name
use required

DriverOption 元素

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

属性
type DriverOptionType
内容 0 个元素,0 个属性
name DriverOption
maxOccurs unbounded
minOccurs 0

XML 源

<xs:element xmlns:xs="http://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>

DriverOption 元素

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

属性
type DriverOptionType
内容 0 个元素,0 个属性
name DriverOption
maxOccurs unbounded
minOccurs 0

XML 源

<xs:element xmlns:xs="http://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 设置。

属性
type 匿名的 complexType
内容 2 个元素,0 个属性
name ETW
minOccurs 0

XML 源

<xs:element xmlns:xs="http://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。

属性
name ProviderGuids
minOccurs 0

ManifestDataPackages

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

属性
name ManifestDataPackages
minOccurs 0

ETWSource 元素

指定 ETW 跟踪收集。 ETW 跟踪是针对属于应用程序的所有服务注册的提供程序收集的。

属性
type 匿名的 complexType
内容 2 个元素,1 个属性
name ETWSource
minOccurs 0

XML 源

<xs:element xmlns:xs="http://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>

属性详细信息

IsEnabled

指示是否启用 ETW 跟踪收集。 默认情况下不启用。

属性
type xs:string
name IsEnabled

内容元素详细信息

Destinations

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

属性
name Destinations
minOccurs 0

属性
ref parameters
maxOccurs 1
minOccurs 0

Endpoint 元素

属性
type EndpointOverrideType
内容 0 个元素,0 个属性
name Endpoint
maxOccurs unbounded

XML 源

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

Endpoint 元素

属性
type EndpointType
内容 0 个元素,0 个属性
name Endpoint
maxOccurs unbounded

XML 源

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

Endpoint 元素

属性
type EndpointType
内容 0 个元素,0 个属性
name Endpoint

XML 源

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

EndpointBindingPolicy 元素

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

属性
type EndpointBindingPolicyType
内容 0 个元素,0 个属性
name EndpointBindingPolicy
minOccurs 0

XML 源

<xs:element xmlns:xs="http://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>

EndpointBindingPolicy 元素

属性
type EndpointBindingPolicyType
内容 0 个元素,0 个属性
name EndpointBindingPolicy
minOccurs 0

XML 源

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

EndpointCertificate 元素

属性
type EndpointCertificateType
内容 0 个元素,0 个属性
name EndpointCertificate
minOccurs 0

XML 源

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

EndpointCertificate 元素

属性
type EndpointCertificateType
内容 0 个元素,0 个属性
name EndpointCertificate
minOccurs 0

XML 源

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

EndpointCertificate 元素

属性
type EndpointCertificateType
内容 0 个元素,0 个属性
name EndpointCertificate
maxOccurs unbounded
minOccurs 0

XML 源

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

Endpoints 元素

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

属性
type FabricEndpointsType
内容 0 个元素,0 个属性
name Endpoints
minOccurs 0

XML 源

<xs:element xmlns:xs="http://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 元素

定义服务的终结点。

属性
type 匿名的 complexType
内容 1 个元素,0 个属性
name Endpoints
minOccurs 0

XML 源

<xs:element xmlns:xs="http://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="EndpointOverrideType" maxOccurs="unbounded"/>
          </xs:sequence>
        </xs:complexType>
      </xs:element>

内容元素详细信息

终结点

属性
type EndpointOverrideType
name Endpoint
maxOccurs unbounded

Endpoints 元素

定义服务的终结点。

属性
type 匿名的 complexType
内容 1 个元素,0 个属性
name Endpoints
minOccurs 0

XML 源

<xs:element xmlns:xs="http://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>

内容元素详细信息

终结点

属性
type EndpointType
name Endpoint
maxOccurs unbounded

Endpoints 元素

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

属性
type FabricEndpointsType
内容 0 个元素,0 个属性
name Endpoints
minOccurs 0

XML 源

<xs:element xmlns:xs="http://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>

EntryPoint 元素

属性
type EntryPointDescriptionType
内容 0 个元素,0 个属性
name EntryPoint
minOccurs 1

XML 源

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

EntryPoint 元素

属性
type xs:string
内容 0 个元素,0 个属性
name EntryPoint
maxOccurs 1
minOccurs 0

XML 源

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

EnvironmentOverrides 元素

属性
type EnvironmentOverridesType
内容 0 个元素,0 个属性
name EnvironmentOverrides
maxOccurs unbounded
minOccurs 0

XML 源

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

EnvironmentVariable 元素

环境变量。

属性
type EnvironmentVariableType
内容 0 个元素,0 个属性
name EnvironmentVariable
maxOccurs unbounded
minOccurs 0

XML 源

<xs:element xmlns:xs="http://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>

EnvironmentVariable 元素

环境变量。

属性
type EnvironmentVariableType
内容 0 个元素,0 个属性
name EnvironmentVariable
maxOccurs unbounded
minOccurs 0

XML 源

<xs:element xmlns:xs="http://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 元素

属性
type EnvironmentVariablesType
内容 0 个元素,0 个属性
name EnvironmentVariables
maxOccurs 1
minOccurs 0

XML 源

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

EphemeralEndpoints 元素

属性
type 匿名的 complexType
内容 0 个元素,2 个属性
name EphemeralEndpoints
minOccurs 0

XML 源

<xs:element xmlns:xs="http://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

属性
type xs:int
name StartPort
use required

EndPort

属性
type xs:int
name EndPort
use required

EvictionPolicy 元素

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

属性
type 匿名的 complexType
内容 1 个元素,2 个属性
name EvictionPolicy

XML 源

<xs:element xmlns:xs="http://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>

属性详细信息

Name

属性
type xs:string
name Name
use required

Provider

属性
type xs:string
name Provider
use required

内容元素详细信息

属性

属性
type ServiceTypeExtensionPolicyPropertiesType
name Properties
minOccurs 0

ExeHost 元素

属性
type ExeHostEntryPointType
内容 0 个元素,0 个属性
name ExeHost

XML 源

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

ExeHost 元素

属性
type 匿名的 complexType
内容 0 个元素,0 个属性
name ExeHost

XML 源

<xs:element xmlns:xs="http://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 元素

属性
type 匿名的 complexType
内容 0 个元素,2 个属性
maxOccurs unbounded
name Extension
minOccurs 0

XML 源

<xs:element xmlns:xs="http://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>

属性详细信息

Name

属性
name Name
use required

GeneratedId

属性
type xs:string
name GeneratedId
use optional

Extensions 元素

属性
type ExtensionsType
内容 0 个元素,0 个属性
name Extensions

XML 源

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

FabricSettings 元素

属性
type SettingsOverridesType
内容 0 个元素,0 个属性
name FabricSettings
minOccurs 0

XML 源

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

FailoverManagerReplicatorEndpoint 元素

属性
type InternalEndpointType
内容 0 个元素,0 个属性
name FailoverManagerReplicatorEndpoint
minOccurs 0

XML 源

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

FaultAnalysisServiceReplicatorEndpoint 元素

属性
type InternalEndpointType
内容 0 个元素,0 个属性
name FaultAnalysisServiceReplicatorEndpoint
minOccurs 0

XML 源

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

FileStore 元素

属性
type FileStoreType
内容 0 个元素,0 个属性
name FileStore
maxOccurs unbounded
minOccurs 0

XML 源

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

FileStore 元素

属性
type FileStoreETWType
内容 0 个元素,0 个属性
name FileStore
maxOccurs unbounded
minOccurs 0

XML 源

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

FileStore 元素

属性
type FileStoreType
内容 0 个元素,0 个属性
name FileStore
maxOccurs unbounded
minOccurs 0

XML 源

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

FolderSource 元素

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

属性
type 匿名的 complexType
内容 2 个元素,1 个属性
maxOccurs unbounded
name FolderSource
minOccurs 0

XML 源

<xs:element xmlns:xs="http://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>

属性详细信息

IsEnabled

指示是否启用对此文件夹的内容的收集。 默认情况下不启用。

属性
type xs:string
name IsEnabled

内容元素详细信息

Destinations

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

属性
name Destinations
minOccurs 0

属性
ref parameters
maxOccurs 1
minOccurs 0

FromSource 元素

属性
type xs:string
内容 0 个元素,0 个属性
name FromSource
maxOccurs 1
minOccurs 0

XML 源

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

Group 元素

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

属性
type 匿名的 complexType
内容 2 个元素,1 个属性
maxOccurs unbounded
name Group

XML 源

<xs:element xmlns:xs="http://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>

属性详细信息

Name

本地组帐户的名称。 该名称将以应用程序 ID 作为前缀。

属性
type xs:string
name Name
use required

内容元素详细信息

NTLMAuthenticationPolicy

属性
name NTLMAuthenticationPolicy
minOccurs 0

Membership

属性
name Membership
minOccurs 0

Group 元素

要将用户添加到的组。 必须在 Groups 节中定义该组。

属性
type 匿名的 complexType
内容 0 个元素,1 个属性
maxOccurs unbounded
name Group
minOccurs 0

XML 源

<xs:element xmlns:xs="http://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

组名称。

属性
type xs:string
name NameRef
use required

Groups 元素

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

属性
type 匿名的 complexType
内容 1 个元素,0 个属性
name Groups
minOccurs 0

XML 源

<xs:element xmlns:xs="http://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.</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>

内容元素详细信息

Group

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

属性
maxOccurs unbounded
name Group

HealthConfig 元素

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

属性
type ContainerHealthConfigType
内容 0 个元素,0 个属性
name HealthConfig
maxOccurs 1
minOccurs 0

XML 源

<xs:element xmlns:xs="http://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 元素

属性
type ApplicationHealthPolicyType
内容 0 个元素,0 个属性
name HealthPolicy
minOccurs 0

XML 源

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

HttpApplicationGatewayEndpoint 元素

属性
type InputEndpointType
内容 0 个元素,0 个属性
name HttpApplicationGatewayEndpoint
minOccurs 0

XML 源

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

HttpGatewayEndpoint 元素

属性
type InputEndpointType
内容 0 个元素,0 个属性
name HttpGatewayEndpoint
minOccurs 0

XML 源

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

Image 元素

要部署的容器映像。

属性
type ImageType
内容 0 个元素,0 个属性
name Image
maxOccurs unbounded
minOccurs 0

XML 源

<xs:element xmlns:xs="http://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 images to be deployed.</xs:documentation>
        </xs:annotation>
      </xs:element>

ImageName 元素

属性
type xs:string
内容 0 个元素,0 个属性
name ImageName

XML 源

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

ImageOverrides 元素

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

属性
type ImageOverridesType
内容 0 个元素,0 个属性
name ImageOverrides
maxOccurs 1
minOccurs 0

XML 源

<xs:element xmlns:xs="http://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 元素

属性
type InternalEndpointType
内容 0 个元素,0 个属性
name ImageStoreServiceReplicatorEndpoint
minOccurs 0

XML 源

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

Infrastructure 示例

属性
type 匿名的 complexType
内容 6 个元素,0 个属性
name Infrastructure

XML 源

<xs:element xmlns:xs="http://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

属性
name WindowsServer

Linux

属性
name Linux

WindowsAzure

属性
name WindowsAzure

WindowsAzureStaticTopology

属性
name WindowsAzureStaticTopology

Blackbird

属性
name Blackbird

PaaS

属性
name PaaS

InfrastructureInformation 元素

描述需要在其上运行结构的基础结构。

属性
type InfrastructureInformationType
内容 0 个元素,0 个属性
name InfrastructureInformation

XML 源

<xs:element xmlns:xs="http://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 元素

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

属性
type 匿名的 complexType
内容 0 个元素,3 个属性
maxOccurs 1
name InstanceCountScalingMechanism
minOccurs 0

XML 源

<xs:element xmlns:xs="http://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 wich to perform the upshift/downshift.</xs:documentation>
                        </xs:annotation>
                    </xs:attribute>
                </xs:complexType>
            </xs:element>

属性详细信息

MinInstanceCount

最小实例数。

属性
type xs:string
name MinInstanceCount
use required

MaxInstanceCount

最大实例数。

属性
type xs:string
name MaxInstanceCount
use required

ScaleIncrement

执行升档/降档时所依据的实例数。

属性
type xs:string
name ScaleIncrement
use required

KtlLoggerSettings 元素

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

属性
type FabricKtlLoggerSettingsType
内容 0 个元素,0 个属性
name KtlLoggerSettings
minOccurs 0

XML 源

<xs:element xmlns:xs="http://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>

LeaseDriverEndpoint 元素

属性
type InternalEndpointType
内容 0 个元素,0 个属性
name LeaseDriverEndpoint

XML 源

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

Linux 元素

属性
type 匿名的 complexType
内容 0 个元素,0 个属性
name Linux

XML 源

<xs:element xmlns:xs="http://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 元素

属性
type LoadMetricType
内容 0 个元素,0 个属性
name LoadMetric
maxOccurs unbounded

XML 源

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

LoadMetric 元素

属性
type LoadMetricType
内容 0 个元素,0 个属性
name LoadMetric
maxOccurs unbounded

XML 源

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

LoadMetric 元素

属性
type LoadMetricType
内容 0 个元素,0 个属性
name LoadMetric
maxOccurs unbounded

XML 源

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

LoadMetric 元素

属性
type LoadMetricType
内容 0 个元素,0 个属性
name LoadMetric
maxOccurs unbounded

XML 源

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

LoadMetric 元素

属性
type LoadMetricType
内容 0 个元素,0 个属性
name LoadMetric
maxOccurs unbounded

XML 源

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

LoadMetrics 元素

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

属性
type 匿名的 complexType
内容 1 个元素,0 个属性
name LoadMetrics
minOccurs 0

XML 源

<xs:element xmlns:xs="http://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

属性
type LoadMetricType
name LoadMetric
maxOccurs unbounded

LoadMetrics 元素

加载此服务报告的指标。

属性
type 匿名的 complexType
内容 1 个元素,0 个属性
name LoadMetrics
minOccurs 0

XML 源

<xs:element xmlns:xs="http://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

属性
type LoadMetricType
name LoadMetric
maxOccurs unbounded

LoadMetrics 元素

加载此服务报告的指标。

属性
type 匿名的 complexType
内容 1 个元素,0 个属性
name LoadMetrics
minOccurs 0

XML 源

<xs:element xmlns:xs="http://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

属性
type LoadMetricType
name LoadMetric
maxOccurs unbounded

LoadMetrics 元素

加载此服务报告的指标。

属性
type 匿名的 complexType
内容 1 个元素,0 个属性
name LoadMetrics
minOccurs 0

XML 源

<xs:element xmlns:xs="http://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

属性
type LoadMetricType
name LoadMetric
maxOccurs unbounded

LoadMetrics 元素

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

属性
type 匿名的 complexType
内容 1 个元素,0 个属性
name LoadMetrics
minOccurs 0

XML 源

<xs:element xmlns:xs="http://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

属性
type LoadMetricType
name LoadMetric
maxOccurs unbounded

LocalStore 元素

属性
type LocalStoreType
内容 0 个元素,0 个属性
name LocalStore
maxOccurs unbounded
minOccurs 0

XML 源

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

LocalStore 元素

属性
type LocalStoreETWType
内容 0 个元素,0 个属性
name LocalStore
maxOccurs unbounded
minOccurs 0

XML 源

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

LocalStore 元素

属性
type LocalStoreType
内容 0 个元素,0 个属性
name LocalStore
maxOccurs unbounded
minOccurs 0

XML 源

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

LogCollectionPolicies 元素

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

属性
type 匿名的 complexType
内容 1 个元素,0 个属性
name LogCollectionPolicies
minOccurs 0

XML 源

<xs:element xmlns:xs="http://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

属性
name LogCollectionPolicy

LogCollectionPolicy 元素

属性
type 匿名的 complexType
内容 0 个元素,1 个属性
name LogCollectionPolicy

XML 源

<xs:element xmlns:xs="http://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>

属性详细信息

Path

属性
type xs:string
name Path
use optional

LogConfig 元素

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

属性
type ContainerLoggingDriverType
内容 0 个元素,0 个属性
name LogConfig
maxOccurs 1
minOccurs 0

XML 源

<xs:element xmlns:xs="http://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 设置

属性
type 匿名的 complexType
内容 1 个元素,0 个属性
name LogicalDirectories
minOccurs 0

XML 源

<xs:element xmlns:xs="http://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

属性
type LogicalDirectoryType
name LogicalDirectory
maxOccurs unbounded

LogicalDirectory 元素

属性
type LogicalDirectoryType
内容 0 个元素,0 个属性
name LogicalDirectory
maxOccurs unbounded

XML 源

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

ManagedAssembly 元素

属性
type ManagedAssemblyType
内容 0 个元素,0 个属性
name ManagedAssembly

XML 源

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

ManifestDataPackage 元素

属性
type DataPackageType
内容 0 个元素,0 个属性
name ManifestDataPackage
maxOccurs unbounded
minOccurs 0

XML 源

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

ManifestDataPackages 元素

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

属性
type 匿名的 complexType
内容 1 个元素,0 个属性
name ManifestDataPackages
minOccurs 0

XML 源

<xs:element xmlns:xs="http://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

属性
type DataPackageType
name ManifestDataPackage
maxOccurs unbounded
minOccurs 0

Member 元素

属性
type ServiceGroupMemberType
内容 0 个元素,0 个属性
name Member
maxOccurs unbounded
minOccurs 1

XML 源

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

Member 元素

属性
type ServiceGroupMemberType
内容 0 个元素,0 个属性
name Member
maxOccurs unbounded
minOccurs 1

XML 源

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

MemberOf 元素

                    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).
属性
type 匿名的 complexType
内容 2 个元素,0 个属性
name MemberOf
minOccurs 0

XML 源

<xs:element xmlns:xs="http://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

要将用户添加到的系统组。 必须在 Groups 节中定义该系统组。

属性
maxOccurs unbounded
name SystemGroup
minOccurs 0

Group

要将用户添加到的组。 必须在 Groups 节中定义该组。

属性
maxOccurs unbounded
name Group
minOccurs 0

Members 元素

此服务组的成员服务

属性
type 匿名的 complexType
内容 1 个元素,0 个属性
maxOccurs 1
name Members
minOccurs 1

XML 源

<xs:element xmlns:xs="http://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>

内容元素详细信息

Member

属性
type ServiceGroupMemberType
name Member
maxOccurs unbounded
minOccurs 1

Members 元素

此服务组的成员服务

属性
type 匿名的 complexType
内容 1 个元素,0 个属性
maxOccurs 1
name Members
minOccurs 1

XML 源

<xs:element xmlns:xs="http://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>

内容元素详细信息

Member

属性
type ServiceGroupMemberType
name Member
maxOccurs unbounded
minOccurs 1

Membership 元素

属性
type 匿名的 complexType
内容 3 个元素,0 个属性
name Membership
minOccurs 0

XML 源

<xs:element xmlns:xs="http://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

属性
maxOccurs unbounded
name DomainGroup
minOccurs 0

SystemGroup

属性
maxOccurs unbounded
name SystemGroup
minOccurs 0

DomainUser

属性
maxOccurs unbounded
name DomainUser
minOccurs 0

NTLMAuthenticationPolicy 元素

属性
type 匿名的 complexType
内容 0 个元素,1 个属性
name NTLMAuthenticationPolicy
minOccurs 0

XML 源

<xs:element xmlns:xs="http://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>

属性详细信息

IsEnabled

属性
type xs:boolean
name IsEnabled
default true
use optional

NTLMAuthenticationPolicy 元素

属性
type 匿名的 complexType
内容 0 个元素,6 个属性
name NTLMAuthenticationPolicy
minOccurs 0

XML 源

<xs:element xmlns:xs="http://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>

属性详细信息

IsEnabled

属性
type xs:boolean
name IsEnabled
default true
use optional

PasswordSecret

属性
type xs:string
name PasswordSecret
use required

PasswordSecretEncrypted

属性
type xs:boolean
name PasswordSecretEncrypted
default false
use optional

X509StoreLocation

属性
default LocalMachine
name X509StoreLocation
use optional

X509StoreName

属性
default My
name X509StoreName

X509Thumbprint

属性
type xs:string
name X509Thumbprint

NamedPartition 元素

描述基于每个分区的名称的命名分区方案。

属性
type 匿名的 complexType
内容 1 个元素,0 个属性
name NamedPartition

XML 源

<xs:element xmlns:xs="http://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

通过名称描述分区。

属性
name Partition

NamingReplicatorEndpoint 元素

属性
type InternalEndpointType
内容 0 个元素,0 个属性
name NamingReplicatorEndpoint
minOccurs 0

XML 源

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

NetworkConfig 元素

指定容器的网络配置。

属性
type ContainerNetworkConfigType
内容 0 个元素,0 个属性
name NetworkConfig
maxOccurs 1
minOccurs 0

XML 源

<xs:element xmlns:xs="http://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>

Node 元素

属性
type FabricNodeType
内容 0 个元素,0 个属性
name Node
maxOccurs unbounded

XML 源

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

Node 元素

属性
type FabricNodeType
内容 0 个元素,0 个属性
name Node
maxOccurs unbounded

XML 源

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

Node 元素

属性
type InfrastructureNodeType
内容 0 个元素,0 个属性
name Node
maxOccurs unbounded

XML 源

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

NodeList 元素

属性
type 匿名的 complexType
内容 1 个元素,0 个属性
name NodeList

XML 源

<xs:element xmlns:xs="http://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

属性
type FabricNodeType
name Node
maxOccurs unbounded

NodeList 元素

属性
type 匿名的 complexType
内容 1 个元素,0 个属性
name NodeList

XML 源

<xs:element xmlns:xs="http://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

属性
type FabricNodeType
name Node
maxOccurs unbounded

NodeList 元素

属性
type 匿名的 complexType
内容 1 个元素,0 个属性
name NodeList

XML 源

<xs:element xmlns:xs="http://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

属性
type InfrastructureNodeType
name Node
maxOccurs unbounded

NodeType 元素

描述节点类型。

属性
type 匿名的 complexType
内容 7 个元素,1 个属性
maxOccurs unbounded
name NodeType

XML 源

<xs:element xmlns:xs="http://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>

属性详细信息

Name

NodeType 的名称

属性
type xs:string
name Name
use required

内容元素详细信息

Endpoints

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

属性
type FabricEndpointsType
name Endpoints
minOccurs 0

KtlLoggerSettings

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

属性
type FabricKtlLoggerSettingsType
name KtlLoggerSettings
minOccurs 0

LogicalDirectories

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

属性
name LogicalDirectories
minOccurs 0

证书

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

属性
type CertificatesType
name Certificates
minOccurs 0

PlacementProperties

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

属性
name PlacementProperties
minOccurs 0

Capacities

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

属性
name Capacities
minOccurs 0

SfssRgPolicies

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

属性
name SfssRgPolicies
minOccurs 0

NodeTypes 元素

属性
type 匿名的 complexType
内容 1 个元素,0 个属性
name NodeTypes
minOccurs 1

XML 源

<xs:element xmlns:xs="http://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

描述节点类型。

属性
maxOccurs unbounded
name NodeType

PaaS 元素

属性
type 匿名的 complexType
内容 2 个元素,0 个属性
name PaaS

XML 源

<xs:element xmlns:xs="http://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>

内容元素详细信息

Roles

属性
name Roles

Votes

属性
name Votes

PackageSharingPolicy 元素

属性
type PackageSharingPolicyType
内容 0 个元素,0 个属性
name PackageSharingPolicy
minOccurs 0

XML 源

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

Parameter 元素

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

属性
type 匿名的 complexType
内容 0 个元素,2 个属性
maxOccurs unbounded
name Parameter
block
minOccurs 0

XML 源

<xs:element xmlns:xs="http://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

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

属性
name Name
use required

DefaultValue

该参数的默认值,若应用程序实例化期间未提供该参数值,将使用该值。

属性
type xs:string
name DefaultValue
use required

Parameter 元素

要重写的设置。

属性
type 匿名的 complexType
内容 0 个元素,1 个属性
maxOccurs unbounded
name Parameter
minOccurs 0

XML 源

<xs:element xmlns:xs="http://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.
                    </xs:documentation>
                                    </xs:annotation>
                                </xs:attribute>
                            </xs:complexType>
                        </xs:element>

属性详细信息

IsEncrypted

                  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.
属性
type xs:boolean
name IsEncrypted
default false

Parameter 元素

属性
type ParameterType
内容 0 个元素,0 个属性
name Parameter
maxOccurs unbounded
minOccurs 1

XML 源

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

Parameter 元素

属性
type 匿名的 complexType
内容 0 个元素,4 个属性
maxOccurs unbounded
name Parameter
minOccurs 0

XML 源

<xs:element xmlns:xs="http://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:complexType>
            </xs:element>

属性详细信息

Name

属性
type xs:string
name Name
use required

Value

属性
type xs:string
name Value
use required

MustOverride

若为 true,则此参数的值必须由更高级别的配置重写。

属性
type xs:boolean
name MustOverride
default false

IsEncrypted

若为 true,则此参数的值将加密。

属性
type xs:boolean
name IsEncrypted
default false

Parameter 元素

属性
type 匿名的 complexType
内容 0 个元素,0 个属性
maxOccurs unbounded
name Parameter
minOccurs 0

XML 源

<xs:element xmlns:xs="http://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>

Parameters 元素

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

属性
type 匿名的 complexType
内容 1 个元素,0 个属性
name parameters
minOccurs 0

XML 源

<xs:element xmlns:xs="http://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>

内容元素详细信息

Parameter

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

属性
maxOccurs unbounded
name Parameter
block
minOccurs 0

Parameters 元素

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

属性
type ParametersType
内容 0 个元素,0 个属性
name parameters

XML 源

<xs:element xmlns:xs="http://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 元素

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

属性
type 匿名的 complexType
内容 1 个元素,0 个属性
name parameters

XML 源

<xs:element xmlns:xs="http://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>

内容元素详细信息

参数

属性
maxOccurs unbounded
name Parameter
minOccurs 0

Partition 元素

通过名称描述分区。

属性
type 匿名的 complexType
内容 0 个元素,1 个属性
name Partition

XML 源

<xs:element xmlns:xs="http://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>

属性详细信息

Name

分区名称

属性
name Name
use required

PersistencePolicy 元素

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

属性
type 匿名的 complexType
内容 1 个元素,4 个属性
name PersistencePolicy

XML 源

<xs:element xmlns:xs="http://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>

属性详细信息

Name

属性
type xs:string
name Name
use required

Mode

属性
name Mode
use required

WriteBehind

属性
type xs:string
name WriteBehind
use required

Provider

属性
type xs:string
name Provider
use required

内容元素详细信息

Properties

属性
type ServiceTypeExtensionPolicyPropertiesType
name Properties
minOccurs 0

PlacementConstraints 元素

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

属性
type xs:string
内容 0 个元素,0 个属性
name PlacementConstraints
minOccurs 0

XML 源

<xs:element xmlns:xs="http://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>

PlacementConstraints 元素

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

属性
type xs:string
内容 0 个元素,0 个属性
name PlacementConstraints
minOccurs 0

XML 源

<xs:element xmlns:xs="http://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>

PlacementConstraints 元素

属于此包的一部分的服务的位置约束。

属性
type xs:string
内容 0 个元素,0 个属性
name PlacementConstraints
minOccurs 0

XML 源

<xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="PlacementConstraints" type="xs:string" minOccurs="0">
        <xs:annotation>
          <xs:documentation>Constraints for the placement of services that are part of this package.</xs:documentation>
        </xs:annotation>
      </xs:element>

PlacementProperties 元素

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

属性
type 匿名的 complexType
内容 1 个元素,0 个属性
name PlacementProperties
minOccurs 0

XML 源

<xs:element xmlns:xs="http://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>

内容元素详细信息

Property

属性
type KeyValuePairType
name Property
maxOccurs unbounded
minOccurs 0

Policies 元素

属性
type ServiceManifestImportPoliciesType
内容 0 个元素,0 个属性
name Policies
minOccurs 0

XML 源

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

Policies 元素

属性
type ApplicationPoliciesType
内容 0 个元素,0 个属性
name Policies
minOccurs 0

XML 源

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

Policies 元素

属性
type ApplicationPoliciesType
内容 0 个元素,0 个属性
name Policies

XML 源

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

PortBinding 元素

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

属性
type PortBindingType
内容 0 个元素,0 个属性
name PortBinding
maxOccurs unbounded
minOccurs 0

XML 源

<xs:element xmlns:xs="http://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 元素

属性
type SecurityPrincipalsType
内容 0 个元素,0 个属性
name Principals
minOccurs 0

XML 源

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

Principals 元素

属性
type SecurityPrincipalsType
内容 0 个元素,0 个属性
name Principals

XML 源

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

Program 元素

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

属性
type xs:string
内容 0 个元素,0 个属性
name Program

XML 源

<xs:element xmlns:xs="http://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 元素

属性
type ServiceTypeExtensionPolicyPropertiesType
内容 0 个元素,0 个属性
name Properties
minOccurs 0

XML 源

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

Properties 元素

属性
type ServiceTypeExtensionPolicyPropertiesType
内容 0 个元素,0 个属性
name Properties
minOccurs 0

XML 源

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

Property 元素

属性
type KeyValuePairType
内容 0 个元素,0 个属性
name Property
maxOccurs unbounded
minOccurs 0

XML 源

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

Property 元素

属性
type 匿名的 complexType
内容 0 个元素,2 个属性
maxOccurs unbounded
name Property
minOccurs 0

XML 源

<xs:element xmlns:xs="http://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>

属性详细信息

Name

属性
type xs:string
name Name
use required

Value

属性
type xs:string
name Value
use required

ProviderGuid 元素

属性
type 匿名的 complexType
内容 0 个元素,1 个属性
maxOccurs unbounded
name ProviderGuid
minOccurs 0

XML 源

<xs:element xmlns:xs="http://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>

属性详细信息

Value

属性
name Value
use required

ProviderGuids 元素

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

属性
type 匿名的 complexType
内容 1 个元素,0 个属性
name ProviderGuids
minOccurs 0

XML 源

<xs:element xmlns:xs="http://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>

内容元素详细信息

ProviderGuid

属性
maxOccurs unbounded
name ProviderGuid
minOccurs 0

RepairManagerReplicatorEndpoint 元素

属性
type InternalEndpointType
内容 0 个元素,0 个属性
name RepairManagerReplicatorEndpoint
minOccurs 0

XML 源

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

RepositoryCredentials 元素

要从中提取映像的容器映像存储库的凭据。

属性
type RepositoryCredentialsType
内容 0 个元素,0 个属性
name RepositoryCredentials
maxOccurs 1
minOccurs 0

XML 源

<xs:element xmlns:xs="http://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 元素

指定代码包的资源限制。

属性
type ResourceGovernancePolicyType
内容 0 个元素,0 个属性
name ResourceGovernancePolicy
minOccurs 0

XML 源

<xs:element xmlns:xs="http://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 codepackage.</xs:documentation>
        </xs:annotation>
      </xs:element>

ResourceGovernancePolicy 元素

指定代码包的资源限制。

属性
type ResourceGovernancePolicyType
内容 0 个元素,0 个属性
name ResourceGovernancePolicy
minOccurs 0

XML 源

<xs:element xmlns:xs="http://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 codepackage.</xs:documentation>
              </xs:annotation>
            </xs:element>

ResourceGovernancePolicy 元素

属性
type ResourceGovernancePolicyType
内容 0 个元素,0 个属性
name ResourceGovernancePolicy
maxOccurs 1
minOccurs 0

XML 源

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

ResourceOverrides 元素

属性
type ResourceOverridesType
内容 0 个元素,0 个属性
name ResourceOverrides
minOccurs 0

XML 源

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

Resources 元素

属性
type ResourcesType
内容 0 个元素,0 个属性
name Resources
minOccurs 0

XML 源

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

Role 元素

属性
type AzureRoleType
内容 0 个元素,0 个属性
name Role
maxOccurs unbounded

XML 源

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

Role 元素

属性
type BlackbirdRoleType
内容 0 个元素,0 个属性
name Role
maxOccurs unbounded
minOccurs 1

XML 源

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

Role 元素

属性
type PaaSRoleType
内容 0 个元素,0 个属性
name Role
maxOccurs unbounded

XML 源

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

Roles 元素

属性
type 匿名的 complexType
内容 1 个元素,0 个属性
name Roles

XML 源

<xs:element xmlns:xs="http://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>

内容元素详细信息

Role

属性
type AzureRoleType
name Role
maxOccurs unbounded

Roles 元素

属性
type 匿名的 complexType
内容 1 个元素,0 个属性
name Roles

XML 源

<xs:element xmlns:xs="http://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>

内容元素详细信息

Role

属性
type BlackbirdRoleType
name Role
maxOccurs unbounded
minOccurs 1

Roles 元素

属性
type 匿名的 complexType
内容 1 个元素,0 个属性
name Roles

XML 源

<xs:element xmlns:xs="http://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>

内容元素详细信息

Role

属性
type PaaSRoleType
name Role
maxOccurs unbounded

RunAsPolicy 元素

属性
type RunAsPolicyType
内容 0 个元素,0 个属性
name RunAsPolicy
minOccurs 0

XML 源

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

RunAsPolicy 元素

属性
type RunAsPolicyType
内容 0 个元素,0 个属性
name RunAsPolicy
maxOccurs 2
minOccurs 0

XML 源

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

RunFrequency 元素

属性
type 匿名的 complexType
内容 0 个元素,1 个属性
name RunFrequency
minOccurs 0

XML 源

<xs:element xmlns:xs="http://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

属性
name IntervalInSeconds
use required

ScalingPolicy 元素

属性
type ScalingPolicyType
内容 0 个元素,0 个属性
name ScalingPolicy
maxOccurs unbounded

XML 源

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

SecretsCertificate 元素

属性
type FabricCertificateType
内容 0 个元素,0 个属性
name SecretsCertificate
minOccurs 0

XML 源

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

SecretsCertificate 元素

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

属性
type FabricCertificateType
内容 0 个元素,0 个属性
name SecretsCertificate
minOccurs 0

XML 源

<xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" 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>

SecretsCertificate 元素

属性
type FabricCertificateType
内容 0 个元素,0 个属性
name SecretsCertificate
minOccurs 0

XML 源

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

Section 元素

要重写的 Settings.xml 文件中的某个节。

属性
type 匿名的 complexType
内容 1 个元素,1 个属性
maxOccurs unbounded
name Section

XML 源

<xs:element xmlns:xs="http://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.
                    </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>

属性详细信息

Name

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

属性
name Name
use required

内容元素详细信息

Parameter

要重写的设置。

属性
maxOccurs unbounded
name Parameter
minOccurs 0

Section 元素

用户定义的命名节。

属性
type 匿名的 complexType
内容 1 个元素,1 个属性
maxOccurs unbounded
name Section
minOccurs 0

XML 源

<xs:element xmlns:xs="http://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:complexType>
            </xs:element>
          </xs:sequence>
          <xs:attribute name="Name" type="xs:string" use="required"/>
        </xs:complexType>
      </xs:element>

属性详细信息

Name

属性
type xs:string
name Name
use required

内容元素详细信息

Parameter

属性
maxOccurs unbounded
name Parameter
minOccurs 0

SecurityAccessPolicies 元素

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

属性
type 匿名的 complexType
内容 1 个元素,0 个属性
name SecurityAccessPolicies
minOccurs 0

XML 源

<xs:element xmlns:xs="http://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

属性
type SecurityAccessPolicyType
name SecurityAccessPolicy

SecurityAccessPolicy 元素

属性
type SecurityAccessPolicyType
内容 0 个元素,0 个属性
name SecurityAccessPolicy
minOccurs 0

XML 源

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

SecurityAccessPolicy 元素

属性
type SecurityAccessPolicyType
内容 0 个元素,0 个属性
name SecurityAccessPolicy

XML 源

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

SecurityAccessPolicy 元素

属性
type SecurityAccessPolicyType
内容 0 个元素,0 个属性
name SecurityAccessPolicy
minOccurs 0

XML 源

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

SecurityOption 元素

指定容器的安全选项。

属性
type SecurityOptionsType
内容 0 个元素,0 个属性
name SecurityOption
maxOccurs unbounded
minOccurs 0

XML 源

<xs:element xmlns:xs="http://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 元素

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

属性
type FabricCertificateType
内容 0 个元素,0 个属性
name ServerCertificate
minOccurs 0

XML 源

<xs:element xmlns:xs="http://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 元素

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

属性
type 匿名的 complexType
内容 2 个元素,4 个属性
name Service

XML 源

<xs:element xmlns:xs="http://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 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>

属性详细信息

Name

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

属性
type xs:string
name Name
use required

GeneratedIdRef

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

属性
type xs:string
name GeneratedIdRef
use optional

ServiceDnsName

服务的 DNS 名称。

属性
type xs:string
name ServiceDnsName
use optional

ServicePackageActivationMode

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

属性
type xs:string
name ServicePackageActivationMode
default SharedProcess
use optional

内容元素详细信息

StatelessService

属性
type StatelessServiceType
name StatelessService

StatefulService

属性
type StatefulServiceType
name StatefulService

ServiceConnectionEndpoint 元素

属性
type InternalEndpointType
内容 0 个元素,0 个属性
name ServiceConnectionEndpoint
minOccurs 0

XML 源

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

ServiceCorrelation 元素

定义与另一个服务之间的关联关系。 将整体应用程序拆分为微服务时很有用。 一个服务对另一个服务存在本地依赖,这两个服务需要在同一个节点上运行才能正常工作。

属性
type 匿名的 complexType
内容 0 个元素,2 个属性
maxOccurs unbounded
name ServiceCorrelation

XML 源

<xs:element xmlns:xs="http://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”。

属性
name ServiceName
use required

Scheme

在 NonAlignedAffinity 下,不同服务的副本或实例放在同一个节点上。 AlignedAffinity 适用于有状态服务。 将某一有状态服务配置为与另一有状态服务具有一致相关性后,可确保这些服务的主体位于相同节点上,且每对副本也位于相同节点上。

属性
name Scheme
use required

ServiceCorrelations 元素

定义服务之间的关联关系。

属性
type 匿名的 complexType
内容 1 个元素,0 个属性
name ServiceCorrelations
minOccurs 0

XML 源

<xs:element xmlns:xs="http://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

定义与另一个服务之间的关联关系。 将整体应用程序拆分为微服务时很有用。 一个服务对另一个服务存在本地依赖,这两个服务需要在同一个节点上运行才能正常工作。

属性
maxOccurs unbounded
name ServiceCorrelation

ServiceGroup 元素

自动放置在一起的服务集合,因此在故障转移或资源管理过程中它们也会一起移动。

属性
type 匿名的 complexType
内容 2 个元素,2 个属性
name ServiceGroup

XML 源

<xs:element xmlns:xs="http://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 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>

属性详细信息

Name

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

属性
type xs:string
name Name
use required

ServicePackageActivationMode

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

属性
type xs:string
name ServicePackageActivationMode
default SharedProcess
use optional

内容元素详细信息

StatelessServiceGroup

属性
type StatelessServiceGroupType
name StatelessServiceGroup

StatefulServiceGroup

属性
type StatefulServiceGroupType
name StatefulServiceGroup

ServiceGroupMembers 元素

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

属性
type 匿名的 complexType
内容 1 个元素,0 个属性
maxOccurs 1
name ServiceGroupMembers
minOccurs 0

XML 源

<xs:element xmlns:xs="http://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>

内容元素详细信息

属性
ref ServiceGroupTypeMember
maxOccurs unbounded
minOccurs 1

ServiceGroupTypeMember 元素

描述服务组的成员类型。

属性
type 匿名的 complexType
内容 1 个元素,1 个属性
name ServiceGroupTypeMember

XML 源

<xs:element xmlns:xs="http://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>

属性详细信息

ServiceTypeName

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

属性
name ServiceTypeName
use required

内容元素详细信息

LoadMetrics

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

属性
name LoadMetrics
minOccurs 0

ServiceManifest 元素

属性
type ServiceManifestType
内容 0 个元素,0 个属性
name ServiceManifest

XML 源

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

ServiceManifestImport 元素

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

属性
type 匿名的 complexType
内容 5 个元素,0 个属性
maxOccurs unbounded
name ServiceManifestImport

XML 源

<xs:element xmlns:xs="http://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

属性
type ServiceManifestRefType
name ServiceManifestRef

ConfigOverrides

描述所导入服务清单的配置重写。 使用配置重写可以做到仅当与特定的应用程序类型配合使用时才重写服务清单的配置,从而可在多个应用程序类型中重复使用相同的服务清单。 只要使用 ConfigPackage 文件夹中的 Settings.xml 定义默认配置,配置重写就能更改服务清单中的任何默认配置。

属性
name ConfigOverrides
minOccurs 0

ResourceOverrides

属性
type ResourceOverridesType
name ResourceOverrides
minOccurs 0

EnvironmentOverrides

属性
type EnvironmentOverridesType
name EnvironmentOverrides
maxOccurs unbounded
minOccurs 0

Policies

属性
type ServiceManifestImportPoliciesType
name Policies
minOccurs 0

ServiceManifestRef 元素

属性
type ServiceManifestRefType
内容 0 个元素,0 个属性
name ServiceManifestRef

XML 源

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

ServicePackage 元素

ServicePackage 表示带有版本的部署和激活单位。 ServicePackage 的版本根据清单版本和重写版本确定。

属性
type ServicePackageType
内容 0 个元素,0 个属性
name ServicePackage

XML 源

<xs:element xmlns:xs="http://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>

ServicePackageRef 元素

属性
type 匿名的 complexType
内容 0 个元素,1 个属性
maxOccurs unbounded
name ServicePackageRef

XML 源

<xs:element xmlns:xs="http://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>

属性详细信息

Name

属性
name Name
use required

ServicePackageResourceGovernancePolicy 元素

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

属性
type ServicePackageResourceGovernancePolicyType
内容 0 个元素,0 个属性
name ServicePackageResourceGovernancePolicy
maxOccurs 1
minOccurs 0

XML 源

<xs:element xmlns:xs="http://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>

ServicePackageResourceGovernancePolicy 元素

属性
type ServicePackageResourceGovernancePolicyType
内容 0 个元素,0 个属性
name ServicePackageResourceGovernancePolicy
maxOccurs 1
minOccurs 0

XML 源

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

ServicePlacementPolicies 元素

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

属性
type 匿名的 complexType
内容 1 个元素,0 个属性
name ServicePlacementPolicies
minOccurs 0

XML 源

<xs:element xmlns:xs="http://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

定义一个服务放置策略,用于指定服务是否应在某些群集容错域中运行。 当群集跨地理距离和/或地缘政治区域时很有用。

属性
maxOccurs unbounded
name ServicePlacementPolicy

ServicePlacementPolicies 元素

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

属性
type 匿名的 complexType
内容 1 个元素,0 个属性
name ServicePlacementPolicies
minOccurs 0

XML 源

<xs:element xmlns:xs="http://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

定义一个服务放置策略,用于指定服务是否应在某些群集容错域中运行。 当群集跨地理距离和/或地缘政治区域时很有用。

属性
maxOccurs unbounded
name ServicePlacementPolicy

ServicePlacementPolicy 元素

定义一个服务放置策略,用于指定服务是否应在某些群集容错域中运行。 当群集跨地理距离和/或地缘政治区域时很有用。

属性
type 匿名的 complexType
内容 0 个元素,2 个属性
maxOccurs unbounded
name ServicePlacementPolicy

XML 源

<xs:element xmlns:xs="http://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>

属性详细信息

DomainName

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

属性
name DomainName

Type

InvalidDomain 可用来指定某个特定容错域对此工作负荷无效。 RequiredDomain 要求所有副本都存在于指定的域中。 可以指定多个必需的域。 PreferredPrimaryDomain 指定主要副本的首选容错域。 在跨地域的群集中非常有用,在这种群集中,你想要使用其他位置实现冗余,但希望将主要副本放置在特定的位置,以便为前往主要副本的操作实现较低的延迟。 RequiredDomainDistribution 指定需要将各个副本分布到可用容错域中。 NonPartiallyPlace 控制当并非全部服务副本都可放置时是否将放置部分服务副本。

属性
name Type
use required

ServicePlacementPolicy 元素

定义一个服务放置策略,用于指定服务是否应在某些群集容错域中运行。 当群集跨地理距离和/或地缘政治区域时很有用。

属性
type 匿名的 complexType
内容 0 个元素,2 个属性
maxOccurs unbounded
name ServicePlacementPolicy

XML 源

<xs:element xmlns:xs="http://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>

属性详细信息

DomainName

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

属性
name DomainName

Type

InvalidDomain 可用来指定某个特定容错域对此工作负荷无效。 RequiredDomain 要求所有副本都存在于指定的域中。 可以指定多个必需的域。 PreferredPrimaryDomain 指定主要副本的首选容错域。 在跨地域的群集中非常有用,在这种群集中,你想要使用其他位置实现冗余,但希望将主要副本放置在特定的位置,以便为前往主要副本的操作实现较低的延迟。 RequiredDomainDistribution 指定需要将各个副本分布到可用容错域中。 NonPartiallyPlace 控制当并非全部服务副本都可放置时是否将放置部分服务副本。

属性
name Type
use required

ServiceScalingPolicies 元素

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

属性
type 匿名的 complexType
内容 1 个元素,0 个属性
name ServiceScalingPolicies
minOccurs 0

XML 源

<xs:element xmlns:xs="http://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

属性
type ScalingPolicyType
name ScalingPolicy
maxOccurs unbounded

ServiceTemplates 元素

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

属性
type ServiceTemplatesType
内容 0 个元素,0 个属性
name ServiceTemplates
minOccurs 0

XML 源

<xs:element xmlns:xs="http://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>

ServiceTemplates 元素

属性
type ServiceTemplatesType
内容 0 个元素,0 个属性
name ServiceTemplates

XML 源

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

ServiceTypeHealthPolicy 元素

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

属性
type 匿名的 complexType
内容 0 个元素,0 个属性
maxOccurs unbounded
name ServiceTypeHealthPolicy
minOccurs 0

XML 源

<xs:element xmlns:xs="http://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 元素

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

属性
type ServiceAndServiceGroupTypesType
内容 0 个元素,0 个属性
name ServiceTypes

XML 源

<xs:element xmlns:xs="http://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 元素

属性
type ServiceTypesType
内容 0 个元素,0 个属性
name ServiceTypes

XML 源

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

Settings 元素

定义服务的代码包的可配置设置。 Azure Service Fabric 不会解释这些设置,但会通过运行时 API 将其提供给代码组件使用。

属性
type SettingsType
内容 0 个元素,0 个属性
name Settings

XML 源

<xs:element xmlns:xs="http://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>

Settings 元素

属性
type SettingsOverridesType
内容 0 个元素,0 个属性
name Settings
minOccurs 0

XML 源

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

SetupEntryPoint 元素

一个特权入口点,以与 Service Fabric(通常是 LocalSystem 帐户)相同的凭据先于任何其他入口点运行。 EntryPoint 指定的可执行文件通常是长时间运行的服务主机。 提供单独的设置入口点可避免长时间使用高特权运行服务主机。

属性
type 匿名的 complexType
内容 1 个元素,0 个属性
name SetupEntryPoint
minOccurs 0

XML 源

<xs:element xmlns:xs="http://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 runs with the same credentials as Service Fabric (typically the LocalSystem 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

属性
type ExeHostEntryPointType
name ExeHost

SfssRgPolicies 元素

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

属性
type 匿名的 complexType
内容 1 个元素,0 个属性
name SfssRgPolicies
minOccurs 0

XML 源

<xs:element xmlns:xs="http://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

属性
type KeyValuePairType
name SfssRgPolicy
maxOccurs unbounded
minOccurs 0

SfssRgPolicy 元素

属性
type KeyValuePairType
内容 0 个元素,0 个属性
name SfssRgPolicy
maxOccurs unbounded
minOccurs 0

XML 源

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

SharedLogFileId 元素

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

属性
type 匿名的 complexType
内容 0 个元素,1 个属性
name SharedLogFileId
minOccurs 0

XML 源

<xs:element xmlns:xs="http://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>

属性详细信息

Value

属性
name Value
use required

SharedLogFilePath 元素

定义共享日志的路径。

属性
type 匿名的 complexType
内容 0 个元素,1 个属性
name SharedLogFilePath
minOccurs 0

XML 源

<xs:element xmlns:xs="http://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>

属性详细信息

Value

属性
type xs:string
name Value
use required

SharedLogFileSizeInMB 元素

定义共享日志的大小。

属性
type 匿名的 complexType
内容 0 个元素,1 个属性
name SharedLogFileSizeInMB
minOccurs 0

XML 源

<xs:element xmlns:xs="http://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>

属性详细信息

Value

属性
name Value
use required

SingletonPartition 元素

声明此服务仅包含一个分区。

属性
type 匿名的 complexType
内容 0 个元素,0 个属性
name SingletonPartition

XML 源

<xs:element xmlns:xs="http://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 元素

属性
type StatefulServiceType
内容 0 个元素,0 个属性
name StatefulService

XML 源

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

StatefulService 元素

属性
type StatefulServiceType
内容 0 个元素,0 个属性
name StatefulService

XML 源

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

StatefulServiceGroup 元素

属性
type StatefulServiceGroupType
内容 0 个元素,0 个属性
name StatefulServiceGroup

XML 源

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

StatefulServiceGroup 元素

属性
type StatefulServiceGroupType
内容 0 个元素,0 个属性
name StatefulServiceGroup

XML 源

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

StatefulServiceGroupType 元素

属性
type StatefulServiceGroupTypeType
内容 0 个元素,0 个属性
name StatefulServiceGroupType

XML 源

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

StatefulServiceType 元素

属性
type StatefulServiceTypeType
内容 0 个元素,0 个属性
name StatefulServiceType

XML 源

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

StatefulServiceType 元素

描述有状态 ServiceType。

属性
type StatefulServiceTypeType
内容 0 个元素,0 个属性
name StatefulServiceType

XML 源

<xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="StatefulServiceType" type="StatefulServiceTypeType">
        <xs:annotation>
          <xs:documentation>Describes a stateful ServiceType.</xs:documentation>
        </xs:annotation>
      </xs:element>

StatelessService 元素

属性
type StatelessServiceType
内容 0 个元素,0 个属性
name StatelessService

XML 源

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

StatelessService 元素

属性
type StatelessServiceType
内容 0 个元素,0 个属性
name StatelessService

XML 源

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

StatelessServiceGroup 元素

属性
type StatelessServiceGroupType
内容 0 个元素,0 个属性
name StatelessServiceGroup

XML 源

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

StatelessServiceGroup 元素

属性
type StatelessServiceGroupType
内容 0 个元素,0 个属性
name StatelessServiceGroup

XML 源

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

StatelessServiceGroupType 元素

属性
type StatelessServiceGroupTypeType
内容 0 个元素,0 个属性
name StatelessServiceGroupType

XML 源

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

StatelessServiceType 元素

属性
type StatelessServiceTypeType
内容 0 个元素,0 个属性
name StatelessServiceType

XML 源

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

StatelessServiceType 元素

描述无状态 ServiceType。

属性
type StatelessServiceTypeType
内容 0 个元素,0 个属性
name StatelessServiceType

XML 源

<xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="StatelessServiceType" type="StatelessServiceTypeType">
        <xs:annotation>
          <xs:documentation>Describes a stateless ServiceType.</xs:documentation>
        </xs:annotation>
      </xs:element>

SystemGroup 元素

属性
type 匿名的 complexType
内容 0 个元素,1 个属性
maxOccurs unbounded
name SystemGroup
minOccurs 0

XML 源

<xs:element xmlns:xs="http://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>

属性详细信息

Name

属性
type xs:string
name Name
use required

SystemGroup 元素

要将用户添加到的系统组。 必须在 Groups 节中定义该系统组。

属性
type 匿名的 complexType
内容 0 个元素,1 个属性
maxOccurs unbounded
name SystemGroup
minOccurs 0

XML 源

<xs:element xmlns:xs="http://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>

属性详细信息

Name

系统组的名称。

属性
type xs:string
name Name
use required

TargetInformation 元素

描述 FabricDeployer 需要部署的目标。

属性
type TargetInformationType
内容 0 个元素,0 个属性
name TargetInformation

XML 源

<xs:element xmlns:xs="http://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 元素

属性
type WindowsFabricDeploymentInformation
内容 0 个元素,0 个属性
name TargetInstallation
minOccurs 1

XML 源

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

UniformInt64Partition 元素

描述基于 Int64 键的统一分区方案。

属性
type 匿名的 complexType
内容 0 个元素,3 个属性
name UniformInt64Partition

XML 源

<xs:element xmlns:xs="http://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

分区总数(正整数)。 每个分区负责整个分区键范围中的一个非重叠子范围。

属性
type xs:string
name PartitionCount
use required

LowKey

分区键的低范围(包括范围边界)(long)。

属性
type xs:string
name LowKey
use required

HighKey

分区键的高范围(包括范围边界)(long)。

属性
type xs:string
name HighKey
use required

UnmanagedDll 元素

属性
type UnmanagedDllType
内容 0 个元素,0 个属性
name UnmanagedDll

XML 源

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

UpgradeOrchestrationServiceReplicatorEndpoint 元素

属性
type InternalEndpointType
内容 0 个元素,0 个属性
name UpgradeOrchestrationServiceReplicatorEndpoint
minOccurs 0

XML 源

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

UpgradeServiceReplicatorEndpoint 元素

属性
type InternalEndpointType
内容 0 个元素,0 个属性
name UpgradeServiceReplicatorEndpoint
minOccurs 0

XML 源

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

User 元素

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

属性
type 匿名的 complexType
内容 2 个元素,5 个属性
maxOccurs unbounded
name User

XML 源

<xs:element xmlns:xs="http://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. 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>

属性详细信息

Name

用户帐户的名称。

属性
type xs:string
name Name
use required

AccountType

指定帐户类型。 本地用户帐户将创建在部署了应用程序的计算机上。 默认情况下,这些帐户的名称与此处指定的名称不同。 相反,它们是动态生成的并带有随机密码。 受支持的本地系统帐户类型为 LocalUser、NetworkService、LocalService 和 LocalSystem。 在 Azure Active Directory 是可用的 Windows Server 部署上支持域帐户。

属性
default LocalUser
name AccountType
use optional

LoadUserProfile

属性
type xs:boolean
name LoadUserProfile
default false
use optional

PerformInteractiveLogon

属性
type xs:boolean
name PerformInteractiveLogon
default false
use optional

PasswordEncrypted

如果密码将加密,则为 true;如果为纯文本,则为 false。

属性
type xs:boolean
name PasswordEncrypted
use optional

内容元素详细信息

NTLMAuthenticationPolicy

属性
name NTLMAuthenticationPolicy
minOccurs 0

MemberOf

                    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).
属性
name MemberOf
minOccurs 0

UserRoleClientCertificate 元素

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

属性
type FabricCertificateType
内容 0 个元素,0 个属性
name UserRoleClientCertificate
minOccurs 0

XML 源

<xs:element xmlns:xs="http://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 元素

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

属性
type 匿名的 complexType
内容 1 个元素,0 个属性
name Users
minOccurs 0

XML 源

<xs:element xmlns:xs="http://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. 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>

内容元素详细信息

User

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

属性
maxOccurs unbounded
name User

Volume 元素

指定要绑定到容器的卷。

属性
type ContainerVolumeType
内容 0 个元素,0 个属性
name Volume
maxOccurs unbounded
minOccurs 0

XML 源

<xs:element xmlns:xs="http://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 元素

属性
type PaaSVoteType
内容 0 个元素,0 个属性
name Vote
maxOccurs unbounded

XML 源

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

Votes 元素

属性
type 匿名的 complexType
内容 1 个元素,0 个属性
name Votes

XML 源

<xs:element xmlns:xs="http://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>

内容元素详细信息

Vote

属性
type PaaSVoteType
name Vote
maxOccurs unbounded

WindowsAzure 元素

属性
type 匿名的 complexType
内容 1 个元素,0 个属性
name WindowsAzure

XML 源

<xs:element xmlns:xs="http://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>

内容元素详细信息

Roles

属性
name Roles

WindowsAzureStaticTopology 元素

属性
type 匿名的 complexType
内容 0 个元素,0 个属性
name WindowsAzureStaticTopology

XML 源

<xs:element xmlns:xs="http://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 元素

属性
type 匿名的 complexType
内容 0 个元素,0 个属性
name WindowsServer

XML 源

<xs:element xmlns:xs="http://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 元素

属性
type 匿名的 complexType
内容 0 个元素,0 个属性
default Work
name WorkingFolder
minOccurs 0

XML 源

<xs:element xmlns:xs="http://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>