<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="AddRemoveIncrementalNamedPartitionScalingMechanism" minOccurs="0" maxOccurs="1">
<xs:annotation>
<xs:documentation>Defines a mechanism for adding or removing named partitions.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:attribute name="MinPartitionCount" type="xs:string" use="required">
<xs:annotation>
<xs:documentation>The minimum number of partitions.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="MaxPartitionCount" type="xs:string" use="required">
<xs:annotation>
<xs:documentation>The maximum number of partitions.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="ScaleIncrement" type="xs:string" use="required">
<xs:annotation>
<xs:documentation>The number of partitions by which to perform the upshift/downshift.</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
</xs:element>
Attribútum részletei
MinPartitionCount
A partíciók minimális száma.
Attribútum
Value
név
MinPartitionCount
típus
xs:sztring
Használja
kötelező
MaxPartitionCount
A partíciók maximális száma.
Attribútum
Value
név
MaxPartitionCount
típus
xs:sztring
Használja
kötelező
ScaleIncrement
Azoknak a partícióknak a száma, amelyekkel el szeretné végezni az eltolódást/a leshiftet.
Attribútum
Value
név
ScaleIncrement
típus
xs:sztring
Használja
kötelező
Alkalmazáselem
Alkalmazáspéldány-specifikus információk, például alkalmazásnév és alkalmazásparaméter-értékek az alkalmazás létrehozásához. A fájl paraméterértékei felülbírálják az alkalmazásjegyzékben definiált alapértelmezett paraméterértékeket.
<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="Application" type="AppInstanceDefinitionType">
<xs:annotation>
<xs:documentation>Application Instance specific information like application name and application parameter values used to create application. Parameter values in this file overrides the default parameter values defined in Application Manifest.</xs:documentation>
</xs:annotation>
</xs:element>
ApplicationEndpoints elem
Attribútum
Value
típus
névtelen complexType
content
0 elem(ek), 2 attribútum(ok)
Meghatározott
helyileg a FabricEndpointsType complexType fájlban
<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="ApplicationInstance" type="ApplicationInstanceType">
<xs:annotation>
<xs:documentation>Describes an instance of a Microsoft Azure Service Fabric application.</xs:documentation>
</xs:annotation>
</xs:element>
ApplicationManifest elem
Deklaratív módon írja le az alkalmazás típusát és verzióját. A rendszerösszetevő szolgáltatások egy vagy több szolgáltatásjegyzéke egy alkalmazástípus megírására hivatkozik. A rendszerösszetevő szolgáltatások konfigurációs beállításait felül lehet bírálni a paraméteres alkalmazásbeállítások használatával. Az alapértelmezett szolgáltatások, szolgáltatássablonok, egyszerű szolgáltatások, szabályzatok, diagnosztikai beállítások és tanúsítványok az alkalmazás szintjén is deklarálhatók.
<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="ApplicationPackage" type="ApplicationPackageType">
<xs:annotation>
<xs:documentation>ApplicationPackage represents the versioned Application information required by the node.</xs:documentation>
</xs:annotation>
</xs:element>
ApplicationPackageRef elem
Attribútum
Value
típus
névtelen complexType
content
0 elem(ek), 0 attribútum(ok)
Meghatározott
helyileg az ApplicationInstanceType complexType-ban
<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="AveragePartitionLoadScalingTrigger" minOccurs="0" maxOccurs="1">
<xs:annotation>
<xs:documentation>Defines a scaling mechanism based on the average load of replicas of a partition.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:attribute name="MetricName" type="xs:string" use="required">
<xs:annotation>
<xs:documentation>The name of metric which should be used for scaling operations.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="LowerLoadThreshold" type="xs:string" use="required">
<xs:annotation>
<xs:documentation>The lower limit of the load value of a metric.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="UpperLoadThreshold" type="xs:string" use="required">
<xs:annotation>
<xs:documentation>The upper limit of the load value of a metric.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="ScaleIntervalInSeconds" type="xs:string" use="required">
<xs:annotation>
<xs:documentation>The time interval in seconds to be considered for scaling.</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
</xs:element>
Attribútum részletei
MetricName
A skálázási műveletekhez használandó metrika neve.
Attribútum
Value
név
MetricName
típus
xs:sztring
Használja
kötelező
LowerLoadThreshold
A metrika terhelési értékének alsó korlátja.
Attribútum
Value
név
LowerLoadThreshold
típus
xs:sztring
Használja
kötelező
UpperLoadThreshold
Egy metrika terhelési értékének felső korlátja.
Attribútum
Value
név
UpperLoadThreshold
típus
xs:sztring
Használja
kötelező
ScaleIntervalInSeconds
A skálázáshoz figyelembe vehető időintervallum másodpercben.
Attribútum
Value
név
ScaleIntervalInSeconds
típus
xs:sztring
Használja
kötelező
AverageServiceLoadScalingTrigger elem
Skálázási mechanizmust határoz meg a szolgáltatás partícióinak átlagos terhelése alapján.
<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="AverageServiceLoadScalingTrigger" minOccurs="0" maxOccurs="1">
<xs:annotation>
<xs:documentation>Defines a scaling mechanism based on the average load of partitions of a service.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:attribute name="MetricName" type="xs:string" use="required">
<xs:annotation>
<xs:documentation>The name of metric which should be used for scaling operations.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="LowerLoadThreshold" type="xs:string" use="required">
<xs:annotation>
<xs:documentation>The lower limit of the load value of a metric.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="UpperLoadThreshold" type="xs:string" use="required">
<xs:annotation>
<xs:documentation>The upper limit of the load value of a metric.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="ScaleIntervalInSeconds" type="xs:string" use="required">
<xs:annotation>
<xs:documentation>The time interval in seconds to be considered for scaling.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="UseOnlyPrimaryLoad" type="xs:string" use="optional">
<xs:annotation>
<xs:documentation>Use load of primary replica as average load of partition.</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
</xs:element>
Attribútum részletei
MetricName
A skálázási műveletekhez használandó metrika neve.
Attribútum
Value
név
MetricName
típus
xs:sztring
Használja
kötelező
LowerLoadThreshold
A metrika terhelési értékének alsó korlátja.
Attribútum
Value
név
LowerLoadThreshold
típus
xs:sztring
Használja
kötelező
UpperLoadThreshold
Egy metrika terhelési értékének felső korlátja.
Attribútum
Value
név
UpperLoadThreshold
típus
xs:sztring
Használja
kötelező
ScaleIntervalInSeconds
A skálázáshoz figyelembe vehető időintervallum másodpercben.
Attribútum
Value
név
ScaleIntervalInSeconds
típus
xs:sztring
Használja
kötelező
UseOnlyPrimaryLoad
Használja az elsődleges replika terhelését a partíció átlagos terheléseként.
Attribútum
Value
név
UseOnlyPrimaryLoad
típus
xs:sztring
Használja
választható
AzureBlob elem (azureBlobETWType típus)
Az Azure Blob Store ETW-események célhelyét ismerteti. Csak Azure-környezetben működik.
helyileg a ContainerHostPoliciesType complexType-ban
név
CertificateRef
minOccurs
0
maxOccurs
Korlátos
XML-forrás
<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="CertificateRef" type="ContainerCertificateType" minOccurs="0" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>Specifies information for a certificate which will be exposed to the container.</xs:documentation>
</xs:annotation>
</xs:element>
Tanúsítványelem (type CertificatesType)
Az ehhez a csomóponttípushoz társított tanúsítványok ismertetése
<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="Certificates" type="CertificatesType" minOccurs="0">
<xs:annotation>
<xs:documentation>Describe the certificates associated with this node type</xs:documentation>
</xs:annotation>
</xs:element>
Tanúsítványelem (az ApplicationManifestType-ban definiálva)
Deklarálja a végpontok biztonságossá tételéhez vagy titkos kulcsok titkosításához használt tanúsítványokat az alkalmazásjegyzékben vagy a fürtjegyzékben.
Attribútum
Value
típus
névtelen complexType
content
2 elem( ek), 0 attribútum(ok)
Meghatározott
helyileg az ApplicationManifestType complexType-ban
név
Certificates
minOccurs
0
XML-forrás
<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="Certificates" minOccurs="0">
<xs:annotation>
<xs:documentation>Declares certificates used to secure endpoints or encrypt secrets within the application manifest or a cluster manifest.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence maxOccurs="unbounded">
<xs:element name="SecretsCertificate" type="FabricCertificateType" minOccurs="0">
<xs:annotation>
<xs:documentation>Declares a certificate used to encrypt sensitive information within the application manifest. The application author uses the Invoke-ServiceFabricEncryptSecret cmdlet to encrypt the sensitive information, which is copied to a Parameter in the ConfigOverrides section.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="EndpointCertificate" type="EndpointCertificateType" minOccurs="0"/>
</xs:sequence>
</xs:complexType>
</xs:element>
Tartalomelem részletei
SecretsCertificate
Deklarál egy tanúsítványt, amely bizalmas információkat titkosít az alkalmazásjegyzékben. Az alkalmazás szerzője a Invoke-ServiceFabricEncryptSecret parancsmaggal titkosítja a bizalmas adatokat, amelyeket a rendszer a ConfigOverrides szakaszban lévő paraméterbe másol.
<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="ClusterCertificate" type="FabricCertificateType" minOccurs="0">
<xs:annotation>
<xs:documentation>The certificate used to secure the intra cluster communication.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="ClusterManifest" type="ClusterManifestType">
<xs:annotation>
<xs:documentation>Describes a Microsoft Azure Service Fabric Cluster.</xs:documentation>
</xs:annotation>
</xs:element>
CodePackage elem
Egy meghatározott szolgáltatástípust támogató kódcsomagot ismertet. Amikor egy szolgáltatás példányosított egy ilyen szolgáltatástípussal, a jegyzékben deklarált összes kódcsomag a belépési pontok futtatásával aktiválódik. Az eredményként kapott folyamatok várhatóan futásidőben regisztrálják a támogatott szolgáltatástípusokat. Ha több kódcsomag is létezik, az összes aktiválva lesz, amikor a rendszer a deklarált szolgáltatástípusok bármelyikét keresi.
Adja át a parancsok vesszővel tagolt listáját a tárolónak.
Attribútum
Value
típus
xs:sztring
content
0 elem(ek), 0 attribútum(ok)
Meghatározott
helyileg a ContainerHostEntryPointType complexType fájlban
név
Parancsok
minOccurs
0
maxOccurs
1
XML-forrás
<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="Commands" type="xs:string" minOccurs="0" maxOccurs="1">
<xs:annotation>
<xs:documentation>Pass a comma delimited list of commands to the container.</xs:documentation>
</xs:annotation>
</xs:element>
ConfigOverride elem
Egy adott konfigurációs csomag konfigurációs felülbírálásait ismerteti az importált szolgáltatásjegyzékben.
Az importált szolgáltatásjegyzék konfigurációs felülbírálásait ismerteti. A konfigurációs felülbírálások lehetővé teszik ugyanazon szolgáltatásjegyzékek több alkalmazástípusra történő ismételt használatát úgy, hogy csak egy adott alkalmazástípussal való használat esetén felülbírálják a szolgáltatásjegyzék konfigurációját. A konfigurációs felülbírálások módosíthatják a szolgáltatásjegyzék bármely alapértelmezett konfigurációját, ha az alapértelmezett konfiguráció a ConfigPackage mappában található Gépház.xml fájl használatával van definiálva.
Attribútum
Value
típus
névtelen complexType
content
1 elem( ek), 0 attribútum(ok)
Meghatározott
helyileg a ServiceManifestImport elemben
név
ConfigOverrides
minOccurs
0
XML-forrás
<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="ConfigOverrides" minOccurs="0">
<xs:annotation>
<xs:documentation>Describes configuration overrides for the imported service manifest. Configuration overrides allow the flexibility of re-using the same service manifests across multiple application types by overriding the service manifest's configuration only when used with a particular application type. Configuration overrides can change any default configuration in a service manifest as long as default configuration is defined using the Settings.xml in the ConfigPackage folder. </xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="ConfigOverride" type="ConfigOverrideType" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
</xs:element>
Deklarál egy mappát a Name attribútummal, amely egy Gépház.xml fájlt tartalmaz. Ez a fájl a felhasználó által definiált kulcs-érték pár beállításainak azon szakaszait tartalmazza, amelyeket a folyamat futásidőben vissza tud olvasni. Ha a frissítés során csak a ConfigPackage verziója módosult, a futó folyamat nem indul újra. Ehelyett a visszahívás értesíti a konfigurációs beállítások módosításának folyamatát, hogy azok dinamikusan betölthetők legyenek.
Deklarál egy mappát a Name attribútum és a PackageRoot nevű, Gépház.xml fájlt tartalmazó mappát. Ez a fájl a felhasználó által definiált kulcs-érték pár beállításainak azon szakaszait tartalmazza, amelyeket a folyamat futásidőben vissza tud olvasni. Ha a frissítés során csak a ConfigPackage verziója módosult, a futó folyamat nem indul újra. Ehelyett a visszahívás értesíti a konfigurációs beállítások módosításának folyamatát, hogy azok dinamikusan betölthetők legyenek.
<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="ConfigPackagePolicies" type="ConfigPackagePoliciesType" minOccurs="0">
<xs:annotation>
<xs:documentation>Config Packages to be mounted inside the container.</xs:documentation>
</xs:annotation>
</xs:element>
ConsoleRedirection elem
Figyelmeztetés! Éles alkalmazásokban ne használjon konzolátirányítást, csak helyi fejlesztéshez és hibakereséshez. Átirányítja a konzol kimenetét az indítási szkriptből a "log" nevű alkalmazásmappában lévő kimeneti fájlra azon a fürtcsomóponton, ahol az alkalmazást üzembe helyezik és futtatják.
Attribútum
Value
típus
névtelen complexType
content
0 elem(ek), 2 attribútum(ok)
Meghatározott
helyileg az ExeHostEntryPointType complexType fájlban
név
ConsoleRedirection
minOccurs
0
XML-forrás
<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="ConsoleRedirection" minOccurs="0">
<xs:annotation>
<xs:documentation>Warning! Do not use console redirection in a production application, only use it for local development and debugging. Redirects console output from the startup script to an output file in the application folder called "log" on the cluster node where the application is deployed and run.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:attribute name="FileRetentionCount" default="2">
<xs:annotation>
<xs:documentation>Sets the number of console redirection output files to retain. Must be a positive integer, the default value is "2".</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:int">
<xs:minInclusive value="1"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
<xs:attribute name="FileMaxSizeInKb" default="20480">
<xs:annotation>
<xs:documentation>Set the maximum size of a console redirection output file. Must be a positive integer greater than 128KB, the default value is "20480".</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:int">
<xs:minInclusive value="128"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
</xs:complexType>
</xs:element>
Attribútum részletei
FileRetentionCount
Beállítja a megőrizni kívánt konzolátirányítási kimeneti fájlok számát. Pozitív egész számnak kell lennie, az alapértelmezett érték a "2".
Attribútum
Value
név
FileRetentionCount
alapértelmezett
2
FileMaxSizeInKb
A konzolátirányítási kimeneti fájl maximális méretének beállítása. 128 KB-nál nagyobb pozitív egész számnak kell lennie, az alapértelmezett érték a "20480".
Attribútum
Value
név
FileMaxSizeInKb
alapértelmezett
20480
ContainerEntryPoint elem
Felülírja a tárolók belépési pontjának felülírása, hogy a hibakereső elindítható legyen.
Attribútum
Value
típus
xs:sztring
content
0 elem(ek), 0 attribútum(ok)
Meghatározott
helyileg a DebugParametersType complexType-ban
név
ContainerEntryPoint
minOccurs
0
maxOccurs
Korlátos
XML-forrás
<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="ContainerEntryPoint" type="xs:string" minOccurs="0" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>Overridden entrypoint for containers so debugger can be launched.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="ContainerNetworkPolicy" type="ContainerNetworkPolicyType" minOccurs="0" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>Describes container network policies for the service package.</xs:documentation>
</xs:annotation>
</xs:element>
CrashDumpSource elem
Az összeomlási memóriakép gyűjteményét adja meg. A rendszer összeomlási memóriaképeket gyűjt az alkalmazáshoz tartozó összes szolgáltatás kódcsomagjait üzemeltető végrehajtható fájlokhoz.
Attribútum
Value
típus
névtelen complexType
content
2 elem( ek), 1 attribútum(ok)
Meghatározott
helyileg a DiagnosticsType complexType-ban
név
CrashDumpSource
minOccurs
0
XML-forrás
<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="CrashDumpSource" minOccurs="0">
<xs:annotation>
<xs:documentation>Specifies crash dump collection. Crash dumps are collected for executables that host the code packages of all services belonging to the application.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="Destinations" minOccurs="0">
<xs:annotation>
<xs:documentation>Destinations to which the crash dumps need to be transferred.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="LocalStore" type="LocalStoreType" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="FileStore" type="FileStoreType" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="AzureBlob" type="AzureBlobType" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element ref="Parameters" minOccurs="0" maxOccurs="1"/>
</xs:sequence>
<xs:attribute name="IsEnabled" type="xs:string">
<xs:annotation>
<xs:documentation>Whether or not crash dump collection is enabled. By default, it is not enabled.</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
</xs:element>
Attribútum részletei
IsEnabled
Azt jelzi, hogy engedélyezve van-e az összeomlási memóriakép-gyűjtemény. Alapértelmezés szerint nincs engedélyezve.
Attribútum
Value
név
IsEnabled
típus
xs:sztring
Tartalomelem részletei
Célok
Azokat a célhelyeket, amelyekbe az összeomlási memóriaképeket át kell helyezni.
Deklarál egy, a Name attribútum által elnevezett mappát a PackageRoot alatt, amely olyan statikus adatfájlokat tartalmaz, amelyeket a folyamat futásidőben használ fel. A Service Fabric újra felhasználja a gazdagépben és a támogatási csomagokban megadott összes EXE-t és DLLHOST-t, amikor a szolgáltatásjegyzékben felsorolt adatcsomagok bármelyike frissül.
Adjon meg egy alapértelmezett felhasználói fiókot az összes olyan szolgáltatáskód-csomaghoz, amely nem rendelkezik meghatározott RunAsPolicy-fiókkal a ServiceManifestImport szakaszban.
Attribútum
Value
típus
névtelen complexType
content
0 elem(ek), 1 attribútum(ok)
Meghatározott
helyileg az ApplicationPoliciesType complexType-ban
név
DefaultRunAsPolicy
minOccurs
0
XML-forrás
<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="DefaultRunAsPolicy" minOccurs="0">
<xs:annotation>
<xs:documentation>Specify a default user account for all service code packages that don't have a specific RunAsPolicy defined in the ServiceManifestImport section.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:attribute name="UserRef" type="xs:string" use="required">
<xs:annotation>
<xs:documentation>The user account that the service code packages will run as. The user account must be declared in the Principals section. Often it is preferable to run the setup entry point using a local system account rather than an administrators account.</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
</xs:element>
Attribútum részletei
UserRef
Az a felhasználói fiók, amelyként a szolgáltatáskódcsomagok futnak. A felhasználói fiókot az Egyszerűk szakaszban kell deklarálni. Gyakran célszerű a beállítási belépési pontot helyi rendszerfiók használatával futtatni rendszergazdai fiók helyett.
Attribútum
Value
név
UserRef
típus
xs:sztring
Használja
kötelező
DefaultServiceTypeHealthPolicy elem
Megadja az alapértelmezett szolgáltatástípus-állapotházirendet, amely az alkalmazás összes szolgáltatástípusának alapértelmezett állapotházirendje helyébe lép.
helyileg az ApplicationHealthPolicyType complexType-ban
név
DefaultServiceTypeHealthPolicy
minOccurs
0
XML-forrás
<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="DefaultServiceTypeHealthPolicy" type="ServiceTypeHealthPolicyType" minOccurs="0">
<xs:annotation>
<xs:documentation>Specifies the default service type health policy, which will replace the default health policy for all service types in the application.</xs:documentation>
</xs:annotation>
</xs:element>
DefaultServices elem
Deklarálja azokat a szolgáltatáspéldányokat, amelyek automatikusan létrejönnek, amikor egy alkalmazás példányosítása történik az alkalmazástípussal.
Nem támogatott, ne használja. A DLL-üzemeltetés támogatása (szerelvény belépési pontja) az FWP.exe folyamaton keresztül érhető el. A Service Fabric elindítja a hálófeldolgozó folyamatot (FWP.exe), és betölti a szerelvényt az aktiválási folyamat részeként.
<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="DriverOption" type="DriverOptionType" minOccurs="0" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>Driver options to be passed to driver.</xs:documentation>
</xs:annotation>
</xs:element>
ETW elem
A szolgáltatásjegyzék összetevőinek ETW-beállításait ismerteti.
Attribútum
Value
típus
névtelen complexType
content
2 elem( ek), 0 attribútum(ok)
Meghatározott
helyileg a ServiceDiagnosticsType complexType-ban
név
ETW
minOccurs
0
XML-forrás
<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="ETW" minOccurs="0">
<xs:annotation>
<xs:documentation>Describes the ETW settings for the components of this service manifest.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="ProviderGuids" minOccurs="0">
<xs:annotation>
<xs:documentation>Lists the ETW provider GUIDs for the components of this service manifest.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="ProviderGuid" minOccurs="0" maxOccurs="unbounded">
<xs:complexType>
<xs:attribute name="Value" use="required">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:pattern value="[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="ManifestDataPackages" minOccurs="0">
<xs:annotation>
<xs:documentation>Lists the data packages containing ETW manifests for the components of this service manifest. The data package containing ETW manifests should not contain any other files. </xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="ManifestDataPackage" type="DataPackageType" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
Tartalomelem részletei
ProviderGuids
A szolgáltatásjegyzék összetevőihez tartozó ETW-szolgáltatóiGUID-ket sorolja fel.
Attribútum
Value
név
ProviderGuids
minOccurs
0
ManifestDataPackages
Felsorolja a szolgáltatásjegyzék összetevőihez tartozó ETW-jegyzékfájlokat tartalmazó adatcsomagokat. Az ETW-jegyzékeket tartalmazó adatcsomag nem tartalmazhat más fájlokat.
Attribútum
Value
név
ManifestDataPackages
minOccurs
0
ETWSource elem
Az ETW-nyomkövetési gyűjteményt adja meg. A rendszer összegyűjti az ETW-nyomkövetéseket az alkalmazáshoz tartozó összes szolgáltatás által regisztrált szolgáltatók számára.
Attribútum
Value
típus
névtelen complexType
content
2 elem( ek), 1 attribútum(ok)
Meghatározott
helyileg a DiagnosticsType complexType-ban
név
ETWSource
minOccurs
0
XML-forrás
<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="ETWSource" minOccurs="0">
<xs:annotation>
<xs:documentation>Specifies ETW trace collection. ETW traces are collected for the providers that are registered by all services belonging to the application.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="Destinations" minOccurs="0">
<xs:annotation>
<xs:documentation>Destinations to which the crash dumps need to be transferred.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="LocalStore" type="LocalStoreETWType" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="FileStore" type="FileStoreETWType" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="AzureBlob" type="AzureBlobETWType" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element ref="Parameters" minOccurs="0" maxOccurs="1"/>
</xs:sequence>
<xs:attribute name="IsEnabled" type="xs:string">
<xs:annotation>
<xs:documentation>Whether or not ETW trace collection is enabled. By default, it is not enabled.</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
</xs:element>
Attribútum részletei
IsEnabled
Azt jelzi, hogy engedélyezve van-e az ETW-nyomkövetési gyűjtemény. Alapértelmezés szerint nincs engedélyezve.
Attribútum
Value
név
IsEnabled
típus
xs:sztring
Tartalomelem részletei
Célok
Azokat a célhelyeket, amelyekbe az összeomlási memóriaképeket át kell helyezni.
Attribútum
Value
név
Célok
minOccurs
0
None
Attribútum
Value
Ref
Parameters
minOccurs
0
maxOccurs
1
Végpontelem (EndpointOverrideType típus)
A szolgáltatásjegyzékben deklarált végpont felülbírálandó.
<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="Endpoint" type="EndpointOverrideType" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>The endpoint, declared in the service manifest, to override.</xs:documentation>
</xs:annotation>
</xs:element>
Végpontelem (EndpointType típus)
A szolgáltatás végpontjának meghatározása. Adott portok kérhetők. Ha egy port nincs explicit módon megadva, a rendszer a fenntartott alkalmazás porttartományából rendel hozzá egy portot. A különböző fürtcsomópontokon futó szolgáltatásreplikák különböző portszámokat rendelhetnek hozzá, míg az ugyanazon a csomóponton futó szolgáltatás replikái ugyanazon a porton osztoznak. Ezeket a portokat a szolgáltatásreplikák különböző célokra használhatják, például replikációra vagy ügyfélkérések figyelésére.
helyileg a ContainerNetworkPolicyType complexType-ban
név
EndpointBinding
minOccurs
0
maxOccurs
Korlátos
XML-forrás
<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="EndpointBinding" type="ContainerNetworkPolicyEndpointBindingType" minOccurs="0" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>Specifies an endpoint that should be exposed on the container network.</xs:documentation>
</xs:annotation>
</xs:element>
EndpointBindingPolicy elem
Olyan tanúsítványt ad meg, amelyet vissza kell adni egy ügyfélnek EGY HTTPS-végponthoz.
<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="EndpointBindingPolicy" type="EndpointBindingPolicyType" minOccurs="0">
<xs:annotation>
<xs:documentation>Specifies a certificate that should be returned to a client for an HTTPS endpoint.</xs:documentation>
</xs:annotation>
</xs:element>
EndpointCertificate elem
A végpont védelméhez használt X509-tanúsítvány adatait adja meg.
Az EntryPoint által megadott végrehajtható fájl általában a hosszú ideig futó szolgáltatásgazda. Egy külön beállítási belépési pont jelenléte esetén nem kell hosszú ideig magas jogosultságokkal futtatni a szolgáltatás gazdagépét. Az EntryPoint által megadott végrehajtható fájl a SetupEntryPoint sikeres kilépése után fut. A rendszer figyeli és újraindítja az eredményül kapott folyamatot (a SetupEntryPointtal kezdve), ha bármikor leáll vagy összeomlik.
A szolgáltatásjegyzék konfigurációs beállításait felül kell bírálni. A kulcs-érték párok egy vagy több szakaszából áll. A paraméterértékek az Invoke-ServiceFabricEncryptSecret parancsmaggal titkosíthatók.
Egy adott mappa tartalmának gyűjteményét adja meg a helyi csomóponton.
Attribútum
Value
típus
névtelen complexType
content
2 elem( ek), 1 attribútum(ok)
Meghatározott
helyileg a DiagnosticsType complexType-ban
név
FolderSource
minOccurs
0
maxOccurs
Korlátos
XML-forrás
<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="FolderSource" minOccurs="0" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>Specifies the collection of the contents of a particular folder on the local node.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="Destinations" minOccurs="0">
<xs:annotation>
<xs:documentation>Destinations to which the folder contents need to be transferred.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="LocalStore" type="LocalStoreType" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="FileStore" type="FileStoreType" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="AzureBlob" type="AzureBlobType" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element ref="Parameters" minOccurs="0" maxOccurs="1"/>
</xs:sequence>
<xs:attribute name="IsEnabled" type="xs:string">
<xs:annotation>
<xs:documentation>Whether or not collection of the contents of this folder is enabled. By default, it is not enabled.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attributeGroup ref="RelativeFolderPath"/>
<xs:attributeGroup ref="DataDeletionAgeInDays"/>
</xs:complexType>
</xs:element>
Attribútum részletei
IsEnabled
A mappa tartalmának gyűjtése engedélyezve van-e. Alapértelmezés szerint nincs engedélyezve.
Attribútum
Value
név
IsEnabled
típus
xs:sztring
Tartalomelem részletei
Célok
Azok a célhelyek, amelyekbe a mappa tartalmát át kell vinni.
Attribútum
Value
név
Célok
minOccurs
0
None
Attribútum
Value
Ref
Parameters
minOccurs
0
maxOccurs
1
FromSource elem
Attribútum
Value
típus
xs:sztring
content
0 elem(ek), 0 attribútum(ok)
Meghatározott
helyileg a ContainerHostEntryPointType complexType fájlban
Biztonsági tagként deklarál egy csoportot, amelyre a szabályzatok hivatkozhatnak.
Attribútum
Value
típus
névtelen complexType
content
2 elem( ek), 1 attribútum(ok)
Meghatározott
helyileg a Csoportok elemben
név
Csoport
maxOccurs
Korlátos
XML-forrás
<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="Group" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>Declares a group as a security principal, which can be referenced in policies.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="NTLMAuthenticationPolicy" minOccurs="0">
<xs:complexType>
<xs:attribute name="IsEnabled" type="xs:boolean" use="optional" default="true"/>
</xs:complexType>
</xs:element>
<xs:element name="Membership" minOccurs="0">
<xs:complexType>
<xs:choice maxOccurs="unbounded">
<xs:element name="DomainGroup" minOccurs="0" maxOccurs="unbounded">
<xs:complexType>
<xs:attribute name="Name" type="xs:string" use="required"/>
</xs:complexType>
</xs:element>
<xs:element name="SystemGroup" minOccurs="0" maxOccurs="unbounded">
<xs:complexType>
<xs:attribute name="Name" type="xs:string" use="required"/>
</xs:complexType>
</xs:element>
<xs:element name="DomainUser" minOccurs="0" maxOccurs="unbounded">
<xs:complexType>
<xs:attribute name="Name" type="xs:string" use="required"/>
</xs:complexType>
</xs:element>
</xs:choice>
</xs:complexType>
</xs:element>
</xs:sequence>
<xs:attribute name="Name" type="xs:string" use="required">
<xs:annotation>
<xs:documentation>Name of the local group account. The name will be prefixed with the application ID.</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
</xs:element>
Attribútum részletei
Név
A helyi csoportfiók neve. A név előtagja az alkalmazásazonosító lesz.
Attribútum
Value
név
Name
típus
xs:sztring
Használja
kötelező
Tartalomelem részletei
NTLMAuthenticationPolicy
Attribútum
Value
név
NTLMAuthenticationPolicy
minOccurs
0
Tagság
Attribútum
Value
név
Tagság
minOccurs
0
Csoportelem (a MemberOf-ban definiálva)
A felhasználót hozzáadni kívánt csoport. A csoportot a Csoportok szakaszban kell definiálni.
Attribútum
Value
típus
névtelen complexType
content
0 elem(ek), 1 attribútum(ok)
Meghatározott
helyileg a MemberOf elemben
név
Csoport
minOccurs
0
maxOccurs
Korlátos
XML-forrás
<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="Group" minOccurs="0" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>The group to add the user to. The group must be defined in the Groups section.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:attribute name="NameRef" type="xs:string" use="required">
<xs:annotation>
<xs:documentation>The name of the group.</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
</xs:element>
Attribútum részletei
NameRef
A csoport neve.
Attribútum
Value
név
NameRef
típus
xs:sztring
Használja
kötelező
Csoportok elem
Biztonsági tagokként deklarál egy csoportokat, amelyekre a szabályzatok hivatkozhatnak. A csoportok akkor hasznosak, ha több felhasználó is van a különböző szolgáltatásbeléptetési pontokhoz, és bizonyos közös jogosultságokkal kell rendelkezniük, amelyek a csoport szintjén érhetők el.
Attribútum
Value
típus
névtelen complexType
content
1 elem( ek), 0 attribútum(ok)
Meghatározott
helyileg a SecurityPrincipalsType complexType-ban
név
Groups
minOccurs
0
XML-forrás
<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="Groups" minOccurs="0">
<xs:annotation>
<xs:documentation>Declares a set of groups as security principals, which can be referenced in policies. Groups are useful if there are multiple users for different service entry points and they need to have certain common privileges that are available at the group level.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="Group" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>Declares a group as a security principal, which can be referenced in policies.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="NTLMAuthenticationPolicy" minOccurs="0">
<xs:complexType>
<xs:attribute name="IsEnabled" type="xs:boolean" use="optional" default="true"/>
</xs:complexType>
</xs:element>
<xs:element name="Membership" minOccurs="0">
<xs:complexType>
<xs:choice maxOccurs="unbounded">
<xs:element name="DomainGroup" minOccurs="0" maxOccurs="unbounded">
<xs:complexType>
<xs:attribute name="Name" type="xs:string" use="required"/>
</xs:complexType>
</xs:element>
<xs:element name="SystemGroup" minOccurs="0" maxOccurs="unbounded">
<xs:complexType>
<xs:attribute name="Name" type="xs:string" use="required"/>
</xs:complexType>
</xs:element>
<xs:element name="DomainUser" minOccurs="0" maxOccurs="unbounded">
<xs:complexType>
<xs:attribute name="Name" type="xs:string" use="required"/>
</xs:complexType>
</xs:element>
</xs:choice>
</xs:complexType>
</xs:element>
</xs:sequence>
<xs:attribute name="Name" type="xs:string" use="required">
<xs:annotation>
<xs:documentation>Name of the local group account. The name will be prefixed with the application ID.</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
Tartalomelem részletei
Csoport
Biztonsági tagként deklarál egy csoportot, amelyre a szabályzatok hivatkozhatnak.
Attribútum
Value
név
Csoport
maxOccurs
Korlátos
HealthConfig elem
Megadja a tároló docker HEALTHCHECK-integrációs beállításait.
helyileg a ContainerHostPoliciesType complexType-ban
név
HealthConfig
minOccurs
0
maxOccurs
1
XML-forrás
<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="HealthConfig" type="ContainerHealthConfigType" minOccurs="0" maxOccurs="1">
<xs:annotation>
<xs:documentation>Specifies docker HEALTHCHECK integration options for the container.</xs:documentation>
</xs:annotation>
</xs:element>
HealthPolicy elem
A különböző alkalmazásokkal kapcsolatos entitásokon jelentett állapotesemények kiértékelésére vonatkozó szabályzatot ismerteti. Ha nincs megadva szabályzat, a rendszer azt feltételezi, hogy az entitás nem megfelelő állapotú, ha az állapotjelentés figyelmeztetés vagy hiba.
Az elindítandó operációsrendszer-build verziószámának megfelelő tárolórendszerkép. Ha az operációsrendszer-attribútum nincs megadva, a tároló lemezképe az operációs rendszer minden verziójában működik, és felülbírálja a szolgáltatásjegyzékben megadott rendszerképet.
<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="Image" type="ImageType" minOccurs="0" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>Container image corresponding to OS build version number to be launched. If the Os attribute is not specified, the container image
is assumed to work across all versions of the OS and overrides the image specified in the service manifest.</xs:documentation>
</xs:annotation>
</xs:element>
ImageName elem
Az adattár és a rendszerkép az Azure Container Registryben vagy az https://hub.docker.com Azure Container Registryben.
Attribútum
Value
típus
xs:sztring
content
0 elem(ek), 0 attribútum(ok)
Meghatározott
helyileg a ContainerHostEntryPointType complexType fájlban
név
ImageName
XML-forrás
<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="ImageName" type="xs:string">
<xs:annotation>
<xs:documentation>The repo and image on https://hub.docker.com or Azure Container Registry.</xs:documentation>
</xs:annotation>
</xs:element>
ImageOverrides elem
Az elindítandó operációsrendszer-buildszámnak megfelelő képnevek.
helyileg a ContainerHostPoliciesType complexType-ban
név
ImageOverrides
minOccurs
0
maxOccurs
1
XML-forrás
<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="ImageOverrides" type="ImageOverridesType" minOccurs="0" maxOccurs="1">
<xs:annotation>
<xs:documentation>Image names corresponding to OS build number to be launched.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="InfrastructureInformation" type="InfrastructureInformationType">
<xs:annotation>
<xs:documentation>Describes the infrastructure on which fabric needs to run.</xs:documentation>
</xs:annotation>
</xs:element>
InstanceCountScalingMechanism elem
Egy partíció példányszámának növelését szolgáló mechanizmust definiál. Ez csak állapot nélküli szolgáltatásokra vonatkozik.
<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="InstanceCountScalingMechanism" minOccurs="0" maxOccurs="1">
<xs:annotation>
<xs:documentation>Defines a mechanism for increasing the instance count of a partition. This is for stateless services only.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:attribute name="MinInstanceCount" type="xs:string" use="required">
<xs:annotation>
<xs:documentation>The minimum number of instances.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="MaxInstanceCount" type="xs:string" use="required">
<xs:annotation>
<xs:documentation>The maximum number of instances..</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="ScaleIncrement" type="xs:string" use="required">
<xs:annotation>
<xs:documentation>The number of instances by which to perform the upshift/downshift.</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
</xs:element>
Attribútum részletei
MinInstanceCount
A példányok minimális száma.
Attribútum
Value
név
MinInstanceCount
típus
xs:sztring
Használja
kötelező
MaxInstanceCount
A példányok maximális száma.
Attribútum
Value
név
MaxInstanceCount
típus
xs:sztring
Használja
kötelező
ScaleIncrement
Azoknak a példányoknak a száma, amelyekkel az upshift/downshift parancsot végre kell hajtani.
Attribútum
Value
név
ScaleIncrement
típus
xs:sztring
Használja
kötelező
KtlLogger Gépház elem
Az ehhez a csomóponttípushoz társított KtlLogger-információk ismertetése
<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="KtlLoggerSettings" type="FabricKtlLoggerSettingsType" minOccurs="0">
<xs:annotation>
<xs:documentation>Describe the KtlLogger information associated with this node type</xs:documentation>
</xs:annotation>
</xs:element>
Egy erőforrás, amelyen a szolgáltatásnak ki kell egyensúlyoznia, például a memória vagy a PROCESSZORhasználat. Információkat tartalmaz arról, hogy a szolgáltatás egyes replikái vagy példányai alapértelmezés szerint mennyi erőforrást használnak fel.
Deklarál egy, a Name attribútum által elnevezett mappát a PackageRoot alatt, amely olyan statikus adatfájlokat tartalmaz, amelyeket a folyamat futásidőben használ fel. A Service Fabric újra felhasználja a gazdagépben és a támogatási csomagokban megadott összes EXE-t és DLLHOST-t, amikor a szolgáltatásjegyzékben felsorolt adatcsomagok bármelyike frissül.
Felsorolja a szolgáltatásjegyzék összetevőihez tartozó ETW-jegyzékfájlokat tartalmazó adatcsomagokat. Az ETW-jegyzékeket tartalmazó adatcsomag nem tartalmazhat más fájlokat.
Attribútum
Value
típus
névtelen complexType
content
1 elem( ek), 0 attribútum(ok)
Meghatározott
helyileg az ETW-elemben
név
ManifestDataPackages
minOccurs
0
XML-forrás
<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="ManifestDataPackages" minOccurs="0">
<xs:annotation>
<xs:documentation>Lists the data packages containing ETW manifests for the components of this service manifest. The data package containing ETW manifests should not contain any other files. </xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="ManifestDataPackage" type="DataPackageType" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
</xs:element>
A felhasználók bármely meglévő tagsági csoporthoz hozzáadhatók, így örökölhetik a tagsági csoport összes tulajdonságát és biztonsági beállításait. A tagsági csoport olyan külső erőforrások védelmére használható, amelyeket különböző szolgáltatásoknak vagy ugyanazon szolgáltatásnak (egy másik gépen) kell elérnie.
Attribútum
Value
típus
névtelen complexType
content
2 elem( ek), 0 attribútum(ok)
Meghatározott
helyileg a Felhasználói elemben
név
MemberOf
minOccurs
0
XML-forrás
<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="MemberOf" minOccurs="0">
<xs:annotation>
<xs:documentation>Users can be added to any existing membership group, so it can inherit all the properties and security settings of that membership group. The membership group can be used to secure external resources that need to be accessed by different services or the same service (on a different machine).</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:choice maxOccurs="unbounded">
<xs:element name="SystemGroup" minOccurs="0" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>The system group to add the user to. The system group must be defined in the Groups section.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:attribute name="Name" type="xs:string" use="required">
<xs:annotation>
<xs:documentation>The name of the system group.</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
</xs:element>
<xs:element name="Group" minOccurs="0" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>The group to add the user to. The group must be defined in the Groups section.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:attribute name="NameRef" type="xs:string" use="required">
<xs:annotation>
<xs:documentation>The name of the group.</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
</xs:element>
</xs:choice>
</xs:complexType>
</xs:element>
Tartalomelem részletei
SystemGroup
A felhasználót hozzáadni kívánt rendszercsoport. A rendszercsoportot a Csoportok szakaszban kell meghatározni.
Attribútum
Value
név
SystemGroup
minOccurs
0
maxOccurs
Korlátos
Csoport
A felhasználót hozzáadni kívánt csoport. A csoportot a Csoportok szakaszban kell definiálni.
Attribútum
Value
név
Csoport
minOccurs
0
maxOccurs
Korlátos
Tagok elem (definiálva a StatefulServiceGroupType-ban)
A szolgáltatáscsoport tagszolgáltatásai
Attribútum
Value
típus
névtelen complexType
content
1 elem( ek), 0 attribútum(ok)
Meghatározott
helyileg a StatefulServiceGroupType complexType fájlban
név
Tagok
minOccurs
1
maxOccurs
1
XML-forrás
<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="Members" minOccurs="1" maxOccurs="1">
<xs:annotation>
<xs:documentation>Member services of this service group</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="Member" type="ServiceGroupMemberType" minOccurs="1" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="NamedPartition">
<xs:annotation>
<xs:documentation>Describes a named partitioning scheme based on names for each partition.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence maxOccurs="unbounded">
<xs:element name="Partition">
<xs:annotation>
<xs:documentation>Describes a partition by name.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:attribute name="Name" use="required">
<xs:annotation>
<xs:documentation>The name of the partition</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:minLength value="1"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
A jegyzékben használandó alkalmazásparaméter. A paraméter értéke módosítható az alkalmazás példányosítása során, vagy ha nincs megadva érték, a rendszer az alapértelmezett értéket használja.
Attribútum
Value
típus
névtelen complexType
content
0 elem(ek), 2 attribútum(ok)
Meghatározott
helyileg a Paraméterek elemben
név
Paraméter
Blokk
minOccurs
0
maxOccurs
Korlátos
XML-forrás
<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="Parameter" block="" minOccurs="0" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>An application parameter to be used in this manifest. The parameter value can be changed during application instantiation, or, if no value is supplied the default value is used.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:attribute name="Name" use="required">
<xs:annotation>
<xs:documentation>The name of the parameter to be used in the manifest as "[Name]".</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:minLength value="1"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
<xs:attribute name="DefaultValue" type="xs:string" use="required">
<xs:annotation>
<xs:documentation>Default value for the parameter, used if the parameter value is not provided during application instantiation.</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
</xs:element>
Attribútum részletei
Név
A jegyzékfájlban "[Név]" néven használandó paraméter neve.
Attribútum
Value
név
Név
Használja
kötelező
DefaultValue
A paraméter alapértelmezett értéke akkor használatos, ha a paraméter értéke nem szerepel az alkalmazás példányosítása során.
<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="Parameter" minOccurs="0" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>The setting to override.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:attributeGroup ref="NameValuePair"/>
<xs:attribute name="IsEncrypted" type="xs:boolean" default="false">
<xs:annotation>
<xs:documentation>
If true, the value of this parameter is encrypted. The application developer is responsible for creating a certificate and using the Invoke-ServiceFabricEncryptSecret cmdlet to encrypt sensitive information. The certificate information that will be used to encrypt the value is specified in the Certificates section. This attribute is deprecated. Please use Type attribute.
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="Type" type="xs:string" use="optional">
<xs:annotation>
<xs:documentation>
This value defines the type of value you have specified in the 'Value' Attribute. It can be SecretsStoreRef/Encrypted/PlainText.
If set to SecretsStoreRef, we retrieve the reference value from the SecretStore.
If set to Encrypted, the application developer is responsible for creating a certificate and using the Invoke-ServiceFabricEncryptSecret cmdlet to encrypt sensitive information.
</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
</xs:element>
Attribútum részletei
IsEncrypted
Ha igaz, a paraméter értéke titkosítva lesz. Az alkalmazásfejlesztő feladata egy tanúsítvány létrehozása, valamint az Invoke-ServiceFabricEncryptSecret parancsmag használata bizalmas adatok titkosításához. Az érték titkosításához használt tanúsítványinformációk a Tanúsítványok szakaszban találhatók. Ez az attribútum elavult. Használja a Type attribútumot.
Attribútum
Value
név
IsEncrypted
típus
xs:logikai
alapértelmezett
false
Típus
Ez az érték határozza meg az "Érték" attribútumban megadott érték típusát. Ez lehet a SecretsStoreRef/Encrypted/PlainText.
Ha a SecretStoreRef értékre van állítva, lekérjük a referenciaértéket a SecretStore-ból.
Ha titkosított értékre van állítva, az alkalmazás fejlesztője felelős egy tanúsítvány létrehozásáért, és a Bizalmas adatok titkosításához használja az Invoke-ServiceFabricEncryptSecret parancsmagot.
Attribútum
Value
név
Type
típus
xs:sztring
Használja
választható
Paraméterelem (a szakaszban definiálva)
Attribútum
Value
típus
névtelen complexType
content
0 elem(ek), 5 attribútum(ok)
Meghatározott
helyileg a Szakasz elemben
név
Paraméter
minOccurs
0
maxOccurs
Korlátos
XML-forrás
<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="Parameter" minOccurs="0" maxOccurs="unbounded">
<xs:complexType>
<xs:attribute name="Name" type="xs:string" use="required"/>
<xs:attribute name="Value" type="xs:string" use="required"/>
<xs:attribute name="MustOverride" type="xs:boolean" default="false">
<xs:annotation>
<xs:documentation>If true, the value of this parameter must be overridden by higher level configuration.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="IsEncrypted" type="xs:boolean" default="false">
<xs:annotation>
<xs:documentation>If true, the value of this parameter is encrypted.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="Type" type="xs:string" use="optional"/>
</xs:complexType>
</xs:element>
Attribútum részletei
Név
Attribútum
Value
név
Name
típus
xs:sztring
Használja
kötelező
Érték
Attribútum
Value
név
Érték
típus
xs:sztring
Használja
kötelező
MustOverride
Ha igaz, a paraméter értékét felül kell bírálni magasabb szintű konfigurációval.
Paraméterek elem (az AppInstanceDefinitionType-ban definiálva)
Az alkalmazás paramétereinek listája az alkalmazásjegyzékben és azok értékeiben meghatározottak szerint.
Attribútum
Value
típus
névtelen complexType
content
1 elem( ek), 0 attribútum(ok)
Meghatározott
helyileg az AppInstanceDefinitionType complexType-ban
név
Parameters
XML-forrás
<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="Parameters">
<xs:annotation>
<xs:documentation>List of parameters for the application as defined in application manifest and their respective values.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="Parameter" minOccurs="0" maxOccurs="unbounded">
<xs:complexType>
<xs:attributeGroup ref="NameValuePair"/>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
Tartalomelem részletei
Paraméter
Attribútum
Value
név
Paraméter
minOccurs
0
maxOccurs
Korlátos
Paraméterek elem (az ApplicationManifestType-ban definiálva)
Deklarálja az alkalmazásjegyzékben használt paramétereket. Ezeknek a paramétereknek az értéke az alkalmazás példányosításakor adható meg, és az alkalmazás- vagy szolgáltatáskonfigurációs beállítások felülbírálásához használható.
Attribútum
Value
típus
névtelen complexType
content
1 elem( ek), 0 attribútum(ok)
Meghatározott
helyileg az ApplicationManifestType complexType-ban
név
Parameters
minOccurs
0
XML-forrás
<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="Parameters" minOccurs="0">
<xs:annotation>
<xs:documentation>Declares the parameters that are used in this application manifest. The value of these parameters can be supplied when the application is instantiated and can be used to override application or service configuration settings.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="Parameter" block="" minOccurs="0" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>An application parameter to be used in this manifest. The parameter value can be changed during application instantiation, or, if no value is supplied the default value is used.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:attribute name="Name" use="required">
<xs:annotation>
<xs:documentation>The name of the parameter to be used in the manifest as "[Name]".</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:minLength value="1"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
<xs:attribute name="DefaultValue" type="xs:string" use="required">
<xs:annotation>
<xs:documentation>Default value for the parameter, used if the parameter value is not provided during application instantiation.</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
Tartalomelem részletei
Paraméter
A jegyzékben használandó alkalmazásparaméter. A paraméter értéke módosítható az alkalmazás példányosítása során, vagy ha nincs megadva érték, a rendszer az alapértelmezett értéket használja.
Attribútum
Value
név
Paraméter
Blokk
minOccurs
0
maxOccurs
Korlátos
Partícióelem
Egy partíciót ír le név szerint.
Attribútum
Value
típus
névtelen complexType
content
0 elem(ek), 1 attribútum(ok)
Meghatározott
helyileg a NamedPartition elemben
név
Partíció
XML-forrás
<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="Partition">
<xs:annotation>
<xs:documentation>Describes a partition by name.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:attribute name="Name" use="required">
<xs:annotation>
<xs:documentation>The name of the partition</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:minLength value="1"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
</xs:complexType>
</xs:element>
Attribútum részletei
Név
A partíció neve
Attribútum
Value
név
Név
Használja
kötelező
PersistencePolicy elem
A szolgáltatástípus perzisztenciaszabályzat-bővítménye
A fürt azon csomópontjainak szabályozására szolgál, amelyeken egy szolgáltatás futtatható. Kulcs/érték pár, amely leírja a csomópont tulajdonságnevét és a szolgáltatás értékre vonatkozó követelményeit. Az egyes utasítások egyszerű logikai logikával csoportosíthatók a szükséges kényszer létrehozásához. Például: "(FirmwareVersion>12 &> InDMZ == True)".
<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="PlacementConstraints" type="xs:string" minOccurs="0">
<xs:annotation>
<xs:documentation>Used to control which nodes in the cluster a service can run on. A key/value pair which describes the node property name and the service's requirements for the value. Individual statements can be grouped together with simple boolean logic to create the necessary constraint. For example, "(FirmwareVersion>12 && InDMZ == True)".</xs:documentation>
</xs:annotation>
</xs:element>
PlacementProperties elem
A NodeType elhelyezési kényszerként használt tulajdonságainak ismertetése
Attribútum
Value
típus
névtelen complexType
content
1 elem( ek), 0 attribútum(ok)
Meghatározott
helyileg a NodeType elemben
név
Elhelyezési segédek
minOccurs
0
XML-forrás
<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="PlacementProperties" minOccurs="0">
<xs:annotation>
<xs:documentation>Describe the properties for this NodeType that will be used as placement constraints</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="Property" type="KeyValuePairType" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="PortBinding" type="PortBindingType" minOccurs="0" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>Specifies which endpoint resource to bind container exposed port.</xs:documentation>
</xs:annotation>
</xs:element>
Principals elem
Ismerteti azokat a biztonsági tagokat (felhasználókat, csoportokat), amelyek szükségesek ahhoz, hogy az alkalmazás szolgáltatásokat és erőforrásokat futtasson. A rendszer a szabályzatok szakaszaiban hivatkozik a tagokra.
A végrehajtható név. Például: "MySetup.bat" vagy "MyServiceHost.exe".
Attribútum
Value
típus
xs:sztring
content
0 elem(ek), 0 attribútum(ok)
Meghatározott
helyileg az ExeHostEntryPointType complexType fájlban
név
Program
XML-forrás
<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="Program" type="xs:string">
<xs:annotation>
<xs:documentation>The executable name. For example, "MySetup.bat" or "MyServiceHost.exe".</xs:documentation>
</xs:annotation></xs:element>
Tulajdonságok elem
Meghatározza az adatmegőrzési és kiürítési szabályzatok tulajdonságait.
A szolgáltatás által használt erőforrásokat ismerteti, amelyek lefordított kód módosítása nélkül deklarálhatók és a szolgáltatás üzembe helyezésekor módosíthatók. Ezeknek az erőforrásoknak a hozzáférését az alkalmazásjegyzék Egyszerűk és szabályzatok szakasza szabályozza.
Megadja azt a helyi felhasználót vagy helyi rendszerfiókot, amelyként egy szolgáltatáskódcsomag fut. A tartományi fiókok támogatottak olyan Windows Server-üzemelő példányokon, ahol elérhető a Microsoft Entra ID. Alapértelmezés szerint az alkalmazások azon a fiókon futnak, amelyen a Fabric.exe folyamat fut. Az alkalmazások más fiókként is futtathatók, amelyeket az Egyszerűk szakaszban kell deklarálni. Ha futtatási szabályzatot alkalmaz egy szolgáltatásra, és a szolgáltatásjegyzék a HTTP protokollal deklarálja a végponterőforrásokat, meg kell adnia egy SecurityAccessPolicy-t is, hogy az e végpontokhoz lefoglalt portok megfelelő hozzáférés-vezérléssel rendelkezzenek ahhoz a futtató felhasználói fiókhoz, amelyen a szolgáltatás fut. HTTPS-végpont esetén meg kell határoznia egy EndpointBindingPolicy-t is, amely jelzi a tanúsítvány nevét, hogy visszatérjen az ügyfélhez.
<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="Section" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>A section in the Settings.xml file to override.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="Parameter" minOccurs="0" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>The setting to override.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:attributeGroup ref="NameValuePair"/>
<xs:attribute name="IsEncrypted" type="xs:boolean" default="false">
<xs:annotation>
<xs:documentation>
If true, the value of this parameter is encrypted. The application developer is responsible for creating a certificate and using the Invoke-ServiceFabricEncryptSecret cmdlet to encrypt sensitive information. The certificate information that will be used to encrypt the value is specified in the Certificates section. This attribute is deprecated. Please use Type attribute.
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="Type" type="xs:string" use="optional">
<xs:annotation>
<xs:documentation>
This value defines the type of value you have specified in the 'Value' Attribute. It can be SecretsStoreRef/Encrypted/PlainText.
If set to SecretsStoreRef, we retrieve the reference value from the SecretStore.
If set to Encrypted, the application developer is responsible for creating a certificate and using the Invoke-ServiceFabricEncryptSecret cmdlet to encrypt sensitive information.
</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
</xs:element>
</xs:sequence>
<xs:attribute name="Name" use="required">
<xs:annotation>
<xs:documentation>The name of the section in the Settings.xml file to override.</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:minLength value="1"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
</xs:complexType>
</xs:element>
Attribútum részletei
Név
A felülbírálandó Gépház.xml fájl szakaszának neve.
Attribútum
Value
név
Név
Használja
kötelező
Tartalomelem részletei
Paraméter
A felülbírálandó beállítás.
Attribútum
Value
név
Paraméter
minOccurs
0
maxOccurs
Korlátos
Szakaszelem (Gépház Type-ban definiálva)
Felhasználó által definiált elnevezett szakasz.
Attribútum
Value
típus
névtelen complexType
content
1 elem(ek), 1 attribútum(ok)
Meghatározott
helyileg a Gépház Type complexType-ban
név
Szakasz
minOccurs
0
maxOccurs
Korlátos
XML-forrás
<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="Section" minOccurs="0" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>A user-defined named section.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="Parameter" minOccurs="0" maxOccurs="unbounded">
<xs:complexType>
<xs:attribute name="Name" type="xs:string" use="required"/>
<xs:attribute name="Value" type="xs:string" use="required"/>
<xs:attribute name="MustOverride" type="xs:boolean" default="false">
<xs:annotation>
<xs:documentation>If true, the value of this parameter must be overridden by higher level configuration.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="IsEncrypted" type="xs:boolean" default="false">
<xs:annotation>
<xs:documentation>If true, the value of this parameter is encrypted.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="Type" type="xs:string" use="optional"/>
</xs:complexType>
</xs:element>
</xs:sequence>
<xs:attribute name="Name" type="xs:string" use="required"/>
</xs:complexType>
</xs:element>
Attribútum részletei
Név
Attribútum
Value
név
Name
típus
xs:sztring
Használja
kötelező
Tartalomelem részletei
Paraméter
Attribútum
Value
név
Paraméter
minOccurs
0
maxOccurs
Korlátos
SecurityAccessPolicies elem
Az erőforrásokra alkalmazott biztonsági szabályzatok listája az alkalmazás szintjén.
Attribútum
Value
típus
névtelen complexType
content
1 elem( ek), 0 attribútum(ok)
Meghatározott
helyileg az ApplicationPoliciesType complexType-ban
név
SecurityAccessPolicies
minOccurs
0
XML-forrás
<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="SecurityAccessPolicies" minOccurs="0">
<xs:annotation>
<xs:documentation>List of security policies applied to resources at the application level.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence maxOccurs="unbounded">
<xs:element name="SecurityAccessPolicy" type="SecurityAccessPolicyType"/>
</xs:sequence>
</xs:complexType>
</xs:element>
Hozzáférési engedélyeket ad egy szolgáltatásjegyzékben definiált erőforráson (például végponton) lévő egyszerű felhasználónak. Általában nagyon hasznos a szolgáltatások különböző erőforrásokhoz való hozzáférésének szabályozása és korlátozása a biztonsági kockázatok minimalizálása érdekében. Ez különösen akkor fontos, ha az alkalmazás egy piactérről származó szolgáltatások gyűjteményéből épül fel, amelyeket különböző fejlesztők fejlesztettek ki.
<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="ServerCertificate" type="FabricCertificateType" minOccurs="0">
<xs:annotation>
<xs:documentation>The certificate used to secure the intra cluster communication.</xs:documentation>
</xs:annotation>
</xs:element>
Szolgáltatáselem
Deklarálja, hogy egy szolgáltatás automatikusan létrejön az alkalmazás példányosításakor.
Attribútum
Value
típus
névtelen complexType
content
2 elem( ek), 4 attribútum(ok)
Meghatározott
helyileg a DefaultServicesType complexType fájlban
név
Service
XML-forrás
<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="Service">
<xs:annotation>
<xs:documentation>Declares a service to be created automatically when the application is instantiated.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:choice minOccurs="0">
<xs:element name="StatelessService" type="StatelessServiceType"/>
<xs:element name="StatefulService" type="StatefulServiceType"/>
</xs:choice>
<xs:attribute name="Name" type="xs:string" use="required">
<xs:annotation>
<xs:documentation>The service name, used to form the fully qualified application name URI. The fully qualified name URI of the service would be: fabric:/ApplicationName/ServiceName.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="GeneratedIdRef" type="xs:string" use="optional">
<xs:annotation>
<xs:documentation>Reference to the auto generated id used by Visual Studio tooling.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="ServiceDnsName" type="xs:string" use="optional">
<xs:annotation>
<xs:documentation>The DNS name of the service.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="ServicePackageActivationMode" type="xs:string" use="optional" default="SharedProcess">
<xs:annotation>
<xs:documentation>ServicePackageActivationMode to be used when creating the service. Allowed values are 'SharedProcess' and 'ExclusiveProcess'. With SharedProcess mode, replica(s) or instance(s) from different partition(s) of service will share same activation of service package on a node. With ExclusiveProcess mode, each replica or instance of service will have its own dedicated activation of service package.</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
</xs:element>
Attribútum részletei
Név
A teljes körűen minősített alkalmazásnév URI-jának létrehozásához használt szolgáltatásnév. A szolgáltatás teljes URI-ja a következő: fabric:/ApplicationName/ServiceName.
Attribútum
Value
név
Name
típus
xs:sztring
Használja
kötelező
GeneratedIdRef
Hivatkozás a Visual Studio eszközkészlet által használt automatikusan létrehozott azonosítóra.
Attribútum
Value
név
GeneratedIdRef
típus
xs:sztring
Használja
választható
ServiceDnsName
A szolgáltatás DNS-neve.
Attribútum
Value
név
ServiceDnsName
típus
xs:sztring
Használja
választható
ServicePackageActivationMode
ServicePackageActivationMode a szolgáltatás létrehozásakor használható. Az engedélyezett értékek a "SharedProcess" és az "ExclusiveProcess". A SharedProcess módban a különböző szolgáltatáspartíciók replikái vagy példányai ugyanazt az aktiválást fogják használni a szolgáltatáscsomagon egy csomóponton. Az ExclusiveProcess mód esetén minden replika vagy szolgáltatáspéldány saját dedikált szolgáltatáscsomag-aktiválással rendelkezik.
Affinitási kapcsolatot határoz meg egy másik szolgáltatással. Hasznos, ha egy korábban monolitikus alkalmazást mikroszolgáltatásokra oszt. Az egyik szolgáltatás helyi függőségben van egy másik szolgáltatástól, és mindkét szolgáltatásnak ugyanazon a csomóponton kell futnia a működéshez.
Attribútum
Value
típus
névtelen complexType
content
0 elem(ek), 2 attribútum(ok)
Meghatározott
helyileg a ServiceCorrelations elemben
név
ServiceCorrelation
maxOccurs
Korlátos
XML-forrás
<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="ServiceCorrelation" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>Defines an affinity relationship with another service. Useful when splitting a previously-monolithic application into microservices. One service has a local dependency on another service and both services need to run on the same node in order to work.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:attribute name="ServiceName" use="required">
<xs:annotation>
<xs:documentation>The name of the other service as a URI. Example, "fabric:/otherApplication/parentService".</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:minLength value="1"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
<xs:attribute name="Scheme" use="required">
<xs:annotation>
<xs:documentation>In NonAlignedAffinity the replicas or instances of the different services are placed on the same nodes. AlignedAffinity is used with stateful services. Configuring one stateful service as having aligned affinity with another stateful service ensures that the primaries of those services are placed on the same nodes as each other, and that each pair of secondaries are also placed on the same nodes.</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:enumeration value="Affinity"/>
<xs:enumeration value="AlignedAffinity"/>
<xs:enumeration value="NonAlignedAffinity"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
</xs:complexType>
</xs:element>
Attribútum részletei
ServiceName
A másik szolgáltatás neve URI-ként. Példa: "fabric:/otherApplication/parentService".
Attribútum
Value
név
ServiceName
Használja
kötelező
Séma
A NonAlignedAffinity szolgáltatásban a különböző szolgáltatások replikái vagy példányai ugyanazon a csomóponton vannak elhelyezve. Az AlignedAffinity állapotalapú szolgáltatásokkal használható. Ha egy állapotalapú szolgáltatást úgy konfigurál, hogy az affinitást egy másik állapotalapú szolgáltatáshoz igazítsa, az biztosítja, hogy a szolgáltatások elsődlegessége ugyanazon a csomóponton legyen, mint egymással, és hogy a második párok is ugyanazon a csomóponton legyenek elhelyezve.
Attribútum
Value
név
Séma
Használja
kötelező
ServiceCorrelations elem
A szolgáltatások közötti affinitási kapcsolatokat határozza meg.
Attribútum
Value
típus
névtelen complexType
content
1 elem( ek), 0 attribútum(ok)
Meghatározott
helyileg a ServiceType complexType-ban
név
ServiceCorrelations
minOccurs
0
XML-forrás
<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="ServiceCorrelations" minOccurs="0">
<xs:annotation>
<xs:documentation>Defines affinity relationships between services.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="ServiceCorrelation" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>Defines an affinity relationship with another service. Useful when splitting a previously-monolithic application into microservices. One service has a local dependency on another service and both services need to run on the same node in order to work.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:attribute name="ServiceName" use="required">
<xs:annotation>
<xs:documentation>The name of the other service as a URI. Example, "fabric:/otherApplication/parentService".</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:minLength value="1"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
<xs:attribute name="Scheme" use="required">
<xs:annotation>
<xs:documentation>In NonAlignedAffinity the replicas or instances of the different services are placed on the same nodes. AlignedAffinity is used with stateful services. Configuring one stateful service as having aligned affinity with another stateful service ensures that the primaries of those services are placed on the same nodes as each other, and that each pair of secondaries are also placed on the same nodes.</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:enumeration value="Affinity"/>
<xs:enumeration value="AlignedAffinity"/>
<xs:enumeration value="NonAlignedAffinity"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
Tartalomelem részletei
ServiceCorrelation
Affinitási kapcsolatot határoz meg egy másik szolgáltatással. Hasznos, ha egy korábban monolitikus alkalmazást mikroszolgáltatásokra oszt. Az egyik szolgáltatás helyi függőségben van egy másik szolgáltatástól, és mindkét szolgáltatásnak ugyanazon a csomóponton kell futnia a működéshez.
Attribútum
Value
név
ServiceCorrelation
maxOccurs
Korlátos
ServiceFabricRuntimeAccessPolicy elem
Olyan szabályzatokat határoz meg, amelyek meghatározzák, hogy a service fabric futtatókörnyezet hogyan legyen elérhetővé téve a replikák számára.
<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="ServiceFabricRuntimeAccessPolicy" type="ServiceFabricRuntimeAccessPolicyType" minOccurs="0" maxOccurs="1">
<xs:annotation>
<xs:documentation>Specifies policies that determine how the service fabric runtime is exposed to the replicas.</xs:documentation>
</xs:annotation>
</xs:element>
ServiceGroup elem
Olyan szolgáltatások gyűjteménye, amelyek automatikusan együtt találhatók, így a feladatátvétel vagy az erőforrás-kezelés során is együtt lesznek áthelyezve.
Attribútum
Value
típus
névtelen complexType
content
2 elem(ek), 2 attribútum(ok)
Meghatározott
helyileg a DefaultServicesType complexType fájlban
név
ServiceGroup
XML-forrás
<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="ServiceGroup">
<xs:annotation>
<xs:documentation>A collection of services that are automatically located together, so they are also moved together during fail-over or resource management.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:choice minOccurs="0">
<xs:element name="StatelessServiceGroup" type="StatelessServiceGroupType"/>
<xs:element name="StatefulServiceGroup" type="StatefulServiceGroupType"/>
</xs:choice>
<xs:attribute name="Name" type="xs:string" use="required">
<xs:annotation>
<xs:documentation>Name of this service relative to this application Name URI. Fully qualified Name of the service is a combination of Name Uri of the Application and this Name.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="ServicePackageActivationMode" type="xs:string" use="optional" default="SharedProcess">
<xs:annotation>
<xs:documentation>ServicePackageActivationMode to be used when creating the service. Allowed values are 'SharedProcess' and 'ExclusiveProcess'. With SharedProcess mode, replica(s) or instance(s) from different partition(s) of service will share same 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>
Attribútum részletei
Név
A szolgáltatás neve ehhez az alkalmazáshoz viszonyítva: URI. A szolgáltatás teljes neve az alkalmazás URI-jának és a névnek a kombinációja.
Attribútum
Value
név
Name
típus
xs:sztring
Használja
kötelező
ServicePackageActivationMode
ServicePackageActivationMode a szolgáltatás létrehozásakor használható. Az engedélyezett értékek a "SharedProcess" és az "ExclusiveProcess". A SharedProcess módban a különböző szolgáltatáspartíciók replikái vagy példányai ugyanazt az aktiválást fogják használni a szolgáltatáscsomagon egy csomóponton. Az ExclusiveProcess mód esetén minden replika vagy szolgáltatáspéldány saját dedikált szolgáltatáscsomag-aktiválással rendelkezik.
<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="ServiceGroupMembers" minOccurs="0" maxOccurs="1">
<xs:annotation>
<xs:documentation>Member types of this service group type.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element ref="ServiceGroupTypeMember" minOccurs="1" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
</xs:element>
Tartalomelem részletei
None
Attribútum
Value
Ref
ServiceGroupTypeMember
minOccurs
1
maxOccurs
Korlátos
ServiceGroupTypeMember elem
A szolgáltatáscsoport tagtípusát ismerteti.
Attribútum
Value
típus
névtelen complexType
content
1 elem(ek), 1 attribútum(ok)
Meghatározott
Globálisan
név
ServiceGroupTypeMember
XML-forrás
<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="ServiceGroupTypeMember">
<xs:annotation>
<xs:documentation>Describes the member type of the service group.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="LoadMetrics" minOccurs="0">
<xs:annotation>
<xs:documentation>Load metrics reported by this service, used for resource balancing services.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="LoadMetric" type="LoadMetricType" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
<xs:attribute name="ServiceTypeName" use="required">
<xs:annotation>
<xs:documentation>User-defined type identifier for a Microsoft Azure Service Fabric ServiceGroup Member, .e.g Actor</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:minLength value="1"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
</xs:complexType>
</xs:element>
Attribútum részletei
ServiceTypeName
Felhasználó által definiált típusazonosító egy Microsoft Azure Service Fabric ServiceGroup-taghoz(pl. Aktor)
Attribútum
Value
név
ServiceTypeName
Használja
kötelező
Tartalomelem részletei
LoadMetrics
A szolgáltatás által jelentett terhelési metrikák erőforrás-kiegyensúlyozási szolgáltatásokhoz használatosak.
Attribútum
Value
név
LoadMetrics
minOccurs
0
ServiceManifest elem
Deklaratív módon leírja a szolgáltatás típusát és verzióját. Felsorolja az egymástól függetlenül frissíthető kódot, konfigurációt és adatcsomagokat, amelyek egy vagy több szolgáltatástípus támogatásához egy szolgáltatáscsomagot alkotnak. Az erőforrások, a diagnosztikai beállítások és a szolgáltatás metaadatai, például a szolgáltatás típusa, az állapottulajdonságok és a terheléselosztási metrikák is meg vannak adva.
Importálja a szolgáltatásfejlesztő által létrehozott szolgáltatásjegyzéket. Az alkalmazás minden egyes rendszerösszetevő szolgáltatásához importálni kell egy szolgáltatásjegyzéket. A konfigurációs felülbírálások és szabályzatok deklarálhatók a szolgáltatásjegyzékhez.
Attribútum
Value
típus
névtelen complexType
content
5 elem(ek), 0 attribútum(ok)
Meghatározott
helyileg az ApplicationManifestType complexType-ban
név
ServiceManifestImport
maxOccurs
Korlátos
XML-forrás
<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="ServiceManifestImport" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>Imports a service manifest created by the service developer. A service manifest must be imported for each constituent service in the application. Configuration overrides and policies can be declared for the service manifest.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="ServiceManifestRef" type="ServiceManifestRefType"/>
<xs:element name="ConfigOverrides" minOccurs="0">
<xs:annotation>
<xs:documentation>Describes configuration overrides for the imported service manifest. Configuration overrides allow the flexibility of re-using the same service manifests across multiple application types by overriding the service manifest's configuration only when used with a particular application type. Configuration overrides can change any default configuration in a service manifest as long as default configuration is defined using the Settings.xml in the ConfigPackage folder. </xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="ConfigOverride" type="ConfigOverrideType" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="ResourceOverrides" type="ResourceOverridesType" minOccurs="0"/>
<xs:element name="EnvironmentOverrides" type="EnvironmentOverridesType" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="Policies" type="ServiceManifestImportPoliciesType" minOccurs="0"/>
</xs:sequence>
</xs:complexType>
</xs:element>
Az importált szolgáltatásjegyzék konfigurációs felülbírálásait ismerteti. A konfigurációs felülbírálások lehetővé teszik ugyanazon szolgáltatásjegyzékek több alkalmazástípusra történő ismételt használatát úgy, hogy csak egy adott alkalmazástípussal való használat esetén felülbírálják a szolgáltatásjegyzék konfigurációját. A konfigurációs felülbírálások módosíthatják a szolgáltatásjegyzék bármely alapértelmezett konfigurációját, ha az alapértelmezett konfiguráció a ConfigPackage mappában található Gépház.xml fájl használatával van definiálva.
A ServicePackage az üzembe helyezés és az aktiválás egy verziójú egysége. A ServicePackage verzióját a rendszer a jegyzékverzió és a felülbírálások verziója alapján határozza meg.
<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="ServicePackage" type="ServicePackageType">
<xs:annotation>
<xs:documentation>ServicePackage represents a versioned unit of deployment and activation. The version of the ServicePackage is determined based on the manifest version and the version of the overrides.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="ServicePackageResourceGovernancePolicy" type="ServicePackageResourceGovernancePolicyType" minOccurs="0" maxOccurs="1">
<xs:annotation>
<xs:documentation>Defines the resource governance policy that is applied at the level of the entire service package.</xs:documentation>
</xs:annotation>
</xs:element>
ServicePlacementPolicies elem (a ServiceTypeType-ban definiálva)
Deklarálja egy szolgáltatás elhelyezési szabályzatait. Akkor hasznos, ha a fürt földrajzi távolságokra vagy/vagy geopolitikai régiókra terjed ki.
Attribútum
Value
típus
névtelen complexType
content
1 elem( ek), 0 attribútum(ok)
Meghatározott
helyileg a ServiceTypeType complexType-ban
név
ServicePlacementPolicies
minOccurs
0
XML-forrás
<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="ServicePlacementPolicies" minOccurs="0">
<xs:annotation>
<xs:documentation>Declares placement policies for a service. Useful when the cluster spans geographic distances or and/or geopolitical regions.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="ServicePlacementPolicy" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>Defines a service placement policy, which specifies that the service should or should not run in certain cluster fault domains. Useful when the cluster spans geographic distances or and/or geopolitical regions.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:attribute name="DomainName">
<xs:annotation>
<xs:documentation>The fault domain where the service should or should not be placed, depending on the Type value.</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:minLength value="1"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
<xs:attribute name="Type" use="required">
<xs:annotation>
<xs:documentation>InvalidDomain allows you to specify that a particular Fault Domain is invalid for this workload. RequiredDomain requires that all of the replicas be present in the specified domain. Multiple required domains can be specified. PreferredPrimaryDomain specifies the preferred Fault Domain for primary replicas. Useful in geographically spanned clusters where you are using other locations for redundancy, but would prefer that the primary replicas be placed in a certain location in order to provider lower latency for operations which go to the primary. RequiredDomainDistribution specifies that replicas are required to be distributed among the available fault domains. NonPartiallyPlace controls if the service replicas will be partially place if not all of them can be placed. </xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:enumeration value="InvalidDomain"/>
<xs:enumeration value="RequiredDomain"/>
<xs:enumeration value="PreferredPrimaryDomain"/>
<xs:enumeration value="RequiredDomainDistribution"/>
<xs:enumeration value="NonPartiallyPlace"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
Tartalomelem részletei
ServicePlacementPolicy
Definiál egy szolgáltatáselhelyezési szabályzatot, amely azt határozza meg, hogy a szolgáltatás bizonyos fürthibatartományokban fusson vagy ne fusson. Akkor hasznos, ha a fürt földrajzi távolságokra vagy/vagy geopolitikai régiókra terjed ki.
Attribútum
Value
név
ServicePlacementPolicy
maxOccurs
Korlátos
ServicePlacementPolicies elem (a ServiceType-ban definiálva)
Deklarálja egy szolgáltatás elhelyezési szabályzatait. Akkor hasznos, ha a fürt földrajzi távolságokra vagy/vagy geopolitikai régiókra terjed ki.
Attribútum
Value
típus
névtelen complexType
content
1 elem( ek), 0 attribútum(ok)
Meghatározott
helyileg a ServiceType complexType-ban
név
ServicePlacementPolicies
minOccurs
0
XML-forrás
<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="ServicePlacementPolicies" minOccurs="0">
<xs:annotation>
<xs:documentation>Declares placement policies for a service. Useful when the cluster spans geographic distances or and/or geopolitical regions.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="ServicePlacementPolicy" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>Defines a service placement policy, which specifies that the service should or should not run in certain cluster fault domains. Useful when the cluster spans geographic distances or and/or geopolitical regions.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:attribute name="DomainName">
<xs:annotation>
<xs:documentation>The fault domain where the service should or should not be placed, depending on the Type value.</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:minLength value="1"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
<xs:attribute name="Type" use="required">
<xs:annotation>
<xs:documentation>InvalidDomain allows you to specify that a particular Fault Domain is invalid for this workload. RequiredDomain requires that all of the replicas be present in the specified domain. Multiple required domains can be specified. PreferredPrimaryDomain specifies the preferred Fault Domain for primary replicas. Useful in geographically spanned clusters where you are using other locations for redundancy, but would prefer that the primary replicas be placed in a certain location in order to provider lower latency for operations which go to the primary. RequiredDomainDistribution specifies that replicas are required to be distributed among the available fault domains. NonPartiallyPlace controls if the service replicas will be partially place if not all of them can be placed.</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:enumeration value="InvalidDomain"/>
<xs:enumeration value="RequiredDomain"/>
<xs:enumeration value="PreferredPrimaryDomain"/>
<xs:enumeration value="RequiredDomainDistribution"/>
<xs:enumeration value="NonPartiallyPlace"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
Tartalomelem részletei
ServicePlacementPolicy
Definiál egy szolgáltatáselhelyezési szabályzatot, amely azt határozza meg, hogy a szolgáltatás bizonyos fürthibatartományokban fusson vagy ne fusson. Akkor hasznos, ha a fürt földrajzi távolságokra vagy/vagy geopolitikai régiókra terjed ki.
Definiál egy szolgáltatáselhelyezési szabályzatot, amely azt határozza meg, hogy a szolgáltatás bizonyos fürthibatartományokban fusson vagy ne fusson. Akkor hasznos, ha a fürt földrajzi távolságokra vagy/vagy geopolitikai régiókra terjed ki.
Attribútum
Value
típus
névtelen complexType
content
0 elem(ek), 2 attribútum(ok)
Meghatározott
helyileg a ServicePlacementPolicies elemben
név
ServicePlacementPolicy
maxOccurs
Korlátos
XML-forrás
<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="ServicePlacementPolicy" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>Defines a service placement policy, which specifies that the service should or should not run in certain cluster fault domains. Useful when the cluster spans geographic distances or and/or geopolitical regions.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:attribute name="DomainName">
<xs:annotation>
<xs:documentation>The fault domain where the service should or should not be placed, depending on the Type value.</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:minLength value="1"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
<xs:attribute name="Type" use="required">
<xs:annotation>
<xs:documentation>InvalidDomain allows you to specify that a particular Fault Domain is invalid for this workload. RequiredDomain requires that all of the replicas be present in the specified domain. Multiple required domains can be specified. PreferredPrimaryDomain specifies the preferred Fault Domain for primary replicas. Useful in geographically spanned clusters where you are using other locations for redundancy, but would prefer that the primary replicas be placed in a certain location in order to provider lower latency for operations which go to the primary. RequiredDomainDistribution specifies that replicas are required to be distributed among the available fault domains. NonPartiallyPlace controls if the service replicas will be partially place if not all of them can be placed.</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:enumeration value="InvalidDomain"/>
<xs:enumeration value="RequiredDomain"/>
<xs:enumeration value="PreferredPrimaryDomain"/>
<xs:enumeration value="RequiredDomainDistribution"/>
<xs:enumeration value="NonPartiallyPlace"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
</xs:complexType>
</xs:element>
Attribútum részletei
DomainName
A hibatartomány, ahol a szolgáltatást el kell helyezni, vagy nem szabad elhelyezni a típusértéktől függően.
Attribútum
Value
név
DomainName
Típus
Az InvalidDomain lehetővé teszi annak megadását, hogy egy adott tartalék tartomány érvénytelen-e ehhez a számítási feladathoz. A RequiredDomain megköveteli, hogy az összes replika jelen legyen a megadott tartományban. Több kötelező tartomány is megadható. A PreferredPrimaryDomain az elsődleges replikák előnyben részesített tartalék tartományát adja meg. Olyan földrajzilag átfoglalt fürtökben hasznos, ahol más helyeket használ a redundancia érdekében, de azt szeretné, hogy az elsődleges replikák egy adott helyen legyenek elhelyezve, hogy kisebb késést biztosíthasson az elsődlegesre irányuló műveleteknél. A RequiredDomainDistribution azt határozza meg, hogy a replikákat el kell osztani az elérhető tartalék tartományok között. A NonPartiallyPlace azt szabályozza, hogy a szolgáltatásreplikák részben elhelyezhetők-e, ha nem mindegyik helyezhető el.
Attribútum
Value
név
Type
Használja
kötelező
ServicePlacementPolicy elem (a ServicePlacementPoliciesben definiálva)
Definiál egy szolgáltatáselhelyezési szabályzatot, amely azt határozza meg, hogy a szolgáltatás bizonyos fürthibatartományokban fusson vagy ne fusson. Akkor hasznos, ha a fürt földrajzi távolságokra vagy/vagy geopolitikai régiókra terjed ki.
Attribútum
Value
típus
névtelen complexType
content
0 elem(ek), 2 attribútum(ok)
Meghatározott
helyileg a ServicePlacementPolicies elemben
név
ServicePlacementPolicy
maxOccurs
Korlátos
XML-forrás
<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="ServicePlacementPolicy" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>Defines a service placement policy, which specifies that the service should or should not run in certain cluster fault domains. Useful when the cluster spans geographic distances or and/or geopolitical regions.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:attribute name="DomainName">
<xs:annotation>
<xs:documentation>The fault domain where the service should or should not be placed, depending on the Type value.</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:minLength value="1"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
<xs:attribute name="Type" use="required">
<xs:annotation>
<xs:documentation>InvalidDomain allows you to specify that a particular Fault Domain is invalid for this workload. RequiredDomain requires that all of the replicas be present in the specified domain. Multiple required domains can be specified. PreferredPrimaryDomain specifies the preferred Fault Domain for primary replicas. Useful in geographically spanned clusters where you are using other locations for redundancy, but would prefer that the primary replicas be placed in a certain location in order to provider lower latency for operations which go to the primary. RequiredDomainDistribution specifies that replicas are required to be distributed among the available fault domains. NonPartiallyPlace controls if the service replicas will be partially place if not all of them can be placed. </xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:enumeration value="InvalidDomain"/>
<xs:enumeration value="RequiredDomain"/>
<xs:enumeration value="PreferredPrimaryDomain"/>
<xs:enumeration value="RequiredDomainDistribution"/>
<xs:enumeration value="NonPartiallyPlace"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
</xs:complexType>
</xs:element>
Attribútum részletei
DomainName
A hibatartomány, ahol a szolgáltatást el kell helyezni, vagy nem szabad elhelyezni a típusértéktől függően.
Attribútum
Value
név
DomainName
Típus
Az InvalidDomain lehetővé teszi annak megadását, hogy egy adott tartalék tartomány érvénytelen-e ehhez a számítási feladathoz. A RequiredDomain megköveteli, hogy az összes replika jelen legyen a megadott tartományban. Több kötelező tartomány is megadható. A PreferredPrimaryDomain az elsődleges replikák előnyben részesített tartalék tartományát adja meg. Olyan földrajzilag átfoglalt fürtökben hasznos, ahol más helyeket használ a redundancia érdekében, de azt szeretné, hogy az elsődleges replikák egy adott helyen legyenek elhelyezve, hogy kisebb késést biztosíthasson az elsődlegesre irányuló műveleteknél. A RequiredDomainDistribution azt határozza meg, hogy a replikákat el kell osztani az elérhető tartalék tartományok között. A NonPartiallyPlace azt szabályozza, hogy a szolgáltatásreplikák részben elhelyezhetők-e, ha nem mindegyik helyezhető el.
Attribútum
Value
név
Type
Használja
kötelező
ServiceScalingPolicies elem
Skálázási szabályzatokat deklarál egy szolgáltatáshoz. A szolgáltatás igény szerinti dinamikus skálázására használható.
Attribútum
Value
típus
névtelen complexType
content
1 elem( ek), 0 attribútum(ok)
Meghatározott
helyileg a ServiceType complexType-ban
név
ServiceScalingPolicies
minOccurs
0
XML-forrás
<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="ServiceScalingPolicies" minOccurs="0">
<xs:annotation>
<xs:documentation>Declares scaling policies for a service. Useful for dynamically scaling the service based on needs. </xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="ScalingPolicy" type="ScalingPolicyType" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
</xs:element>
Deklarálja az alkalmazáspéldányon belül dinamikusan létrehozható engedélyezett szolgáltatástípusokat. Az alapértelmezett konfigurációs értékek, például a replikációs tényező, meg vannak adva, és sablonként szolgálnak a szolgáltatáspéldányok létrehozásához.
<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="ServiceTemplates" type="ServiceTemplatesType" minOccurs="0">
<xs:annotation>
<xs:documentation>Declares the set of permitted service types that can be created dynamically inside the application instance. Default configuration values, such as replication factor, are specified and used as a template for creating service instances.</xs:documentation>
</xs:annotation>
</xs:element>
ServiceTypeHealthPolicy elem
Egy adott szolgáltatástípus szolgáltatásain, partícióin és replikáin jelentett állapotesemények kiértékelésére vonatkozó szabályzatot ismerteti.
Attribútum
Value
típus
névtelen complexType
content
0 elem(ek), 0 attribútum(ok)
Meghatározott
helyileg az ApplicationHealthPolicyType complexType-ban
név
ServiceTypeHealthPolicy
minOccurs
0
maxOccurs
Korlátos
XML-forrás
<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="ServiceTypeHealthPolicy" minOccurs="0" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>Describes the policy for evaluating health events reported on services, partitions and replicas of a particular service type.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:complexContent>
<xs:extension base="ServiceTypeHealthPolicyType">
<xs:attribute name="ServiceTypeName" type="xs:string" use="required">
<xs:annotation>
<xs:documentation>The name of the service type that the policy will be applied to.</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:extension>
</xs:complexContent>
</xs:complexType>
</xs:element>
Meghatározza, hogy a jegyzékben szereplő CodePackage mely szolgáltatástípusokat támogatja. Amikor egy szolgáltatás példányosított egy ilyen szolgáltatástípussal, a jegyzékben deklarált összes kódcsomag a belépési pontok futtatásával aktiválódik. A szolgáltatástípusok a jegyzék szintjén vannak deklarálva, nem pedig a kódcsomag szintjén.
<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="ServiceTypes" type="ServiceAndServiceGroupTypesType">
<xs:annotation>
<xs:documentation>Defines what service types are supported by a CodePackage in this manifest. When a service is instantiated against one of these service types, all code packages declared in this manifest are activated by running their entry points. Service types are declared at the manifest level and not the code package level.</xs:documentation>
</xs:annotation>
</xs:element>
A szolgáltatásjegyzék konfigurációs beállításait felül kell bírálni. A kulcs-érték párok egy vagy több szakaszából áll. A paraméterértékek az Invoke-ServiceFabricEncryptSecret parancsmaggal titkosíthatók.
Defiles configurable settings for the code packages of a service. A Microsoft Azure Service Fabric nem értelmezi a beállításokat, azonban a runtime API-kon keresztül elérhetővé teszi őket a kódösszetevők számára.
<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="Settings" type="SettingsType">
<xs:annotation>
<xs:documentation>Defiles configurable settings for the code packages of a service. Microsoft Azure Service Fabric does not interpret the settings, however it makes them available via Runtime APIs for use by the code components.</xs:documentation>
</xs:annotation>
</xs:element>
SetupEntryPoint elem
Olyan kiemelt belépési pont, amely alapértelmezés szerint ugyanazokkal a hitelesítő adatokkal fut, mint a Service Fabric (általában a NETWORK Standard kiadás RVICE-fiók) bármely más belépési pont előtt. Az EntryPoint által megadott végrehajtható fájl általában a hosszú ideig futó szolgáltatásgazda. Egy külön beállítási belépési pont jelenléte esetén nem kell hosszú ideig magas jogosultságokkal futtatni a szolgáltatás gazdagépét.
Attribútum
Value
típus
névtelen complexType
content
1 elem( ek), 0 attribútum(ok)
Meghatározott
helyileg a CodePackageType complexType-ban
név
SetupEntryPoint
minOccurs
0
XML-forrás
<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="SetupEntryPoint" minOccurs="0">
<xs:annotation>
<xs:documentation>A privileged entry point that 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 xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="SingletonPartition">
<xs:annotation>
<xs:documentation>Declares that this service has only one partition.</xs:documentation>
</xs:annotation>
<xs:complexType/>
</xs:element>
A felhasználót hozzáadni kívánt rendszercsoport. A rendszercsoportot a Csoportok szakaszban kell meghatározni.
Attribútum
Value
típus
névtelen complexType
content
0 elem(ek), 1 attribútum(ok)
Meghatározott
helyileg a MemberOf elemben
név
SystemGroup
minOccurs
0
maxOccurs
Korlátos
XML-forrás
<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="SystemGroup" minOccurs="0" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>The system group to add the user to. The system group must be defined in the Groups section.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:attribute name="Name" type="xs:string" use="required">
<xs:annotation>
<xs:documentation>The name of the system group.</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
</xs:element>
<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="UniformInt64Partition">
<xs:annotation>
<xs:documentation>Describes a uniform partitioning scheme based on Int64 keys.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:attribute name="PartitionCount" type="xs:string" use="required">
<xs:annotation>
<xs:documentation>Total number of partitions (positive integer). Each partition is responsible for a non-overlapping subrange of the overall partition key range.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="LowKey" type="xs:string" use="required">
<xs:annotation>
<xs:documentation>Inclusive low range of the partition key (long).</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="HighKey" type="xs:string" use="required">
<xs:annotation>
<xs:documentation>Inclusive high range of the partition key (long).</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
</xs:element>
Attribútum részletei
PartitionCount
Partíciók teljes száma (pozitív egész szám). Minden partíció felelős a teljes partíciókulcs-tartomány nem átfedésben lévő alrangjáért.
Attribútum
Value
név
PartitionCount
típus
xs:sztring
Használja
kötelező
LowKey
A partíciókulcs alacsony tartománya (hosszú).
Attribútum
Value
név
LowKey
típus
xs:sztring
Használja
kötelező
HighKey
A partíciókulcs nagy tartománya (hosszú).
Attribútum
Value
név
HighKey
típus
xs:sztring
Használja
kötelező
UnmanagedDll elem
Nem támogatott, ne használja. A gazdagéphez tartozó nem felügyelt szerelvény (például Queue.dll) neve.
Biztonsági tagként deklarál egy felhasználót, amelyre a szabályzatok hivatkozhatnak.
Attribútum
Value
típus
névtelen complexType
content
2 elem( ek), 5 attribútum(ok)
Meghatározott
helyileg a Felhasználók elemben
név
Felhasználó
maxOccurs
Korlátos
XML-forrás
<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="User" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>Declares a user as a security principal, which can be referenced in policies.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="NTLMAuthenticationPolicy" minOccurs="0">
<xs:complexType>
<xs:attribute name="IsEnabled" type="xs:boolean" use="optional" default="true"/>
<xs:attribute name="PasswordSecret" type="xs:string" use="required"/>
<xs:attribute name="PasswordSecretEncrypted" type="xs:boolean" use="optional" default="false"/>
<xs:attribute name="X509StoreLocation" use="optional" default="LocalMachine">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:enumeration value="LocalMachine"/>
<xs:enumeration value="CurrentUser"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
<xs:attribute name="X509StoreName" default="My">
<xs:simpleType>
<xs:restriction base="xs:string"/>
</xs:simpleType>
</xs:attribute>
<xs:attribute name="X509Thumbprint" type="xs:string"/>
</xs:complexType>
</xs:element>
<xs:element name="MemberOf" minOccurs="0">
<xs:annotation>
<xs:documentation>Users can be added to any existing membership group, so it can inherit all the properties and security settings of that membership group. The membership group can be used to secure external resources that need to be accessed by different services or the same service (on a different machine).</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:choice maxOccurs="unbounded">
<xs:element name="SystemGroup" minOccurs="0" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>The system group to add the user to. The system group must be defined in the Groups section.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:attribute name="Name" type="xs:string" use="required">
<xs:annotation>
<xs:documentation>The name of the system group.</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
</xs:element>
<xs:element name="Group" minOccurs="0" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>The group to add the user to. The group must be defined in the Groups section.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:attribute name="NameRef" type="xs:string" use="required">
<xs:annotation>
<xs:documentation>The name of the group.</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
</xs:element>
</xs:choice>
</xs:complexType>
</xs:element>
</xs:sequence>
<xs:attribute name="Name" type="xs:string" use="required">
<xs:annotation>
<xs:documentation>Name of the user account.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="AccountType" use="optional" default="LocalUser">
<xs:annotation>
<xs:documentation>Specifies the type of account: 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>
Attribútum részletei
Név
A felhasználói fiók neve.
Attribútum
Value
név
Name
típus
xs:sztring
Használja
kötelező
AccountType
Megadja a fiók típusát: LocalUser, DomainUser, NetworkService, LocalService, ManagedServiceAccount vagy LocalSystem. Az alapértelmezett beállítás a LocalUser. A helyi felhasználói fiókok azon gépeken jönnek létre, amelyeken az alkalmazás telepítve van. Alapértelmezés szerint ezek a fiókok nem rendelkeznek az itt megadott névvel. Ehelyett dinamikusan jönnek létre, és véletlenszerű jelszavakat használnak. A helyi rendszerfiókok támogatott típusai a LocalUser, a NetworkService, a LocalService és a LocalSystem. A tartományi fiókok támogatottak olyan Windows Server-üzemelő példányokon, ahol elérhető a Microsoft Entra ID.
Attribútum
Value
név
AccountType
Használja
választható
alapértelmezett
LocalUser
LoadUserProfile
Attribútum
Value
név
LoadUserProfile
típus
xs:logikai
Használja
választható
alapértelmezett
false
PerformInteractiveLogon
Attribútum
Value
név
PerformInteractiveLogon
típus
xs:logikai
Használja
választható
alapértelmezett
false
PasswordEncrypted
Igaz, ha a jelszó titkosítva van; hamis, ha egyszerű szövegben.
Attribútum
Value
név
PasswordEncrypted
típus
xs:logikai
Használja
választható
Tartalomelem részletei
NTLMAuthenticationPolicy
Attribútum
Value
név
NTLMAuthenticationPolicy
minOccurs
0
MemberOf
A felhasználók bármely meglévő tagsági csoporthoz hozzáadhatók, így örökölhetik a tagsági csoport összes tulajdonságát és biztonsági beállításait. A tagsági csoport olyan külső erőforrások védelmére használható, amelyeket különböző szolgáltatásoknak vagy ugyanazon szolgáltatásnak (egy másik gépen) kell elérnie.
Attribútum
Value
név
MemberOf
minOccurs
0
UserRoleClientCertificate elem
Az ügyfélkiszolgálók kommunikációjának biztonságossá tételéhez használt alapértelmezett felhasználói szerepkör-ügyféltanúsítvány.
<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="UserRoleClientCertificate" type="FabricCertificateType" minOccurs="0">
<xs:annotation>
<xs:documentation>The default user role client certificate used to secure client server communication.</xs:documentation>
</xs:annotation>
</xs:element>
Felhasználók elem
Biztonsági tagokként deklarál egy felhasználócsoportot, amelyre a szabályzatok hivatkozhatnak.
Attribútum
Value
típus
névtelen complexType
content
1 elem( ek), 0 attribútum(ok)
Meghatározott
helyileg a SecurityPrincipalsType complexType-ban
név
Felhasználók
minOccurs
0
XML-forrás
<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="Users" minOccurs="0">
<xs:annotation>
<xs:documentation>Declares a set of users as security principals, which can be referenced in policies.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="User" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>Declares a user as a security principal, which can be referenced in policies.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="NTLMAuthenticationPolicy" minOccurs="0">
<xs:complexType>
<xs:attribute name="IsEnabled" type="xs:boolean" use="optional" default="true"/>
<xs:attribute name="PasswordSecret" type="xs:string" use="required"/>
<xs:attribute name="PasswordSecretEncrypted" type="xs:boolean" use="optional" default="false"/>
<xs:attribute name="X509StoreLocation" use="optional" default="LocalMachine">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:enumeration value="LocalMachine"/>
<xs:enumeration value="CurrentUser"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
<xs:attribute name="X509StoreName" default="My">
<xs:simpleType>
<xs:restriction base="xs:string"/>
</xs:simpleType>
</xs:attribute>
<xs:attribute name="X509Thumbprint" type="xs:string"/>
</xs:complexType>
</xs:element>
<xs:element name="MemberOf" minOccurs="0">
<xs:annotation>
<xs:documentation>Users can be added to any existing membership group, so it can inherit all the properties and security settings of that membership group. The membership group can be used to secure external resources that need to be accessed by different services or the same service (on a different machine).</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:choice maxOccurs="unbounded">
<xs:element name="SystemGroup" minOccurs="0" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>The system group to add the user to. The system group must be defined in the Groups section.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:attribute name="Name" type="xs:string" use="required">
<xs:annotation>
<xs:documentation>The name of the system group.</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
</xs:element>
<xs:element name="Group" minOccurs="0" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>The group to add the user to. The group must be defined in the Groups section.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:attribute name="NameRef" type="xs:string" use="required">
<xs:annotation>
<xs:documentation>The name of the group.</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
</xs:element>
</xs:choice>
</xs:complexType>
</xs:element>
</xs:sequence>
<xs:attribute name="Name" type="xs:string" use="required">
<xs:annotation>
<xs:documentation>Name of the user account.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="AccountType" use="optional" default="LocalUser">
<xs:annotation>
<xs:documentation>Specifies the type of account: 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>
Tartalomelem részletei
Felhasználó
Biztonsági tagként deklarál egy felhasználót, amelyre a szabályzatok hivatkozhatnak.
helyileg a ContainerHostPoliciesType complexType-ban
név
Volume
minOccurs
0
maxOccurs
Korlátos
XML-forrás
<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="Volume" type="ContainerVolumeType" minOccurs="0" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>Specifies the volume to be bound to container.</xs:documentation>
</xs:annotation>
</xs:element>
Hamarosan elérhető: 2024-ben fokozatosan kivezetjük a GitHub-problémákat a tartalom visszajelzési mechanizmusaként, és lecseréljük egy új visszajelzési rendszerre. További információ: https://aka.ms/ContentUserFeedback.
Visszajelzés küldése és megtekintése a következőhöz: