Dela via


Komplexa typer av XML-schema för tjänstmodell

AppInstanceDefinitionType complexType

Attribut Värde
innehåll 1 element, 1 attribut
Definieras Globalt
name AppInstanceDefinitionType

XML-källa

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


Attributinformation

Name

Namnet på programmet som ska skapas.

Attribut Värde
name Namn
type xs:string
Använda required

Information om innehållselement

Parametrar

Lista över parametrar för programmet enligt definitionen i programmanifestet och deras respektive värden.

Attribut Värde
name Parametrar

ApplicationHealthPolicyType complexType

Beskriver principen för att utvärdera hälsohändelser som rapporterats på olika programrelaterade entiteter. Om ingen princip anges antas en entitet vara felaktig om hälsorapporten är en varning eller ett fel.

Attribut Värde
innehåll 2 element, 2 attribut
Definieras Globalt
name ApplicationHealthPolicyType

XML-källa

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

Attributinformation

ConsiderWarningAsError

Anger om varningshälsorapporter ska behandlas som fel under hälsoutvärderingen. Standard: falskt.

Attribut Värde
name ConsiderWarningAsError
type xs:string
Använda valfri
standard falskt

MaxPercentUnhealthyDeployedApplications

Anger den maximala tillåtna procentandelen distribuerade program som kan vara felfria innan programmet betraktas som ett fel. Detta beräknas genom att dividera antalet ej distribuerade program över antalet noder som programmen för närvarande distribueras på i klustret. Beräkningen avrundar uppåt för att tolerera ett fel på ett litet antal noder. Standardprocent: 0.

Attribut Värde
name MaxPercentUnhealthyDeployedApplications
type xs:string
Använda valfri
standard 0

Information om innehållselement

DefaultServiceTypeHealthPolicy

Anger standardprincipen för tjänsttypshälsa, som ersätter standardhälsoprincipen för alla tjänsttyper i programmet.

Attribut Värde
name DefaultServiceTypeHealthPolicy
type ServiceTypeHealthPolicyType
minOccurs 0

ServiceTypeHealthPolicy

Beskriver principen för att utvärdera hälsohändelser som rapporterats för tjänster, partitioner och repliker av en viss tjänsttyp.

Attribut Värde
name ServiceTypeHealthPolicy
minOccurs 0
maxOccurs Obegränsad

ApplicationInstanceType complexType

Beskriver en instans av ett Microsoft Azure Service Fabric-program.

Attribut Värde
innehåll 4 element, 1 attribut
Definieras Globalt
name ApplicationInstanceType

XML-källa

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

Attributinformation

Version

Versionen av ApplicationInstance-dokumentet.

Attribut Värde
name Version
type xs:int
Använda required

Information om innehållselement

ApplicationPackageRef

Attribut Värde
name ApplicationPackageRef

ServicePackageRef

Attribut Värde
name ServicePackageRef
maxOccurs Obegränsad

ServiceTemplates

Attribut Värde
name ServiceTemplates
type ServiceTemplatesType

DefaultServices

Attribut Värde
name DefaultServices
type DefaultServicesType

ApplicationManifestType complexType

Deklarativt beskriver programtypen och versionen. Ett eller flera tjänstmanifest för de konstituerande tjänsterna refereras till att bestå av en programtyp. Konfigurationsinställningarna för de ingående tjänsterna kan åsidosättas med hjälp av parametriserade programinställningar. Standardtjänster, tjänstmallar, huvudnamn, principer, diagnostikkonfiguration och certifikat kan också deklareras på programnivå.

Attribut Värde
innehåll 9 element, 0 attribut
Definieras Globalt
name ApplicationManifestType

XML-källa

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

Information om innehållselement

beskrivning

Text som beskriver det här programmet.

Attribut Värde
name beskrivning
type xs:string
minOccurs 0

Parametrar

Deklarerar de parametrar som används i det här programmanifestet. Värdet för dessa parametrar kan anges när programmet instansieras och kan användas för att åsidosätta inställningar för program- eller tjänstkonfiguration.

Attribut Värde
name Parametrar
minOccurs 0

ServiceManifestImportera

Importerar ett tjänstmanifest som skapats av tjänstutvecklaren. Ett tjänstmanifest måste importeras för varje komponenttjänst i programmet. Konfigurations åsidosättningar och principer kan deklareras för tjänstmanifestet.

Attribut Värde
name ServiceManifestImportera
maxOccurs Obegränsad

ServiceTemplates

Deklarerar den uppsättning tillåtna tjänsttyper som kan skapas dynamiskt i programinstansen. Standardkonfigurationsvärden, till exempel replikeringsfaktor, anges och används som mall för att skapa tjänstinstanser.

Attribut Värde
name ServiceTemplates
type ServiceTemplatesType
minOccurs 0

DefaultServices

Attribut Värde
name DefaultServices
type DefaultServicesType
minOccurs 0

Huvudkonto

Attribut Värde
name Huvudkonto
type SecurityPrincipalsType
minOccurs 0

Principer

Attribut Värde
name Principer
type ApplicationPoliciesType
minOccurs 0

Diagnostik

Attribut Värde
name Diagnostik
type DiagnosticsType
minOccurs 0

Certifikat

Deklarerar certifikat som används för att skydda slutpunkter eller kryptera hemligheter i programmanifestet eller ett klustermanifest.

Attribut Värde
name Certifikat
minOccurs 0

ApplicationPackageType complexType

ApplicationPackage representerar den version av programinformationen som krävs av noden.

Attribut Värde
innehåll 2 element, 2 attribut
Definieras Globalt
name ApplicationPackageType

XML-källa

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

Attributinformation

ApplicationTypeName

Skriv identifierare för det här programmet.

Attribut Värde
name ApplicationTypeName
type xs:string
Använda required

ContentChecksum

Kontrollsummor för det här ApplicationPackage-innehållet

Attribut Värde
name ContentChecksum
type xs:string

Information om innehållselement

DigestedEnvironment

Attribut Värde
name DigestedEnvironment
type EnvironmentType

DigestedCertificates

Attribut Värde
name DigestedCertificates

ApplicationPoliciesType complexType

Beskriver de principer (loggsamling, standardkörning, hälsa och säkerhetsåtkomst) som ska tillämpas på programnivå.

Attribut Värde
innehåll 4 element, 0 attribut
Definieras Globalt
name ApplicationPoliciesType

XML-källa

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

Information om innehållselement

LogCollectionPolicies

Anger om logginsamling är aktiverat. Fungerar endast i en Azure-klustermiljö

Attribut Värde
name LogCollectionPolicies
minOccurs 0

DefaultRunAsPolicy

Ange ett standardanvändarkonto för alla tjänstkodpaket som inte har en specifik RunAsPolicy definierad i avsnittet ServiceManifestImport.

Attribut Värde
name DefaultRunAsPolicy
minOccurs 0

HealthPolicy

Attribut Värde
name HealthPolicy
type ApplicationHealthPolicyType
minOccurs 0

SecurityAccessPolicies

Lista över säkerhetsprinciper som tillämpas på resurser på programnivå.

Attribut Värde
name SecurityAccessPolicies
minOccurs 0

AzureBlobETWType complexType

Beskriver ett Azure Blob Store-mål för ETW-händelser. Fungerar endast i Azure-miljön.

Attribut Värde
innehåll 0 element, 0 attribut
Definieras Globalt
name AzureBlobETWType

XML-källa

<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

Beskriver ett Azure Blob Store-mål för diagnostikdata. Fungerar endast i Azure-klustermiljö.

Attribut Värde
innehåll 0 element, 0 attribut
Definieras Globalt
name AzureBlobType

XML-källa

<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

Attribut Värde
innehåll 0 element, 3 attribut
Definieras Globalt
name AzureRoleType

XML-källa

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

Attributinformation

RoleName

Attribut Värde
name RoleName
type xs:string
Använda required

NodeTypeRef

Attribut Värde
name NodeTypeRef
type xs:string
Använda required

SeedNodeCount

Attribut Värde
name SeedNodeCount
type xs:int
Använda valfri
standard 0

AzureStoreBaseType complexType

Beskriver ett diagnostikarkiv i ett Azure-lagringskonto.

Attribut Värde
innehåll 1 element, 1 attribut
Definieras Globalt
name AzureStoreBaseType

XML-källa

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

Attributinformation

Anslut ionStringIsEncrypted

Attribut Värde
name Anslut ionStringIsEncrypted
type xs:string
Använda required

Information om innehållselement

Ingen

Attribut Värde
Referens Parametrar
minOccurs 0

BlackbirdRoleType complexType

Attribut Värde
innehåll 0 element, 4 attribut
Definieras Globalt
name BlackbirdRoleType

XML-källa

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

Attributinformation

EnvironmentName

Attribut Värde
name EnvironmentName
type xs:string
Använda required

RoleName

Attribut Värde
name RoleName
type xs:string
Använda required

NodeTypeRef

Attribut Värde
name NodeTypeRef
type xs:string
Använda required

IsSeedNode

Attribut Värde
name IsSeedNode
type xs:booleskt värde
Använda valfri
standard 0

CertificatesType complexType

Attribut Värde
innehåll 4 element, 0 attribut
Definieras Globalt
name CertificatesType

XML-källa

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

Information om innehållselement

ClusterCertificate

Certifikatet som används för att skydda kommunikationen inom klustret.

Attribut Värde
name ClusterCertificate
type FabricCertificateType
minOccurs 0

ServerCertificate

Certifikatet som används för att skydda kommunikationen inom klustret.

Attribut Värde
name ServerCertificate
type FabricCertificateType
minOccurs 0

ClientCertificate

Standardklientcertifikatet för administratörsrollen som används för att skydda klientserverkommunikationen.

Attribut Värde
name ClientCertificate
type FabricCertificateType
minOccurs 0

UserRoleClientCertificate

Standardklientcertifikatet för användarrollen som används för att skydda klientserverkommunikationen.

Attribut Värde
name UserRoleClientCertificate
type FabricCertificateType
minOccurs 0

ClusterManifestType complexType

Beskriver ett Microsoft Azure Service Fabric-kluster.

Attribut Värde
innehåll 4 element, 3 attribut
Definieras Globalt
name ClusterManifestType

XML-källa

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

Attributinformation

Name

Namnet på klustret.

Attribut Värde
name Name
Använda required

Version

Användardefinierad versionssträng för klustermanifestdokumentet.

Attribut Värde
name Version
Använda required

Beskrivning

Beskrivning av klustermanifestet.

Attribut Värde
name beskrivning

Information om innehållselement

NodeTypes

Attribut Värde
name NodeTypes
minOccurs 1

Infrastruktur

Attribut Värde
name Infrastruktur

Infrastrukturresurser Inställningar

Attribut Värde
name Infrastrukturresurser Inställningar
type Inställningar OverridesType
minOccurs 0

Certifikat

Attribut Värde
name Certifikat
minOccurs 0

CodePackageType complexType

Beskriver ett kodpaket som stöder en definierad tjänsttyp. När en tjänst instansieras mot någon av dessa tjänsttyper aktiveras alla kodpaket som deklareras i det här manifestet genom att deras startpunkter körs. De resulterande processerna förväntas registrera de tjänsttyper som stöds vid körning. När det finns flera kodpaket aktiveras alla när systemet letar efter någon av de deklarerade tjänsttyperna.

Attribut Värde
innehåll 3 element, 2 attribut
Definieras Globalt
name CodePackageType

XML-källa

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

Attributinformation

IsShared

Anger om innehållet i det här kodpaketet delas av andra kodpaket. Om det är sant startas alla kodpaket om vid en uppgradering av det här kodpaketet. Det här attributet stöds inte för närvarande och dess värde ignoreras.

Attribut Värde
name IsShared
type xs:booleskt värde
standard falskt

IsActivator

Det här attributet är endast för internt bruk.

Attribut Värde
name IsActivator
type xs:booleskt värde
standard falskt

Information om innehållselement

SetupEntryPoint

En privilegierad startpunkt som som standard körs med samma autentiseringsuppgifter som Service Fabric (vanligtvis NETWORKSERVICE-kontot) före någon annan startpunkt. Den körbara fil som anges av EntryPoint är vanligtvis den långvariga tjänstvärden. Förekomsten av en separat startpunkt för installation undviker att behöva köra tjänstvärden med hög behörighet under längre tidsperioder.

Attribut Värde
name SetupEntryPoint
minOccurs 0

EntryPoint

Attribut Värde
name EntryPoint
type EntryPointDescriptionType
minOccurs 1

EnvironmentVariables

Attribut Värde
name EnvironmentVariables
type EnvironmentVariablesType
minOccurs 0
maxOccurs 1

ConfigOverrideType complexType

Beskriver konfigurations åsidosättningar för ett visst konfigurationspaket i det importerade tjänstmanifestet.

Attribut Värde
innehåll 1 element, 1 attribut
Definieras Globalt
name ConfigOverrideType

XML-källa

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

Attributinformation

Name

Namnet på konfigurationspaketet i tjänstmanifestet som innehåller de inställningar som ska åsidosättas.

Attribut Värde
name Name
Använda required

Information om innehållselement

Inställningar

Attribut Värde
name Inställningar
type Inställningar OverridesType
minOccurs 0

ConfigPackageDescriptionType complexType

Deklarerar en mapp, namngiven av attributet Namn, som innehåller en Inställningar.xml-fil. Den här filen innehåller avsnitt av användardefinierade nyckel/värde-parinställningar som processen kan läsa tillbaka vid körning. Om endast ConfigPackage-versionen har ändrats under en uppgradering startas inte körningsprocessen om. I stället meddelar ett återanrop processen att konfigurationsinställningarna har ändrats så att de kan läsas in dynamiskt igen.

Attribut Värde
innehåll 0 element, 4 attribut
Definieras Globalt
name ConfigPackageDescriptionType

XML-källa

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

Attributinformation

Name

Namnet på det versionshanterade objektet.

Attribut Värde
name Name
Använda required

SectionName

Avsnittsnamn för ConfigPackage Inställningar.xml.

Attribut Värde
name SectionName
Använda required

MountPoint

Attribut Värde
name MountPoint
type xs:string
Använda valfri
standard

EnvironmentVariableName

Attribut Värde
name EnvironmentVariableName
type xs:string
Använda valfri
standard

ConfigPackagePoliciesType complexType

Attribut Värde
innehåll 1 element, 1 attribut
Definieras Globalt
name ConfigPackagePoliciesType

XML-källa

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

Attributinformation

CodePackageRef

Attribut Värde
name CodePackageRef
Använda required

Information om innehållselement

ConfigPackage

Attribut Värde
name ConfigPackage
type ConfigPackageDescriptionType
minOccurs 0
maxOccurs Obegränsad

ConfigPackageType complexType

Deklarerar en mapp med namnet med attributet Namn under PackageRoot som innehåller en Inställningar.xml-fil. Den här filen innehåller avsnitt av användardefinierade nyckel/värde-parinställningar som processen kan läsa tillbaka vid körning. Om endast ConfigPackage-versionen har ändrats under en uppgradering startas inte körningsprocessen om. I stället meddelar ett återanrop processen att konfigurationsinställningarna har ändrats så att de kan läsas in dynamiskt igen.

Attribut Värde
innehåll 0 element, 0 attribut
Definieras Globalt
name ConfigPackageType

XML-källa

<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

Anger information om ett X509-certifikat som ska exponeras för containermiljön. Certifikatet måste installeras i LocalMachine-arkivet för alla klusternoder. När programmet startar läser körningen certifikatet och genererar en PFX-fil och ett lösenord (i Windows) eller en PEM-fil (i Linux). PFX-filen och lösenordet är tillgängliga i containern med hjälp av miljövariablerna Certificates_ServicePackageName_CodePackageName_CertName_PFX och Certificates_ServicePackageName_CodePackageName_CertName_Password. PEM-filen är tillgänglig i containern med hjälp av miljövariablerna Certificates_ServicePackageName_CodePackageName_CertName_PEM och Certificates_ServicePackageName_CodePackageName_CertName_PrivateKey.

Attribut Värde
innehåll 0 element, 8 attribut
Definieras Globalt
name ContainerCertificateType

XML-källa

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

Attributinformation

X509StoreName

Butiksnamnet för X509-certifikatet.

Attribut Värde
name X509StoreName
type xs:string
standard Min

X509FindValue

Tumavtrycket för X509-certifikatet.

Attribut Värde
name X509FindValue
type xs:string
Använda valfri

DataPackageRef

Namnet på det datapaket som har certifikatfilerna.

Attribut Värde
name DataPackageRef
type xs:string
Använda valfri

DataPackageVersion

Den version av datapaketet som har certifikatfilerna.

Attribut Värde
name DataPackageVersion
type xs:string
Använda valfri

RelativePath

Den relativa sökvägen till certifikatfilen i datapaketet.

Attribut Värde
name RelativePath
type xs:string
Använda valfri

Password

Lösenord/Privat nyckel för certifikatet.

Attribut Värde
name Password
type xs:string
Använda valfri

IsPasswordEncrypted

Om det är sant krypteras värdet för lösenordet.

Attribut Värde
name IsPasswordEncrypted
type xs:booleskt värde
standard falskt

Name

Identifierare för den specifika certifikatinformationen. Det här namnet används för att ange miljövariabeln i containern.

Attribut Värde
name Namn
type xs:string
Använda required

ContainerHealthConfigType complexType

Anger docker HEALTHCHECK-integreringsalternativ för containern.

Attribut Värde
innehåll 0 element, 2 attribut
Definieras Globalt
name ContainerHealthConfigType

XML-källa

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

Attributinformation

IncludeDockerHealthStatusInSystemHealthReport

Om containern har HEALTHCHECK aktiverat och docker-rapporter health_status händelse för den här containern, kommer Service Fabric att inkludera detta som en del av systemets rapporterade hälsotillstånd. När health_status är felfritt rapporterar Service Fabric en hälsovarning. Som standard är den inställd på true.

Attribut Värde
name IncludeDockerHealthStatusInSystemHealthReport
type xs:booleskt värde
Använda valfri
standard true

RestartContainerOnUnhealthyDockerHealthStatus

Om containern har HEALTHCHECK aktiverat och docker rapporterar health_status händelse för den här containern startar Service Fabric om containern när health_status rapporteras av docker är inte felfri. Som standard är den inställd på false.

Attribut Värde
name RestartContainerOnUnhealthyDockerHealthStatus
type xs:booleskt värde
Använda valfri
standard falskt

ContainerHostEntryPointType complexType

Attribut Värde
innehåll 4 element, 0 attribut
Definieras Globalt
name ContainerHostEntryPointType

XML-källa

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

Information om innehållselement

ImageName

Lagringsplatsen och avbildningen på https://hub.docker.com eller Azure Container Registry.

Attribut Värde
name ImageName
type xs:string

Kommandon

Skicka en kommaavgränsad lista med kommandon till containern.

Attribut Värde
name Kommandon
type xs:string
minOccurs 0
maxOccurs 1

EntryPoint

Attribut Värde
name EntryPoint
type xs:string
minOccurs 0
maxOccurs 1

FromSource

Attribut Värde
name FromSource
type xs:string
minOccurs 0
maxOccurs 1

ContainerHostPoliciesType complexType

Attribut Värde
innehåll 10 element, 8 attribut
Definieras Globalt
name ContainerHostPoliciesType

XML-källa

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

Attributinformation

CodePackageRef

Attribut Värde
name CodePackageRef
Använda required

UseDefaultRepositoryCredentials

Använd standardautentiseringsuppgifterna för lagringsplatsen som anges i clusterManifest.xml i stället för de autentiseringsuppgifter som anges i taggen "RepositoryCredentials" i ApplicationManifest.xml.

Attribut Värde
name UseDefaultRepositoryCredentials
type xs:string
Använda valfri
standard falskt

UseTokenAuthenticationCredentials

Använd MSI-tokenautentisering (eller en anpassad angiven slutpunkt) för att hämta en token som används för autentisering.

Attribut Värde
name UseTokenAuthenticationCredentials
type xs:string
Använda valfri
standard falskt

Isolering

Isoleringsläge för container. Giltiga värden är standardvärden, processer eller Hyper-V (stöds endast för Windows-containrar).

Attribut Värde
name Isolering
Använda valfri
type xs:string

Värdnamn

Ange Värdnamn för container.

Attribut Värde
name Värdnamn
Använda valfri
type xs:string

ContainersRetentionCount

Antal containrar som ska lämnas kvar när containern dör upprepade gånger. Som standard är detta inställt på 0 så att inga containrar lämnas kvar.

Attribut Värde
name ContainersRetentionCount
Använda valfri
type xs:string
standard 0

Återskapa automatiskt

Flagga som anger om borttagning av containrar sker automatiskt (sant) eller inte (falskt) om containern avlivas. Om false SF tar bort containrarna manuellt.

Attribut Värde
name Återskapa automatiskt
Använda valfri
type xs:string

RunInteractive

Kör containern med interaktiv flagga aktiverad. Giltiga värden är true/false. false som standard.

Attribut Värde
name RunInteractive
Använda valfri
type xs:string

Information om innehållselement

RepositoryCredentials

Autentiseringsuppgifter för containeravbildningslagringsplats att hämta avbildningar från.

Attribut Värde
name RepositoryCredentials
type RepositoryCredentialsType
minOccurs 0
maxOccurs 1

HealthConfig

Anger docker HEALTHCHECK-integreringsalternativ för containern.

Attribut Värde
name HealthConfig
type ContainerHealthConfigType
minOccurs 0
maxOccurs 1

PortBinding

Anger vilken slutpunktsresurs som ska bindas till den exponerade containerporten.

Attribut Värde
name PortBinding
type PortBindingType
minOccurs 0
maxOccurs Obegränsad

CertificateRef

Anger information för ett certifikat som ska exponeras för containern.

Attribut Värde
name CertificateRef
type ContainerCertificateType
minOccurs 0
maxOccurs Obegränsad

LogConfig

Anger loggningsdrivrutinen för en container.

Attribut Värde
name LogConfig
type ContainerLoggingDriverType
minOccurs 0
maxOccurs 1

NetworkConfig

Anger nätverkskonfigurationen för en container.

Attribut Värde
name NetworkConfig
type ContainerNetworkConfigType
minOccurs 0
maxOccurs 1

Volume

Anger volymen som ska bindas till containern.

Attribut Värde
name Volume
type ContainerVolumeType
minOccurs 0
maxOccurs Obegränsad

SecurityOption

Anger säkerhetsalternativ för containern.

Attribut Värde
name SecurityOption
type SecurityOptionsType
minOccurs 0
maxOccurs Obegränsad

ImageOverrides

Avbildningsnamn som motsvarar operativsystemets versionsnummer som ska startas.

Attribut Värde
name ImageOverrides
type ImageOverridesType
minOccurs 0
maxOccurs 1

Etikett

Anger etiketterna för containern.

Attribut Värde
name Etikett
type ContainerLabelType
minOccurs 0
maxOccurs Obegränsad

ContainerLabelType complexType

Attribut Värde
innehåll 0 element, 2 attribut
Definieras Globalt
name ContainerLabelType

XML-källa

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

Attributinformation

Name

Attribut Värde
name Namn
type xs:string
Använda required

Värde

Attribut Värde
name Värde
type xs:string
Använda required

ContainerLoggingDriverType complexType

Attribut Värde
innehåll 1 element, 1 attribut
Definieras Globalt
name ContainerLoggingDriverType

XML-källa

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

Attributinformation

Drivrutinen

Attribut Värde
name Drivrutinen
Använda required

Information om innehållselement

DriverOption

Drivrutinsalternativ som ska skickas till drivrutinen.

Attribut Värde
name DriverOption
type DriverOptionType
minOccurs 0
maxOccurs Obegränsad

ContainerNetworkConfigType complexType

Attribut Värde
innehåll 0 element, 1 attribut
Definieras Globalt
name ContainerNetworkConfigType

XML-källa

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

Attributinformation

NetworkType

NetworkType. För närvarande stöds typerna "Open" och "Isolated".

Attribut Värde
name NetworkType
Använda required
type xs:string

ContainerNetworkPolicyEndpointBindingType complexType

Attribut Värde
innehåll 0 element, 1 attribut
Definieras Globalt
name ContainerNetworkPolicyEndpointBindingType

XML-källa

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

Attributinformation

EndpointRef

Namnet på slutpunkten, som måste deklareras i avsnittet Resurser i tjänstmanifestet.

Attribut Värde
name EndpointRef

ContainerNetworkPolicyType complexType

Beskriver associationen mellan ett tjänstpaket och ett containernätverk och eventuellt association mellan slutpunkterna för tjänstpaketet och containernätverket.

Attribut Värde
innehåll 1 element, 1 attribut
Definieras Globalt
name ContainerNetworkPolicyType

XML-källa

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

Attributinformation

NetworkRef

Namnet på containernätverket (skiftlägesokänsligt). Det måste vara namnet på ett containernätverk som redan har skapats eller reserverade namn, inklusive "Open" eller "NAT".

Attribut Värde
name NetworkRef
Använda required

Information om innehållselement

Slutpunktsbindning

Anger en slutpunkt som ska exponeras i containernätverket.

Attribut Värde
name Slutpunktsbindning
type ContainerNetworkPolicyEndpointBindingType
minOccurs 0
maxOccurs Obegränsad

ContainerVolumeType complexType

Attribut Värde
innehåll 1 element, 4 attribut
Definieras Globalt
name ContainerVolumeType

XML-källa

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

Attributinformation

Källa

Källmappen som kan vara en mapp på den virtuella datorn som är värd för containrarna eller ett beständigt fjärrarkiv.

Attribut Värde
name Source
Använda required

Mål

Den plats som källan mappas till i den container som körs. Målet kan därför inte vara en plats som redan finns i containern.

Attribut Värde
name Mål
Använda required

Drivrutinen

Drivrutinsnamnet för Azure Files-volyminsticksprogrammet är "sfazurefile".

Attribut Värde
name Drivrutinen
Använda valfri

IsReadOnly

Attribut Värde
name IsReadOnly
type xs:booleskt värde
standard falskt

Information om innehållselement

DriverOption

Drivrutinsalternativ som ska skickas till drivrutinen.

Attribut Värde
name DriverOption
type DriverOptionType
minOccurs 0
maxOccurs Obegränsad

DataPackageType complexType

Deklarerar en mapp med namnet med attributet Namn under PackageRoot som innehåller statiska datafiler som ska användas av processen vid körning. Service Fabric återanvänder alla EXE:er och DLLHOST:er som anges i värd- och supportpaketen när något av de datapaket som anges i tjänstmanifestet uppgraderas.

Attribut Värde
innehåll 0 element, 0 attribut
Definieras Globalt
name DataPackageType

XML-källa

<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

Anger information om felsökaren som ska bifogas vid aktivering av kodpaket.

Attribut Värde
innehåll 4 element, 10 attribut
Definieras Globalt
name DebugParametersType

XML-källa

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

Attributinformation

ProgramExePath

Attribut Värde
name ProgramExePath

Argument

Attribut Värde
name Argument

EntryPointType

Attribut Värde
name EntryPointType
Använda valfri
standard Huvud

CodePackageLinkFolder

Attribut Värde
name CodePackageLinkFolder

ConfigPackageLinkFolder

Attribut Värde
name ConfigPackageLinkFolder

DataPackageLinkFolder

Attribut Värde
name DataPackageLinkFolder

Lockfile

Attribut Värde
name Lockfile

WorkingFolder

Attribut Värde
name WorkingFolder

FelsökaParametersFile

Attribut Värde
name FelsökaParametersFile

EnvironmentBlock

Attribut Värde
name EnvironmentBlock

Information om innehållselement

ContainerEntryPoint

Åsidosättad startpunkt för containrar så att felsökningsprogrammet kan startas.

Attribut Värde
name ContainerEntryPoint
type xs:string
minOccurs 0
maxOccurs Obegränsad

ContainerMountedVolume

Volymer som ska monteras i containern.

Attribut Värde
name ContainerMountedVolume
type xs:string
minOccurs 0
maxOccurs Obegränsad

ContainerEnvironmentBlock

EnvironmentBlock för containrar.

Attribut Värde
name ContainerEnvironmentBlock
type xs:string
minOccurs 0
maxOccurs Obegränsad

ContainerLabel

Etiketter för containrar i form key=value.

Attribut Värde
name ContainerLabel
type xs:string
minOccurs 0
maxOccurs Obegränsad

DefaultServicesType complexType

Deklarerar tjänstinstanser som skapas automatiskt när ett program instansieras mot den här programtypen.

Attribut Värde
innehåll 2 element, 0 attribut
Definieras Globalt
name DefaultServicesType

XML-källa

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

Information om innehållselement

Tjänst

Deklarerar en tjänst som ska skapas automatiskt när programmet instansieras.

Attribut Värde
name Tjänst

ServiceGroup

En samling tjänster som automatiskt finns tillsammans, så att de också flyttas tillsammans under redundansväxling eller resurshantering.

Attribut Värde
name ServiceGroup

DiagnosticsType complexType

Beskriver diagnostikinställningarna för program.

Attribut Värde
innehåll 3 element, 0 attribut
Definieras Globalt
name DiagnosticsType

XML-källa

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

Information om innehållselement

CrashDumpSource

Anger insamling av kraschdumpar. Kraschdumpar samlas in för körbara filer som är värdar för kodpaketen för alla tjänster som tillhör programmet.

Attribut Värde
name CrashDumpSource
minOccurs 0

ETWSource

Anger ETW-spårningssamling. ETW-spårningar samlas in för de leverantörer som är registrerade av alla tjänster som tillhör programmet.

Attribut Värde
name ETWSource
minOccurs 0

Mappkälla

Anger samlingen av innehållet i en viss mapp på den lokala noden.

Attribut Värde
name Mappkälla
minOccurs 0
maxOccurs Obegränsad

DllHostEntryPointType complexType

Använd inte. DLL-värdstöd (startpunkt för sammansättning) tillhandahålls via FWP.exe-processen. Service Fabric startar Fabric Worker Process (FWP.exe) och läser in sammansättningen som en del av aktiveringsprocessen.

Attribut Värde
innehåll 2 element, 1 attribut
Definieras Globalt
name DllHostEntryPointType

XML-källa

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

Attributinformation

IsolationPolicy

Använd inte. Definierar isoleringsprincipen för ohanterade DLL:er och hanterade sammansättningar som lästs in i DllHost.

Attribut Värde
name IsolationPolicy
Använda valfri
standard DedicatedProcess

Information om innehållselement

OhanteradDll

Attribut Värde
name OhanteradDll
type OhanteradDllType

ManagedAssembly

Attribut Värde
name ManagedAssembly
type ManagedAssemblyType

DriverOptionType complexType

Drivrutinsalternativ som ska skickas till drivrutinen. Azure Files-volym-plugin-programmet stöder följande drivrutinsalternativ: shareName (Azure Files-filresursen som tillhandahåller volymen för containern), storageAccountName (Azure Storage-kontot som innehåller Azure Files-filresursen), storageAccountKey (åtkomstnyckel för Azure-lagringskontot som innehåller Azure Files-filresursen). Dessa tre drivrutinsalternativ krävs.

Attribut Värde
innehåll 0 element, 4 attribut
Definieras Globalt
name DriverOptionType

XML-källa

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

Attributinformation

Name

Namnet på drivrutinsalternativet.

Attribut Värde
name Namn
type xs:string
Använda required

Värde

Värdet för drivrutinsalternativet.

Attribut Värde
name Värde
type xs:string
Använda required

IsEncrypted

Attribut Värde
name IsEncrypted
type xs:string
Använda valfri
standard falskt

Typ

Det här värdet definierar skyddet av attributets värde. Det kan vara SecretsStoreRef/Encrypted/PlainText. Om värdet är inställt på SecretsStoreRef refererar värdet till en hemlighet som lagras krypterad i klustrets SecureStore, som avreferenseras och dekrypteras vid aktivering. Om värdet är Krypterat ansvarar programutvecklaren för att skapa ett certifikat och använda cmdleten Invoke-ServiceFabricEncryptSecret för att kryptera känslig information.

Attribut Värde
name Type
type xs:string
Använda valfri
standard PlainText

EndpointBindingPolicyType complexType

Attribut Värde
innehåll 0 element, 2 attribut
Definieras Globalt
name EndpointBindingPolicyType

XML-källa

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

Attributinformation

EndpointRef

Namnet på slutpunkten, som måste deklareras i avsnittet Resurser i tjänstmanifestet. När du använder HTTPS ska du inte använda samma port och certifikat för olika tjänstinstanser (oberoende av programmet) som distribuerats till samma nod. Uppgradering av två olika tjänster med samma port i olika programinstanser resulterar i ett uppgraderingsfel.

Attribut Värde
name EndpointRef

CertificateRef

Namnet på slutpunktscertifikatet, som deklarerats i avsnittet Certifikat, för att återgå till klienten.

Attribut Värde
name CertificateRef
Använda required

EndpointCertificateType complexType

Anger information om ett X509-certifikat som används för att skydda en slutpunkt.

Attribut Värde
innehåll 0 element, 3 attribut
Definieras Globalt
name EndpointCertificateType

XML-källa

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

Attributinformation

X509StoreName

Butiksnamnet för X509-certifikatet.

Attribut Värde
name X509StoreName
type xs:string
standard Min

X509FindValue

Tumavtrycket för X509-certifikatet.

Attribut Värde
name X509FindValue
Använda required

Name

Attribut Värde
name Namn
type xs:string
Använda valfri

EndpointOverrideType complexType

Attribut Värde
innehåll 0 element, 6 attribut
Definieras Globalt
name EndpointOverrideType

XML-källa

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

Attributinformation

Name

Namnet på slutpunkten som ska åsidosättas. En sträng.

Attribut Värde
name Name
Använda required

Port

Portnumret för slutpunkten. Åsidosätter värdet i tjänstmanifestet.

Attribut Värde
name Port
type xs:string

Protokoll

Protokollet för slutpunkten. Åsidosätter värdet i tjänstmanifestet. HTTPS-slutpunkter måste också ha en EndpointCertificate och en EndpointBindingPolicy deklarerad i programmanifestet. Det går inte att ändra protokollet senare i en programuppgradering.

Attribut Värde
name Protokoll
type xs:string
Använda valfri

Typ

Typ av slutpunkt. Åsidosätter värdet i tjänstmanifestet. Indataslutpunkter används för att exponera porten för utsidan, interna slutpunkter används för kommunikation mellan program.

Attribut Värde
name Type
type xs:string
Använda valfri

UriScheme

URI-schemat. Åsidosätter värdet i tjänstmanifestet. Till exempel "http", "https" eller "ftp".

Attribut Värde
name UriScheme
Använda valfri

PathSuffix

Sökvägssuffixet. Till exempel "/myapp1". Åsidosätter värdet i tjänstmanifestet.

Attribut Värde
name PathSuffix
Använda valfri

EndpointType complexType

Definierar en slutpunkt för tjänsten. Specifika portar kan begäras. Om en port inte uttryckligen anges tilldelas en port från det reserverade programportintervallet. Tjänstrepliker som körs på olika klusternoder kan tilldelas olika portnummer, medan repliker av samma tjänst som körs på samma nod delar samma port. Sådana portar kan användas av tjänstreplikerna i olika syften, till exempel replikering eller lyssna efter klientbegäranden.

Attribut Värde
innehåll 0 element, 8 attribut
Definieras Globalt
name EndpointType

XML-källa

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

Attributinformation

Name

Namnet på slutpunkten.

Attribut Värde
name Name
Använda required

Protokoll

Protokollet för slutpunkten: http, https, tcp eller udp. HTTPS-slutpunkter måste också ha en EndpointCertificate och en EndpointBindingPolicy deklarerad i programmanifestet. Det går inte att ändra protokollet senare i en programuppgradering.

Attribut Värde
name Protokoll
Använda valfri
standard tcp

Typ

Typ av slutpunkt. Indataslutpunkter används för att exponera porten för utsidan, interna slutpunkter används för kommunikation mellan program.

Attribut Värde
name Type
Använda valfri
standard Internt

CodePackageRef

Namnet på kodpaketet som ska använda den här slutpunkten.

Attribut Värde
name CodePackageRef
Använda valfri

CertificateRef

Använd inte, det här attributet stöds inte.

Attribut Värde
name CertificateRef

Port

Porten ersätts med en port som bestäms av Microsoft Azure Service Fabric efter registrering med Http.sys eller BFE.

Attribut Värde
name Port

UriScheme

URI-schemat. Till exempel "http", "https" eller "ftp".

Attribut Värde
name UriScheme

PathSuffix

Sökvägssuffixet. Till exempel "/myapp1".

Attribut Värde
name PathSuffix

EntryPointDescriptionType complexType

Den körbara fil som anges av EntryPoint är vanligtvis den långvariga tjänstvärden. Förekomsten av en separat startpunkt för installation undviker att behöva köra tjänstvärden med hög behörighet under längre tidsperioder. Den körbara fil som anges av EntryPoint körs när SetupEntryPoint avslutas. Den resulterande processen övervakas och startas om (börjar igen med SetupEntryPoint) om den någonsin avslutas eller kraschar.

Attribut Värde
innehåll 3 element, 0 attribut
Definieras Globalt
name EntryPointDescriptionType

XML-källa

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

Information om innehållselement

ExeHost

Attribut Värde
name ExeHost

DllHost

Attribut Värde
name DllHost
type DllHostEntryPointType

ContainerHost

Attribut Värde
name ContainerHost
type ContainerHostEntryPointType

EnvironmentOverridesType complexType

Attribut Värde
innehåll 1 element, 1 attribut
Definieras Globalt
name EnvironmentOverridesType

XML-källa

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

  

Attributinformation

CodePackageRef

Attribut Värde
name CodePackageRef
Använda required

Information om innehållselement

EnvironmentVariable

Miljövariabel.

Attribut Värde
name EnvironmentVariable
type EnvironmentVariableOverrideType
minOccurs 0
maxOccurs Obegränsad

EnvironmentType complexType

Attribut Värde
innehåll 3 element, 0 attribut
Definieras Globalt
name EnvironmentType

XML-källa

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

Information om innehållselement

Huvudkonto

Attribut Värde
name Huvudkonto
type SecurityPrincipalsType

Principer

Attribut Värde
name Principer
type ApplicationPoliciesType

Diagnostik

Attribut Värde
name Diagnostik
type DiagnosticsType

EnvironmentVariableOverrideType complexType

Attribut Värde
innehåll 0 element, 3 attribut
Definieras Globalt
name EnvironmentVariableOverrideType

XML-källa

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

Attributinformation

Name

Namnet på miljövariabeln.

Attribut Värde
name Namn
type xs:string
Använda required

Värde

Attribut Värde
name Värde

Typ

Attribut Värde
name Type
type xs:string
Använda valfri

EnvironmentVariableType complexType

Attribut Värde
innehåll 0 element, 3 attribut
Definieras Globalt
name EnvironmentVariableType

XML-källa

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

Attributinformation

Name

Namnet på miljövariabeln.

Attribut Värde
name Namn
type xs:string
Använda required

Värde

Attribut Värde
name Värde

Typ

Typ för miljövariabeln. Det kan vara PlainText/Encrypted/SecretsStoreRef. Om värdet är Inställt på SecretsStoreRef hämtar vi referensvärdet från SecretStore. Om värdet är Krypterat ansvarar programutvecklaren för att skapa ett certifikat och använda cmdleten Invoke-ServiceFabricEncryptSecret för att kryptera känslig information.

Attribut Värde
name Type
Använda valfri
standard PlainText

EnvironmentVariablesType complexType

Skicka miljövariabler till din container eller exe.

Attribut Värde
innehåll 1 element, 0 attribut
Definieras Globalt
name EnvironmentVariablesType

XML-källa

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

Information om innehållselement

EnvironmentVariable

Miljövariabel.

Attribut Värde
name EnvironmentVariable
type EnvironmentVariableType
minOccurs 0
maxOccurs Obegränsad

ExeHostEntryPointType complexType

Attribut Värde
innehåll 4 element, 1 attribut
Definieras Globalt
name ExeHostEntryPointType

XML-källa

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

Attributinformation

IsExternalExecutable

Sant om den körbara filen är extern till programpaketet. Programexistenskontrollen i programpaketet hoppas över.

Attribut Värde
name IsExternalExecutable
type xs:booleskt värde
standard falskt

Information om innehållselement

Program

Det körbara namnet. Till exempel "MySetup.bat" eller "MyServiceHost.exe".

Attribut Värde
name Program
type xs:string

Argument

Attribut Värde
name Argument
type xs:string
minOccurs 0

WorkingFolder

Attribut Värde
name WorkingFolder
standard Arbete
minOccurs 0

ConsoleRedirection

Varning! Använd inte konsolomdirigering i ett produktionsprogram, använd det bara för lokal utveckling och felsökning. Omdirigerar konsolutdata från startskriptet till en utdatafil i programmappen med namnet "log" på klusternoden där programmet distribueras och körs.

Attribut Värde
name ConsoleRedirection
minOccurs 0

ExtensionsType complexType

Beskriver tillägg som kan tillämpas på andra element.

Attribut Värde
innehåll 1 element, 0 attribut
Definieras Globalt
name ExtensionsType

XML-källa

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

Information om innehållselement

Anknytning

Attribut Värde
name Anknytning
minOccurs 0
maxOccurs Obegränsad

FabricCertificateType complexType

Detta anger certifikatinformationen.

Attribut Värde
innehåll 0 element, 5 attribut
Definieras Globalt
name FabricCertificateType

XML-källa

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

Attributinformation

X509StoreName

Butiksnamnet för X509-certifikatet.

Attribut Värde
name X509StoreName
type xs:string
standard Min

X509FindType

Detta används endast när autentiseringsuppgifter är X509. Detta anger hur du hittar certifikatet efter namnet eller tumavtrycket

Attribut Värde
name X509FindType
standard FindByThumbprint

X509FindValue

Detta används endast när autentiseringsuppgifter är X509. Det här är certifikatets faktiska namn eller tumavtryck.

Attribut Värde
name X509FindValue
Använda required

X509FindValueSecondary

Detta används endast när autentiseringsuppgifter är X509. Det här är certifikatets faktiska namn eller tumavtryck.

Attribut Värde
name X509FindValueSecondary
Använda valfri
standard

Name

Attribut Värde
name Namn
type xs:string
Använda valfri

FabricEndpointsType complexType

Attribut Värde
innehåll 21 element, 0 attribut
Definieras Globalt
name FabricEndpointsType

XML-källa

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

  

Information om innehållselement

Client Anslut ionEndpoint

Attribut Värde
name Client Anslut ionEndpoint
type InputEndpointType

LeaseDriverEndpoint

Attribut Värde
name LeaseDriverEndpoint
type InternalEndpointType

Kluster Anslut ionEndpoint

Attribut Värde
name Kluster Anslut ionEndpoint
type InternalEndpointType

HttpGatewayEndpoint

Attribut Värde
name HttpGatewayEndpoint
type InputEndpointType
minOccurs 0

HttpApplicationGatewayEndpoint

Attribut Värde
name HttpApplicationGatewayEndpoint
type InputEndpointType
minOccurs 0

Tjänst Anslut ionEndpoint

Attribut Värde
name Tjänst Anslut ionEndpoint
type InternalEndpointType
minOccurs 0

ClusterManagerReplicatorEndpoint

Attribut Värde
name ClusterManagerReplicatorEndpoint
type InternalEndpointType
minOccurs 0

RepairManagerReplicatorEndpoint

Attribut Värde
name RepairManagerReplicatorEndpoint
type InternalEndpointType
minOccurs 0

NamingReplicatorEndpoint

Attribut Värde
name NamingReplicatorEndpoint
type InternalEndpointType
minOccurs 0

FailoverManagerReplicatorEndpoint

Attribut Värde
name FailoverManagerReplicatorEndpoint
type InternalEndpointType
minOccurs 0

ImageStoreServiceReplicatorEndpoint

Attribut Värde
name ImageStoreServiceReplicatorEndpoint
type InternalEndpointType
minOccurs 0

UpgradeServiceReplicatorEndpoint

Attribut Värde
name UpgradeServiceReplicatorEndpoint
type InternalEndpointType
minOccurs 0

FaultAnalysisServiceReplicatorEndpoint

Attribut Värde
name FaultAnalysisServiceReplicatorEndpoint
type InternalEndpointType
minOccurs 0

BackupRestoreServiceReplicatorEndpoint

Attribut Värde
name BackupRestoreServiceReplicatorEndpoint
type InternalEndpointType
minOccurs 0

UpgradeOrchestrationServiceReplicatorEndpoint

Attribut Värde
name UpgradeOrchestrationServiceReplicatorEndpoint
type InternalEndpointType
minOccurs 0

CentralSecretServiceReplicatorEndpoint

Attribut Värde
name CentralSecretServiceReplicatorEndpoint
type InternalEndpointType
minOccurs 0

EventStoreServiceReplicatorEndpoint

Attribut Värde
name EventStoreServiceReplicatorEndpoint
type InternalEndpointType
minOccurs 0

GatewayResourceManagerReplicatorEndpoint

Attribut Värde
name GatewayResourceManagerReplicatorEndpoint
type InternalEndpointType
minOccurs 0

DefaultReplicatorEndpoint

Attribut Värde
name DefaultReplicatorEndpoint
type InternalEndpointType
minOccurs 0

ApplicationEndpoints

Attribut Värde
name ApplicationEndpoints
minOccurs 0

EphemeralEndpoints

Attribut Värde
name EphemeralEndpoints
minOccurs 0

FabricKtlLogger Inställningar Type complexType

Attribut Värde
innehåll 3 element, 0 attribut
Definieras Globalt
name FabricKtlLogger Inställningar Type

XML-källa

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

  

Information om innehållselement

SharedLogFilePath

Definierar sökvägen till den delade loggen.

Attribut Värde
name SharedLogFilePath
minOccurs 0

SharedLogFileId

Specifikt GUID som ska användas som delat logg-ID.

Attribut Värde
name SharedLogFileId
minOccurs 0

SharedLogFileSizeInMB

Definierar hur stor den delade loggen är.

Attribut Värde
name SharedLogFileSizeInMB
minOccurs 0

FabricNodeType complexType

Beskriver en Microsoft Azure Service Fabric-nod.

Attribut Värde
innehåll 0 element, 6 attribut
Definieras Globalt
name FabricNodeType

XML-källa

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

Attributinformation

NodeName

Namnet på nodinstansen.

Attribut Värde
name NodeName
type xs:string
Använda required

IPAddressOrFQDN

IP-adressen eller det fullständiga domännamnet för den dator där noden ska placeras.

Attribut Värde
name IPAddressOrFQDN
type xs:string
Använda required

IsSeedNode

En flagga som anger om den här noden är en startnod.

Attribut Värde
name IsSeedNode
type xs:booleskt värde
standard falskt

NodeTypeRef

Namnet på den nodtyp som definierats i avsnittet NodeTypes.

Attribut Värde
name NodeTypeRef
type xs:string
Använda required

FaultDomain

Nodens feldomän.

Attribut Värde
name FaultDomain
type xs:anyURI
Använda valfri

UpgradeDomain

Uppgraderingsdomänen för den här noden.

Attribut Värde
name UpgradeDomain
type xs:anyURI
Använda valfri

FileStoreETWType complexType

Beskriver ett filarkivmål för ETW-händelser. Fungerar endast i lokal miljö.

Attribut Värde
innehåll 0 element, 0 attribut
Definieras Globalt
name FileStoreETWType

XML-källa

<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

Beskriver ett fillagermål för diagnostikdata. Fungerar endast i en fristående klustermiljö.

Attribut Värde
innehåll 1 element, 2 attribut
Definieras Globalt
name FileStoreType

XML-källa

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

Attributinformation

AccountType

Anger typ av konto.

Attribut Värde
name AccountType
type xs:string

PasswordEncrypted

Anger om lösenordet är krypterat eller oformaterad text.

Attribut Värde
name PasswordEncrypted
type xs:string

Information om innehållselement

Ingen

Attribut Värde
Referens Parametrar
minOccurs 0

ImageOverridesType complexType

Windows Server-containrar kanske inte är kompatibla i olika versioner av operativsystemet. Du kan ange flera OS-avbildningar per container och tagga dem med versionsversionerna av operativsystemet. Hämta versionsversionen av operativsystemet genom att köra "winver" i en Windows-kommandotolk. Om det underliggande operativsystemet är version 16299 (Windows Server version 1709) väljer Service Fabric containeravbildningen märkt med Os="16299". En obevakad containeravbildning antas fungera i alla versioner av operativsystemet och åsidosätter avbildningen som anges i tjänstmanifestet.

Attribut Värde
innehåll 1 element, 0 attribut
Definieras Globalt
name ImageOverridesType

XML-källa

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

Information om innehållselement

Bild

Containeravbildning som motsvarar versionsnumret för operativsystemet som ska startas. Om attributet Os inte har angetts antas containeravbildningen fungera i alla versioner av operativsystemet och åsidosätter avbildningen som anges i tjänstmanifestet.

Attribut Värde
name Bild
type ImageType
minOccurs 0
maxOccurs Obegränsad

ImageType complexType

Attribut Värde
innehåll 0 element, 2 attribut
Definieras Globalt
name ImageType

XML-källa

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

Attributinformation

Name

Namnet på containeravbildningen.

Attribut Värde
name Namn
type xs:string
Använda required

OS

Skapa version av operativsystemet. Versionsversionen av Windows Server version 1709 är till exempel 16299.

Attribut Värde
name OS
type xs:string
Använda valfri

InfrastructureInformationType complexType

Innehåller infrastrukturinformationen för det här Microsoft Azure Service Fabric-klustret.

Attribut Värde
innehåll 1 element, 0 attribut
Definieras Globalt
name InfrastrukturInformationType

XML-källa

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

Information om innehållselement

NodeList

Attribut Värde
name NodeList

InfrastructureNodeType complexType

Beskriver en infrastrukturinformation som behövs.

Attribut Värde
innehåll 2 element, 7 attribut
Definieras Globalt
name InfrastrukturNodeType

XML-källa

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

Attributinformation

NodeName

Namnet på nodinstansen.

Attribut Värde
name NodeName
type xs:string
Använda required

IPAddressOrFQDN

IP-adressen eller det fullständiga domännamnet för den dator där noden ska placeras.

Attribut Värde
name IPAddressOrFQDN
type xs:string
Använda required

RoleOrTierName

Namnet på rollen som länkar till nodtyps ref som definieras i avsnittet NodeTypes.

Attribut Värde
name RoleOrTierName
type xs:string
Använda required

NodeTypeRef

Namn på den nodtyp som definieras i avsnittet NodeTypes.

Attribut Värde
name NodeTypeRef
type xs:string
Använda required

IsSeedNode

Anger om noden är en startnod.

Attribut Värde
name IsSeedNode
type xs:booleskt värde
Använda valfri
standard falskt

FaultDomain

Nodens feldomän.

Attribut Värde
name FaultDomain
type xs:anyURI
Använda valfri

UpgradeDomain

Uppgraderingsdomänen för den här noden.

Attribut Värde
name UpgradeDomain
type xs:anyURI
Använda valfri

Information om innehållselement

Slutpunkter

Beskriva slutpunkterna som är associerade med den här nodtypen

Attribut Värde
name Slutpunkter
type FabricEndpointsType
minOccurs 0

Certifikat

Beskriv de certifikat som är associerade med den här nodtypen

Attribut Värde
name Certifikat
type CertificatesType
minOccurs 0

InputEndpointType complexType

Attribut Värde
innehåll 0 element, 2 attribut
Definieras Globalt
name InputEndpointType

XML-källa

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

Attributinformation

Port

Attribut Värde
name Port
type xs:positiveInteger
Använda required

Protokoll

Attribut Värde
name Protokoll
Använda valfri
standard tcp

InternalEndpointType complexType

Attribut Värde
innehåll 0 element, 2 attribut
Definieras Globalt
name InternalEndpointType

XML-källa

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

Attributinformation

Port

Attribut Värde
name Port
type xs:positiveInteger
Använda required

Protokoll

Attribut Värde
name Protokoll
Använda valfri
standard tcp

KeyValuePairType complexType

Attribut Värde
innehåll 0 element, 0 attribut
Definieras Globalt
name KeyValuePairType

XML-källa

<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

Attribut Värde
innehåll 1 element, 0 attribut
Definieras Globalt
name LinuxInfrastructureType

XML-källa

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

Information om innehållselement

NodeList

Attribut Värde
name NodeList

LoadMetricType complexType

En resurs som den här tjänsten ska balanseras på, till exempel minne eller CPU-användning. Innehåller information om hur mycket av den resursen som varje replik eller instans av den här tjänsten förbrukar som standard.

Attribut Värde
innehåll 0 element, 5 attribut
Definieras Globalt
name LoadMetricType

XML-källa

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

Attributinformation

Name

En unik identifierare för måttet i klustret från Klusterresurshanterarens perspektiv.

Attribut Värde
name Name
Använda required

DefaultLoad

Den standardmängd av belastning som den här tillståndslösa tjänsten skapar för det här måttet.

Attribut Värde
name DefaultLoad
type xs:long
Använda valfri
standard 0

PrimaryDefaultLoad

Den standardbelastning som den här tjänsten använder för det här måttet när det är en primär replik.

Attribut Värde
name PrimaryDefaultLoad
type xs:long
Använda valfri
standard 0

SecondaryDefaultLoad

Den standardbelastning som den här tjänsten kommer att utöva för det här måttet när det är en sekundär replik.

Attribut Värde
name SecondaryDefaultLoad
type xs:long
Använda valfri
standard 0

Grovlek

Avgör måttvikten i förhållande till de andra mått som har konfigurerats för den här tjänsten. Om två mått hamnar i konflikt under körningen föredrar Klusterresurshanteraren måttet med högre vikt. Noll inaktiverar belastningsutjämning för det här måttet.

Attribut Värde
name Grovlek

LocalStoreETWType complexType

Beskriver ett butiksmål i noden för ETW-händelser.

Attribut Värde
innehåll 0 element, 0 attribut
Definieras Globalt
name LocalStoreETWType

XML-källa

<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

Beskriver ett lagringsmål i noden för diagnostikdata.

Attribut Värde
innehåll 1 element, 0 attribut
Definieras Globalt
name LocalStoreType

XML-källa

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

Information om innehållselement

Ingen

Attribut Värde
Referens Parametrar
minOccurs 0

LogicalDirectoryType complexType

Beskriver en LogicalDirectoryType.

Attribut Värde
innehåll 0 element, 3 attribut
Definieras Globalt
name LogicalDirectoryType

XML-källa

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

Attributinformation

LogicalDirectoryName

Namnet på LogicalDirectory.

Attribut Värde
name LogicalDirectoryName
type xs:string
Använda required

MappedTo

Sökvägen till LogicalDirectory.

Attribut Värde
name MappedTo
type xs:string
Använda required

Sammanhang

Attribut Värde
name Sammanhang
Använda valfri
standard program

ManagedAssemblyType complexType

Använd inte. Namnet på den hanterade sammansättningen (till exempel Queue.dll) som värd.

Attribut Värde
innehåll 0 element, 0 attribut
Definieras Globalt
name ManagedAssemblyType

XML-källa

<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

Beskriver nätverksprinciper, inklusive containernätverksprinciper för tjänstpaketet.

Attribut Värde
innehåll 1 element, 0 attribut
Definieras Globalt
name NetworkPoliciesType

XML-källa

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

Information om innehållselement

ContainerNetworkPolicy

Beskriver containernätverksprinciper för tjänstpaketet.

Attribut Värde
name ContainerNetworkPolicy
type ContainerNetworkPolicyType
minOccurs 0
maxOccurs Obegränsad

PaaSRoleType complexType

Attribut Värde
innehåll 0 element, 3 attribut
Definieras Globalt
name PaaSRoleType

XML-källa

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

Attributinformation

RoleName

Attribut Värde
name RoleName
type xs:string
Använda required

NodeTypeRef

Attribut Värde
name NodeTypeRef
type xs:string
Använda required

RoleNodeCount

Attribut Värde
name RoleNodeCount
type xs:int
Använda required

PaaSVoteType complexType

Attribut Värde
innehåll 0 element, 3 attribut
Definieras Globalt
name PaaSVoteType

XML-källa

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

Attributinformation

NodeName

Attribut Värde
name NodeName
Använda required

IPAddressOrFQDN

Attribut Värde
name IPAddressOrFQDN
Använda required

Port

Attribut Värde
name Port
type xs:int
Använda required

PackageSharingPolicyType complexType

Anger om en kod, konfiguration eller ett datapaket ska delas mellan tjänstinstanser av samma tjänsttyp.

Attribut Värde
innehåll 0 element, 2 attribut
Definieras Globalt
name PackageSharingPolicyType

XML-källa

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

Attributinformation

PackageRef

Namnet på koden, konfigurationen eller datapaketet som ska delas. Måste matcha namnet på paketet som definierats i tjänstmanifestet.

Attribut Värde
name PackageRef

Omfattning

Attribut Värde
name Omfattning
standard Ingen

ParameterType complexType

Attribut Värde
innehåll 0 element, 1 attribut
Definieras Globalt
name ParameterType

XML-källa

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

Attributinformation

IsEncrypted

Om sant krypteras värdet för den här parametern

Attribut Värde
name IsEncrypted
type xs:string

ParametersType complexType

Attribut Värde
innehåll 1 element, 0 attribut
Definieras Globalt
name ParametersType

XML-källa

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

Information om innehållselement

Parameter

Attribut Värde
name Parameter
type ParameterType
minOccurs 1
maxOccurs Obegränsad

PortBindingType complexType

Attribut Värde
innehåll 0 element, 2 attribut
Definieras Globalt
name PortBindingType

XML-källa

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

Attributinformation

ContainerPort

Containerportnummer.

Attribut Värde
name ContainerPort
type xs:int
Använda required

EndpointRef

Attribut Värde
name EndpointRef

RepositoryCredentialsType complexType

Attribut Värde
innehåll 0 element, 3 attribut
Definieras Globalt
name RepositoryCredentialsType

XML-källa

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

Attributinformation

PasswordEncrypted

Anger om lösenordet är krypterat eller oformaterad text. Det här attributet är inaktuellt. Använd attributet Typ för att ange krypterat lösenord.

Attribut Värde
name PasswordEncrypted
type xs:booleskt värde
Använda valfri

Email

Attribut Värde
name Email

Typ

Det här värdet definierar den typ av lösenord som du har angett i attributet Lösenord. Det kan vara SecretsStoreRef/Encrypted/PlainText. Om värdet är Inställt på SecretsStoreRef hämtar vi referensvärdet från SecretStore. Om värdet är Krypterat ansvarar programutvecklaren för att skapa ett certifikat och använda cmdleten Invoke-ServiceFabricEncryptSecret för att kryptera känslig information.

Attribut Värde
name Type
type xs:string
Använda valfri

ResourceGovernancePolicyType complexType

Begränsar de resurser som kan användas på värden och deklarerar resursgränser för ett tjänstkodpaket.

Attribut Värde
innehåll 0 element, 12 attribut
Definieras Globalt
name ResourceGovernancePolicyType

XML-källa

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

Attributinformation

CodePackageRef

Attribut Värde
name CodePackageRef
Använda required

MemoryInMB

Minnesgränser i MB. Måste vara ett positivt heltal. Kodpaket (containrar eller processer) kan inte tilldela mer minne än den här gränsen, och försök att göra detta leder till undantag utanför minnet.

Attribut Värde
name MemoryInMB
type xs:string
Använda valfri
standard 0

MemorySwapInMB

Den totala mängden växlingsminne som kan användas i MB. Måste vara ett positivt heltal.

Attribut Värde
name MemorySwapInMB
type xs:string
Använda valfri
standard 0

MemoryReservationInMB

Den mjuka gränsen (i MB) för minnesstyrning som endast framtvingas när minneskonkurration identifieras på noden. Måste vara ett positivt heltal.

Attribut Värde
name MemoryReservationInMB
type xs:string
Använda valfri
standard 0

CpuShares

Relativ CPU-vikt. Måste vara ett positivt heltal.

Attribut Värde
name CpuShares
type xs:string
Använda valfri
standard 0

CpuPercent

Användbar procentandel av tillgängliga processorer (endast Windows). Måste vara ett positivt heltal. Om CPU-gränser anges för tjänstpaketet ignoreras den här parametern effektivt.

Attribut Värde
name CpuPercent
type xs:string
Använda valfri
standard 0

MaximumIOps

Maximal I/O-hastighet (läsning och skrivning) när det gäller IOPS som kan användas. Måste vara ett positivt heltal.

Attribut Värde
name MaximumIOps
type xs:string
Använda valfri
standard 0

MaximumIOBandwidth

Den maximala I/O (byte per sekund) som kan användas (läsa och skriva). Måste vara ett positivt heltal.

Attribut Värde
name MaximumIOBandwidth
type xs:string
Använda valfri
standard 0

BlockIOWeight

Blockera I/O-vikt i förhållande till andra kodpaket. Måste vara ett positivt heltal mellan 10 och 1 000.

Attribut Värde
name BlockIOWeight
type xs:string
Använda valfri
standard 0

DiskQuotaInMB

Diskkvot för containrar. Måste vara ett positivt heltal.

Attribut Värde
name DiskQuotaInMB
type xs:string
Använda valfri
standard 0

KernelMemoryInMB

Minnesgränser för kernel i byte. Måste vara ett positivt heltal. Observera att detta är Linux-specifikt och docker i Windows kommer att fela om detta har angetts.

Attribut Värde
name KernelMemoryInMB
type xs:string
Använda valfri
standard 0

ShmSizeInMB

Storleken på /dev/shm i byte. Om det utelämnas använder systemet 64 MB. Måste vara ett positivt heltal. Observera att detta är Linux-specifikt, men docker får INTE fel om det anges. Det ignoreras helt enkelt.

Attribut Värde
name ShmSizeInMB
type xs:string
Använda valfri
standard 0

ResourceOverridesType complexType

Anger resurs åsidosättningar för slutpunkter som deklarerats i tjänstmanifestresurser.

Attribut Värde
innehåll 1 element, 0 attribut
Definieras Globalt
name ResourceOverridesType

XML-källa

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

Information om innehållselement

Slutpunkter

Tjänstslutpunkter som ska åsidosättas.

Attribut Värde
name Slutpunkter
minOccurs 0

ResourcesType complexType

Beskriver de resurser som används av den här tjänsten, som kan deklareras utan att ändra kompilerad kod och ändras när tjänsten distribueras. Åtkomsten till dessa resurser styrs via avsnitten Huvudnamn och principer i programmanifestet.

Attribut Värde
innehåll 1 element, 0 attribut
Definieras Globalt
name ResourcesType

XML-källa

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

Information om innehållselement

Slutpunkter

Definierar slutpunkter för tjänsten.

Attribut Värde
name Slutpunkter
minOccurs 0

RunAsPolicyType complexType

Anger det lokala eller lokala systemkonto som ett tjänstkodpaket ska köras som. Domänkonton stöds i Windows Server-distributioner där Microsoft Entra-ID är tillgängligt. Som standard körs program under det konto som Fabric.exe-processen körs under. Program kan också köras som andra konton, som måste deklareras i avsnittet Huvudnamn. Om du tillämpar en RunAs-princip på en tjänst och tjänstmanifestet deklarerar slutpunktsresurser med HTTP-protokollet, måste du också ange en SecurityAccessPolicy för att säkerställa att portar som allokerats till dessa slutpunkter är korrekt åtkomstkontroll listade för det RunAs-användarkonto som tjänsten körs under. För en HTTPS-slutpunkt måste du också definiera en EndpointBindingPolicy för att ange namnet på certifikatet som ska returneras till klienten.

Attribut Värde
innehåll 0 element, 3 attribut
Definieras Globalt
name RunAsPolicyType

XML-källa

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

Attributinformation

CodePackageRef

Namnet på kodpaketet. Måste matcha namnet på CodePackage som anges i tjänstmanifestet.

Attribut Värde
name CodePackageRef
Använda required

UserRef

Det användarkonto som tjänstkodpaketet ska köras som. Användarkontot måste deklareras i avsnittet Huvudnamn. Ofta är det bättre att köra startpunkten för installationen med ett lokalt systemkonto i stället för ett administratörskonto.

Attribut Värde
name UserRef
Använda required

EntryPointType

Installationsprogrammet är SetupEntryPoint som deklarerats i tjänstmanifestet, den privilegierade startpunkten som körs före någon annan startpunkt. Main är EntryPoint som deklareras i tjänstmanifestet, vanligtvis den långvariga tjänstvärden. Allt är alla startpunkter.

Attribut Värde
name EntryPointType
Använda valfri
standard Huvud

ScalingPolicyType complexType

En beskrivning av skalningsprincipen som består av en utlösare och en mekanism för skalning.

Attribut Värde
innehåll 0 element, 0 attribut
Definieras Globalt
name ScalingPolicyType

XML-källa

<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

Ger åtkomstbehörighet till ett huvudnamn för en resurs (till exempel en slutpunkt) som definierats i ett tjänstmanifest. Vanligtvis är det mycket användbart att kontrollera och begränsa åtkomsten till tjänster till olika resurser för att minimera säkerhetsrisker. Detta är särskilt viktigt när programmet skapas från en samling tjänster från en marknadsplats som utvecklas av olika utvecklare.

Attribut Värde
innehåll 0 element, 4 attribut
Definieras Globalt
name SecurityAccessPolicyType

XML-källa

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

Attributinformation

ResourceRef

Resursen som beviljas åtkomst till, deklareras och konfigureras i tjänstmanifestet.

Attribut Värde
name ResourceRef
Använda required

PrincipalRef

Användaren eller gruppen som tilldelas åtkomsträttigheter till en resurs måste deklareras i avsnittet Huvudnamn.

Attribut Värde
name PrincipalRef
Använda required

GrantRights

Behörighet att bevilja: Läs, Ändra eller Fullständig. Standardvärdet är Läs.

Attribut Värde
name GrantRights
standard Lästa

ResourceType

Resurstypen som definieras i avsnittet Resurser i tjänstmanifestet. Antingen slutpunkt eller certifikat.

Attribut Värde
name ResourceType
Använda valfri
standard Slutpunkt

SecurityOptionsType complexType

Attribut Värde
innehåll 0 element, 1 attribut
Definieras Globalt
name SecurityOptionsType

XML-källa

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

Attributinformation

Värde

Attribut Värde
name Värde
Använda required

SecurityPrincipalsType complexType

Beskriver de säkerhetsobjekt (användare, grupper) som krävs för att programmet ska kunna köra tjänster och säkra resurser. Huvudnamn refereras till i principavsnitten.

Attribut Värde
innehåll 2 element, 0 attribut
Definieras Globalt
name SecurityPrincipalsType

XML-källa

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

Information om innehållselement

Grupper

Deklarerar en uppsättning grupper som säkerhetsobjekt, som kan refereras till i principer. Grupper är användbara om det finns flera användare för olika startpunkter för tjänsten och de måste ha vissa vanliga behörigheter som är tillgängliga på gruppnivå.

Attribut Värde
name Grupper
minOccurs 0

Användare

Deklarerar en uppsättning användare som säkerhetsobjekt, som kan refereras till i principer.

Attribut Värde
name Användare
minOccurs 0

ServiceAndServiceGroupTypesType complexType

Attribut Värde
innehåll 4 element, 0 attribut
Definieras Globalt
name ServiceAndServiceGroupTypesType

XML-källa

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

Information om innehållselement

StatefulServiceType

Attribut Värde
name StatefulServiceType
type StatefulServiceTypeType

StatelessServiceType

Attribut Värde
name StatelessServiceType
type StatelessServiceTypeType

StatefulServiceGroupType

Attribut Värde
name StatefulServiceGroupType
type StatefulServiceGroupTypeType

StatelessServiceGroupType

Attribut Värde
name StatelessServiceGroupType
type StatelessServiceGroupTypeType

ServiceDiagnosticsType complexType

Beskriver diagnostikinställningarna för komponenterna i det här tjänstmanifestet.

Attribut Värde
innehåll 1 element, 0 attribut
Definieras Globalt
name ServiceDiagnosticsType

XML-källa

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

Information om innehållselement

ETW

Beskriver ETW-inställningarna för komponenterna i det här tjänstmanifestet.

Attribut Värde
name ETW
minOccurs 0

ServiceFabricRuntimeAccessPolicyType complexType

Attribut Värde
innehåll 0 element, 2 attribut
Definieras Globalt
name ServiceFabricRuntimeAccessPolicyType

XML-källa

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

Attributinformation

RemoveServiceFabricRuntimeAccess

Anger om specifik information för Fabric Runtime ska exponeras för kodpaketen i Service-paketet.

Attribut Värde
name RemoveServiceFabricRuntimeAccess
type xs:booleskt värde
standard falskt

UseServiceFabricReplicatedStore

Anger om Service Fabric-replikerat blockarkiv ska användas för att tillhandahålla volym för containrar i servicepaketet.

Attribut Värde
name UseServiceFabricReplicatedStore
type xs:booleskt värde
standard falskt

ServiceGroupMemberType complexType

Attribut Värde
innehåll 1 element, 2 attribut
Definieras Globalt
name ServiceGroupMemberType

XML-källa

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

Attributinformation

ServiceTypeName

Typ av tjänstgruppsmedlem.

Attribut Värde
name ServiceTypeName
Använda required

Name

Namnet på tjänstgruppens medlem i förhållande till namnet på tjänstgruppen.

Attribut Värde
name Name
Använda required

Information om innehållselement

LoadMetrics

Läs in mått som rapporterats av den här tjänsten.

Attribut Värde
name LoadMetrics
minOccurs 0

ServiceGroupTypeType complexType

Bastyp som beskriver en tillståndskänslig eller tillståndslös ServiceGroupType.

Attribut Värde
innehåll 4 element, 2 attribut
Definieras Globalt
name ServiceGroupTypeType

XML-källa

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

Attributinformation

ServiceGroupTypeName

Användardefinierad typidentifierare för en tjänstgrupp, till exempel "ActorQueueSGType". Det här värdet används i filen ApplicationManifest.xml för att identifiera tjänstgruppen.

Attribut Värde
name ServiceGroupTypeName
Använda required

UseImplicitFactory

Anger om tjänstgruppsinstansen skapas av den implicita fabriken. Om det är falskt (standard) måste ett av kodpaketen registrera tjänstgruppfabriken

Attribut Värde
name UseImplicitFactory
type xs:booleskt värde
Använda valfri

Information om innehållselement

LoadMetrics

Läs in mått som rapporterats av den här tjänsten.

Attribut Värde
name LoadMetrics
minOccurs 0

PlacementConstraints

Begränsningar för placering av tjänster som ingår i det här paketet.

Attribut Värde
name PlacementConstraints
type xs:string
minOccurs 0

ServiceGroupMembers

Medlemstyper av den här tjänstgruppstypen.

Attribut Värde
name ServiceGroupMembers
minOccurs 0
maxOccurs 1

Ingen

Attribut Värde
Referens Tillägg
minOccurs 0

ServiceManifestImportPoliciesType complexType

Beskriver principer (slutpunktsbindning, paketdelning, körning och säkerhetsåtkomst) som ska tillämpas på det importerade tjänstmanifestet.

Attribut Värde
innehåll 11 element, 0 attribut
Definieras Globalt
name ServiceManifestImportPoliciesType

XML-källa

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

Information om innehållselement

RunAsPolicy

Attribut Värde
name RunAsPolicy
type RunAsPolicyType
minOccurs 0

SecurityAccessPolicy

Attribut Värde
name SecurityAccessPolicy
type SecurityAccessPolicyType
minOccurs 0

PackageSharingPolicy

Attribut Värde
name PackageSharingPolicy
type PackageSharingPolicyType
minOccurs 0

EndpointBindingPolicy

Anger ett certifikat som ska returneras till en klient för en HTTPS-slutpunkt.

Attribut Värde
name EndpointBindingPolicy
type EndpointBindingPolicyType
minOccurs 0

ServiceFabricRuntimeAccessPolicy

Anger principer som avgör hur Service Fabric-körningen exponeras för replikerna.

Attribut Värde
name ServiceFabricRuntimeAccessPolicy
type ServiceFabricRuntimeAccessPolicyType
minOccurs 0
maxOccurs 1

ServicePackageResourceGovernancePolicy

Definierar den resursstyrningsprincip som tillämpas på nivån för hela tjänstpaketet.

Attribut Värde
name ServicePackageResourceGovernancePolicy
type ServicePackageResourceGovernancePolicyType
minOccurs 0
maxOccurs 1

ResourceGovernancePolicy

Anger resursgränser för ett kodpaket.

Attribut Värde
name ResourceGovernancePolicy
type ResourceGovernancePolicyType
minOccurs 0

ServicePackageContainerPolicy

Attribut Värde
name ServicePackageContainerPolicy
type ServicePackageContainerPolicyType
minOccurs 0
maxOccurs 1

ContainerHostPolicies

Anger principer för aktivering av containervärdar.

Attribut Värde
name ContainerHostPolicies
type ContainerHostPoliciesType
minOccurs 0

ConfigPackagePolicies

Konfigurationspaket som ska monteras i containern.

Attribut Värde
name ConfigPackagePolicies
type ConfigPackagePoliciesType
minOccurs 0

NetworkPolicies

Anger nätverksprinciper, inklusive containernätverksprinciper.

Attribut Värde
name NetworkPolicies
type NetworkPoliciesType
minOccurs 0
maxOccurs 1

ServiceManifestRefType complexType

Importerar tjänstmanifestet med referens. För närvarande måste tjänstmanifestfilen (ServiceManifest.xml) finnas i byggpaketet.

Attribut Värde
innehåll 0 element, 0 attribut
Definieras Globalt
name ServiceManifestRefType

XML-källa

<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

Deklarativt beskriver tjänsttypen och versionen. Den visar de oberoende uppgraderingsbara kod-, konfigurations- och datapaketen som tillsammans utgör ett tjänstpaket för att stödja en eller flera tjänsttyper. Resurser, diagnostikinställningar och tjänstmetadata, till exempel tjänsttyp, hälsoegenskaper och belastningsutjämningsmått, anges också.

Attribut Värde
innehåll 7 element, 1 attribut
Definieras Globalt
name ServiceManifestType

XML-källa

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

Attributinformation

ManifestId

Identifieraren för det här tjänstmanifestet, en ostrukturerad sträng.

Attribut Värde
name ManifestId
Använda valfri
standard
type xs:string

Information om innehållselement

beskrivning

Text som beskriver den här tjänsten.

Attribut Värde
name beskrivning
type xs:string
minOccurs 0

ServiceTypes

Definierar vilka tjänsttyper som stöds av ett CodePackage i det här manifestet. När en tjänst instansieras mot någon av dessa tjänsttyper aktiveras alla kodpaket som deklareras i det här manifestet genom att deras startpunkter körs. Tjänsttyper deklareras på manifestnivå och inte på kodpaketnivå.

Attribut Värde
name ServiceTypes
type ServiceAndServiceGroupTypesType

Kodpaket

Attribut Värde
name Kodpaket
type CodePackageType
maxOccurs Obegränsad

ConfigPackage

Attribut Värde
name ConfigPackage
type ConfigPackageType
minOccurs 0
maxOccurs Obegränsad

DataPackage

Attribut Värde
name DataPackage
type DataPackageType
minOccurs 0
maxOccurs Obegränsad

Resurser

Attribut Värde
name Resurser
type ResourcesType
minOccurs 0

Diagnostik

Attribut Värde
name Diagnostik
type ServiceDiagnosticsType
minOccurs 0

ServicePackageContainerPolicyType complexType

Attribut Värde
innehåll 1 element, 2 attribut
Definieras Globalt
name ServicePackageContainerPolicyType

XML-källa

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

Attributinformation

Värdnamn

Ange Värdnamn för container.

Attribut Värde
name Värdnamn
Använda valfri
type xs:string

Isolering

Isoleringsläge för container. Giltiga värden är "default", "process" eller "hyperv".

Attribut Värde
name Isolering
Använda valfri
type xs:string

Information om innehållselement

PortBinding

Anger vilken slutpunktsresurs som ska binda containerexponerad port.

Attribut Värde
name PortBinding
type PortBindingType
minOccurs 0
maxOccurs Obegränsad

ServicePackageResourceGovernancePolicyType complexType

Attribut Värde
innehåll 0 element, 2 attribut
Definieras Globalt
name ServicePackageResourceGovernancePolicyType

XML-källa

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

Attributinformation

CpuCores

CPU-gräns i antal logiska kärnor. Måste vara ett positivt heltal.

Attribut Värde
name CpuCores
type xs:string
Använda valfri
standard 0

MemoryInMB

Minnesgränser i MB. Måste vara ett positivt heltal.

Attribut Värde
name MemoryInMB
type xs:string
Använda valfri
standard 0

ServicePackageType complexType

ServicePackage representerar en versionsenhet för distribution och aktivering. Versionen av ServicePackage bestäms baserat på manifestversionen och versionen av åsidosättningarna.

Attribut Värde
innehåll 11 element, 4 attribut
Definieras Globalt
name ServicePackageType

XML-källa

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

Attributinformation

Name

Attribut Värde
name Namn
type xs:string
Använda required

ManifestVersion

Attribut Värde
name ManifestVersion
type xs:string
Använda required

ManifestChecksum

Checksum-värdet för ServiceManifest-filen.

Attribut Värde
name ManifestChecksum
type xs:string

ContentChecksum

Kontrollsummavärdet för det här ServicePackage-innehållet.

Attribut Värde
name ContentChecksum
type xs:string

Information om innehållselement

beskrivning

Attribut Värde
name beskrivning
type xs:string
minOccurs 0

ServicePackageResourceGovernancePolicy

Attribut Värde
name ServicePackageResourceGovernancePolicy
type ServicePackageResourceGovernancePolicyType
minOccurs 0
maxOccurs 1

ServicePackageContainerPolicy

Attribut Värde
name ServicePackageContainerPolicy
type ServicePackageContainerPolicyType
minOccurs 0
maxOccurs 1

ServiceFabricRuntimeAccessPolicy

Attribut Värde
name ServiceFabricRuntimeAccessPolicy
type ServiceFabricRuntimeAccessPolicyType
minOccurs 0
maxOccurs 1

DigestedServiceTypes

Attribut Värde
name DigestedServiceTypes

DigestedCodePackage

Attribut Värde
name DigestedCodePackage
maxOccurs Obegränsad

DigestedConfigPackage

Attribut Värde
name DigestedConfigPackage
minOccurs 0
maxOccurs Obegränsad

DigestedDataPackage

Attribut Värde
name DigestedDataPackage
minOccurs 0
maxOccurs Obegränsad

DigestedResources

Attribut Värde
name DigestedResources
minOccurs 1

NetworkPolicies

Attribut Värde
name NetworkPolicies
type NetworkPoliciesType
minOccurs 0
maxOccurs 1

Diagnostik

Attribut Värde
name Diagnostik
type ServiceDiagnosticsType

ServiceTemplatesType complexType

Attribut Värde
innehåll 4 element, 0 attribut
Definieras Globalt
name ServiceTemplatesType

XML-källa

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

Information om innehållselement

Tillståndslös tjänst

Attribut Värde
name Tillståndslös tjänst
type StatelessServiceType

StatefulService

Attribut Värde
name StatefulService
type StatefulServiceType

StatelessServiceGroup

Attribut Värde
name StatelessServiceGroup
type StatelessServiceGroupType

StatefulServiceGroup

Attribut Värde
name StatefulServiceGroup
type StatefulServiceGroupType

ServiceType complexType

Bastyp som definierar en Microsoft Azure Service Fabric-tjänst.

Attribut Värde
innehåll 5 element, 2 attribut
Definieras Globalt
name ServiceType

XML-källa

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

Attributinformation

ServiceTypeName

Namnet på tjänsttypen, som deklareras i tjänstmanifestet, som instansieras.

Attribut Värde
name ServiceTypeName
Använda required

DefaultMoveCost

Anger standardkostnaden för flytt för den här tjänsten.

Attribut Värde
name DefaultMoveCost

Information om innehållselement

LoadMetrics

Läs in mått som rapporteras av den här tjänsten, som används för resursbalanseringstjänster.

Attribut Värde
name LoadMetrics
minOccurs 0

PlacementConstraints

Används för att styra vilka noder i klustret som en tjänst kan köras på. Ett nyckel/värde-par som beskriver nodegenskapens namn och tjänstens krav för värdet. Enskilda instruktioner kan grupperas tillsammans med enkel boolesk logik för att skapa den nödvändiga begränsningen. Till exempel "(FirmwareVersion>12 && InDMZ == True)".

Attribut Värde
name PlacementConstraints
type xs:string
minOccurs 0

ServiceCorrelations

Definierar tillhörighetsrelationer mellan tjänster.

Attribut Värde
name ServiceCorrelations
minOccurs 0

ServicePlacementPolicies

Deklarerar placeringsprinciper för en tjänst. Användbart när klustret sträcker sig över geografiska avstånd eller och/eller geopolitiska regioner.

Attribut Värde
name ServicePlacementPolicies
minOccurs 0

ServiceScalingPolicies

Deklarerar skalningsprinciper för en tjänst. Användbart för dynamisk skalning av tjänsten baserat på behov.

Attribut Värde
name ServiceScalingPolicies
minOccurs 0

TagsRequiredToPlace

Deklarerar taggar som krävs för placering av en tjänst. Användbart för att dynamiskt påverka tjänstplacering.

Attribut Värde
name TagsRequiredToPlace
minOccurs 0

TagRequiredToRun

Deklarerar taggar som krävs för placering och körning av en tjänst. Användbart för att dynamiskt påverka tjänstplacering och körning.

Attribut Värde
name TagRequiredToRun
minOccurs 0

ServiceTypeExtensionPolicyPropertiesType complexType

Definierar egenskaper för beständighets- och borttagningsprinciperna.

Attribut Värde
innehåll 1 element, 0 attribut
Definieras Globalt
name ServiceTypeExtensionPolicyPropertiesType

XML-källa

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

Information om innehållselement

Property

Attribut Värde
name Property
minOccurs 0
maxOccurs Obegränsad

ServiceTypeHealthPolicyType complexType

Attribut Värde
innehåll 0 element, 3 attribut
Definieras Globalt
name ServiceTypeHealthPolicyType

XML-källa

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

Attributinformation

MaxPercentUnhealthyServices

Anger den maximala tillåtna procentandelen tjänster som inte är felfria innan programmet anses vara felfritt. Standardprocent: 0.

Attribut Värde
name MaxPercentUnhealthyServices
type xs:string
Använda valfri
standard 0

MaxPercentUnhealthyPartitionsPerService

Anger den maximala procentandelen som tolereras av partitioner som inte är felfria innan en tjänst anses vara felaktig. Standardprocent: 0.

Attribut Värde
name MaxPercentUnhealthyPartitionsPerService
type xs:string
Använda valfri
standard 0

MaxPercentUnhealthyReplicasPerPartition

Anger den maximala tillåtna procentandelen felfria repliker innan en partition anses vara felaktig. Standardprocent: 0.

Attribut Värde
name MaxPercentUnhealthyReplicasPerPartition
type xs:string
Använda valfri
standard 0

ServiceTypeType complexType

Bastyp som beskriver en tillståndskänslig eller tillståndslös ServiceType.

Attribut Värde
innehåll 4 element, 1 attribut
Definieras Globalt
name ServiceTypeType

XML-källa

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

Attributinformation

ServiceTypeName

Användardefinierad typidentifierare för en tjänst. Till exempel "QueueType" eller "CalculatorType". Det här värdet används i filen ApplicationManifest.xml för att identifiera tjänsten.

Attribut Värde
name ServiceTypeName
Använda required

Information om innehållselement

LoadMetrics

Läs in mått som rapporterats av den här tjänsten.

Attribut Värde
name LoadMetrics
minOccurs 0

PlacementConstraints

Används för att styra vilka noder i klustret som en tjänst kan köras på. Ett nyckel/värde-par som beskriver nodegenskapens namn och tjänstens krav för värdet. Enskilda instruktioner kan grupperas tillsammans med enkel boolesk logik för att skapa den nödvändiga begränsningen. Till exempel "(FirmwareVersion>12 && InDMZ == True)".

Attribut Värde
name PlacementConstraints
type xs:string
minOccurs 0

ServicePlacementPolicies

Deklarerar placeringsprinciper för en tjänst. Användbart när klustret sträcker sig över geografiska avstånd eller och/eller geopolitiska regioner.

Attribut Värde
name ServicePlacementPolicies
minOccurs 0

Ingen

Attribut Värde
Referens Tillägg
minOccurs 0

ServiceTypesType complexType

Attribut Värde
innehåll 2 element, 0 attribut
Definieras Globalt
name ServiceTypesType

XML-källa

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

Information om innehållselement

StatefulServiceType

Beskriver en tillståndskänslig ServiceType.

Attribut Värde
name StatefulServiceType
type StatefulServiceTypeType

StatelessServiceType

Beskriver en tillståndslös ServiceType.

Attribut Värde
name StatelessServiceType
type StatelessServiceTypeType

Inställningar OverridesType complexType

Deklarerar konfigurationsinställningar i ett tjänstmanifest som ska åsidosättas. Den består av ett eller flera avsnitt av nyckel/värde-par. Parametervärden kan krypteras med hjälp av cmdleten Invoke-ServiceFabricEncryptSecret.

Attribut Värde
innehåll 1 element, 0 attribut
Definieras Globalt
name Inställningar OverridesType

XML-källa

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

Information om innehållselement

Avsnitt

Ett avsnitt i filen Inställningar.xml som ska åsidosättas.

Attribut Värde
name Avsnitt
maxOccurs Obegränsad

Inställningar Type complexType

Beskriver användardefinierade inställningar för en ServiceComponent eller ett program. Den består av ett eller flera avsnitt av nyckel/värde-par.

Attribut Värde
innehåll 1 element, 0 attribut
Definieras Globalt
name Inställningar Type

XML-källa

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

Information om innehållselement

Avsnitt

Ett användardefinierat namngivet avsnitt.

Attribut Värde
name Avsnitt
minOccurs 0
maxOccurs Obegränsad

StatefulServiceGroupType complexType

Definierar en tillståndskänslig tjänstgrupp.

Attribut Värde
innehåll 0 element, 0 attribut
Definieras Globalt
name StatefulServiceGroupType

XML-källa

<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

Beskriver en tillståndskänslig tjänstgruppstyp.

Attribut Värde
innehåll 0 element, 0 attribut
Definieras Globalt
name StatefulServiceGroupTypeType

XML-källa

<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

Definierar en tillståndskänslig tjänst.

Attribut Värde
innehåll 0 element, 0 attribut
Definieras Globalt
name StatefulServiceType

XML-källa

<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

Beskriver en tillståndskänslig tjänsttyp.

Attribut Värde
innehåll 0 element, 0 attribut
Definieras Globalt
name StatefulServiceTypeType

XML-källa

<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

Definierar en tillståndslös tjänstgrupp.

Attribut Värde
innehåll 0 element, 0 attribut
Definieras Globalt
name StatelessServiceGroupType

XML-källa

<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

Beskriver en tillståndslös tjänstgruppstyp.

Attribut Värde
innehåll 0 element, 0 attribut
Definieras Globalt
name StatelessServiceGroupTypeType

XML-källa

<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

Definierar en tillståndslös tjänst.

Attribut Värde
innehåll 0 element, 0 attribut
Definieras Globalt
name StatelessServiceType

XML-källa

<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

Beskriver en tillståndslös tjänsttyp.

Attribut Värde
innehåll 0 element, 0 attribut
Definieras Globalt
name StatelessServiceTypeType

XML-källa

<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

Attribut Värde
innehåll 2 element, 0 attribut
Definieras Globalt
name TargetInformationType

XML-källa

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

Information om innehållselement

CurrentInstallation

Attribut Värde
name CurrentInstallation
type WindowsFabricDeploymentInformation
minOccurs 0

TargetInstallation

Attribut Värde
name TargetInstallation
type WindowsFabricDeploymentInformation
minOccurs 1

UnmanagedDllType complexType

Använd inte. Namnet på ohanterad sammansättning (till exempel Queue.dll) som värd.

Attribut Värde
innehåll 0 element, 0 attribut
Definieras Globalt
name OhanteradDllType

XML-källa

<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

Attribut Värde
innehåll 0 element, 11 attribut
Definieras Globalt
name WindowsFabricDeploymentInformation

XML-källa

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

Attributinformation

InstanceId

Det här är nodens målinstans.

Attribut Värde
name InstanceId
type xs:string
Använda valfri

MSILocation

Det här är den fullständiga sökvägen till MSI-platsen.

Attribut Värde
name MSILocation
type xs:string
Använda valfri

ClusterManifestLocation

Det här är den fullständiga sökvägen till platsen för klustermanifestet.

Attribut Värde
name ClusterManifestLocation
type xs:string
Använda valfri

InfrastructureManifestLocation

Den här platsen för infrastrukturmanifestet som genereras internt.

Attribut Värde
name InfrastructureManifestLocation
type xs:string
Använda valfri

TargetVersion

Det här är målversionen av distributionen.

Attribut Värde
name TargetVersion
type xs:string
Använda valfri

NodeName

Det här är namnet på noden som infrastrukturresursuppgradering ska ske till

Attribut Värde
name NodeName
type xs:string
Använda valfri

RemoveNodeState

En flagga som anger om RemoveNodeState Api ska anropas när nodkonfigurationen har tagits bort.

Attribut Värde
name RemoveNodeState
type xs:booleskt värde
Använda valfri
standard falskt

UpgradeEntryPointExe

Namnet på exe som används av installationstjänsten för uppgradering

Attribut Värde
name UpgradeEntryPointExe
type xs:string
Använda valfri

UpgradeEntryPointExeParameters

Parametrar till installationsstartpunktens exe

Attribut Värde
name UpgradeEntryPointExeParameters
type xs:string
Använda valfri

UndoUpgradeEntryPointExe

Namnet på exe som används av installationstjänsten för att ångra uppgraderingen

Attribut Värde
name UndoUpgradeEntryPointExe
type xs:string
Använda valfri

UndoUpgradeEntryPointExeParameters

Parametrar till installationsstartpunktens exe

Attribut Värde
name UndoUpgradeEntryPointExeParameters
type xs:string
Använda valfri

WindowsInfrastructureType complexType

Attribut Värde
innehåll 1 element, 0 attribut
Definieras Globalt
name WindowsInfrastructureType

XML-källa

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

Information om innehållselement

NodeList

Attribut Värde
name NodeList