服务模型 XML 架构元素Service model XML schema elements

AddRemoveIncrementalNamedPartitionScalingMechanism 元素AddRemoveIncrementalNamedPartitionScalingMechanism element

定义用于添加或删除已命名分区的机制。Defines a mechanism for adding or removing named partitions.

属性Attribute ValueValue
typetype 匿名的 complexTypeanonymous complexType
内容content 0 个元素,3 个属性0 element(s), 3 attribute(s)
defineddefined ScalingPolicyMechanismGroup 组本地locally in ScalingPolicyMechanismGroup group
namename AddRemoveIncrementalNamedPartitionScalingMechanismAddRemoveIncrementalNamedPartitionScalingMechanism
minOccursminOccurs 00
maxOccursmaxOccurs 11

XML 源XML source

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

属性详细信息Attribute details

MinPartitionCountMinPartitionCount

最小分区数。The minimum number of partitions.

属性Attribute ValueValue
namename MinPartitionCountMinPartitionCount
typetype xs:stringxs:string
useuse 必填required

MaxPartitionCountMaxPartitionCount

最大分区数。The maximum number of partitions.

属性Attribute ValueValue
namename MaxPartitionCountMaxPartitionCount
typetype xs:stringxs:string
useuse 必填required

ScaleIncrementScaleIncrement

作为执行升档/降档依据的分区数。The number of partitions by which to perform the upshift/downshift.

属性Attribute ValueValue
namename ScaleIncrementScaleIncrement
typetype xs:stringxs:string
useuse 必填required

Application 元素Application element

用于创建应用程序的特定于应用程序实例的信息,例如应用程序名称和应用程序参数值。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.

属性Attribute ValueValue
typetype AppInstanceDefinitionTypeAppInstanceDefinitionType
内容content 0 个元素,0 个属性0 element(s), 0 attribute(s)
defineddefined globallyglobally
namename 应用程序Application

XML 源XML source

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

ApplicationEndpoints 元素ApplicationEndpoints element

属性Attribute ValueValue
typetype 匿名的 complexTypeanonymous complexType
内容content 0 个元素,2 个属性0 element(s), 2 attribute(s)
defineddefined FabricEndpointsType complexType 本地locally in FabricEndpointsType complexType
namename ApplicationEndpointsApplicationEndpoints
minOccursminOccurs 00

XML 源XML source

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

属性详细信息Attribute details

StartPortStartPort

属性Attribute ValueValue
namename StartPortStartPort
typetype xs:intxs:int
useuse 必填required

EndPortEndPort

属性Attribute ValueValue
namename EndPortEndPort
typetype xs:intxs:int
useuse 必填required

ApplicationInstance 元素ApplicationInstance element

描述 Azure Service Fabric 应用程序的实例。Describes an instance of a Azure Service Fabric application.

属性Attribute ValueValue
typetype ApplicationInstanceTypeApplicationInstanceType
内容content 0 个元素,0 个属性0 element(s), 0 attribute(s)
defineddefined globallyglobally
namename ApplicationInstanceApplicationInstance

XML 源XML source

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

ApplicationManifest 元素ApplicationManifest element

以声明方式描述应用程序类型和版本。Declaratively describes the application type and version. 引用构成服务的一个或多个服务清单来撰写应用程序类型。One or more service manifests of the constituent services are referenced to compose an application type. 可以使用参数化应用程序设置重写构成服务的配置设置。Configuration settings of the constituent services can be overridden using parameterized application settings. 默认服务、服务模板、主体、策略、诊断设置和证书也可以在应用程序级别声明。Default services, service templates, principals, policies, diagnostics set-up, and certificates can also declared at the application level.

属性Attribute ValueValue
typetype ApplicationManifestTypeApplicationManifestType
内容content 0 个元素,0 个属性0 element(s), 0 attribute(s)
defineddefined globallyglobally
namename ApplicationManifestApplicationManifest

XML 源XML source

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

ApplicationPackage 元素ApplicationPackage element

ApplicationPackage 表示节点所需的带版本应用程序信息。ApplicationPackage represents the versioned Application information required by the node.

属性Attribute ValueValue
typetype ApplicationPackageTypeApplicationPackageType
内容content 0 个元素,0 个属性0 element(s), 0 attribute(s)
defineddefined globallyglobally
namename ApplicationPackageApplicationPackage

XML 源XML source

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

ApplicationPackageRef 元素ApplicationPackageRef element

属性Attribute ValueValue
typetype 匿名的 complexTypeanonymous complexType
内容content 0 个元素,0 个属性0 element(s), 0 attribute(s)
defineddefined ApplicationInstanceType complexType 本地locally in ApplicationInstanceType complexType
namename ApplicationPackageRefApplicationPackageRef

XML 源XML source

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

Arguments 元素Arguments element

属性Attribute ValueValue
typetype xs:stringxs:string
内容content 0 个元素,0 个属性0 element(s), 0 attribute(s)
defineddefined ExeHostEntryPointType complexType 本地locally in ExeHostEntryPointType complexType
namename 参数Arguments
minOccursminOccurs 00

XML 源XML source

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

AveragePartitionLoadScalingTrigger 元素AveragePartitionLoadScalingTrigger element

定义基于分区副本平均负载的缩放机制。Defines a scaling mechanism based on the average load of replicas of a partition.

属性Attribute ValueValue
typetype 匿名的 complexTypeanonymous complexType
内容content 0 个元素,4 个属性0 element(s), 4 attribute(s)
defineddefined ScalingPolicyTriggerGroup 组本地locally in ScalingPolicyTriggerGroup group
namename AveragePartitionLoadScalingTriggerAveragePartitionLoadScalingTrigger
minOccursminOccurs 00
maxOccursmaxOccurs 11

XML 源XML source

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

属性详细信息Attribute details

MetricNameMetricName

用于缩放操作的指标的名称。The name of metric which should be used for scaling operations.

属性Attribute ValueValue
namename MetricNameMetricName
typetype xs:stringxs:string
useuse 必填required

LowerLoadThresholdLowerLoadThreshold

指标负载值的下限。The lower limit of the load value of a metric.

属性Attribute ValueValue
namename LowerLoadThresholdLowerLoadThreshold
typetype xs:stringxs:string
useuse 必填required

UpperLoadThresholdUpperLoadThreshold

指标负载值的上限。The upper limit of the load value of a metric.

属性Attribute ValueValue
namename UpperLoadThresholdUpperLoadThreshold
typetype xs:stringxs:string
useuse 必填required

ScaleIntervalInSecondsScaleIntervalInSeconds

缩放时应考虑的时间间隔(以秒为单位)。The time interval in seconds to be considered for scaling.

属性Attribute ValueValue
namename ScaleIntervalInSecondsScaleIntervalInSeconds
typetype xs:stringxs:string
useuse 必填required

AverageServiceLoadScalingTrigger 元素AverageServiceLoadScalingTrigger element

定义基于服务分区平均负载的缩放机制。Defines a scaling mechanism based on the average load of partitions of a service.

属性Attribute ValueValue
typetype 匿名的 complexTypeanonymous complexType
内容content 0 个元素,5 个属性0 element(s), 5 attribute(s)
defineddefined ScalingPolicyTriggerGroup 组本地locally in ScalingPolicyTriggerGroup group
namename AverageServiceLoadScalingTriggerAverageServiceLoadScalingTrigger
minOccursminOccurs 00
maxOccursmaxOccurs 11

XML 源XML source

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

属性详细信息Attribute details

MetricNameMetricName

用于缩放操作的指标的名称。The name of metric which should be used for scaling operations.

属性Attribute ValueValue
namename MetricNameMetricName
typetype xs:stringxs:string
useuse 必填required

LowerLoadThresholdLowerLoadThreshold

指标负载值的下限。The lower limit of the load value of a metric.

属性Attribute ValueValue
namename LowerLoadThresholdLowerLoadThreshold
typetype xs:stringxs:string
useuse 必填required

UpperLoadThresholdUpperLoadThreshold

指标负载值的上限。The upper limit of the load value of a metric.

属性Attribute ValueValue
namename UpperLoadThresholdUpperLoadThreshold
typetype xs:stringxs:string
useuse 必填required

ScaleIntervalInSecondsScaleIntervalInSeconds

缩放时应考虑的时间间隔(以秒为单位)。The time interval in seconds to be considered for scaling.

属性Attribute ValueValue
namename ScaleIntervalInSecondsScaleIntervalInSeconds
typetype xs:stringxs:string
useuse 必填required

UseOnlyPrimaryLoadUseOnlyPrimaryLoad

将主要副本的负载用作分区的平均负载。Use load of primary replica as average load of partition.

属性Attribute ValueValue
namename UseOnlyPrimaryLoadUseOnlyPrimaryLoad
typetype xs:stringxs:string
useuse 可选optional

AzureBlob 元素(类型 AzureBlobETWType)AzureBlob element (type AzureBlobETWType)

描述 ETW 事件的 Azure blob 存储目标。Describes an Azure blob store destination for ETW events. 只能在 Azure 环境中运行。Works only in Azure environment.

属性Attribute ValueValue
typetype AzureBlobETWTypeAzureBlobETWType
内容content 0 个元素,0 个属性0 element(s), 0 attribute(s)
defineddefined 在 Destinations 元素本地locally in Destinations element
namename AzureBlobAzureBlob
minOccursminOccurs 00
maxOccursmaxOccurs unboundedunbounded

XML 源XML source

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

AzureBlob 元素(类型 AzureBlobType)AzureBlob element (type AzureBlobType)

描述诊断数据的 Azure blob 存储目标。Describes an Azure blob store destination for diagnostics data. 只能在 Azure 群集环境中运行。Works only in Azure cluster environment.

属性Attribute ValueValue
typetype AzureBlobTypeAzureBlobType
内容content 0 个元素,0 个属性0 element(s), 0 attribute(s)
defineddefined 在 Destinations 元素本地、Destinations 元素locally in Destinations element, Destinations element
namename AzureBlobAzureBlob
minOccursminOccurs 00
maxOccursmaxOccurs unboundedunbounded

XML 源XML source

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

BackupRestoreServiceReplicatorEndpoint 元素BackupRestoreServiceReplicatorEndpoint element

属性Attribute ValueValue
typetype InternalEndpointTypeInternalEndpointType
内容content 0 个元素,0 个属性0 element(s), 0 attribute(s)
defineddefined FabricEndpointsType complexType 本地locally in FabricEndpointsType complexType
namename BackupRestoreServiceReplicatorEndpointBackupRestoreServiceReplicatorEndpoint
minOccursminOccurs 00

XML 源XML source

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

Blackbird 元素Blackbird element

属性Attribute ValueValue
typetype 匿名的 complexTypeanonymous complexType
内容content 1 个元素,0 个属性1 element(s), 0 attribute(s)
defineddefined 在 Infrastructure 元素本地locally in Infrastructure element
namename BlackbirdBlackbird

XML 源XML source

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

Content 元素详细信息Content element details

角色Roles

属性Attribute ValueValue
namename 角色Roles

Capacities 元素Capacities element

此节点类型的各个指标的容量The capacities of various metrics for this node type

属性Attribute ValueValue
typetype 匿名的 complexTypeanonymous complexType
内容content 1 个元素,0 个属性1 element(s), 0 attribute(s)
defineddefined 在 NodeType 元素本地locally in NodeType element
namename CapacitiesCapacities
minOccursminOccurs 00

XML 源XML source

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

Content 元素详细信息Content element details

容量Capacity

属性Attribute ValueValue
namename 容量Capacity
typetype KeyValuePairTypeKeyValuePairType
minOccursminOccurs 00
maxOccursmaxOccurs unboundedunbounded

Capacity 元素Capacity element

属性Attribute ValueValue
typetype KeyValuePairTypeKeyValuePairType
内容content 0 个元素,0 个属性0 element(s), 0 attribute(s)
defineddefined 在 Capacities 元素本地locally in Capacities element
namename 容量Capacity
minOccursminOccurs 00
maxOccursmaxOccurs unboundedunbounded

XML 源XML source

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

CentralSecretServiceReplicatorEndpoint 元素CentralSecretServiceReplicatorEndpoint element

属性Attribute ValueValue
typetype InternalEndpointTypeInternalEndpointType
内容content 0 个元素,0 个属性0 element(s), 0 attribute(s)
defineddefined FabricEndpointsType complexType 本地locally in FabricEndpointsType complexType
namename CentralSecretServiceReplicatorEndpointCentralSecretServiceReplicatorEndpoint
minOccursminOccurs 00

XML 源XML source

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

CertificateRef 元素CertificateRef element

指定要向容器公开的证书的信息。Specifies information for a certificate which will be exposed to the container.

属性Attribute ValueValue
typetype ContainerCertificateTypeContainerCertificateType
内容content 0 个元素,0 个属性0 element(s), 0 attribute(s)
defineddefined ContainerHostPoliciesType complexType 本地locally in ContainerHostPoliciesType complexType
namename CertificateRefCertificateRef
minOccursminOccurs 00
maxOccursmaxOccurs unboundedunbounded

XML 源XML source

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

Certificates 元素(类型 CertificatesType)Certificates element (type CertificatesType)

描述与此节点类型关联的证书Describe the certificates associated with this node type

属性Attribute ValueValue
typetype CertificatesTypeCertificatesType
内容content 0 个元素,0 个属性0 element(s), 0 attribute(s)
defineddefined 在 NodeType 元素 InfrastructureNodeType complexType 本地locally in NodeType element, InfrastructureNodeType complexType
namename 证书Certificates
minOccursminOccurs 00

XML 源XML source

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

Certificates 元素(在 ApplicationManifestType 中定义)Certificates element (defined in ApplicationManifestType)

声明用于保护终结点或用于加密应用程序清单或群集清单中的机密的证书。Declares certificates used to secure endpoints or encrypt secrets within the application manifest or a cluster manifest.

属性Attribute ValueValue
typetype 匿名的 complexTypeanonymous complexType
内容content 2 个元素,0 个属性2 element(s), 0 attribute(s)
defineddefined ApplicationManifestType complexType 本地locally in ApplicationManifestType complexType
namename 证书Certificates
minOccursminOccurs 00

XML 源XML source

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

Content 元素详细信息Content element details

SecretsCertificateSecretsCertificate

声明用于加密应用程序清单中的敏感信息的证书。Declares a certificate used to encrypt sensitive information within the application manifest. 应用程序作者可使用 Invoke-ServiceFabricEncryptSecret cmdlet 来加密要复制到 ConfigOverrides 节中某个参数的敏感信息。The application author uses the Invoke-ServiceFabricEncryptSecret cmdlet to encrypt the sensitive information, which is copied to a Parameter in the ConfigOverrides section.

属性Attribute ValueValue
namename SecretsCertificateSecretsCertificate
typetype FabricCertificateTypeFabricCertificateType
minOccursminOccurs 00

EndpointCertificateEndpointCertificate

属性Attribute ValueValue
namename EndpointCertificateEndpointCertificate
typetype EndpointCertificateTypeEndpointCertificateType
minOccursminOccurs 00

Certificates 元素(在 ClusterManifestType 中定义)Certificates element (defined in ClusterManifestType)

属性Attribute ValueValue
typetype 匿名的 complexTypeanonymous complexType
内容content 1 个元素,0 个属性1 element(s), 0 attribute(s)
defineddefined ClusterManifestType complexType 本地locally in ClusterManifestType complexType
namename 证书Certificates
minOccursminOccurs 00

XML 源XML source

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

Content 元素详细信息Content element details

SecretsCertificateSecretsCertificate

属性Attribute ValueValue
namename SecretsCertificateSecretsCertificate
typetype FabricCertificateTypeFabricCertificateType
minOccursminOccurs 00

ClientCertificate 元素ClientCertificate element

用于保护客户端服务器通信的默认管理员角色客户端证书。The default admin role client certificate used to secure client server communication.

属性Attribute ValueValue
typetype FabricCertificateTypeFabricCertificateType
内容content 0 个元素,0 个属性0 element(s), 0 attribute(s)
defineddefined CertificatesType complexType 本地locally in CertificatesType complexType
namename ClientCertificateClientCertificate
minOccursminOccurs 00

XML 源XML source

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

ClientConnectionEndpoint 元素ClientConnectionEndpoint element

属性Attribute ValueValue
typetype InputEndpointTypeInputEndpointType
内容content 0 个元素,0 个属性0 element(s), 0 attribute(s)
defineddefined FabricEndpointsType complexType 本地locally in FabricEndpointsType complexType
namename ClientConnectionEndpointClientConnectionEndpoint

XML 源XML source

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

ClusterCertificate 元素ClusterCertificate element

用于保护群集内部通信的证书。The certificate used to secure the intra cluster communication.

属性Attribute ValueValue
typetype FabricCertificateTypeFabricCertificateType
内容content 0 个元素,0 个属性0 element(s), 0 attribute(s)
defineddefined CertificatesType complexType 本地locally in CertificatesType complexType
namename ClusterCertificateClusterCertificate
minOccursminOccurs 00

XML 源XML source

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

ClusterConnectionEndpoint 元素ClusterConnectionEndpoint element

属性Attribute ValueValue
typetype InternalEndpointTypeInternalEndpointType
内容content 0 个元素,0 个属性0 element(s), 0 attribute(s)
defineddefined FabricEndpointsType complexType 本地locally in FabricEndpointsType complexType
namename ClusterConnectionEndpointClusterConnectionEndpoint

XML 源XML source

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

ClusterManagerReplicatorEndpoint 元素ClusterManagerReplicatorEndpoint element

属性Attribute ValueValue
typetype InternalEndpointTypeInternalEndpointType
内容content 0 个元素,0 个属性0 element(s), 0 attribute(s)
defineddefined FabricEndpointsType complexType 本地locally in FabricEndpointsType complexType
namename ClusterManagerReplicatorEndpointClusterManagerReplicatorEndpoint
minOccursminOccurs 00

XML 源XML source

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

ClusterManifest 元素ClusterManifest element

描述 Azure Service Fabric 群集。Describes a Azure Service Fabric Cluster.

属性Attribute ValueValue
typetype ClusterManifestTypeClusterManifestType
内容content 0 个元素,0 个属性0 element(s), 0 attribute(s)
defineddefined globallyglobally
namename ClusterManifestClusterManifest

XML 源XML source

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

CodePackage 元素CodePackage element

描述支持定义的服务类型的代码包。Describes a code package that supports a defined service type. 当一种服务针对这些服务类型之一进行实例化时,可激活此清单中声明的所有代码包,方法是运行这些代码包的入口点。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. 生成的进程应在运行时注册所支持的服务类型。The resulting processes are expected to register the supported service types at run time. 当存在多个代码包时,每当系统查找任何一种声明的服务类型时,它们都会被激活。When there are multiple code packages, they are all activated whenever the system looks for any one of the declared service types.

属性Attribute ValueValue
typetype CodePackageTypeCodePackageType
内容content 0 个元素,0 个属性0 element(s), 0 attribute(s)
defineddefined ServiceManifestType complexType DigestedCodePackage 元素本地locally in ServiceManifestType complexType, DigestedCodePackage element
namename CodePackageCodePackage
maxOccursmaxOccurs unboundedunbounded

XML 源XML source

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

Commands 元素Commands element

将以逗号分隔的命令列表传递给容器。Pass a comma delimited list of commands to the container.

属性Attribute ValueValue
typetype xs:stringxs:string
内容content 0 个元素,0 个属性0 element(s), 0 attribute(s)
defineddefined ContainerHostEntryPointType complexType 本地locally in ContainerHostEntryPointType complexType
namename 命令Commands
minOccursminOccurs 00
maxOccursmaxOccurs 11

XML 源XML source

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

ConfigOverride 元素ConfigOverride element

描述导入的服务清单中特定配置包的配置重写。Describes the configuration overrides for a particular config package in the imported service manifest.

属性Attribute ValueValue
typetype ConfigOverrideTypeConfigOverrideType
内容content 0 个元素,0 个属性0 element(s), 0 attribute(s)
defineddefined 在 ConfigOverrides 元素、DigestedConfigPackage 元素本地locally in ConfigOverrides element, DigestedConfigPackage element
namename ConfigOverrideConfigOverride
minOccursminOccurs 00
maxOccursmaxOccurs unboundedunbounded

XML 源XML source

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

ConfigOverrides 元素ConfigOverrides element

描述所导入服务清单的配置重写。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. 只要使用 ConfigPackage 文件夹中的 Settings.xml 定义默认配置,配置重写就能更改服务清单中的任何默认配置。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.

属性Attribute ValueValue
typetype 匿名的 complexTypeanonymous complexType
内容content 1 个元素,0 个属性1 element(s), 0 attribute(s)
defineddefined 在 ServiceManifestImport 元素本地locally in ServiceManifestImport element
namename ConfigOverridesConfigOverrides
minOccursminOccurs 00

XML 源XML source

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

Content 元素详细信息Content element details

ConfigOverrideConfigOverride

属性Attribute ValueValue
namename ConfigOverrideConfigOverride
typetype ConfigOverrideTypeConfigOverrideType
minOccursminOccurs 00
maxOccursmaxOccurs unboundedunbounded

ConfigPackage 元素(ConfigPackageDescriptionType 类型)ConfigPackage element (type ConfigPackageDescriptionType)

声明一个由 Name 属性命名的文件夹,该文件夹中包含 Settings.xml 文件。Declares a folder, named by the Name attribute, that contains a Settings.xml file. 此文件包含进程用户定义的键值对设置,进程可在运行时读回这些设置。This file contains sections of user-defined, key-value pair settings that the process can read back at run time. 升级期间,如果仅更改了 ConfigPackage 版本,则不重启正在运行的进程。During an upgrade, if only the ConfigPackage version has changed, then the running process is not restarted. 相反,一个回调会告知进程配置设置已更改,以便动态重新加载。Instead, a callback notifies the process that configuration settings have changed so they can be reloaded dynamically.

属性Attribute ValueValue
typetype ConfigPackageDescriptionTypeConfigPackageDescriptionType
内容content 0 个元素,0 个属性0 element(s), 0 attribute(s)
defineddefined ConfigPackagePoliciesType complexType 本地locally in ConfigPackagePoliciesType complexType
namename ConfigPackageConfigPackage
minOccursminOccurs 00
maxOccursmaxOccurs unboundedunbounded

XML 源XML source

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

ConfigPackage 元素(ConfigPackageType 类型)ConfigPackage element (type ConfigPackageType)

声明按 Name 属性命名的文件夹,该文件夹位于包含 Settings.xml 文件的 PackageRoot 中。Declares a folder, named by the Name attribute, and PackageRoot that contains a Settings.xml file. 此文件包含进程用户定义的键值对设置,进程可在运行时读回这些设置。This file contains sections of user-defined, key-value pair settings that the process can read back at run time. 升级期间,如果仅更改了 ConfigPackage 版本,则不重启正在运行的进程。During an upgrade, if only the ConfigPackage version has changed, then the running process is not restarted. 相反,一个回调会告知进程配置设置已更改,以便动态重新加载。Instead, a callback notifies the process that configuration settings have changed so they can be reloaded dynamically.

属性Attribute ValueValue
typetype ConfigPackageTypeConfigPackageType
内容content 0 个元素,0 个属性0 element(s), 0 attribute(s)
defineddefined ServiceManifestType complexType DigestedConfigPackage 元素本地locally in ServiceManifestType complexType, DigestedConfigPackage element
namename ConfigPackageConfigPackage
minOccursminOccurs 00
maxOccursmaxOccurs unboundedunbounded

XML 源XML source

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

ConfigPackagePolicies 元素ConfigPackagePolicies element

要在容器内装载的配置包。Config Packages to be mounted inside the container.

属性Attribute ValueValue
typetype ConfigPackagePoliciesTypeConfigPackagePoliciesType
内容content 0 个元素,0 个属性0 element(s), 0 attribute(s)
defineddefined ServiceManifestImportPoliciesType complexType DigestedCodePackage 元素本地locally in ServiceManifestImportPoliciesType complexType, DigestedCodePackage element
namename ConfigPackagePoliciesConfigPackagePolicies
minOccursminOccurs 00

XML 源XML source

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

ConsoleRedirection 元素ConsoleRedirection element

警告!Warning! 请勿在生产应用程序中使用控制台重定向,只能将其用于本地开发和调试。Do not use console redirection in a production application, only use it for local development and debugging. 请在部署和运行应用程序时所在的群集节点上,将控制台输出从启动脚本重定向到名为“log”的应用程序文件夹中的一个输出文件。Redirects console output from the startup script to an output file in the application folder called "log" on the cluster node where the application is deployed and run.

属性Attribute ValueValue
typetype 匿名的 complexTypeanonymous complexType
内容content 0 个元素,2 个属性0 element(s), 2 attribute(s)
defineddefined ExeHostEntryPointType complexType 本地locally in ExeHostEntryPointType complexType
namename ConsoleRedirectionConsoleRedirection
minOccursminOccurs 00

XML 源XML source

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

属性详细信息Attribute details

FileRetentionCountFileRetentionCount

设置要保留的控制台重定向输出文件的数量。Sets the number of console redirection output files to retain. 必须为正整数,默认值为“2”。Must be a positive integer, the default value is "2".

属性Attribute ValueValue
namename FileRetentionCountFileRetentionCount
默认值default 22

FileMaxSizeInKbFileMaxSizeInKb

设置控制台重定向输出文件的最大大小。Set the maximum size of a console redirection output file. 必须是大于 128 KB 的正整数,默认值为“20480”。Must be a positive integer greater than 128KB, the default value is "20480".

属性Attribute ValueValue
namename FileMaxSizeInKbFileMaxSizeInKb
默认值default 2048020480

ContainerEntryPoint 元素ContainerEntryPoint element

已重写容器的入口点,以便能够启动调试程序。Overridden entrypoint for containers so debugger can be launched.

属性Attribute ValueValue
typetype xs:stringxs:string
内容content 0 个元素,0 个属性0 element(s), 0 attribute(s)
defineddefined DebugParametersType complexType 本地locally in DebugParametersType complexType
namename ContainerEntryPointContainerEntryPoint
minOccursminOccurs 00
maxOccursmaxOccurs unboundedunbounded

XML 源XML source

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

ContainerEnvironmentBlock 元素ContainerEnvironmentBlock element

容器的 EnvironmentBlock。EnvironmentBlock for containers.

属性Attribute ValueValue
typetype xs:stringxs:string
内容content 0 个元素,0 个属性0 element(s), 0 attribute(s)
defineddefined DebugParametersType complexType 本地locally in DebugParametersType complexType
namename ContainerEnvironmentBlockContainerEnvironmentBlock
minOccursminOccurs 00
maxOccursmaxOccurs unboundedunbounded

XML 源XML source

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

ContainerHost 元素ContainerHost element

属性Attribute ValueValue
typetype ContainerHostEntryPointTypeContainerHostEntryPointType
内容content 0 个元素,0 个属性0 element(s), 0 attribute(s)
defineddefined EntryPointDescriptionType complexType 本地locally in EntryPointDescriptionType complexType
namename ContainerHostContainerHost

XML 源XML source

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

ContainerHostPolicies 元素ContainerHostPolicies element

指定用于激活容器主机的策略。Specifies policies for activating container hosts.

属性Attribute ValueValue
typetype ContainerHostPoliciesTypeContainerHostPoliciesType
内容content 0 个元素,0 个属性0 element(s), 0 attribute(s)
defineddefined ServiceManifestImportPoliciesType complexType DigestedCodePackage 元素本地locally in ServiceManifestImportPoliciesType complexType, DigestedCodePackage element
namename ContainerHostPoliciesContainerHostPolicies
minOccursminOccurs 00

XML 源XML source

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

ContainerLabel 元素ContainerLabel element

“键=值”形式的容器标签。Labels for containers in form key=value.

属性Attribute ValueValue
typetype xs:stringxs:string
内容content 0 个元素,0 个属性0 element(s), 0 attribute(s)
defineddefined DebugParametersType complexType 本地locally in DebugParametersType complexType
namename ContainerLabelContainerLabel
minOccursminOccurs 00
maxOccursmaxOccurs unboundedunbounded

XML 源XML source

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

ContainerMountedVolume 元素ContainerMountedVolume element

要在容器内部装载的卷。Volumes to be mounted inside container.

属性Attribute ValueValue
typetype xs:stringxs:string
内容content 0 个元素,0 个属性0 element(s), 0 attribute(s)
defineddefined DebugParametersType complexType 本地locally in DebugParametersType complexType
namename ContainerMountedVolumeContainerMountedVolume
minOccursminOccurs 00
maxOccursmaxOccurs unboundedunbounded

XML 源XML source

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

ContainerNetworkPolicy 元素ContainerNetworkPolicy element

描述服务包的容器网络策略。Describes container network policies for the service package.

属性Attribute ValueValue
typetype ContainerNetworkPolicyTypeContainerNetworkPolicyType
内容content 0 个元素,0 个属性0 element(s), 0 attribute(s)
defineddefined NetworkPoliciesType complexType 本地locally in NetworkPoliciesType complexType
namename ContainerNetworkPolicyContainerNetworkPolicy
minOccursminOccurs 00
maxOccursmaxOccurs unboundedunbounded

XML 源XML source

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

CrashDumpSource 元素CrashDumpSource element

指定故障转储收集。Specifies crash dump collection. 故障转储是针对托管属于应用程序的所有服务的代码包的可执行文件收集的。Crash dumps are collected for executables that host the code packages of all services belonging to the application.

属性Attribute ValueValue
typetype 匿名的 complexTypeanonymous complexType
内容content 2 个元素,1 个属性2 element(s), 1 attribute(s)
defineddefined DiagnosticsType complexType 本地locally in DiagnosticsType complexType
namename CrashDumpSourceCrashDumpSource
minOccursminOccurs 00

XML 源XML source

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

属性详细信息Attribute details

IsEnabledIsEnabled

指示是否启用故障转储收集。Whether or not crash dump collection is enabled. 默认未启用。By default, it is not enabled.

属性Attribute ValueValue
namename IsEnabledIsEnabled
typetype xs:stringxs:string

Content 元素详细信息Content element details

DestinationsDestinations

故障转储需要传输到的目标。Destinations to which the crash dumps need to be transferred.

属性Attribute ValueValue
namename DestinationsDestinations
minOccursminOccurs 00

None

属性Attribute ValueValue
refref parametersParameters
minOccursminOccurs 00
maxOccursmaxOccurs 11

CurrentInstallation 元素CurrentInstallation element

属性Attribute ValueValue
typetype WindowsFabricDeploymentInformationWindowsFabricDeploymentInformation
内容content 0 个元素,0 个属性0 element(s), 0 attribute(s)
defineddefined TargetInformationType complexType 本地locally in TargetInformationType complexType
namename CurrentInstallationCurrentInstallation
minOccursminOccurs 00

XML 源XML source

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

DataPackage 元素DataPackage element

声明一个按 Name 属性命名的文件夹,该文件夹位于将由进程在运行时使用的静态数据文件所在的 PackageRoot 中。Declares a folder, named by the Name attribute, under PackageRoot which contains static data files to be consumed by the process at runtime. 升级服务清单中所列的任何数据包时,Service Fabric 会回收主机和支持包中指定的所有 EXE 和 DLLHOST。Service Fabric will recycle all EXEs and DLLHOSTs specified in the host and support packages when any of the data packages listed in the service manifest are upgraded.

属性Attribute ValueValue
typetype DataPackageTypeDataPackageType
内容content 0 个元素,0 个属性0 element(s), 0 attribute(s)
defineddefined ServiceManifestType complexType DigestedDataPackage 元素本地locally in ServiceManifestType complexType, DigestedDataPackage element
namename DataPackageDataPackage
minOccursminOccurs 00
maxOccursmaxOccurs unboundedunbounded

XML 源XML source

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

DebugParameters 元素DebugParameters element

指定激活代码包时要附加的调试程序的相关信息Specifies information on debugger to attach when activating codepackage.

属性Attribute ValueValue
typetype DebugParametersTypeDebugParametersType
内容content 0 个元素,0 个属性0 element(s), 0 attribute(s)
defineddefined 在 DigestedCodePackage 元素、DigestedConfigPackage 元素、DigestedDataPackage 元素本地locally in DigestedCodePackage element, DigestedConfigPackage element, DigestedDataPackage element
namename DebugParametersDebugParameters
minOccursminOccurs 00
maxOccursmaxOccurs 11

XML 源XML source

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

DefaultReplicatorEndpoint 元素DefaultReplicatorEndpoint element

属性Attribute ValueValue
typetype InternalEndpointTypeInternalEndpointType
内容content 0 个元素,0 个属性0 element(s), 0 attribute(s)
defineddefined FabricEndpointsType complexType 本地locally in FabricEndpointsType complexType
namename DefaultReplicatorEndpointDefaultReplicatorEndpoint
minOccursminOccurs 00

XML 源XML source

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

DefaultRunAsPolicy 元素DefaultRunAsPolicy element

针对在 ServiceManifestImport 节中未定义特定 RunAsPolicy 的所有服务代码包指定默认用户帐户。Specify a default user account for all service code packages that don't have a specific RunAsPolicy defined in the ServiceManifestImport section.

属性Attribute ValueValue
typetype 匿名的 complexTypeanonymous complexType
内容content 0 个元素,1 个属性0 element(s), 1 attribute(s)
defineddefined ApplicationPoliciesType complexType 本地locally in ApplicationPoliciesType complexType
namename DefaultRunAsPolicyDefaultRunAsPolicy
minOccursminOccurs 00

XML 源XML source

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

属性详细信息Attribute details

UserRefUserRef

服务代码包运行时将采用的用户帐户身份。The user account that the service code packages will run as. 必须在“Principals”部分中声明用户帐户。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.

属性Attribute ValueValue
namename UserRefUserRef
typetype xs:stringxs:string
useuse 必填required

DefaultServiceTypeHealthPolicy 元素DefaultServiceTypeHealthPolicy element

指定默认服务类型运行状况策略,该策略会替换应用程序中所有服务类型的默认运行状况策略。Specifies the default service type health policy, which will replace the default health policy for all service types in the application.

属性Attribute ValueValue
typetype ServiceTypeHealthPolicyTypeServiceTypeHealthPolicyType
内容content 0 个元素,0 个属性0 element(s), 0 attribute(s)
defineddefined ApplicationHealthPolicyType complexType 本地locally in ApplicationHealthPolicyType complexType
namename DefaultServiceTypeHealthPolicyDefaultServiceTypeHealthPolicy
minOccursminOccurs 00

XML 源XML source

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

DefaultServices 元素DefaultServices element

声明每当一个应用程序依据此应用程序类型进行实例化时自动创建的服务实例。Declares service instances that are automatically created whenever an application is instantiated against this application type.

属性Attribute ValueValue
typetype DefaultServicesTypeDefaultServicesType
内容content 0 个元素,0 个属性0 element(s), 0 attribute(s)
defineddefined ApplicationManifestType complexTypeApplicationInstanceType complexType 本地locally in ApplicationManifestType complexType, ApplicationInstanceType complexType
namename DefaultServicesDefaultServices
minOccursminOccurs 00

XML 源XML source

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

      </xs:element>

Description 元素Description element

描述此应用程序的文本。Text describing this application.

属性Attribute ValueValue
typetype xs:stringxs:string
内容content 0 个元素,0 个属性0 element(s), 0 attribute(s)
defineddefined ApplicationManifestType complexTypeServiceManifestType complexTypeServicePackageType complexType 本地locally in ApplicationManifestType complexType, ServiceManifestType complexType, ServicePackageType complexType
namename 说明Description
minOccursminOccurs 00

XML 源XML source

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

Destinations 元素(在 CrashDumpSource 中定义)Destinations element (defined in CrashDumpSource)

故障转储需要传输到的目标。Destinations to which the crash dumps need to be transferred.

属性Attribute ValueValue
typetype 匿名的 complexTypeanonymous complexType
内容content 3 个元素,0 个属性3 element(s), 0 attribute(s)
defineddefined 在 CrashDumpSource 元素本地locally in CrashDumpSource element
namename DestinationsDestinations
minOccursminOccurs 00

XML 源XML source

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

Content 元素详细信息Content element details

LocalStoreLocalStore

属性Attribute ValueValue
namename LocalStoreLocalStore
typetype LocalStoreTypeLocalStoreType
minOccursminOccurs 00
maxOccursmaxOccurs unboundedunbounded

FileStoreFileStore

属性Attribute ValueValue
namename FileStoreFileStore
typetype FileStoreTypeFileStoreType
minOccursminOccurs 00
maxOccursmaxOccurs unboundedunbounded

AzureBlobAzureBlob

属性Attribute ValueValue
namename AzureBlobAzureBlob
typetype AzureBlobTypeAzureBlobType
minOccursminOccurs 00
maxOccursmaxOccurs unboundedunbounded

Destinations 元素(在 ETWSource 中定义)Destinations element (defined in ETWSource)

故障转储需要传输到的目标。Destinations to which the crash dumps need to be transferred.

属性Attribute ValueValue
typetype 匿名的 complexTypeanonymous complexType
内容content 3 个元素,0 个属性3 element(s), 0 attribute(s)
defineddefined 在 ETWSource 元素本地locally in ETWSource element
namename DestinationsDestinations
minOccursminOccurs 00

XML 源XML source

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

Content 元素详细信息Content element details

LocalStoreLocalStore

属性Attribute ValueValue
namename LocalStoreLocalStore
typetype LocalStoreETWTypeLocalStoreETWType
minOccursminOccurs 00
maxOccursmaxOccurs unboundedunbounded

FileStoreFileStore

属性Attribute ValueValue
namename FileStoreFileStore
typetype FileStoreETWTypeFileStoreETWType
minOccursminOccurs 00
maxOccursmaxOccurs unboundedunbounded

AzureBlobAzureBlob

属性Attribute ValueValue
namename AzureBlobAzureBlob
typetype AzureBlobETWTypeAzureBlobETWType
minOccursminOccurs 00
maxOccursmaxOccurs unboundedunbounded

Destinations 元素(在 FolderSource 中定义)Destinations element (defined in FolderSource)

文件夹内容需要传输到的目标。Destinations to which the folder contents need to be transferred.

属性Attribute ValueValue
typetype 匿名的 complexTypeanonymous complexType
内容content 3 个元素,0 个属性3 element(s), 0 attribute(s)
defineddefined 在 FolderSource 元素本地locally in FolderSource element
namename DestinationsDestinations
minOccursminOccurs 00

XML 源XML source

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

Content 元素详细信息Content element details

LocalStoreLocalStore

属性Attribute ValueValue
namename LocalStoreLocalStore
typetype LocalStoreTypeLocalStoreType
minOccursminOccurs 00
maxOccursmaxOccurs unboundedunbounded

FileStoreFileStore

属性Attribute ValueValue
namename FileStoreFileStore
typetype FileStoreTypeFileStoreType
minOccursminOccurs 00
maxOccursmaxOccurs unboundedunbounded

AzureBlobAzureBlob

属性Attribute ValueValue
namename AzureBlobAzureBlob
typetype AzureBlobTypeAzureBlobType
minOccursminOccurs 00
maxOccursmaxOccurs unboundedunbounded

Diagnostics 元素(类型 DiagnosticsType)Diagnostics element (type DiagnosticsType)

描述应用程序的诊断设置。Describes the diagnostic settings for applications.

属性Attribute ValueValue
typetype DiagnosticsTypeDiagnosticsType
内容content 0 个元素,0 个属性0 element(s), 0 attribute(s)
defineddefined ApplicationManifestType complexTypeEnvironmentType complexType 本地locally in ApplicationManifestType complexType, EnvironmentType complexType
namename 诊断Diagnostics
minOccursminOccurs 00

XML 源XML source

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

Diagnostics 元素(类型 ServiceDiagnosticsType)Diagnostics element (type ServiceDiagnosticsType)

描述此服务清单的组件的诊断设置。Describes the diagnostic settings for the components of this service manifest.

属性Attribute ValueValue
typetype ServiceDiagnosticsTypeServiceDiagnosticsType
内容content 0 个元素,0 个属性0 element(s), 0 attribute(s)
defineddefined ServiceManifestType complexTypeServicePackageType complexType 本地locally in ServiceManifestType complexType, ServicePackageType complexType
namename 诊断Diagnostics
minOccursminOccurs 00

XML 源XML source

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

DigestedCertificates 元素(在 ApplicationPackageType 中定义)DigestedCertificates element (defined in ApplicationPackageType)

属性Attribute ValueValue
typetype 匿名的 complexTypeanonymous complexType
内容content 2 个元素,0 个属性2 element(s), 0 attribute(s)
defineddefined ApplicationPackageType complexType 本地locally in ApplicationPackageType complexType
namename DigestedCertificatesDigestedCertificates

XML 源XML source

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

Content 元素详细信息Content element details

SecretsCertificateSecretsCertificate

属性Attribute ValueValue
namename SecretsCertificateSecretsCertificate
typetype FabricCertificateTypeFabricCertificateType
minOccursminOccurs 00

EndpointCertificateEndpointCertificate

属性Attribute ValueValue
namename EndpointCertificateEndpointCertificate
typetype EndpointCertificateTypeEndpointCertificateType
minOccursminOccurs 00

DigestedCertificates 元素(在 DigestedResources 中定义)DigestedCertificates element (defined in DigestedResources)

属性Attribute ValueValue
typetype 匿名的 complexTypeanonymous complexType
内容content 1 个元素,0 个属性1 element(s), 0 attribute(s)
defineddefined 在 DigestedResources 元素本地locally in DigestedResources element
namename DigestedCertificatesDigestedCertificates
minOccursminOccurs 00
maxOccursmaxOccurs 11

XML 源XML source

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

Content 元素详细信息Content element details

EndpointCertificateEndpointCertificate

属性Attribute ValueValue
namename EndpointCertificateEndpointCertificate
typetype EndpointCertificateTypeEndpointCertificateType
minOccursminOccurs 00
maxOccursmaxOccurs unboundedunbounded

DigestedCodePackage 元素DigestedCodePackage element

属性Attribute ValueValue
typetype 匿名的 complexTypeanonymous complexType
内容content 6 个元素,2 个属性6 element(s), 2 attribute(s)
defineddefined ServicePackageType complexType 本地locally in ServicePackageType complexType
namename DigestedCodePackageDigestedCodePackage
maxOccursmaxOccurs unboundedunbounded

XML 源XML source

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

属性详细信息Attribute details

ContentChecksumContentChecksum

属性Attribute ValueValue
namename ContentChecksumContentChecksum
typetype xs:stringxs:string

IsSharedIsShared

属性Attribute ValueValue
namename IsSharedIsShared
typetype xs:booleanxs:boolean

Content 元素详细信息Content element details

CodePackageCodePackage

属性Attribute ValueValue
namename CodePackageCodePackage
typetype CodePackageTypeCodePackageType

RunAsPolicyRunAsPolicy

属性Attribute ValueValue
namename RunAsPolicyRunAsPolicy
typetype RunAsPolicyTypeRunAsPolicyType
minOccursminOccurs 00
maxOccursmaxOccurs 22

DebugParametersDebugParameters

属性Attribute ValueValue
namename DebugParametersDebugParameters
typetype DebugParametersTypeDebugParametersType
minOccursminOccurs 00
maxOccursmaxOccurs 11

ContainerHostPoliciesContainerHostPolicies

指定用于激活容器主机的策略。Specifies policies for activating container hosts.

属性Attribute ValueValue
namename ContainerHostPoliciesContainerHostPolicies
typetype ContainerHostPoliciesTypeContainerHostPoliciesType
minOccursminOccurs 00

ResourceGovernancePolicyResourceGovernancePolicy

指定代码包的资源限制。Specifies resource limits for codepackage.

属性Attribute ValueValue
namename ResourceGovernancePolicyResourceGovernancePolicy
typetype ResourceGovernancePolicyTypeResourceGovernancePolicyType
minOccursminOccurs 00

ConfigPackagePoliciesConfigPackagePolicies

指定装载的配置策略。Specifies config policies for mounts.

属性Attribute ValueValue
namename ConfigPackagePoliciesConfigPackagePolicies
typetype ConfigPackagePoliciesTypeConfigPackagePoliciesType
minOccursminOccurs 00

DigestedConfigPackage 元素DigestedConfigPackage element

属性Attribute ValueValue
typetype 匿名的 complexTypeanonymous complexType
内容content 3 个元素,2 个属性3 element(s), 2 attribute(s)
defineddefined ServicePackageType complexType 本地locally in ServicePackageType complexType
namename DigestedConfigPackageDigestedConfigPackage
minOccursminOccurs 00
maxOccursmaxOccurs unboundedunbounded

XML 源XML source

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

属性详细信息Attribute details

ContentChecksumContentChecksum

属性Attribute ValueValue
namename ContentChecksumContentChecksum
typetype xs:stringxs:string

IsSharedIsShared

属性Attribute ValueValue
namename IsSharedIsShared
typetype xs:booleanxs:boolean

Content 元素详细信息Content element details

ConfigPackageConfigPackage

属性Attribute ValueValue
namename ConfigPackageConfigPackage
typetype ConfigPackageTypeConfigPackageType

ConfigOverrideConfigOverride

属性Attribute ValueValue
namename ConfigOverrideConfigOverride
typetype ConfigOverrideTypeConfigOverrideType
minOccursminOccurs 00

DebugParametersDebugParameters

属性Attribute ValueValue
namename DebugParametersDebugParameters
typetype DebugParametersTypeDebugParametersType
minOccursminOccurs 00
maxOccursmaxOccurs 11

DigestedDataPackage 元素DigestedDataPackage element

属性Attribute ValueValue
typetype 匿名的 complexTypeanonymous complexType
内容content 2 个元素,2 个属性2 element(s), 2 attribute(s)
defineddefined ServicePackageType complexType 本地locally in ServicePackageType complexType
namename DigestedDataPackageDigestedDataPackage
minOccursminOccurs 00
maxOccursmaxOccurs unboundedunbounded

XML 源XML source

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

属性详细信息Attribute details

ContentChecksumContentChecksum

属性Attribute ValueValue
namename ContentChecksumContentChecksum
typetype xs:stringxs:string

IsSharedIsShared

属性Attribute ValueValue
namename IsSharedIsShared
typetype xs:booleanxs:boolean

Content 元素详细信息Content element details

DataPackageDataPackage

属性Attribute ValueValue
namename DataPackageDataPackage
typetype DataPackageTypeDataPackageType

DebugParametersDebugParameters

属性Attribute ValueValue
namename DebugParametersDebugParameters
typetype DebugParametersTypeDebugParametersType
minOccursminOccurs 00
maxOccursmaxOccurs 11

DigestedEndpoint 元素DigestedEndpoint element

属性Attribute ValueValue
typetype 匿名的 complexTypeanonymous complexType
内容content 4 个元素,0 个属性4 element(s), 0 attribute(s)
defineddefined 在 DigestedEndpoints 元素本地locally in DigestedEndpoints element
namename DigestedEndpointDigestedEndpoint
minOccursminOccurs 00
maxOccursmaxOccurs unboundedunbounded

XML 源XML source

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

Content 元素详细信息Content element details

终结点Endpoint

属性Attribute ValueValue
namename 终结点Endpoint
typetype EndpointTypeEndpointType

SecurityAccessPolicySecurityAccessPolicy

属性Attribute ValueValue
namename SecurityAccessPolicySecurityAccessPolicy
typetype SecurityAccessPolicyTypeSecurityAccessPolicyType
minOccursminOccurs 00

EndpointBindingPolicyEndpointBindingPolicy

属性Attribute ValueValue
namename EndpointBindingPolicyEndpointBindingPolicy
typetype EndpointBindingPolicyTypeEndpointBindingPolicyType
minOccursminOccurs 00

ResourceGovernancePolicyResourceGovernancePolicy

属性Attribute ValueValue
namename ResourceGovernancePolicyResourceGovernancePolicy
typetype ResourceGovernancePolicyTypeResourceGovernancePolicyType
minOccursminOccurs 00
maxOccursmaxOccurs 11

DigestedEndpoints 元素DigestedEndpoints element

属性Attribute ValueValue
typetype 匿名的 complexTypeanonymous complexType
内容content 1 个元素,0 个属性1 element(s), 0 attribute(s)
defineddefined 在 DigestedResources 元素本地locally in DigestedResources element
namename DigestedEndpointsDigestedEndpoints
minOccursminOccurs 00

XML 源XML source

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

Content 元素详细信息Content element details

DigestedEndpointDigestedEndpoint

属性Attribute ValueValue
namename DigestedEndpointDigestedEndpoint
minOccursminOccurs 00
maxOccursmaxOccurs unboundedunbounded

DigestedEnvironment 元素DigestedEnvironment element

属性Attribute ValueValue
typetype EnvironmentTypeEnvironmentType
内容content 0 个元素,0 个属性0 element(s), 0 attribute(s)
defineddefined ApplicationPackageType complexType 本地locally in ApplicationPackageType complexType
namename DigestedEnvironmentDigestedEnvironment

XML 源XML source

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

DigestedResources 元素DigestedResources element

属性Attribute ValueValue
typetype 匿名的 complexTypeanonymous complexType
内容content 2 个元素,0 个属性2 element(s), 0 attribute(s)
defineddefined ServicePackageType complexType 本地locally in ServicePackageType complexType
namename DigestedResourcesDigestedResources
minOccursminOccurs 11

XML 源XML source

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

Content 元素详细信息Content element details

DigestedEndpointsDigestedEndpoints

属性Attribute ValueValue
namename DigestedEndpointsDigestedEndpoints
minOccursminOccurs 00

DigestedCertificatesDigestedCertificates

属性Attribute ValueValue
namename DigestedCertificatesDigestedCertificates
minOccursminOccurs 00
maxOccursmaxOccurs 11

DigestedServiceTypes 元素DigestedServiceTypes element

属性Attribute ValueValue
typetype 匿名的 complexTypeanonymous complexType
内容content 1 个元素,0 个属性1 element(s), 0 attribute(s)
defineddefined ServicePackageType complexType 本地locally in ServicePackageType complexType
namename DigestedServiceTypesDigestedServiceTypes

XML 源XML source

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

Content 元素详细信息Content element details

ServiceTypesServiceTypes

属性Attribute ValueValue
namename ServiceTypesServiceTypes
typetype ServiceTypesTypeServiceTypesType

DllHost 元素DllHost element

不受支持,请不要使用。Unsupported, do not use. DLL 宿主支持(程序集入口点)通过 FWP.exe 进程提供。DLL hosting support (assembly entry point) is provided through the FWP.exe process. 在激活过程中,Service Fabric 会启动结构工作进程 (FWP.exe) 并加载程序集。Service Fabric starts the Fabric Worker Process (FWP.exe) and loads the assembly as part of the activation process.

属性Attribute ValueValue
typetype DllHostEntryPointTypeDllHostEntryPointType
内容content 0 个元素,0 个属性0 element(s), 0 attribute(s)
defineddefined EntryPointDescriptionType complexType 本地locally in EntryPointDescriptionType complexType
namename DllHostDllHost

XML 源XML source

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

DomainGroup 元素DomainGroup element

属性Attribute ValueValue
typetype 匿名的 complexTypeanonymous complexType
内容content 0 个元素,1 个属性0 element(s), 1 attribute(s)
defineddefined 在 Membership 元素本地locally in Membership element
namename DomainGroupDomainGroup
minOccursminOccurs 00
maxOccursmaxOccurs unboundedunbounded

XML 源XML source

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

属性详细信息Attribute details

NameName

属性Attribute ValueValue
namename NameName
typetype xs:stringxs:string
useuse 必填required

DomainUser 元素DomainUser element

属性Attribute ValueValue
typetype 匿名的 complexTypeanonymous complexType
内容content 0 个元素,1 个属性0 element(s), 1 attribute(s)
defineddefined 在 Membership 元素本地locally in Membership element
namename DomainUserDomainUser
minOccursminOccurs 00
maxOccursmaxOccurs unboundedunbounded

XML 源XML source

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

属性详细信息Attribute details

NameName

属性Attribute ValueValue
namename NameName
typetype xs:stringxs:string
useuse 必填required

DriverOption 元素DriverOption element

要传递给驱动程序的驱动程序选项。Driver options to be passed to driver.

属性Attribute ValueValue
typetype DriverOptionTypeDriverOptionType
内容content 0 个元素,0 个属性0 element(s), 0 attribute(s)
defineddefined ContainerLoggingDriverType complexTypeContainerVolumeType complexType 本地locally in ContainerLoggingDriverType complexType, ContainerVolumeType complexType
namename DriverOptionDriverOption
minOccursminOccurs 00
maxOccursmaxOccurs unboundedunbounded

XML 源XML source

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

ETW 元素ETW element

描述此服务清单的组件的 ETW 设置。Describes the ETW settings for the components of this service manifest.

属性Attribute ValueValue
typetype 匿名的 complexTypeanonymous complexType
内容content 2 个元素,0 个属性2 element(s), 0 attribute(s)
defineddefined ServiceDiagnosticsType complexType 本地locally in ServiceDiagnosticsType complexType
namename ETWETW
minOccursminOccurs 00

XML 源XML source

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

Content 元素详细信息Content element details

ProviderGuidsProviderGuids

列出此服务清单的组件的 ETW 提供程序 GUID。Lists the ETW provider GUIDs for the components of this service manifest.

属性Attribute ValueValue
namename ProviderGuidsProviderGuids
minOccursminOccurs 00

ManifestDataPackagesManifestDataPackages

列出包含此服务清单的组件的 ETW 清单的数据包。Lists the data packages containing ETW manifests for the components of this service manifest. 包含 ETW 清单的数据包不应包含其他任何文件。The data package containing ETW manifests should not contain any other files.

属性Attribute ValueValue
namename ManifestDataPackagesManifestDataPackages
minOccursminOccurs 00

ETWSource 元素ETWSource element

指定 ETW 跟踪收集。Specifies ETW trace collection. ETW 跟踪是针对属于应用程序的所有服务注册的提供程序收集的。ETW traces are collected for the providers that are registered by all services belonging to the application.

属性Attribute ValueValue
typetype 匿名的 complexTypeanonymous complexType
内容content 2 个元素,1 个属性2 element(s), 1 attribute(s)
defineddefined DiagnosticsType complexType 本地locally in DiagnosticsType complexType
namename ETWSourceETWSource
minOccursminOccurs 00

XML 源XML source

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

属性详细信息Attribute details

IsEnabledIsEnabled

指示是否启用 ETW 跟踪收集。Whether or not ETW trace collection is enabled. 默认未启用。By default, it is not enabled.

属性Attribute ValueValue
namename IsEnabledIsEnabled
typetype xs:stringxs:string

Content 元素详细信息Content element details

DestinationsDestinations

故障转储需要传输到的目标。Destinations to which the crash dumps need to be transferred.

属性Attribute ValueValue
namename DestinationsDestinations
minOccursminOccurs 00

None

属性Attribute ValueValue
refref parametersParameters
minOccursminOccurs 00
maxOccursmaxOccurs 11

Endpoint 元素(类型 EndpointOverrideType)Endpoint element (type EndpointOverrideType)

要重写的已在服务清单中声明的终结点。The endpoint, declared in the service manifest, to override.

属性Attribute ValueValue
typetype EndpointOverrideTypeEndpointOverrideType
内容content 0 个元素,0 个属性0 element(s), 0 attribute(s)
defineddefined 在 Endpoints 元素本地locally in Endpoints element
namename 终结点Endpoint
maxOccursmaxOccurs unboundedunbounded

XML 源XML source

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

Endpoint 元素(类型 EndpointType)Endpoint element (type EndpointType)

定义服务的终结点。Defines an endpoint for the service. 可请求的特定端口。Specific ports can be requested. 如果未显式指定端口,则从保留的应用程序端口范围分配一个端口。If a port is not explicitly specified, a port is assigned from the reserved application port range. 在不同群集节点上运行的服务副本可以分配不同的端口号,而运行在同一节点上的服务副本共享同一个端口。Service replicas running on different cluster nodes can be assigned different port numbers, while replicas of the same service running on the same node share the same port. 服务副本可出于各种目的(例如复制或侦听客户端请求)使用此类端口。Such ports can be used by the service replicas for various purposes such as replication or listening for client requests.

属性Attribute ValueValue
typetype EndpointTypeEndpointType
内容content 0 个元素,0 个属性0 element(s), 0 attribute(s)
defineddefined 在 Endpoints 元素、DigestedEndpoint 元素本地locally in Endpoints element, DigestedEndpoint element
namename 终结点Endpoint
maxOccursmaxOccurs unboundedunbounded

XML 源XML source

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

EndpointBinding 元素EndpointBinding element

指定应在容器网络上公开的终结点。Specifies an endpoint that should be exposed on the container network.

属性Attribute ValueValue
typetype ContainerNetworkPolicyEndpointBindingTypeContainerNetworkPolicyEndpointBindingType
内容content 0 个元素,0 个属性0 element(s), 0 attribute(s)
defineddefined ContainerNetworkPolicyType complexType 本地locally in ContainerNetworkPolicyType complexType
namename EndpointBindingEndpointBinding
minOccursminOccurs 00
maxOccursmaxOccurs unboundedunbounded

XML 源XML source

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

EndpointBindingPolicy 元素EndpointBindingPolicy element

指定应返回到 HTTPS 终结点客户端的证书。Specifies a certificate that should be returned to a client for an HTTPS endpoint.

属性Attribute ValueValue
typetype EndpointBindingPolicyTypeEndpointBindingPolicyType
内容content 0 个元素,0 个属性0 element(s), 0 attribute(s)
defineddefined ServiceManifestImportPoliciesType complexType DigestedEndpoint 元素本地locally in ServiceManifestImportPoliciesType complexType, DigestedEndpoint element
namename EndpointBindingPolicyEndpointBindingPolicy
minOccursminOccurs 00

XML 源XML source

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

EndpointCertificate 元素EndpointCertificate element

指定用于保护终结点的 X509 证书的相关信息。Specifies information about an X509 certificate used to secure an endpoint.

属性Attribute ValueValue
typetype EndpointCertificateTypeEndpointCertificateType
内容content 0 个元素,0 个属性0 element(s), 0 attribute(s)
defineddefined 在 Certificates 元素、DigestedCertificates 元素、 DigestedCertificates 元素本地locally in Certificates element, DigestedCertificates element, DigestedCertificates element
namename EndpointCertificateEndpointCertificate
minOccursminOccurs 00

XML 源XML source

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

Endpoints 元素(类型 FabricEndpointsType)Endpoints element (type FabricEndpointsType)

描述与此节点类型关联的终结点Describe the endpoints associated with this node type

属性Attribute ValueValue
typetype FabricEndpointsTypeFabricEndpointsType
内容content 0 个元素,0 个属性0 element(s), 0 attribute(s)
defineddefined 在 NodeType 元素 InfrastructureNodeType complexType 本地locally in NodeType element, InfrastructureNodeType complexType
namename 终结点Endpoints
minOccursminOccurs 00

XML 源XML source

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

Endpoints 元素(在 ResourceOverridesType 中定义)Endpoints element (defined in ResourceOverridesType)

要替代的服务终结点。The service endpoint(s) to override.

属性Attribute ValueValue
typetype 匿名的 complexTypeanonymous complexType
内容content 1 个元素,0 个属性1 element(s), 0 attribute(s)
defineddefined ResourceOverridesType complexType 本地locally in ResourceOverridesType complexType
namename 终结点Endpoints
minOccursminOccurs 00

XML 源XML source

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

Content 元素详细信息Content element details

终结点Endpoint

要重写的已在服务清单中声明的终结点。The endpoint, declared in the service manifest, to override.

属性Attribute ValueValue
namename 终结点Endpoint
typetype EndpointOverrideTypeEndpointOverrideType
maxOccursmaxOccurs unboundedunbounded

Endpoints 元素(在 ResourcesType 中定义)Endpoints element (defined in ResourcesType)

定义服务的终结点。Defines endpoints for the service.

属性Attribute ValueValue
typetype 匿名的 complexTypeanonymous complexType
内容content 1 个元素,0 个属性1 element(s), 0 attribute(s)
defineddefined ResourcesType complexType 本地locally in ResourcesType complexType
namename 终结点Endpoints
minOccursminOccurs 00

XML 源XML source

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

Content 元素详细信息Content element details

终结点Endpoint

属性Attribute ValueValue
namename 终结点Endpoint
typetype EndpointTypeEndpointType
maxOccursmaxOccurs unboundedunbounded

EntryPoint 元素(类型 EntryPointDescriptionType)EntryPoint element (type EntryPointDescriptionType)

EntryPoint 指定的可执行文件通常是长时间运行的服务主机。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. 由 EntryPoint 指定的可执行文件在 SetupEntryPoint 成功退出后运行。The executable specified by EntryPoint is run after SetupEntryPoint exits successfully. 如果总是终止或出现故障,则将监视并重启所产生的过程(再次从 SetupEntryPoint 开始)。The resulting process is monitored and restarted (beginning again with SetupEntryPoint) if it ever terminates or crashes.

属性Attribute ValueValue
typetype EntryPointDescriptionTypeEntryPointDescriptionType
内容content 0 个元素,0 个属性0 element(s), 0 attribute(s)
defineddefined CodePackageType complexType 本地locally in CodePackageType complexType
namename EntryPointEntryPoint
minOccursminOccurs 11

XML 源XML source

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

EntryPoint 元素(类型 xs:string)EntryPoint element (type xs:string)

属性Attribute ValueValue
typetype xs:stringxs:string
内容content 0 个元素,0 个属性0 element(s), 0 attribute(s)
defineddefined ContainerHostEntryPointType complexType 本地locally in ContainerHostEntryPointType complexType
namename EntryPointEntryPoint
minOccursminOccurs 00
maxOccursmaxOccurs 11

XML 源XML source

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

EnvironmentOverrides 元素EnvironmentOverrides element

属性Attribute ValueValue
typetype EnvironmentOverridesTypeEnvironmentOverridesType
内容content 0 个元素,0 个属性0 element(s), 0 attribute(s)
defineddefined 在 ServiceManifestImport 元素本地locally in ServiceManifestImport element
namename EnvironmentOverridesEnvironmentOverrides
minOccursminOccurs 00
maxOccursmaxOccurs unboundedunbounded

XML 源XML source

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

EnvironmentVariable 元素(EnvironmentVariableOverrideType 类型)EnvironmentVariable element (type EnvironmentVariableOverrideType)

环境变量。Environment variable.

属性Attribute ValueValue
typetype EnvironmentVariableOverrideTypeEnvironmentVariableOverrideType
内容content 0 个元素,0 个属性0 element(s), 0 attribute(s)
defineddefined EnvironmentOverridesType complexType 本地locally in EnvironmentOverridesType complexType
namename EnvironmentVariableEnvironmentVariable
minOccursminOccurs 00
maxOccursmaxOccurs unboundedunbounded

XML 源XML source

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

EnvironmentVariable 元素(EnvironmentVariableType 元素)EnvironmentVariable element (type EnvironmentVariableType)

环境变量。Environment variable.

属性Attribute ValueValue
typetype EnvironmentVariableTypeEnvironmentVariableType
内容content 0 个元素,0 个属性0 element(s), 0 attribute(s)
defineddefined EnvironmentVariablesType complexType 本地locally in EnvironmentVariablesType complexType
namename EnvironmentVariableEnvironmentVariable
minOccursminOccurs 00
maxOccursmaxOccurs unboundedunbounded

XML 源XML source

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

EnvironmentVariables 元素EnvironmentVariables element

将环境变量传递给容器或 exe。Pass environment variables to your container or exe.

属性Attribute ValueValue
typetype EnvironmentVariablesTypeEnvironmentVariablesType
内容content 0 个元素,0 个属性0 element(s), 0 attribute(s)
defineddefined CodePackageType complexType 本地locally in CodePackageType complexType
namename EnvironmentVariablesEnvironmentVariables
minOccursminOccurs 00
maxOccursmaxOccurs 11

XML 源XML source

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

EphemeralEndpoints 元素EphemeralEndpoints element

属性Attribute ValueValue
typetype 匿名的 complexTypeanonymous complexType
内容content 0 个元素,2 个属性0 element(s), 2 attribute(s)
defineddefined FabricEndpointsType complexType 本地locally in FabricEndpointsType complexType
namename EphemeralEndpointsEphemeralEndpoints
minOccursminOccurs 00

XML 源XML source

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

属性详细信息Attribute details

StartPortStartPort

属性Attribute ValueValue
namename StartPortStartPort
typetype xs:intxs:int
useuse 必填required

EndPortEndPort

属性Attribute ValueValue
namename EndPortEndPort
typetype xs:intxs:int
useuse 必填required

EventStoreServiceReplicatorEndpoint 元素EventStoreServiceReplicatorEndpoint element

属性Attribute ValueValue
typetype InternalEndpointTypeInternalEndpointType
内容content 0 个元素,0 个属性0 element(s), 0 attribute(s)
defineddefined FabricEndpointsType complexType 本地locally in FabricEndpointsType complexType
namename EventStoreServiceReplicatorEndpointEventStoreServiceReplicatorEndpoint
minOccursminOccurs 00

XML 源XML source

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

EvictionPolicy 元素EvictionPolicy element

服务类型的逐出策略扩展。Eviction Policy extension for the Service Type.

属性Attribute ValueValue
typetype 匿名的 complexTypeanonymous complexType
内容content 1 个元素,2 个属性1 element(s), 2 attribute(s)
defineddefined globallyglobally
namename EvictionPolicyEvictionPolicy

XML 源XML source

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

属性详细信息Attribute details

NameName

属性Attribute ValueValue
namename NameName
typetype xs:stringxs:string
useuse 必填required

提供程序Provider

属性Attribute ValueValue
namename 提供程序Provider
typetype xs:stringxs:string
useuse 必填required

Content 元素详细信息Content element details

属性Properties

属性Attribute ValueValue
namename 属性Properties
typetype ServiceTypeExtensionPolicyPropertiesTypeServiceTypeExtensionPolicyPropertiesType
minOccursminOccurs 00

ExeHost 元素(类型 ExeHostEntryPointType)ExeHost element (type ExeHostEntryPointType)

属性Attribute ValueValue
typetype ExeHostEntryPointTypeExeHostEntryPointType
内容content 0 个元素,0 个属性0 element(s), 0 attribute(s)
defineddefined 在 SetupEntryPoint 元素本地locally in SetupEntryPoint element
namename ExeHostExeHost

XML 源XML source

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

ExeHost 元素(在 EntryPointDescriptionType 中定义)ExeHost element (defined in EntryPointDescriptionType)

属性Attribute ValueValue
typetype 匿名的 complexTypeanonymous complexType
内容content 0 个元素,0 个属性0 element(s), 0 attribute(s)
defineddefined EntryPointDescriptionType complexType 本地locally in EntryPointDescriptionType complexType
namename ExeHostExeHost

XML 源XML source

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

Extension 元素Extension element

属性Attribute ValueValue
typetype 匿名的 complexTypeanonymous complexType
内容content 0 个元素,2 个属性0 element(s), 2 attribute(s)
defineddefined ExtensionsType complexType 本地locally in ExtensionsType complexType
namename 分机Extension
minOccursminOccurs 00
maxOccursmaxOccurs unboundedunbounded

XML 源XML source

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

属性详细信息Attribute details

NameName

属性Attribute ValueValue
namename NameName
useuse 必填required

GeneratedIdGeneratedId

属性Attribute ValueValue
namename GeneratedIdGeneratedId
typetype xs:stringxs:string
useuse 可选optional

Extensions 元素Extensions element

描述可应用到其他元素的扩展。Describes extensions that can be applied to other elements.

属性Attribute ValueValue
typetype ExtensionsTypeExtensionsType
内容content 0 个元素,0 个属性0 element(s), 0 attribute(s)
defineddefined globallyglobally
namename 扩展Extensions

XML 源XML source

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

FabricSettings 元素FabricSettings element

声明要重写的服务清单中的配置设置。Declares configuration settings in a service manifest to be overridden. 它由键/值对的一个或多个节组成。It consists of one or more sections of key-value pairs. 可以使用 Invoke-ServiceFabricEncryptSecret cmdlet 加密参数值。Parameter values can be encrypted using the Invoke-ServiceFabricEncryptSecret cmdlet.

属性Attribute ValueValue
typetype SettingsOverridesTypeSettingsOverridesType
内容content 0 个元素,0 个属性0 element(s), 0 attribute(s)
defineddefined ClusterManifestType complexType 本地locally in ClusterManifestType complexType
namename FabricSettingsFabricSettings
minOccursminOccurs 00

XML 源XML source

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

FailoverManagerReplicatorEndpoint 元素FailoverManagerReplicatorEndpoint element

属性Attribute ValueValue
typetype InternalEndpointTypeInternalEndpointType
内容content 0 个元素,0 个属性0 element(s), 0 attribute(s)
defineddefined FabricEndpointsType complexType 本地locally in FabricEndpointsType complexType
namename FailoverManagerReplicatorEndpointFailoverManagerReplicatorEndpoint
minOccursminOccurs 00

XML 源XML source

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

FaultAnalysisServiceReplicatorEndpoint 元素FaultAnalysisServiceReplicatorEndpoint element

属性Attribute ValueValue
typetype InternalEndpointTypeInternalEndpointType
内容content 0 个元素,0 个属性0 element(s), 0 attribute(s)
defineddefined FabricEndpointsType complexType 本地locally in FabricEndpointsType complexType
namename FaultAnalysisServiceReplicatorEndpointFaultAnalysisServiceReplicatorEndpoint
minOccursminOccurs 00

XML 源XML source

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

FileStore 元素(类型 FileStoreETWType)FileStore element (type FileStoreETWType)

描述 ETW 事件的文件存储目标。Describes a file store destination for ETW events. 只能在本地环境中运行。Works only in on-premises environment.

属性Attribute ValueValue
typetype FileStoreETWTypeFileStoreETWType
内容content 0 个元素,0 个属性0 element(s), 0 attribute(s)
defineddefined 在 Destinations 元素本地locally in Destinations element
namename FileStoreFileStore
minOccursminOccurs 00
maxOccursmaxOccurs unboundedunbounded

XML 源XML source

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

FileStore 元素(类型 FileStoreType)FileStore element (type FileStoreType)

描述诊断数据的文件存储目标。Describes a file store destination for diagnostics data. 只能在独立群集环境中运行。Works only in a standalone cluster environment.

属性Attribute ValueValue
typetype FileStoreTypeFileStoreType
内容content 0 个元素,0 个属性0 element(s), 0 attribute(s)
defineddefined 在 Destinations 元素本地、Destinations 元素locally in Destinations element, Destinations element
namename FileStoreFileStore
minOccursminOccurs 00
maxOccursmaxOccurs unboundedunbounded

XML 源XML source

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

FolderSource 元素FolderSource element

指定本地节点上特定文件夹的内容集合。Specifies the collection of the contents of a particular folder on the local node.

属性Attribute ValueValue
typetype 匿名的 complexTypeanonymous complexType
内容content 2 个元素,1 个属性2 element(s), 1 attribute(s)
defineddefined DiagnosticsType complexType 本地locally in DiagnosticsType complexType
namename FolderSourceFolderSource
minOccursminOccurs 00
maxOccursmaxOccurs unboundedunbounded

XML 源XML source

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

属性详细信息Attribute details

IsEnabledIsEnabled

指示是否启用对此文件夹的内容的收集。Whether or not collection of the contents of this folder is enabled. 默认未启用。By default, it is not enabled.

属性Attribute ValueValue
namename IsEnabledIsEnabled
typetype xs:stringxs:string

Content 元素详细信息Content element details

DestinationsDestinations

文件夹内容需要传输到的目标。Destinations to which the folder contents need to be transferred.

属性Attribute ValueValue
namename DestinationsDestinations
minOccursminOccurs 00

None

属性Attribute ValueValue
refref parametersParameters
minOccursminOccurs 00
maxOccursmaxOccurs 11

FromSource 元素FromSource element

属性Attribute ValueValue
typetype xs:stringxs:string
内容content 0 个元素,0 个属性0 element(s), 0 attribute(s)
defineddefined ContainerHostEntryPointType complexType 本地locally in ContainerHostEntryPointType complexType
namename FromSourceFromSource
minOccursminOccurs 00
maxOccursmaxOccurs 11

XML 源XML source

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

GatewayResourceManagerReplicatorEndpoint 元素GatewayResourceManagerReplicatorEndpoint element

属性Attribute ValueValue
typetype InternalEndpointTypeInternalEndpointType
内容content 0 个元素,0 个属性0 element(s), 0 attribute(s)
defineddefined FabricEndpointsType complexType 本地locally in FabricEndpointsType complexType
namename GatewayResourceManagerReplicatorEndpointGatewayResourceManagerReplicatorEndpoint
minOccursminOccurs 00

XML 源XML source

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

Group 元素(在 Groups 中定义)Group element (defined in Groups)

将组声明为可在策略中引用的安全主体。Declares a group as a security principal, which can be referenced in policies.

属性Attribute ValueValue
typetype 匿名的 complexTypeanonymous complexType
内容content 2 个元素,1 个属性2 element(s), 1 attribute(s)
defineddefined 在 Groups 元素本地locally in Groups element
namename Group
maxOccursmaxOccurs unboundedunbounded

XML 源XML source

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

属性详细信息Attribute details

NameName

本地组帐户的名称。Name of the local group account. 该名称将以应用程序 ID 作为前缀。The name will be prefixed with the application ID.

属性Attribute ValueValue
namename NameName
typetype xs:stringxs:string
useuse 必填required

Content 元素详细信息Content element details

NTLMAuthenticationPolicyNTLMAuthenticationPolicy

属性Attribute ValueValue
namename NTLMAuthenticationPolicyNTLMAuthenticationPolicy
minOccursminOccurs 00

MembershipMembership

属性Attribute ValueValue
namename MembershipMembership
minOccursminOccurs 00

Group 元素(在 MemberOf 中定义)Group element (defined in MemberOf)

要将用户添加到的组。The group to add the user to. 必须在 Groups 节中定义该组。The group must be defined in the Groups section.

属性Attribute ValueValue
typetype 匿名的 complexTypeanonymous complexType
内容content 0 个元素,1 个属性0 element(s), 1 attribute(s)
defineddefined 在 MemberOf 元素本地locally in MemberOf element
namename Group
minOccursminOccurs 00
maxOccursmaxOccurs unboundedunbounded

XML 源XML source

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

属性详细信息Attribute details

NameRefNameRef

组名称。The name of the group.

属性Attribute ValueValue
namename NameRefNameRef
typetype xs:stringxs:string
useuse 必填required

Groups 元素Groups element

将组集声明为可在策略中引用的安全主体。Declares a set of groups as security principals, which can be referenced in policies. 如果不同的服务入口点有多个用户,而且这些用户需要拥有特定的常见组级别权限,Groups 就特别有用。Groups are useful if there are multiple users for different service entry points and they need to have certain common privileges that are available at the group level.

属性Attribute ValueValue
typetype 匿名的 complexTypeanonymous complexType
内容content 1 个元素,0 个属性1 element(s), 0 attribute(s)
defineddefined SecurityPrincipalsType complexType 本地locally in SecurityPrincipalsType complexType
namename Groups
minOccursminOccurs 00

XML 源XML source

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

Content 元素详细信息Content element details

Group

将组声明为可在策略中引用的安全主体。Declares a group as a security principal, which can be referenced in policies.

属性Attribute ValueValue
namename Group
maxOccursmaxOccurs unboundedunbounded

HealthConfig 元素HealthConfig element

指定容器的 docker HEALTHCHECK 集成选项。Specifies docker HEALTHCHECK integration options for the container.

属性Attribute ValueValue
typetype ContainerHealthConfigTypeContainerHealthConfigType
内容content 0 个元素,0 个属性0 element(s), 0 attribute(s)
defineddefined ContainerHostPoliciesType complexType 本地locally in ContainerHostPoliciesType complexType
namename HealthConfigHealthConfig
minOccursminOccurs 00
maxOccursmaxOccurs 11

XML 源XML source

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

HealthPolicy 元素HealthPolicy element

描述各种应用程序评估运行状况事件报告该策略相关实体。Describes the policy for evaluating health events reported on various application-related entities. 如果未指定策略,则假定实体处于警告或错误运行状况报告是否不正常状态。If no policy is specified, an entity is assumed to be unhealthy if the health report is a warning or error.

属性Attribute ValueValue
typetype ApplicationHealthPolicyTypeApplicationHealthPolicyType
内容content 0 个元素,0 个属性0 element(s), 0 attribute(s)
defineddefined ApplicationPoliciesType complexType 本地locally in ApplicationPoliciesType complexType
namename HealthPolicyHealthPolicy
minOccursminOccurs 00

XML 源XML source

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

HttpApplicationGatewayEndpoint 元素HttpApplicationGatewayEndpoint element

属性Attribute ValueValue
typetype InputEndpointTypeInputEndpointType
内容content 0 个元素,0 个属性0 element(s), 0 attribute(s)
defineddefined FabricEndpointsType complexType 本地locally in FabricEndpointsType complexType
namename HttpApplicationGatewayEndpointHttpApplicationGatewayEndpoint
minOccursminOccurs 00

XML 源XML source

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

HttpGatewayEndpoint 元素HttpGatewayEndpoint element

属性Attribute ValueValue
typetype InputEndpointTypeInputEndpointType
内容content 0 个元素,0 个属性0 element(s), 0 attribute(s)
defineddefined FabricEndpointsType complexType 本地locally in FabricEndpointsType complexType
namename HttpGatewayEndpointHttpGatewayEndpoint
minOccursminOccurs 00

XML 源XML source

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

Image 元素Image element

容器映像,对应于要启动的 OS 内部版本号。Container image corresponding to OS build version number to be launched. 如果 Os 属性未指定,则认为容器映像适合所有版本的 OS,并且会替代在服务清单中指定的映像。If the Os attribute is not specified, the container image is assumed to work across all versions of the OS and overrides the image specified in the service manifest.

属性Attribute ValueValue
typetype ImageTypeImageType
内容content 0 个元素,0 个属性0 element(s), 0 attribute(s)
defineddefined ImageOverridesType complexType 本地locally in ImageOverridesType complexType
namename 映像Image
minOccursminOccurs 00
maxOccursmaxOccurs unboundedunbounded

XML 源XML source

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

ImageName 元素ImageName element

https://hub.docker.com 或 Azure 容器注册表上的存储库和映像。The repo and image on https://hub.docker.com or Azure Container Registry.

属性Attribute ValueValue
typetype xs:stringxs:string
内容content 0 个元素,0 个属性0 element(s), 0 attribute(s)
defineddefined ContainerHostEntryPointType complexType 本地locally in ContainerHostEntryPointType complexType
namename ImageNameImageName

XML 源XML source

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

ImageOverrides 元素ImageOverrides element

映像名对应于要启动的 OS 内部版本号。Image names corresponding to OS build number to be launched.

属性Attribute ValueValue
typetype ImageOverridesTypeImageOverridesType
内容content 0 个元素,0 个属性0 element(s), 0 attribute(s)
defineddefined ContainerHostPoliciesType complexType 本地locally in ContainerHostPoliciesType complexType
namename ImageOverridesImageOverrides
minOccursminOccurs 00
maxOccursmaxOccurs 11

XML 源XML source

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

ImageStoreServiceReplicatorEndpoint 元素ImageStoreServiceReplicatorEndpoint element

属性Attribute ValueValue
typetype InternalEndpointTypeInternalEndpointType
内容content 0 个元素,0 个属性0 element(s), 0 attribute(s)
defineddefined FabricEndpointsType complexType 本地locally in FabricEndpointsType complexType
namename ImageStoreServiceReplicatorEndpointImageStoreServiceReplicatorEndpoint
minOccursminOccurs 00

XML 源XML source

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

Infrastructure 示例Infrastructure element

属性Attribute ValueValue
typetype 匿名的 complexTypeanonymous complexType
内容content 6 个元素,0 个属性6 element(s), 0 attribute(s)
defineddefined ClusterManifestType complexType 本地locally in ClusterManifestType complexType
namename 基础结构Infrastructure

XML 源XML source

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

Content 元素详细信息Content element details

WindowsServerWindowsServer

属性Attribute ValueValue
namename WindowsServerWindowsServer

LinuxLinux

属性Attribute ValueValue
namename LinuxLinux

WindowsAzureWindowsAzure

属性Attribute ValueValue
namename WindowsAzureWindowsAzure

WindowsAzureStaticTopologyWindowsAzureStaticTopology

属性Attribute ValueValue
namename WindowsAzureStaticTopologyWindowsAzureStaticTopology

BlackbirdBlackbird

属性Attribute ValueValue
namename BlackbirdBlackbird

PaaSPaaS

属性Attribute ValueValue
namename PaaSPaaS

InfrastructureInformation 元素InfrastructureInformation element

描述需要在其上运行结构的基础结构。Describes the infrastructure on which fabric needs to run.

属性Attribute ValueValue
typetype InfrastructureInformationTypeInfrastructureInformationType
内容content 0 个元素,0 个属性0 element(s), 0 attribute(s)
defineddefined globallyglobally
namename InfrastructureInformationInfrastructureInformation

XML 源XML source

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

InstanceCountScalingMechanism 元素InstanceCountScalingMechanism element

定义用于增加分区实例数的机制。Defines a mechanism for increasing the instance count of a partition. 此属性仅适用于无状态服务。This is for stateless services only.

属性Attribute ValueValue
typetype 匿名的 complexTypeanonymous complexType
内容content 0 个元素,3 个属性0 element(s), 3 attribute(s)
defineddefined ScalingPolicyMechanismGroup 组本地locally in ScalingPolicyMechanismGroup group
namename InstanceCountScalingMechanismInstanceCountScalingMechanism
minOccursminOccurs 00
maxOccursmaxOccurs 11

XML 源XML source

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

属性详细信息Attribute details

MinInstanceCountMinInstanceCount

最小实例数。The minimum number of instances.

属性Attribute ValueValue
namename MinInstanceCountMinInstanceCount
typetype xs:stringxs:string
useuse 必填required

MaxInstanceCountMaxInstanceCount

最大实例数。The maximum number of instances..

属性Attribute ValueValue
namename MaxInstanceCountMaxInstanceCount
typetype xs:stringxs:string
useuse 必填required

ScaleIncrementScaleIncrement

作为执行升档/降档依据的实例数。The number of instances by which to perform the upshift/downshift.

属性Attribute ValueValue
namename ScaleIncrementScaleIncrement
typetype xs:stringxs:string
useuse 必填required

KtlLoggerSettings 元素KtlLoggerSettings element

描述与此节点类型关联的 KtlLogger 信息Describe the KtlLogger information associated with this node type

属性Attribute ValueValue
typetype FabricKtlLoggerSettingsTypeFabricKtlLoggerSettingsType
内容content 0 个元素,0 个属性0 element(s), 0 attribute(s)
defineddefined 在 NodeType 元素本地locally in NodeType element
namename KtlLoggerSettingsKtlLoggerSettings
minOccursminOccurs 00

XML 源XML source

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

Label 元素Label element

指定容器的标签。Specifies the labels for the container.

属性Attribute ValueValue
typetype ContainerLabelTypeContainerLabelType
内容content 0 个元素,0 个属性0 element(s), 0 attribute(s)
defineddefined ContainerHostPoliciesType complexType 本地locally in ContainerHostPoliciesType complexType
namename LabelLabel
minOccursminOccurs 00
maxOccursmaxOccurs unboundedunbounded

XML 源XML source

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

LeaseDriverEndpoint 元素LeaseDriverEndpoint element

属性Attribute ValueValue
typetype InternalEndpointTypeInternalEndpointType
内容content 0 个元素,0 个属性0 element(s), 0 attribute(s)
defineddefined FabricEndpointsType complexType 本地locally in FabricEndpointsType complexType
namename LeaseDriverEndpointLeaseDriverEndpoint

XML 源XML source

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

Linux 元素Linux element

属性Attribute ValueValue
typetype 匿名的 complexTypeanonymous complexType
内容content 0 个元素,0 个属性0 element(s), 0 attribute(s)
defineddefined 在 Infrastructure 元素本地locally in Infrastructure element
namename LinuxLinux

XML 源XML source

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

LoadMetric 元素LoadMetric element

应在其上均衡此服务的资源,例如内存或 CPU 使用率。A resource that this service should be balanced on, such as memory or CPU usage. 包含此服务的每个副本或实例默认消耗的资源量信息。Includes information about how much of that resource each replica or instance of this service consumes by default.

属性Attribute ValueValue
typetype LoadMetricTypeLoadMetricType
内容content 0 个元素,0 个属性0 element(s), 0 attribute(s)
defineddefined 在 LoadMetrics 元素、LoadMetrics 元素、LoadMetrics 元素、LoadMetrics 元素、 LoadMetrics 元素本地locally in LoadMetrics element, LoadMetrics element, LoadMetrics element, LoadMetrics element, LoadMetrics element
namename LoadMetricLoadMetric
maxOccursmaxOccurs unboundedunbounded

XML 源XML source

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

LoadMetrics 元素(在 ServiceGroupMemberType 中定义)LoadMetrics element (defined in ServiceGroupMemberType)

加载此服务报告的指标。Load metrics reported by this service.

属性Attribute ValueValue
typetype 匿名的 complexTypeanonymous complexType
内容content 1 个元素,0 个属性1 element(s), 0 attribute(s)
defineddefined ServiceGroupMemberType complexType 本地locally in ServiceGroupMemberType complexType
namename LoadMetricsLoadMetrics
minOccursminOccurs 00

XML 源XML source

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

Content 元素详细信息Content element details

LoadMetricLoadMetric

属性Attribute ValueValue
namename LoadMetricLoadMetric
typetype LoadMetricTypeLoadMetricType
maxOccursmaxOccurs unboundedunbounded

LoadMetrics 元素(在 ServiceGroupTypeMember 中定义)LoadMetrics element (defined in ServiceGroupTypeMember)

加载此服务报告的指标,用于资源均衡服务。Load metrics reported by this service, used for resource balancing services.

属性Attribute ValueValue
typetype 匿名的 complexTypeanonymous complexType
内容content 1 个元素,0 个属性1 element(s), 0 attribute(s)
defineddefined 在 ServiceGroupTypeMember 元素本地locally in ServiceGroupTypeMember element
namename LoadMetricsLoadMetrics
minOccursminOccurs 00

XML 源XML source

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

Content 元素详细信息Content element details

LoadMetricLoadMetric

属性Attribute ValueValue
namename LoadMetricLoadMetric
typetype LoadMetricTypeLoadMetricType
maxOccursmaxOccurs unboundedunbounded

LoadMetrics 元素(在 ServiceGroupTypeType 中定义)LoadMetrics element (defined in ServiceGroupTypeType)

加载此服务报告的指标。Load metrics reported by this service.

属性Attribute ValueValue
typetype 匿名的 complexTypeanonymous complexType
内容content 1 个元素,0 个属性1 element(s), 0 attribute(s)
defineddefined ServiceGroupTypeType complexType 本地locally in ServiceGroupTypeType complexType
namename LoadMetricsLoadMetrics
minOccursminOccurs 00

XML 源XML source

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

Content 元素详细信息Content element details

LoadMetricLoadMetric

属性Attribute ValueValue
namename LoadMetricLoadMetric
typetype LoadMetricTypeLoadMetricType
maxOccursmaxOccurs unboundedunbounded

LoadMetrics 元素(在 ServiceTypeType 中定义)LoadMetrics element (defined in ServiceTypeType)

加载此服务报告的指标。Load metrics reported by this service.

属性Attribute ValueValue
typetype 匿名的 complexTypeanonymous complexType
内容content 1 个元素,0 个属性1 element(s), 0 attribute(s)
defineddefined ServiceTypeType complexType 本地locally in ServiceTypeType complexType
namename LoadMetricsLoadMetrics
minOccursminOccurs 00

XML 源XML source

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

Content 元素详细信息Content element details

LoadMetricLoadMetric

属性Attribute ValueValue
namename LoadMetricLoadMetric
typetype LoadMetricTypeLoadMetricType
maxOccursmaxOccurs unboundedunbounded

LoadMetrics 元素(在 ServiceType 中定义)LoadMetrics element (defined in ServiceType)

加载此服务报告的指标,用于资源均衡服务。Load metrics reported by this service, used for resource balancing services.

属性Attribute ValueValue
typetype 匿名的 complexTypeanonymous complexType
内容content 1 个元素,0 个属性1 element(s), 0 attribute(s)
defineddefined ServiceType complexType 本地locally in ServiceType complexType
namename LoadMetricsLoadMetrics
minOccursminOccurs 00

XML 源XML source

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

Content 元素详细信息Content element details

LoadMetricLoadMetric

属性Attribute ValueValue
namename LoadMetricLoadMetric
typetype LoadMetricTypeLoadMetricType
maxOccursmaxOccurs unboundedunbounded

LocalStore 元素(类型 LocalStoreETWType)LocalStore element (type LocalStoreETWType)

描述 ETW 事件在节点中的存储目标。Describes a store destination within the node for ETW events.

属性Attribute ValueValue
typetype LocalStoreETWTypeLocalStoreETWType
内容content 0 个元素,0 个属性0 element(s), 0 attribute(s)
defineddefined 在 Destinations 元素本地locally in Destinations element
namename LocalStoreLocalStore
minOccursminOccurs 00
maxOccursmaxOccurs unboundedunbounded

XML 源XML source

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

LocalStore 元素(类型 LocalStoreType)LocalStore element (type LocalStoreType)

描述诊断数据在节点中的存储目标。Describes a store destination within the node for diagnostic data.

属性Attribute ValueValue
typetype LocalStoreTypeLocalStoreType
内容content 0 个元素,0 个属性0 element(s), 0 attribute(s)
defineddefined 在 Destinations 元素本地、Destinations 元素locally in Destinations element, Destinations element
namename LocalStoreLocalStore
minOccursminOccurs 00
maxOccursmaxOccurs unboundedunbounded

XML 源XML source

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

LogCollectionPolicies 元素LogCollectionPolicies element

指定是否已启用日志收集。Specifies whether log collection is enabled. 仅在 Azure 群集环境中适用Works only in an Azure cluster environment

属性Attribute ValueValue
typetype 匿名的 complexTypeanonymous complexType
内容content 1 个元素,0 个属性1 element(s), 0 attribute(s)
defineddefined ApplicationPoliciesType complexType 本地locally in ApplicationPoliciesType complexType
namename LogCollectionPoliciesLogCollectionPolicies
minOccursminOccurs 00

XML 源XML source

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

Content 元素详细信息Content element details

LogCollectionPolicyLogCollectionPolicy

属性Attribute ValueValue
namename LogCollectionPolicyLogCollectionPolicy

LogCollectionPolicy 元素LogCollectionPolicy element

属性Attribute ValueValue
typetype 匿名的 complexTypeanonymous complexType
内容content 0 个元素,1 个属性0 element(s), 1 attribute(s)
defineddefined 在 LogCollectionPolicies 元素本地locally in LogCollectionPolicies element
namename LogCollectionPolicyLogCollectionPolicy

XML 源XML source

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

属性详细信息Attribute details

PathPath

属性Attribute ValueValue
namename PathPath
typetype xs:stringxs:string
useuse 可选optional

LogConfig 元素LogConfig element

指定容器的日志记录驱动程序。Specifies the logging driver for a container.

属性Attribute ValueValue
typetype ContainerLoggingDriverTypeContainerLoggingDriverType
内容content 0 个元素,0 个属性0 element(s), 0 attribute(s)
defineddefined ContainerHostPoliciesType complexType 本地locally in ContainerHostPoliciesType complexType
namename LogConfigLogConfig
minOccursminOccurs 00
maxOccursmaxOccurs 11

XML 源XML source

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

LogicalDirectories 元素LogicalDirectories element

描述与此节点类型关联的 LogicalDirectories 设置Describe the LogicalDirectories settings associated with this node type

属性Attribute ValueValue
typetype 匿名的 complexTypeanonymous complexType
内容content 1 个元素,0 个属性1 element(s), 0 attribute(s)
defineddefined 在 NodeType 元素本地locally in NodeType element
namename LogicalDirectoriesLogicalDirectories
minOccursminOccurs 00

XML 源XML source

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

Content 元素详细信息Content element details

LogicalDirectoryLogicalDirectory

属性Attribute ValueValue
namename LogicalDirectoryLogicalDirectory
typetype LogicalDirectoryTypeLogicalDirectoryType
maxOccursmaxOccurs unboundedunbounded

LogicalDirectory 元素LogicalDirectory element

描述 LogicalDirectoryType。Describes a LogicalDirectoryType.

属性Attribute ValueValue
typetype LogicalDirectoryTypeLogicalDirectoryType
内容content 0 个元素,0 个属性0 element(s), 0 attribute(s)
defineddefined 在 LogicalDirectories 元素本地locally in LogicalDirectories element
namename LogicalDirectoryLogicalDirectory
maxOccursmaxOccurs unboundedunbounded

XML 源XML source

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

ManagedAssembly 元素ManagedAssembly element

不受支持,请不要使用。Unsupported, do not use. 要托管的托管程序集的名称(例如 Queue.dll)。The name of managed assembly (for example, Queue.dll), to host.

属性Attribute ValueValue
typetype ManagedAssemblyTypeManagedAssemblyType
内容content 0 个元素,0 个属性0 element(s), 0 attribute(s)
defineddefined DllHostEntryPointType complexType 本地locally in DllHostEntryPointType complexType
namename ManagedAssemblyManagedAssembly

XML 源XML source

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

ManifestDataPackage 元素ManifestDataPackage element

声明一个按 Name 属性命名的文件夹,该文件夹位于将由进程在运行时使用的静态数据文件所在的 PackageRoot 中。Declares a folder, named by the Name attribute, under PackageRoot which contains static data files to be consumed by the process at runtime. 升级服务清单中所列的任何数据包时,Service Fabric 会回收主机和支持包中指定的所有 EXE 和 DLLHOST。Service Fabric will recycle all EXEs and DLLHOSTs specified in the host and support packages when any of the data packages listed in the service manifest are upgraded.

属性Attribute ValueValue
typetype DataPackageTypeDataPackageType
内容content 0 个元素,0 个属性0 element(s), 0 attribute(s)
defineddefined 在 ManifestDataPackages 元素本地locally in ManifestDataPackages element
namename ManifestDataPackageManifestDataPackage
minOccursminOccurs 00
maxOccursmaxOccurs unboundedunbounded

XML 源XML source

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

ManifestDataPackages 元素ManifestDataPackages element

列出包含此服务清单的组件的 ETW 清单的数据包。Lists the data packages containing ETW manifests for the components of this service manifest. 包含 ETW 清单的数据包不应包含其他任何文件。The data package containing ETW manifests should not contain any other files.

属性Attribute ValueValue
typetype 匿名的 complexTypeanonymous complexType
内容content 1 个元素,0 个属性1 element(s), 0 attribute(s)
defineddefined 在 ETW 元素本地locally in ETW element
namename ManifestDataPackagesManifestDataPackages
minOccursminOccurs 00

XML 源XML source

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

Content 元素详细信息Content element details

ManifestDataPackageManifestDataPackage

属性Attribute ValueValue
namename ManifestDataPackageManifestDataPackage
typetype DataPackageTypeDataPackageType
minOccursminOccurs 00
maxOccursmaxOccurs unboundedunbounded

Member 元素Member element

属性Attribute ValueValue
typetype ServiceGroupMemberTypeServiceGroupMemberType
内容content 0 个元素,0 个属性0 element(s), 0 attribute(s)
defineddefined 在 Members 元素本地,Members 元素locally in Members element, Members element
namename 成员Member
minOccursminOccurs 11
maxOccursmaxOccurs unboundedunbounded

XML 源XML source

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

MemberOf 元素MemberOf element

用户可以添加到任何现有的成员身份组中,因此它可以继承所有属性和该成员身份组的安全设置。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).

属性Attribute ValueValue
typetype 匿名的 complexTypeanonymous complexType
内容content 2 个元素,0 个属性2 element(s), 0 attribute(s)
defineddefined 在 User 元素本地locally in User element
namename MemberOfMemberOf
minOccursminOccurs 00

XML 源XML source

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

Content 元素详细信息Content element details

SystemGroupSystemGroup

要将用户添加到的系统组。The system group to add the user to. 必须在 Groups 节中定义该系统组。The system group must be defined in the Groups section.

属性Attribute ValueValue
namename SystemGroupSystemGroup
minOccursminOccurs 00
maxOccursmaxOccurs unboundedunbounded

Group

要将用户添加到的组。The group to add the user to. 必须在 Groups 节中定义该组。The group must be defined in the Groups section.

属性Attribute ValueValue
namename Group
minOccursminOccurs 00
maxOccursmaxOccurs unboundedunbounded

Members 元素(在 StatefulServiceGroupType 中定义)Members element (defined in StatefulServiceGroupType)

此服务组的成员服务Member services of this service group

属性Attribute ValueValue
typetype 匿名的 complexTypeanonymous complexType
内容content 1 个元素,0 个属性1 element(s), 0 attribute(s)
defineddefined StatefulServiceGroupType complexType 本地locally in StatefulServiceGroupType complexType
namename 成员Members
minOccursminOccurs 11
maxOccursmaxOccurs 11

XML 源XML source

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

Content 元素详细信息Content element details

成员Member

属性Attribute ValueValue
namename 成员Member
typetype ServiceGroupMemberTypeServiceGroupMemberType
minOccursminOccurs 11
maxOccursmaxOccurs unboundedunbounded

Members 元素(在 StatelessServiceGroupType 中定义)Members element (defined in StatelessServiceGroupType)

此服务组的成员服务Member services of this service group

属性Attribute ValueValue
typetype 匿名的 complexTypeanonymous complexType
内容content 1 个元素,0 个属性1 element(s), 0 attribute(s)
defineddefined StatelessServiceGroupType complexType 本地locally in StatelessServiceGroupType complexType
namename 成员Members
minOccursminOccurs 11
maxOccursmaxOccurs 11

XML 源XML source

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

Content 元素详细信息Content element details

成员Member

属性Attribute ValueValue
namename 成员Member
typetype ServiceGroupMemberTypeServiceGroupMemberType
minOccursminOccurs 11
maxOccursmaxOccurs unboundedunbounded

Membership 元素Membership element

属性Attribute ValueValue
typetype 匿名的 complexTypeanonymous complexType
内容content 3 个元素,0 个属性3 element(s), 0 attribute(s)
defineddefined 在 Group 元素本地locally in Group element
namename MembershipMembership
minOccursminOccurs 00

XML 源XML source

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

Content 元素详细信息Content element details

DomainGroupDomainGroup

属性Attribute ValueValue
namename DomainGroupDomainGroup
minOccursminOccurs 00
maxOccursmaxOccurs unboundedunbounded

SystemGroupSystemGroup

属性Attribute ValueValue
namename SystemGroupSystemGroup
minOccursminOccurs 00
maxOccursmaxOccurs unboundedunbounded

DomainUserDomainUser

属性Attribute ValueValue
namename DomainUserDomainUser
minOccursminOccurs 00
maxOccursmaxOccurs unboundedunbounded

NTLMAuthenticationPolicy 元素(在 Group 中定义)NTLMAuthenticationPolicy element (defined in Group)

属性Attribute ValueValue
typetype 匿名的 complexTypeanonymous complexType
内容content 0 个元素,1 个属性0 element(s), 1 attribute(s)
defineddefined 在 Group 元素本地locally in Group element
namename NTLMAuthenticationPolicyNTLMAuthenticationPolicy
minOccursminOccurs 00

XML 源XML source

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

属性详细信息Attribute details

IsEnabledIsEnabled

属性Attribute ValueValue
namename IsEnabledIsEnabled
typetype xs:booleanxs:boolean
useuse 可选optional
默认值default true

NTLMAuthenticationPolicy 元素(在 User 中定义)NTLMAuthenticationPolicy element (defined in User)

属性Attribute ValueValue
typetype 匿名的 complexTypeanonymous complexType
内容content 0 个元素,6 个属性0 element(s), 6 attribute(s)
defineddefined 在 User 元素本地locally in User element
namename NTLMAuthenticationPolicyNTLMAuthenticationPolicy
minOccursminOccurs 00

XML 源XML source

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

属性详细信息Attribute details

IsEnabledIsEnabled

属性Attribute ValueValue
namename IsEnabledIsEnabled
typetype xs:booleanxs:boolean
useuse 可选optional
默认值default true

PasswordSecretPasswordSecret

属性Attribute ValueValue
namename PasswordSecretPasswordSecret
typetype xs:stringxs:string
useuse 必填required

PasswordSecretEncryptedPasswordSecretEncrypted

属性Attribute ValueValue
namename PasswordSecretEncryptedPasswordSecretEncrypted
typetype xs:booleanxs:boolean
useuse 可选optional
默认值default falsefalse

X509StoreLocationX509StoreLocation

属性Attribute ValueValue
namename X509StoreLocationX509StoreLocation
useuse 可选optional
默认值default LocalMachineLocalMachine

X509StoreNameX509StoreName

属性Attribute ValueValue
namename X509StoreNameX509StoreName
默认值default MyMy

X509ThumbprintX509Thumbprint

属性Attribute ValueValue
namename X509ThumbprintX509Thumbprint
typetype xs:stringxs:string

NamedPartition 元素NamedPartition element

描述基于每个分区的名称的命名分区方案。Describes a named partitioning scheme based on names for each partition.

属性Attribute ValueValue
typetype 匿名的 complexTypeanonymous complexType
内容content 1 个元素,0 个属性1 element(s), 0 attribute(s)
defineddefined PartitionDescriptionGroup 组本地locally in PartitionDescriptionGroup group
namename NamedPartitionNamedPartition

XML 源XML source

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

Content 元素详细信息Content element details

分区Partition

按名称描述分区。Describes a partition by name.

属性Attribute ValueValue
namename 分区Partition

NamingReplicatorEndpoint 元素NamingReplicatorEndpoint element

属性Attribute ValueValue
typetype InternalEndpointTypeInternalEndpointType
内容content 0 个元素,0 个属性0 element(s), 0 attribute(s)
defineddefined FabricEndpointsType complexType 本地locally in FabricEndpointsType complexType
namename NamingReplicatorEndpointNamingReplicatorEndpoint
minOccursminOccurs 00

XML 源XML source

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

NetworkConfig 元素NetworkConfig element

指定容器的网络配置。Specifies the network configuration for a container.

属性Attribute ValueValue
typetype ContainerNetworkConfigTypeContainerNetworkConfigType
内容content 0 个元素,0 个属性0 element(s), 0 attribute(s)
defineddefined ContainerHostPoliciesType complexType 本地locally in ContainerHostPoliciesType complexType
namename NetworkConfigNetworkConfig
minOccursminOccurs 00
maxOccursmaxOccurs 11

XML 源XML source

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

NetworkPolicies 元素NetworkPolicies element

指定包含容器网络策略的网络策略。Specifies network policies including container network policies.

属性Attribute ValueValue
typetype NetworkPoliciesTypeNetworkPoliciesType
内容content 0 个元素,0 个属性0 element(s), 0 attribute(s)
defineddefined ServiceManifestImportPoliciesType complexTypeServicePackageType complexType 本地locally in ServiceManifestImportPoliciesType complexType, ServicePackageType complexType
namename NetworkPoliciesNetworkPolicies
minOccursminOccurs 00
maxOccursmaxOccurs 11

XML 源XML source

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

Node 元素(类型 FabricNodeType)Node element (type FabricNodeType)

描述 Azure Service Fabric 节点。Describes a Azure Service Fabric Node.

属性Attribute ValueValue
typetype FabricNodeTypeFabricNodeType
内容content 0 个元素,0 个属性0 element(s), 0 attribute(s)
defineddefined 在 NodeList 元素本地,NodeList 元素locally in NodeList element, NodeList element
namename 节点Node
maxOccursmaxOccurs unboundedunbounded

XML 源XML source

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

Node 元素(类型 InfrastructureNodeType)Node element (type InfrastructureNodeType)

描述所需的基础结构信息。Describes an Infrastructure information needed.

属性Attribute ValueValue
typetype InfrastructureNodeTypeInfrastructureNodeType
内容content 0 个元素,0 个属性0 element(s), 0 attribute(s)
defineddefined 本地 NodeList 元素中locally in NodeList element
namename 节点Node
maxOccursmaxOccurs unboundedunbounded

XML 源XML source

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

NodeList 元素(在 InfrastructureInformationType 中定义)NodeList element (defined in InfrastructureInformationType)

属性Attribute ValueValue
typetype 匿名的 complexTypeanonymous complexType
内容content 1 个元素,0 个属性1 element(s), 0 attribute(s)
defineddefined 在本地 InfrastructureInformationType complexTypelocally in InfrastructureInformationType complexType
namename NodeListNodeList

XML 源XML source

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

Content 元素详细信息Content element details

节点Node

属性Attribute ValueValue
namename 节点Node
typetype InfrastructureNodeTypeInfrastructureNodeType
maxOccursmaxOccurs unboundedunbounded

NodeList 元素(在 LinuxInfrastructureType 中定义)NodeList element (defined in LinuxInfrastructureType)

属性Attribute ValueValue
typetype 匿名的 complexTypeanonymous complexType
内容content 1 个元素,0 个属性1 element(s), 0 attribute(s)
defineddefined 在本地 LinuxInfrastructureType complexTypelocally in LinuxInfrastructureType complexType
namename NodeListNodeList

XML 源XML source

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

Content 元素详细信息Content element details

节点Node

属性Attribute ValueValue
namename 节点Node
typetype FabricNodeTypeFabricNodeType
maxOccursmaxOccurs unboundedunbounded

NodeList 元素(在 WindowsInfrastructureType 中定义)NodeList element (defined in WindowsInfrastructureType)

属性Attribute ValueValue
typetype 匿名的 complexTypeanonymous complexType
内容content 1 个元素,0 个属性1 element(s), 0 attribute(s)
defineddefined 在本地 WindowsInfrastructureType complexTypelocally in WindowsInfrastructureType complexType
namename NodeListNodeList

XML 源XML source

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

Content 元素详细信息Content element details

节点Node

属性Attribute ValueValue
namename 节点Node
typetype FabricNodeTypeFabricNodeType
maxOccursmaxOccurs unboundedunbounded

NodeType 元素NodeType element

描述节点类型。Describe a node type.

属性Attribute ValueValue
typetype 匿名的 complexTypeanonymous complexType
内容content 7 个元素,1 个属性7 element(s), 1 attribute(s)
defineddefined 在 Nodetype 元素本地locally in NodeTypes element
namename NodeTypeNodeType
maxOccursmaxOccurs unboundedunbounded

XML 源XML source

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

属性详细信息Attribute details

NameName

NodeType 的名称Name of the NodeType

属性Attribute ValueValue
namename NameName
typetype xs:stringxs:string
useuse 必填required

Content 元素详细信息Content element details

终结点Endpoints

描述与此节点类型关联的终结点Describe the endpoints associated with this node type

属性Attribute ValueValue
namename 终结点Endpoints
typetype FabricEndpointsTypeFabricEndpointsType
minOccursminOccurs 00

KtlLoggerSettingsKtlLoggerSettings

描述与此节点类型关联的 KtlLogger 信息Describe the KtlLogger information associated with this node type

属性Attribute ValueValue
namename KtlLoggerSettingsKtlLoggerSettings
typetype FabricKtlLoggerSettingsTypeFabricKtlLoggerSettingsType
minOccursminOccurs 00

LogicalDirectoriesLogicalDirectories

描述与此节点类型关联的 LogicalDirectories 设置Describe the LogicalDirectories settings associated with this node type

属性Attribute ValueValue
namename LogicalDirectoriesLogicalDirectories
minOccursminOccurs 00

证书Certificates

描述与此节点类型关联的证书Describe the certificates associated with this node type

属性Attribute ValueValue
namename 证书Certificates
typetype CertificatesTypeCertificatesType
minOccursminOccurs 00

PlacementPropertiesPlacementProperties

描述要用作放置约束的此 NodeType 的属性Describe the properties for this NodeType that will be used as placement constraints

属性Attribute ValueValue
namename PlacementPropertiesPlacementProperties
minOccursminOccurs 00

CapacitiesCapacities

此节点类型的各个指标的容量The capacities of various metrics for this node type

属性Attribute ValueValue
namename CapacitiesCapacities
minOccursminOccurs 00

SfssRgPoliciesSfssRgPolicies

此节点类型的 SF 系统服务资源管理策略The SF system services resource governance policy for this node type

属性Attribute ValueValue
namename SfssRgPoliciesSfssRgPolicies
minOccursminOccurs 00

NodeTypes 元素NodeTypes element

属性Attribute ValueValue
typetype 匿名的 complexTypeanonymous complexType
内容content 1 个元素,0 个属性1 element(s), 0 attribute(s)
defineddefined ClusterManifestType complexType 本地locally in ClusterManifestType complexType
namename NodeTypesNodeTypes
minOccursminOccurs 11

XML 源XML source

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

Content 元素详细信息Content element details

NodeTypeNodeType

描述节点类型。Describe a node type.

属性Attribute ValueValue
namename NodeTypeNodeType
maxOccursmaxOccurs unboundedunbounded

PaaS 元素PaaS element

属性Attribute ValueValue
typetype 匿名的 complexTypeanonymous complexType
内容content 2 个元素,0 个属性2 element(s), 0 attribute(s)
defineddefined 在 Infrastructure 元素本地locally in Infrastructure element
namename PaaSPaaS

XML 源XML source

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

Content 元素详细信息Content element details

角色Roles

属性Attribute ValueValue
namename 角色Roles

VotesVotes

属性Attribute ValueValue
namename VotesVotes

PackageSharingPolicy 元素PackageSharingPolicy element

指示是否应跨同一服务类型的服务实例共享某个代码、配置或数据包。Indicates if a code, config or data package should be shared across service instances of the same service type.

属性Attribute ValueValue
typetype PackageSharingPolicyTypePackageSharingPolicyType
内容content 0 个元素,0 个属性0 element(s), 0 attribute(s)
defineddefined ServiceManifestImportPoliciesType complexType 本地locally in ServiceManifestImportPoliciesType complexType
namename PackageSharingPolicyPackageSharingPolicy
minOccursminOccurs 00

XML 源XML source

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

Parameter 元素(类型 ParameterType)Parameter element (type ParameterType)

属性Attribute ValueValue
typetype ParameterTypeParameterType
内容content 0 个元素,0 个属性0 element(s), 0 attribute(s)
defineddefined ParametersType complexType 本地locally in ParametersType complexType
namename 参数Parameter
minOccursminOccurs 11
maxOccursmaxOccurs unboundedunbounded

XML 源XML source

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

Parameter 元素(在 Parameters 中定义)Parameter element (defined in Parameters)

要在此清单中使用的应用程序参数。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.

属性Attribute ValueValue
typetype 匿名的 complexTypeanonymous complexType
内容content 0 个元素,2 个属性0 element(s), 2 attribute(s)
defineddefined 在 Parameters 元素本地locally in Parameters element
namename 参数Parameter
blockblock
minOccursminOccurs 00
maxOccursmaxOccurs unboundedunbounded

XML 源XML source

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

属性详细信息Attribute details

NameName

要在清单中用作“[Name]”的参数名称。The name of the parameter to be used in the manifest as "[Name]".

属性Attribute ValueValue
namename NameName
useuse 必填required

DefaultValueDefaultValue

该参数的默认值,若应用程序实例化期间未提供该参数值,将使用该值。Default value for the parameter, used if the parameter value is not provided during application instantiation.

属性Attribute ValueValue
namename DefaultValueDefaultValue
typetype xs:stringxs:string
useuse 必填required

Parameter 元素(在 Parameters 中定义)Parameter element (defined in Parameters)

属性Attribute ValueValue
typetype 匿名的 complexTypeanonymous complexType
内容content 0 个元素,0 个属性0 element(s), 0 attribute(s)
defineddefined 在 Parameters 元素本地locally in Parameters element
namename 参数Parameter
minOccursminOccurs 00
maxOccursmaxOccurs unboundedunbounded

XML 源XML source

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

Parameter 元素(在 Section 中定义)Parameter element (defined in Section)

要重写的设置。The setting to override.

属性Attribute ValueValue
typetype 匿名的 complexTypeanonymous complexType
内容content 0 个元素,2 个属性0 element(s), 2 attribute(s)
defineddefined 在 Section 元素本地locally in Section element
namename 参数Parameter
minOccursminOccurs 00
maxOccursmaxOccurs unboundedunbounded

XML 源XML source

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

属性详细信息Attribute details

IsEncryptedIsEncrypted

                  If true, the value of this parameter is encrypted. The application developer is responsible for creating a certificate and using the Invoke-ServiceFabricEncryptSecret cmdlet to encrypt sensitive information. The certificate information that will be used to encrypt the value is specified in the Certificates section. This attribute is deprecated. Please use Type attribute.
属性Attribute ValueValue
namename IsEncryptedIsEncrypted
typetype xs:booleanxs:boolean
默认值default falsefalse

类型Type

此值定义在“Value”属性中指定的值的类型。This value defines the type of value you have specified in the 'Value' Attribute. 它可以是 SecretsStoreRef/Encrypted/PlainText。It can be SecretsStoreRef/Encrypted/PlainText. 如果设置为 SecretsStoreRef,则我们从 SecretStore 检索引用值。If set to SecretsStoreRef, we retrieve the reference value from the SecretStore. 如果设置为 Encrypted,则应用程序开发人员负责创建证书并使用 Invoke-ServiceFabricEncryptSecret cmdlet 来加密敏感信息。If set to Encrypted, the application developer is responsible for creating a certificate and using the Invoke-ServiceFabricEncryptSecret cmdlet to encrypt sensitive information.

属性Attribute ValueValue
namename 类型Type
typetype xs:stringxs:string
useuse 可选optional

Parameter 元素(在 Section 中定义)Parameter element (defined in Section)

属性Attribute ValueValue
typetype 匿名的 complexTypeanonymous complexType
内容content 0 个元素,5 个属性0 element(s), 5 attribute(s)
defineddefined 在 Section 元素本地locally in Section element
namename 参数Parameter
minOccursminOccurs 00
maxOccursmaxOccurs unboundedunbounded

XML 源XML source

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

属性详细信息Attribute details

NameName

属性Attribute ValueValue
namename NameName
typetype xs:stringxs:string
useuse 必填required

ValueValue

属性Attribute ValueValue
namename ValueValue
typetype xs:stringxs:string
useuse 必填required

MustOverrideMustOverride

若为 true,则此参数的值必须由更高级别的配置重写。If true, the value of this parameter must be overridden by higher level configuration.

属性Attribute ValueValue
namename MustOverrideMustOverride
typetype xs:booleanxs:boolean
默认值default falsefalse

IsEncryptedIsEncrypted

若为 true,则此参数的值将加密。If true, the value of this parameter is encrypted.

属性Attribute ValueValue
namename IsEncryptedIsEncrypted
typetype xs:booleanxs:boolean
默认值default falsefalse

类型Type

属性Attribute ValueValue
namename 类型Type
typetype xs:stringxs:string
useuse 可选optional

Parameters 元素(类型 ParametersType)Parameters element (type ParametersType)

指定为名称/值对的其他设置Additional settings specified as name-value pairs

属性Attribute ValueValue
typetype ParametersTypeParametersType
内容content 0 个元素,0 个属性0 element(s), 0 attribute(s)
defineddefined globallyglobally
namename parametersParameters

XML 源XML source

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

Parameters 元素(在 AppInstanceDefinitionType 中定义)Parameters element (defined in AppInstanceDefinitionType)

应用程序清单中定义的应用程序参数列表及其各自的值。List of parameters for the application as defined in application manifest and their respective values.

属性Attribute ValueValue
typetype 匿名的 complexTypeanonymous complexType
内容content 1 个元素,0 个属性1 element(s), 0 attribute(s)
defineddefined AppInstanceDefinitionType complexType 本地locally in AppInstanceDefinitionType complexType
namename parametersParameters

XML 源XML source

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

Content 元素详细信息Content element details

参数Parameter

属性Attribute ValueValue
namename 参数Parameter
minOccursminOccurs 00
maxOccursmaxOccurs unboundedunbounded

Parameters 元素(在 ApplicationManifestType 中定义)Parameters element (defined in ApplicationManifestType)

声明在此应用程序清单中使用的参数。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.

属性Attribute ValueValue
typetype 匿名的 complexTypeanonymous complexType
内容content 1 个元素,0 个属性1 element(s), 0 attribute(s)
defineddefined ApplicationManifestType complexType 本地locally in ApplicationManifestType complexType
namename parametersParameters
minOccursminOccurs 00

XML 源XML source

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

Content 元素详细信息Content element details

参数Parameter

要在此清单中使用的应用程序参数。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.

属性Attribute ValueValue
namename 参数Parameter
blockblock
minOccursminOccurs 00
maxOccursmaxOccurs unboundedunbounded

Partition 元素Partition element

按名称描述分区。Describes a partition by name.

属性Attribute ValueValue
typetype 匿名的 complexTypeanonymous complexType
内容content 0 个元素,1 个属性0 element(s), 1 attribute(s)
defineddefined 在 NamedPartition 元素本地locally in NamedPartition element
namename 分区Partition

XML 源XML source

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

属性详细信息Attribute details

NameName

分区名称The name of the partition

属性Attribute ValueValue
namename NameName
useuse 必填required

PersistencePolicy 元素PersistencePolicy element

服务类型的持久性策略扩展Persistence Policy extension for the Service Type

属性Attribute ValueValue
typetype 匿名的 complexTypeanonymous complexType
内容content 1 个元素,4 个属性1 element(s), 4 attribute(s)
defineddefined globallyglobally
namename PersistencePolicyPersistencePolicy

XML 源XML source

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

属性详细信息Attribute details

NameName

属性Attribute ValueValue
namename NameName
typetype xs:stringxs:string
useuse 必填required

ModeMode

属性Attribute ValueValue
namename ModeMode
useuse 必填required

WriteBehindWriteBehind

属性Attribute ValueValue
namename WriteBehindWriteBehind
typetype xs:stringxs:string
useuse 必填required

提供程序Provider

属性Attribute ValueValue
namename 提供程序Provider
typetype xs:stringxs:string
useuse 必填required

Content 元素详细信息Content element details

属性Properties

属性Attribute ValueValue
namename 属性Properties
typetype ServiceTypeExtensionPolicyPropertiesTypeServiceTypeExtensionPolicyPropertiesType
minOccursminOccurs 00

PlacementConstraints 元素PlacementConstraints element

用于控制服务可在群集中的哪些节点上运行。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. 例如 "(FirmwareVersion>12 && InDMZ == True)"。For example, "(FirmwareVersion>12 && InDMZ == True)".

属性Attribute ValueValue
typetype xs:stringxs:string
内容content 0 个元素,0 个属性0 element(s), 0 attribute(s)
defineddefined ServiceType complexTypeServiceTypeType complexTypeServiceGroupTypeType complexType 本地locally in ServiceType complexType, ServiceTypeType complexType, ServiceGroupTypeType complexType
namename PlacementConstraintsPlacementConstraints
minOccursminOccurs 00

XML 源XML source

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

PlacementProperties 元素PlacementProperties element

描述要用作放置约束的此 NodeType 的属性Describe the properties for this NodeType that will be used as placement constraints

属性Attribute ValueValue
typetype 匿名的 complexTypeanonymous complexType
内容content 1 个元素,0 个属性1 element(s), 0 attribute(s)
defineddefined 在 NodeType 元素本地locally in NodeType element
namename PlacementPropertiesPlacementProperties
minOccursminOccurs 00

XML 源XML source

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

Content 元素详细信息Content element details

属性Property

属性Attribute ValueValue
namename 属性Property
typetype KeyValuePairTypeKeyValuePairType
minOccursminOccurs 00
maxOccursmaxOccurs unboundedunbounded

Policies 元素(类型 ApplicationPoliciesType)Policies element (type ApplicationPoliciesType)

描述要在应用程序级别应用的策略(日志集合、默认运行方式帐户、运行状况和安全访问)。Describes the policies (log collection, default run-as, health, and security access) to be applied at the application level.

属性Attribute ValueValue
typetype ApplicationPoliciesTypeApplicationPoliciesType
内容content 0 个元素,0 个属性0 element(s), 0 attribute(s)
defineddefined ApplicationManifestType complexTypeEnvironmentType complexType 本地locally in ApplicationManifestType complexType, EnvironmentType complexType
namename 策略Policies
minOccursminOccurs 00

XML 源XML source

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

Policies 元素(类型 ServiceManifestImportPoliciesType)Policies element (type ServiceManifestImportPoliciesType)

描述要在导入的服务清单中应用的策略(终结点绑定、包共享、运行方式和安全访问权限)。Describes policies (end-point binding, package sharing, run-as, and security access) to be applied on the imported service manifest.

属性Attribute ValueValue
typetype ServiceManifestImportPoliciesTypeServiceManifestImportPoliciesType
内容content 0 个元素,0 个属性0 element(s), 0 attribute(s)
defineddefined 在 ServiceManifestImport 元素本地locally in ServiceManifestImport element
namename 策略Policies
minOccursminOccurs 00

XML 源XML source

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

PortBinding 元素PortBinding element

指定要绑定容器公开的端口的终结点资源。Specifies which endpoint resource to bind container exposed port.

属性Attribute ValueValue
typetype PortBindingTypePortBindingType
内容content 0 个元素,0 个属性0 element(s), 0 attribute(s)
defineddefined ServicePackageContainerPolicyType complexTypeContainerHostPoliciesType complexType 本地locally in ServicePackageContainerPolicyType complexType, ContainerHostPoliciesType complexType
namename PortBindingPortBinding
minOccursminOccurs 00
maxOccursmaxOccurs unboundedunbounded

XML 源XML source

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

Principals 元素Principals element

描述此应用程序运行服务和安全资源所需的安全主体(用户、组)。Describes the security principals (users, groups) required for this application to run services and secure resources. 主体在 policies 节中引用。Principals are referenced in the policies sections.

属性Attribute ValueValue
typetype SecurityPrincipalsTypeSecurityPrincipalsType
内容content 0 个元素,0 个属性0 element(s), 0 attribute(s)
defineddefined ApplicationManifestType complexTypeEnvironmentType complexType 本地locally in ApplicationManifestType complexType, EnvironmentType complexType
namename PrincipalsPrincipals
minOccursminOccurs 00

XML 源XML source

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

Program 元素Program element

可执行文件名称。The executable name. 例如,“MySetup.bat”或“MyServiceHost.exe”。For example, "MySetup.bat" or "MyServiceHost.exe".

属性Attribute ValueValue
typetype xs:stringxs:string
内容content 0 个元素,0 个属性0 element(s), 0 attribute(s)
defineddefined ExeHostEntryPointType complexType 本地locally in ExeHostEntryPointType complexType
namename 节目Program

XML 源XML source

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

Properties 元素Properties element

定义持久性和逐出策略的属性。Defines Properties for the Persistence and Eviction policies.

属性Attribute ValueValue
typetype ServiceTypeExtensionPolicyPropertiesTypeServiceTypeExtensionPolicyPropertiesType
内容content 0 个元素,0 个属性0 element(s), 0 attribute(s)
defineddefined 在 PersistencePolicy 元素、EvictionPolicy 元素本地locally in PersistencePolicy element, EvictionPolicy element
namename 属性Properties
minOccursminOccurs 00

XML 源XML source

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

Property 元素(类型 KeyValuePairType)Property element (type KeyValuePairType)

属性Attribute ValueValue
typetype KeyValuePairTypeKeyValuePairType
内容content 0 个元素,0 个属性0 element(s), 0 attribute(s)
defineddefined 在 PlacementProperties 元素本地locally in PlacementProperties element
namename 属性Property
minOccursminOccurs 00
maxOccursmaxOccurs unboundedunbounded

XML 源XML source

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

Property 元素(在 ServiceTypeExtensionPolicyPropertiesType 中定义)Property element (defined in ServiceTypeExtensionPolicyPropertiesType)

属性Attribute ValueValue
typetype 匿名的 complexTypeanonymous complexType
内容content 0 个元素,2 个属性0 element(s), 2 attribute(s)
defineddefined ServiceTypeExtensionPolicyPropertiesType complexType 本地locally in ServiceTypeExtensionPolicyPropertiesType complexType
namename 属性Property
minOccursminOccurs 00
maxOccursmaxOccurs unboundedunbounded

XML 源XML source

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

属性详细信息Attribute details

NameName

属性Attribute ValueValue
namename NameName
typetype xs:stringxs:string
useuse 必填required

ValueValue

属性Attribute ValueValue
namename ValueValue
typetype xs:stringxs:string
useuse 必填required

ProviderGuid 元素ProviderGuid element

属性Attribute ValueValue
typetype 匿名的 complexTypeanonymous complexType
内容content 0 个元素,1 个属性0 element(s), 1 attribute(s)
defineddefined 在 ProviderGuids 元素本地locally in ProviderGuids element
namename ProviderGuidProviderGuid
minOccursminOccurs 00
maxOccursmaxOccurs unboundedunbounded

XML 源XML source

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

属性详细信息Attribute details

ValueValue

属性Attribute ValueValue
namename ValueValue
useuse 必填required

ProviderGuids 元素ProviderGuids element

列出此服务清单的组件的 ETW 提供程序 GUID。Lists the ETW provider GUIDs for the components of this service manifest.

属性Attribute ValueValue
typetype 匿名的 complexTypeanonymous complexType
内容content 1 个元素,0 个属性1 element(s), 0 attribute(s)
defineddefined 在 ETW 元素本地locally in ETW element
namename ProviderGuidsProviderGuids
minOccursminOccurs 00

XML 源XML source

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

Content 元素详细信息Content element details

ProviderGuidProviderGuid

属性Attribute ValueValue
namename ProviderGuidProviderGuid
minOccursminOccurs 00
maxOccursmaxOccurs unboundedunbounded

RepairManagerReplicatorEndpoint 元素RepairManagerReplicatorEndpoint element

属性Attribute ValueValue
typetype InternalEndpointTypeInternalEndpointType
内容content 0 个元素,0 个属性0 element(s), 0 attribute(s)
defineddefined FabricEndpointsType complexType 本地locally in FabricEndpointsType complexType
namename RepairManagerReplicatorEndpointRepairManagerReplicatorEndpoint
minOccursminOccurs 00

XML 源XML source

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

RepositoryCredentials 元素RepositoryCredentials element

要从中提取映像的容器映像存储库的凭据。Credentials for container image repository to pull images from.

属性Attribute ValueValue
typetype RepositoryCredentialsTypeRepositoryCredentialsType
内容content 0 个元素,0 个属性0 element(s), 0 attribute(s)
defineddefined ContainerHostPoliciesType complexType 本地locally in ContainerHostPoliciesType complexType
namename RepositoryCredentialsRepositoryCredentials
minOccursminOccurs 00
maxOccursmaxOccurs 11

XML 源XML source

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

ResourceGovernancePolicy 元素ResourceGovernancePolicy element

指定代码包的资源限制。Specifies resource limits for a codepackage.

属性Attribute ValueValue
typetype ResourceGovernancePolicyTypeResourceGovernancePolicyType
内容content 0 个元素,0 个属性0 element(s), 0 attribute(s)
defineddefined ServiceManifestImportPoliciesType complexType、DigestedCodePackage 元素、DigestedEndpoint 元素本地locally in ServiceManifestImportPoliciesType complexType, DigestedCodePackage element, DigestedEndpoint element
namename ResourceGovernancePolicyResourceGovernancePolicy
minOccursminOccurs 00

XML 源XML source

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

ResourceOverrides 元素ResourceOverrides element

指定在服务清单资源中声明的终结点的资源重写。Specifies resource overrides for endpoints declared in service manifest resources.

属性Attribute ValueValue
typetype ResourceOverridesTypeResourceOverridesType
内容content 0 个元素,0 个属性0 element(s), 0 attribute(s)
defineddefined 在 ServiceManifestImport 元素本地locally in ServiceManifestImport element
namename ResourceOverridesResourceOverrides
minOccursminOccurs 00

XML 源XML source

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

Resources 元素Resources element

描述此服务使用的资源,可以在不修改已编译代码的情况下声明,并可以在部署服务时更改。Describes the resources used by this service, which can be declared without modifying compiled code and changed when the service is deployed. 通过应用程序清单的 Principals 和 Policies 节控制对这些资源的访问。Access to these resources is controlled through the Principals and Policies sections of the application manifest.

属性Attribute ValueValue
typetype ResourcesTypeResourcesType
内容content 0 个元素,0 个属性0 element(s), 0 attribute(s)
defineddefined ServiceManifestType complexType 本地locally in ServiceManifestType complexType
namename 资源Resources
minOccursminOccurs 00

XML 源XML source

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

Role 元素(类型 AzureRoleType)Role element (type AzureRoleType)

属性Attribute ValueValue
typetype AzureRoleTypeAzureRoleType
内容content 0 个元素,0 个属性0 element(s), 0 attribute(s)
defineddefined 在 Roles 元素本地locally in Roles element
namename 角色Role
maxOccursmaxOccurs unboundedunbounded

XML 源XML source

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

Role 元素(类型 BlackbirdRoleType)Role element (type BlackbirdRoleType)

属性Attribute ValueValue
typetype BlackbirdRoleTypeBlackbirdRoleType
内容content 0 个元素,0 个属性0 element(s), 0 attribute(s)
defineddefined 在 Roles 元素本地locally in Roles element
namename 角色Role
minOccursminOccurs 11
maxOccursmaxOccurs unboundedunbounded

XML 源XML source

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

Role 元素(类型 PaaSRoleType)Role element (type PaaSRoleType)

属性Attribute ValueValue
typetype PaaSRoleTypePaaSRoleType
内容content 0 个元素,0 个属性0 element(s), 0 attribute(s)
defineddefined 在 Roles 元素本地locally in Roles element
namename 角色Role
maxOccursmaxOccurs unboundedunbounded

XML 源XML source

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

Roles 元素(在 Blackbird 中定义)Roles element (defined in Blackbird)

属性Attribute ValueValue
typetype 匿名的 complexTypeanonymous complexType
内容content 1 个元素,0 个属性1 element(s), 0 attribute(s)
defineddefined 在 Blackbird 元素本地locally in Blackbird element
namename 角色Roles

XML 源XML source

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

Content 元素详细信息Content element details

角色Role

属性Attribute ValueValue
namename 角色Role
typetype BlackbirdRoleTypeBlackbirdRoleType
minOccursminOccurs 11
maxOccursmaxOccurs unboundedunbounded

Roles 元素(在 PaaS 中定义)Roles element (defined in PaaS)

属性Attribute ValueValue
typetype 匿名的 complexTypeanonymous complexType
内容content 1 个元素,0 个属性1 element(s), 0 attribute(s)
defineddefined 在 PaaS 元素本地locally in PaaS element
namename 角色Roles

XML 源XML source

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

Content 元素详细信息Content element details

角色Role

属性Attribute ValueValue
namename 角色Role
typetype PaaSRoleTypePaaSRoleType
maxOccursmaxOccurs unboundedunbounded

Roles 元素(在 WindowsAzure 中定义)Roles element (defined in WindowsAzure)

属性Attribute ValueValue
typetype 匿名的 complexTypeanonymous complexType
内容content 1 个元素,0 个属性1 element(s), 0 attribute(s)
defineddefined 在 WindowsAzure 元素本地locally in WindowsAzure element
namename 角色Roles

XML 源XML source

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

Content 元素详细信息Content element details

角色Role

属性Attribute ValueValue
namename 角色Role
typetype AzureRoleTypeAzureRoleType
maxOccursmaxOccurs unboundedunbounded

RunAsPolicy 元素RunAsPolicy element

指定运行服务代码包时所用的本地用户或本地系统帐户。Specifies the local user or local system account that a service code package will run as. 在 Azure Active Directory 是可用的 Windows Server 部署上支持域帐户。Domain accounts are supported on Windows Server deployments where Azure Active Directory is available. 默认情况下,应用程序在运行 Fabric.exe 程序的帐户之下运行。By default, applications run under the account that the Fabric.exe process runs under. 应用程序也可以以其他帐户运行,必须在 Principals 节中声明。Applications can also run as other accounts, which must be declared in the Principals section. 如果向服务应用 RunAs 策略务,而服务清单声明具有 HTTP 协议的终结点资源,则还必须指定 SecurityAccessPolicy,以确保分配给这些终结点的端口都已针对用来运行服务的 RunAs 用户帐户正确列入访问控制列表中。If you apply a RunAs policy to a service, and the service manifest declares endpoint resources with the HTTP protocol, you must also specify a SecurityAccessPolicy to ensure that ports allocated to these endpoints are correctly access-control listed for the RunAs user account that the service runs under. 对于 HTTPS 终结点,还必须定义 EndpointBindingPolicy,用于指示要返回给客户端的证书名称。For an HTTPS endpoint, you also have to define a EndpointBindingPolicy to indicate the name of the certificate to return to the client.

属性Attribute ValueValue
typetype RunAsPolicyTypeRunAsPolicyType
内容content 0 个元素,0 个属性0 element(s), 0 attribute(s)
defineddefined ServiceManifestImportPoliciesType complexType DigestedCodePackage 元素本地locally in ServiceManifestImportPoliciesType complexType, DigestedCodePackage element
namename RunAsPolicyRunAsPolicy
minOccursminOccurs 00

XML 源XML source

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

RunFrequency 元素RunFrequency element

属性Attribute ValueValue
typetype 匿名的 complexTypeanonymous complexType
内容content 0 个元素,1 个属性0 element(s), 1 attribute(s)
defineddefined 在 ExeHost 元素本地locally in ExeHost element
namename RunFrequencyRunFrequency
minOccursminOccurs 00

XML 源XML source

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

属性详细信息Attribute details

IntervalInSecondsIntervalInSeconds

属性Attribute ValueValue
namename IntervalInSecondsIntervalInSeconds
useuse 必填required

ScalingPolicy 元素ScalingPolicy element

由触发器和缩放机制组成的缩放策略说明。A scaling policy description consisting of a trigger and a mechanism for scaling.

属性Attribute ValueValue
typetype ScalingPolicyTypeScalingPolicyType
内容content 0 个元素,0 个属性0 element(s), 0 attribute(s)
defineddefined 在 ServiceScalingPolicies 元素本地locally in ServiceScalingPolicies element
namename ScalingPolicyScalingPolicy
maxOccursmaxOccurs unboundedunbounded

XML 源XML source

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

SecretsCertificate 元素SecretsCertificate element

指定证书信息。This specifies the certificate information.

属性Attribute ValueValue
typetype FabricCertificateTypeFabricCertificateType
内容content 0 个元素,0 个属性0 element(s), 0 attribute(s)
defineddefined 在 Certificates 元素、Certificates 元素、 DigestedCertificates 元素本地locally in Certificates element, Certificates element, DigestedCertificates element
namename SecretsCertificateSecretsCertificate
minOccursminOccurs 00

XML 源XML source

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

Section 元素(在 SettingsOverridesType 中定义)Section element (defined in SettingsOverridesType)

要重写的 Settings.xml 文件中的某个节。A section in the Settings.xml file to override.

属性Attribute ValueValue
typetype 匿名的 complexTypeanonymous complexType
内容content 1 个元素,1 个属性1 element(s), 1 attribute(s)
defineddefined SettingsOverridesType complexType 本地locally in SettingsOverridesType complexType
namename 部分Section
maxOccursmaxOccurs unboundedunbounded

XML 源XML source

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

属性详细信息Attribute details

NameName

Settings.xml 文件中要重写的节的名称。The name of the section in the Settings.xml file to override.

属性Attribute ValueValue
namename NameName
useuse 必填required

Content 元素详细信息Content element details

参数Parameter

要重写的设置。The setting to override.

属性Attribute ValueValue
namename 参数Parameter
minOccursminOccurs 00
maxOccursmaxOccurs unboundedunbounded

Section 元素(在 SettingsType 中定义)Section element (defined in SettingsType)

用户定义的命名节。A user-defined named section.

属性Attribute ValueValue
typetype 匿名的 complexTypeanonymous complexType
内容content 1 个元素,1 个属性1 element(s), 1 attribute(s)
defineddefined SettingsType complexType 本地locally in SettingsType complexType
namename 部分Section
minOccursminOccurs 00
maxOccursmaxOccurs unboundedunbounded

XML 源XML source

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

属性详细信息Attribute details

NameName

属性Attribute ValueValue
namename NameName
typetype xs:stringxs:string
useuse 必填required

Content 元素详细信息Content element details

参数Parameter

属性Attribute ValueValue
namename 参数Parameter
minOccursminOccurs 00
maxOccursmaxOccurs unboundedunbounded

SecurityAccessPolicies 元素SecurityAccessPolicies element

在应用程序级别应用到资源的安全策略列表。List of security policies applied to resources at the application level.

属性Attribute ValueValue
typetype 匿名的 complexTypeanonymous complexType
内容content 1 个元素,0 个属性1 element(s), 0 attribute(s)
defineddefined ApplicationPoliciesType complexType 本地locally in ApplicationPoliciesType complexType
namename SecurityAccessPoliciesSecurityAccessPolicies
minOccursminOccurs 00

XML 源XML source

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

Content 元素详细信息Content element details

SecurityAccessPolicySecurityAccessPolicy

属性Attribute ValueValue
namename SecurityAccessPolicySecurityAccessPolicy
typetype SecurityAccessPolicyTypeSecurityAccessPolicyType

SecurityAccessPolicy 元素SecurityAccessPolicy element

向服务清单中定义的资源(例如终结点)上的主体授予访问权限。Grants access permissions to a principal on a resource (such as an endpoint) defined in a service manifest. 通常,它非常有助于控制和限制服务对不同资源的访问,以尽量降低安全风险。Typically, it is very useful to control and restrict access of services to different resources in order to minimize security risks. 从市场中由不同开发人员开发的服务集合构建应用程序时,此属性尤其重要。This is especially important when the application is built from a collection of services from a marketplace which are developed by different developers.

属性Attribute ValueValue
typetype SecurityAccessPolicyTypeSecurityAccessPolicyType
内容content 0 个元素,0 个属性0 element(s), 0 attribute(s)
defineddefined ServiceManifestImportPoliciesType complexType、SecurityAccessPolicies 元素、DigestedEndpoint 元素本地locally in ServiceManifestImportPoliciesType complexType, SecurityAccessPolicies element, DigestedEndpoint element
namename SecurityAccessPolicySecurityAccessPolicy
minOccursminOccurs 00

XML 源XML source

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

SecurityOption 元素SecurityOption element

指定容器的安全选项。Specifies securityoptions for the container.

属性Attribute ValueValue
typetype SecurityOptionsTypeSecurityOptionsType
内容content 0 个元素,0 个属性0 element(s), 0 attribute(s)
defineddefined ContainerHostPoliciesType complexType 本地locally in ContainerHostPoliciesType complexType
namename SecurityOptionSecurityOption
minOccursminOccurs 00
maxOccursmaxOccurs unboundedunbounded

XML 源XML source

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

ServerCertificate 元素ServerCertificate element

用于保护群集内部通信的证书。The certificate used to secure the intra cluster communication.

属性Attribute ValueValue
typetype FabricCertificateTypeFabricCertificateType
内容content 0 个元素,0 个属性0 element(s), 0 attribute(s)
defineddefined CertificatesType complexType 本地locally in CertificatesType complexType
namename ServerCertificateServerCertificate
minOccursminOccurs 00

XML 源XML source

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

Service 元素Service element

声明在实例化应用程序时要自动创建的服务。Declares a service to be created automatically when the application is instantiated.

属性Attribute ValueValue
typetype 匿名的 complexTypeanonymous complexType
内容content 2 个元素,4 个属性2 element(s), 4 attribute(s)
defineddefined DefaultServicesType complexType 本地locally in DefaultServicesType complexType
namename 服务Service

XML 源XML source

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

属性详细信息Attribute details

NameName

服务名称,用于构成完全限定的应用程序名称 URI。The service name, used to form the fully qualified application name URI. 服务的完全限定名称 URI 将是:fabric:/ApplicationName/ServiceName。The fully qualified name URI of the service would be: fabric:/ApplicationName/ServiceName.

属性Attribute ValueValue
namename NameName
typetype xs:stringxs:string
useuse 必填required

GeneratedIdRefGeneratedIdRef

对自动生成的 ID 的引用,此 ID 由 Visual Studio 工具使用。Reference to the auto generated id used by Visual Studio tooling.

属性Attribute ValueValue
namename GeneratedIdRefGeneratedIdRef
typetype xs:stringxs:string
useuse 可选optional

ServiceDnsNameServiceDnsName

服务的 DNS 名称。The DNS name of the service.

属性Attribute ValueValue
namename ServiceDnsNameServiceDnsName
typetype xs:stringxs:string
useuse 可选optional

ServicePackageActivationModeServicePackageActivationMode

创建服务时要使用的 ServicePackageActivationMode。ServicePackageActivationMode to be used when creating the service. 允许的值为“SharedProcess”和“ExclusiveProcess”。Allowed values are 'SharedProcess' and 'ExclusiveProcess'. 使用 SharedProcess 模式时,来自不同服务分区的副本或实例在节点上共享相同的服务包激活。With SharedProcess mode, replica(s) or instance(s) from different partition(s) of service will share same activation of service package on a node. 使用 ExclusiveProcess 模式时,每个服务副本或实例都拥有自己专用的服务包激活。With ExclusiveProcess mode, each replica or instance of service will have its own dedicated activation of service package.

属性Attribute ValueValue
namename ServicePackageActivationModeServicePackageActivationMode
typetype xs:stringxs:string
useuse 可选optional
默认值default SharedProcessSharedProcess

Content 元素详细信息Content element details

StatelessServiceStatelessService

属性Attribute ValueValue
namename StatelessServiceStatelessService
typetype StatelessServiceTypeStatelessServiceType

StatefulServiceStatefulService

属性Attribute ValueValue
namename StatefulServiceStatefulService
typetype StatefulServiceTypeStatefulServiceType

ServiceConnectionEndpoint 元素ServiceConnectionEndpoint element

属性Attribute ValueValue
typetype InternalEndpointTypeInternalEndpointType
内容content 0 个元素,0 个属性0 element(s), 0 attribute(s)
defineddefined FabricEndpointsType complexType 本地locally in FabricEndpointsType complexType
namename ServiceConnectionEndpointServiceConnectionEndpoint
minOccursminOccurs 00

XML 源XML source

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

ServiceCorrelation 元素ServiceCorrelation element

定义与另一个服务之间的关联关系。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.

属性Attribute ValueValue
typetype 匿名的 complexTypeanonymous complexType
内容content 0 个元素,2 个属性0 element(s), 2 attribute(s)
defineddefined 在 ServiceCorrelations 元素本地locally in ServiceCorrelations element
namename ServiceCorrelationServiceCorrelation
maxOccursmaxOccurs unboundedunbounded

XML 源XML source

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

属性详细信息Attribute details

ServiceNameServiceName

另一服务的名称,以 URI 形式提供。The name of the other service as a URI. 例如“fabric:/otherApplication/parentService”。Example, "fabric:/otherApplication/parentService".

属性Attribute ValueValue
namename ServiceNameServiceName
useuse 必填required

方案Scheme

在 NonAlignedAffinity 下,不同服务的副本或实例放在同一个节点上。In NonAlignedAffinity the replicas or instances of the different services are placed on the same nodes. AlignedAffinity 适用于有状态服务。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.

属性Attribute ValueValue
namename 方案Scheme
useuse 必填required

ServiceCorrelations 元素ServiceCorrelations element

定义服务之间的关联关系。Defines affinity relationships between services.

属性Attribute ValueValue
typetype 匿名的 complexTypeanonymous complexType
内容content 1 个元素,0 个属性1 element(s), 0 attribute(s)
defineddefined ServiceType complexType 本地locally in ServiceType complexType
namename ServiceCorrelationsServiceCorrelations
minOccursminOccurs 00

XML 源XML source

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

Content 元素详细信息Content element details

ServiceCorrelationServiceCorrelation

定义与另一个服务之间的关联关系。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.

属性Attribute ValueValue
namename ServiceCorrelationServiceCorrelation
maxOccursmaxOccurs unboundedunbounded

ServiceFabricRuntimeAccessPolicy 元素ServiceFabricRuntimeAccessPolicy element

指定用于确定如何向副本公开 Service Fabric 运行时的策略。Specifies policies that determine how the service fabric runtime is exposed to the replicas.

属性Attribute ValueValue
typetype ServiceFabricRuntimeAccessPolicyTypeServiceFabricRuntimeAccessPolicyType
内容content 0 个元素,0 个属性0 element(s), 0 attribute(s)
defineddefined ServiceManifestImportPoliciesType complexTypeServicePackageType complexType 本地locally in ServiceManifestImportPoliciesType complexType, ServicePackageType complexType
namename ServiceFabricRuntimeAccessPolicyServiceFabricRuntimeAccessPolicy
minOccursminOccurs 00
maxOccursmaxOccurs 11

XML 源XML source

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

ServiceGroup 元素ServiceGroup element

自动放置在一起的服务集合,因此在故障转移或资源管理过程中它们也会一起移动。A collection of services that are automatically located together, so they are also moved together during fail-over or resource management.

属性Attribute ValueValue
typetype 匿名的 complexTypeanonymous complexType
内容content 2 个元素,2 个属性2 element(s), 2 attribute(s)
defineddefined DefaultServicesType complexType 本地locally in DefaultServicesType complexType
namename ServiceGroupServiceGroup

XML 源XML source

<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fa