服務模型 XML 架構複雜類型

AppInstanceDefinitionType complexType

屬性
content 1 個元素(s),1 個屬性(s)
已定義的 全球
NAME AppInstanceDefinitionType

XML 來源

<xs:complexType xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="AppInstanceDefinitionType">
    <xs:sequence>
      <xs:element 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>
    </xs:sequence>
    <xs:attribute name="Name" type="xs:string" use="required">
      <xs:annotation>
        <xs:documentation>Name of the application to be created.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
  </xs:complexType>


屬性詳細數據

名稱

要建立的應用程式名稱。

屬性
NAME 名稱
type xs:string
use 必要

內容專案詳細數據

參數

應用程式的參數清單,如應用程式指令清單及其各自的值所定義。

屬性
NAME 參數

ApplicationHealthPolicyType complexType

描述評估報告於各種應用程式相關實體之健康情況事件的原則。 如果未指定任何原則,如果健康情況報告是警告或錯誤,則會假設實體狀況不良。

屬性
content 2 個元素,2 個屬性(秒)
已定義的 全球
NAME ApplicationHealthPolicyType

XML 來源

<xs:complexType xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="ApplicationHealthPolicyType">
    <xs:annotation>
      <xs:documentation>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.</xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element 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>
      <xs:element name="ServiceTypeHealthPolicy" minOccurs="0" maxOccurs="unbounded">
        <xs:annotation>
          <xs:documentation>Describes the policy for evaluating health events reported on services, partitions and replicas of a particular service type.</xs:documentation>
        </xs:annotation>
        <xs:complexType>
          <xs:complexContent>
            <xs:extension base="ServiceTypeHealthPolicyType">
              <xs:attribute name="ServiceTypeName" type="xs:string" use="required">
                <xs:annotation>
                  <xs:documentation>The name of the service type that the policy will be applied to.</xs:documentation>
                </xs:annotation>
              </xs:attribute>
            </xs:extension>
          </xs:complexContent>
        </xs:complexType>
      </xs:element>
    </xs:sequence>
    <xs:attribute name="ConsiderWarningAsError" type="xs:string" use="optional" default="false">
      <xs:annotation>
        <xs:documentation>Specifies whether to treat warning health reports as errors during health evaluation. Default: false.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="MaxPercentUnhealthyDeployedApplications" type="xs:string" use="optional" default="0">
      <xs:annotation>
        <xs:documentation>Specifies the maximum tolerated percentage of deployed applications that can be unhealthy before the application is considered in error. This is calculated by dividing the number of unhealthy deployed applications over the number of nodes that the applications are currently deployed on in the cluster. The computation rounds up to tolerate one failure on small numbers of nodes. Default percentage: 0.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
  </xs:complexType>
  

屬性詳細數據

ConsiderWarningAsError

指定是否要在健康情況評估期間將警告健康情況報告視為錯誤。 預設:false。

屬性
NAME ConsiderWarningAsError
type xs:string
use 選用
預設值 false

MaxPercentUnhealthyDeployedApplications

指定在應用程式視為錯誤之前,可狀況不良之已部署應用程式的最大容許百分比。 這是藉由將應用程式目前部署在叢集中的節點數目除以狀況不良部署的應用程式數目來計算。 計算會四捨五入以容許少數節點上的一個失敗。 默認百分比:0。

屬性
NAME MaxPercentUnhealthyDeployedApplications
type xs:string
use 選用
預設值 0

內容專案詳細數據

DefaultServiceTypeHealthPolicy

指定預設服務類型健全狀況原則,這會取代應用程式中所有服務類型的預設健全狀況原則。

屬性
NAME DefaultServiceTypeHealthPolicy
type ServiceTypeHealthPolicyType
minOccurs 0

ServiceTypeHealthPolicy

描述評估特定服務類型之服務、數據分割和複本所報告健康情況事件的原則。

屬性
NAME ServiceTypeHealthPolicy
minOccurs 0
maxOccurs 無限

ApplicationInstanceType complexType

描述 Microsoft Azure Service Fabric 應用程式的實例。

屬性
content 4 個元素,1 個屬性(秒)
已定義的 全球
NAME ApplicationInstanceType

XML 來源

<xs:complexType xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="ApplicationInstanceType">
    <xs:annotation>
      <xs:documentation>Describes an instance of a Microsoft Azure Service Fabric application.</xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="ApplicationPackageRef">
        <xs:complexType>
          <xs:attributeGroup ref="VersionedItemAttrGroup"/>
        </xs:complexType>
      </xs:element>
      <xs:element name="ServicePackageRef" maxOccurs="unbounded">
        <xs:complexType>
          <xs:attribute name="Name" use="required"/>
          <xs:attributeGroup ref="VersionedItemAttrGroup"/>
        </xs:complexType>
      </xs:element>
      <xs:element name="ServiceTemplates" type="ServiceTemplatesType"/>
      <xs:element name="DefaultServices" type="DefaultServicesType"/>
    </xs:sequence>
    <xs:attribute name="Version" type="xs:int" use="required">
      <xs:annotation>
        <xs:documentation>The version of the ApplicationInstance document.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attributeGroup ref="ApplicationInstanceAttrGroup"/>
    <xs:attributeGroup ref="ApplicationManifestAttrGroup"/>
  </xs:complexType>
  

屬性詳細數據

版本

ApplicationInstance 檔的版本。

屬性
NAME 版本
type xs:int
use 必要

內容專案詳細數據

ApplicationPackageRef

屬性
NAME ApplicationPackageRef

ServicePackageRef

屬性
NAME ServicePackageRef
maxOccurs 無限

ServiceTemplates

屬性
NAME ServiceTemplates
type ServiceTemplatesType

DefaultServices

屬性
NAME DefaultServices
type DefaultServicesType

ApplicationManifestType complexType

以宣告方式描述應用程式類型和版本。 參考組成服務的一或多個服務指令清單來撰寫應用程式類型。 您可以使用參數化應用程式設定來覆寫組成服務的組態設定。 默認服務、服務範本、主體、原則、診斷設定和憑證也可以在應用層級宣告。

屬性
content 9 個元素,0 個屬性(秒)
已定義的 全球
NAME ApplicationManifestType

XML 來源

<xs:complexType xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="ApplicationManifestType">
    <xs:annotation>
      <xs:documentation>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.</xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="Description" type="xs:string" minOccurs="0">
        <xs:annotation>
          <xs:documentation>Text describing this application.</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element 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>
      <xs:element name="ServiceManifestImport" maxOccurs="unbounded">
        <xs:annotation>
          <xs:documentation>Imports a service manifest created by the service developer. A service manifest must be imported for each constituent service in the application. Configuration overrides and policies can be declared for the service manifest.</xs:documentation>
        </xs:annotation>
        <xs:complexType>
          <xs:sequence>
            <xs:element name="ServiceManifestRef" type="ServiceManifestRefType"/>
            <xs:element name="ConfigOverrides" minOccurs="0">
              <xs:annotation>
                <xs:documentation>Describes configuration overrides for the imported service manifest. Configuration overrides allow the flexibility of re-using the same service manifests across multiple application types by overriding the service manifest's configuration only when used with a particular application type. Configuration overrides can change any default configuration in a service manifest as long as default configuration is defined using the Settings.xml in the ConfigPackage folder. </xs:documentation>
              </xs:annotation>
              <xs:complexType>
                <xs:sequence>
                  <xs:element name="ConfigOverride" type="ConfigOverrideType" minOccurs="0" maxOccurs="unbounded"/>
                </xs:sequence>
              </xs:complexType>
            </xs:element>
            <xs:element name="ResourceOverrides" type="ResourceOverridesType" minOccurs="0"/>
            <xs:element name="EnvironmentOverrides" type="EnvironmentOverridesType" minOccurs="0" maxOccurs="unbounded"/>
            <xs:element name="Policies" type="ServiceManifestImportPoliciesType" minOccurs="0"/>
          </xs:sequence>
        </xs:complexType>
      </xs:element>
      <xs:element name="ServiceTemplates" type="ServiceTemplatesType" minOccurs="0">
        <xs:annotation>
          <xs:documentation>Declares the set of permitted service types that can be created dynamically inside the application instance. Default configuration values, such as replication factor, are specified and used as a template for creating service instances.</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="DefaultServices" type="DefaultServicesType" minOccurs="0">

      </xs:element>
      <xs:element name="Principals" type="SecurityPrincipalsType" minOccurs="0"/>
      <xs:element name="Policies" type="ApplicationPoliciesType" minOccurs="0"/>
      <xs:element name="Diagnostics" type="DiagnosticsType" minOccurs="0"/>
      <xs:element 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>
    </xs:sequence>
    <xs:attributeGroup ref="ApplicationManifestAttrGroup"/>

  </xs:complexType>
  

內容專案詳細數據

描述

描述此應用程式的文字。

屬性
NAME 描述
type xs:string
minOccurs 0

參數

宣告此應用程式指令清單中使用的參數。 當應用程式具現化時,可以提供這些參數的值,並可用來覆寫應用程式或服務組態設定。

屬性
NAME 參數
minOccurs 0

ServiceManifestImport

匯入服務開發人員所建立的服務指令清單。 應用程式中的每個組成服務都必須匯入服務指令清單。 您可以針對服務指令清單宣告組態覆寫和原則。

屬性
NAME ServiceManifestImport
maxOccurs 無限

ServiceTemplates

宣告可在應用程式實例內動態建立的一組允許的服務類型。 默認組態值,例如復寫因數,會指定並做為建立服務實例的範本。

屬性
NAME ServiceTemplates
type ServiceTemplatesType
minOccurs 0

DefaultServices

屬性
NAME DefaultServices
type DefaultServicesType
minOccurs 0

Principals

屬性
NAME Principals
type SecurityPrincipalsType
minOccurs 0

原則

屬性
NAME 原則
type ApplicationPoliciesType
minOccurs 0

診斷

屬性
NAME 診斷
type DiagnosticsType
minOccurs 0

憑證

宣告用來保護端點或加密應用程式指令清單或叢集指令清單內秘密的憑證。

屬性
NAME 憑證
minOccurs 0

ApplicationPackageType complexType

ApplicationPackage 代表節點所需的已建立版本應用程式資訊。

屬性
content 2 個元素,2 個屬性(秒)
已定義的 全球
NAME ApplicationPackageType

XML 來源

<xs:complexType xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="ApplicationPackageType">
    <xs:annotation>
      <xs:documentation>ApplicationPackage represents the versioned Application information required by the node.</xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="DigestedEnvironment" type="EnvironmentType"/>
      <xs:element 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>
    </xs:sequence>
    <xs:attribute name="ApplicationTypeName" type="xs:string" use="required">
      <xs:annotation>
        <xs:documentation>Type identifier for this application.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attributeGroup ref="VersionedItemAttrGroup"/>
    <xs:attributeGroup ref="ApplicationInstanceAttrGroup"/>
    <xs:attribute name="ContentChecksum" type="xs:string">
      <xs:annotation>
        <xs:documentation>Checksum value of this ApplicationPackage content</xs:documentation>
      </xs:annotation>
    </xs:attribute>
  </xs:complexType>
  

屬性詳細數據

ApplicationTypeName

這個應用程式的類型識別碼。

屬性
NAME ApplicationTypeName
type xs:string
use 必要

ContentChecksum

此 ApplicationPackage 內容的總和檢查碼值

屬性
NAME ContentChecksum
type xs:string

內容專案詳細數據

DigestedEnvironment

屬性
NAME DigestedEnvironment
type EnvironmentType

DigestedCertificates

屬性
NAME DigestedCertificates

ApplicationPoliciesType complexType

描述要套用在應用層級的原則(記錄收集、預設執行身分、健康情況和安全性存取)。

屬性
content 4 個元素(s),0 個屬性(秒)
已定義的 全球
NAME ApplicationPoliciesType

XML 來源

<xs:complexType xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="ApplicationPoliciesType">
                <xs:annotation>
                        <xs:documentation>Describes the policies (log collection, default run-as, health, and security access) to be applied at the application level.</xs:documentation>
                </xs:annotation>
                <xs:all>
                        <xs:element 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>
                        <xs:element 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>
                        <xs:element name="HealthPolicy" type="ApplicationHealthPolicyType" minOccurs="0"/>
                        <xs:element 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>
                </xs:all>
        </xs:complexType>
        

內容專案詳細數據

LogCollectionPolicies

指定是否啟用記錄收集。 僅適用於 Azure 叢集環境

屬性
NAME LogCollectionPolicies
minOccurs 0

DefaultRunAsPolicy

針對 ServiceManifestImport 區段中未定義特定 RunAsPolicy 的所有服務程式代碼套件指定預設使用者帳戶。

屬性
NAME DefaultRunAsPolicy
minOccurs 0

HealthPolicy

屬性
NAME HealthPolicy
type ApplicationHealthPolicyType
minOccurs 0

SecurityAccessPolicies

套用至應用層級資源的安全策略清單。

屬性
NAME SecurityAccessPolicies
minOccurs 0

AzureBlobETWType complexType

描述 ETW 事件的 Azure Blob 存放區目的地。 僅適用於 Azure 環境。

屬性
content 0 元素(s),0 屬性(秒)
已定義的 全球
NAME AzureBlobETWType

XML 來源

<xs:complexType xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="AzureBlobETWType">
    <xs:annotation>
      <xs:documentation>Describes an Azure blob store destination for ETW events. Works only in Azure environment.</xs:documentation>
    </xs:annotation>
    <xs:complexContent>
      <xs:extension base="AzureBlobType">
        <xs:attributeGroup ref="LevelFilter"/>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  

AzureBlobType complexType

描述診斷數據的 Azure Blob 存放區目的地。 僅適用於 Azure 叢集環境。

屬性
content 0 元素(s),0 屬性(秒)
已定義的 全球
NAME AzureBlobType

XML 來源

<xs:complexType xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="AzureBlobType">
    <xs:annotation>
      <xs:documentation>Describes an Azure blob store destination for diagnostics data. Works only in Azure cluster environment.</xs:documentation>
    </xs:annotation>
    <xs:complexContent>
      <xs:extension base="AzureStoreBaseType">
        <xs:attributeGroup ref="ContainerName"/>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  

AzureRoleType complexType

屬性
content 0 元素(s),3 個屬性(秒)
已定義的 全球
NAME AzureRoleType

XML 來源

<xs:complexType xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="AzureRoleType">
    <xs:attribute name="RoleName" type="xs:string" use="required"/>
    <xs:attribute name="NodeTypeRef" type="xs:string" use="required"/>
    <xs:attribute name="SeedNodeCount" type="xs:int" use="optional" default="0"/>
  </xs:complexType>
  

屬性詳細數據

RoleName

屬性
NAME RoleName
type xs:string
use 必要

NodeTypeRef

屬性
NAME NodeTypeRef
type xs:string
use 必要

SeedNodeCount

屬性
NAME SeedNodeCount
type xs:int
use 選用
預設值 0

AzureStoreBaseType complexType

描述 Azure 記憶體帳戶中的診斷存放區。

屬性
content 1 個元素(s),1 個屬性(s)
已定義的 全球
NAME AzureStoreBaseType

XML 來源

<xs:complexType xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="AzureStoreBaseType">
    <xs:annotation>
      <xs:documentation>Describes a diagnostic store in an Azure storage account.</xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element ref="Parameters" minOccurs="0"/>
    </xs:sequence>
    <xs:attributeGroup ref="IsEnabled"/>
    <xs:attributeGroup ref="ConnectionString"/>
    <xs:attribute name="ConnectionStringIsEncrypted" type="xs:string" use="required"/>
    <xs:attributeGroup ref="UploadIntervalInMinutes"/>
    <xs:attributeGroup ref="DataDeletionAgeInDays"/>
  </xs:complexType>
  

屬性詳細數據

連線 ionStringIsEncrypted

屬性
NAME 連線 ionStringIsEncrypted
type xs:string
use 必要

內容專案詳細數據

屬性
ref 參數
minOccurs 0

BlackbirdRoleType complexType

屬性
content 0 元素(s),4 個屬性(秒)
已定義的 全球
NAME BlackbirdRoleType

XML 來源

<xs:complexType xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="BlackbirdRoleType">
    <xs:attribute name="EnvironmentName" type="xs:string" use="required"/>
    <xs:attribute name="RoleName" type="xs:string" use="required"/>
    <xs:attribute name="NodeTypeRef" type="xs:string" use="required"/>
    <xs:attribute name="IsSeedNode" type="xs:boolean" use="optional" default="0"/>
  </xs:complexType>
  

屬性詳細數據

EnvironmentName

屬性
NAME EnvironmentName
type xs:string
use 必要

RoleName

屬性
NAME RoleName
type xs:string
use 必要

NodeTypeRef

屬性
NAME NodeTypeRef
type xs:string
use 必要

IsSeedNode

屬性
NAME IsSeedNode
type xs:boolean
use 選用
預設值 0

CertificatesType complexType

屬性
content 4 個元素(s),0 個屬性(秒)
已定義的 全球
NAME CertificatesType

XML 來源

<xs:complexType xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="CertificatesType">
    <xs:all>
      <xs:element 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>
      <xs:element 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>
      <xs:element 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>
      <xs:element name="UserRoleClientCertificate" type="FabricCertificateType" minOccurs="0">
        <xs:annotation>
          <xs:documentation>The default user role client certificate used to secure client server communication.</xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:all>
  </xs:complexType>
  

內容專案詳細數據

ClusterCertificate

用來保護叢集內部通訊的憑證。

屬性
NAME ClusterCertificate
type FabricCertificateType
minOccurs 0

ServerCertificate

用來保護叢集內部通訊的憑證。

屬性
NAME ServerCertificate
type FabricCertificateType
minOccurs 0

ClientCertificate

用來保護用戶端伺服器通訊的預設管理員角色客戶端憑證。

屬性
NAME ClientCertificate
type FabricCertificateType
minOccurs 0

UserRoleClientCertificate

用來保護用戶端伺服器通訊的預設使用者角色客戶端憑證。

屬性
NAME UserRoleClientCertificate
type FabricCertificateType
minOccurs 0

ClusterManifestType complexType

描述 Microsoft Azure Service Fabric 叢集。

屬性
content 4 個元素(s),3 個屬性(秒)
已定義的 全球
NAME ClusterManifestType

XML 來源

<xs:complexType xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="ClusterManifestType">
                <xs:annotation>
                        <xs:documentation>Describes a Microsoft Azure Service Fabric Cluster.</xs:documentation>
                </xs:annotation>
                <xs:all>
                        <xs:element 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>
                        <xs:element 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>
                        <xs:element name="FabricSettings" type="SettingsOverridesType" minOccurs="0"/>
                        <xs:element name="Certificates" minOccurs="0">
                                <xs:complexType>
                                        <xs:sequence>
                                                <xs:element name="SecretsCertificate" type="FabricCertificateType" minOccurs="0"/>
                                        </xs:sequence>
                                </xs:complexType>
                        </xs:element>
                </xs:all>
                <xs:attribute name="Name" use="required">
                        <xs:annotation>
                                <xs:documentation>Name of the Cluster.</xs:documentation>
                        </xs:annotation>
                </xs:attribute>
                <xs:attribute name="Version" use="required">
                        <xs:annotation>
                                <xs:documentation>User-defined version string for the cluster manifest document.</xs:documentation>
                        </xs:annotation>
                </xs:attribute>
                <xs:attribute name="Description">
                        <xs:annotation>
                                <xs:documentation>Description for the Cluster Manifest.</xs:documentation>
                        </xs:annotation>
                </xs:attribute>
        </xs:complexType>
        

屬性詳細數據

名稱

叢集的名稱。

屬性
NAME 名稱
use 必要

版本

叢集指令清單檔的使用者定義版本字串。

屬性
NAME 版本
use 必要

描述

叢集指令清單的描述。

屬性
NAME 描述

內容專案詳細數據

NodeTypes

屬性
NAME NodeTypes
minOccurs 1

基礎結構

屬性
NAME 基礎結構

網狀架構 設定

屬性
NAME 網狀架構 設定
type 設定 OverridesType
minOccurs 0

憑證

屬性
NAME 憑證
minOccurs 0

CodePackageType complexType

描述支援已定義服務類型的程式代碼套件。 當服務針對其中一個服務類型具現化時,此指令清單中宣告的所有程式代碼套件都會藉由執行其進入點來啟動。 產生的進程預期會在運行時間註冊支援的服務類型。 當有多個程式代碼套件時,每當系統尋找任何一個宣告的服務類型時,都會啟動它們。

屬性
content 3 個元素,2 個屬性(秒)
已定義的 全球
NAME CodePackageType

XML 來源

<xs:complexType xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="CodePackageType">
    <xs:annotation>
          <xs:documentation>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.</xs:documentation>
        </xs:annotation>
    <xs:sequence>
      <xs:element name="SetupEntryPoint" minOccurs="0">
        <xs:annotation>
          <xs:documentation>A privileged entry point that by default runs with the same credentials as Service Fabric (typically the NETWORKSERVICE account) before any other entry point. The executable specified by EntryPoint is typically the long-running service host. The presence of a separate setup entry point avoids having to run the service host with high privileges for extended periods of time.</xs:documentation>
        </xs:annotation>
        <xs:complexType>
          <xs:sequence>
            <xs:element name="ExeHost" type="ExeHostEntryPointType"/>
          </xs:sequence>
        </xs:complexType>
      </xs:element>
      <xs:element name="EntryPoint" type="EntryPointDescriptionType" minOccurs="1"/>
      <xs:element name="EnvironmentVariables" type="EnvironmentVariablesType" minOccurs="0" maxOccurs="1"/>
    </xs:sequence>
    <xs:attributeGroup ref="VersionedName"/>
    <xs:attribute name="IsShared" type="xs:boolean" default="false">
      <xs:annotation>
        <xs:documentation>Indicates if the contents of this code package are shared by other code packages. If true, on an upgrade of this code package, all code packages will be restarted. This attribute is currently not supported and it's value will be ignored.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="IsActivator" type="xs:boolean" default="false">
      <xs:annotation>
        <xs:documentation>This attribute is for internal use only.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
  </xs:complexType>
  

屬性詳細數據

IsShared

指出此程式代碼套件的內容是否由其他程式碼套件共用。 如果為 true,在升級此程式碼套件時,將會重新啟動所有程式碼套件。 目前不支援此屬性,而且會忽略其值。

屬性
NAME IsShared
type xs:boolean
預設值 false

IsActivator

此屬性僅供內部使用。

屬性
NAME IsActivator
type xs:boolean
預設值 false

內容專案詳細數據

SetupEntryPoint

根據預設,特殊許可權進入點會以與 Service Fabric 相同的認證執行(通常是 NETWORKSERVICE 帳戶),再執行任何其他進入點。 EntryPoint 指定的可執行檔通常是長時間執行的服務主機。 個別設定進入點的存在可避免長時間執行具有高許可權的服務主機。

屬性
NAME SetupEntryPoint
minOccurs 0

EntryPoint

屬性
NAME EntryPoint
type EntryPointDescriptionType
minOccurs 1

EnvironmentVariables

屬性
NAME EnvironmentVariables
type EnvironmentVariablesType
minOccurs 0
maxOccurs 1

ConfigOverrideType complexType

描述匯入服務指令清單中特定組態套件的組態覆寫。

屬性
content 1 個元素(s),1 個屬性(s)
已定義的 全球
NAME ConfigOverrideType

XML 來源

<xs:complexType xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="ConfigOverrideType">
    <xs:annotation>
      <xs:documentation>Describes the configuration overrides for a particular config package in the imported service manifest.</xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="Settings" type="SettingsOverridesType" minOccurs="0"/>
    </xs:sequence>
    <xs:attribute name="Name" use="required">
      <xs:annotation>
        <xs:documentation>The name of the configuration package in the service manifest which contains the setting(s) to be overridden.</xs:documentation>
      </xs:annotation>
      <xs:simpleType>
        <xs:restriction base="xs:string">
          <xs:minLength value="1"/>
        </xs:restriction>
      </xs:simpleType>
    </xs:attribute>
  </xs:complexType>
  

屬性詳細數據

名稱

服務指令清單中的組態套件名稱,其中包含要覆寫的設定。

屬性
NAME 名稱
use 必要

內容專案詳細數據

設定

屬性
NAME 設定
type 設定 OverridesType
minOccurs 0

ConfigPackageDescriptionType complexType

宣告名稱屬性所命名的資料夾,其中包含 設定.xml 檔案。 此檔案包含程式可以在運行時間讀取的使用者定義索引鍵/值組設定區段。 在升級期間,如果只有 ConfigPackage 版本已變更,則不會重新啟動執行中的進程。 相反地,回呼會通知程式組態設定已變更,以便動態重載。

屬性
content 0 元素(s),4 個屬性(秒)
已定義的 全球
NAME ConfigPackageDescriptionType

XML 來源

<xs:complexType xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="ConfigPackageDescriptionType">
    <xs:annotation>
      <xs:documentation>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. 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.</xs:documentation>
    </xs:annotation>
    <xs:attribute name="Name" use="required">
      <xs:annotation>
        <xs:documentation>Name of the versioned item.</xs:documentation>
      </xs:annotation>
      <xs:simpleType>
        <xs:restriction base="xs:string">
          <xs:minLength value="1"/>
        </xs:restriction>
      </xs:simpleType>
    </xs:attribute>
    <xs:attribute name="SectionName" use="required">
      <xs:annotation>
        <xs:documentation>Section Name of the ConfigPackage Settings.xml.</xs:documentation>
      </xs:annotation>
      <xs:simpleType>
        <xs:restriction base="xs:string">
          <xs:minLength value="1"/>
        </xs:restriction>
      </xs:simpleType>
    </xs:attribute>
    <xs:attribute name="MountPoint" type="xs:string" use="optional" default=""/>
    <xs:attribute name="EnvironmentVariableName" type="xs:string" use="optional" default=""/>
  </xs:complexType>
  

屬性詳細數據

名稱

已建立版本的項目名稱。

屬性
NAME 名稱
use 必要

SectionName

ConfigPackage 設定.xml 的區段名稱。

屬性
NAME SectionName
use 必要

MountPoint

屬性
NAME MountPoint
type xs:string
use 選用
預設值

EnvironmentVariableName

屬性
NAME EnvironmentVariableName
type xs:string
use 選用
預設值

ConfigPackagePoliciesType complexType

屬性
content 1 個元素(s),1 個屬性(s)
已定義的 全球
NAME ConfigPackagePoliciesType

XML 來源

<xs:complexType xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="ConfigPackagePoliciesType">
    <xs:sequence>
      <xs:element name="ConfigPackage" type="ConfigPackageDescriptionType" minOccurs="0" maxOccurs="unbounded"/>
    </xs:sequence>
    <xs:attribute name="CodePackageRef" use="required">
      <xs:simpleType>
        <xs:restriction base="xs:string">
          <xs:minLength value="1"/>
        </xs:restriction>
      </xs:simpleType>
    </xs:attribute>
  </xs:complexType>
  

屬性詳細數據

CodePackageRef

屬性
NAME CodePackageRef
use 必要

內容專案詳細數據

ConfigPackage

屬性
NAME ConfigPackage
type ConfigPackageDescriptionType
minOccurs 0
maxOccurs 無限

ConfigPackageType complexType

在 PackageRoot 底下宣告名稱為 Name 屬性的資料夾,其中包含 設定.xml 檔案。 此檔案包含程式可以在運行時間讀取的使用者定義索引鍵/值組設定區段。 在升級期間,如果只有 ConfigPackage 版本已變更,則不會重新啟動執行中的進程。 相反地,回呼會通知程式組態設定已變更,以便動態重載。

屬性
content 0 元素(s),0 屬性(秒)
已定義的 全球
NAME ConfigPackageType

XML 來源

<xs:complexType xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="ConfigPackageType">
    <xs:annotation>
          <xs:documentation>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. 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.</xs:documentation>
        </xs:annotation>
    <xs:attributeGroup ref="VersionedName"/>
  </xs:complexType>
  

ContainerCertificateType complexType

指定要公開給容器環境之 X509 憑證的相關信息。 憑證必須安裝在所有叢集節點的LocalMachine存放區中。 當應用程式啟動時,運行時間會讀取憑證,併產生 PFX 檔案和密碼(在 Windows 上)或 PEM 檔案(在 Linux 上)。 您可以使用 Certificates_ServicePackageName_CodePackageName_CertName_PFX 和 Certificates_ServicePackageName_CodePackageName_CertName_Password 環境變數,在容器中存取 PFX 檔案和密碼。 使用 Certificates_ServicePackageName_CodePackageName_CertName_PEM和 Certificates_ServicePackageName_CodePackageName_CertName_PrivateKey 環境變數,即可在容器中存取 PEM 檔案。

屬性
content 0 元素(s),8 個屬性(秒)
已定義的 全球
NAME ContainerCertificateType

XML 來源

<xs:complexType xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="ContainerCertificateType">
    <xs:annotation>
        <xs:documentation>Specifies information about an X509 certificate which is to be exposed to the container environment. The certificate must be installed in the LocalMachine store of all the cluster nodes.
          When the application starts, the runtime reads the certificate and generates a PFX file and password (on Windows) or a PEM file (on Linux).
          The PFX file and password are accessible in the container using the Certificates_ServicePackageName_CodePackageName_CertName_PFX and
          Certificates_ServicePackageName_CodePackageName_CertName_Password environment variables. The PEM file is accessible in the container using the
          Certificates_ServicePackageName_CodePackageName_CertName_PEM and Certificates_ServicePackageName_CodePackageName_CertName_PrivateKey environment variables.</xs:documentation>
    </xs:annotation>
    <xs:attribute name="X509StoreName" type="xs:string" default="My">
        <xs:annotation>
            <xs:documentation>The store name for the X509 certificate.</xs:documentation>
        </xs:annotation>
    </xs:attribute>
    <xs:attribute name="X509FindValue" type="xs:string" use="optional">
        <xs:annotation>
            <xs:documentation>The thumbprint of the X509 certificate.</xs:documentation>
        </xs:annotation>
    </xs:attribute>
    <xs:attribute name="DataPackageRef" type="xs:string" use="optional">
      <xs:annotation>
        <xs:documentation>The name of data package that has the certificate files.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="DataPackageVersion" type="xs:string" use="optional">
      <xs:annotation>
        <xs:documentation>The version of data package that has the certificate files.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="RelativePath" type="xs:string" use="optional">
      <xs:annotation>
        <xs:documentation>The relative path to the certificate file inside data package.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="Password" type="xs:string" use="optional">
      <xs:annotation>
        <xs:documentation>Password/Private key for the certificate.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="IsPasswordEncrypted" type="xs:boolean" default="false">
        <xs:annotation>
           <xs:documentation>If true, the value of password is encrypted.</xs:documentation>
        </xs:annotation>
    </xs:attribute>
    <xs:attribute name="Name" type="xs:string" use="required">
        <xs:annotation>
            <xs:documentation>Identifier for the specific certificate information. This name is used to set the environment variable in the container.</xs:documentation>
        </xs:annotation>
    </xs:attribute>
  </xs:complexType>
  

屬性詳細數據

X509StoreName

X509 憑證的存放區名稱。

屬性
NAME X509StoreName
type xs:string
預設值 My

X509FindValue

X509 憑證的指紋。

屬性
NAME X509FindValue
type xs:string
use 選用

DataPackageRef

具有憑證檔案的數據套件名稱。

屬性
NAME DataPackageRef
type xs:string
use 選用

DataPackageVersion

具有憑證檔案的數據套件版本。

屬性
NAME DataPackageVersion
type xs:string
use 選用

RelativePath

數據封裝內憑證檔案的相對路徑。

屬性
NAME RelativePath
type xs:string
use 選用

密碼

憑證的密碼/私鑰。

屬性
NAME 密碼
type xs:string
use 選用

IsPasswordEncrypted

如果為 true,則會加密密碼的值。

屬性
NAME IsPasswordEncrypted
type xs:boolean
預設值 false

名稱

特定憑證信息的標識碼。 此名稱是用來設定容器中的環境變數。

屬性
NAME 名稱
type xs:string
use 必要

ContainerHealthConfigType complexType

指定容器的 Docker HEALTHCHECK 整合選項。

屬性
content 0 元素(s),2 個屬性(秒)
已定義的 全球
NAME ContainerHealthConfigType

XML 來源

<xs:complexType xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="ContainerHealthConfigType">
    <xs:annotation>
        <xs:documentation>Specifies docker HEALTHCHECK integration options for the container.</xs:documentation>
    </xs:annotation>
    <xs:attribute name="IncludeDockerHealthStatusInSystemHealthReport" type="xs:boolean" use="optional" default="true">
        <xs:annotation>
            <xs:documentation>If the container has HEALTHCHECK enabled and docker reports health_status event for this container, 
            Service Fabric will include this as part of system reported health. When health_status is unhealthy
            Service Fabric will report a health warning. By default it is set to true.</xs:documentation>
        </xs:annotation>
    </xs:attribute>
    <xs:attribute name="RestartContainerOnUnhealthyDockerHealthStatus" type="xs:boolean" use="optional" default="false">
        <xs:annotation>
            <xs:documentation>If the container has HEALTHCHECK enabled and docker reports health_status event for this container, 
            Service Fabric will restart the container when health_status reported by docker is unhealthy.
            By default it is set to false.</xs:documentation>
        </xs:annotation>
    </xs:attribute>
  </xs:complexType>  
  

屬性詳細數據

IncludeDockerHealthStatusInSystemHealthReport

如果容器已啟用 HEALTHCHECK,且 docker 報告health_status此容器的事件,Service Fabric 將會包含此專案做為系統回報健全狀況的一部分。 當health_status狀況不良時,Service Fabric 會回報健康情況警告。 根據預設,此屬性設定為 true。

屬性
NAME IncludeDockerHealthStatusInSystemHealthReport
type xs:boolean
use 選用
預設值 true

RestartContainerOnUnhealthyDockerHealthStatus

如果容器已啟用 HEALTHCHECK 且 docker 報告health_status此容器的事件,Service Fabric 會在 docker 回報狀況不良health_status時重新啟動容器。 根據預設,它會設定為 false。

屬性
NAME RestartContainerOnUnhealthyDockerHealthStatus
type xs:boolean
use 選用
預設值 false

ContainerHostEntryPointType complexType

屬性
content 4 個元素(s),0 個屬性(秒)
已定義的 全球
NAME ContainerHostEntryPointType

XML 來源

<xs:complexType xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="ContainerHostEntryPointType">
    <xs:sequence>
      <!--container image name-->
      <xs:element 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>
      <!--comma delimited list of commands for container-->
      <xs:element 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>
      <xs:element name="EntryPoint" type="xs:string" minOccurs="0" maxOccurs="1"/>
      <xs:element name="FromSource" type="xs:string" minOccurs="0" maxOccurs="1"/>
    </xs:sequence>
  </xs:complexType>
  

內容專案詳細數據

ImageName

或 Azure Container Registry 上的 https://hub.docker.com 存放庫和映像。

屬性
NAME ImageName
type xs:string

命令

將逗號分隔的命令清單傳遞至容器。

屬性
NAME 命令
type xs:string
minOccurs 0
maxOccurs 1

EntryPoint

屬性
NAME EntryPoint
type xs:string
minOccurs 0
maxOccurs 1

FromSource

屬性
NAME FromSource
type xs:string
minOccurs 0
maxOccurs 1

ContainerHostPoliciesType complexType

屬性
content 10 個元素,8 個屬性(秒)
已定義的 全球
NAME ContainerHostPoliciesType

XML 來源

<xs:complexType xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="ContainerHostPoliciesType">
    <xs:choice minOccurs="0" maxOccurs="unbounded">
      <xs:element 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>
      <xs:element 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>
      <xs:element name="PortBinding" type="PortBindingType" minOccurs="0" maxOccurs="unbounded">
        <xs:annotation>
          <xs:documentation>Specifies which endpoint resource to bind to the exposed container port.</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element 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>
      <xs:element 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>
        <xs:element 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>
        <xs:element name="Volume" type="ContainerVolumeType" minOccurs="0" maxOccurs="unbounded">
            <xs:annotation>
                <xs:documentation>Specifies the volume to be bound to container.</xs:documentation>
            </xs:annotation>
        </xs:element>
      <xs:element name="SecurityOption" type="SecurityOptionsType" minOccurs="0" maxOccurs="unbounded">
        <xs:annotation>
          <xs:documentation>Specifies securityoptions for the container.</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element 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>
      <xs:element name="Label" type="ContainerLabelType" minOccurs="0" maxOccurs="unbounded">
        <xs:annotation>
            <xs:documentation>Specifies the labels for the container.</xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:choice>    
    <xs:attribute name="CodePackageRef" use="required">
      <xs:simpleType>
        <xs:restriction base="xs:string">
          <xs:minLength value="1"/>
        </xs:restriction>
      </xs:simpleType>
    </xs:attribute>
    <xs:attribute name="UseDefaultRepositoryCredentials" type="xs:string" use="optional" default="false">
      <xs:annotation>
        <xs:documentation>Use the default repository credentials specified in clusterManifest.xml
        instead of the credentials specified in the "RepositoryCredentials" tag inside ApplicationManifest.xml.
        </xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="UseTokenAuthenticationCredentials" type="xs:string" use="optional" default="false">
      <xs:annotation>
        <xs:documentation>Use MSI token authentication (or a custom specified endpoint) to obtain a token used for authentication.
        </xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="Isolation" use="optional" type="xs:string">
      <xs:annotation>
        <xs:documentation>Isolation mode for container. Valid values are default, process or Hyper-V (only supported for Windows containers).</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="Hostname" use="optional" type="xs:string">
      <xs:annotation>
        <xs:documentation>Specify Hostname for container.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="ContainersRetentionCount" use="optional" type="xs:string" default="0">
      <xs:annotation>
        <xs:documentation>Number of containers to leave behind when container repeatedly dies. By default this is set to 0 so no containers will be left behind.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="AutoRemove" use="optional" type="xs:string">
      <xs:annotation>
        <xs:documentation>Flag indicating whether removal of containers will occur automatically (true) or not (false) if the container is killed.  If false SF manually remove the containers.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="RunInteractive" use="optional" type="xs:string">
      <xs:annotation>
        <xs:documentation>Run container with interactive flag enabled. Valid values are true/false. false by default.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
  </xs:complexType>
  

屬性詳細數據

CodePackageRef

屬性
NAME CodePackageRef
use 必要

UseDefaultRepositoryCredentials

使用 clusterManifest.xml 中指定的預設存放庫認證,而不是 ApplicationManifest.xml 內 “RepositoryCredentials” 標記中指定的認證。

屬性
NAME UseDefaultRepositoryCredentials
type xs:string
use 選用
預設值 false

UseTokenAuthenticationCredentials

使用 MSI 令牌驗證(或自定義指定的端點)來取得用於驗證的令牌。

屬性
NAME UseTokenAuthenticationCredentials
type xs:string
use 選用
預設值 false

隔離

容器的隔離模式。 有效值為預設值、進程或 Hyper-V(僅支援 Windows 容器)。

屬性
NAME 隔離
use 選用
type xs:string

主機名稱

指定容器的主機名。

屬性
NAME 主機名稱
use 選用
type xs:string

ContainersRetentionCount

容器重複死亡時留下的容器數目。 根據預設,這會設定為0,因此不會留下任何容器。

屬性
NAME ContainersRetentionCount
use 選用
type xs:string
預設值 0

AutoRemove

旗標,指出如果容器遭到終止,容器的移除是否會自動發生(true) 或 [false]。 如果為 false SF,請手動移除容器。

屬性
NAME AutoRemove
use 選用
type xs:string

RunInteractive

執行已啟用互動式旗標的容器。 有效值為 true/false。 false 預設為 false。

屬性
NAME RunInteractive
use 選用
type xs:string

內容專案詳細數據

RepositoryCredentials

要從中提取映像的容器映像存放庫認證。

屬性
NAME RepositoryCredentials
type RepositoryCredentialsType
minOccurs 0
maxOccurs 1

HealthConfig

指定容器的 Docker HEALTHCHECK 整合選項。

屬性
NAME HealthConfig
type ContainerHealthConfigType
minOccurs 0
maxOccurs 1

PortBinding

指定要系結至公開容器埠的端點資源。

屬性
NAME PortBinding
type PortBindingType
minOccurs 0
maxOccurs 無限

CertificateRef

指定將公開給容器之憑證的資訊。

屬性
NAME CertificateRef
type ContainerCertificateType
minOccurs 0
maxOccurs 無限

LogConfig

指定容器的記錄驅動程式。

屬性
NAME LogConfig
type ContainerLoggingDriverType
minOccurs 0
maxOccurs 1

NetworkConfig

指定容器的網路組態。

屬性
NAME NetworkConfig
type ContainerNetworkConfigType
minOccurs 0
maxOccurs 1

體積

指定要系結至容器的磁碟區。

屬性
NAME 體積
type ContainerVolumeType
minOccurs 0
maxOccurs 無限

SecurityOption

指定容器的安全性選項。

屬性
NAME SecurityOption
type SecurityOptionsType
minOccurs 0
maxOccurs 無限

ImageOverrides

對應至要啟動之OS組建編號的映像名稱。

屬性
NAME ImageOverrides
type ImageOverridesType
minOccurs 0
maxOccurs 1

標籤

指定容器的標籤。

屬性
NAME 標籤
type ContainerLabelType
minOccurs 0
maxOccurs 無限

ContainerLabelType complexType

屬性
content 0 元素(s),2 個屬性(秒)
已定義的 全球
NAME ContainerLabelType

XML 來源

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

屬性詳細數據

名稱

屬性
NAME 名稱
type xs:string
use 必要

屬性
NAME
type xs:string
use 必要

ContainerLoggingDriverType complexType

屬性
content 1 個元素(s),1 個屬性(s)
已定義的 全球
NAME ContainerLoggingDriverType

XML 來源

<xs:complexType xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="ContainerLoggingDriverType">
      <xs:choice minOccurs="0" maxOccurs="unbounded">
          <xs:element 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>
      </xs:choice>
    <xs:attribute name="Driver" use="required">
      <xs:simpleType>
        <xs:restriction base="xs:string">
          <xs:minLength value="1"/>
        </xs:restriction>
      </xs:simpleType>
    </xs:attribute>
  </xs:complexType>
  

屬性詳細數據

驅動程式

屬性
NAME 驅動程式
use 必要

內容專案詳細數據

DriverOption

要傳遞至驅動程式的驅動程序選項。

屬性
NAME DriverOption
type DriverOptionType
minOccurs 0
maxOccurs 無限

ContainerNetworkConfigType complexType

屬性
content 0 元素(s),1 個屬性(秒)
已定義的 全球
NAME ContainerNetworkConfigType

XML 來源

<xs:complexType xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="ContainerNetworkConfigType">
        <xs:attribute name="NetworkType" use="required" type="xs:string">
            <xs:annotation>
                <xs:documentation>NetworkType. Currently supported types are "Open" and "Isolated".</xs:documentation>
            </xs:annotation>
        </xs:attribute>
    </xs:complexType>
  

屬性詳細數據

NetworkType

NetworkType。 目前支援的類型為 「Open」 和 「Isolated」。

屬性
NAME NetworkType
use 必要
type xs:string

ContainerNetworkPolicyEndpointBindingType complexType

屬性
content 0 元素(s),1 個屬性(秒)
已定義的 全球
NAME ContainerNetworkPolicyEndpointBindingType

XML 來源

<xs:complexType xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="ContainerNetworkPolicyEndpointBindingType">
    <xs:attribute name="EndpointRef">
      <xs:annotation>
        <xs:documentation>The name of the endpoint, which must be declared in the Resources section of the service manifest.</xs:documentation>
      </xs:annotation>
      <xs:simpleType>
        <xs:restriction base="xs:string">
          <xs:minLength value="1"/>
        </xs:restriction>
      </xs:simpleType>
    </xs:attribute>
  </xs:complexType>
  

屬性詳細數據

EndpointRef

端點的名稱,必須在服務指令清單的 [資源] 區段中宣告。

屬性
NAME EndpointRef

ContainerNetworkPolicyType complexType

描述服務封裝與容器網路之間的關聯,以及服務封裝端點與容器網路之間的選擇性關聯。

屬性
content 1 個元素(s),1 個屬性(s)
已定義的 全球
NAME ContainerNetworkPolicyType

XML 來源

<xs:complexType xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="ContainerNetworkPolicyType">
    <xs:annotation>
      <xs:documentation>Describes association between a service package and a container network and optionally association between endpoints of the service package and the container network.</xs:documentation>
    </xs:annotation>
    <xs:choice minOccurs="0" maxOccurs="unbounded">
      <xs:element 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>
    </xs:choice>
    <xs:attribute name="NetworkRef" use="required">
      <xs:annotation>
        <xs:documentation>The name of the container network (case-insensitive). It has to be name of a container network already created or reserved names including "Open" or "NAT".</xs:documentation>
      </xs:annotation>
      <xs:simpleType>
        <xs:restriction base="xs:string">
          <xs:minLength value="1"/>
        </xs:restriction>
      </xs:simpleType>
    </xs:attribute>
  </xs:complexType>
  

屬性詳細數據

NetworkRef

容器網路的名稱(不區分大小寫)。 它必須是已建立或保留名稱的容器網路名稱,包括 「Open」 或 「NAT」。。

屬性
NAME NetworkRef
use 必要

內容專案詳細數據

EndpointBinding

指定應在容器網路上公開的端點。

屬性
NAME EndpointBinding
type ContainerNetworkPolicyEndpointBindingType
minOccurs 0
maxOccurs 無限

ContainerVolumeType complexType

屬性
content 1 個元素,4 個屬性(秒)
已定義的 全球
NAME ContainerVolumeType

XML 來源

<xs:complexType xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="ContainerVolumeType">
        <xs:choice minOccurs="0" maxOccurs="unbounded">
            <xs:element 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>
        </xs:choice>
        <xs:attribute name="Source" use="required">
          <xs:annotation>
            <xs:documentation>The source folder which can be a folder in the VM that hosts the containers or a persistent remote store.</xs:documentation>
          </xs:annotation>
            <xs:simpleType>
                <xs:restriction base="xs:string">
                    <xs:minLength value="1"/>
                </xs:restriction>
            </xs:simpleType>
        </xs:attribute>
        <xs:attribute name="Destination" use="required">
          <xs:annotation>
            <xs:documentation>The location that the Source is mapped to within the running container. Thus, your destination can't be a location that already exists within your container.</xs:documentation>
          </xs:annotation>
            <xs:simpleType>
                <xs:restriction base="xs:string">
                    <xs:minLength value="1"/>
                </xs:restriction>
            </xs:simpleType>
        </xs:attribute>
        <xs:attribute name="Driver" use="optional">
          <xs:annotation>
            <xs:documentation>The driver name for the Azure Files volume plugin is "sfazurefile".</xs:documentation>
          </xs:annotation>
            <xs:simpleType>
                <xs:restriction base="xs:string">
                </xs:restriction>
            </xs:simpleType>
        </xs:attribute>
        <xs:attribute name="IsReadOnly" type="xs:boolean" default="false"/>
    </xs:complexType>
    

屬性詳細數據

來源

源數據夾,可以是裝載容器或永續性遠端存放區之 VM 中的資料夾。

屬性
NAME 來源
use 必要

Destination

來源對應至執行中容器內的位置。 因此,您的目的地不能是容器內已經存在的位置。

屬性
NAME Destination
use 必要

驅動程式

Azure 檔案儲存體 磁碟區外掛程式的驅動程式名稱是 「sfazurefile」。。

屬性
NAME 驅動程式
use 選用

IsReadOnly

屬性
NAME IsReadOnly
type xs:boolean
預設值 false

內容專案詳細數據

DriverOption

要傳遞至驅動程式的驅動程序選項。

屬性
NAME DriverOption
type DriverOptionType
minOccurs 0
maxOccurs 無限

DataPackageType complexType

在 PackageRoot 底下宣告名稱為 Name 屬性的資料夾,其中包含行程在運行時間所取用的靜態數據檔。 Service Fabric 會在升級服務指令清單中列出的任何數據套件時,回收主機中指定的所有 EXE 和 DLLHOST,並支援套件。

屬性
content 0 元素(s),0 屬性(秒)
已定義的 全球
NAME DataPackageType

XML 來源

<xs:complexType xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="DataPackageType">
    <xs:annotation>
      <xs:documentation>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 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.</xs:documentation>
    </xs:annotation>
    <xs:attributeGroup ref="VersionedName"/>
  </xs:complexType>
  

DebugParametersType complexType

指定要在啟動程式代碼套件時附加的調試程序資訊。

屬性
content 4 個元素(s),10 個屬性(秒)
已定義的 全球
NAME DebugParametersType

XML 來源

<xs:complexType xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="DebugParametersType">
    <xs:annotation>
      <xs:documentation>Specifies information on debugger to attach when activating codepackage.</xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element 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>
      <xs:element 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>
      <xs:element name="ContainerEnvironmentBlock" type="xs:string" minOccurs="0" maxOccurs="unbounded">
        <xs:annotation>
          <xs:documentation>EnvironmentBlock for containers.</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element 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>
    </xs:sequence>
    <xs:attribute name="ProgramExePath">
      <xs:simpleType>
        <xs:restriction base="xs:string">
          <xs:minLength value="1"/>
        </xs:restriction>
      </xs:simpleType>
    </xs:attribute>
    <xs:attribute name="Arguments">
      <xs:simpleType>
        <xs:restriction base="xs:string">
          <xs:minLength value="1"/>
        </xs:restriction>
      </xs:simpleType>
    </xs:attribute>
    <xs:attribute name="EntryPointType" use="optional" default="Main">
      <xs:simpleType>
        <xs:restriction base="xs:string">
          <xs:enumeration value="Setup"/>
          <xs:enumeration value="Main"/>
          <xs:enumeration value="All"/>
        </xs:restriction>
      </xs:simpleType>
    </xs:attribute>
    <xs:attribute name="CodePackageLinkFolder">
      <xs:simpleType>
        <xs:restriction base="xs:string">
          <xs:minLength value="1"/>
        </xs:restriction>
      </xs:simpleType>
    </xs:attribute>
    <xs:attribute name="ConfigPackageLinkFolder">
      <xs:simpleType>
        <xs:restriction base="xs:string">
          <xs:minLength value="1"/>
        </xs:restriction>
      </xs:simpleType>
    </xs:attribute>
    <xs:attribute name="DataPackageLinkFolder">
      <xs:simpleType>
        <xs:restriction base="xs:string">
          <xs:minLength value="1"/>
        </xs:restriction>
      </xs:simpleType>
    </xs:attribute>
    <xs:attribute name="LockFile">
      <xs:simpleType>
        <xs:restriction base="xs:string">
          <xs:minLength value="1"/>
        </xs:restriction>
      </xs:simpleType>
    </xs:attribute>
    <xs:attribute name="WorkingFolder">
      <xs:simpleType>
        <xs:restriction base="xs:string">
          <xs:minLength value="1"/>
        </xs:restriction>
      </xs:simpleType>
    </xs:attribute>
    <xs:attribute name="DebugParametersFile">
      <xs:simpleType>
        <xs:restriction base="xs:string">
          <xs:minLength value="1"/>
        </xs:restriction>
      </xs:simpleType>
    </xs:attribute>
    <xs:attribute name="EnvironmentBlock">
      <xs:simpleType>
        <xs:restriction base="xs:string">
          <xs:minLength value="1"/>
        </xs:restriction>
      </xs:simpleType>
    </xs:attribute>
  </xs:complexType>
  

屬性詳細數據

ProgramExePath

屬性
NAME ProgramExePath

引數

屬性
NAME 引數

EntryPointType

屬性
NAME EntryPointType
use 選用
預設值 主要

CodePackageLinkFolder

屬性
NAME CodePackageLinkFolder

ConfigPackageLinkFolder

屬性
NAME ConfigPackageLinkFolder

DataPackageLinkFolder

屬性
NAME DataPackageLinkFolder

LockFile

屬性
NAME LockFile

WorkingFolder

屬性
NAME WorkingFolder

DebugParametersFile

屬性
NAME DebugParametersFile

EnvironmentBlock

屬性
NAME EnvironmentBlock

內容專案詳細數據

ContainerEntryPoint

覆寫容器的進入點,以便啟動調試程式。

屬性
NAME ContainerEntryPoint
type xs:string
minOccurs 0
maxOccurs 無限

ContainerMountedVolume

要掛接在容器內的磁碟區。

屬性
NAME ContainerMountedVolume
type xs:string
minOccurs 0
maxOccurs 無限

ContainerEnvironmentBlock

容器的 EnvironmentBlock。

屬性
NAME ContainerEnvironmentBlock
type xs:string
minOccurs 0
maxOccurs 無限

ContainerLabel

窗體索引鍵=value 中容器的標籤。

屬性
NAME ContainerLabel
type xs:string
minOccurs 0
maxOccurs 無限

DefaultServicesType complexType

宣告每當應用程式針對此應用程式類型具現化時自動建立的服務實例。

屬性
content 2 個元素,0 個屬性(秒)
已定義的 全球
NAME DefaultServicesType

XML 來源

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

內容專案詳細數據

服務

宣告具現化應用程式時自動建立的服務。

屬性
NAME 服務

ServiceGroup

自動位於一起的服務集合,因此它們也會在故障轉移或資源管理期間一起移動。

屬性
NAME ServiceGroup

DiagnosticsType complexType

描述應用程式的診斷設定。

屬性
content 3 個元素,0 個屬性(秒)
已定義的 全球
NAME DiagnosticsType

XML 來源

<xs:complexType xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="DiagnosticsType">
    <xs:annotation>
      <xs:documentation>Describes the diagnostic settings for applications.</xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element 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>
      <xs:element 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>
      <xs:element 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>
    </xs:sequence>
  </xs:complexType>
  

內容專案詳細數據

CrashDumpSource

指定損毀傾印收集。 系統會針對裝載屬於應用程式之所有服務之程式碼套件的可執行檔收集損毀傾印。

屬性
NAME CrashDumpSource
minOccurs 0

ETWSource

指定 ETW 追蹤集合。 針對屬於應用程式的所有服務所註冊的提供者,會收集 ETW 追蹤。

屬性
NAME ETWSource
minOccurs 0

FolderSource

指定本機節點上特定資料夾內容的集合。

屬性
NAME FolderSource
minOccurs 0
maxOccurs 無限

DllHostEntryPointType complexType

不支援,請勿使用。 DLL 裝載支援 (元件進入點) 是透過 FWP.exe 程式提供。 Service Fabric 會啟動 Fabric 背景工作進程 (FWP.exe),並在啟用程式中載入元件。

屬性
content 2 個元素,1 個屬性(秒)
已定義的 全球
NAME DllHostEntryPointType

XML 來源

<xs:complexType xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="DllHostEntryPointType">
    <xs:annotation>
        <xs:documentation>Unsupported, do not use. DLL hosting support (assembly entry point) is provided through the FWP.exe process. Service Fabric starts the Fabric Worker Process (FWP.exe) and loads the assembly as part of the activation process.</xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:choice minOccurs="0" maxOccurs="unbounded">
        <xs:element name="UnmanagedDll" type="UnmanagedDllType"/>
        <xs:element name="ManagedAssembly" type="ManagedAssemblyType"/>
      </xs:choice>
    </xs:sequence>
    <xs:attribute name="IsolationPolicy" use="optional" default="DedicatedProcess">
      <xs:annotation>
        <xs:documentation>Unsupported, do not use. Defines the isolation policy for the Unmanaged DLLs and Managed Assemblies loaded in the DllHost. </xs:documentation>
      </xs:annotation>
      <xs:simpleType>
        <xs:restriction base="xs:string">
          <xs:enumeration value="SharedDomain"/>
          <xs:enumeration value="DedicatedDomain"/>
          <xs:enumeration value="DedicatedProcess"/>
        </xs:restriction>
      </xs:simpleType>
    </xs:attribute>
  </xs:complexType>
  

屬性詳細數據

IsolationPolicy

不支援,請勿使用。 定義 DllHost 中載入之 Unmanaged DLL 和 Managed 元件的隔離原則。

屬性
NAME IsolationPolicy
use 選用
預設值 DedicatedProcess

內容專案詳細數據

UnmanagedDll

屬性
NAME UnmanagedDll
type UnmanagedDllType

ManagedAssembly

屬性
NAME ManagedAssembly
type ManagedAssemblyType

DriverOptionType complexType

要傳遞至驅動程式的驅動程序選項。 Azure 檔案儲存體 磁碟區外掛程式支援下列驅動程式選項:shareName(提供容器磁碟區的 Azure 檔案儲存體 檔案共用)、storageAccountName(包含檔案分享 Azure 檔案儲存體 的 Azure 記憶體帳戶)、storageAccountKey(包含 Azure 檔案儲存體 檔案的 Azure 記憶體帳戶存取密鑰share)。 這三個驅動程式選項是必要的。

屬性
content 0 元素(s),4 個屬性(秒)
已定義的 全球
NAME DriverOptionType

XML 來源

<xs:complexType xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="DriverOptionType">
      <xs:annotation>
        <xs:documentation>Driver options to be passed to driver. The Azure Files volume plugin supports the following driver options:
          shareName (the Azure Files file share that provides the volume for the container), storageAccountName (the Azure storage account
          that contains the Azure Files file share), storageAccountKey (Access key for the Azure storage account that contains the Azure Files file share).
          These three driver options are required.</xs:documentation>
      </xs:annotation>
        <xs:attribute name="Name" type="xs:string" use="required">
          <xs:annotation>
            <xs:documentation>The name of the driver option. </xs:documentation>
          </xs:annotation>
        </xs:attribute>
        <xs:attribute name="Value" type="xs:string" use="required">
          <xs:annotation>
            <xs:documentation>The value of the driver option. </xs:documentation>
          </xs:annotation>
        </xs:attribute>
        <!-- TODO [dragosav] this needs to be deprecated; unclear if we can outright remove it, or give advance notice and remove it in an upcoming release. -->
        <xs:attribute name="IsEncrypted" type="xs:string" use="optional" default="false"/>
        <xs:attribute name="Type" type="xs:string" use="optional" default="PlainText">
          <xs:annotation>
            <xs:documentation>
              This value defines the protection of the value of the attribute. It may be SecretsStoreRef/Encrypted/PlainText.
              If set to SecretsStoreRef, the value references a secret stored encrypted in the cluster's SecureStore, which is de-referenced and decrypted upon activation.
              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>
    

屬性詳細數據

名稱

驅動程式選項的名稱。

屬性
NAME 名稱
type xs:string
use 必要

驅動程式選項的值。

屬性
NAME
type xs:string
use 必要

IsEncrypted

屬性
NAME IsEncrypted
type xs:string
use 選用
預設值 false

類型

這個值會定義 屬性值的保護。 它可能是 SecretsStoreRef/Encrypted/PlainText。 如果設定為 SecretsStoreRef,則值會參考在叢集 SecureStore 中加密的秘密,這會在啟用時取消參考和解密。 如果設定為 Encrypted,應用程式開發人員會負責建立憑證,並使用 Invoke-ServiceFabricEncryptSecret Cmdlet 來加密敏感性資訊。

屬性
NAME 類型
type xs:string
use 選用
預設值 PlainText

EndpointBindingPolicyType complexType

屬性
content 0 元素(s),2 個屬性(秒)
已定義的 全球
NAME EndpointBindingPolicyType

XML 來源

<xs:complexType xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="EndpointBindingPolicyType">
    <xs:attribute name="EndpointRef">
      <xs:annotation>
        <xs:documentation>The name of the endpoint, which must be declared in the Resources section of the service manifest.  When using HTTPS, do not use
          the same port and certificate for different service instances (independent of the application) deployed to the same node. Upgrading two different services
          using the same port in different application instances will result in an upgrade failure.</xs:documentation>
      </xs:annotation>
      <xs:simpleType>
        <xs:restriction base="xs:string">
          <xs:minLength value="1"/>
        </xs:restriction>
      </xs:simpleType>
    </xs:attribute>
    <xs:attribute name="CertificateRef" use="required">
      <xs:annotation>
        <xs:documentation>The name of the endpoint certificate, declared in the Certificates section, to return to the client. </xs:documentation>
      </xs:annotation>
      <xs:simpleType>
        <xs:restriction base="xs:string">
          <xs:minLength value="1"/>
        </xs:restriction>
      </xs:simpleType>
    </xs:attribute>
  </xs:complexType>
  

屬性詳細數據

EndpointRef

端點的名稱,必須在服務指令清單的 [資源] 區段中宣告。 使用 HTTPS 時,請勿將相同的埠和憑證用於部署到相同節點的不同服務實例(與應用程式無關)。 在不同的應用程式實例中使用相同埠升級兩個不同的服務,將會導致升級失敗。

屬性
NAME EndpointRef

CertificateRef

要傳回用戶端的端點憑證名稱,在 [憑證] 區段中宣告。

屬性
NAME CertificateRef
use 必要

EndpointCertificateType complexType

指定用來保護端點之 X509 憑證的相關信息。

屬性
content 0 元素(s),3 個屬性(秒)
已定義的 全球
NAME EndpointCertificateType

XML 來源

<xs:complexType xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="EndpointCertificateType">
                <xs:annotation>
                        <xs:documentation>Specifies information about an X509 certificate used to secure an endpoint.</xs:documentation>
                </xs:annotation>
                <xs:attribute name="X509StoreName" type="xs:string" default="My">
                        <xs:annotation>
                                <xs:documentation>The store name for the X509 certificate.</xs:documentation>
                        </xs:annotation>
                </xs:attribute>
                <xs:attribute name="X509FindValue" use="required">
                        <xs:annotation>
                                <xs:documentation>The thumbprint of the X509 certificate.</xs:documentation>
                        </xs:annotation>
                </xs:attribute>
                <xs:attribute name="Name" type="xs:string" use="optional"/>
        </xs:complexType>
        

屬性詳細數據

X509StoreName

X509 憑證的存放區名稱。

屬性
NAME X509StoreName
type xs:string
預設值 My

X509FindValue

X509 憑證的指紋。

屬性
NAME X509FindValue
use 必要

名稱

屬性
NAME 名稱
type xs:string
use 選用

EndpointOverrideType complexType

屬性
content 0 元素(s),6 個屬性(秒)
已定義的 全球
NAME EndpointOverrideType

XML 來源

<xs:complexType xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="EndpointOverrideType">
    <xs:attribute name="Name" use="required">
      <xs:annotation>
      <xs:documentation>The name of the endpoint to override. A string.</xs:documentation>
    </xs:annotation>
      <xs:simpleType>
        <xs:restriction base="xs:string">
          <xs:minLength value="1"/>
        </xs:restriction>
      </xs:simpleType>
    </xs:attribute>
    <xs:attribute name="Port" type="xs:string">
      <xs:annotation>
        <xs:documentation>The port number for the endpoint. Overrides the value in the service manifest.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
     <xs:attribute name="Protocol" type="xs:string" use="optional">
      <xs:annotation>
        <xs:documentation>The protocol for the endpoint. Overrides the value in the service manifest. HTTPS endpoints must also have an EndpointCertificate and an EndpointBindingPolicy declared in the application manifest. The protocol cannot be changed later in an application upgrade. </xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="Type" type="xs:string" use="optional">
      <xs:annotation>
        <xs:documentation>The type of the endpoint. Overrides the value in the service manifest. Input endpoints are used to expose the port to the outside, internal endpoints are used for intra-application communication.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="UriScheme" use="optional">
      <xs:annotation>
        <xs:documentation>The URI scheme. Overrides the value in the service manifest. For example, "http", "https", or "ftp".</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="PathSuffix" use="optional">
      <xs:annotation>
        <xs:documentation>The path suffix. For example, "/myapp1". Overrides the value in the service manifest.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
  </xs:complexType>
  

屬性詳細數據

名稱

要覆寫的端點名稱。 字串。

屬性
NAME 名稱
use 必要

Port

端點的埠號碼。 覆寫服務指令清單中的值。

屬性
NAME 連接埠
type xs:string

通訊協定

端點的通訊協定。 覆寫服務指令清單中的值。 HTTPS 端點也必須在應用程式指令清單中宣告 EndpointCertificate 和 EndpointBindingPolicy。 稍後無法在應用程式升級中變更通訊協定。

屬性
NAME 通訊協定
type xs:string
use 選用

類型

端點的型別。 覆寫服務指令清單中的值。 輸入端點可用來向外部公開埠,內部端點會用於應用程式內部通訊。

屬性
NAME 類型
type xs:string
use 選用

UriScheme

URI 配置。 覆寫服務指令清單中的值。 例如,“HTTP”、“https” 或 “ftp”。

屬性
NAME UriScheme
use 選用

PathSuffix

路徑後綴。 例如,“/myapp1”。 覆寫服務指令清單中的值。

屬性
NAME PathSuffix
use 選用

EndpointType complexType

定義服務的端點。 您可以要求特定埠。 如果未明確指定埠,則會從保留的應用程式埠範圍指派埠。 在不同的叢集節點上執行的服務複本可以指派不同的埠號碼,而相同節點上執行的相同服務複本會共用相同的埠。 這類埠可供服務複本用於各種用途,例如複寫或接聽用戶端要求。

屬性
content 0 元素(s),8 個屬性(秒)
已定義的 全球
NAME EndpointType

XML 來源

<xs:complexType xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="EndpointType">
    <xs:annotation>
      <xs:documentation>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.</xs:documentation>
    </xs:annotation>
    <xs:attribute name="Name" use="required">
      <xs:annotation>
      <xs:documentation>The name of the endpoint.</xs:documentation>
    </xs:annotation>
      <xs:simpleType>
        <xs:restriction base="xs:string">
          <xs:minLength value="1"/>
        </xs:restriction>
      </xs:simpleType>
    </xs:attribute>
    <xs:attribute name="Protocol" use="optional" default="tcp">
      <xs:annotation>
        <xs:documentation>The protocol for the endpoint: http, https, tcp, or udp. HTTPS endpoints must also have an EndpointCertificate and an EndpointBindingPolicy declared in the application manifest. The protocol cannot be changed later in an application upgrade. </xs:documentation>
      </xs:annotation>
      <xs:simpleType>
        <xs:restriction base="xs:string">
          <xs:enumeration value="http"/>
          <xs:enumeration value="https"/>
          <xs:enumeration value="tcp"/>
          <xs:enumeration value="udp"/>
        </xs:restriction>
      </xs:simpleType>
    </xs:attribute>
    <xs:attribute name="Type" use="optional" default="Internal">
      <xs:annotation>
        <xs:documentation>The type of the endpoint.  Input endpoints are used to expose the port to the outside, internal endpoints are used for intra-application communication.</xs:documentation>
      </xs:annotation>
      <xs:simpleType>
        <xs:restriction base="xs:string">
          <xs:enumeration value="Input"/>
          <xs:enumeration value="Internal"/>
        </xs:restriction>
      </xs:simpleType>
    </xs:attribute>
    <xs:attribute name="CodePackageRef" use="optional">
      <xs:annotation>
        <xs:documentation>The name of code Package that will use this endpoint.</xs:documentation>
      </xs:annotation>
      <xs:simpleType>
        <xs:restriction base="xs:string">
          <xs:minLength value="1"/>
        </xs:restriction>
      </xs:simpleType>
    </xs:attribute>
    <xs:attribute name="CertificateRef">
      <xs:annotation>
        <xs:documentation>Do not use, this attribute is not supported.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="Port">
      <xs:annotation>
        <xs:documentation>The port will be replaced with a port determined by Microsoft Azure Service Fabric after registering with Http.sys or BFE.</xs:documentation>
      </xs:annotation>
      <xs:simpleType>
        <xs:restriction base="xs:int">
          <xs:minInclusive value="0"/>
          <xs:maxInclusive value="65535"/>
        </xs:restriction>
      </xs:simpleType>
    </xs:attribute>
    <xs:attribute name="UriScheme">
      <xs:annotation>
        <xs:documentation>The URI scheme.  For example, "http", "https", or "ftp".</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="PathSuffix">
      <xs:annotation>
        <xs:documentation>The path suffix.  For example, "/myapp1".</xs:documentation>
      </xs:annotation>
    </xs:attribute>
  </xs:complexType>
  

屬性詳細數據

名稱

端點的名稱。

屬性
NAME 名稱
use 必要

通訊協定

端點的通訊協議:HTTP、HTTPs、tcp 或 udp。 HTTPS 端點也必須在應用程式指令清單中宣告 EndpointCertificate 和 EndpointBindingPolicy。 稍後無法在應用程式升級中變更通訊協定。

屬性
NAME 通訊協定
use 選用
預設值 tcp

類型

端點的型別。 輸入端點可用來向外部公開埠,內部端點會用於應用程式內部通訊。

屬性
NAME 類型
use 選用
預設值 內部

CodePackageRef

將使用此端點的程式代碼套件名稱。

屬性
NAME CodePackageRef
use 選用

CertificateRef

請勿使用,不支援此屬性。

屬性
NAME CertificateRef

Port

向 Http.sys 或 BFE 註冊之後,埠將會取代為 Microsoft Azure Service Fabric 所決定的埠。

屬性
NAME 連接埠

UriScheme

URI 配置。 例如,“HTTP”、“https” 或 “ftp”。

屬性
NAME UriScheme

PathSuffix

路徑後綴。 例如,“/myapp1”。

屬性
NAME PathSuffix

EntryPointDescriptionType complexType

EntryPoint 指定的可執行檔通常是長時間執行的服務主機。 個別設定進入點的存在可避免長時間執行具有高許可權的服務主機。 EntryPoint 指定的可執行檔會在 SetupEntryPoint 順利結束之後執行。 產生的進程會受到監視並重新啟動(從 SetupEntryPoint 重新開始),如果它曾經終止或當機。

屬性
content 3 個元素,0 個屬性(秒)
已定義的 全球
NAME EntryPointDescriptionType

XML 來源

<xs:complexType xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="EntryPointDescriptionType">
    <xs:annotation>
      <xs:documentation>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. The executable specified by EntryPoint is run after SetupEntryPoint exits successfully. The resulting process is monitored and restarted (beginning again with SetupEntryPoint) if it ever terminates or crashes.</xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:choice>
        <xs:element 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>
        <xs:element name="DllHost" type="DllHostEntryPointType"/>
        <xs:element name="ContainerHost" type="ContainerHostEntryPointType"/>
      </xs:choice>
    </xs:sequence>
  </xs:complexType>
  

內容專案詳細數據

ExeHost

屬性
NAME ExeHost

DllHost

屬性
NAME DllHost
type DllHostEntryPointType

ContainerHost

屬性
NAME ContainerHost
type ContainerHostEntryPointType

EnvironmentOverridesType complexType

屬性
content 1 個元素(s),1 個屬性(s)
已定義的 全球
NAME EnvironmentOverridesType

XML 來源

<xs:complexType xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="EnvironmentOverridesType">
    <xs:sequence>
      <xs:element name="EnvironmentVariable" type="EnvironmentVariableOverrideType" minOccurs="0" maxOccurs="unbounded">
        <xs:annotation>
          <xs:documentation>Environment variable.</xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
    <xs:attribute name="CodePackageRef" use="required">
      <xs:simpleType>
        <xs:restriction base="xs:string">
          <xs:minLength value="1"/>
        </xs:restriction>
      </xs:simpleType>
    </xs:attribute>
  </xs:complexType>

  

屬性詳細數據

CodePackageRef

屬性
NAME CodePackageRef
use 必要

內容專案詳細數據

EnvironmentVariable

環境變數。

屬性
NAME EnvironmentVariable
type EnvironmentVariableOverrideType
minOccurs 0
maxOccurs 無限

EnvironmentType complexType

屬性
content 3 個元素,0 個屬性(秒)
已定義的 全球
NAME EnvironmentType

XML 來源

<xs:complexType xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="EnvironmentType">
        <xs:sequence>
            <xs:element name="Principals" type="SecurityPrincipalsType"/>
            <xs:element name="Policies" type="ApplicationPoliciesType"/>
            <xs:element name="Diagnostics" type="DiagnosticsType"/>
        </xs:sequence>
        <xs:attributeGroup ref="VersionedItemAttrGroup"/>
    </xs:complexType>
    

內容專案詳細數據

Principals

屬性
NAME Principals
type SecurityPrincipalsType

原則

屬性
NAME 原則
type ApplicationPoliciesType

診斷

屬性
NAME 診斷
type DiagnosticsType

EnvironmentVariableOverrideType complexType

屬性
content 0 元素(s),3 個屬性(秒)
已定義的 全球
NAME EnvironmentVariableOverrideType

XML 來源

<xs:complexType xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="EnvironmentVariableOverrideType">
    <xs:attribute name="Name" type="xs:string" use="required">
      <xs:annotation>
        <xs:documentation>Name of environment variable.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="Value">
      <xs:simpleType>
        <xs:restriction base="xs:string">
          <xs:minLength value="0"/>
        </xs:restriction>
      </xs:simpleType>
    </xs:attribute>
    <xs:attribute name="Type" type="xs:string" use="optional"/>
  </xs:complexType>  
  

屬性詳細數據

名稱

環境變數的名稱。

屬性
NAME 名稱
type xs:string
use 必要

屬性
NAME

類型

屬性
NAME 類型
type xs:string
use 選用

EnvironmentVariableType complexType

屬性
content 0 元素(s),3 個屬性(秒)
已定義的 全球
NAME EnvironmentVariableType

XML 來源

<xs:complexType xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="EnvironmentVariableType">
    <xs:attribute name="Name" type="xs:string" use="required">
      <xs:annotation>
        <xs:documentation>Name of environment variable.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="Value">
      <xs:simpleType>
        <xs:restriction base="xs:string">
          <xs:minLength value="0"/>
        </xs:restriction>
      </xs:simpleType>
    </xs:attribute>
    <xs:attribute name="Type" use="optional" default="PlainText">
      <xs:annotation>
        <xs:documentation>
          The type for the Environment Variable. It can be PlainText/Encrypted/SecretsStoreRef.
          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:simpleType>
        <xs:restriction base="xs:string">
          <xs:enumeration value="PlainText"/>
          <xs:enumeration value="Encrypted"/>
          <xs:enumeration value="SecretsStoreRef"/>
        </xs:restriction>
      </xs:simpleType>
    </xs:attribute>
  </xs:complexType>
  

屬性詳細數據

名稱

環境變數的名稱。

屬性
NAME 名稱
type xs:string
use 必要

屬性
NAME

類型

環境變數的類型。 它可以是 PlainText/Encrypted/SecretsStoreRef。 如果設定為 SecretsStoreRef,我們會從 SecretStore 擷取參考值。 如果設定為 Encrypted,應用程式開發人員會負責建立憑證,並使用 Invoke-ServiceFabricEncryptSecret Cmdlet 來加密敏感性資訊。

屬性
NAME 類型
use 選用
預設值 PlainText

EnvironmentVariablesType complexType

將環境變數傳遞至您的容器或exe。

屬性
content 1 個元素,0 個屬性(秒)
已定義的 全球
NAME EnvironmentVariablesType

XML 來源

<xs:complexType xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="EnvironmentVariablesType">
    <xs:annotation>
      <xs:documentation>Pass environment variables to your container or exe. </xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="EnvironmentVariable" type="EnvironmentVariableType" minOccurs="0" maxOccurs="unbounded">
        <xs:annotation>
          <xs:documentation>Environment variable.</xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
  

內容專案詳細數據

EnvironmentVariable

環境變數。

屬性
NAME EnvironmentVariable
type EnvironmentVariableType
minOccurs 0
maxOccurs 無限

ExeHostEntryPointType complexType

屬性
content 4 個元素,1 個屬性(秒)
已定義的 全球
NAME ExeHostEntryPointType

XML 來源

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

    <xs:sequence>
      <xs:element 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>
      <xs:element name="Arguments" type="xs:string" minOccurs="0"/>
      <xs:element name="WorkingFolder" default="Work" minOccurs="0">
        <xs:simpleType>
          <xs:restriction base="xs:string">
            <xs:enumeration value="Work"/>
            <xs:enumeration value="CodePackage"/>
            <xs:enumeration value="CodeBase"/>
          </xs:restriction>
        </xs:simpleType>
      </xs:element>
      <xs:element 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>
    </xs:sequence>
    <xs:attribute name="IsExternalExecutable" type="xs:boolean" default="false">
      <xs:annotation>
        <xs:documentation>True if the executable is external to the application package. Program existence check in the application package is skipped.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
  </xs:complexType>
  

屬性詳細數據

IsExternalExecutable

如果可執行檔位於應用程式封裝外部,則為 True。 已略過應用程式套件中的程式存在檢查。

屬性
NAME IsExternalExecutable
type xs:boolean
預設值 false

內容專案詳細數據

程式

可執行檔名稱。 例如,“MySetup.bat” 或 “MyServiceHost.exe”。

屬性
NAME 程式
type xs:string

引數

屬性
NAME 引數
type xs:string
minOccurs 0

WorkingFolder

屬性
NAME WorkingFolder
預設值 工作
minOccurs 0

ConsoleRedirection

警告! 請勿在生產應用程式中使用主控台重新導向,只將其用於本機開發和偵錯。 將主控台輸出從啟動文本重新導向至部署和執行應用程式所在叢集節點上名為 「log」 的應用程式資料夾中的輸出檔案。

屬性
NAME ConsoleRedirection
minOccurs 0

ExtensionsType complexType

描述可套用至其他元素的延伸模組。

屬性
content 1 個元素,0 個屬性(秒)
已定義的 全球
NAME ExtensionsType

XML 來源

<xs:complexType xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="ExtensionsType">
    <xs:annotation>
      <xs:documentation>Describes extensions that can be applied to other elements.</xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element 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>
    </xs:sequence>
  </xs:complexType>
  

內容專案詳細數據

副檔名

屬性
NAME 副檔名
minOccurs 0
maxOccurs 無限

FabricCertificateType complexType

這會指定憑證資訊。

屬性
content 0 元素(s),5 個屬性(秒)
已定義的 全球
NAME FabricCertificateType

XML 來源

<xs:complexType xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="FabricCertificateType">
                <xs:annotation>
                        <xs:documentation>This specifies the certificate information.</xs:documentation>
                </xs:annotation>
                <xs:attribute name="X509StoreName" type="xs:string" default="My">
                        <xs:annotation>
                                <xs:documentation>The store name for the X509 certificate.</xs:documentation>
                        </xs:annotation>
                </xs:attribute>
                <xs:attribute name="X509FindType" default="FindByThumbprint">
                        <xs:annotation>
                                <xs:documentation>This is Used only when credential is X509. This specifies how to find the certificate whether by the name or the thumbprint </xs:documentation>
                        </xs:annotation>
                        <xs:simpleType>
                                <xs:restriction base="xs:string">
                                        <xs:enumeration value="FindByThumbprint"/>
                                        <xs:enumeration value="FindBySubjectName"/>
                                        <xs:enumeration value="FindByExtension"/>
                                </xs:restriction>
                        </xs:simpleType>
                </xs:attribute>
                <xs:attribute name="X509FindValue" use="required">
                        <xs:annotation>
                                <xs:documentation>This is Used only when credential is X509. This is the actual name or thumbprint of the certificate.</xs:documentation>
                        </xs:annotation>
                </xs:attribute>
                <xs:attribute name="X509FindValueSecondary" use="optional" default="">
                        <xs:annotation>
                                <xs:documentation>This is used only when credential is X509. This is the actual name or thumbprint of the certificate.</xs:documentation>
                        </xs:annotation>
                </xs:attribute>
                <xs:attribute name="Name" type="xs:string" use="optional"/>
        </xs:complexType>
        

屬性詳細數據

X509StoreName

X509 憑證的存放區名稱。

屬性
NAME X509StoreName
type xs:string
預設值 My

X509FindType

只有當認證是 X509 時,才會使用這個值。 這會指定如何依名稱或指紋尋找憑證

屬性
NAME X509FindType
預設值 FindByThumbprint

X509FindValue

只有當認證是 X509 時,才會使用這個值。 這是憑證的實際名稱或指紋。

屬性
NAME X509FindValue
use 必要

X509FindValueSecondary

只有當認證是 X509 時,才會使用這個值。 這是憑證的實際名稱或指紋。

屬性
NAME X509FindValueSecondary
use 選用
預設值

名稱

屬性
NAME 名稱
type xs:string
use 選用

FabricEndpointsType complexType

屬性
content 21 個元素,0 個屬性(秒)
已定義的 全球
NAME FabricEndpointsType

XML 來源

<xs:complexType xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="FabricEndpointsType">
    <xs:all>
      <xs:element name="ClientConnectionEndpoint" type="InputEndpointType"/>
      <xs:element name="LeaseDriverEndpoint" type="InternalEndpointType"/>
      <xs:element name="ClusterConnectionEndpoint" type="InternalEndpointType"/>
      <xs:element name="HttpGatewayEndpoint" type="InputEndpointType" minOccurs="0"/>
      <xs:element name="HttpApplicationGatewayEndpoint" type="InputEndpointType" minOccurs="0"/>
      <xs:element name="ServiceConnectionEndpoint" type="InternalEndpointType" minOccurs="0"/>
      <xs:element name="ClusterManagerReplicatorEndpoint" type="InternalEndpointType" minOccurs="0"/>
      <xs:element name="RepairManagerReplicatorEndpoint" type="InternalEndpointType" minOccurs="0"/>
      <xs:element name="NamingReplicatorEndpoint" type="InternalEndpointType" minOccurs="0"/>
      <xs:element name="FailoverManagerReplicatorEndpoint" type="InternalEndpointType" minOccurs="0"/>
      <xs:element name="ImageStoreServiceReplicatorEndpoint" type="InternalEndpointType" minOccurs="0"/>
      <xs:element name="UpgradeServiceReplicatorEndpoint" type="InternalEndpointType" minOccurs="0"/>
      <xs:element name="FaultAnalysisServiceReplicatorEndpoint" type="InternalEndpointType" minOccurs="0"/>
      <xs:element name="BackupRestoreServiceReplicatorEndpoint" type="InternalEndpointType" minOccurs="0"/>
      <xs:element name="UpgradeOrchestrationServiceReplicatorEndpoint" type="InternalEndpointType" minOccurs="0"/>
      <xs:element name="CentralSecretServiceReplicatorEndpoint" type="InternalEndpointType" minOccurs="0"/>
      <xs:element name="EventStoreServiceReplicatorEndpoint" type="InternalEndpointType" minOccurs="0"/>
      <xs:element name="GatewayResourceManagerReplicatorEndpoint" type="InternalEndpointType" minOccurs="0"/>
      <xs:element name="DefaultReplicatorEndpoint" type="InternalEndpointType" minOccurs="0"/>
      <xs:element 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>
      <xs:element 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>
    </xs:all>
  </xs:complexType>

  

內容專案詳細數據

Client 連線 ionEndpoint

屬性
NAME Client 連線 ionEndpoint
type InputEndpointType

LeaseDriverEndpoint

屬性
NAME LeaseDriverEndpoint
type InternalEndpointType

Cluster 連線 ionEndpoint

屬性
NAME Cluster 連線 ionEndpoint
type InternalEndpointType

HttpGatewayEndpoint

屬性
NAME HttpGatewayEndpoint
type InputEndpointType
minOccurs 0

HttpApplicationGatewayEndpoint

屬性
NAME HttpApplicationGatewayEndpoint
type InputEndpointType
minOccurs 0

Service 連線 ionEndpoint

屬性
NAME Service 連線 ionEndpoint
type InternalEndpointType
minOccurs 0

ClusterManagerReplicatorEndpoint

屬性
NAME ClusterManagerReplicatorEndpoint
type InternalEndpointType
minOccurs 0

RepairManagerReplicatorEndpoint

屬性
NAME RepairManagerReplicatorEndpoint
type InternalEndpointType
minOccurs 0

NamingReplicatorEndpoint

屬性
NAME NamingReplicatorEndpoint
type InternalEndpointType
minOccurs 0

FailoverManagerReplicatorEndpoint

屬性
NAME FailoverManagerReplicatorEndpoint
type InternalEndpointType
minOccurs 0

ImageStoreServiceReplicatorEndpoint

屬性
NAME ImageStoreServiceReplicatorEndpoint
type InternalEndpointType
minOccurs 0

UpgradeServiceReplicatorEndpoint

屬性
NAME UpgradeServiceReplicatorEndpoint
type InternalEndpointType
minOccurs 0

FaultAnalysisServiceReplicatorEndpoint

屬性
NAME FaultAnalysisServiceReplicatorEndpoint
type InternalEndpointType
minOccurs 0

BackupRestoreServiceReplicatorEndpoint

屬性
NAME BackupRestoreServiceReplicatorEndpoint
type InternalEndpointType
minOccurs 0

UpgradeOrchestrationServiceReplicatorEndpoint

屬性
NAME UpgradeOrchestrationServiceReplicatorEndpoint
type InternalEndpointType
minOccurs 0

CentralSecretServiceReplicatorEndpoint

屬性
NAME CentralSecretServiceReplicatorEndpoint
type InternalEndpointType
minOccurs 0

EventStoreServiceReplicatorEndpoint

屬性
NAME EventStoreServiceReplicatorEndpoint
type InternalEndpointType
minOccurs 0

GatewayResourceManagerReplicatorEndpoint

屬性
NAME GatewayResourceManagerReplicatorEndpoint
type InternalEndpointType
minOccurs 0

DefaultReplicatorEndpoint

屬性
NAME DefaultReplicatorEndpoint
type InternalEndpointType
minOccurs 0

ApplicationEndpoints

屬性
NAME ApplicationEndpoints
minOccurs 0

EphemeralEndpoints

屬性
NAME EphemeralEndpoints
minOccurs 0

FabricKtlLogger 設定 Type complexType

屬性
content 3 個元素,0 個屬性(秒)
已定義的 全球
NAME FabricKtlLogger 設定 Type

XML 來源

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

      <xs:element name="SharedLogFileId" minOccurs="0">
        <xs:annotation>
          <xs:documentation>Specific GUID to use as the shared log ID.</xs:documentation>
        </xs:annotation>
        <xs:complexType>
          <xs:attribute name="Value" use="required">
            <xs:simpleType>
              <xs:restriction base="xs:string">
                <xs:pattern value="[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}"/>
              </xs:restriction>
            </xs:simpleType>
          </xs:attribute>
         </xs:complexType>
      </xs:element>

      <xs:element name="SharedLogFileSizeInMB" minOccurs="0">
        <xs:annotation>
          <xs:documentation>Defines how large is the shared log.</xs:documentation>
        </xs:annotation>
        <xs:complexType>
          <xs:attribute name="Value" use="required">
            <xs:simpleType>
              <xs:restriction base="xs:int">
                <xs:minInclusive value="512"/>
              </xs:restriction>
            </xs:simpleType>
          </xs:attribute>
        </xs:complexType>
      </xs:element>

    </xs:all>
  </xs:complexType>

  

內容專案詳細數據

SharedLogFilePath

定義共享記錄的路徑。

屬性
NAME SharedLogFilePath
minOccurs 0

SharedLogFileId

要作為共享記錄標識碼使用的特定 GUID。

屬性
NAME SharedLogFileId
minOccurs 0

SharedLogFileSizeInMB

定義共享記錄檔的大小。

屬性
NAME SharedLogFileSizeInMB
minOccurs 0

FabricNodeType complexType

描述 Microsoft Azure Service Fabric 節點。

屬性
content 0 元素(s),6 個屬性(秒)
已定義的 全球
NAME FabricNodeType

XML 來源

<xs:complexType xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="FabricNodeType">
                <xs:annotation>
                        <xs:documentation>Describes a Microsoft Azure Service Fabric Node.</xs:documentation>
                </xs:annotation>
                <xs:attribute name="NodeName" type="xs:string" use="required">
                        <xs:annotation>
                                <xs:documentation>The name of the node instance.</xs:documentation>
                        </xs:annotation>
                </xs:attribute>
                <xs:attribute name="IPAddressOrFQDN" type="xs:string" use="required">
                        <xs:annotation>
                                <xs:documentation>The IP address or the FQDN of the machine on which to place this node.</xs:documentation>
                        </xs:annotation>
                </xs:attribute>
                <xs:attribute name="IsSeedNode" type="xs:boolean" default="false">
                        <xs:annotation>
                                <xs:documentation>A flag indicating whether or not this node is a seed node.</xs:documentation>
                        </xs:annotation>
                </xs:attribute>
                <xs:attribute name="NodeTypeRef" type="xs:string" use="required">
                        <xs:annotation>
                                <xs:documentation>Name of the nodetype defined in the NodeTypes section. </xs:documentation>
                        </xs:annotation>
                </xs:attribute>
                <xs:attribute name="FaultDomain" type="xs:anyURI" use="optional">
                        <xs:annotation>
                                <xs:documentation>The fault domain of this node.</xs:documentation>
                        </xs:annotation>
                </xs:attribute>
                <xs:attribute name="UpgradeDomain" type="xs:anyURI" use="optional">
                        <xs:annotation>
                                <xs:documentation>The upgrade domain of this node.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
  </xs:complexType>
  

屬性詳細數據

NodeName

節點實例的名稱。

屬性
NAME NodeName
type xs:string
use 必要

IPAddressOrFQDN

要放置此節點之電腦的IP位址或 FQDN。

屬性
NAME IPAddressOrFQDN
type xs:string
use 必要

IsSeedNode

指出這個節點是否為種子節點的旗標。

屬性
NAME IsSeedNode
type xs:boolean
預設值 false

NodeTypeRef

NodeTypes 區段中定義的 nodetype 名稱。

屬性
NAME NodeTypeRef
type xs:string
use 必要

FaultDomain

這個節點的容錯網域。

屬性
NAME FaultDomain
type xs:anyURI
use 選用

UpgradeDomain

這個節點的升級網域。

屬性
NAME UpgradeDomain
type xs:anyURI
use 選用

FileStoreETWType complexType

描述 ETW 事件的檔案存放區目的地。 僅適用於內部部署環境。

屬性
content 0 元素(s),0 屬性(秒)
已定義的 全球
NAME FileStoreETWType

XML 來源

<xs:complexType xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="FileStoreETWType">
    <xs:annotation>
      <xs:documentation>Describes a file store destination for ETW events. Works only in on-premises environment.</xs:documentation>
    </xs:annotation>
    <xs:complexContent>
      <xs:extension base="FileStoreType">
        <xs:attributeGroup ref="LevelFilter"/>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  

FileStoreType complexType

描述診斷數據的檔案存放區目的地。 僅適用於獨立叢集環境。

屬性
content 1 個元素,2 個屬性(秒)
已定義的 全球
NAME FileStoreType

XML 來源

<xs:complexType xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="FileStoreType">
    <xs:annotation>
      <xs:documentation>Describes a file store destination for diagnostics data. Works only in a standalone cluster environment.</xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element ref="Parameters" minOccurs="0"/>
    </xs:sequence>
    <xs:attributeGroup ref="IsEnabled"/>
    <xs:attributeGroup ref="Path"/>
    <xs:attributeGroup ref="UploadIntervalInMinutes"/>
    <xs:attributeGroup ref="DataDeletionAgeInDays"/>
    <xs:attribute name="AccountType" type="xs:string">
      <xs:annotation>
        <xs:documentation>Specifies the type of account.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attributeGroup ref="AccountCredentialsGroup"/>
    <xs:attribute name="PasswordEncrypted" type="xs:string">
      <xs:annotation>
        <xs:documentation>Specifies if password is encrypted or plain text.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
  </xs:complexType>
  

屬性詳細數據

AccountType

指定帳戶的類型。

屬性
NAME AccountType
type xs:string

PasswordEncrypted

指定密碼是否已加密或純文字。

屬性
NAME PasswordEncrypted
type xs:string

內容專案詳細數據

屬性
ref 參數
minOccurs 0

ImageOverridesType complexType

Windows Server 容器可能無法跨不同版本的作業系統相容。 您可以為每個容器指定多個OS映像,並使用OS的組建版本加以標記。 在 Windows 命令提示字元中執行 「winver」 以取得作業系統的組建版本。 如果基礎 OS 是組建版本 16299(Windows Server 版本 1709),Service Fabric 會挑選以 Os=“16299” 標記的容器映像。 假設未標記的容器映像可在操作系統的所有版本中運作,並覆寫服務指令清單中指定的映像。

屬性
content 1 個元素,0 個屬性(秒)
已定義的 全球
NAME ImageOverridesType

XML 來源

<xs:complexType xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="ImageOverridesType">
    <xs:annotation>
      <xs:documentation>Windows Server containers may not be compatible across different versions of the OS.  You can specify multiple OS images per container and tag
        them with the build versions of the OS. Get the build version of the OS by running "winver" at a Windows command prompt. If the underlying OS
        is build version 16299 (Windows Server version 1709), Service Fabric picks the container image tagged with Os="16299". An untagged 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:sequence>
      <xs:element 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>
    </xs:sequence>
  </xs:complexType>
  

內容專案詳細數據

映像

對應至要啟動之 OS 組建版本號碼的容器映像。 如果未指定 Os 屬性,則會假設容器映像可在作業系統的所有版本上運作,並覆寫服務指令清單中指定的映像。

屬性
NAME 映像
type ImageType
minOccurs 0
maxOccurs 無限

ImageType complexType

屬性
content 0 元素(s),2 個屬性(秒)
已定義的 全球
NAME ImageType

XML 來源

<xs:complexType xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="ImageType">
    <xs:attribute name="Name" type="xs:string" use="required">
      <xs:annotation>
        <xs:documentation>Name of container image.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="Os" type="xs:string" use="optional">
      <xs:annotation>
        <xs:documentation>Build version of the OS. For example, the build version of Windows Server version 1709 is 16299.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
  </xs:complexType>
  

屬性詳細數據

名稱

容器映像的名稱。

屬性
NAME 名稱
type xs:string
use 必要

Os

操作系統的組建版本。 例如,Windows Server 版本 1709 的組建版本是 16299。

屬性
NAME Os
type xs:string
use 選用

InfrastructureInformationType complexType

包含此 Microsoft Azure Service Fabric 叢集的基礎結構資訊。

屬性
content 1 個元素,0 個屬性(秒)
已定義的 全球
NAME InfrastructureInformationType

XML 來源

<xs:complexType xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="InfrastructureInformationType">
    <xs:annotation>
      <xs:documentation>Contains the infrastructure information for this Microsoft Azure Service Fabric cluster.</xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="NodeList">
        <xs:complexType>
          <xs:sequence>
            <xs:element name="Node" type="InfrastructureNodeType" maxOccurs="unbounded"/>
          </xs:sequence>
        </xs:complexType>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
  

內容專案詳細數據

NodeList

屬性
NAME NodeList

InfrastructureNodeType complexType

描述所需的基礎結構資訊。

屬性
content 2 個元素,7 個屬性(秒)
已定義的 全球
NAME InfrastructureNodeType

XML 來源

<xs:complexType xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="InfrastructureNodeType">
    <xs:annotation>
      <xs:documentation>Describes an Infrastructure information needed.</xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <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="Certificates" type="CertificatesType" minOccurs="0">
        <xs:annotation>
          <xs:documentation>Describe the certificates associated with this node type</xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
    <xs:attribute name="NodeName" type="xs:string" use="required">
      <xs:annotation>
        <xs:documentation>The name of the node instance.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="IPAddressOrFQDN" type="xs:string" use="required">
      <xs:annotation>
        <xs:documentation>The IP address or the FQDN of the machine on which to place this node.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="RoleOrTierName" type="xs:string" use="required">
      <xs:annotation>
        <xs:documentation>Name of the role which links to node type ref which is defined in the NodeTypes section.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="NodeTypeRef" type="xs:string" use="required">
      <xs:annotation>
        <xs:documentation>Name of the node type which is defined in the NodeTypes section.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="IsSeedNode" type="xs:boolean" use="optional" default="false">
      <xs:annotation>
        <xs:documentation>Indicates whether the node is a seed node.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="FaultDomain" type="xs:anyURI" use="optional">
      <xs:annotation>
        <xs:documentation> The fault domain of this node. </xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="UpgradeDomain" type="xs:anyURI" use="optional">
      <xs:annotation>
        <xs:documentation>The upgrade domain of this node. </xs:documentation>
      </xs:annotation>
    </xs:attribute>
  </xs:complexType>
  

屬性詳細數據

NodeName

節點實例的名稱。

屬性
NAME NodeName
type xs:string
use 必要

IPAddressOrFQDN

要放置此節點之電腦的IP位址或 FQDN。

屬性
NAME IPAddressOrFQDN
type xs:string
use 必要

RoleOrTierName

連結到 NodeTypes 區段中定義之節點類型 ref 的角色名稱。

屬性
NAME RoleOrTierName
type xs:string
use 必要

NodeTypeRef

NodeTypes 區段中定義的節點類型名稱。

屬性
NAME NodeTypeRef
type xs:string
use 必要

IsSeedNode

指出節點是否為種子節點。

屬性
NAME IsSeedNode
type xs:boolean
use 選用
預設值 false

FaultDomain

這個節點的容錯網域。

屬性
NAME FaultDomain
type xs:anyURI
use 選用

UpgradeDomain

這個節點的升級網域。

屬性
NAME UpgradeDomain
type xs:anyURI
use 選用

內容專案詳細數據

端點

描述與此節點類型相關聯的端點

屬性
NAME 端點
type FabricEndpointsType
minOccurs 0

憑證

描述與此節點類型相關聯的憑證

屬性
NAME 憑證
type CertificatesType
minOccurs 0

InputEndpointType complexType

屬性
content 0 元素(s),2 個屬性(秒)
已定義的 全球
NAME InputEndpointType

XML 來源

<xs:complexType xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="InputEndpointType">
    <xs:attribute name="Port" type="xs:positiveInteger" use="required"/>
    <xs:attribute name="Protocol" use="optional" default="tcp">
      <xs:simpleType>
        <xs:restriction base="xs:string">
          <xs:enumeration value="http"/>
          <xs:enumeration value="https"/>
          <xs:enumeration value="tcp"/>
        </xs:restriction>
      </xs:simpleType>
    </xs:attribute>
  </xs:complexType>
  

屬性詳細數據

Port

屬性
NAME 連接埠
type xs:positiveInteger
use 必要

通訊協定

屬性
NAME 通訊協定
use 選用
預設值 tcp

InternalEndpointType complexType

屬性
content 0 元素(s),2 個屬性(秒)
已定義的 全球
NAME InternalEndpointType

XML 來源

<xs:complexType xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="InternalEndpointType">
    <xs:attribute name="Port" type="xs:positiveInteger" use="required"/>
    <xs:attribute name="Protocol" use="optional" default="tcp">
      <xs:simpleType>
        <xs:restriction base="xs:string">
          <xs:enumeration value="http"/>
          <xs:enumeration value="https"/>
          <xs:enumeration value="tcp"/>
        </xs:restriction>
      </xs:simpleType>
    </xs:attribute>
  </xs:complexType>
  

屬性詳細數據

Port

屬性
NAME 連接埠
type xs:positiveInteger
use 必要

通訊協定

屬性
NAME 通訊協定
use 選用
預設值 tcp

KeyValuePairType complexType

屬性
content 0 元素(s),0 屬性(秒)
已定義的 全球
NAME KeyValuePairType

XML 來源

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

LinuxInfrastructureType complexType

屬性
content 1 個元素,0 個屬性(秒)
已定義的 全球
NAME LinuxInfrastructureType

XML 來源

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

內容專案詳細數據

NodeList

屬性
NAME NodeList

LoadMetricType complexType

此服務應平衡的資源,例如記憶體或CPU使用量。 包含此服務的每個復本或實例預設會耗用該資源數量的相關信息。

屬性
content 0 元素(s),5 個屬性(秒)
已定義的 全球
NAME LoadMetricType

XML 來源

<xs:complexType xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="LoadMetricType">
    <xs:annotation>
        <xs:documentation>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.</xs:documentation>
      </xs:annotation>
    <xs:attribute name="Name" use="required">
      <xs:annotation>
        <xs:documentation>A unique identifier for the metric within the cluster from the Cluster Resource Manager's perspective.</xs:documentation>
      </xs:annotation>
      <xs:simpleType>
        <xs:restriction base="xs:string">
          <xs:minLength value="1"/>
        </xs:restriction>
      </xs:simpleType>
    </xs:attribute>
    <xs:attribute name="DefaultLoad" type="xs:long" use="optional" default="0">
      <xs:annotation>
        <xs:documentation>The default amount of load that this stateless service creates for this metric.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="PrimaryDefaultLoad" type="xs:long" use="optional" default="0">
      <xs:annotation>
        <xs:documentation>The default amount of load that this service will exert for this metric when it's a primary replica.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="SecondaryDefaultLoad" type="xs:long" use="optional" default="0">
      <xs:annotation>
        <xs:documentation>The default amount of load that this service will exert for this metric when it's a secondary replica.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="Weight">
      <xs:annotation>
        <xs:documentation>Determines the metric weight relative to the other metrics that are configured for this service. During runtime, if two metrics end up in conflict, the Cluster Resource Manager prefers the metric with the higher weight. Zero disables load balancing for this metric.</xs:documentation>
      </xs:annotation>
      <xs:simpleType>
        <xs:restriction base="xs:string">
          <xs:enumeration value="Zero"/>
          <xs:enumeration value="Low"/>
          <xs:enumeration value="Medium"/>
          <xs:enumeration value="High"/>
        </xs:restriction>
      </xs:simpleType>
    </xs:attribute>
  </xs:complexType>
  

屬性詳細數據

名稱

從叢集資源管理員的觀點來看,叢集內計量的唯一標識符。

屬性
NAME 名稱
use 必要

DefaultLoad

此無狀態服務為此計量建立的預設負載量。

屬性
NAME DefaultLoad
type xs:long
use 選用
預設值 0

PrimaryDefaultLoad

當此服務是主要複本時,此服務將針對此計量施加的預設負載量。

屬性
NAME PrimaryDefaultLoad
type xs:long
use 選用
預設值 0

SecondaryDefaultLoad

當此服務是次要複本時,此服務將針對此計量施加的預設負載量。

屬性
NAME SecondaryDefaultLoad
type xs:long
use 選用
預設值 0

Weight

決定相對於針對此服務設定的其他計量的計量權數。 在運行時間期間,如果兩個計量最終發生衝突,叢集資源管理員會偏好具有較高權數的計量。 零會停用此計量的負載平衡。

屬性
NAME Weight

LocalStoreETWType complexType

描述 ETW 事件節點內的存放區目的地。

屬性
content 0 元素(s),0 屬性(秒)
已定義的 全球
NAME LocalStoreETWType

XML 來源

<xs:complexType xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="LocalStoreETWType">
    <xs:annotation>
      <xs:documentation>Describes a store destination within the node for ETW events.</xs:documentation>
    </xs:annotation>
    <xs:complexContent>
      <xs:extension base="LocalStoreType">
        <xs:attributeGroup ref="LevelFilter"/>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  

LocalStoreType complexType

描述診斷數據節點內的存放區目的地。

屬性
content 1 個元素,0 個屬性(秒)
已定義的 全球
NAME LocalStoreType

XML 來源

<xs:complexType xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="LocalStoreType">
    <xs:annotation>
      <xs:documentation>Describes a store destination within the node for diagnostic data.</xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element ref="Parameters" minOccurs="0"/>
    </xs:sequence>
    <xs:attributeGroup ref="IsEnabled"/>
    <xs:attributeGroup ref="RelativeFolderPath"/>
    <xs:attributeGroup ref="DataDeletionAgeInDays"/>
  </xs:complexType>
  

內容專案詳細數據

屬性
ref 參數
minOccurs 0

LogicalDirectoryType complexType

描述 LogicalDirectoryType。

屬性
content 0 元素(s),3 個屬性(秒)
已定義的 全球
NAME LogicalDirectoryType

XML 來源

<xs:complexType xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="LogicalDirectoryType">
    <xs:annotation>
      <xs:documentation>Describes a LogicalDirectoryType.</xs:documentation>
    </xs:annotation>
    <xs:attribute name="LogicalDirectoryName" type="xs:string" use="required">
      <xs:annotation>
        <xs:documentation>The name of the LogicalDirectory.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="MappedTo" type="xs:string" use="required">
      <xs:annotation>
        <xs:documentation>The path of the LogicalDirectory.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="Context" use="optional" default="application">
      <xs:simpleType>
        <xs:restriction base="xs:string">
          <xs:enumeration value="application"/>
          <xs:enumeration value="node"/>
        </xs:restriction>
      </xs:simpleType>  
    </xs:attribute>
  </xs:complexType>
  

屬性詳細數據

LogicalDirectoryName

LogicalDirectory 的名稱。

屬性
NAME LogicalDirectoryName
type xs:string
use 必要

MappedTo

LogicalDirectory 的路徑。

屬性
NAME MappedTo
type xs:string
use 必要

上下文

屬性
NAME 上下文
use 選用
預設值 應用程式

ManagedAssemblyType complexType

不支援,請勿使用。 要裝載的Managed元件名稱(例如Queue.dll)。

屬性
content 0 元素(s),0 屬性(秒)
已定義的 全球
NAME ManagedAssemblyType

XML 來源

<xs:complexType xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="ManagedAssemblyType">
    <xs:annotation>
        <xs:documentation>Unsupported, do not use. The name of managed assembly (for example, Queue.dll), to host.</xs:documentation>
    </xs:annotation>
    <xs:simpleContent>
      <xs:extension base="xs:string"/>
    </xs:simpleContent>
  </xs:complexType>
  

NetworkPoliciesType complexType

描述網路原則,包括服務套件的容器網路原則。

屬性
content 1 個元素,0 個屬性(秒)
已定義的 全球
NAME NetworkPoliciesType

XML 來源

<xs:complexType xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="NetworkPoliciesType">
    <xs:annotation>
      <xs:documentation>Describes network policies including container network policies for the service package.</xs:documentation>
    </xs:annotation>
    <xs:choice minOccurs="0" maxOccurs="unbounded">
      <xs:element 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>
    </xs:choice>
  </xs:complexType>
  

內容專案詳細數據

ContainerNetworkPolicy

描述服務套件的容器網路原則。

屬性
NAME ContainerNetworkPolicy
type ContainerNetworkPolicyType
minOccurs 0
maxOccurs 無限

PaaSRoleType complexType

屬性
content 0 元素(s),3 個屬性(秒)
已定義的 全球
NAME PaaSRoleType

XML 來源

<xs:complexType xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="PaaSRoleType">
    <xs:attribute name="RoleName" type="xs:string" use="required"/>
    <xs:attribute name="NodeTypeRef" type="xs:string" use="required"/>
    <xs:attribute name="RoleNodeCount" type="xs:int" use="required"/>
  </xs:complexType>
  

屬性詳細數據

RoleName

屬性
NAME RoleName
type xs:string
use 必要

NodeTypeRef

屬性
NAME NodeTypeRef
type xs:string
use 必要

RoleNodeCount

屬性
NAME RoleNodeCount
type xs:int
use 必要

PaaSVoteType complexType

屬性
content 0 元素(s),3 個屬性(秒)
已定義的 全球
NAME PaaSVoteType

XML 來源

<xs:complexType xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="PaaSVoteType">
    <xs:attribute name="NodeName" use="required"/>
    <xs:attribute name="IPAddressOrFQDN" use="required"/>
    <xs:attribute name="Port" type="xs:int" use="required"/>
  </xs:complexType>
  

屬性詳細數據

NodeName

屬性
NAME NodeName
use 必要

IPAddressOrFQDN

屬性
NAME IPAddressOrFQDN
use 必要

Port

屬性
NAME 連接埠
type xs:int
use 必要

PackageSharingPolicyType complexType

指出是否應該在相同服務類型的服務實例之間共用程式代碼、組態或數據套件。

屬性
content 0 元素(s),2 個屬性(秒)
已定義的 全球
NAME PackageSharingPolicyType

XML 來源

<xs:complexType xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="PackageSharingPolicyType">
    <xs:annotation>
      <xs:documentation>Indicates if a code, config or data package should be shared across service instances of the same service type.</xs:documentation>
    </xs:annotation>
    <xs:attribute name="PackageRef">
      <xs:annotation>
        <xs:documentation>The name of the code, config, or data package to be shared. Must match the name of the package defined in the service manifest.</xs:documentation>
      </xs:annotation>
      <xs:simpleType>
        <xs:restriction base="xs:string">
          <xs:minLength value="1"/>
        </xs:restriction>
      </xs:simpleType>
    </xs:attribute>
    <xs:attribute name="Scope" default="None">
      <xs:simpleType>
        <xs:restriction base="xs:string">
          <xs:enumeration value="None"/>
          <xs:enumeration value="All"/>
          <xs:enumeration value="Code"/>
          <xs:enumeration value="Config"/>
          <xs:enumeration value="Data"/>
        </xs:restriction>
      </xs:simpleType>
    </xs:attribute>
  </xs:complexType>
  

屬性詳細數據

PackageRef

要共用的程式代碼、組態或數據套件名稱。 必須符合服務指令清單中定義的套件名稱。

屬性
NAME PackageRef

範圍

屬性
NAME 範圍
預設值

ParameterType complexType

屬性
content 0 元素(s),1 個屬性(秒)
已定義的 全球
NAME ParameterType

XML 來源

<xs:complexType xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="ParameterType">
                <xs:attributeGroup ref="NameValuePair"/>
                <xs:attribute name="IsEncrypted" type="xs:string">
                        <xs:annotation>
                                <xs:documentation>If true, the value of this parameter is encrypted</xs:documentation>
                        </xs:annotation>
                </xs:attribute>
        </xs:complexType>
        

屬性詳細數據

IsEncrypted

如果為 true,則會加密此參數的值

屬性
NAME IsEncrypted
type xs:string

ParametersType complexType

屬性
content 1 個元素,0 個屬性(秒)
已定義的 全球
NAME ParametersType

XML 來源

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

內容專案詳細數據

參數

屬性
NAME 參數
type ParameterType
minOccurs 1
maxOccurs 無限

PortBindingType complexType

屬性
content 0 元素(s),2 個屬性(秒)
已定義的 全球
NAME PortBindingType

XML 來源

<xs:complexType xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="PortBindingType">
    <xs:attribute name="ContainerPort" type="xs:int" use="required">
      <xs:annotation>
        <xs:documentation>Container port number.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="EndpointRef">
      <xs:simpleType>
        <xs:restriction base="xs:string">
          <xs:minLength value="1"/>
        </xs:restriction>
      </xs:simpleType>
    </xs:attribute>
  </xs:complexType>
  

屬性詳細數據

ContainerPort

容器埠號碼。

屬性
NAME ContainerPort
type xs:int
use 必要

EndpointRef

屬性
NAME EndpointRef

RepositoryCredentialsType complexType

屬性
content 0 元素(s),3 個屬性(秒)
已定義的 全球
NAME RepositoryCredentialsType

XML 來源

<xs:complexType xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="RepositoryCredentialsType">
    <xs:attributeGroup ref="AccountCredentialsGroup"/>
    <xs:attribute name="PasswordEncrypted" type="xs:boolean" use="optional">
      <xs:annotation>
        <xs:documentation>Specifies if password is encrypted or plain text. This attribute is deprecated. Please use the 'Type' attribute to indicate encrypted password.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="Email">
      <xs:simpleType>
        <xs:restriction base="xs:string">
          <xs:minLength value="1"/>
        </xs:restriction>
      </xs:simpleType>
    </xs:attribute>
    <xs:attribute name="Type" type="xs:string" use="optional">
      <xs:annotation>
        <xs:documentation>
          This value defines the type of password you have specified in the 'Password' 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>
  

屬性詳細數據

PasswordEncrypted

指定密碼是否已加密或純文字。 這個屬性已被取代。 請使用 『Type』 屬性來指出加密的密碼。

屬性
NAME PasswordEncrypted
type xs:boolean
use 選用

電子郵件

屬性
NAME 電子郵件

類型

這個值會定義您在 'Password' 屬性中指定的密碼類型。 它可以是 SecretsStoreRef/Encrypted/PlainText。 如果設定為 SecretsStoreRef,我們會從 SecretStore 擷取參考值。 如果設定為 Encrypted,應用程式開發人員會負責建立憑證,並使用 Invoke-ServiceFabricEncryptSecret Cmdlet 來加密敏感性資訊。

屬性
NAME 類型
type xs:string
use 選用

ResourceGovernancePolicyType complexType

限制可在主機上使用的資源,並宣告服務程式碼套件的資源限制。

屬性
content 0 元素(s),12 個屬性(秒)
已定義的 全球
NAME ResourceGovernancePolicyType

XML 來源

<xs:complexType xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="ResourceGovernancePolicyType">
    <xs:annotation>
      <xs:documentation>Restricts the resources that can be used on the host and declares resource limits for a service code package.</xs:documentation>
    </xs:annotation>
    <xs:attribute name="CodePackageRef" use="required">
      <xs:simpleType>
        <xs:restriction base="xs:string">
          <xs:minLength value="1"/>
        </xs:restriction>
      </xs:simpleType>
    </xs:attribute>
    <xs:attribute name="MemoryInMB" type="xs:string" use="optional" default="0">
      <xs:annotation>
        <xs:documentation>Memory limits in MB. Must be a positive integer. Code packages (containers or processes) are not able to allocate more memory than this limit, and attempting to do so results in an out-of-memory exception.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="MemorySwapInMB" type="xs:string" use="optional" default="0">
      <xs:annotation>
        <xs:documentation>The total amount of swap memory that can be used, in MB. Must be a positive integer.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="MemoryReservationInMB" type="xs:string" use="optional" default="0">
      <xs:annotation>
        <xs:documentation>The soft limit (in MB) for memory governance that is enforced only when memory contention is detected on the node. Must be a positive integer.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="CpuShares" type="xs:string" use="optional" default="0">
      <xs:annotation>
        <xs:documentation>Relative CPU weight. Must be a positive integer.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="CpuPercent" type="xs:string" use="optional" default="0">
      <xs:annotation>
        <xs:documentation>Usable percentage of available CPUs (Windows only). Must be a positive integer. If CPU limits are specified for the service package, this parameter is effectively ignored.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="MaximumIOps" type="xs:string" use="optional" default="0">
      <xs:annotation>
        <xs:documentation>Maximum IO rate (read and write) in terms of IOPS that can be used. Must be a positive integer.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="MaximumIOBandwidth" type="xs:string" use="optional" default="0">
      <xs:annotation>
        <xs:documentation>The maximum IO (bytes per second) that can be used (read and write). Must be a positive integer.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="BlockIOWeight" type="xs:string" use="optional" default="0">
      <xs:annotation>
        <xs:documentation>Block IO weight, relative to other code packages. Must be a positive integer between 10 and 1000.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="DiskQuotaInMB" type="xs:string" use="optional" default="0">
      <xs:annotation>
        <xs:documentation>Disk quota for containers.  Must be a positive integer.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="KernelMemoryInMB" type="xs:string" use="optional" default="0">
      <xs:annotation>
        <xs:documentation>Kernel memory limits in bytes.  Must be a positive integer.  Note this is Linux specific and docker on windows will error out if this is set.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="ShmSizeInMB" type="xs:string" use="optional" default="0">
      <xs:annotation>
        <xs:documentation>Size of /dev/shm in bytes. If omitted, the system uses 64MB.  Must be a positive integer.  Note this is Linux specific, however, docker will NOT error out if specified.  It is simply ignored.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
  </xs:complexType>
  

屬性詳細數據

CodePackageRef

屬性
NAME CodePackageRef
use 必要

MemoryInMB

以 MB 為單位的記憶體限制。 必須是正整數。 程式代碼套件(容器或進程)無法配置超過此限制的記憶體,而且嘗試這樣做會導致記憶體不足的例外狀況。

屬性
NAME MemoryInMB
type xs:string
use 選用
預設值 0

MemorySwapInMB

可以使用的交換記憶體總數,以 MB 為單位。 必須是正整數。

屬性
NAME MemorySwapInMB
type xs:string
use 選用
預設值 0

MemoryReservationInMB

只有在節點上偵測到記憶體爭用時,才會強制執行記憶體治理的軟限制(以 MB 為單位)。 必須是正整數。

屬性
NAME MemoryReservationInMB
type xs:string
use 選用
預設值 0

CpuShares

相對CPU權數。 必須是正整數。

屬性
NAME CpuShares
type xs:string
use 選用
預設值 0

CpuPercent

可用 CPU 的可用百分比(僅限 Windows)。 必須是正整數。 如果為服務套件指定 CPU 限制,則會有效地忽略此參數。

屬性
NAME CpuPercent
type xs:string
use 選用
預設值 0

MaximumIOps

可用 IOPS 的最大 IO 速率(讀取和寫入)。 必須是正整數。

屬性
NAME MaximumIOps
type xs:string
use 選用
預設值 0

MaximumIOBandwidth

可以使用的最大 IO(每秒位元組數)(讀取和寫入)。 必須是正整數。

屬性
NAME MaximumIOBandwidth
type xs:string
use 選用
預設值 0

BlockIOWeight

相對於其他程式代碼套件,封鎖IO權數。 必須是介於 10 到 1000 之間的正整數。

屬性
NAME BlockIOWeight
type xs:string
use 選用
預設值 0

DiskQuotaInMB

容器的磁碟配額。 必須是正整數。

屬性
NAME DiskQuotaInMB
type xs:string
use 選用
預設值 0

KernelMemoryInMB

核心記憶體限制,以位元組為單位。 必須是正整數。 請注意,這是Linux專屬的,如果已設定,Windows上的Docker將會發生錯誤。

屬性
NAME KernelMemoryInMB
type xs:string
use 選用
預設值 0

ShmSizeInMB

/dev/shm 的大小,以位元組為單位。 如果省略,系統會使用 64MB。 必須是正整數。 請注意,這是Linux特定的,不過,如果指定,Docker 將不會發生錯誤。 它只會被忽略。

屬性
NAME ShmSizeInMB
type xs:string
use 選用
預設值 0

ResourceOverridesType complexType

指定服務指令清單資源中宣告之端點的資源覆寫。

屬性
content 1 個元素,0 個屬性(秒)
已定義的 全球
NAME ResourceOverridesType

XML 來源

<xs:complexType xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="ResourceOverridesType">
    <xs:annotation>
      <xs:documentation>Specifies resource overrides for endpoints declared in service manifest resources.</xs:documentation>
    </xs:annotation>
     <xs:sequence>
      <xs:element 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>
    </xs:sequence>
  </xs:complexType>
  

內容專案詳細數據

端點

要覆寫的服務端點。

屬性
NAME 端點
minOccurs 0

ResourcesType complexType

描述此服務所使用的資源,此服務可在不修改編譯的程式代碼的情況下宣告,並在部署服務時變更。 這些資源的存取權是透過應用程式指令清單的主體和原則區段來控制。

屬性
content 1 個元素,0 個屬性(秒)
已定義的 全球
NAME ResourcesType

XML 來源

<xs:complexType xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="ResourcesType">
    <xs:annotation>
      <xs:documentation>Describes the resources used by this service, which can be declared without modifying compiled code and changed when the service is deployed. Access to these resources is controlled through the Principals and Policies sections of the application manifest.</xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element 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>
    </xs:sequence>
  </xs:complexType>
  

內容專案詳細數據

端點

定義服務的端點。

屬性
NAME 端點
minOccurs 0

RunAsPolicyType complexType

指定服務程式代碼套件執行身分的本機使用者或本機系統帳戶。 Windows Server 部署支援網域帳戶,其中提供 Microsoft Entra ID。 根據預設,應用程式會在 Fabric.exe 進程執行所使用的帳戶下執行。 應用程式也可以以其他帳戶的形式執行,這些帳戶必須在 [主體] 區段中宣告。 如果您將 RunAs 原則套用至服務,而服務指令清單會宣告具有 HTTP 通訊協定的端點資源,您也必須指定 SecurityAccessPolicy,以確保配置給這些端點的埠會正確針對執行服務的 RunAs 使用者帳戶列出訪問控制。 針對 HTTPS 端點,您也必須定義 EndpointBindingPolicy,以指出要傳回客戶端的憑證名稱。

屬性
content 0 元素(s),3 個屬性(秒)
已定義的 全球
NAME RunAsPolicyType

XML 來源

<xs:complexType xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="RunAsPolicyType">
    <xs:annotation>
      <xs:documentation>Specifies the local user or local system account that a service code package will run as. Domain accounts are supported on Windows Server deployments where Azure Active Directory is available. By default, applications run under the account that the Fabric.exe process runs under. Applications can also run as other accounts, which must be declared in the Principals section. 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. For an HTTPS endpoint, you also have to define a EndpointBindingPolicy to indicate the name of the certificate to return to the client.</xs:documentation>
    </xs:annotation>
    <xs:attribute name="CodePackageRef" use="required">
      <xs:annotation>
        <xs:documentation>The name of the code package. Must match the name of the CodePackage specified in the service manifest.</xs:documentation>
      </xs:annotation>
      <xs:simpleType>
        <xs:restriction base="xs:string">
          <xs:minLength value="1"/>
        </xs:restriction>
      </xs:simpleType>
    </xs:attribute>
    <xs:attribute name="UserRef" use="required">
      <xs:annotation>
        <xs:documentation>The user account that the service code package 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:simpleType>
        <xs:restriction base="xs:string">
          <xs:minLength value="1"/>
        </xs:restriction>
      </xs:simpleType>
    </xs:attribute>
    <xs:attribute name="EntryPointType" use="optional" default="Main">
      <xs:annotation>
        <xs:documentation>Setup is the SetupEntryPoint declared in the service manifest, the privileged entry point that runs before any other entry point.  Main is the EntryPoint declared in the service manifest, typically the long-running service host. All is all entry points.</xs:documentation>
      </xs:annotation>
      <xs:simpleType>
        <xs:restriction base="xs:string">
          <xs:enumeration value="Setup"/>
          <xs:enumeration value="Main"/>
          <xs:enumeration value="All"/>
        </xs:restriction>
      </xs:simpleType>
    </xs:attribute>
  </xs:complexType>
  

屬性詳細數據

CodePackageRef

程式代碼套件的名稱。 必須符合服務指令清單中指定的CodePackage名稱。

屬性
NAME CodePackageRef
use 必要

UserRef

服務程式代碼套件將執行身分的用戶帳戶。 用戶帳戶必須在 [主體] 區段中宣告。 通常最好使用本機系統帳戶而非系統管理員帳戶來執行安裝進入點。

屬性
NAME UserRef
use 必要

EntryPointType

安裝程式是在服務指令清單中宣告的 SetupEntryPoint,這是任何其他進入點之前執行的特殊許可權進入點。 Main 是在服務指令清單中宣告的 EntryPoint,通常是長時間執行的服務主機。 全部都是進入點。

屬性
NAME EntryPointType
use 選用
預設值 主要

ScalingPolicyType complexType

由觸發程式和調整機制所組成的調整原則描述。

屬性
content 0 元素(s),0 屬性(秒)
已定義的 全球
NAME ScalingPolicyType

XML 來源

<xs:complexType xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="ScalingPolicyType">
        <xs:annotation>
            <xs:documentation>A scaling policy description consisting of a trigger and a mechanism for scaling. </xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:group ref="ScalingPolicyTriggerGroup"/>
            <xs:group ref="ScalingPolicyMechanismGroup"/>
        </xs:sequence>
    </xs:complexType>
    

SecurityAccessPolicyType complexType

將存取權授與服務指令清單中定義的資源主體(例如端點)。 一般而言,控制及限制服務存取不同資源非常有用,以將安全性風險降到最低。 當應用程式是從不同開發人員所開發之市集的服務集合建置時,這特別重要。

屬性
content 0 元素(s),4 個屬性(秒)
已定義的 全球
NAME SecurityAccessPolicyType

XML 來源

<xs:complexType xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="SecurityAccessPolicyType">
    <xs:annotation>
      <xs:documentation>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.</xs:documentation>
    </xs:annotation>
    <xs:attribute name="ResourceRef" use="required">
      <xs:annotation>
        <xs:documentation>The resource being granted access to, declared and configured in the service manifest.</xs:documentation>
      </xs:annotation>
      <xs:simpleType>
        <xs:restriction base="xs:string">
          <xs:minLength value="1"/>
        </xs:restriction>
      </xs:simpleType>
    </xs:attribute>
    <xs:attribute name="PrincipalRef" use="required">
      <xs:annotation>
        <xs:documentation>The user or group being assigned access rights to a resource, must be declared in the Principals section.</xs:documentation>
      </xs:annotation>
      <xs:simpleType>
        <xs:restriction base="xs:string">
          <xs:minLength value="1"/>
        </xs:restriction>
      </xs:simpleType>
    </xs:attribute>
    <xs:attribute name="GrantRights" default="Read">
      <xs:annotation>
        <xs:documentation>The rights to grant: Read, Change, or Full. The default is Read.</xs:documentation>
      </xs:annotation>
      <xs:simpleType>
        <xs:restriction base="xs:string">
          <xs:enumeration value="Read"/>
          <xs:enumeration value="Change"/>
          <xs:enumeration value="Full"/>
        </xs:restriction>
      </xs:simpleType>
    </xs:attribute>
    <xs:attribute name="ResourceType" use="optional" default="Endpoint">
      <xs:annotation>
        <xs:documentation>The type of resource, defined in the Resources section of the service manifest. Either Endpoint or Certificate.</xs:documentation>
      </xs:annotation>
      <xs:simpleType>
        <xs:restriction base="xs:string">
          <xs:enumeration value="Endpoint"/>
          <xs:enumeration value="Certificate"/>
        </xs:restriction>
      </xs:simpleType>
    </xs:attribute>
  </xs:complexType>
  

屬性詳細數據

ResourceRef

在服務指令清單中授與存取權、宣告和設定的資源。

屬性
NAME ResourceRef
use 必要

PrincipalRef

要指派資源訪問許可權的使用者或群組,必須在 [主體] 區段中宣告。

屬性
NAME PrincipalRef
use 必要

GrantRights

授與的許可權:讀取、變更或完整。 預設值為 Read。

屬性
NAME GrantRights
預設值 參閱

ResourceType

在服務指令清單的 [資源] 區段中定義的資源類型。 端點或憑證。

屬性
NAME ResourceType
use 選用
預設值 端點

SecurityOptionsType complexType

屬性
content 0 元素(s),1 個屬性(秒)
已定義的 全球
NAME SecurityOptionsType

XML 來源

<xs:complexType xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="SecurityOptionsType">
    <xs:attribute name="Value" use="required">
      <xs:simpleType>
        <xs:restriction base="xs:string">
          <xs:minLength value="1"/>
        </xs:restriction>
      </xs:simpleType>
    </xs:attribute>
  </xs:complexType>
    

屬性詳細數據

屬性
NAME
use 必要

SecurityPrincipalsType complexType

描述此應用程式執行服務和保護資源所需的安全性主體(使用者、群組)。 原則區段中會參考主體。

屬性
content 2 個元素,0 個屬性(秒)
已定義的 全球
NAME SecurityPrincipalsType

XML 來源

<xs:complexType xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="SecurityPrincipalsType">
        <xs:annotation>
            <xs:documentation>Describes the security principals (users, groups) required for this application to run services and secure resources. Principals are referenced in the policies sections.</xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element 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>
            <xs:element name="Users" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Declares a set of users as security principals, which can be referenced in policies.</xs:documentation>
                </xs:annotation>
                <xs:complexType>
                    <xs:sequence>
                        <xs:element name="User" maxOccurs="unbounded">
                            <xs:annotation>
                                <xs:documentation>Declares a user as a security principal, which can be referenced in policies.</xs:documentation>
                            </xs:annotation>
                            <xs:complexType>
                                <xs:sequence>
                                    <xs:element name="NTLMAuthenticationPolicy" minOccurs="0">
                                        <xs:complexType>
                                            <xs:attribute name="IsEnabled" type="xs:boolean" use="optional" default="true"/>
                                            <xs:attribute name="PasswordSecret" type="xs:string" use="required"/>
                                            <xs:attribute name="PasswordSecretEncrypted" type="xs:boolean" use="optional" default="false"/>
                                            <xs:attribute name="X509StoreLocation" use="optional" default="LocalMachine">
                                                <xs:simpleType>
                                                    <xs:restriction base="xs:string">
                                                        <xs:enumeration value="LocalMachine"/>
                                                        <xs:enumeration value="CurrentUser"/>
                                                    </xs:restriction>
                                                </xs:simpleType>
                                            </xs:attribute>
                                                                                        <xs:attribute name="X509StoreName" default="My">
                                                <xs:simpleType>
                                                    <xs:restriction base="xs:string"/>
                                                </xs:simpleType>
                                            </xs:attribute>
                                            <xs:attribute name="X509Thumbprint" type="xs:string"/>
                                        </xs:complexType>
                                    </xs:element>
                                    <xs:element name="MemberOf" minOccurs="0">
                                        <xs:annotation>
                                            <xs:documentation>Users can be added to any existing membership group, so it can inherit all the properties and security settings of that membership group. The membership group can be used to secure external resources that need to be accessed by different services or the same service (on a different machine).</xs:documentation>
                                                                                </xs:annotation>
                                                                                <xs:complexType>
                                                                                        <xs:choice maxOccurs="unbounded">
                                                                                                <xs:element name="SystemGroup" minOccurs="0" maxOccurs="unbounded">
                                                                                                        <xs:annotation>
                                                                                                                <xs:documentation>The system group to add the user to.  The system group must be defined in the Groups section.</xs:documentation>
                                                                                                        </xs:annotation>
                                                                                                        <xs:complexType>
                                                                                                                <xs:attribute name="Name" type="xs:string" use="required">
                                                                                                                        <xs:annotation>
                                                                                                                                <xs:documentation>The name of the system group.</xs:documentation>
                                                                                                                        </xs:annotation>
                                                                                                                </xs:attribute>
                                                                                                        </xs:complexType>
                                                                                                </xs:element>
                                                                                                <xs:element name="Group" minOccurs="0" maxOccurs="unbounded">
                                                                                                        <xs:annotation>
                                                                                                                <xs:documentation>The group to add the user to.  The group must be defined in the Groups section.</xs:documentation>
                                                                                                        </xs:annotation>
                                                                                                        <xs:complexType>
                                                                                                                <xs:attribute name="NameRef" type="xs:string" use="required">
                                                                                                                        <xs:annotation>
                                                                                                                                <xs:documentation>The name of the group.</xs:documentation>
                                                                                                                        </xs:annotation>
                                                                                                                </xs:attribute>
                                                                                                        </xs:complexType>
                                                                                                </xs:element>
                                                                                        </xs:choice>
                                                                                </xs:complexType>
                                                                        </xs:element>
                                                                </xs:sequence>
                                                                <xs:attribute name="Name" type="xs:string" use="required">
                                                                        <xs:annotation>
                                                                                <xs:documentation>Name of the user account.</xs:documentation>
                                                                        </xs:annotation>
                                                                </xs:attribute>
                                                                <xs:attribute name="AccountType" use="optional" default="LocalUser">
                                                                        <xs:annotation>
                                                                                <xs:documentation>Specifies the type of account: LocalUser, DomainUser, NetworkService, LocalService, ManagedServiceAccount, or LocalSystem.  The default is LocalUser. Local user accounts are created on the machines where the application is deployed. By default, these accounts do not have the same names as those specified here. Instead, they are dynamically generated and have random passwords. Supported local system account types are LocalUser, NetworkService, LocalService and LocalSystem. Domain accounts are supported on Windows Server deployments where Azure Active Directory is available.</xs:documentation>
                                                                        </xs:annotation>
                                                                        <xs:simpleType>
                                                                                <xs:restriction base="xs:string">
                                                                                        <xs:enumeration value="LocalUser"/>
                                                                                        <xs:enumeration value="DomainUser"/>
                                                                                        <xs:enumeration value="NetworkService"/>
                                                                                        <xs:enumeration value="LocalService"/>
                                                                                        <xs:enumeration value="ManagedServiceAccount"/>
                                                                                        <xs:enumeration value="LocalSystem"/>
                                                                                </xs:restriction>
                                                                        </xs:simpleType>
                                                                </xs:attribute>
                                                                <xs:attribute name="LoadUserProfile" type="xs:boolean" use="optional" default="false"/>
                                                                <xs:attribute name="PerformInteractiveLogon" type="xs:boolean" use="optional" default="false"/>
                                                                <xs:attributeGroup ref="AccountCredentialsGroup"/>
                                                                <xs:attribute name="PasswordEncrypted" type="xs:boolean" use="optional">
                                                                        <xs:annotation>
                                                                                <xs:documentation>True if the password is encrypted; false if in plain text.</xs:documentation>
                                                                        </xs:annotation>
                                                                </xs:attribute>
                                                        </xs:complexType>
                                                </xs:element>
                                        </xs:sequence>
                                </xs:complexType>
                        </xs:element>
                </xs:sequence>
        </xs:complexType>
        

內容專案詳細數據

群組

將一組群組宣告為安全性主體,可在原則中參考。 如果有多個用戶用於不同的服務進入點,且群組層級必須具有特定通用許可權,則群組會很有用。

屬性
NAME 群組
minOccurs 0

使用者

宣告一組使用者做為安全性主體,可在原則中參考。

屬性
NAME 使用者
minOccurs 0

ServiceAndServiceGroupTypesType complexType

屬性
content 4 個元素(s),0 個屬性(秒)
已定義的 全球
NAME ServiceAndServiceGroupTypesType

XML 來源

<xs:complexType xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="ServiceAndServiceGroupTypesType">
    <xs:choice maxOccurs="unbounded">
      <xs:element name="StatefulServiceType" type="StatefulServiceTypeType"/>
      <xs:element name="StatelessServiceType" type="StatelessServiceTypeType"/>
      <xs:element name="StatefulServiceGroupType" type="StatefulServiceGroupTypeType"/>
      <xs:element name="StatelessServiceGroupType" type="StatelessServiceGroupTypeType"/>
    </xs:choice>
  </xs:complexType>
  

內容專案詳細數據

StatefulServiceType

屬性
NAME StatefulServiceType
type StatefulServiceTypeType

StatelessServiceType

屬性
NAME StatelessServiceType
type StatelessServiceTypeType

StatefulServiceGroupType

屬性
NAME StatefulServiceGroupType
type StatefulServiceGroupTypeType

StatelessServiceGroupType

屬性
NAME StatelessServiceGroupType
type StatelessServiceGroupTypeType

ServiceDiagnosticsType complexType

描述此服務指令清單元件的診斷設定。

屬性
content 1 個元素,0 個屬性(秒)
已定義的 全球
NAME ServiceDiagnosticsType

XML 來源

<xs:complexType xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="ServiceDiagnosticsType">
    <xs:annotation>
      <xs:documentation>Describes the diagnostic settings for the components of this service manifest.</xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element 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>
    </xs:sequence>
  </xs:complexType>
  

內容專案詳細數據

ETW

描述此服務指令清單元件的 ETW 設定。

屬性
NAME ETW
minOccurs 0

ServiceFabricRuntimeAccessPolicyType complexType

屬性
content 0 元素(s),2 個屬性(秒)
已定義的 全球
NAME ServiceFabricRuntimeAccessPolicyType

XML 來源

<xs:complexType xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="ServiceFabricRuntimeAccessPolicyType">
    <xs:attribute name="RemoveServiceFabricRuntimeAccess" type="xs:boolean" default="false">
      <xs:annotation>
        <xs:documentation>Indicates if Fabric Runtime specific information should be exposed to the Code packages in the Service package.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="UseServiceFabricReplicatedStore" type="xs:boolean" default="false">
      <xs:annotation>
        <xs:documentation>Indicates if Service Fabric replicated blockstore should be used to provide volume for containers in service package.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
  </xs:complexType>
  

屬性詳細數據

RemoveServiceFabricRuntimeAccess

指出 Fabric 執行時間特定資訊是否應該公開至服務套件中的程式碼套件。

屬性
NAME RemoveServiceFabricRuntimeAccess
type xs:boolean
預設值 false

UseServiceFabricReplicatedStore

指出 Service Fabric 複寫的區塊存放區是否應該用來為服務套件中的容器提供磁碟區。

屬性
NAME UseServiceFabricReplicatedStore
type xs:boolean
預設值 false

ServiceGroupMemberType complexType

屬性
content 1 個元素,2 個屬性(秒)
已定義的 全球
NAME ServiceGroupMemberType

XML 來源

<xs:complexType xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="ServiceGroupMemberType">
        <xs:sequence>
            <xs:element 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>
        </xs:sequence>
        <xs:attribute name="ServiceTypeName" use="required">
            <xs:annotation>
                <xs:documentation>Type of the service group member.</xs:documentation>
            </xs:annotation>
            <xs:simpleType>
                <xs:restriction base="xs:string">
                    <xs:minLength value="1"/>
                </xs:restriction>
            </xs:simpleType>
        </xs:attribute>
        <xs:attribute name="Name" use="required">
            <xs:annotation>
                <xs:documentation>Name of the service group member relative to the name of the service group.</xs:documentation>
            </xs:annotation>
            <xs:simpleType>
                <xs:restriction base="xs:string">
                    <xs:minLength value="1"/>
                </xs:restriction>
            </xs:simpleType>
        </xs:attribute>
    </xs:complexType>
    

屬性詳細數據

ServiceTypeName

服務群組成員的類型。

屬性
NAME ServiceTypeName
use 必要

名稱

相對於服務群組名稱的服務群組成員名稱。

屬性
NAME 名稱
use 必要

內容專案詳細數據

LoadMetrics

載入此服務所報告的計量。

屬性
NAME LoadMetrics
minOccurs 0

ServiceGroupTypeType complexType

描述具狀態或無狀態 ServiceGroupType 的基底類型。

屬性
content 4 個元素(s),2 個屬性(s)
已定義的 全球
NAME ServiceGroupTypeType

XML 來源

<xs:complexType xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="ServiceGroupTypeType">
    <xs:annotation>
      <xs:documentation>Base type that describes a stateful or a stateless ServiceGroupType.</xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element 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>
      <xs:element name="PlacementConstraints" type="xs:string" minOccurs="0">
        <xs:annotation>
          <xs:documentation>Constraints for the placement of services that are part of this package.</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="ServiceGroupMembers" minOccurs="0" maxOccurs="1">
        <xs:annotation>
          <xs:documentation>Member types of this service group type.</xs:documentation>
        </xs:annotation>
        <xs:complexType>
          <xs:sequence>
            <xs:element ref="ServiceGroupTypeMember" minOccurs="1" maxOccurs="unbounded"/>
          </xs:sequence>
        </xs:complexType>
      </xs:element>
      <xs:element ref="Extensions" minOccurs="0"/>
    </xs:sequence>
    <xs:attribute name="ServiceGroupTypeName" use="required">
      <xs:annotation>
        <xs:documentation>User-defined type identifier for a service group, For example, "ActorQueueSGType". This value is used in the ApplicationManifest.xml file to identify the service group.</xs:documentation>
      </xs:annotation>
      <xs:simpleType>
        <xs:restriction base="xs:string">
          <xs:minLength value="1"/>
        </xs:restriction>
      </xs:simpleType>
    </xs:attribute>
    <xs:attribute name="UseImplicitFactory" type="xs:boolean" use="optional">
      <xs:annotation>
        <xs:documentation>Specifies whether the service group instance is created by the implicit factory. If false (default), one of the code packages must register the service group factory</xs:documentation>
      </xs:annotation>
    </xs:attribute>
  </xs:complexType>
  

屬性詳細數據

ServiceGroupTypeName

服務群組的使用者定義類型標識碼,例如“ActorQueueSGType”。 此值用於 ApplicationManifest.xml 檔案中,以識別服務群組。

屬性
NAME ServiceGroupTypeName
use 必要

UseImplicitFactory

指定是否由隱含處理站建立服務群組實例。 如果為 false (預設值),其中一個程式代碼套件必須註冊服務群組處理站

屬性
NAME UseImplicitFactory
type xs:boolean
use 選用

內容專案詳細數據

LoadMetrics

載入此服務所報告的計量。

屬性
NAME LoadMetrics
minOccurs 0

PlacementConstraints

此套件一部分之服務的放置條件約束。

屬性
NAME PlacementConstraints
type xs:string
minOccurs 0

ServiceGroupMembers

此服務群組類型的成員類型。

屬性
NAME ServiceGroupMembers
minOccurs 0
maxOccurs 1

屬性
ref 擴充
minOccurs 0

ServiceManifestImportPoliciesType complexType

描述要套用至匯入服務指令清單的原則(端點系結、套件共用、執行身分和安全性存取)。

屬性
content 11 個元素,0 個屬性(秒)
已定義的 全球
NAME ServiceManifestImportPoliciesType

XML 來源

<xs:complexType xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="ServiceManifestImportPoliciesType">
    <xs:annotation>
      <xs:documentation>Describes policies (end-point binding, package sharing, run-as, and security access) to be applied on the imported service manifest.</xs:documentation>
    </xs:annotation>
    <xs:choice minOccurs="0" maxOccurs="unbounded">
      <xs:element name="RunAsPolicy" type="RunAsPolicyType" minOccurs="0"/>
      <xs:element name="SecurityAccessPolicy" type="SecurityAccessPolicyType" minOccurs="0"/>
      <xs:element name="PackageSharingPolicy" type="PackageSharingPolicyType" minOccurs="0"/>
      <xs:element 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>
      <xs:element 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>
      <xs:element name="ServicePackageResourceGovernancePolicy" type="ServicePackageResourceGovernancePolicyType" minOccurs="0" maxOccurs="1">
        <xs:annotation>
          <xs:documentation>Defines the resource governance policy that is applied at the level of the entire service package.</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="ResourceGovernancePolicy" type="ResourceGovernancePolicyType" minOccurs="0">
        <xs:annotation>
          <xs:documentation>Specifies resource limits for a codepackage.</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="ServicePackageContainerPolicy" type="ServicePackageContainerPolicyType" 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="ConfigPackagePolicies" type="ConfigPackagePoliciesType" minOccurs="0">
        <xs:annotation>
          <xs:documentation>Config Packages to be mounted inside the container.</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element 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>
    </xs:choice>
  </xs:complexType>
  

內容專案詳細數據

RunAsPolicy

屬性
NAME RunAsPolicy
type RunAsPolicyType
minOccurs 0

SecurityAccessPolicy

屬性
NAME SecurityAccessPolicy
type SecurityAccessPolicyType
minOccurs 0

PackageSharingPolicy

屬性
NAME PackageSharingPolicy
type PackageSharingPolicyType
minOccurs 0

EndpointBindingPolicy

指定應該傳回給 HTTPS 端點用戶端的憑證。

屬性
NAME EndpointBindingPolicy
type EndpointBindingPolicyType
minOccurs 0

ServiceFabricRuntimeAccessPolicy

指定決定 Service Fabric 運行時間如何向複本公開的原則。

屬性
NAME ServiceFabricRuntimeAccessPolicy
type ServiceFabricRuntimeAccessPolicyType
minOccurs 0
maxOccurs 1

ServicePackageResourceGovernancePolicy

定義在整個服務套件層級套用的資源控管原則。

屬性
NAME ServicePackageResourceGovernancePolicy
type ServicePackageResourceGovernancePolicyType
minOccurs 0
maxOccurs 1

ResourceGovernancePolicy

指定程式代碼套件的資源限制。

屬性
NAME ResourceGovernancePolicy
type ResourceGovernancePolicyType
minOccurs 0

ServicePackageContainerPolicy

屬性
NAME ServicePackageContainerPolicy
type ServicePackageContainerPolicyType
minOccurs 0
maxOccurs 1

ContainerHostPolicies

指定啟用容器主機的原則。

屬性
NAME ContainerHostPolicies
type ContainerHostPoliciesType
minOccurs 0

ConfigPackagePolicies

設定要掛接在容器內的套件。

屬性
NAME ConfigPackagePolicies
type ConfigPackagePoliciesType
minOccurs 0

NetworkPolicies

指定網路原則,包括容器網路原則。

屬性
NAME NetworkPolicies
type NetworkPoliciesType
minOccurs 0
maxOccurs 1

ServiceManifestRefType complexType

依參考匯入服務指令清單。 目前,服務指令清單檔案 (ServiceManifest.xml) 必須存在於組建套件中。

屬性
content 0 元素(s),0 屬性(秒)
已定義的 全球
NAME ServiceManifestRefType

XML 來源

<xs:complexType xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="ServiceManifestRefType">
    <xs:annotation>
      <xs:documentation>Imports the service manifest by reference. Currently the service manifest file (ServiceManifest.xml) must be present in the build package.</xs:documentation>
    </xs:annotation>
    <xs:attributeGroup ref="ServiceManifestIdentifier"/>
  </xs:complexType>
  

ServiceManifestType complexType

以宣告方式描述服務類型和版本。 它會列出可獨立升級的程式代碼、組態和數據套件,這些套件會共同撰寫服務套件以支援一或多個服務類型。 也會指定資源、診斷設定和服務元數據,例如服務類型、健康情況屬性和負載平衡計量。

屬性
content 7 個元素,1 個屬性(秒)
已定義的 全球
NAME ServiceManifestType

XML 來源

<xs:complexType xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="ServiceManifestType">
    <xs:annotation>
      <xs:documentation>Declaratively describes the service type and version. It lists the independently upgradeable code, configuration, and data packages that together compose a service package to support one or more service types. Resources, diagnostics settings, and service metadata, such as service type, health properties, and load-balancing metrics, are also specified.</xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="Description" type="xs:string" minOccurs="0">
        <xs:annotation>
          <xs:documentation>Text describing this service.</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="ServiceTypes" type="ServiceAndServiceGroupTypesType">
        <xs:annotation>
          <xs:documentation>Defines what service types are supported by a CodePackage in this manifest. When a service is instantiated against one of these service types, all code packages declared in this manifest are activated by running their entry points. Service types are declared at the manifest level and not the code package level.</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="CodePackage" type="CodePackageType" maxOccurs="unbounded"/>
      <xs:element name="ConfigPackage" type="ConfigPackageType" minOccurs="0" maxOccurs="unbounded"/>
      <xs:element name="DataPackage" type="DataPackageType" minOccurs="0" maxOccurs="unbounded"/>
      <xs:element name="Resources" type="ResourcesType" minOccurs="0"/>
      <xs:element name="Diagnostics" type="ServiceDiagnosticsType" minOccurs="0"/>
    </xs:sequence>
    <xs:attribute name="ManifestId" use="optional" default="" type="xs:string">
      <xs:annotation>
        <xs:documentation>The identifier of this service manifest, an unstructured string.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attributeGroup ref="VersionedName"/>
    <xs:anyAttribute processContents="skip"/> <!-- Allow unknown attributes to be used. -->
  </xs:complexType>
  

屬性詳細數據

ManifestId

此服務指令清單的標識碼,非結構化字串。

屬性
NAME ManifestId
use 選用
預設值
type xs:string

內容專案詳細數據

描述

描述此服務的文字。

屬性
NAME 描述
type xs:string
minOccurs 0

ServiceTypes

定義此指令清單中的 CodePackage 支援哪些服務類型。 當服務針對其中一個服務類型具現化時,此指令清單中宣告的所有程式代碼套件都會藉由執行其進入點來啟動。 服務類型是在指令清單層級宣告,而不是程式碼套件層級。

屬性
NAME ServiceTypes
type ServiceAndServiceGroupTypesType

CodePackage

屬性
NAME CodePackage
type CodePackageType
maxOccurs 無限

ConfigPackage

屬性
NAME ConfigPackage
type ConfigPackageType
minOccurs 0
maxOccurs 無限

DataPackage

屬性
NAME DataPackage
type DataPackageType
minOccurs 0
maxOccurs 無限

資源

屬性
NAME 資源
type ResourcesType
minOccurs 0

診斷

屬性
NAME 診斷
type ServiceDiagnosticsType
minOccurs 0

ServicePackageContainerPolicyType complexType

屬性
content 1 個元素,2 個屬性(秒)
已定義的 全球
NAME ServicePackageContainerPolicyType

XML 來源

<xs:complexType xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="ServicePackageContainerPolicyType">
    <xs:choice minOccurs="0" maxOccurs="unbounded">
      <xs:element 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>
    </xs:choice>
    <xs:attribute name="Hostname" use="optional" type="xs:string">
      <xs:annotation>
        <xs:documentation>Specify Hostname for container.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="Isolation" use="optional" type="xs:string">
      <xs:annotation>
        <xs:documentation>Isolation mode for container. Valid values are "default", "process" or "hyperv".</xs:documentation>
      </xs:annotation>
    </xs:attribute>
  </xs:complexType>
  

屬性詳細數據

主機名稱

指定容器的主機名。

屬性
NAME 主機名稱
use 選用
type xs:string

隔離

容器的隔離模式。 有效值為 “default”、“process” 或 “hyperv”。

屬性
NAME 隔離
use 選用
type xs:string

內容專案詳細數據

PortBinding

指定要系結容器公開埠的端點資源。

屬性
NAME PortBinding
type PortBindingType
minOccurs 0
maxOccurs 無限

ServicePackageResourceGovernancePolicyType complexType

屬性
content 0 元素(s),2 個屬性(秒)
已定義的 全球
NAME ServicePackageResourceGovernancePolicyType

XML 來源

<xs:complexType xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="ServicePackageResourceGovernancePolicyType">
    <xs:attribute name="CpuCores" type="xs:string" use="optional" default="0">
      <xs:annotation>
        <xs:documentation>CPU limit in number of logical cores. Must be a positive integer.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="MemoryInMB" type="xs:string" use="optional" default="0">
      <xs:annotation>
        <xs:documentation>Memory limits in MB. Must be a positive integer.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
  </xs:complexType>
  

屬性詳細數據

CpuCores

邏輯核心數目的 CPU 限制。 必須是正整數。

屬性
NAME CpuCores
type xs:string
use 選用
預設值 0

MemoryInMB

以 MB 為單位的記憶體限制。 必須是正整數。

屬性
NAME MemoryInMB
type xs:string
use 選用
預設值 0

ServicePackageType complexType

ServicePackage 代表已建立版本的部署和啟用單位。 ServicePackage 的版本是根據指令清單版本和覆寫的版本來決定。

屬性
content 11 個元素,4 個屬性(秒)
已定義的 全球
NAME ServicePackageType

XML 來源

<xs:complexType xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="ServicePackageType">
    <xs:annotation>
      <xs:documentation>ServicePackage represents a versioned unit of deployment and activation. The version of the ServicePackage is determined based on the manifest version and the version of the overrides.</xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="Description" type="xs:string" minOccurs="0"/>
      <xs:element name="ServicePackageResourceGovernancePolicy" type="ServicePackageResourceGovernancePolicyType" minOccurs="0" maxOccurs="1"/>
      <xs:element name="ServicePackageContainerPolicy" type="ServicePackageContainerPolicyType" minOccurs="0" maxOccurs="1"/>
      <xs:element name="ServiceFabricRuntimeAccessPolicy" type="ServiceFabricRuntimeAccessPolicyType" minOccurs="0" maxOccurs="1"/>
      <xs:element name="DigestedServiceTypes">
        <xs:complexType>
          <xs:sequence>
            <xs:element name="ServiceTypes" type="ServiceTypesType"/>
          </xs:sequence>
          <xs:attributeGroup ref="VersionedItemAttrGroup"/>
        </xs:complexType>
      </xs:element>
      <xs:element 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>
      <xs:element 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>
      <xs:element 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>
      <xs:element 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>
      <xs:element name="NetworkPolicies" type="NetworkPoliciesType" minOccurs="0" maxOccurs="1"/>
      <xs:element name="Diagnostics" type="ServiceDiagnosticsType"/>
    </xs:sequence>
    <xs:attribute name="Name" type="xs:string" use="required"/>
    <xs:attribute name="ManifestVersion" type="xs:string" use="required"/>
    <xs:attributeGroup ref="VersionedItemAttrGroup"/>
    <xs:attribute name="ManifestChecksum" type="xs:string">
      <xs:annotation>
        <xs:documentation>Checksum value of the ServiceManifest file.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="ContentChecksum" type="xs:string">
      <xs:annotation>
        <xs:documentation>Checksum value of this ServicePackage content.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
  </xs:complexType>
  

屬性詳細數據

名稱

屬性
NAME 名稱
type xs:string
use 必要

ManifestVersion

屬性
NAME ManifestVersion
type xs:string
use 必要

ManifestChecksum

ServiceManifest 檔案的總和檢查碼值。

屬性
NAME ManifestChecksum
type xs:string

ContentChecksum

此 ServicePackage 內容的總和檢查碼值。

屬性
NAME ContentChecksum
type xs:string

內容專案詳細數據

描述

屬性
NAME 描述
type xs:string
minOccurs 0

ServicePackageResourceGovernancePolicy

屬性
NAME ServicePackageResourceGovernancePolicy
type ServicePackageResourceGovernancePolicyType
minOccurs 0
maxOccurs 1

ServicePackageContainerPolicy

屬性
NAME ServicePackageContainerPolicy
type ServicePackageContainerPolicyType
minOccurs 0
maxOccurs 1

ServiceFabricRuntimeAccessPolicy

屬性
NAME ServiceFabricRuntimeAccessPolicy
type ServiceFabricRuntimeAccessPolicyType
minOccurs 0
maxOccurs 1

DigestedServiceTypes

屬性
NAME DigestedServiceTypes

DigestedCodePackage

屬性
NAME DigestedCodePackage
maxOccurs 無限

DigestedConfigPackage

屬性
NAME DigestedConfigPackage
minOccurs 0
maxOccurs 無限

DigestedDataPackage

屬性
NAME DigestedDataPackage
minOccurs 0
maxOccurs 無限

DigestedResources

屬性
NAME DigestedResources
minOccurs 1

NetworkPolicies

屬性
NAME NetworkPolicies
type NetworkPoliciesType
minOccurs 0
maxOccurs 1

診斷

屬性
NAME 診斷
type ServiceDiagnosticsType

ServiceTemplatesType complexType

屬性
content 4 個元素(s),0 個屬性(秒)
已定義的 全球
NAME ServiceTemplatesType

XML 來源

<xs:complexType xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="ServiceTemplatesType">
        <xs:choice minOccurs="0" maxOccurs="unbounded">
            <xs:element name="StatelessService" type="StatelessServiceType"/>
            <xs:element name="StatefulService" type="StatefulServiceType"/>
            <xs:element name="StatelessServiceGroup" type="StatelessServiceGroupType"/>
            <xs:element name="StatefulServiceGroup" type="StatefulServiceGroupType"/>
        </xs:choice>
    </xs:complexType>
    

內容專案詳細數據

StatelessService

屬性
NAME StatelessService
type StatelessServiceType

StatefulService

屬性
NAME StatefulService
type StatefulServiceType

StatelessServiceGroup

屬性
NAME StatelessServiceGroup
type StatelessServiceGroupType

StatefulServiceGroup

屬性
NAME StatefulServiceGroup
type StatefulServiceGroupType

ServiceType complexType

定義 Microsoft Azure Service Fabric 服務的基底類型。

屬性
content 5 個元素,2 個屬性(秒)
已定義的 全球
NAME ServiceType

XML 來源

<xs:complexType xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="ServiceType">
        <xs:annotation>
            <xs:documentation>Base type that defines a Microsoft Azure Service Fabric service.</xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:group ref="PartitionDescriptionGroup"/>
            <xs:element name="LoadMetrics" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Load metrics reported by this service, used for resource balancing services.</xs:documentation>
                </xs:annotation>
                <xs:complexType>
                    <xs:sequence>
                        <xs:element name="LoadMetric" type="LoadMetricType" maxOccurs="unbounded"/>
                    </xs:sequence>
                </xs:complexType>
            </xs:element>
            <xs:element 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>
            <xs:element 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>
            <xs:element name="ServicePlacementPolicies" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Declares placement policies for a service.  Useful when the cluster spans geographic distances or and/or geopolitical regions.</xs:documentation>
                </xs:annotation>
                <xs:complexType>
                    <xs:sequence>
                        <xs:element name="ServicePlacementPolicy" maxOccurs="unbounded">
                            <xs:annotation>
                                <xs:documentation>Defines a service placement policy, which specifies that the service should or should not run in certain cluster fault domains.  Useful when the cluster spans geographic distances or and/or geopolitical regions.</xs:documentation>
                            </xs:annotation>
                            <xs:complexType>
                                <xs:attribute name="DomainName">
                                    <xs:annotation>
                                        <xs:documentation>The fault domain where the service should or should not be placed, depending on the Type value.</xs:documentation>
                                    </xs:annotation>
                                    <xs:simpleType>
                                        <xs:restriction base="xs:string">
                                            <xs:minLength value="1"/>
                                        </xs:restriction>
                                    </xs:simpleType>
                                </xs:attribute>
                                <xs:attribute name="Type" use="required">
                                    <xs:annotation>
                                        <xs:documentation>InvalidDomain allows you to specify that a particular Fault Domain is invalid for this workload. RequiredDomain requires that all of the replicas be present in the specified domain. Multiple required domains can be specified. PreferredPrimaryDomain specifies the preferred Fault Domain for primary replicas. Useful in geographically spanned clusters where you are using other locations for redundancy, but would prefer that the primary replicas be placed in a certain location in order to provider lower latency for operations which go to the primary. RequiredDomainDistribution specifies that replicas are required to be distributed among the available fault domains. NonPartiallyPlace controls if the service replicas will be partially place if not all of them can be placed.</xs:documentation>
                                    </xs:annotation>
                                    <xs:simpleType>
                                        <xs:restriction base="xs:string">
                                            <xs:enumeration value="InvalidDomain"/>
                                            <xs:enumeration value="RequiredDomain"/>
                                            <xs:enumeration value="PreferredPrimaryDomain"/>
                                            <xs:enumeration value="RequiredDomainDistribution"/>
                                            <xs:enumeration value="NonPartiallyPlace"/>
                                        </xs:restriction>
                                    </xs:simpleType>
                                </xs:attribute>
                            </xs:complexType>
                        </xs:element>
                    </xs:sequence>
                </xs:complexType>
            </xs:element>
            <xs:element name="ServiceScalingPolicies" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Declares scaling policies for a service. Useful for dynamically scaling the service based on needs. </xs:documentation>
                </xs:annotation>
                <xs:complexType>
                    <xs:sequence>
                        <xs:element name="ScalingPolicy" type="ScalingPolicyType" maxOccurs="unbounded"/>
                    </xs:sequence>
                </xs:complexType>
            </xs:element>
            <xs:element name="TagsRequiredToPlace" minOccurs="0">
              <xs:annotation>
                <xs:documentation>Declares tags required for placement of a service. </xs:documentation>
              </xs:annotation>
              <xs:complexType>
                <xs:sequence>
                  <xs:element name="TagRequiredToPlace" type="xs:string" maxOccurs="unbounded"/>
                </xs:sequence>
              </xs:complexType>
            </xs:element>
            <xs:element name="TagsRequiredToRun" minOccurs="0">
              <xs:annotation>
                <xs:documentation>Declares tags required for placement and running of a service. <xs:documentation>
              </xs:annotation>
              <xs:complexType>
                <xs:sequence>
                  <xs:element name="TagRequiredToRun" type="xs:string" maxOccurs="unbounded"/>
                </xs:sequence>
              </xs:complexType>
            </xs:element>
        </xs:sequence>
        <xs:attribute name="ServiceTypeName" use="required">
            <xs:annotation>
                <xs:documentation>Name of the service type, declared in the service manifest, that will be instantiated.</xs:documentation>
            </xs:annotation>
            <xs:simpleType>
                <xs:restriction base="xs:string">
                    <xs:minLength value="1"/>
                </xs:restriction>
            </xs:simpleType>
        </xs:attribute>
        <xs:attribute name="DefaultMoveCost">
            <xs:annotation>
                <xs:documentation>Specifies default move cost for this service.</xs:documentation>
            </xs:annotation>
            <xs:simpleType>
                <xs:restriction base="xs:string">
                    <xs:enumeration value="Zero"/>
                    <xs:enumeration value="Low"/>
                    <xs:enumeration value="Medium"/>
                    <xs:enumeration value="High"/>
                </xs:restriction>
            </xs:simpleType>
        </xs:attribute>
    </xs:complexType>
    

屬性詳細數據

ServiceTypeName

服務指令清單中宣告的服務類型名稱,將會具現化。

屬性
NAME ServiceTypeName
use 必要

DefaultMoveCost

指定此服務的預設移動成本。

屬性
NAME DefaultMoveCost

內容專案詳細數據

LoadMetrics

此服務所報告的負載計量,用於資源平衡服務。

屬性
NAME LoadMetrics
minOccurs 0

PlacementConstraints

用來控制服務可在叢集中執行的節點。 索引鍵/值組,描述節點屬性名稱和服務對值的需求。 個別語句可以與簡單的布爾邏輯群組在一起,以建立必要的條件約束。 例如,“(FirmwareVersion>12 && InDMZ == True)”。

屬性
NAME PlacementConstraints
type xs:string
minOccurs 0

ServiceCorrelations

定義服務之間的同質關聯性。

屬性
NAME ServiceCorrelations
minOccurs 0

ServicePlacementPolicies

宣告服務的放置原則。 當叢集跨越地理距離或和/或地緣政治區域時很有用。

屬性
NAME ServicePlacementPolicies
minOccurs 0

ServiceScalingPolicies

宣告服務的調整原則。 適用於根據需求動態調整服務。

屬性
NAME ServiceScalingPolicies
minOccurs 0

TagsRequiredToPlace

宣告放置服務所需的標記。 適用於動態影響服務放置。

屬性
NAME TagsRequiredToPlace
minOccurs 0

TagRequiredToRun

宣告放置和執行服務所需的標記。 適用於動態影響服務放置和執行。

屬性
NAME TagRequiredToRun
minOccurs 0

ServiceTypeExtensionPolicyPropertiesType complexType

定義持續性和收回原則的屬性。

屬性
content 1 個元素,0 個屬性(秒)
已定義的 全球
NAME ServiceTypeExtensionPolicyPropertiesType

XML 來源

<xs:complexType xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="ServiceTypeExtensionPolicyPropertiesType">
    <xs:annotation>
      <xs:documentation>Defines Properties for the Persistence and Eviction policies.</xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element 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>
    </xs:sequence>
  </xs:complexType>
  

內容專案詳細數據

屬性

屬性
NAME 屬性
minOccurs 0
maxOccurs 無限

ServiceTypeHealthPolicyType complexType

屬性
content 0 元素(s),3 個屬性(秒)
已定義的 全球
NAME ServiceTypeHealthPolicyType

XML 來源

<xs:complexType xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="ServiceTypeHealthPolicyType">    
    <xs:attribute name="MaxPercentUnhealthyServices" type="xs:string" use="optional" default="0">
      <xs:annotation>
        <xs:documentation>Specifies the maximum tolerated percentage of unhealthy services before the application is considered unhealthy. Default percentage: 0.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="MaxPercentUnhealthyPartitionsPerService" type="xs:string" use="optional" default="0">
      <xs:annotation>
        <xs:documentation>Specifies the maximum tolerated percentage of unhealthy partitions before a service is considered unhealthy. Default percentage: 0.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="MaxPercentUnhealthyReplicasPerPartition" type="xs:string" use="optional" default="0">
      <xs:annotation>
        <xs:documentation>Specifies the maximum tolerated percentage of unhealthy replicas before a partition is considered unhealthy. Default percentage: 0.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
  </xs:complexType>
  

屬性詳細數據

MaxPercentUnhealthyServices

指定應用程式視為狀況不良之前,容許的最大狀況不良服務百分比。 默認百分比:0。

屬性
NAME MaxPercentUnhealthyServices
type xs:string
use 選用
預設值 0

MaxPercentUnhealthyPartitionsPerService

指定服務視為狀況不良之前,狀況不良數據分割的最大容許百分比。 默認百分比:0。

屬性
NAME MaxPercentUnhealthyPartitionsPerService
type xs:string
use 選用
預設值 0

MaxPercentUnhealthyReplicasPerPartition

指定分割區視為狀況不良之前,狀況不良復本的最大容許百分比。 默認百分比:0。

屬性
NAME MaxPercentUnhealthyReplicasPerPartition
type xs:string
use 選用
預設值 0

ServiceTypeType complexType

描述具狀態或無狀態 ServiceType 的基底類型。

屬性
content 4 個元素,1 個屬性(秒)
已定義的 全球
NAME ServiceTypeType

XML 來源

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

屬性詳細數據

ServiceTypeName

服務的使用者定義類型識別碼。 例如,“QueueType” 或 “CalculatorType”。 此值用於 ApplicationManifest.xml 檔案中,以識別服務。

屬性
NAME ServiceTypeName
use 必要

內容專案詳細數據

LoadMetrics

載入此服務所報告的計量。

屬性
NAME LoadMetrics
minOccurs 0

PlacementConstraints

用來控制服務可在叢集中執行的節點。 索引鍵/值組,描述節點屬性名稱和服務對值的需求。 個別語句可以與簡單的布爾邏輯群組在一起,以建立必要的條件約束。 例如,“(FirmwareVersion>12 && InDMZ == True)”。

屬性
NAME PlacementConstraints
type xs:string
minOccurs 0

ServicePlacementPolicies

宣告服務的放置原則。 當叢集跨越地理距離或和/或地緣政治區域時很有用。

屬性
NAME ServicePlacementPolicies
minOccurs 0

屬性
ref 擴充
minOccurs 0

ServiceTypesType complexType

屬性
content 2 個元素,0 個屬性(秒)
已定義的 全球
NAME ServiceTypesType

XML 來源

<xs:complexType xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="ServiceTypesType">
    <xs:choice maxOccurs="unbounded">
      <xs:element name="StatefulServiceType" type="StatefulServiceTypeType">
        <xs:annotation>
          <xs:documentation>Describes a stateful ServiceType.</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="StatelessServiceType" type="StatelessServiceTypeType">
        <xs:annotation>
          <xs:documentation>Describes a stateless ServiceType.</xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:choice>
  </xs:complexType>
  

內容專案詳細數據

StatefulServiceType

描述具狀態 ServiceType。

屬性
NAME StatefulServiceType
type StatefulServiceTypeType

StatelessServiceType

描述無狀態 ServiceType。

屬性
NAME StatelessServiceType
type StatelessServiceTypeType

設定 OverridesType complexType

宣告要覆寫的服務指令清單中的組態設定。 它包含一或多個索引鍵/值組的區段。 您可以使用 Invoke-ServiceFabricEncryptSecret Cmdlet 來加密參數值。

屬性
content 1 個元素,0 個屬性(秒)
已定義的 全球
NAME 設定 OverridesType

XML 來源

<xs:complexType xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="SettingsOverridesType">
    <xs:annotation>
      <xs:documentation>Declares configuration settings in a service manifest to be overridden. It consists of one or more sections of key-value pairs. Parameter values can be encrypted using the Invoke-ServiceFabricEncryptSecret cmdlet.</xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element 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>
        </xs:sequence>
    </xs:complexType>
    

內容專案詳細數據

區段​​

要覆寫之 設定.xml 檔案中的區段。

屬性
NAME 區段​​
maxOccurs 無限

設定 Type complexType

描述 ServiceComponent 或 Application 的使用者定義設定。 它包含一或多個索引鍵/值組的區段。

屬性
content 1 個元素,0 個屬性(秒)
已定義的 全球
NAME 設定 Type

XML 來源

<xs:complexType xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="SettingsType">
    <xs:annotation>
      <xs:documentation>Describes user-defined settings for a ServiceComponent or an Application. It consists of one or more sections of key-value pairs.</xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element 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>
    </xs:sequence>
  </xs:complexType>
  

內容專案詳細數據

區段​​

用戶定義的具名區段。

屬性
NAME 區段​​
minOccurs 0
maxOccurs 無限

StatefulServiceGroupType complexType

定義具狀態服務群組。

屬性
content 0 元素(s),0 屬性(秒)
已定義的 全球
NAME StatefulServiceGroupType

XML 來源

<xs:complexType xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="StatefulServiceGroupType">
        <xs:annotation>
            <xs:documentation>Defines a stateful service group.</xs:documentation>
        </xs:annotation>
        <xs:complexContent>
            <xs:extension base="StatefulServiceType">
                <xs:sequence>
                    <xs:element 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>
                </xs:sequence>
            </xs:extension>
        </xs:complexContent>
    </xs:complexType>
    

StatefulServiceGroupTypeType complexType

描述具狀態服務群組類型。

屬性
content 0 元素(s),0 屬性(秒)
已定義的 全球
NAME StatefulServiceGroupTypeType

XML 來源

<xs:complexType xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="StatefulServiceGroupTypeType">
    <xs:annotation>
      <xs:documentation>Describes a stateful service group type.</xs:documentation>
    </xs:annotation>
    <xs:complexContent>
      <xs:extension base="ServiceGroupTypeType">
        <xs:attribute name="HasPersistedState" type="xs:boolean" default="false">
          <xs:annotation>
            <xs:documentation>True if the service group has state that needs to be persisted.</xs:documentation>
          </xs:annotation>
        </xs:attribute>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  

StatefulServiceType complexType

定義具狀態服務。

屬性
content 0 元素(s),0 屬性(秒)
已定義的 全球
NAME StatefulServiceType

XML 來源

<xs:complexType xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="StatefulServiceType">
        <xs:annotation>
            <xs:documentation>Defines a stateful service.</xs:documentation>
        </xs:annotation>
        <xs:complexContent>
            <xs:extension base="ServiceType">
                <xs:attribute name="TargetReplicaSetSize" type="xs:string" default="1">
                    <xs:annotation>
                        <xs:documentation>Desired replica set size for the partitions of this stateful service. Must be a positive integer. This is a target size; a replica set is still functional with less members. The quorum is a majority based quorum.</xs:documentation>
                    </xs:annotation>
                </xs:attribute>
                <xs:attribute name="MinReplicaSetSize" type="xs:string" default="1">
                    <xs:annotation>
                        <xs:documentation>Minimum number of replicas required in the replica set to allow writes.  Must be positive integer less than TargetReplicaSetSize. </xs:documentation>
                    </xs:annotation>
                </xs:attribute>
                <xs:attribute name="ReplicaRestartWaitDurationSeconds" type="xs:string" use="optional" default="">
                    <xs:annotation>
                        <xs:documentation>The duration between when a replica goes down and when a new replica is created. When a persistent replica goes down, this timer starts.  When it expires Service Fabric will create a new replica on any node in the cluster.</xs:documentation>
                    </xs:annotation>
                </xs:attribute>
                <xs:attribute name="QuorumLossWaitDurationSeconds" type="xs:string" use="optional" default="">
                    <xs:annotation>
                        <xs:documentation>The maximum duration for which a partition is allowed to be in a state of quorum loss. If the partition is still in quorum loss after this duration, the partition is recovered from quorum loss by considering the down replicas as lost. Note that this can potentially incur data loss.</xs:documentation>
                    </xs:annotation>
                </xs:attribute>
                <xs:attribute name="StandByReplicaKeepDurationSeconds" type="xs:string" use="optional" default="">
                    <xs:annotation>
                        <xs:documentation>How long StandBy replicas should be maintained before being removed. Sometimes a replica will be down for longer than the ReplicaRestartWaitDuration. In these cases a new replica will be built to replace it. Sometimes however the loss is not permanent and the persistent replica is eventually recovered. This now constitutes a StandBy replica.</xs:documentation>
                    </xs:annotation>
                </xs:attribute>
            </xs:extension>
        </xs:complexContent>
    </xs:complexType>
    

StatefulServiceTypeType complexType

描述具狀態服務類型。

屬性
content 0 元素(s),0 屬性(秒)
已定義的 全球
NAME StatefulServiceTypeType

XML 來源

<xs:complexType xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="StatefulServiceTypeType">
    <xs:annotation>
      <xs:documentation>Describes a stateful service type.</xs:documentation>
    </xs:annotation>
    <xs:complexContent>
      <xs:extension base="ServiceTypeType">
        <xs:attribute name="HasPersistedState" type="xs:boolean" default="false">
          <xs:annotation>
            <xs:documentation>True if the service has state that needs to be persisted on the local disk.</xs:documentation>
          </xs:annotation>
        </xs:attribute>
        <xs:attribute name="UseImplicitHost" type="xs:boolean" default="false">
          <xs:annotation>
            <xs:documentation>Specifies if the service type should be implemented implicitly as a guest executable. Guest executables are used for hosting any type of applications (such as Node.js or Java) or legacy applications that do not implement the Service Fabric service interfaces.</xs:documentation>
          </xs:annotation>
        </xs:attribute>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  

StatelessServiceGroupType complexType

定義無狀態服務群組。

屬性
content 0 元素(s),0 屬性(秒)
已定義的 全球
NAME StatelessServiceGroupType

XML 來源

<xs:complexType xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="StatelessServiceGroupType">
        <xs:annotation>
            <xs:documentation>Defines a stateless service group.</xs:documentation>
        </xs:annotation>
        <xs:complexContent>
            <xs:extension base="StatelessServiceType">
                <xs:sequence>
                    <xs:element 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>
                </xs:sequence>
            </xs:extension>
        </xs:complexContent>
    </xs:complexType>
    

StatelessServiceGroupTypeType complexType

描述無狀態服務群組類型。

屬性
content 0 元素(s),0 屬性(秒)
已定義的 全球
NAME StatelessServiceGroupTypeType

XML 來源

<xs:complexType xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="StatelessServiceGroupTypeType">
    <xs:annotation>
      <xs:documentation>Describes a stateless service group type.</xs:documentation>
    </xs:annotation>
    <xs:complexContent>
      <xs:extension base="ServiceGroupTypeType"/>
    </xs:complexContent>
  </xs:complexType>
  

StatelessServiceType complexType

定義無狀態服務。

屬性
content 0 元素(s),0 屬性(秒)
已定義的 全球
NAME StatelessServiceType

XML 來源

<xs:complexType xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="StatelessServiceType">
        <xs:annotation>
            <xs:documentation>Defines a stateless service.</xs:documentation>
        </xs:annotation>
        <xs:complexContent>
            <xs:extension base="ServiceType">
                <xs:attribute name="InstanceCount" type="xs:string" default="1">
                    <xs:annotation>
                        <xs:documentation>Number of instances required for this stateless service (positive integer).</xs:documentation>
                    </xs:annotation>
                </xs:attribute>
            </xs:extension>
        </xs:complexContent>
    </xs:complexType>
    

StatelessServiceTypeType complexType

描述無狀態服務類型。

屬性
content 0 元素(s),0 屬性(秒)
已定義的 全球
NAME StatelessServiceTypeType

XML 來源

<xs:complexType xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="StatelessServiceTypeType">
    <xs:annotation>
      <xs:documentation>Describes a stateless service type.</xs:documentation>
    </xs:annotation>
    <xs:complexContent>
      <xs:extension base="ServiceTypeType">
        <xs:attribute name="UseImplicitHost" type="xs:boolean" default="false">
          <xs:annotation>
            <xs:documentation>Specifies if the service type should be implemented implicitly as a guest executable. Guest executables are used for hosting any type of applications (such as Node.js or Java) or legacy applications that do not implement the Service Fabric service interfaces.</xs:documentation>
          </xs:annotation>
        </xs:attribute>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  

TargetInformationType complexType

屬性
content 2 個元素,0 個屬性(秒)
已定義的 全球
NAME TargetInformationType

XML 來源

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

內容專案詳細數據

CurrentInstallation

屬性
NAME CurrentInstallation
type WindowsFabricDeploymentInformation
minOccurs 0

TargetInstallation

屬性
NAME TargetInstallation
type WindowsFabricDeploymentInformation
minOccurs 1

UnmanagedDllType complexType

不支援,請勿使用。 要裝載的 Unmanaged 元件名稱(例如 Queue.dll)。

屬性
content 0 元素(s),0 屬性(秒)
已定義的 全球
NAME UnmanagedDllType

XML 來源

<xs:complexType xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="UnmanagedDllType">
    <xs:annotation>
        <xs:documentation>Unsupported, do not use. The name of unmanaged assembly (for example, Queue.dll), to host.</xs:documentation>
    </xs:annotation>
    <xs:simpleContent>
      <xs:extension base="xs:string"/>
    </xs:simpleContent>
  </xs:complexType>
  

WindowsFabricDeploymentInformation complexType

屬性
content 0 元素(s),11 個屬性(秒)
已定義的 全球
NAME WindowsFabricDeploymentInformation

XML 來源

<xs:complexType xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="WindowsFabricDeploymentInformation">
    <xs:attribute name="InstanceId" type="xs:string" use="optional">
      <xs:annotation>
        <xs:documentation>This is the target instance of the node.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="MSILocation" type="xs:string" use="optional">
      <xs:annotation>
        <xs:documentation>This is the full path to the MSI location.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="ClusterManifestLocation" type="xs:string" use="optional">
      <xs:annotation>
        <xs:documentation>This is the full path to the Cluster Manifest Location.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="InfrastructureManifestLocation" type="xs:string" use="optional">
      <xs:annotation>
        <xs:documentation>This location of the infrastructure manifest that is internally generated.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="TargetVersion" type="xs:string" use="optional">
      <xs:annotation>
        <xs:documentation>This is the Target Version of the deployment.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="NodeName" type="xs:string" use="optional">
      <xs:annotation>
        <xs:documentation>This is the name of the Node to which the Fabric Upgrade is to happen</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="RemoveNodeState" type="xs:boolean" use="optional" default="false">
        <xs:annotation>
            <xs:documentation>A flag indicating if RemoveNodeState Api should be called after removing node configuration.</xs:documentation>
        </xs:annotation>
    </xs:attribute>
    <xs:attribute name="UpgradeEntryPointExe" type="xs:string" use="optional">
      <xs:annotation>
        <xs:documentation>Name of the exe used by the installer service to upgrade </xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="UpgradeEntryPointExeParameters" type="xs:string" use="optional">
      <xs:annotation>
        <xs:documentation>Parameters to the Setup Entry point exe</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="UndoUpgradeEntryPointExe" type="xs:string" use="optional">
      <xs:annotation>
        <xs:documentation>Name of the exe used by the installer service to undo the upgrade</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="UndoUpgradeEntryPointExeParameters" type="xs:string" use="optional">
      <xs:annotation>
        <xs:documentation>Parameters to the Setup Entry point exe</xs:documentation>
      </xs:annotation>
    </xs:attribute>
  </xs:complexType>
  

屬性詳細數據

InstanceId

這是節點的目標實例。

屬性
NAME InstanceId
type xs:string
use 選用

MSILocation

這是 MSI 位置的完整路徑。

屬性
NAME MSILocation
type xs:string
use 選用

ClusterManifestLocation

這是叢集指令清單位置的完整路徑。

屬性
NAME ClusterManifestLocation
type xs:string
use 選用

InfrastructureManifestLocation

內部產生之基礎結構指令清單的這個位置。

屬性
NAME InfrastructureManifestLocation
type xs:string
use 選用

TargetVersion

這是部署的目標版本。

屬性
NAME TargetVersion
type xs:string
use 選用

NodeName

這是網狀架構升級所要執行之節點的名稱

屬性
NAME NodeName
type xs:string
use 選用

RemoveNodeState

旗標,指出移除節點組態之後是否應該呼叫 RemoveNodeState Api。

屬性
NAME RemoveNodeState
type xs:boolean
use 選用
預設值 false

UpgradeEntryPointExe

安裝程式服務用來升級的 exe 名稱

屬性
NAME UpgradeEntryPointExe
type xs:string
use 選用

UpgradeEntryPointExeParameters

安裝程序進入點 exe 的參數

屬性
NAME UpgradeEntryPointExeParameters
type xs:string
use 選用

UndoUpgradeEntryPointExe

安裝程式服務用來復原升級的 exe 名稱

屬性
NAME UndoUpgradeEntryPointExe
type xs:string
use 選用

UndoUpgradeEntryPointExeParameters

安裝程序進入點 exe 的參數

屬性
NAME UndoUpgradeEntryPointExeParameters
type xs:string
use 選用

WindowsInfrastructureType complexType

屬性
content 1 個元素,0 個屬性(秒)
已定義的 全球
NAME WindowsInfrastructureType

XML 來源

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

內容專案詳細數據

NodeList

屬性
NAME NodeList