<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>
تفاصيل السمة
MinPartitionCount
الحد الأدنى لعدد الأقسام.
السمة
القيمة
الاسم
MinPartitionCount
النوع
xs:string
الاستخدام
مطلوب
MaxPartitionCount
الحد الأقصى للعدد الأقسام.
السمة
القيمة
الاسم
MaxPartitionCount
النوع
xs:string
الاستخدام
مطلوب
ScaleIncrement
عدد الأقسام التي يمكن من خلالها إجراء التعن لأعلى/لأسفل.
السمة
القيمة
الاسم
ScaleIncrement
النوع
xs:string
الاستخدام
مطلوب
عنصر التطبيق
معلومات خاصة بـApplication Instance مثل اسم التطبيق وقيم معلمات التطبيق المستخدمة لإنشاء التطبيق. تتجاوز قيم المعلمات في هذا الملف قيم المعلمات الافتراضية المحددة في Application Manifest.
<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>
<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 عنصر
يصف بشكل تصريحي نوع التطبيق وإصداره. تتم الإشارة إلى بيان خدمة واحد أو أكثر للخدمات التأسيسية لتكوين نوع تطبيق. يمكن تجاوز إعدادات التكوين الخاصة بالخدمات التأسيسية باستخدام إعدادات التطبيق ذات المعلمات. يمكن أيضاً الإعلان عن الخدمات الافتراضية وقوالب الخدمة والأساسيات والنُهج وإعداد التشخيصات والشهادات على مستوى التطبيق.
<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>
<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>
تفاصيل السمة
MetricName
اسم المقياس الذي يجب استخدامه لعمليات تغيير الحجم.
السمة
القيمة
الاسم
MetricName
النوع
xs:string
الاستخدام
مطلوب
LowerLoadThreshold
الحد الأدنى لقيمة تحميل المقياس.
السمة
القيمة
الاسم
LowerLoadThreshold
النوع
xs:string
الاستخدام
مطلوب
UpperLoadThreshold
الحد الأعلى لقيمة تحميل المقياس.
السمة
القيمة
الاسم
UpperLoadThreshold
النوع
xs:string
الاستخدام
مطلوب
ScaleIntervalInSeconds
الفاصل الزمني بالثواني الذي يجب مراعاته للتغيير حجم.
السمة
القيمة
الاسم
ScaleIntervalInSeconds
النوع
xs:string
الاستخدام
مطلوب
عنصر AverageServiceLoadScalingTrigger
تحديد آلية التجحيم بناءً على متوسط تحميل أقسام الخدمة.
<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>
تفاصيل السمة
MetricName
اسم المقياس الذي يجب استخدامه لعمليات تغيير الحجم.
السمة
القيمة
الاسم
MetricName
النوع
xs:string
الاستخدام
مطلوب
LowerLoadThreshold
الحد الأدنى لقيمة تحميل المقياس.
السمة
القيمة
الاسم
LowerLoadThreshold
النوع
xs:string
الاستخدام
مطلوب
UpperLoadThreshold
الحد الأعلى لقيمة تحميل المقياس.
السمة
القيمة
الاسم
UpperLoadThreshold
النوع
xs:string
الاستخدام
مطلوب
ScaleIntervalInSeconds
الفاصل الزمني بالثواني الذي يجب مراعاته للتغيير حجم.
السمة
القيمة
الاسم
ScaleIntervalInSeconds
النوع
xs:string
الاستخدام
مطلوب
UseOnlyPrimaryLoad
استخدم تحميل النسخة المتماثلة الأساسية كمتوسط تحميل للقسم.
السمة
القيمة
الاسم
UseOnlyPrimaryLoad
النوع
xs:string
الاستخدام
اختياري
عنصر AzureBlob (نوع AzureBlobETWType)
يصف وجهة تخزين كائنات Azure الثنائية كبيرة الحجم لأحداث ETW. تعمل فقط في بيئة Azure.
<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>
<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>
تفاصيل عنصر المحتوى
SecretsCertificate
يعلن عن شهادة تُستخدم لتشفير المعلومات الحساسة داخل بيان التطبيق. يستخدم مؤلف التطبيق أمر Invoke-ServiceFabricEncryptSecret لتشفير المعلومات الحساسة المنسوخة إلى Parameter في قسم ConfigOverrides.
<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
توضح حزمة تعليمات برمجية تدعم نوع خدمة محدد. عند إنشاء مثيل لخدمة ما مقابل أحد أنواع هذه الخدمات، يتم تنشيط جميع حزم التعليمات البرمجية المعلنة في هذا البيان من خلال تشغيل نقاط الدخول الخاصة بهم. من المتوقع أن تسجل العمليات الناتجة أنواع الخدمات المدعومة في وقت التشغيل. عندما تكون هناك حزم تعليمات برمجية متعددة، تُنشّط جميعا كلما بحث النظام عن أي نوع من أنواع الخدمة المعلنة.
<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
يصف تجاوزات التكوين لحزمة تكوين معينة في بيان الخدمة المستوردة.
يصف تجاوزات التكوين لبيان الخدمة المستوردة. تسمح عمليات تجاوز التكوين مرونة إعادة استخدام بيانات الخدمة نفسها عبر أنواع تطبيقات متعددة عن طريق تجاوز تكوين بيان الخدمة فقط عند استخدامه مع نوع تطبيق معين. يمكن أن تؤدي تجاوزات التكوين إلى تغيير أي تكوين افتراضي في بيان خدمة ما دام تم تعريف التكوين الافتراضي باستخدام Settings.xml في مجلد ConfigPackage.
السمة
القيمة
النوع
anonymous complexType
المحتوى
1 عنصر، 0 سمة
defined
محلياً في عنصر ServiceManifestImport
الاسم
ConfigOverrides
minOccurs
0
مصدر XML
<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>
عنصر ConfigPackage (نوع ConfigPackageDescriptionType)
يعلن عن مجلد، يسمى بسمة الاسم، يحتوي على ملف Settings.xml. يحتوي هذا الملف على أقسام من إعدادات زوج قيم المفاتيح المعرفة من قِبل المستخدم التي يمكن للعملية قراءتها مرة أخرى في وقت التشغيل. أثناء الترقية، إذا تغير إصدار ConfigPackage فقط، فلن تتم إعادة تشغيل العملية قيد التشغيل. بدلاً من ذلك، يُعلم رد الاتصال العملية بأن إعدادات التكوين قد تغيرت حتى يمكن إعادة تحميلها ديناميكياً.
يعلن عن مجلد، يسمى بسمة الاسم، وPackageRoot الذي يحتوي على ملف Settings.xml. يحتوي هذا الملف على أقسام من إعدادات زوج قيم المفاتيح المعرفة من قِبل المستخدم التي يمكن للعملية قراءتها مرة أخرى في وقت التشغيل. أثناء الترقية، إذا تغير إصدار ConfigPackage فقط، فلن تتم إعادة تشغيل العملية قيد التشغيل. بدلاً من ذلك، يُعلم رد الاتصال العملية بأن إعدادات التكوين قد تغيرت حتى يمكن إعادة تحميلها ديناميكياً.
<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 element
تحذير! لا تستخدم إعادة توجيه وحدة التحكم في تطبيق إنتاج، بل استخدمها فقط للتطوير المحلي وتصحيح الأخطاء. يُعيد توجيه إخراج وحدة التحكم من البرنامج النصي لبدء التشغيل إلى ملف الإخراج في مجلد التطبيق المسمى "log" على عقدة نظام المجموعة حيث يتم توزيع التطبيق وتشغيله.
<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>
تفاصيل السمة
FileRetentionCount
يضبط عدد ملفات إخراج إعادة توجيه وحدة التحكم المطلوب الاحتفاظ بها. يجب أن يكون عدداً صحيحاً موجباً، والقيمة الافتراضية هي "2".
السمة
القيمة
الاسم
FileRetentionCount
افتراضي
2
FileMaxSizeInKb
يعين الحجم الأقصى لملف إخراج إعادة توجيه وحدة التحكم. يجب أن يكون عدداً صحيحاً موجباً أكبر من 128 كيلو بايت، والقيمة الافتراضية هي "20480".
السمة
القيمة
الاسم
FileMaxSizeInKb
افتراضي
20480
عنصر ContainerEntryPoint
تم تجاوز نقطة الدخول للحاويات حتى يمكن تشغيل مصحح الأخطاء.
<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
يحدد مجموعة تفريغ الأعطال. يتم تجميع مستودعات معلومات الأعطال للملفات التنفيذية التي تستضيف حزم التعليمات البرمجية لجميع الخدمات التي تنتمي إلى التطبيق.
<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>
تفاصيل السمة
IsEnabled
ما إذا كان قد تم تمكين تجميع تفريغ الأعطال أم لا. بشكل افتراضي، لم يتم تمكينه.
يعلن عن مجلد، يسمى بسمة الاسم، ضمن PackageRoot الذي يحتوي على ملفات بيانات ثابتة ليتم استهلاكها بواسطة العملية في وقت التشغيل. ستقوم Service Fabric بإعادة تدوير جميع EXEs وDLLHOSTs المحددة في المضيف وحزم الدعم عند ترقية أي من حزم البيانات المدرجة في بيان الخدمة.
<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>
تفاصيل السمة
UserRef
حساب المستخدم الذي سيتم تشغيل حزم التعليمات البرمجية للخدمة به. يجب الإعلان عن حساب المستخدم في قسم «الأساسيات». غالبًا ما يُفضل تشغيل نقطة إدخال الإعداد باستخدام حساب نظام محلي بدلًا من حساب المسؤولين.
السمة
القيمة
الاسم
UserRef
النوع
xs:string
الاستخدام
مطلوب
عنصر DefaultServiceTypeHealthPolicy
تحدد النهج الصحي لنوع الخدمة الافتراضية، الذي سيحل محل نهج الصحة الافتراضي لجميع أنواع الخدمات في التطبيق.
<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
يعلن عن مثيلات الخدمة التي يتم إنشاؤها تلقائياً كلما تم إنشاء مثيل لتطبيق مقابل هذا النوع من التطبيقات.
غير مدعوم، لا تستخدمه. يتم توفير دعم استضافة DLL (نقطة دخول التجميع) من خلال عملية FWP.exe. Service Fabric يبدأ عملية Fabric Worker Process (FWP.exe)، ويقوم بتحميل التجميع كجزء من عملية التنشيط.
<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>
تفاصيل عنصر المحتوى
ProviderGuids
يسرد GUIDs لموفر ETW لمكونات هذا البيان للخدمة.
السمة
القيمة
الاسم
ProviderGuids
minOccurs
0
ManifestDataPackages
يسرد حزم البيانات التي تحتوي على بيانات ETW لمكونات هذا البيان للخدمة. يجب ألا تحتوي حزمة البيانات التي تحتوي على قوائم ETW على أي ملفات أخرى.
السمة
القيمة
الاسم
ManifestDataPackages
minOccurs
0
عنصر ETWSource
يحدد مجموعة تتبع ETW. يتم جمع آثار ETW لموفري الخدمات المسجلين من قِبل جميع الخدمات التابعة للتطبيق.
<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>
تفاصيل السمة
IsEnabled
ما إذا كان قد تم تمكين مجموعة تتبع ETW أم لا. بشكل افتراضي، لم يتم تمكينه.
<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="Endpoint" type="EndpointOverrideType" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>The endpoint, declared in the service manifest, to override.</xs:documentation>
</xs:annotation>
</xs:element>
عنصر Endpoint (نوع EndpointType)
يحدد نقطة نهاية للخدمة. يمكن طلب منافذ محددة. إذا لم يتم تحديد منفذ بشكل صريح، يتم تعيين منفذ من نطاق منفذ التطبيق المحجوز. يمكن تعيين أرقام منافذ مختلفة للنسخ المتماثلة للخدمة التي تعمل على عقد نظام مجموعة مختلفة، بينما تشترك النسخ المتماثلة للخدمة نفسها التي تعمل على العقدة نفسها في المنفذ نفسه. يمكن استخدام هذه المنافذ بواسطة النسخ المتماثلة للخدمة لأغراض مختلفة، مثل النسخ المتماثل أو الاستماع لطلبات العميل.
<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
يحدد الشهادة التي يجب إرجاعها إلى العميل لنقطة نهاية HTTPS.
<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
يحدد معلومات حول شهادة X509 المستخدمة لتأمين نقطة نهاية.
عادة ما يكون الملف التنفيذي المُحدد بواسطة EntryPoint هو مضيف خدمة التشغيل لفترة طويلة. يؤدي وجود نقطة إدخال إعداد منفصلة إلى تجنب الاضطرار إلى تشغيل مضيف الخدمة بامتيازات عالية لفترات طويلة من الزمن. يتم تشغيل الملف التنفيذي المحدد من قِبل EntryPoint بعد إنهاء SetupEntryPoint بنجاح. تتم مراقبة العملية الناتجة وإعادة تشغيلها (تبدأ مرة أخرى بـ SetupEntryPoint) إذا تم إنهاؤها أو تعطلت.
يعلن عن إعدادات التكوين في بيان الخدمة ليتم تجاوزها. يتكون من قسم واحد أو أكثر من أزواج قيم المفاتيح. يمكن تشفير قيم المعلمات باستخدام cmdlet المسمى Invoke-ServiceFabricEncryptSecret.
<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>
تفاصيل السمة
IsEnabled
ما إذا كان قد تم تمكين مجموعة محتويات هذا المجلد أم لا. بشكل افتراضي، لم يتم تمكينه.
يعلن عن مجموعة كأساس أمان، والتي يمكن الرجوع إليها في السياسات.
السمة
القيمة
النوع
anonymous complexType
المحتوى
2 عنصر، 1 سمة
defined
محلياً في عنصر Groups
الاسم
Group (المجموعة)
maxOccurs
غير مقيد
مصدر XML
<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>
تفاصيل السمة
الاسم
اسم حساب المجموعة المحلية. سيبدأ الاسم بمعرف التطبيق.
السمة
القيمة
الاسم
Name
النوع
xs:string
الاستخدام
مطلوب
تفاصيل عنصر المحتوى
NTLMAuthenticationPolicy
السمة
القيمة
الاسم
NTLMAuthenticationPolicy
minOccurs
0
العضوية
السمة
القيمة
الاسم
العضوية
minOccurs
0
عنصر Group (محدد في MemberOf)
المجموعة المراد إضافة المستخدم إليها. يجب تعريف المجموعة في قسم المجموعات.
السمة
القيمة
النوع
anonymous complexType
المحتوى
0 عنصر، 1 سمة
defined
محلياً في عنصر MemberOf
الاسم
Group (المجموعة)
minOccurs
0
maxOccurs
غير مقيد
مصدر XML
<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>
تفاصيل السمة
NameRef
اسم المجموعة.
السمة
القيمة
الاسم
NameRef
النوع
xs:string
الاستخدام
مطلوب
عنصر Groups
يعلن عن مجموعة من المجموعات كأساسيات الأمان، والتي يمكن الرجوع إليها في النُهج. المجموعات مفيدة إذا كان هناك عدة مستخدمين لنقاط إدخال خدمة مختلفة ويحتاجون إلى الحصول على امتيازات مشتركة معينة متوفرة على مستوى المجموعة.
<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>
تفاصيل عنصر المحتوى
Group (المجموعة)
يعلن عن مجموعة كأساس أمان، والتي يمكن الرجوع إليها في السياسات.
<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
يصف نهج تقييم الأحداث الصحية المبلغ عنها في مختلف الكيانات ذات الصلة بالتطبيق. إذا لم يتم تحديد نهج، فمن المفترض أن يكون الكيان غير صحي إذا كان التقرير الصحي عبارة عن تحذير أو خطأ.
سيتم تشغيل صورة الحاوية المقابلة لرقم إصدار بنية نظام التشغيل. إذا لم يتم تحديد سمة نظام التشغيل، فمن المفترض أن تعمل صورة الحاوية عبر جميع إصدارات نظام التشغيل وتتجاوز الصورة المحددة في بيان الخدمة.
<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>
<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
يحدد آلية لزيادة عدد مثيلات القسم. هذا للخدمات عديمة الجنسية فقط.
<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>
تفاصيل السمة
MinInstanceCount
الحد الأدنى لعدد المثيلات.
السمة
القيمة
الاسم
MinInstanceCount
النوع
xs:string
الاستخدام
مطلوب
MaxInstanceCount
الحد الأقصى لعدد المثيلات..
السمة
القيمة
الاسم
MaxInstanceCount
النوع
xs:string
الاستخدام
مطلوب
ScaleIncrement
عدد المثيلات التي يتم بواسطتها إجراء التغيير لأعلى/لأسفل.
السمة
القيمة
الاسم
ScaleIncrement
النوع
xs:string
الاستخدام
مطلوب
عنصر KtlLoggerSettings
وصف معلومات KtlLogger المرتبطة بهذا النوع من العقد
<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>
مورد يجب موازنة هذه الخدمة عليه، مثل استخدام الذاكرة أو وحدة المعالجة المركزية (CPU). يتضمن معلومات حول المقدار الذي تستهلكه كل نسخة مماثلة أو مثيل لهذه الخدمة من هذا المورد افتراضيًا.
يعلن عن مجلد، يسمى بسمة الاسم، ضمن PackageRoot الذي يحتوي على ملفات بيانات ثابتة ليتم استهلاكها بواسطة العملية في وقت التشغيل. ستقوم Service Fabric بإعادة تدوير جميع EXEs وDLLHOSTs المحددة في المضيف وحزم الدعم عند ترقية أي من حزم البيانات المدرجة في بيان الخدمة.
يسرد حزم البيانات التي تحتوي على بيانات ETW لمكونات هذا البيان للخدمة. يجب ألا تحتوي حزمة البيانات التي تحتوي على قوائم ETW على أي ملفات أخرى.
السمة
القيمة
النوع
anonymous complexType
المحتوى
1 عنصر، 0 سمة
defined
محلياً في عنصر ETW
الاسم
ManifestDataPackages
minOccurs
0
مصدر XML
<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>
يمكن إضافة المستخدمين إلى أي مجموعة عضوية موجودة، بحيث يمكنها أن تستورد جميع الخصائص وإعدادات الأمان لمجموعة العضوية هذه. يمكن استخدام مجموعة العضوية لتأمين الموارد الخارجية التي يجب الوصول إليها بواسطة خدمات مختلفة أو الخدمة نفسها (على جهاز مختلف).
السمة
القيمة
النوع
anonymous complexType
المحتوى
2 عنصر، 0 سمة
defined
محلياً في عنصر User
الاسم
MemberOf
minOccurs
0
مصدر XML
<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>
تفاصيل عنصر المحتوى
SystemGroup
مجموعة النظام لإضافة المستخدم إليها. يجب تحديد مجموعة النظام في قسم المجموعات.
السمة
القيمة
الاسم
SystemGroup
minOccurs
0
maxOccurs
غير مقيد
Group (المجموعة)
المجموعة المراد إضافة المستخدم إليها. يجب تعريف المجموعة في قسم المجموعات.
<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>
معلمة تطبيق لاستخدامها في هذا البيان. يمكن تغيير قيمة المعلمة أثناء إنشاء مثيل التطبيق، أو إذا لم تتوفر أي قيمة، تُستخدم القيمة الافتراضية.
السمة
القيمة
النوع
anonymous complexType
المحتوى
0 عنصر، 2 سمة
defined
محلياً في عنصر Parameters
الاسم
المعلمة
حجز
minOccurs
0
maxOccurs
غير مقيد
مصدر XML
<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>
تفاصيل السمة
الاسم
اسم المعلمة التي سيتم استخدامها في البيان باسم "[الاسم]".
السمة
القيمة
الاسم
الاسم
الاستخدام
مطلوب
DefaultValue
القيمة الافتراضية للمعلمة، تُستخدم إذا لم يتم توفير قيمة المعلمة أثناء إنشاء مثيل للتطبيق.
<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>
تفاصيل السمة
IsEncrypted
إذا كان هذا صحيحاً، يتم تشفير قيمة هذه المعلمة. مطور التطبيق مسؤول عن إنشاء شهادة واستخدام الأمر Invoke-ServiceFabricEncryptSecret لتشفير المعلومات الحساسة. يتم تحديد معلومات الشهادة التي سيتم استخدامها لتشفير القيمة في قسم الشهادات. هذه السمة مهملة. الرجاء استخدام سمة Type.
السمة
القيمة
الاسم
IsEncrypted
النوع
xs:boolean
افتراضي
true
نوع
تحدد هذه القيمة نوع القيمة التي حددتها في سمة 'Value'. يمكن أن يكون SecretsStoreRef/Encrypted/PlainText.
إذا تم التعيين على SecretsStoreRef، فإننا نسترد القيمة المرجعية من SecretStore.
إذا تم التعيين على «مشفرة»، يكون مطور التطبيق مسؤولاً عن إنشاء شهادة واستخدام الأمر cmdlet المسمى «Invoke-ServiceFabricEncryptSecret» لتشفير المعلومات الحساسة.
السمة
القيمة
الاسم
نوع
النوع
xs:string
الاستخدام
اختياري
عنصر Parameter (المحدد في Section)
السمة
القيمة
النوع
anonymous complexType
المحتوى
0 عنصر، 5 سمات
defined
محلياً في عنصر Section
الاسم
المعلمة
minOccurs
0
maxOccurs
غير مقيد
مصدر XML
<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>
تفاصيل السمة
الاسم
السمة
القيمة
الاسم
Name
النوع
xs:string
الاستخدام
مطلوب
القيمة
السمة
القيمة
الاسم
القيمة
النوع
xs:string
الاستخدام
مطلوب
MustOverride
إذا كان هذا صحيحاً، يجب تجاوز قيمة هذه المعلمة من خلال تكوين ذي مستوى أعلى.
السمة
القيمة
الاسم
MustOverride
النوع
xs:boolean
افتراضي
true
IsEncrypted
إذا كان هذا صحيحاً، يتم تشفير قيمة هذه المعلمة.
السمة
القيمة
الاسم
IsEncrypted
النوع
xs:boolean
افتراضي
true
نوع
السمة
القيمة
الاسم
نوع
النوع
xs:string
الاستخدام
اختياري
عنصر Parameters (نوع ParametersType)
تم تحديد الإعدادات الإضافية كأزواج من الاسم والقيمة
<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>
تفاصيل عنصر المحتوى
المعلمة
السمة
القيمة
الاسم
المعلمة
minOccurs
0
maxOccurs
غير مقيد
عنصر Parameters (معرف في ApplicationManifestType)
يعلن عن المعلمات المستخدمة في هذا البيان للتطبيق. يمكن توفير قيمة هذه المعلمات عند إنشاء مثيل للتطبيق ويمكن استخدامها لمنع إعدادات تكوين التطبيق أو الخدمة.
<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>
تفاصيل عنصر المحتوى
المعلمة
معلمة تطبيق لاستخدامها في هذا البيان. يمكن تغيير قيمة المعلمة أثناء إنشاء مثيل التطبيق، أو إذا لم تتوفر أي قيمة، تُستخدم القيمة الافتراضية.
السمة
القيمة
الاسم
المعلمة
حجز
minOccurs
0
maxOccurs
غير مقيد
عنصر Partition
يصف القسم بالاسم.
السمة
القيمة
النوع
anonymous complexType
المحتوى
0 عنصر، 1 سمة
defined
محلياً في عنصر NamedPartition
الاسم
القسم
مصدر XML
<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>
تستخدم للتحكم في العقد في نظام مجموعة الذي يمكن تشغيل الخدمة عليه. زوج مفتاح/قيمة يصف اسم خاصية العقدة ومتطلبات الخدمة للقيمة. يمكن تجميع العبارات الفردية مع منطق شرطي بسيط لإنشاء القيد الضروري. على سبيل المثال، "(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
يصف خصائص NodeType التي سيتم استخدامها كقيود على الموضع
السمة
القيمة
النوع
anonymous complexType
المحتوى
1 عنصر، 0 سمة
defined
محلياً في عنصر NodeType
الاسم
PlacementProperties
minOccurs
0
مصدر XML
<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="Program" type="xs:string">
<xs:annotation>
<xs:documentation>The executable name. For example, "MySetup.bat" or "MyServiceHost.exe".</xs:documentation>
</xs:annotation></xs:element>
يصف الموارد التي تستخدمها هذه الخدمة، الذي يمكن الإعلان عنه دون تعديل التعليمات البرمجية المترجمة وتغييرها عند نشر الخدمة. يتحكم في الوصول إلى هذه الموارد من خلال أقسام الأساسيات والنُهج في بيان التطبيق.
يحدد المستخدم المحلي أو حساب النظام المحلي الذي سيتم تشغيل حزمة تعليمة الخدمة البرمجية بها. يتم دعم حسابات المجال على عمليات نشر Windows Server حيث يتوفر معرف Microsoft Entra. بشكل افتراضي، يتم تشغيل التطبيقات ضمن الحساب الذي تعمل تحته عملية Fabric.exe. يمكن أيضًا تشغيل التطبيقات كحسابات أخرى، والتي يجب الإعلان عنها في قسم «الأساسيات». إذا قمت بتطبيق نهج RunAs على إحدى الخدمات، وكان بيان الخدمة يعلن عن موارد نقطة النهاية باستخدام بروتوكول HTTP، يجب عليك أيضًا تحديد SecurityAccessPolicy للتأكد من أن المنافذ المخصصة لهذه النقاط مدرجة بشكل صحيح في التحكم بالوصول لحساب مستخدم RunAs الذي تعمل الخدمة ضمنه. بالنسبة لنقطة نهاية HTTPS، يجب عليك أيضًا تحديد EndpointBindingPolicy للإشارة إلى اسم الشهادة للعودة إلى العميل.
<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>
يمنح أذونات الوصول إلى كيان في مورد (مثل نقطة نهاية) مُحدد في بيان الخدمة. عادةً ما يكون من المفيد للغاية التحكم في الوصول إلى الخدمات وتقييده إلى الموارد المختلفة لتقليل المخاطر الأمنية. هذا مهم بشكل خاص عندما يتم إنشاء التطبيق من مجموعة من الخدمات من متجر marketplace تم تطويرها بواسطة مطورين مختلفين.
<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="ServerCertificate" type="FabricCertificateType" minOccurs="0">
<xs:annotation>
<xs:documentation>The certificate used to secure the intra cluster communication.</xs:documentation>
</xs:annotation>
</xs:element>
عنصر Service
يعلن عن خدمة منشأة تلقائيًا عند إنشاء مثيل للتطبيق.
<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>
تفاصيل السمة
الاسم
اسم الخدمة، المستخدم لتشكيل اسم التطبيق المؤهل بالكامل URI. سيكون الاسم المؤهل URI للخدمة هو: fabric:/ApplicationName/ServiceName.
السمة
القيمة
الاسم
Name
النوع
xs:string
الاستخدام
مطلوب
GeneratedIdRef
مرجع إلى المعرف المنشأ تلقائياً والذي تستخدمه أدوات Visual Studio.
السمة
القيمة
الاسم
GeneratedIdRef
النوع
xs:string
الاستخدام
اختياري
ServiceDnsName
اسم DNS الخاص بالخدمة.
السمة
القيمة
الاسم
ServiceDnsName
النوع
xs:string
الاستخدام
اختياري
ServicePackageActivationMode
ServicePackageActivationMode لاستخدامه عند إنشاء الخدمة. القيم المسموح بها هي 'SharedProcess' و'ExclusiveProcess'. باستخدام وضع SharedProcess، ستشترك النسخة (النسخ) المتماثلة أو المثيل (المثيلات) من قسم (أقسام) مختلف من الخدمة في تنشيط حزمة الخدمة نفسها على العقدة. باستخدام وضع ExclusiveProcess، سيكون لكل نسخة متماثلة أو مثيل خدمة تنشيط مخصص لحزمة الخدمة.
يحدد علاقة تقارب مع خدمة أخرى. مفيد عند تقسيم تطبيق متآلف سابقاً إلى خدمات مصغرة. خدمة واحدة لها تبعية محلية على خدمة أخرى وكلتا الخدمتين بحاجة للتشغيل على العقد نفسها لكي تعمل.
السمة
القيمة
النوع
anonymous complexType
المحتوى
0 عنصر، 2 سمة
defined
محلياً في عنصر ServiceCorrelations
الاسم
ServiceCorrelation
maxOccurs
غير مقيد
مصدر XML
<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>
تفاصيل السمة
ServiceName
اسم الخدمة الأخرى كـ URI. مثال، "fabric:/otherApplication/parentService".
السمة
القيمة
الاسم
ServiceName
الاستخدام
مطلوب
المخطط
في NonAlignedAffinity، تُوضع النسخ المتماثلة أو مثيلات الخدمات المختلفة على العقد نفسها. يتم استخدام AlignedAffinity مع الخدمات ذات الحالة. إن تكوين خدمة ذات حالة واحدة على أنها ذات تقارب متناسق مع خدمة أخرى ذات حالة معينة يضمن وضع الأساسيات لهذه الخدمات على العقد نفسها مثل بعضها، وأن كل زوج من الخدمات الثانوية يتم وضعه أيضاً على العقد نفسها.
<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>
تفاصيل عنصر المحتوى
ServiceCorrelation
يحدد علاقة تقارب مع خدمة أخرى. مفيد عند تقسيم تطبيق متآلف سابقاً إلى خدمات مصغرة. خدمة واحدة لها تبعية محلية على خدمة أخرى وكلتا الخدمتين بحاجة للتشغيل على العقد نفسها لكي تعمل.
السمة
القيمة
الاسم
ServiceCorrelation
maxOccurs
غير مقيد
عنصر ServiceFabricRuntimeAccessPolicy
يحدد النهج التي تحدد كيفية عرض وقت تشغيل Service Fabric للنسخ المتماثلة.
<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
مجموعة من الخدمات التي يتم تحديد موقعها معاً تلقائياً، بحيث يتم أيضاً نقلها معاً أثناء تجاوز الفشل أو إدارة الموارد.
<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>
تفاصيل السمة
الاسم
اسم هذه الخدمة نسبة إلى URI اسم هذا التطبيق. الاسم المؤهل بالكامل للخدمة هو مزيج من Name Uri للتطبيق وهذا الاسم.
السمة
القيمة
الاسم
Name
النوع
xs:string
الاستخدام
مطلوب
ServicePackageActivationMode
ServicePackageActivationMode لاستخدامه عند إنشاء الخدمة. القيم المسموح بها هي 'SharedProcess' و'ExclusiveProcess'. باستخدام وضع SharedProcess، ستشترك النسخة (النسخ) المتماثلة أو المثيل (المثيلات) من قسم (أقسام) مختلف من الخدمة في تنشيط حزمة الخدمة نفسها على العقدة. باستخدام وضع ExclusiveProcess، سيكون لكل نسخة متماثلة أو مثيل خدمة تنشيط مخصص لحزمة الخدمة.
<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>
تفاصيل عنصر المحتوى
بلا
السمة
القيمة
مرجع
ServiceGroupTypeMember
minOccurs
1
maxOccurs
غير مقيد
عنصر ServiceGroupTypeMember
يصف نوع عضو مجموعة الخدمة.
السمة
القيمة
النوع
anonymous complexType
المحتوى
1 عنصر، 1 سمة
defined
عموميًا
الاسم
ServiceGroupTypeMember
مصدر XML
<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>
تفاصيل السمة
ServiceTypeName
معرف النوع المعرف من المستخدم لـMicrosoft Azure Service Fabric ServiceGroup Member، على سبيل المثال Actor
السمة
القيمة
الاسم
ServiceTypeName
الاستخدام
مطلوب
تفاصيل عنصر المحتوى
LoadMetrics
مقاييس التحميل التي تم الإبلاغ عنها بواسطة هذه الخدمة، والمستخدمة لخدمات موازنة الموارد.
السمة
القيمة
الاسم
LoadMetrics
minOccurs
0
عنصر ServiceManifest
يصف بشكل تصريحي نوع الخدمة وإصدارها. يسرد التعليمة البرمجية والتكوين وحزم البيانات القابلة للترقية بشكل مستقل، والتي تؤلف معاً حزمة خدمة لدعم نوع خدمة واحد أو أكثر. تُحدد أيضاً الموارد وإعدادات التشخيص وبيانات تعريف الخدمة، مثل نوع الخدمة وخصائص الحماية ومقاييس موازنة التحميل.
يستورد بيان خدمة تم إنشاؤه بواسطة مطور الخدمة. يجب استيراد بيان الخدمة لكل خدمة مكونة في التطبيق. يمكن الإعلان عن منع التكوين والنُهج الخاصة ببيان الخدمة.
<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>
يصف تجاوزات التكوين لبيان الخدمة المستوردة. تسمح عمليات تجاوز التكوين مرونة إعادة استخدام بيانات الخدمة نفسها عبر أنواع تطبيقات متعددة عن طريق تجاوز تكوين بيان الخدمة فقط عند استخدامه مع نوع تطبيق معين. يمكن أن تؤدي تجاوزات التكوين إلى تغيير أي تكوين افتراضي في بيان خدمة ما دام تم تعريف التكوين الافتراضي باستخدام Settings.xml في مجلد ConfigPackage.
<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 (محدد في ServiceTypeType)
يعلن عن سياسات المواضع لخدمة ما. يكون مفيدًا عندما يمتد نظام المجموعة على مسافات جغرافية و/أو مناطق جغرافية سياسية.
<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>
تفاصيل عنصر المحتوى
ServicePlacementPolicy
يعرّف سياسة وضع الخدمة، التي تحدد أن الخدمة يجب أو لا يجب أن تعمل في مجالات معينة لأعطال الكتلة. يكون مفيدًا عندما يمتد نظام المجموعة على مسافات جغرافية و/أو مناطق جغرافية سياسية.
السمة
القيمة
الاسم
ServicePlacementPolicy
maxOccurs
غير مقيد
عنصر ServicePlacementPolicies (محدد في ServiceType)
يعلن عن سياسات المواضع لخدمة ما. يكون مفيدًا عندما يمتد نظام المجموعة على مسافات جغرافية و/أو مناطق جغرافية سياسية.
<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>
تفاصيل عنصر المحتوى
ServicePlacementPolicy
يعرّف سياسة وضع الخدمة، التي تحدد أن الخدمة يجب أو لا يجب أن تعمل في مجالات معينة لأعطال الكتلة. يكون مفيدًا عندما يمتد نظام المجموعة على مسافات جغرافية و/أو مناطق جغرافية سياسية.
السمة
القيمة
الاسم
ServicePlacementPolicy
maxOccurs
غير مقيد
عنصر ServicePlacementPolicy المحدد في ServicePlacementPolicies
يعرّف سياسة وضع الخدمة، التي تحدد أن الخدمة يجب أو لا يجب أن تعمل في مجالات معينة لأعطال الكتلة. يكون مفيدًا عندما يمتد نظام المجموعة على مسافات جغرافية و/أو مناطق جغرافية سياسية.
السمة
القيمة
النوع
anonymous complexType
المحتوى
0 عنصر، 2 سمة
defined
محلياً في عنصر ServicePlacementPolicies
الاسم
ServicePlacementPolicy
maxOccurs
غير مقيد
مصدر XML
<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>
تفاصيل السمة
DomainName
مجال الخطأ حيث يجب أو لا يجب وضع الخدمة، اعتماداً على قيمة Type.
السمة
القيمة
الاسم
DomainName
نوع
يسمح لك InvalidDomain بتحديد أن مجال خطأ معين غير صالح لهذا الحمل من العمل. يتطلب RequiredDomain أن تكون جميع النسخ المتماثلة موجودة في المجال المحدد. يمكن تحديد المجالات المطلوبة المتعددة. يحدد PreferredPrimaryDomain مجال الخطأ المفضل للنسخ المتماثلة الأساسية. مفيد في المجموعات الممتدة جغرافياً حيث تستخدم مواقع أخرى للتكرار، ولكنك تفضل وضع النسخ المتماثلة الأساسية في موقع معين من أجل توفير زمن انتقال أقل للعمليات التي تنتقل إلى الأساسي. تحدد RequiredDomainDistribution أن النسخ المتماثلة مطلوبة لتوزيعها بين مجالات الخطأ المتاحة. عناصر تحكم NonPartiallyPlace في حالة وضع النسخ المتماثلة للخدمة جزئياً إذا لم يكن من الممكن وضعها جميعاً.
السمة
القيمة
الاسم
النوع
الاستخدام
مطلوب
عنصر ServicePlacementPolicy (المحدد في ServicePlacementPolicies)
يعرّف سياسة وضع الخدمة، التي تحدد أن الخدمة يجب أو لا يجب أن تعمل في مجالات معينة لأعطال الكتلة. يكون مفيدًا عندما يمتد نظام المجموعة على مسافات جغرافية و/أو مناطق جغرافية سياسية.
السمة
القيمة
النوع
anonymous complexType
المحتوى
0 عنصر، 2 سمة
defined
محلياً في عنصر ServicePlacementPolicies
الاسم
ServicePlacementPolicy
maxOccurs
غير مقيد
مصدر XML
<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>
تفاصيل السمة
DomainName
مجال الخطأ حيث يجب أو لا يجب وضع الخدمة، اعتماداً على قيمة Type.
السمة
القيمة
الاسم
DomainName
نوع
يسمح لك InvalidDomain بتحديد أن مجال خطأ معين غير صالح لهذا الحمل من العمل. يتطلب RequiredDomain أن تكون جميع النسخ المتماثلة موجودة في المجال المحدد. يمكن تحديد المجالات المطلوبة المتعددة. يحدد PreferredPrimaryDomain مجال الخطأ المفضل للنسخ المتماثلة الأساسية. مفيد في المجموعات الممتدة جغرافياً حيث تستخدم مواقع أخرى للتكرار، ولكنك تفضل وضع النسخ المتماثلة الأساسية في موقع معين من أجل توفير زمن انتقال أقل للعمليات التي تنتقل إلى الأساسي. تحدد RequiredDomainDistribution أن النسخ المتماثلة مطلوبة لتوزيعها بين مجالات الخطأ المتاحة. عناصر تحكم NonPartiallyPlace في حالة وضع النسخ المتماثلة للخدمة جزئياً إذا لم يكن من الممكن وضعها جميعاً.
السمة
القيمة
الاسم
النوع
الاستخدام
مطلوب
عنصر ServiceScalingPolicies
يعلن عن سياسات تغيير الحجم لخدمة ما. يكون مفيدًا لتوسيع نطاق الخدمة ديناميكيًا بناءً على الاحتياجات.
<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>
تعلن مجموعة أنواع الخدمات المسموح بها التي يمكن إنشاؤها ديناميكياً داخل طبعة التطبيق. يتم تحديد قيم التكوين الافتراضية، مثل عامل النسخ المتماثل، واستخدامها كقالب لإنشاء مثيلات الخدمة.
<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
توضح هذه المقالة النهج الخاص بتقييم الأحداث الصحية التي تم الإبلاغ عنها على الخدمات والأقسام والنسخ المتماثلة لنوع خدمة معين.
<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>
عنصر ServiceTypes (نوع ServiceAndServiceGroupTypesType)
يحدد أنواع الخدمات التي يدعمها CodePackage في هذا البيان. عند إنشاء مثيل لخدمة ما مقابل أحد أنواع هذه الخدمات، يتم تنشيط جميع حزم التعليمات البرمجية المعلنة في هذا البيان من خلال تشغيل نقاط الدخول الخاصة بهم. يتم التصريح عن أنواع الخدمة على مستوى البيان وليس على مستوى حزمة التعليمات البرمجية.
<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>
يعلن عن إعدادات التكوين في بيان الخدمة ليتم تجاوزها. يتكون من قسم واحد أو أكثر من أزواج قيم المفاتيح. يمكن تشفير قيم المعلمات باستخدام cmdlet المسمى Invoke-ServiceFabricEncryptSecret.
يقوم بتعريف الإعدادات القابلة للتكوين لحزم التعليمات البرمجية لإحدى الخدمات. لا يفسر Microsoft Azure Service Fabric الإعدادات، ولكنه يجعلها متاحة عبر Runtime APIs لاستخدامها بواسطة مكونات التعليمات البرمجية.
<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
نقطة إدخال مميزة يتم تشغيلها افتراضيًا بنفس بيانات الاعتماد، مثل Service Fabric (عادةً حساب NETWORKSERVICE) قبل أي نقطة إدخال أخرى. عادة ما يكون الملف التنفيذي المُحدد بواسطة EntryPoint هو مضيف خدمة التشغيل لفترة طويلة. يؤدي وجود نقطة إدخال إعداد منفصلة إلى تجنب الاضطرار إلى تشغيل مضيف الخدمة بامتيازات عالية لفترات طويلة من الزمن.
<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>
مجموعة النظام لإضافة المستخدم إليها. يجب تحديد مجموعة النظام في قسم المجموعات.
السمة
القيمة
النوع
anonymous complexType
المحتوى
0 عنصر، 1 سمة
defined
محلياً في عنصر MemberOf
الاسم
SystemGroup
minOccurs
0
maxOccurs
غير مقيد
مصدر XML
<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>
تفاصيل السمة
PartitionCount
إجمالي عدد الأقسام (عدد صحيح موجب). كل قسم مسؤول عن نطاق فرعي غير متداخل لنطاق مفتاح القسم العام.
السمة
القيمة
الاسم
PartitionCount
النوع
xs:string
الاستخدام
مطلوب
LowKey
نطاق منخفض شامل لمفتاح القسم (طويل).
السمة
القيمة
الاسم
LowKey
النوع
xs:string
الاستخدام
مطلوب
HighKey
نطاق عالٍ شامل لمفتاح القسم (طويل).
السمة
القيمة
الاسم
HighKey
النوع
xs:string
الاستخدام
مطلوب
عنصر UnmanagedDll
غير مدعوم، لا تستخدمه. اسم التجميع غير المُدار (على سبيل المثال، Queue.dll)، للمضيف.
يعلن عن مستخدم كأساسي أمان، والذي يمكن الرجوع إليه في النهج.
السمة
القيمة
النوع
anonymous complexType
المحتوى
2 عنصر (عناصر)، 5 سمة (سمات)
defined
محلياً في عنصر Users
الاسم
المستخدم
maxOccurs
غير مقيد
مصدر XML
<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>
تفاصيل السمة
الاسم
اسم حساب المستخدم.
السمة
القيمة
الاسم
Name
النوع
xs:string
الاستخدام
مطلوب
AccountType
يحدد نوع الحساب: LocalUser أو DomainUser أو NetworkService أو LocalService أو ManagedServiceAccount أو LocalSystem. الافتراضي هو LocalUser. يتم إنشاء حسابات المستخدمين المحليين على الأجهزة حيث يتم توزيع التطبيق. افتراضياً، لا تحتوي هذه الحسابات على نفس الأسماء المحددة هنا. بدلاً من ذلك، يتم إنشاؤها ديناميكياً ولها كلمات مرور عشوائية. أنواع حسابات النظام المحلي المدعومة هي LocalUser وNetworkService وLocalService وLocalSystem. يتم دعم حسابات المجال على عمليات نشر Windows Server حيث يتوفر معرف Microsoft Entra.
السمة
القيمة
الاسم
AccountType
الاستخدام
اختياري
افتراضي
LocalUser
LoadUserProfile
السمة
القيمة
الاسم
LoadUserProfile
النوع
xs:boolean
الاستخدام
اختياري
افتراضي
true
PerformInteractiveLogon
السمة
القيمة
الاسم
PerformInteractiveLogon
النوع
xs:boolean
الاستخدام
اختياري
افتراضي
true
PasswordEncrypted
صحيح إذا كانت كلمة المرور مشفرة؛ خطأ إذا كان في نص عادي.
السمة
القيمة
الاسم
PasswordEncrypted
النوع
xs:boolean
الاستخدام
اختياري
تفاصيل عنصر المحتوى
NTLMAuthenticationPolicy
السمة
القيمة
الاسم
NTLMAuthenticationPolicy
minOccurs
0
MemberOf
يمكن إضافة المستخدمين إلى أي مجموعة عضوية موجودة، بحيث يمكنها أن تستورد جميع الخصائص وإعدادات الأمان لمجموعة العضوية هذه. يمكن استخدام مجموعة العضوية لتأمين الموارد الخارجية التي يجب الوصول إليها بواسطة خدمات مختلفة أو الخدمة نفسها (على جهاز مختلف).
السمة
القيمة
الاسم
MemberOf
minOccurs
0
عنصر UserRoleClientCertificate
تستخدم شهادة عميل دور المستخدم الافتراضية لتأمين اتصال خادم العميل.
<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>
عنصر Users
يعلن عن مجموعة من المستخدمين كأساسيات أمان، والتي يمكن الرجوع إليها في النهج.
<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>
تفاصيل عنصر المحتوى
المستخدم
يعلن عن مستخدم كأساسي أمان، والذي يمكن الرجوع إليه في النهج.
<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>