Szolgáltatásmodell XML-séma összetett típusai

AppInstanceDefinitionType complexType

Attribútum Value
content 1 elem(ek), 1 attribútum(ok)
Meghatározott Globálisan
név AppInstanceDefinitionType

XML-forrás

<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>


Attribútum részletei

Név

A létrehozandó alkalmazás neve.

Attribútum Value
név Name
típus xs:sztring
Használja kötelező

Tartalomelem részletei

Parameters

Az alkalmazás paramétereinek listája az alkalmazásjegyzékben és azok értékeiben meghatározottak szerint.

Attribútum Value
név Parameters

ApplicationHealthPolicyType complexType

A különböző alkalmazásokkal kapcsolatos entitásokon jelentett állapotesemények kiértékelésére vonatkozó szabályzatot ismerteti. Ha nincs megadva szabályzat, a rendszer azt feltételezi, hogy az entitás nem megfelelő állapotú, ha az állapotjelentés figyelmeztetés vagy hiba.

Attribútum Value
content 2 elem(ek), 2 attribútum(ok)
Meghatározott Globálisan
név ApplicationHealthPolicyType

XML-forrás

<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>
  

Attribútum részletei

ConsiderWarningAsError

Meghatározza, hogy az állapotértékelés során hibaként kezelje-e a figyelmeztetési állapotjelentéseket. Alapértelmezett érték: false (hamis).

Attribútum Value
név ConsiderWarningAsError
típus xs:sztring
Használja választható
alapértelmezett false

MaxPercentUnhealthyDeployedApplications

Meghatározza az üzembe helyezett alkalmazások maximálisan tolerálható százalékos arányát, amely nem megfelelő lehet, mielőtt az alkalmazás hibásnak minősül. Ezt úgy számítjuk ki, hogy elosztjuk a nem kifogástalan üzembe helyezett alkalmazások számát a fürtben jelenleg üzembe helyezett csomópontok számával. A számítás felfelé kerekít, hogy eltűrjön egy hibát kis számú csomóponton. Alapértelmezett százalék: 0.

Attribútum Value
név MaxPercentUnhealthyDeployedApplications
típus xs:sztring
Használja választható
alapértelmezett 0

Tartalomelem részletei

DefaultServiceTypeHealthPolicy

Megadja az alapértelmezett szolgáltatástípus-állapotházirendet, amely az alkalmazás összes szolgáltatástípusának alapértelmezett állapotházirendje helyébe lép.

Attribútum Value
név DefaultServiceTypeHealthPolicy
típus ServiceTypeHealthPolicyType
minOccurs 0

ServiceTypeHealthPolicy

Egy adott szolgáltatástípus szolgáltatásain, partícióin és replikáin jelentett állapotesemények kiértékelésére vonatkozó szabályzatot ismerteti.

Attribútum Value
név ServiceTypeHealthPolicy
minOccurs 0
maxOccurs Korlátos

ApplicationInstanceType complexType

Egy Microsoft Azure Service Fabric-alkalmazás egy példányát ismerteti.

Attribútum Value
content 4 elem( ek), 1 attribútum(ok)
Meghatározott Globálisan
név ApplicationInstanceType

XML-forrás

<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>
  

Attribútum részletei

Verzió

Az ApplicationInstance-dokumentum verziója.

Attribútum Value
név Verzió
típus xs:int
Használja kötelező

Tartalomelem részletei

ApplicationPackageRef

Attribútum Value
név ApplicationPackageRef

ServicePackageRef

Attribútum Value
név ServicePackageRef
maxOccurs Korlátos

ServiceTemplates

Attribútum Value
név ServiceTemplates
típus ServiceTemplatesType

DefaultServices

Attribútum Value
név DefaultServices
típus DefaultServicesType

ApplicationManifestType complexType

Deklaratív módon írja le az alkalmazás típusát és verzióját. A rendszerösszetevő szolgáltatások egy vagy több szolgáltatásjegyzéke egy alkalmazástípus megírására hivatkozik. A rendszerösszetevő szolgáltatások konfigurációs beállításait felül lehet bírálni a paraméteres alkalmazásbeállítások használatával. Az alapértelmezett szolgáltatások, szolgáltatássablonok, egyszerű szolgáltatások, szabályzatok, diagnosztikai beállítások és tanúsítványok az alkalmazás szintjén is deklarálhatók.

Attribútum Value
content 9 elem(ek), 0 attribútum(ok)
Meghatározott Globálisan
név ApplicationManifestType

XML-forrás

<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>
  

Tartalomelem részletei

Leírás

Az alkalmazást leíró szöveg.

Attribútum Value
név Leírás
típus xs:sztring
minOccurs 0

Parameters

Deklarálja az alkalmazásjegyzékben használt paramétereket. Ezeknek a paramétereknek az értéke az alkalmazás példányosításakor adható meg, és az alkalmazás- vagy szolgáltatáskonfigurációs beállítások felülbírálásához használható.

Attribútum Value
név Parameters
minOccurs 0

ServiceManifestImport

Importálja a szolgáltatásfejlesztő által létrehozott szolgáltatásjegyzéket. Az alkalmazás minden egyes rendszerösszetevő szolgáltatásához importálni kell egy szolgáltatásjegyzéket. A konfigurációs felülbírálások és szabályzatok deklarálhatók a szolgáltatásjegyzékhez.

Attribútum Value
név ServiceManifestImport
maxOccurs Korlátos

ServiceTemplates

Deklarálja az alkalmazáspéldányon belül dinamikusan létrehozható engedélyezett szolgáltatástípusokat. Az alapértelmezett konfigurációs értékek, például a replikációs tényező, meg vannak adva, és sablonként szolgálnak a szolgáltatáspéldányok létrehozásához.

Attribútum Value
név ServiceTemplates
típus ServiceTemplatesType
minOccurs 0

DefaultServices

Attribútum Value
név DefaultServices
típus DefaultServicesType
minOccurs 0

Rendszerbiztonsági tagok

Attribútum Value
név Rendszerbiztonsági tagok
típus SecurityPrincipalsType
minOccurs 0

Policies

Attribútum Value
név Policies
típus ApplicationPoliciesType
minOccurs 0

Diagnosztika

Attribútum Value
név Diagnosztika
típus DiagnosticsType
minOccurs 0

Certificates

Deklarálja a végpontok biztonságossá tételéhez vagy titkos kulcsok titkosításához használt tanúsítványokat az alkalmazásjegyzékben vagy a fürtjegyzékben.

Attribútum Value
név Certificates
minOccurs 0

ApplicationPackageType complexType

Az ApplicationPackage a csomópont által igényelt verziószámozott alkalmazásadatokat jelöli.

Attribútum Value
content 2 elem(ek), 2 attribútum(ok)
Meghatározott Globálisan
név ApplicationPackageType

XML-forrás

<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>
  

Attribútum részletei

ApplicationTypeName

Típusazonosító ehhez az alkalmazáshoz.

Attribútum Value
név ApplicationTypeName
típus xs:sztring
Használja kötelező

ContentChecksum

Az ApplicationPackage-tartalom ellenőrzőösszeg-értéke

Attribútum Value
név ContentChecksum
típus xs:sztring

Tartalomelem részletei

DigestedEnvironment

Attribútum Value
név DigestedEnvironment
típus EnvironmentType

DigestedCertificates

Attribútum Value
név DigestedCertificates

ApplicationPoliciesType complexType

Az alkalmazás szintjén alkalmazandó szabályzatokat (naplógyűjtés, alapértelmezett futtatókörnyezet, állapot és biztonsági hozzáférés) ismerteti.

Attribútum Value
content 4 elem(ek), 0 attribútum(ok)
Meghatározott Globálisan
név ApplicationPoliciesType

XML-forrás

<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>
        

Tartalomelem részletei

LogCollectionPolicies

Megadja, hogy engedélyezve van-e a naplógyűjtés. Csak Azure-fürtkörnyezetben működik

Attribútum Value
név LogCollectionPolicies
minOccurs 0

DefaultRunAsPolicy

Adjon meg egy alapértelmezett felhasználói fiókot az összes olyan szolgáltatáskód-csomaghoz, amely nem rendelkezik meghatározott RunAsPolicy-fiókkal a ServiceManifestImport szakaszban.

Attribútum Value
név DefaultRunAsPolicy
minOccurs 0

HealthPolicy

Attribútum Value
név HealthPolicy
típus ApplicationHealthPolicyType
minOccurs 0

SecurityAccessPolicies

Az erőforrásokra alkalmazott biztonsági szabályzatok listája az alkalmazás szintjén.

Attribútum Value
név SecurityAccessPolicies
minOccurs 0

AzureBlobETWType complexType

Az Azure Blob Store ETW-események célhelyét ismerteti. Csak Azure-környezetben működik.

Attribútum Value
content 0 elem(ek), 0 attribútum(ok)
Meghatározott Globálisan
név AzureBlobETWType

XML-forrás

<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

Egy Azure Blob Store-célhelyet ismertet diagnosztikai adatokhoz. Csak Azure-fürtkörnyezetben működik.

Attribútum Value
content 0 elem(ek), 0 attribútum(ok)
Meghatározott Globálisan
név AzureBlobType

XML-forrás

<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

Attribútum Value
content 0 elem(ek), 3 attribútum(ok)
Meghatározott Globálisan
név AzureRoleType

XML-forrás

<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>
  

Attribútum részletei

RoleName

Attribútum Value
név RoleName
típus xs:sztring
Használja kötelező

NodeTypeRef

Attribútum Value
név NodeTypeRef
típus xs:sztring
Használja kötelező

SeedNodeCount

Attribútum Value
név SeedNodeCount
típus xs:int
Használja választható
alapértelmezett 0

AzureStoreBaseType complexType

Az Azure Storage-fiók diagnosztikai tárát ismerteti.

Attribútum Value
content 1 elem(ek), 1 attribútum(ok)
Meghatározott Globálisan
név AzureStoreBaseType

XML-forrás

<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>
  

Attribútum részletei

Csatlakozás ionStringIsEncrypted

Attribútum Value
név Csatlakozás ionStringIsEncrypted
típus xs:sztring
Használja kötelező

Tartalomelem részletei

None

Attribútum Value
Ref Parameters
minOccurs 0

BlackbirdRoleType complexType

Attribútum Value
content 0 elem(ek), 4 attribútum(ok)
Meghatározott Globálisan
név BlackbirdRoleType

XML-forrás

<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>
  

Attribútum részletei

EnvironmentName

Attribútum Value
név EnvironmentName
típus xs:sztring
Használja kötelező

RoleName

Attribútum Value
név RoleName
típus xs:sztring
Használja kötelező

NodeTypeRef

Attribútum Value
név NodeTypeRef
típus xs:sztring
Használja kötelező

IsSeedNode

Attribútum Value
név IsSeedNode
típus xs:logikai
Használja választható
alapértelmezett 0

CertificatesType complexType

Attribútum Value
content 4 elem(ek), 0 attribútum(ok)
Meghatározott Globálisan
név CertificatesType

XML-forrás

<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>
  

Tartalomelem részletei

ClusterCertificate

A fürten belüli kommunikáció biztonságossá tételéhez használt tanúsítvány.

Attribútum Value
név ClusterCertificate
típus FabricCertificateType
minOccurs 0

ServerCertificate

A fürten belüli kommunikáció biztonságossá tételéhez használt tanúsítvány.

Attribútum Value
név ServerCertificate
típus FabricCertificateType
minOccurs 0

ClientCertificate

Az ügyfélkiszolgálók kommunikációjának biztonságossá tételéhez használt alapértelmezett rendszergazdai szerepkör-ügyféltanúsítvány.

Attribútum Value
név ClientCertificate
típus FabricCertificateType
minOccurs 0

UserRoleClientCertificate

Az ügyfélkiszolgálók kommunikációjának biztonságossá tételéhez használt alapértelmezett felhasználói szerepkör-ügyféltanúsítvány.

Attribútum Value
név UserRoleClientCertificate
típus FabricCertificateType
minOccurs 0

ClusterManifestType complexType

Egy Microsoft Azure Service Fabric-fürt leírása.

Attribútum Value
content 4 elem( ek), 3 attribútum(ok)
Meghatározott Globálisan
név ClusterManifestType

XML-forrás

<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>
        

Attribútum részletei

Név

A fürt neve.

Attribútum Value
név Név
Használja kötelező

Verzió

A fürt jegyzékdokumentumának felhasználó által definiált verziósztringje.

Attribútum Value
név Verzió
Használja kötelező

Leírás

A fürtjegyzék leírása.

Attribútum Value
név Leírás

Tartalomelem részletei

NodeTypes

Attribútum Value
név NodeTypes
minOccurs 1

Infrastructure

Attribútum Value
név Infrastructure

Háló Gépház

Attribútum Value
név Háló Gépház
típus Gépház OverridesType
minOccurs 0

Certificates

Attribútum Value
név Certificates
minOccurs 0

CodePackageType complexType

Egy meghatározott szolgáltatástípust támogató kódcsomagot ismertet. Amikor egy szolgáltatás példányosított egy ilyen szolgáltatástípussal, a jegyzékben deklarált összes kódcsomag a belépési pontok futtatásával aktiválódik. Az eredményként kapott folyamatok várhatóan futásidőben regisztrálják a támogatott szolgáltatástípusokat. Ha több kódcsomag is létezik, az összes aktiválva lesz, amikor a rendszer a deklarált szolgáltatástípusok bármelyikét keresi.

Attribútum Value
content 3 elem(ek), 2 attribútum(ok)
Meghatározott Globálisan
név CodePackageType

XML-forrás

<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>
  

Attribútum részletei

IsShared

Azt jelzi, hogy a kódcsomag tartalmát más kódcsomagok osztják-e meg. Ha igaz, a kódcsomag frissítésekor az összes kódcsomag újraindul. Ez az attribútum jelenleg nem támogatott, és az érték figyelmen kívül lesz hagyva.

Attribútum Value
név IsShared
típus xs:logikai
alapértelmezett false

IsActivator

Ez az attribútum csak belső használatra használható.

Attribútum Value
név IsActivator
típus xs:logikai
alapértelmezett false

Tartalomelem részletei

SetupEntryPoint

Olyan kiemelt belépési pont, amely alapértelmezés szerint ugyanazokkal a hitelesítő adatokkal fut, mint a Service Fabric (általában a NETWORK Standard kiadás RVICE-fiók) bármely más belépési pont előtt. Az EntryPoint által megadott végrehajtható fájl általában a hosszú ideig futó szolgáltatásgazda. Egy külön beállítási belépési pont jelenléte esetén nem kell hosszú ideig magas jogosultságokkal futtatni a szolgáltatás gazdagépét.

Attribútum Value
név SetupEntryPoint
minOccurs 0

EntryPoint

Attribútum Value
név EntryPoint
típus EntryPointDescriptionType
minOccurs 1

EnvironmentVariables

Attribútum Value
név EnvironmentVariables
típus EnvironmentVariablesType
minOccurs 0
maxOccurs 1

ConfigOverrideType complexType

Egy adott konfigurációs csomag konfigurációs felülbírálásait ismerteti az importált szolgáltatásjegyzékben.

Attribútum Value
content 1 elem(ek), 1 attribútum(ok)
Meghatározott Globálisan
név ConfigOverrideType

XML-forrás

<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>
  

Attribútum részletei

Név

A felülírandó beállításokat tartalmazó konfigurációs csomag neve a szolgáltatásjegyzékben.

Attribútum Value
név Név
Használja kötelező

Tartalomelem részletei

Settings

Attribútum Value
név Settings
típus Gépház OverridesType
minOccurs 0

ConfigPackageDescriptionType complexType

Deklarál egy mappát a Name attribútummal, amely egy Gépház.xml fájlt tartalmaz. Ez a fájl a felhasználó által definiált kulcs-érték pár beállításainak azon szakaszait tartalmazza, amelyeket a folyamat futásidőben vissza tud olvasni. Ha a frissítés során csak a ConfigPackage verziója módosult, a futó folyamat nem indul újra. Ehelyett a visszahívás értesíti a konfigurációs beállítások módosításának folyamatát, hogy azok dinamikusan betölthetők legyenek.

Attribútum Value
content 0 elem(ek), 4 attribútum(ok)
Meghatározott Globálisan
név ConfigPackageDescriptionType

XML-forrás

<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>
  

Attribútum részletei

Név

A verziószámozott elem neve.

Attribútum Value
név Név
Használja kötelező

SectionName

A ConfigPackage Gépház.xml szakaszneve.

Attribútum Value
név SectionName
Használja kötelező

MountPoint

Attribútum Value
név MountPoint
típus xs:sztring
Használja választható
alapértelmezett

EnvironmentVariableName

Attribútum Value
név EnvironmentVariableName
típus xs:sztring
Használja választható
alapértelmezett

ConfigPackagePoliciesType complexType

Attribútum Value
content 1 elem(ek), 1 attribútum(ok)
Meghatározott Globálisan
név ConfigPackagePoliciesType

XML-forrás

<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>
  

Attribútum részletei

CodePackageRef

Attribútum Value
név CodePackageRef
Használja kötelező

Tartalomelem részletei

ConfigPackage

Attribútum Value
név ConfigPackage
típus ConfigPackageDescriptionType
minOccurs 0
maxOccurs Korlátos

ConfigPackageType complexType

Deklarál egy mappát a Name attribútummal a PackageRoot alatt, amely egy Gépház.xml fájlt tartalmaz. Ez a fájl a felhasználó által definiált kulcs-érték pár beállításainak azon szakaszait tartalmazza, amelyeket a folyamat futásidőben vissza tud olvasni. Ha a frissítés során csak a ConfigPackage verziója módosult, a futó folyamat nem indul újra. Ehelyett a visszahívás értesíti a konfigurációs beállítások módosításának folyamatát, hogy azok dinamikusan betölthetők legyenek.

Attribútum Value
content 0 elem(ek), 0 attribútum(ok)
Meghatározott Globálisan
név ConfigPackageType

XML-forrás

<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

A tárolókörnyezet számára közzéteendő X509-tanúsítvánnyal kapcsolatos információkat adja meg. A tanúsítványt az összes fürtcsomópont LocalMachine tárolójában kell telepíteni. Az alkalmazás indításakor a futtatókörnyezet felolvassa a tanúsítványt, és létrehoz egy PFX-fájlt és jelszót (Windowson) vagy egy PEM-fájlt (Linuxon). A PFX-fájl és a jelszó a tárolóban a Certificates_ServicePackageName_CodePackageName_CertName_PFX és Certificates_ServicePackageName_CodePackageName_CertName_Password környezeti változók használatával érhető el. A PEM-fájl elérhető a tárolóban a Certificates_ServicePackageName_CodePackageName_CertName_PEM és Certificates_ServicePackageName_CodePackageName_CertName_PrivateKey környezeti változók használatával.

Attribútum Value
content 0 elem(ek), 8 attribútum(ok)
Meghatározott Globálisan
név ContainerCertificateType

XML-forrás

<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>
  

Attribútum részletei

X509StoreName

Az X509-tanúsítvány tárolóneve.

Attribútum Value
név X509StoreName
típus xs:sztring
alapértelmezett Saját

X509FindValue

Az X509-tanúsítvány ujjlenyomata.

Attribútum Value
név X509FindValue
típus xs:sztring
Használja választható

DataPackageRef

A tanúsítványfájlokat tartalmazó adatcsomag neve.

Attribútum Value
név DataPackageRef
típus xs:sztring
Használja választható

DataPackageVersion

A tanúsítványfájlokat tartalmazó adatcsomag verziója.

Attribútum Value
név DataPackageVersion
típus xs:sztring
Használja választható

RelativePath

A tanúsítványfájl adatcsomagon belüli relatív elérési útja.

Attribútum Value
név RelativePath
típus xs:sztring
Használja választható

Jelszó

A tanúsítvány jelszava/titkos kulcsa.

Attribútum Value
név Jelszó
típus xs:sztring
Használja választható

IsPasswordEncrypted

Ha igaz, a jelszó értéke titkosítva lesz.

Attribútum Value
név IsPasswordEncrypted
típus xs:logikai
alapértelmezett false

Név

Az adott tanúsítványadatok azonosítója. Ezzel a névvel állíthatja be a környezeti változót a tárolóban.

Attribútum Value
név Name
típus xs:sztring
Használja kötelező

ContainerHealthConfigType complexType

Megadja a tároló docker HEALTHCHECK-integrációs beállításait.

Attribútum Value
content 0 elem(ek), 2 attribútum(ok)
Meghatározott Globálisan
név ContainerHealthConfigType

XML-forrás

<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>  
  

Attribútum részletei

IncludeDockerHealthStatusInSystemHealthReport

Ha a tárolóban engedélyezve van a HEALTHCHECK, és a Docker health_status eseményt jelent ehhez a tárolóhoz, a Service Fabric ezt a rendszer által jelentett állapot részeként fogja tartalmazni. Ha health_status állapota nem megfelelő, a Service Fabric állapotjelzést fog jelenteni. Alapértelmezés szerint igaz értékre van állítva.

Attribútum Value
név IncludeDockerHealthStatusInSystemHealthReport
típus xs:logikai
Használja választható
alapértelmezett true

RestartContainerOnUnhealthyDockerHealthStatus

Ha a tárolóban engedélyezve van a HEALTHCHECK, és a Docker health_status eseményt jelent a tárolóhoz, a Service Fabric újraindítja a tárolót, ha a docker által jelentett health_status állapota nem megfelelő. Alapértelmezés szerint hamis értékre van állítva.

Attribútum Value
név RestartContainerOnUnhealthyDockerHealthStatus
típus xs:logikai
Használja választható
alapértelmezett false

ContainerHostEntryPointType complexType

Attribútum Value
content 4 elem(ek), 0 attribútum(ok)
Meghatározott Globálisan
név ContainerHostEntryPointType

XML-forrás

<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>
  

Tartalomelem részletei

ImageName

Az adattár és a rendszerkép az Azure Container Registryben vagy az https://hub.docker.com Azure Container Registryben.

Attribútum Value
név ImageName
típus xs:sztring

Parancsok

Adja át a parancsok vesszővel tagolt listáját a tárolónak.

Attribútum Value
név Parancsok
típus xs:sztring
minOccurs 0
maxOccurs 1

EntryPoint

Attribútum Value
név EntryPoint
típus xs:sztring
minOccurs 0
maxOccurs 1

FromSource

Attribútum Value
név FromSource
típus xs:sztring
minOccurs 0
maxOccurs 1

ContainerHostPoliciesType complexType

Attribútum Value
content 10 elem(ek), 8 attribútum(ok)
Meghatározott Globálisan
név ContainerHostPoliciesType

XML-forrás

<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>
  

Attribútum részletei

CodePackageRef

Attribútum Value
név CodePackageRef
Használja kötelező

UseDefaultRepositoryCredentials

Az ApplicationManifest.xml fájlban található "Adattár hitelesítő adatai" címkében megadott hitelesítő adatok helyett használja a clusterManifest.xml fájlban megadott alapértelmezett adattár-hitelesítő adatokat.

Attribútum Value
név UseDefaultRepositoryCredentials
típus xs:sztring
Használja választható
alapértelmezett false

UseTokenAuthenticationCredentials

Használjon MSI-jogkivonat-hitelesítést (vagy egyéni végpontot) a hitelesítéshez használt jogkivonat beszerzéséhez.

Attribútum Value
név UseTokenAuthenticationCredentials
típus xs:sztring
Használja választható
alapértelmezett false

Elkülönítés

Tároló elkülönítési módja. Az érvényes értékek az alapértelmezett, a folyamat vagy a Hyper-V (csak Windows-tárolók esetén támogatottak).

Attribútum Value
név Elkülönítés
Használja választható
típus xs:sztring

Hostname (Gazdanév)

Adja meg a tároló állomásnevét.

Attribútum Value
név Hostname (Gazdanév)
Használja választható
típus xs:sztring

ContainersRetentionCount

A tároló ismételt elhalása esetén hátrahagyandó tárolók száma. Alapértelmezés szerint ez 0 értékre van állítva, így a tárolók nem maradnak hátra.

Attribútum Value
név ContainersRetentionCount
Használja választható
típus xs:sztring
alapértelmezett 0

Automatikus helyreállítás

Jelző, amely jelzi, hogy a tárolók eltávolítása automatikusan (igaz) vagy nem (hamis) történik-e, ha a tároló le van állítva. Ha a hamis SF manuálisan távolítja el a tárolókat.

Attribútum Value
név Automatikus helyreállítás
Használja választható
típus xs:sztring

RunInteractive

Futtassa a tárolót, amelyen engedélyezve van az interaktív jelző. Az érvényes értékek igaz/hamisak. alapértelmezés szerint hamis.

Attribútum Value
név RunInteractive
Használja választható
típus xs:sztring

Tartalomelem részletei

Adattár hitelesítő adatai

A tárolólemezkép-adattár hitelesítő adatai a rendszerképek lekéréséhez.

Attribútum Value
név Adattár hitelesítő adatai
típus AdattárCredentialsType
minOccurs 0
maxOccurs 1

HealthConfig

Megadja a tároló docker HEALTHCHECK-integrációs beállításait.

Attribútum Value
név HealthConfig
típus ContainerHealthConfigType
minOccurs 0
maxOccurs 1

PortBinding

Megadja, hogy melyik végponterőforrást kell a közzétett tárolóporthoz kötni.

Attribútum Value
név PortBinding
típus PortBindingType
minOccurs 0
maxOccurs Korlátos

CertificateRef

Olyan tanúsítvány adatait adja meg, amelyek a tároló számára lesznek közzétéve.

Attribútum Value
név CertificateRef
típus ContainerCertificateType
minOccurs 0
maxOccurs Korlátos

LogConfig

Egy tároló naplózási illesztőprogramjának megadása.

Attribútum Value
név LogConfig
típus ContainerLoggingDriverType
minOccurs 0
maxOccurs 1

NetworkConfig

A tároló hálózati konfigurációját adja meg.

Attribútum Value
név NetworkConfig
típus ContainerNetworkConfigType
minOccurs 0
maxOccurs 1

Volume

Megadja a tárolóhoz kötendő kötetet.

Attribútum Value
név Volume
típus ContainerVolumeType
minOccurs 0
maxOccurs Korlátos

SecurityOption

A tároló biztonsági beállításainak megadása.

Attribútum Value
név SecurityOption
típus SecurityOptionsType
minOccurs 0
maxOccurs Korlátos

ImageOverrides

Az elindítandó operációsrendszer-buildszámnak megfelelő képnevek.

Attribútum Value
név ImageOverrides
típus ImageOverridesType
minOccurs 0
maxOccurs 1

Felirat

Megadja a tároló címkéit.

Attribútum Value
név Felirat
típus ContainerLabelType
minOccurs 0
maxOccurs Korlátos

ContainerLabelType complexType

Attribútum Value
content 0 elem(ek), 2 attribútum(ok)
Meghatározott Globálisan
név ContainerLabelType

XML-forrás

<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>
  

Attribútum részletei

Név

Attribútum Value
név Name
típus xs:sztring
Használja kötelező

Érték

Attribútum Value
név Érték
típus xs:sztring
Használja kötelező

ContainerLoggingDriverType complexType

Attribútum Value
content 1 elem(ek), 1 attribútum(ok)
Meghatározott Globálisan
név ContainerLoggingDriverType

XML-forrás

<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>
  

Attribútum részletei

Illesztő

Attribútum Value
név Illesztő
Használja kötelező

Tartalomelem részletei

DriverOption

Az illesztőprogramnak átadandó illesztőprogram-beállítások.

Attribútum Value
név DriverOption
típus DriverOptionType
minOccurs 0
maxOccurs Korlátos

ContainerNetworkConfigType complexType

Attribútum Value
content 0 elem(ek), 1 attribútum(ok)
Meghatározott Globálisan
név ContainerNetworkConfigType

XML-forrás

<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>
  

Attribútum részletei

NetworkType

NetworkType. Jelenleg a támogatott típusok a "Megnyitás" és az "Izolált".

Attribútum Value
név NetworkType
Használja kötelező
típus xs:sztring

ContainerNetworkPolicyEndpointBindingType complexType

Attribútum Value
content 0 elem(ek), 1 attribútum(ok)
Meghatározott Globálisan
név ContainerNetworkPolicyEndpointBindingType

XML-forrás

<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>
  

Attribútum részletei

EndpointRef

A végpont neve, amelyet a szolgáltatásjegyzék Erőforrások szakaszában kell deklarálni.

Attribútum Value
név EndpointRef

ContainerNetworkPolicyType complexType

A szolgáltatáscsomag és a tárolóhálózat közötti társítás, valamint opcionálisan a szolgáltatáscsomag végpontjai és a tárolóhálózat közötti társítás ismertetése.

Attribútum Value
content 1 elem(ek), 1 attribútum(ok)
Meghatározott Globálisan
név ContainerNetworkPolicyType

XML-forrás

<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>
  

Attribútum részletei

NetworkRef

A tárolóhálózat neve (kis- és nagybetűk megkülönböztetése). Egy már létrehozott vagy fenntartott tárolóhálózat nevének kell lennie, beleértve a "Megnyitás" vagy a "NAT" nevet.

Attribútum Value
név NetworkRef
Használja kötelező

Tartalomelem részletei

EndpointBinding

A tárolóhálózaton közzéteendő végpontot adja meg.

Attribútum Value
név EndpointBinding
típus ContainerNetworkPolicyEndpointBindingType
minOccurs 0
maxOccurs Korlátos

ContainerVolumeType complexType

Attribútum Value
content 1 elem( ek), 4 attribútum(ok)
Meghatározott Globálisan
név ContainerVolumeType

XML-forrás

<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>
    

Attribútum részletei

Source

A forrásmappa, amely lehet a tárolókat üzemeltető virtuális gép mappája vagy egy állandó távoli tároló.

Attribútum Value
név Source
Használja kötelező

Destination

A forrásnak a futó tárolón belüli leképezett helye. Így a célhely nem lehet olyan hely, amely már létezik a tárolóban.

Attribútum Value
név Destination
Használja kötelező

Illesztő

Az Azure Files kötet beépülő modul illesztőprogramjának neve "sfazurefile".

Attribútum Value
név Illesztő
Használja választható

IsReadOnly

Attribútum Value
név IsReadOnly
típus xs:logikai
alapértelmezett false

Tartalomelem részletei

DriverOption

Az illesztőprogramnak átadandó illesztőprogram-beállítások.

Attribútum Value
név DriverOption
típus DriverOptionType
minOccurs 0
maxOccurs Korlátos

DataPackageType complexType

Deklarál egy, a Name attribútum által elnevezett mappát a PackageRoot alatt, amely olyan statikus adatfájlokat tartalmaz, amelyeket a folyamat futásidőben használ fel. A Service Fabric újra felhasználja a gazdagépben és a támogatási csomagokban megadott összes EXE-t és DLLHOST-t, amikor a szolgáltatásjegyzékben felsorolt adatcsomagok bármelyike frissül.

Attribútum Value
content 0 elem(ek), 0 attribútum(ok)
Meghatározott Globálisan
név DataPackageType

XML-forrás

<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

Megadja a kódcsomagolás aktiválásakor csatolandó hibakereső adatait.

Attribútum Value
content 4 elem( ek), 10 attribútum(ok)
Meghatározott Globálisan
név DebugParametersType

XML-forrás

<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>
  

Attribútum részletei

ProgramExePath

Attribútum Value
név ProgramExePath

Arguments

Attribútum Value
név Arguments

EntryPointType

Attribútum Value
név EntryPointType
Használja választható
alapértelmezett Elsődleges

CodePackageLinkFolder

Attribútum Value
név CodePackageLinkFolder

ConfigPackageLinkFolder

Attribútum Value
név ConfigPackageLinkFolder

DataPackageLinkFolder

Attribútum Value
név DataPackageLinkFolder

LockFile

Attribútum Value
név LockFile

WorkingFolder

Attribútum Value
név WorkingFolder

DebugParametersFile

Attribútum Value
név DebugParametersFile

EnvironmentBlock

Attribútum Value
név EnvironmentBlock

Tartalomelem részletei

ContainerEntryPoint

Felülírja a tárolók belépési pontjának felülírása, hogy a hibakereső elindítható legyen.

Attribútum Value
név ContainerEntryPoint
típus xs:sztring
minOccurs 0
maxOccurs Korlátos

ContainerMountedVolume

Tárolón belül csatlakoztatandó kötetek.

Attribútum Value
név ContainerMountedVolume
típus xs:sztring
minOccurs 0
maxOccurs Korlátos

ContainerEnvironmentBlock

EnvironmentBlock tárolókhoz.

Attribútum Value
név ContainerEnvironmentBlock
típus xs:sztring
minOccurs 0
maxOccurs Korlátos

ContainerLabel

Tárolók címkéi a key=value formában.

Attribútum Value
név ContainerLabel
típus xs:sztring
minOccurs 0
maxOccurs Korlátos

DefaultServicesType complexType

Deklarálja azokat a szolgáltatáspéldányokat, amelyek automatikusan létrejönnek, amikor egy alkalmazás példányosítása történik az alkalmazástípussal.

Attribútum Value
content 2 elem( ek), 0 attribútum(ok)
Meghatározott Globálisan
név DefaultServicesType

XML-forrás

<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>
    

Tartalomelem részletei

Service

Deklarálja, hogy egy szolgáltatás automatikusan létrejön az alkalmazás példányosításakor.

Attribútum Value
név Service

ServiceGroup

Olyan szolgáltatások gyűjteménye, amelyek automatikusan együtt találhatók, így a feladatátvétel vagy az erőforrás-kezelés során is együtt lesznek áthelyezve.

Attribútum Value
név ServiceGroup

DiagnosticsType complexType

Az alkalmazások diagnosztikai beállításait ismerteti.

Attribútum Value
content 3 elem(ek), 0 attribútum(ok)
Meghatározott Globálisan
név DiagnosticsType

XML-forrás

<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>
  

Tartalomelem részletei

CrashDumpSource

Az összeomlási memóriakép gyűjteményét adja meg. A rendszer összeomlási memóriaképeket gyűjt az alkalmazáshoz tartozó összes szolgáltatás kódcsomagjait üzemeltető végrehajtható fájlokhoz.

Attribútum Value
név CrashDumpSource
minOccurs 0

ETWSource

Az ETW-nyomkövetési gyűjteményt adja meg. A rendszer összegyűjti az ETW-nyomkövetéseket az alkalmazáshoz tartozó összes szolgáltatás által regisztrált szolgáltatók számára.

Attribútum Value
név ETWSource
minOccurs 0

FolderSource

Egy adott mappa tartalmának gyűjteményét adja meg a helyi csomóponton.

Attribútum Value
név FolderSource
minOccurs 0
maxOccurs Korlátos

DllHostEntryPointType complexType

Nem támogatott, ne használja. A DLL-üzemeltetés támogatása (szerelvény belépési pontja) az FWP.exe folyamaton keresztül érhető el. A Service Fabric elindítja a hálófeldolgozó folyamatot (FWP.exe), és betölti a szerelvényt az aktiválási folyamat részeként.

Attribútum Value
content 2 elem( ek), 1 attribútum(ok)
Meghatározott Globálisan
név DllHostEntryPointType

XML-forrás

<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>
  

Attribútum részletei

IsolationPolicy

Nem támogatott, ne használja. Meghatározza a DllHostba betöltött nem felügyelt DLL-ekhez és felügyelt szerelvényekhez tartozó elkülönítési szabályzatot.

Attribútum Value
név IsolationPolicy
Használja választható
alapértelmezett Dedikált folyamat

Tartalomelem részletei

UnmanagedDll

Attribútum Value
név UnmanagedDll
típus UnmanagedDllType

ManagedAssembly

Attribútum Value
név ManagedAssembly
típus ManagedAssemblyType

DriverOptionType complexType

Az illesztőprogramnak átadandó illesztőprogram-beállítások. Az Azure Files kötet beépülő modulja a következő illesztőprogram-beállításokat támogatja: shareName (a tároló kötetét biztosító Azure Files-fájlmegosztás), storageAccountName (az Azure Files-fájlmegosztást tartalmazó Azure-tárfiók), storageAccountKey (Az Azure Files-fájlmegosztást tartalmazó Azure-tárfiók hozzáférési kulcsa). Ez a három illesztőprogram-beállítás szükséges.

Attribútum Value
content 0 elem(ek), 4 attribútum(ok)
Meghatározott Globálisan
név DriverOptionType

XML-forrás

<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>
    

Attribútum részletei

Név

Az illesztőprogram-beállítás neve.

Attribútum Value
név Name
típus xs:sztring
Használja kötelező

Érték

Az illesztőprogram-beállítás értéke.

Attribútum Value
név Érték
típus xs:sztring
Használja kötelező

IsEncrypted

Attribútum Value
név IsEncrypted
típus xs:sztring
Használja választható
alapértelmezett false

Típus

Ez az érték határozza meg az attribútum értékének védelmét. Lehet, hogy SecretsStoreRef/Encrypted/PlainText. Ha a SecretsStoreRef értékre van állítva, az érték a fürt SecureStore-jában titkosítottan tárolt titkos kódra hivatkozik, amely az aktiváláskor vissza lesz állítva és visszafejtve. Ha titkosított értékre van állítva, az alkalmazás fejlesztője felelős egy tanúsítvány létrehozásáért, és a Bizalmas adatok titkosításához használja az Invoke-ServiceFabricEncryptSecret parancsmagot.

Attribútum Value
név Type
típus xs:sztring
Használja választható
alapértelmezett PlainText

EndpointBindingPolicyType complexType

Attribútum Value
content 0 elem(ek), 2 attribútum(ok)
Meghatározott Globálisan
név EndpointBindingPolicyType

XML-forrás

<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>
  

Attribútum részletei

EndpointRef

A végpont neve, amelyet a szolgáltatásjegyzék Erőforrások szakaszában kell deklarálni. HTTPS használata esetén ne használja ugyanazt a portot és tanúsítványt az ugyanazon a csomóponton üzembe helyezett különböző (az alkalmazástól független) szolgáltatáspéldányokhoz. Ha a különböző alkalmazáspéldányokban ugyanazt a portot használó két különböző szolgáltatást frissít, az frissítési hibát fog eredményezni.

Attribútum Value
név EndpointRef

CertificateRef

Az ügyfélhez való visszatéréshez a Tanúsítvány szakaszban deklarált végponttanúsítvány neve.

Attribútum Value
név CertificateRef
Használja kötelező

EndpointCertificateType complexType

A végpont védelméhez használt X509-tanúsítvány adatait adja meg.

Attribútum Value
content 0 elem(ek), 3 attribútum(ok)
Meghatározott Globálisan
név EndpointCertificateType

XML-forrás

<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>
        

Attribútum részletei

X509StoreName

Az X509-tanúsítvány tárolóneve.

Attribútum Value
név X509StoreName
típus xs:sztring
alapértelmezett Saját

X509FindValue

Az X509-tanúsítvány ujjlenyomata.

Attribútum Value
név X509FindValue
Használja kötelező

Name

Attribútum Value
név Name
típus xs:sztring
Használja választható

EndpointOverrideType complexType

Attribútum Value
content 0 elem(ek), 6 attribútum(ok)
Meghatározott Globálisan
név EndpointOverrideType

XML-forrás

<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>
  

Attribútum részletei

Név

A felülbírálandó végpont neve. Egy sztring.

Attribútum Value
név Név
Használja kötelező

Kikötő

A végpont portszáma. Felülbírálja a szolgáltatásjegyzékben szereplő értéket.

Attribútum Value
név Port
típus xs:sztring

Protokoll

A végpont protokollja. Felülbírálja a szolgáltatásjegyzékben szereplő értéket. A HTTPS-végpontoknak rendelkezniük kell egy EndpointCertificate-tal és egy EndpointBindingPolicy-tal is, amely az alkalmazásjegyzékben deklarálva van. A protokoll később nem módosítható egy alkalmazásfrissítés során.

Attribútum Value
név Protokoll
típus xs:sztring
Használja választható

Típus

A végpont típusa. Felülbírálja a szolgáltatásjegyzékben szereplő értéket. A bemeneti végpontok a port külső, belső végpontok alkalmazáson belüli kommunikációjához használatosak.

Attribútum Value
név Type
típus xs:sztring
Használja választható

UriScheme

Az URI-séma. Felülbírálja a szolgáltatásjegyzékben szereplő értéket. Ilyen például a "http", a "https" vagy az "ftp".

Attribútum Value
név UriScheme
Használja választható

PathSuffix

Az elérési út utótagja. Például: "/myapp1". Felülbírálja a szolgáltatásjegyzékben szereplő értéket.

Attribútum Value
név PathSuffix
Használja választható

EndpointType complexType

A szolgáltatás végpontjának meghatározása. Adott portok kérhetők. Ha egy port nincs explicit módon megadva, a rendszer a fenntartott alkalmazás porttartományából rendel hozzá egy portot. A különböző fürtcsomópontokon futó szolgáltatásreplikák különböző portszámokat rendelhetnek hozzá, míg az ugyanazon a csomóponton futó szolgáltatás replikái ugyanazon a porton osztoznak. Ezeket a portokat a szolgáltatásreplikák különböző célokra használhatják, például replikációra vagy ügyfélkérések figyelésére.

Attribútum Value
content 0 elem(ek), 8 attribútum(ok)
Meghatározott Globálisan
név EndpointType

XML-forrás

<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>
  

Attribútum részletei

Név

A végpont neve.

Attribútum Value
név Név
Használja kötelező

Protokoll

A végpont protokollja: http, https, tcp vagy udp. A HTTPS-végpontoknak rendelkezniük kell egy EndpointCertificate-tal és egy EndpointBindingPolicy-tal is, amely az alkalmazásjegyzékben deklarálva van. A protokoll később nem módosítható egy alkalmazásfrissítés során.

Attribútum Value
név Protokoll
Használja választható
alapértelmezett tcp

Típus

A végpont típusa. A bemeneti végpontok a port külső, belső végpontok alkalmazáson belüli kommunikációjához használatosak.

Attribútum Value
név Type
Használja választható
alapértelmezett Belső

CodePackageRef

A végpontot használó kódcsomag neve.

Attribútum Value
név CodePackageRef
Használja választható

CertificateRef

Ne használja, ez az attribútum nem támogatott.

Attribútum Value
név CertificateRef

Kikötő

A portot egy, a Microsoft Azure Service Fabric által meghatározott port váltja fel a Http.sys-ben vagy a BFE-ben való regisztráció után.

Attribútum Value
név Port

UriScheme

Az URI-séma. Ilyen például a "http", a "https" vagy az "ftp".

Attribútum Value
név UriScheme

PathSuffix

Az elérési út utótagja. Például: "/myapp1".

Attribútum Value
név PathSuffix

EntryPointDescriptionType complexType

Az EntryPoint által megadott végrehajtható fájl általában a hosszú ideig futó szolgáltatásgazda. Egy külön beállítási belépési pont jelenléte esetén nem kell hosszú ideig magas jogosultságokkal futtatni a szolgáltatás gazdagépét. Az EntryPoint által megadott végrehajtható fájl a SetupEntryPoint sikeres kilépése után fut. A rendszer figyeli és újraindítja az eredményül kapott folyamatot (a SetupEntryPointtal kezdve), ha bármikor leáll vagy összeomlik.

Attribútum Value
content 3 elem(ek), 0 attribútum(ok)
Meghatározott Globálisan
név EntryPointDescriptionType

XML-forrás

<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>
  

Tartalomelem részletei

ExeHost

Attribútum Value
név ExeHost

DllHost

Attribútum Value
név DllHost
típus DllHostEntryPointType

ContainerHost

Attribútum Value
név ContainerHost
típus ContainerHostEntryPointType

EnvironmentOverridesType complexType

Attribútum Value
content 1 elem(ek), 1 attribútum(ok)
Meghatározott Globálisan
név EnvironmentOverridesType

XML-forrás

<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>

  

Attribútum részletei

CodePackageRef

Attribútum Value
név CodePackageRef
Használja kötelező

Tartalomelem részletei

EnvironmentVariable

Környezeti változó.

Attribútum Value
név EnvironmentVariable
típus EnvironmentVariableOverrideType
minOccurs 0
maxOccurs Korlátos

EnvironmentType complexType

Attribútum Value
content 3 elem(ek), 0 attribútum(ok)
Meghatározott Globálisan
név EnvironmentType

XML-forrás

<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>
    

Tartalomelem részletei

Rendszerbiztonsági tagok

Attribútum Value
név Rendszerbiztonsági tagok
típus SecurityPrincipalsType

Policies

Attribútum Value
név Policies
típus ApplicationPoliciesType

Diagnosztika

Attribútum Value
név Diagnosztika
típus DiagnosticsType

EnvironmentVariableOverrideType complexType

Attribútum Value
content 0 elem(ek), 3 attribútum(ok)
Meghatározott Globálisan
név EnvironmentVariableOverrideType

XML-forrás

<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>  
  

Attribútum részletei

Név

Környezeti változó neve.

Attribútum Value
név Name
típus xs:sztring
Használja kötelező

Érték

Attribútum Value
név Érték

Típus

Attribútum Value
név Type
típus xs:sztring
Használja választható

EnvironmentVariableType complexType

Attribútum Value
content 0 elem(ek), 3 attribútum(ok)
Meghatározott Globálisan
név EnvironmentVariableType

XML-forrás

<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>
  

Attribútum részletei

Név

Környezeti változó neve.

Attribútum Value
név Name
típus xs:sztring
Használja kötelező

Érték

Attribútum Value
név Érték

Típus

A környezeti változó típusa. Ez lehet PlainText/Encrypted/SecretsStoreRef. Ha a SecretStoreRef értékre van állítva, lekérjük a referenciaértéket a SecretStore-ból. Ha titkosított értékre van állítva, az alkalmazás fejlesztője felelős egy tanúsítvány létrehozásáért, és a Bizalmas adatok titkosításához használja az Invoke-ServiceFabricEncryptSecret parancsmagot.

Attribútum Value
név Type
Használja választható
alapértelmezett PlainText

EnvironmentVariablesType complexType

Környezeti változók átadása a tárolónak vagy az exe-nek.

Attribútum Value
content 1 elem( ek), 0 attribútum(ok)
Meghatározott Globálisan
név EnvironmentVariablesType

XML-forrás

<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>
  

Tartalomelem részletei

EnvironmentVariable

Környezeti változó.

Attribútum Value
név EnvironmentVariable
típus EnvironmentVariableType
minOccurs 0
maxOccurs Korlátos

ExeHostEntryPointType complexType

Attribútum Value
content 4 elem( ek), 1 attribútum(ok)
Meghatározott Globálisan
név ExeHostEntryPointType

XML-forrás

<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>
  

Attribútum részletei

IsExternalExecutable

Igaz, ha a végrehajtható fájl kívül esik az alkalmazáscsomagon. A programlétrehozás ellenőrzése kihagyva az alkalmazáscsomagban.

Attribútum Value
név IsExternalExecutable
típus xs:logikai
alapértelmezett false

Tartalomelem részletei

Program

A végrehajtható név. Például: "MySetup.bat" vagy "MyServiceHost.exe".

Attribútum Value
név Program
típus xs:sztring

Arguments

Attribútum Value
név Arguments
típus xs:sztring
minOccurs 0

WorkingFolder

Attribútum Value
név WorkingFolder
alapértelmezett Munka
minOccurs 0

ConsoleRedirection

Figyelmeztetés! Éles alkalmazásokban ne használjon konzolátirányítást, csak helyi fejlesztéshez és hibakereséshez. Átirányítja a konzol kimenetét az indítási szkriptből a "log" nevű alkalmazásmappában lévő kimeneti fájlra azon a fürtcsomóponton, ahol az alkalmazást üzembe helyezik és futtatják.

Attribútum Value
név ConsoleRedirection
minOccurs 0

ExtensionsType complexType

A más elemekre alkalmazható bővítményeket ismerteti.

Attribútum Value
content 1 elem( ek), 0 attribútum(ok)
Meghatározott Globálisan
név ExtensionsType

XML-forrás

<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>
  

Tartalomelem részletei

Extension

Attribútum Value
név Extension
minOccurs 0
maxOccurs Korlátos

FabricCertificateType complexType

Ez adja meg a tanúsítvány adatait.

Attribútum Value
content 0 elem(ek), 5 attribútum(ok)
Meghatározott Globálisan
név FabricCertificateType

XML-forrás

<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>
        

Attribútum részletei

X509StoreName

Az X509-tanúsítvány tárolóneve.

Attribútum Value
név X509StoreName
típus xs:sztring
alapértelmezett Saját

X509FindType

Ez csak akkor használatos, ha a hitelesítő adatok X509-et használnak. Ez megadja, hogyan keresheti meg a tanúsítványt a név vagy az ujjlenyomat alapján

Attribútum Value
név X509FindType
alapértelmezett FindByThumbprint

X509FindValue

Ez csak akkor használatos, ha a hitelesítő adatok X509-et használnak. Ez a tanúsítvány tényleges neve vagy ujjlenyomata.

Attribútum Value
név X509FindValue
Használja kötelező

X509FindValueSecondary

Ezt csak akkor használja a rendszer, ha a hitelesítő adatok X509-et használnak. Ez a tanúsítvány tényleges neve vagy ujjlenyomata.

Attribútum Value
név X509FindValueSecondary
Használja választható
alapértelmezett

Név

Attribútum Value
név Name
típus xs:sztring
Használja választható

FabricEndpointsType complexType

Attribútum Value
content 21 elem(ek), 0 attribútum(ok)
Meghatározott Globálisan
név FabricEndpointsType

XML-forrás

<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>

  

Tartalomelem részletei

Ügyfél Csatlakozás ionEndpoint

Attribútum Value
név Ügyfél Csatlakozás ionEndpoint
típus InputEndpointType

LeaseDriverEndpoint

Attribútum Value
név LeaseDriverEndpoint
típus InternalEndpointType

Fürt Csatlakozás ionEndpoint

Attribútum Value
név Fürt Csatlakozás ionEndpoint
típus InternalEndpointType

HttpGatewayEndpoint

Attribútum Value
név HttpGatewayEndpoint
típus InputEndpointType
minOccurs 0

HttpApplicationGatewayEndpoint

Attribútum Value
név HttpApplicationGatewayEndpoint
típus InputEndpointType
minOccurs 0

Service Csatlakozás ionEndpoint

Attribútum Value
név Service Csatlakozás ionEndpoint
típus InternalEndpointType
minOccurs 0

ClusterManagerReplicatorEndpoint

Attribútum Value
név ClusterManagerReplicatorEndpoint
típus InternalEndpointType
minOccurs 0

RepairManagerReplicatorEndpoint

Attribútum Value
név RepairManagerReplicatorEndpoint
típus InternalEndpointType
minOccurs 0

NamingReplicatorEndpoint

Attribútum Value
név NamingReplicatorEndpoint
típus InternalEndpointType
minOccurs 0

FeladatátvételManagerReplicatorEndpoint

Attribútum Value
név FeladatátvételManagerReplicatorEndpoint
típus InternalEndpointType
minOccurs 0

ImageStoreServiceReplicatorEndpoint

Attribútum Value
név ImageStoreServiceReplicatorEndpoint
típus InternalEndpointType
minOccurs 0

UpgradeServiceReplicatorEndpoint

Attribútum Value
név UpgradeServiceReplicatorEndpoint
típus InternalEndpointType
minOccurs 0

FaultAnalysisServiceReplicatorEndpoint

Attribútum Value
név FaultAnalysisServiceReplicatorEndpoint
típus InternalEndpointType
minOccurs 0

BackupRestoreServiceReplicatorEndpoint

Attribútum Value
név BackupRestoreServiceReplicatorEndpoint
típus InternalEndpointType
minOccurs 0

UpgradeOrchestrationServiceReplicatorEndpoint

Attribútum Value
név UpgradeOrchestrationServiceReplicatorEndpoint
típus InternalEndpointType
minOccurs 0

CentralSecretServiceReplicatorEndpoint

Attribútum Value
név CentralSecretServiceReplicatorEndpoint
típus InternalEndpointType
minOccurs 0

EventStoreServiceReplicatorEndpoint

Attribútum Value
név EventStoreServiceReplicatorEndpoint
típus InternalEndpointType
minOccurs 0

GatewayResourceManagerReplicatorEndpoint

Attribútum Value
név GatewayResourceManagerReplicatorEndpoint
típus InternalEndpointType
minOccurs 0

DefaultReplicatorEndpoint

Attribútum Value
név DefaultReplicatorEndpoint
típus InternalEndpointType
minOccurs 0

ApplicationEndpoints

Attribútum Value
név ApplicationEndpoints
minOccurs 0

Rövid élettartamú pontok

Attribútum Value
név Rövid élettartamú pontok
minOccurs 0

FabricKtlLogger Gépház Type complexType

Attribútum Value
content 3 elem(ek), 0 attribútum(ok)
Meghatározott Globálisan
név FabricKtlLogger Gépház Type

XML-forrás

<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>

  

Tartalomelem részletei

SharedLogFilePath

Meghatározza a megosztott napló elérési útját.

Attribútum Value
név SharedLogFilePath
minOccurs 0

SharedLogFileId

A megosztott naplóazonosítóként használandó egyedi GUID.

Attribútum Value
név SharedLogFileId
minOccurs 0

SharedLogFileSizeInMB

Meghatározza, hogy mekkora a megosztott napló.

Attribútum Value
név SharedLogFileSizeInMB
minOccurs 0

FabricNodeType complexType

Egy Microsoft Azure Service Fabric-csomópont ismertetése.

Attribútum Value
content 0 elem(ek), 6 attribútum(ok)
Meghatározott Globálisan
név FabricNodeType

XML-forrás

<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>
  

Attribútum részletei

NodeName

A csomópontpéldány neve.

Attribútum Value
név NodeName
típus xs:sztring
Használja kötelező

IPAddressOrFQDN

Annak a gépnek az IP-címe vagy teljes tartománynévje, amelyre a csomópontot helyezni szeretné.

Attribútum Value
név IPAddressOrFQDN
típus xs:sztring
Használja kötelező

IsSeedNode

Egy jelző, amely jelzi, hogy ez a csomópont egy magcsomópont-e.

Attribútum Value
név IsSeedNode
típus xs:logikai
alapértelmezett false

NodeTypeRef

A NodeTypes szakaszban definiált csomóponttípus neve.

Attribútum Value
név NodeTypeRef
típus xs:sztring
Használja kötelező

FaultDomain

A csomópont tartalék tartománya.

Attribútum Value
név FaultDomain
típus xs:anyURI
Használja választható

UpgradeDomain

A csomópont frissítési tartománya.

Attribútum Value
név UpgradeDomain
típus xs:anyURI
Használja választható

FileStoreETWType complexType

Az ETW-események fájltároló célhelyét ismerteti. Csak helyszíni környezetben működik.

Attribútum Value
content 0 elem(ek), 0 attribútum(ok)
Meghatározott Globálisan
név FileStoreETWType

XML-forrás

<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

A diagnosztikai adatok fájltároló célhelyét ismerteti. Csak önálló fürtkörnyezetben működik.

Attribútum Value
content 1 elem(ek), 2 attribútum(ok)
Meghatározott Globálisan
név FileStoreType

XML-forrás

<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>
  

Attribútum részletei

AccountType

Megadja a fiók típusát.

Attribútum Value
név AccountType
típus xs:sztring

PasswordEncrypted

Megadja, hogy a jelszó titkosított vagy egyszerű szöveg-e.

Attribútum Value
név PasswordEncrypted
típus xs:sztring

Tartalomelem részletei

None

Attribútum Value
Ref Parameters
minOccurs 0

ImageOverridesType complexType

Előfordulhat, hogy a Windows Server-tárolók nem kompatibilisek az operációs rendszer különböző verzióival. Tárolónként több operációsrendszer-lemezképet is megadhat, és megjelölheti őket az operációs rendszer buildverzióival. Az operációs rendszer buildverziójának lekéréséhez futtassa a "winver" parancsot egy Windows parancssorban. Ha a mögöttes operációs rendszer az 16299-es buildverzió (Windows Server 1709-es verzió), a Service Fabric az Os="16299" címkével ellátott tárolórendszerképet választja ki. A rendszer feltételezi, hogy egy nem megjelölt tárolórendszerkép az operációs rendszer összes verziójában működik, és felülbírálja a szolgáltatásjegyzékben megadott rendszerképet.

Attribútum Value
content 1 elem( ek), 0 attribútum(ok)
Meghatározott Globálisan
név ImageOverridesType

XML-forrás

<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>
  

Tartalomelem részletei

Kép

Az elindítandó operációsrendszer-build verziószámának megfelelő tárolórendszerkép. Ha az operációsrendszer-attribútum nincs megadva, a tároló lemezképe az operációs rendszer minden verziójában működik, és felülbírálja a szolgáltatásjegyzékben megadott rendszerképet.

Attribútum Value
név Kép
típus ImageType
minOccurs 0
maxOccurs Korlátos

ImageType complexType

Attribútum Value
content 0 elem(ek), 2 attribútum(ok)
Meghatározott Globálisan
név Képtípus

XML-forrás

<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>
  

Attribútum részletei

Név

Tárolórendszerkép neve.

Attribútum Value
név Name
típus xs:sztring
Használja kötelező

Os

Az operációs rendszer buildverziója. A Windows Server 1709-es buildverziója például 16299.

Attribútum Value
név Os
típus xs:sztring
Használja választható

InfrastructureInformationType complexType

A Microsoft Azure Service Fabric-fürt infrastruktúraadatait tartalmazza.

Attribútum Value
content 1 elem( ek), 0 attribútum(ok)
Meghatározott Globálisan
név InfrastructureInformationType

XML-forrás

<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>
  

Tartalomelem részletei

NodeList

Attribútum Value
név NodeList

InfrastructureNodeType complexType

A szükséges infrastruktúra-információkat ismerteti.

Attribútum Value
content 2 elem( ek), 7 attribútum(ok)
Meghatározott Globálisan
név InfrastructureNodeType

XML-forrás

<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>
  

Attribútum részletei

NodeName

A csomópontpéldány neve.

Attribútum Value
név NodeName
típus xs:sztring
Használja kötelező

IPAddressOrFQDN

Annak a gépnek az IP-címe vagy teljes tartománynévje, amelyre a csomópontot helyezni szeretné.

Attribútum Value
név IPAddressOrFQDN
típus xs:sztring
Használja kötelező

RoleOrTierName

Annak a szerepkörnek a neve, amely a NodeTypes szakaszban definiált csomóponttípus-hivra hivatkozik.

Attribútum Value
név RoleOrTierName
típus xs:sztring
Használja kötelező

NodeTypeRef

A NodeTypes szakaszban definiált csomóponttípus neve.

Attribútum Value
név NodeTypeRef
típus xs:sztring
Használja kötelező

IsSeedNode

Azt jelzi, hogy a csomópont egy magcsomópont-e.

Attribútum Value
név IsSeedNode
típus xs:logikai
Használja választható
alapértelmezett false

FaultDomain

A csomópont tartalék tartománya.

Attribútum Value
név FaultDomain
típus xs:anyURI
Használja választható

UpgradeDomain

A csomópont frissítési tartománya.

Attribútum Value
név UpgradeDomain
típus xs:anyURI
Használja választható

Tartalomelem részletei

Endpoints

Az ehhez a csomóponttípushoz társított végpontok leírása

Attribútum Value
név Endpoints
típus FabricEndpointsType
minOccurs 0

Certificates

Az ehhez a csomóponttípushoz társított tanúsítványok ismertetése

Attribútum Value
név Certificates
típus CertificatesType
minOccurs 0

InputEndpointType complexType

Attribútum Value
content 0 elem(ek), 2 attribútum(ok)
Meghatározott Globálisan
név InputEndpointType

XML-forrás

<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>
  

Attribútum részletei

Kikötő

Attribútum Value
név Port
típus xs:positiveInteger
Használja kötelező

Protokoll

Attribútum Value
név Protokoll
Használja választható
alapértelmezett tcp

InternalEndpointType complexType

Attribútum Value
content 0 elem(ek), 2 attribútum(ok)
Meghatározott Globálisan
név InternalEndpointType

XML-forrás

<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>
  

Attribútum részletei

Kikötő

Attribútum Value
név Port
típus xs:positiveInteger
Használja kötelező

Protokoll

Attribútum Value
név Protokoll
Használja választható
alapértelmezett tcp

KeyValuePairType complexType

Attribútum Value
content 0 elem(ek), 0 attribútum(ok)
Meghatározott Globálisan
név KeyValuePairType

XML-forrás

<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

Attribútum Value
content 1 elem( ek), 0 attribútum(ok)
Meghatározott Globálisan
név LinuxInfrastructureType

XML-forrás

<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>
        

Tartalomelem részletei

NodeList

Attribútum Value
név NodeList

LoadMetricType complexType

Egy erőforrás, amelyen a szolgáltatásnak ki kell egyensúlyoznia, például a memória vagy a PROCESSZORhasználat. Információkat tartalmaz arról, hogy a szolgáltatás egyes replikái vagy példányai alapértelmezés szerint mennyi erőforrást használnak fel.

Attribútum Value
content 0 elem(ek), 5 attribútum(ok)
Meghatározott Globálisan
név LoadMetricType

XML-forrás

<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>
  

Attribútum részletei

Név

A fürtben lévő metrika egyedi azonosítója a Fürterőforrás-kezelő szemszögéből.

Attribútum Value
név Név
Használja kötelező

DefaultLoad

Az állapot nélküli szolgáltatás által a metrikához létrehozott alapértelmezett terhelés.

Attribútum Value
név DefaultLoad
típus xs:long
Használja választható
alapértelmezett 0

PrimaryDefaultLoad

A szolgáltatás által az elsődleges replika esetében a metrika által gyakorolt alapértelmezett terhelés.

Attribútum Value
név PrimaryDefaultLoad
típus xs:long
Használja választható
alapértelmezett 0

SecondaryDefaultLoad

A szolgáltatás által másodlagos replikaként használt metrika alapértelmezett terhelése.

Attribútum Value
név SecondaryDefaultLoad
típus xs:long
Használja választható
alapértelmezett 0

Betűvastagság

Meghatározza a metrika súlyát a szolgáltatáshoz konfigurált többi metrikához képest. Futásidőben, ha két metrika ütközik, a fürterőforrás-kezelő a nagyobb súlyú metrikát részesíti előnyben. A Nulla letiltja a terheléselosztást ehhez a metrikához.

Attribútum Value
név Betűvastagság

LocalStoreETWType complexType

Az ETW-események csomóponton belüli tárolási célját ismerteti.

Attribútum Value
content 0 elem(ek), 0 attribútum(ok)
Meghatározott Globálisan
név LocalStoreETWType

XML-forrás

<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

A diagnosztikai adatok csomóponton belüli tárolási célját ismerteti.

Attribútum Value
content 1 elem( ek), 0 attribútum(ok)
Meghatározott Globálisan
név LocalStoreType

XML-forrás

<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>
  

Tartalomelem részletei

None

Attribútum Value
Ref Parameters
minOccurs 0

LogicalDirectoryType complexType

Logikaikönyvtár-típust ír le.

Attribútum Value
content 0 elem(ek), 3 attribútum(ok)
Meghatározott Globálisan
név LogicalDirectoryType

XML-forrás

<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>
  

Attribútum részletei

LogicalDirectoryName

A LogicalDirectory neve.

Attribútum Value
név LogicalDirectoryName
típus xs:sztring
Használja kötelező

Megfeleltetés

A LogicalDirectory elérési útja.

Attribútum Value
név Megfeleltetés
típus xs:sztring
Használja kötelező

Környezet

Attribútum Value
név Környezet
Használja választható
alapértelmezett alkalmazás

ManagedAssemblyType complexType

Nem támogatott, ne használja. A gazdagéphez tartozó felügyelt szerelvény (például Queue.dll) neve.

Attribútum Value
content 0 elem(ek), 0 attribútum(ok)
Meghatározott Globálisan
név ManagedAssemblyType

XML-forrás

<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

A szolgáltatáscsomaghoz tartozó hálózati házirendeket, köztük a tárolóhálózati házirendeket ismerteti.

Attribútum Value
content 1 elem( ek), 0 attribútum(ok)
Meghatározott Globálisan
név NetworkPoliciesType

XML-forrás

<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>
  

Tartalomelem részletei

ContainerNetworkPolicy

A szolgáltatáscsomag tárolóhálózati házirendjeinek ismertetése.

Attribútum Value
név ContainerNetworkPolicy
típus ContainerNetworkPolicyType
minOccurs 0
maxOccurs Korlátos

PaaSRoleType complexType

Attribútum Value
content 0 elem(ek), 3 attribútum(ok)
Meghatározott Globálisan
név PaaSRoleType

XML-forrás

<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>
  

Attribútum részletei

RoleName

Attribútum Value
név RoleName
típus xs:sztring
Használja kötelező

NodeTypeRef

Attribútum Value
név NodeTypeRef
típus xs:sztring
Használja kötelező

RoleNodeCount

Attribútum Value
név RoleNodeCount
típus xs:int
Használja kötelező

PaaSVoteType complexType

Attribútum Value
content 0 elem(ek), 3 attribútum(ok)
Meghatározott Globálisan
név PaaSVoteType

XML-forrás

<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>
  

Attribútum részletei

NodeName

Attribútum Value
név NodeName
Használja kötelező

IPAddressOrFQDN

Attribútum Value
név IPAddressOrFQDN
Használja kötelező

Kikötő

Attribútum Value
név Port
típus xs:int
Használja kötelező

PackageSharingPolicyType complexType

Azt jelzi, hogy egy kódot, konfigurációt vagy adatcsomagot meg kell-e osztani az azonos szolgáltatástípusú szolgáltatáspéldányok között.

Attribútum Value
content 0 elem(ek), 2 attribútum(ok)
Meghatározott Globálisan
név PackageSharingPolicyType

XML-forrás

<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>
  

Attribútum részletei

PackageRef

A megosztani kívánt kód, konfiguráció vagy adatcsomag neve. Meg kell egyeznie a szolgáltatásjegyzékben definiált csomag nevével.

Attribútum Value
név PackageRef

Scope

Attribútum Value
név Scope
alapértelmezett None

ParameterType complexType

Attribútum Value
content 0 elem(ek), 1 attribútum(ok)
Meghatározott Globálisan
név ParameterType

XML-forrás

<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>
        

Attribútum részletei

IsEncrypted

Ha igaz, a paraméter értéke titkosítva van

Attribútum Value
név IsEncrypted
típus xs:sztring

ParametersType complexType

Attribútum Value
content 1 elem( ek), 0 attribútum(ok)
Meghatározott Globálisan
név ParametersType

XML-forrás

<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>
        

Tartalomelem részletei

Paraméter

Attribútum Value
név Paraméter
típus ParameterType
minOccurs 1
maxOccurs Korlátos

PortBindingType complexType

Attribútum Value
content 0 elem(ek), 2 attribútum(ok)
Meghatározott Globálisan
név PortBindingType

XML-forrás

<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>
  

Attribútum részletei

ContainerPort

Tárolóport száma.

Attribútum Value
név ContainerPort
típus xs:int
Használja kötelező

EndpointRef

Attribútum Value
név EndpointRef

AdattárCredentialsType complexType

Attribútum Value
content 0 elem(ek), 3 attribútum(ok)
Meghatározott Globálisan
név AdattárCredentialsType

XML-forrás

<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>
  

Attribútum részletei

PasswordEncrypted

Megadja, hogy a jelszó titkosított vagy egyszerű szöveg-e. Ez az attribútum elavult. A titkosított jelszó jelzéséhez használja a "Type" attribútumot.

Attribútum Value
név PasswordEncrypted
típus xs:logikai
Használja választható

Email

Attribútum Value
név Email

Típus

Ez az érték határozza meg a Jelszó attribútumban megadott jelszó típusát. Ez lehet a SecretsStoreRef/Encrypted/PlainText. Ha a SecretStoreRef értékre van állítva, lekérjük a referenciaértéket a SecretStore-ból. Ha titkosított értékre van állítva, az alkalmazás fejlesztője felelős egy tanúsítvány létrehozásáért, és a Bizalmas adatok titkosításához használja az Invoke-ServiceFabricEncryptSecret parancsmagot.

Attribútum Value
név Type
típus xs:sztring
Használja választható

ResourceGovernancePolicyType complexType

Korlátozza a gazdagépen használható erőforrásokat, és deklarálja egy szolgáltatáskódcsomag erőforráskorlátait.

Attribútum Value
content 0 elem(ek), 12 attribútum(ok)
Meghatározott Globálisan
név ResourceGovernancePolicyType

XML-forrás

<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>
  

Attribútum részletei

CodePackageRef

Attribútum Value
név CodePackageRef
Használja kötelező

MemoryInMB

Memóriakorlátok MB-ban. Pozitív egész számnak kell lennie. A kódcsomagok (tárolók vagy folyamatok) nem tudnak ennél a korlátnál több memóriát lefoglalni, és ennek megkísérlése memóriahiány miatti kivételt eredményez.

Attribútum Value
név MemoryInMB
típus xs:sztring
Használja választható
alapértelmezett 0

MemorySwapInMB

A felcserélhető memória teljes mennyisége MB-ban. Pozitív egész számnak kell lennie.

Attribútum Value
név MemorySwapInMB
típus xs:sztring
Használja választható
alapértelmezett 0

MemoryReservationInMB

A memóriaszabályozás helyreállítható korlátja (MB-ban), amely csak akkor lesz kényszerítve, ha memória versengés észlelhető a csomóponton. Pozitív egész számnak kell lennie.

Attribútum Value
név MemoryReservationInMB
típus xs:sztring
Használja választható
alapértelmezett 0

CpuShares

Relatív cpu-súly. Pozitív egész számnak kell lennie.

Attribútum Value
név CpuShares
típus xs:sztring
Használja választható
alapértelmezett 0

CpuPercent

Az elérhető CPU-k használható százalékos aránya (csak Windows esetén). Pozitív egész számnak kell lennie. Ha a szolgáltatáscsomag cpu-korlátai vannak megadva, ezt a paramétert a rendszer ténylegesen figyelmen kívül hagyja.

Attribútum Value
név CpuPercent
típus xs:sztring
Használja választható
alapértelmezett 0

MaximumIOps

Maximális I/O-sebesség (olvasás és írás) a használható IOPS-ban. Pozitív egész számnak kell lennie.

Attribútum Value
név MaximumIOps
típus xs:sztring
Használja választható
alapértelmezett 0

MaximumIOBandwidth

A maximálisan használható I/O (bájt/másodperc) (olvasás és írás). Pozitív egész számnak kell lennie.

Attribútum Value
név MaximumIOBandwidth
típus xs:sztring
Használja választható
alapértelmezett 0

BlockIOWeight

Az IO-súly blokkolása más kódcsomagokhoz képest. 10 és 1000 közötti pozitív egész számnak kell lennie.

Attribútum Value
név BlockIOWeight
típus xs:sztring
Használja választható
alapértelmezett 0

DiskQuotaInMB

Tárolók lemezkvótája. Pozitív egész számnak kell lennie.

Attribútum Value
név DiskQuotaInMB
típus xs:sztring
Használja választható
alapértelmezett 0

KernelMemoryInMB

A kernel memóriakorlátjai bájtban. Pozitív egész számnak kell lennie. Vegye figyelembe, hogy ez Linux-specifikus, és ha ez be van állítva, a windowsos Docker hibát jelez.

Attribútum Value
név KernelMemoryInMB
típus xs:sztring
Használja választható
alapértelmezett 0

ShmSizeInMB

A /dev/shm mérete bájtban. Ha nincs megadva, a rendszer 64 MB-ot használ. Pozitív egész számnak kell lennie. Vegye figyelembe, hogy ez Linux-specifikus, azonban a Docker NEM fog hibát kihozni, ha meg van adva. Egyszerűen figyelmen kívül hagyja.

Attribútum Value
név ShmSizeInMB
típus xs:sztring
Használja választható
alapértelmezett 0

ResourceOverridesType complexType

A szolgáltatásjegyzék-erőforrásokban deklarált végpontok erőforrás-felülbírálásait adja meg.

Attribútum Value
content 1 elem( ek), 0 attribútum(ok)
Meghatározott Globálisan
név ResourceOverridesType

XML-forrás

<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>
  

Tartalomelem részletei

Endpoints

A felülbírálandó szolgáltatásvégpontok.

Attribútum Value
név Endpoints
minOccurs 0

ResourcesType complexType

A szolgáltatás által használt erőforrásokat ismerteti, amelyek lefordított kód módosítása nélkül deklarálhatók és a szolgáltatás üzembe helyezésekor módosíthatók. Ezeknek az erőforrásoknak a hozzáférését az alkalmazásjegyzék Egyszerűk és szabályzatok szakasza szabályozza.

Attribútum Value
content 1 elem( ek), 0 attribútum(ok)
Meghatározott Globálisan
név ResourcesType

XML-forrás

<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>
  

Tartalomelem részletei

Endpoints

A szolgáltatás végpontjait határozza meg.

Attribútum Value
név Endpoints
minOccurs 0

RunAsPolicyType complexType

Megadja azt a helyi felhasználót vagy helyi rendszerfiókot, amelyként egy szolgáltatáskódcsomag fut. A tartományi fiókok támogatottak olyan Windows Server-üzemelő példányokon, ahol elérhető a Microsoft Entra ID. Alapértelmezés szerint az alkalmazások azon a fiókon futnak, amelyen a Fabric.exe folyamat fut. Az alkalmazások más fiókként is futtathatók, amelyeket az Egyszerűk szakaszban kell deklarálni. Ha futtatási szabályzatot alkalmaz egy szolgáltatásra, és a szolgáltatásjegyzék a HTTP protokollal deklarálja a végponterőforrásokat, meg kell adnia egy SecurityAccessPolicy-t is, hogy az e végpontokhoz lefoglalt portok megfelelő hozzáférés-vezérléssel rendelkezzenek ahhoz a futtató felhasználói fiókhoz, amelyen a szolgáltatás fut. HTTPS-végpont esetén meg kell határoznia egy EndpointBindingPolicy-t is, amely jelzi a tanúsítvány nevét, hogy visszatérjen az ügyfélhez.

Attribútum Value
content 0 elem(ek), 3 attribútum(ok)
Meghatározott Globálisan
név RunAsPolicyType

XML-forrás

<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>
  

Attribútum részletei

CodePackageRef

A kódcsomag neve. Meg kell egyeznie a szolgáltatásjegyzékben megadott CodePackage nevével.

Attribútum Value
név CodePackageRef
Használja kötelező

UserRef

A szolgáltatáskód-csomag által futtatott felhasználói fiók. A felhasználói fiókot az Egyszerűk szakaszban kell deklarálni. Gyakran célszerű a beállítási belépési pontot helyi rendszerfiók használatával futtatni rendszergazdai fiók helyett.

Attribútum Value
név UserRef
Használja kötelező

EntryPointType

A beállítás a szolgáltatásjegyzékben deklarált SetupEntryPoint, amely az a kiemelt belépési pont, amely bármely más belépési pont előtt fut. A fő a szolgáltatásjegyzékben deklarált EntryPoint, általában a hosszú ideig futó szolgáltatásgazda. Minden belépési pont.

Attribútum Value
név EntryPointType
Használja választható
alapértelmezett Elsődleges

ScalingPolicyType complexType

Egy skálázási szabályzat leírása, amely egy eseményindítóból és egy skálázási mechanizmusból áll.

Attribútum Value
content 0 elem(ek), 0 attribútum(ok)
Meghatározott Globálisan
név ScalingPolicyType

XML-forrás

<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

Hozzáférési engedélyeket ad egy szolgáltatásjegyzékben definiált erőforráson (például végponton) lévő egyszerű felhasználónak. Általában nagyon hasznos a szolgáltatások különböző erőforrásokhoz való hozzáférésének szabályozása és korlátozása a biztonsági kockázatok minimalizálása érdekében. Ez különösen akkor fontos, ha az alkalmazás egy piactérről származó szolgáltatások gyűjteményéből épül fel, amelyeket különböző fejlesztők fejlesztettek ki.

Attribútum Value
content 0 elem(ek), 4 attribútum(ok)
Meghatározott Globálisan
név SecurityAccessPolicyType

XML-forrás

<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>
  

Attribútum részletei

ResourceRef

A szolgáltatásjegyzékben hozzáféréssel rendelkező, deklarált és konfigurált erőforrás.

Attribútum Value
név ResourceRef
Használja kötelező

PrincipalRef

Az erőforráshoz hozzáférési jogosultságot kapó felhasználót vagy csoportot az Egyszerűk szakaszban kell deklarálni.

Attribútum Value
név PrincipalRef
Használja kötelező

GrantRights

A jogosultságok: Olvasás, Módosítás vagy Megtelt. Az alapértelmezett érték az Olvasás.

Attribútum Value
név GrantRights
alapértelmezett Olvasás

ResourceType

A szolgáltatásjegyzék Erőforrások szakaszában definiált erőforrás típusa. Végpont vagy tanúsítvány.

Attribútum Value
név ResourceType
Használja választható
alapértelmezett Végpont

SecurityOptionsType complexType

Attribútum Value
content 0 elem(ek), 1 attribútum(ok)
Meghatározott Globálisan
név SecurityOptionsType

XML-forrás

<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>
    

Attribútum részletei

Érték

Attribútum Value
név Érték
Használja kötelező

SecurityPrincipalsType complexType

Ismerteti azokat a biztonsági tagokat (felhasználókat, csoportokat), amelyek szükségesek ahhoz, hogy az alkalmazás szolgáltatásokat és erőforrásokat futtasson. A rendszer a szabályzatok szakaszaiban hivatkozik a tagokra.

Attribútum Value
content 2 elem( ek), 0 attribútum(ok)
Meghatározott Globálisan
név SecurityPrincipalsType

XML-forrás

<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>
        

Tartalomelem részletei

Groups

Biztonsági tagokként deklarál egy csoportokat, amelyekre a szabályzatok hivatkozhatnak. A csoportok akkor hasznosak, ha több felhasználó is van a különböző szolgáltatásbeléptetési pontokhoz, és bizonyos közös jogosultságokkal kell rendelkezniük, amelyek a csoport szintjén érhetők el.

Attribútum Value
név Groups
minOccurs 0

Felhasználók

Biztonsági tagokként deklarál egy felhasználócsoportot, amelyre a szabályzatok hivatkozhatnak.

Attribútum Value
név Felhasználók
minOccurs 0

ServiceAndServiceGroupTypesType complexType

Attribútum Value
content 4 elem(ek), 0 attribútum(ok)
Meghatározott Globálisan
név ServiceAndServiceGroupTypesType

XML-forrás

<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>
  

Tartalomelem részletei

StatefulServiceType

Attribútum Value
név StatefulServiceType
típus StatefulServiceTypeType

StatelessServiceType

Attribútum Value
név StatelessServiceType
típus StatelessServiceTypeType

StatefulServiceGroupType

Attribútum Value
név StatefulServiceGroupType
típus StatefulServiceGroupTypeType

StatelessServiceGroupType

Attribútum Value
név StatelessServiceGroupType
típus StatelessServiceGroupTypeType

ServiceDiagnosticsType complexType

A szolgáltatásjegyzék összetevőinek diagnosztikai beállításait ismerteti.

Attribútum Value
content 1 elem( ek), 0 attribútum(ok)
Meghatározott Globálisan
név ServiceDiagnosticsType

XML-forrás

<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>
  

Tartalomelem részletei

ETW

A szolgáltatásjegyzék összetevőinek ETW-beállításait ismerteti.

Attribútum Value
név ETW
minOccurs 0

ServiceFabricRuntimeAccessPolicyType complexType

Attribútum Value
content 0 elem(ek), 2 attribútum(ok)
Meghatározott Globálisan
név ServiceFabricRuntimeAccessPolicyType

XML-forrás

<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>
  

Attribútum részletei

RemoveServiceFabricRuntimeAccess

Azt jelzi, hogy a Fabric Runtime-specifikus információknak ki kell-e fednie a szolgáltatáscsomag kódcsomagjait.

Attribútum Value
név RemoveServiceFabricRuntimeAccess
típus xs:logikai
alapértelmezett false

UseServiceFabricReplicatedStore

Azt jelzi, hogy a Service Fabric replikált blokktárolóval kell-e kötetet biztosítani a szolgáltatáscsomag tárolói számára.

Attribútum Value
név UseServiceFabricReplicatedStore
típus xs:logikai
alapértelmezett false

ServiceGroupMemberType complexType

Attribútum Value
content 1 elem(ek), 2 attribútum(ok)
Meghatározott Globálisan
név ServiceGroupMemberType

XML-forrás

<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>
    

Attribútum részletei

ServiceTypeName

A szolgáltatáscsoport tagjának típusa.

Attribútum Value
név ServiceTypeName
Használja kötelező

Name

A szolgáltatáscsoport tagjának neve a szolgáltatáscsoport nevéhez viszonyítva.

Attribútum Value
név Név
Használja kötelező

Tartalomelem részletei

LoadMetrics

A szolgáltatás által jelentett terhelési metrikák.

Attribútum Value
név LoadMetrics
minOccurs 0

ServiceGroupTypeType complexType

Állapotalapú vagy állapot nélküli ServiceGroupType típust leíró alaptípus.

Attribútum Value
content 4 elem(ek), 2 attribútum(ok)
Meghatározott Globálisan
név ServiceGroupTypeType

XML-forrás

<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>
  

Attribútum részletei

ServiceGroupTypeName

Egy szolgáltatáscsoport felhasználó által definiált típusazonosítója, például "ActorQueueSGType". Ez az érték az ApplicationManifest.xml fájlban a szolgáltatáscsoport azonosítására szolgál.

Attribútum Value
név ServiceGroupTypeName
Használja kötelező

UseImplicitFactory

Megadja, hogy a szolgáltatáscsoport-példányt az implicit gyár hozza-e létre. Ha hamis (alapértelmezett), a kódcsomagok egyikének regisztrálnia kell a szolgáltatáscsoport-előállítót

Attribútum Value
név UseImplicitFactory
típus xs:logikai
Használja választható

Tartalomelem részletei

LoadMetrics

A szolgáltatás által jelentett terhelési metrikák.

Attribútum Value
név LoadMetrics
minOccurs 0

PlacementConstraints

A csomag részét képező szolgáltatások elhelyezésének korlátozásai.

Attribútum Value
név PlacementConstraints
típus xs:sztring
minOccurs 0

ServiceGroupMembers

A szolgáltatáscsoporttípus tagtípusai.

Attribútum Value
név ServiceGroupMembers
minOccurs 0
maxOccurs 1

None

Attribútum Value
Ref Extensions
minOccurs 0

ServiceManifestImportPoliciesType complexType

Az importált szolgáltatásjegyzékre alkalmazandó szabályzatokat (végpontkötés, csomagmegosztás, futtatókörnyezet és biztonsági hozzáférés) ismerteti.

Attribútum Value
content 11 elem(ek), 0 attribútum(ok)
Meghatározott Globálisan
név ServiceManifestImportPoliciesType

XML-forrás

<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>
  

Tartalomelem részletei

RunAsPolicy

Attribútum Value
név RunAsPolicy
típus RunAsPolicyType
minOccurs 0

SecurityAccessPolicy

Attribútum Value
név SecurityAccessPolicy
típus SecurityAccessPolicyType
minOccurs 0

PackageSharingPolicy

Attribútum Value
név PackageSharingPolicy
típus PackageSharingPolicyType
minOccurs 0

EndpointBindingPolicy

Olyan tanúsítványt ad meg, amelyet vissza kell adni egy ügyfélnek EGY HTTPS-végponthoz.

Attribútum Value
név EndpointBindingPolicy
típus EndpointBindingPolicyType
minOccurs 0

ServiceFabricRuntimeAccessPolicy

Olyan szabályzatokat határoz meg, amelyek meghatározzák, hogy a service fabric futtatókörnyezet hogyan legyen elérhetővé téve a replikák számára.

Attribútum Value
név ServiceFabricRuntimeAccessPolicy
típus ServiceFabricRuntimeAccessPolicyType
minOccurs 0
maxOccurs 1

ServicePackageResourceGovernancePolicy

Meghatározza a teljes szolgáltatáscsomag szintjén alkalmazott erőforrás-szabályozási szabályzatot.

Attribútum Value
név ServicePackageResourceGovernancePolicy
típus ServicePackageResourceGovernancePolicyType
minOccurs 0
maxOccurs 1

ResourceGovernancePolicy

A codepackage erőforráskorlátait határozza meg.

Attribútum Value
név ResourceGovernancePolicy
típus ResourceGovernancePolicyType
minOccurs 0

ServicePackageContainerPolicy

Attribútum Value
név ServicePackageContainerPolicy
típus ServicePackageContainerPolicyType
minOccurs 0
maxOccurs 1

ContainerHostPolicies

A tároló gazdagépek aktiválására vonatkozó szabályzatokat adja meg.

Attribútum Value
név ContainerHostPolicies
típus ContainerHostPoliciesType
minOccurs 0

ConfigPackagePolicies

Konfigurálja a tárolón belül csatlakoztatni kívánt csomagokat.

Attribútum Value
név ConfigPackagePolicies
típus ConfigPackagePoliciesType
minOccurs 0

NetworkPolicies

Megadja a hálózati házirendeket, beleértve a tárolóhálózati házirendeket is.

Attribútum Value
név NetworkPolicies
típus NetworkPoliciesType
minOccurs 0
maxOccurs 1

ServiceManifestRefType complexType

Hivatkozással importálja a szolgáltatásjegyzéket. Jelenleg a szolgáltatásjegyzékfájlnak (ServiceManifest.xml) jelen kell lennie a buildcsomagban.

Attribútum Value
content 0 elem(ek), 0 attribútum(ok)
Meghatározott Globálisan
név ServiceManifestRefType

XML-forrás

<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

Deklaratív módon leírja a szolgáltatás típusát és verzióját. Felsorolja az egymástól függetlenül frissíthető kódot, konfigurációt és adatcsomagokat, amelyek egy vagy több szolgáltatástípus támogatásához egy szolgáltatáscsomagot alkotnak. Az erőforrások, a diagnosztikai beállítások és a szolgáltatás metaadatai, például a szolgáltatás típusa, az állapottulajdonságok és a terheléselosztási metrikák is meg vannak adva.

Attribútum Value
content 7 elem(ek), 1 attribútum(ok)
Meghatározott Globálisan
név ServiceManifestType

XML-forrás

<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>
  

Attribútum részletei

Jegyzékazonosító

A szolgáltatásjegyzék azonosítója, egy strukturálatlan sztring.

Attribútum Value
név Jegyzékazonosító
Használja választható
alapértelmezett
típus xs:sztring

Tartalomelem részletei

Leírás

A szolgáltatást leíró szöveg.

Attribútum Value
név Leírás
típus xs:sztring
minOccurs 0

ServiceTypes

Meghatározza, hogy a jegyzékben szereplő CodePackage mely szolgáltatástípusokat támogatja. Amikor egy szolgáltatás példányosított egy ilyen szolgáltatástípussal, a jegyzékben deklarált összes kódcsomag a belépési pontok futtatásával aktiválódik. A szolgáltatástípusok a jegyzék szintjén vannak deklarálva, nem pedig a kódcsomag szintjén.

Attribútum Value
név ServiceTypes
típus ServiceAndServiceGroupTypesType

CodePackage

Attribútum Value
név CodePackage
típus CodePackageType
maxOccurs Korlátos

ConfigPackage

Attribútum Value
név ConfigPackage
típus ConfigPackageType
minOccurs 0
maxOccurs Korlátos

DataPackage

Attribútum Value
név DataPackage
típus DataPackageType
minOccurs 0
maxOccurs Korlátos

Források

Attribútum Value
név Források
típus ResourcesType
minOccurs 0

Diagnosztika

Attribútum Value
név Diagnosztika
típus ServiceDiagnosticsType
minOccurs 0

ServicePackageContainerPolicyType complexType

Attribútum Value
content 1 elem(ek), 2 attribútum(ok)
Meghatározott Globálisan
név ServicePackageContainerPolicyType

XML-forrás

<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>
  

Attribútum részletei

Hostname (Gazdanév)

Adja meg a tároló állomásnevét.

Attribútum Value
név Hostname (Gazdanév)
Használja választható
típus xs:sztring

Elkülönítés

Tároló elkülönítési módja. Az érvényes értékek az "alapértelmezett", a "folyamat" vagy a "hiperv".

Attribútum Value
név Elkülönítés
Használja választható
típus xs:sztring

Tartalomelem részletei

PortBinding

Megadja, hogy melyik végponterőforrást köti össze a tároló által közzétett port.

Attribútum Value
név PortBinding
típus PortBindingType
minOccurs 0
maxOccurs Korlátos

ServicePackageResourceGovernancePolicyType complexType

Attribútum Value
content 0 elem(ek), 2 attribútum(ok)
Meghatározott Globálisan
név ServicePackageResourceGovernancePolicyType

XML-forrás

<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>
  

Attribútum részletei

CpuCores

Cpu-korlát a logikai magok számában. Pozitív egész számnak kell lennie.

Attribútum Value
név CpuCores
típus xs:sztring
Használja választható
alapértelmezett 0

MemoryInMB

Memóriakorlátok MB-ban. Pozitív egész számnak kell lennie.

Attribútum Value
név MemoryInMB
típus xs:sztring
Használja választható
alapértelmezett 0

ServicePackageType complexType

A ServicePackage az üzembe helyezés és az aktiválás egy verziójú egysége. A ServicePackage verzióját a rendszer a jegyzékverzió és a felülbírálások verziója alapján határozza meg.

Attribútum Value
content 11 elem(ek), 4 attribútum(ok)
Meghatározott Globálisan
név ServicePackageType

XML-forrás

<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>
  

Attribútum részletei

Név

Attribútum Value
név Name
típus xs:sztring
Használja kötelező

ManifestVersion

Attribútum Value
név ManifestVersion
típus xs:sztring
Használja kötelező

ManifestChecksum

A ServiceManifest-fájl ellenőrzőösszege.

Attribútum Value
név ManifestChecksum
típus xs:sztring

ContentChecksum

A ServicePackage-tartalom ellenőrzőösszege.

Attribútum Value
név ContentChecksum
típus xs:sztring

Tartalomelem részletei

Leírás

Attribútum Value
név Leírás
típus xs:sztring
minOccurs 0

ServicePackageResourceGovernancePolicy

Attribútum Value
név ServicePackageResourceGovernancePolicy
típus ServicePackageResourceGovernancePolicyType
minOccurs 0
maxOccurs 1

ServicePackageContainerPolicy

Attribútum Value
név ServicePackageContainerPolicy
típus ServicePackageContainerPolicyType
minOccurs 0
maxOccurs 1

ServiceFabricRuntimeAccessPolicy

Attribútum Value
név ServiceFabricRuntimeAccessPolicy
típus ServiceFabricRuntimeAccessPolicyType
minOccurs 0
maxOccurs 1

DigestedServiceTypes

Attribútum Value
név DigestedServiceTypes

DigestedCodePackage

Attribútum Value
név DigestedCodePackage
maxOccurs Korlátos

DigestedConfigPackage

Attribútum Value
név DigestedConfigPackage
minOccurs 0
maxOccurs Korlátos

DigestedDataPackage

Attribútum Value
név DigestedDataPackage
minOccurs 0
maxOccurs Korlátos

DigestedResources

Attribútum Value
név DigestedResources
minOccurs 1

NetworkPolicies

Attribútum Value
név NetworkPolicies
típus NetworkPoliciesType
minOccurs 0
maxOccurs 1

Diagnosztika

Attribútum Value
név Diagnosztika
típus ServiceDiagnosticsType

ServiceTemplatesType complexType

Attribútum Value
content 4 elem(ek), 0 attribútum(ok)
Meghatározott Globálisan
név ServiceTemplatesType

XML-forrás

<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>
    

Tartalomelem részletei

StatelessService

Attribútum Value
név StatelessService
típus StatelessServiceType

StatefulService

Attribútum Value
név StatefulService
típus StatefulServiceType

StatelessServiceGroup

Attribútum Value
név StatelessServiceGroup
típus StatelessServiceGroupType

StatefulServiceGroup

Attribútum Value
név StatefulServiceGroup
típus StatefulServiceGroupType

ServiceType complexType

A Microsoft Azure Service Fabric szolgáltatást meghatározó alaptípus.

Attribútum Value
content 5 elem(ek), 2 attribútum(ok)
Meghatározott Globálisan
név ServiceType

XML-forrás

<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>
    

Attribútum részletei

ServiceTypeName

A szolgáltatásjegyzékben deklarált szolgáltatástípus neve, amely példányosítani fog.

Attribútum Value
név ServiceTypeName
Használja kötelező

DefaultMoveCost

A szolgáltatás alapértelmezett áthelyezési költségét adja meg.

Attribútum Value
név DefaultMoveCost

Tartalomelem részletei

LoadMetrics

A szolgáltatás által jelentett terhelési metrikák erőforrás-kiegyensúlyozási szolgáltatásokhoz használatosak.

Attribútum Value
név LoadMetrics
minOccurs 0

PlacementConstraints

A fürt azon csomópontjainak szabályozására szolgál, amelyeken egy szolgáltatás futtatható. Kulcs/érték pár, amely leírja a csomópont tulajdonságnevét és a szolgáltatás értékre vonatkozó követelményeit. Az egyes utasítások egyszerű logikai logikával csoportosíthatók a szükséges kényszer létrehozásához. Például: "(FirmwareVersion>12 &> InDMZ == True)".

Attribútum Value
név PlacementConstraints
típus xs:sztring
minOccurs 0

ServiceCorrelations

A szolgáltatások közötti affinitási kapcsolatokat határozza meg.

Attribútum Value
név ServiceCorrelations
minOccurs 0

ServicePlacementPolicies

Deklarálja egy szolgáltatás elhelyezési szabályzatait. Akkor hasznos, ha a fürt földrajzi távolságokra vagy/vagy geopolitikai régiókra terjed ki.

Attribútum Value
név ServicePlacementPolicies
minOccurs 0

ServiceScalingPolicies

Skálázási szabályzatokat deklarál egy szolgáltatáshoz. A szolgáltatás igény szerinti dinamikus skálázására használható.

Attribútum Value
név ServiceScalingPolicies
minOccurs 0

TagsRequiredToPlace

Deklarálja a szolgáltatás elhelyezéséhez szükséges címkéket. Hasznos a szolgáltatáselhelyezés dinamikus befolyásolására.

Attribútum Value
név TagsRequiredToPlace
minOccurs 0

TagRequiredToRun

Deklarálja a szolgáltatás elhelyezéséhez és futtatásához szükséges címkéket. A szolgáltatás elhelyezésének és futtatásának dinamikus befolyásolására használható.

Attribútum Value
név TagRequiredToRun
minOccurs 0

ServiceTypeExtensionPolicyPropertiesType complexType

Meghatározza az adatmegőrzési és kiürítési szabályzatok tulajdonságait.

Attribútum Value
content 1 elem( ek), 0 attribútum(ok)
Meghatározott Globálisan
név ServiceTypeExtensionPolicyPropertiesType

XML-forrás

<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>
  

Tartalomelem részletei

Tulajdonság

Attribútum Value
név Tulajdonság
minOccurs 0
maxOccurs Korlátos

ServiceTypeHealthPolicyType complexType

Attribútum Value
content 0 elem(ek), 3 attribútum(ok)
Meghatározott Globálisan
név ServiceTypeHealthPolicyType

XML-forrás

<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>
  

Attribútum részletei

MaxPercentUnhealthyServices

Meghatározza a nem megfelelő szolgáltatások maximálisan tolerálható százalékos arányát, mielőtt az alkalmazás nem megfelelőnek minősül. Alapértelmezett százalék: 0.

Attribútum Value
név MaxPercentUnhealthyServices
típus xs:sztring
Használja választható
alapértelmezett 0

MaxPercentUnhealthyPartitionsPerService

Meghatározza a nem megfelelő partíciók maximálisan tolerálható százalékos arányát, mielőtt a szolgáltatás nem megfelelőnek minősül. Alapértelmezett százalék: 0.

Attribútum Value
név MaxPercentUnhealthyPartitionsPerService
típus xs:sztring
Használja választható
alapértelmezett 0

MaxPercentUnhealthyReplicasPerPartition

Meghatározza a nem megfelelő replikák maximálisan tolerálható százalékos arányát, mielőtt a partíció nem megfelelőnek minősül. Alapértelmezett százalék: 0.

Attribútum Value
név MaxPercentUnhealthyReplicasPerPartition
típus xs:sztring
Használja választható
alapértelmezett 0

ServiceTypeType complexType

Állapotalapú vagy állapot nélküli ServiceType típust leíró alaptípus.

Attribútum Value
content 4 elem( ek), 1 attribútum(ok)
Meghatározott Globálisan
név ServiceTypeType

XML-forrás

<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>
  

Attribútum részletei

ServiceTypeName

Szolgáltatás felhasználó által definiált típusazonosítója. Például: "QueueType" vagy "CalculatorType". Ezt az értéket használja az ApplicationManifest.xml fájl a szolgáltatás azonosításához.

Attribútum Value
név ServiceTypeName
Használja kötelező

Tartalomelem részletei

LoadMetrics

A szolgáltatás által jelentett terhelési metrikák.

Attribútum Value
név LoadMetrics
minOccurs 0

PlacementConstraints

A fürt azon csomópontjainak szabályozására szolgál, amelyeken egy szolgáltatás futtatható. Kulcs/érték pár, amely leírja a csomópont tulajdonságnevét és a szolgáltatás értékre vonatkozó követelményeit. Az egyes utasítások egyszerű logikai logikával csoportosíthatók a szükséges kényszer létrehozásához. Például: "(FirmwareVersion>12 &> InDMZ == True)".

Attribútum Value
név PlacementConstraints
típus xs:sztring
minOccurs 0

ServicePlacementPolicies

Deklarálja egy szolgáltatás elhelyezési szabályzatait. Akkor hasznos, ha a fürt földrajzi távolságokra vagy/vagy geopolitikai régiókra terjed ki.

Attribútum Value
név ServicePlacementPolicies
minOccurs 0

None

Attribútum Value
Ref Extensions
minOccurs 0

ServiceTypesType complexType

Attribútum Value
content 2 elem( ek), 0 attribútum(ok)
Meghatározott Globálisan
név ServiceTypesType

XML-forrás

<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>
  

Tartalomelem részletei

StatefulServiceType

Állapotalapú ServiceType-típust ír le.

Attribútum Value
név StatefulServiceType
típus StatefulServiceTypeType

StatelessServiceType

Állapot nélküli ServiceType-típust ír le.

Attribútum Value
név StatelessServiceType
típus StatelessServiceTypeType

Gépház OverridesType complexType

A szolgáltatásjegyzék konfigurációs beállításait felül kell bírálni. A kulcs-érték párok egy vagy több szakaszából áll. A paraméterértékek az Invoke-ServiceFabricEncryptSecret parancsmaggal titkosíthatók.

Attribútum Value
content 1 elem( ek), 0 attribútum(ok)
Meghatározott Globálisan
név Gépház OverridesType

XML-forrás

<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>
    

Tartalomelem részletei

Szakasz

A felülbírálandó Gépház.xml fájl egy szakasza.

Attribútum Value
név Szakasz
maxOccurs Korlátos

Gépház Type complexType

A ServiceComponent vagy egy alkalmazás felhasználó által definiált beállításait ismerteti. A kulcs-érték párok egy vagy több szakaszából áll.

Attribútum Value
content 1 elem( ek), 0 attribútum(ok)
Meghatározott Globálisan
név Gépház Type

XML-forrás

<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>
  

Tartalomelem részletei

Szakasz

Felhasználó által definiált elnevezett szakasz.

Attribútum Value
név Szakasz
minOccurs 0
maxOccurs Korlátos

StatefulServiceGroupType complexType

Állapotalapú szolgáltatáscsoportot definiál.

Attribútum Value
content 0 elem(ek), 0 attribútum(ok)
Meghatározott Globálisan
név StatefulServiceGroupType

XML-forrás

<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

Állapotalapú szolgáltatáscsoporttípust ír le.

Attribútum Value
content 0 elem(ek), 0 attribútum(ok)
Meghatározott Globálisan
név StatefulServiceGroupTypeType

XML-forrás

<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

Állapotalapú szolgáltatást definiál.

Attribútum Value
content 0 elem(ek), 0 attribútum(ok)
Meghatározott Globálisan
név StatefulServiceType

XML-forrás

<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

Állapotalapú szolgáltatástípust ír le.

Attribútum Value
content 0 elem(ek), 0 attribútum(ok)
Meghatározott Globálisan
név StatefulServiceTypeType

XML-forrás

<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

Állapot nélküli szolgáltatáscsoportot definiál.

Attribútum Value
content 0 elem(ek), 0 attribútum(ok)
Meghatározott Globálisan
név StatelessServiceGroupType

XML-forrás

<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

Állapot nélküli szolgáltatáscsoporttípust ír le.

Attribútum Value
content 0 elem(ek), 0 attribútum(ok)
Meghatározott Globálisan
név StatelessServiceGroupTypeType

XML-forrás

<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

Állapot nélküli szolgáltatást definiál.

Attribútum Value
content 0 elem(ek), 0 attribútum(ok)
Meghatározott Globálisan
név StatelessServiceType

XML-forrás

<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

Állapot nélküli szolgáltatástípust ír le.

Attribútum Value
content 0 elem(ek), 0 attribútum(ok)
Meghatározott Globálisan
név StatelessServiceTypeType

XML-forrás

<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

Attribútum Value
content 2 elem( ek), 0 attribútum(ok)
Meghatározott Globálisan
név TargetInformationType

XML-forrás

<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>
  

Tartalomelem részletei

CurrentInstallation

Attribútum Value
név CurrentInstallation
típus WindowsFabricDeploymentInformation
minOccurs 0

TargetInstallation

Attribútum Value
név TargetInstallation
típus WindowsFabricDeploymentInformation
minOccurs 1

UnmanagedDllType complexType

Nem támogatott, ne használja. A gazdagéphez tartozó nem felügyelt szerelvény (például Queue.dll) neve.

Attribútum Value
content 0 elem(ek), 0 attribútum(ok)
Meghatározott Globálisan
név UnmanagedDllType

XML-forrás

<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

Attribútum Value
content 0 elem(ek), 11 attribútum(ok)
Meghatározott Globálisan
név WindowsFabricDeploymentInformation

XML-forrás

<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>
  

Attribútum részletei

InstanceId

Ez a csomópont célpéldánya.

Attribútum Value
név InstanceId
típus xs:sztring
Használja választható

MSILocation

Ez az MSI-hely teljes elérési útja.

Attribútum Value
név MSILocation
típus xs:sztring
Használja választható

ClusterManifestLocation

Ez a fürtjegyzék helyének teljes elérési útja.

Attribútum Value
név ClusterManifestLocation
típus xs:sztring
Használja választható

InfrastructureManifestLocation

A belsőleg létrehozott infrastruktúrajegyzék ezen helye.

Attribútum Value
név InfrastructureManifestLocation
típus xs:sztring
Használja választható

TargetVersion

Ez az üzembe helyezés célverziója.

Attribútum Value
név TargetVersion
típus xs:sztring
Használja választható

NodeName

Ez annak a csomópontnak a neve, amelyre a hálófrissítés történni fog

Attribútum Value
név NodeName
típus xs:sztring
Használja választható

RemoveNodeState

A csomópontkonfiguráció eltávolítása után meg kell hívni a RemoveNodeState Api-t jelző jelzőt.

Attribútum Value
név RemoveNodeState
típus xs:logikai
Használja választható
alapértelmezett false

UpgradeEntryPointExe

A telepítő szolgáltatás által a frissítéshez használt exe neve

Attribútum Value
név UpgradeEntryPointExe
típus xs:sztring
Használja választható

UpgradeEntryPointExeParameters

A telepítési belépési pont exe paraméterei

Attribútum Value
név UpgradeEntryPointExeParameters
típus xs:sztring
Használja választható

UndoUpgradeEntryPointExe

A telepítő szolgáltatás által a frissítés visszavonásához használt exe neve

Attribútum Value
név UndoUpgradeEntryPointExe
típus xs:sztring
Használja választható

UndoUpgradeEntryPointExeParameters

A telepítési belépési pont exe paraméterei

Attribútum Value
név UndoUpgradeEntryPointExeParameters
típus xs:sztring
Használja választható

WindowsInfrastructureType complexType

Attribútum Value
content 1 elem( ek), 0 attribútum(ok)
Meghatározott Globálisan
név WindowsInfrastructureType

XML-forrás

<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>
  

Tartalomelem részletei

NodeList

Attribútum Value
név NodeList