<xs:complexType xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="AppInstanceDefinitionType">
<xs:sequence>
<xs:element name="Parameters">
<xs:annotation>
<xs:documentation>List of parameters for the application as defined in application manifest and their respective values.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="Parameter" minOccurs="0" maxOccurs="unbounded">
<xs:complexType>
<xs:attributeGroup ref="NameValuePair"/>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
<xs:attribute name="Name" type="xs:string" use="required">
<xs:annotation>
<xs:documentation>Name of the application to be created.</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
تفاصيل السمة
الاسم
اسم التطبيق المطلوب إنشاؤه.
السمة
القيمة
الاسم
Name
النوع
xs:string
الاستخدام
مطلوب
تفاصيل عنصر المحتوى
المعلمات
قائمة معلمات التطبيق على النحو المحدد في بيان التطبيق والقيم الخاصة بها.
السمة
القيمة
الاسم
المعلمات
ApplicationHealthPolicyType complexType
يصف نهج تقييم الأحداث الصحية المبلغ عنها في مختلف الكيانات ذات الصلة بالتطبيق. إذا لم يتم تحديد نهج، فمن المفترض أن يكون الكيان غير صحي إذا كان التقرير الصحي عبارة عن تحذير أو خطأ.
السمة
القيمة
المحتوى
2 عنصر، 2 سمة
defined
عموميًا
الاسم
ApplicationHealthPolicyType
مصدر XML
<xs:complexType xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="ApplicationHealthPolicyType">
<xs:annotation>
<xs:documentation>Describes the policy for evaluating health events reported on various application-related entities. If no policy is specified, an entity is assumed to be unhealthy if the health report is a warning or error.</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="DefaultServiceTypeHealthPolicy" type="ServiceTypeHealthPolicyType" minOccurs="0">
<xs:annotation>
<xs:documentation>Specifies the default service type health policy, which will replace the default health policy for all service types in the application.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="ServiceTypeHealthPolicy" minOccurs="0" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>Describes the policy for evaluating health events reported on services, partitions and replicas of a particular service type.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:complexContent>
<xs:extension base="ServiceTypeHealthPolicyType">
<xs:attribute name="ServiceTypeName" type="xs:string" use="required">
<xs:annotation>
<xs:documentation>The name of the service type that the policy will be applied to.</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:extension>
</xs:complexContent>
</xs:complexType>
</xs:element>
</xs:sequence>
<xs:attribute name="ConsiderWarningAsError" type="xs:string" use="optional" default="false">
<xs:annotation>
<xs:documentation>Specifies whether to treat warning health reports as errors during health evaluation. Default: false.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="MaxPercentUnhealthyDeployedApplications" type="xs:string" use="optional" default="0">
<xs:annotation>
<xs:documentation>Specifies the maximum tolerated percentage of deployed applications that can be unhealthy before the application is considered in error. This is calculated by dividing the number of unhealthy deployed applications over the number of nodes that the applications are currently deployed on in the cluster. The computation rounds up to tolerate one failure on small numbers of nodes. Default percentage: 0.</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
تفاصيل السمة
ConsiderWarningAsError
تحديد ما إذا كان يجب التعامل مع التقارير الصحية التحذيرية على أنها أخطاء أثناء التقييم الصحي. الافتراضي: False.
السمة
القيمة
الاسم
ConsiderWarningAsError
النوع
xs:string
الاستخدام
اختياري
افتراضي
true
MaxPercentUnhealthyDeployedApplications
يحدد النسبة المئوية القصوى المسموح بها للتطبيقات التي تم توزيعها والتي يمكن أن تكون غير سليمة قبل اعتبار التطبيق على أنه خطأ. يتم حساب ذلك عن طريق قسمة عدد التطبيقات الموزعة غير الصحية على عدد العقد التي يتم توزيع التطبيقات عليها حالياً في المجموعة. يُجمع الحساب لأعلى لتحمل فشل واحد على أعداد صغيرة من العقد. النسبة المئوية الافتراضية: 0.
السمة
القيمة
الاسم
MaxPercentUnhealthyDeployedApplications
النوع
xs:string
الاستخدام
اختياري
افتراضي
0
تفاصيل عنصر المحتوى
DefaultServiceTypeHealthPolicy
تحدد النهج الصحي لنوع الخدمة الافتراضية، الذي سيحل محل نهج الصحة الافتراضي لجميع أنواع الخدمات في التطبيق.
يصف بشكل تصريحي نوع التطبيق وإصداره. تتم الإشارة إلى بيان خدمة واحد أو أكثر للخدمات التأسيسية لتكوين نوع تطبيق. يمكن تجاوز إعدادات التكوين الخاصة بالخدمات التأسيسية باستخدام إعدادات التطبيق ذات المعلمات. يمكن أيضاً الإعلان عن الخدمات الافتراضية وقوالب الخدمة والأساسيات والنُهج وإعداد التشخيصات والشهادات على مستوى التطبيق.
السمة
القيمة
المحتوى
9 عناصر، 0 سمة
defined
عموميًا
الاسم
ApplicationManifestType
مصدر XML
<xs:complexType xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="ApplicationManifestType">
<xs:annotation>
<xs:documentation>Declaratively describes the application type and version. One or more service manifests of the constituent services are referenced to compose an application type. Configuration settings of the constituent services can be overridden using parameterized application settings. Default services, service templates, principals, policies, diagnostics set-up, and certificates can also declared at the application level.</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="Description" type="xs:string" minOccurs="0">
<xs:annotation>
<xs:documentation>Text describing this application.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="Parameters" minOccurs="0">
<xs:annotation>
<xs:documentation>Declares the parameters that are used in this application manifest. The value of these parameters can be supplied when the application is instantiated and can be used to override application or service configuration settings.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="Parameter" block="" minOccurs="0" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>An application parameter to be used in this manifest. The parameter value can be changed during application instantiation, or, if no value is supplied the default value is used.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:attribute name="Name" use="required">
<xs:annotation>
<xs:documentation>The name of the parameter to be used in the manifest as "[Name]".</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:minLength value="1"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
<xs:attribute name="DefaultValue" type="xs:string" use="required">
<xs:annotation>
<xs:documentation>Default value for the parameter, used if the parameter value is not provided during application instantiation.</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="ServiceManifestImport" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>Imports a service manifest created by the service developer. A service manifest must be imported for each constituent service in the application. Configuration overrides and policies can be declared for the service manifest.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="ServiceManifestRef" type="ServiceManifestRefType"/>
<xs:element name="ConfigOverrides" minOccurs="0">
<xs:annotation>
<xs:documentation>Describes configuration overrides for the imported service manifest. Configuration overrides allow the flexibility of re-using the same service manifests across multiple application types by overriding the service manifest's configuration only when used with a particular application type. Configuration overrides can change any default configuration in a service manifest as long as default configuration is defined using the Settings.xml in the ConfigPackage folder. </xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="ConfigOverride" type="ConfigOverrideType" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="ResourceOverrides" type="ResourceOverridesType" minOccurs="0"/>
<xs:element name="EnvironmentOverrides" type="EnvironmentOverridesType" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="Policies" type="ServiceManifestImportPoliciesType" minOccurs="0"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="ServiceTemplates" type="ServiceTemplatesType" minOccurs="0">
<xs:annotation>
<xs:documentation>Declares the set of permitted service types that can be created dynamically inside the application instance. Default configuration values, such as replication factor, are specified and used as a template for creating service instances.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="DefaultServices" type="DefaultServicesType" minOccurs="0">
</xs:element>
<xs:element name="Principals" type="SecurityPrincipalsType" minOccurs="0"/>
<xs:element name="Policies" type="ApplicationPoliciesType" minOccurs="0"/>
<xs:element name="Diagnostics" type="DiagnosticsType" minOccurs="0"/>
<xs:element name="Certificates" minOccurs="0">
<xs:annotation>
<xs:documentation>Declares certificates used to secure endpoints or encrypt secrets within the application manifest or a cluster manifest.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence maxOccurs="unbounded">
<xs:element name="SecretsCertificate" type="FabricCertificateType" minOccurs="0">
<xs:annotation>
<xs:documentation>Declares a certificate used to encrypt sensitive information within the application manifest. The application author uses the Invoke-ServiceFabricEncryptSecret cmdlet to encrypt the sensitive information, which is copied to a Parameter in the ConfigOverrides section.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="EndpointCertificate" type="EndpointCertificateType" minOccurs="0"/>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
<xs:attributeGroup ref="ApplicationManifestAttrGroup"/>
</xs:complexType>
تفاصيل عنصر المحتوى
الوصف
نص يصف هذا التطبيق.
السمة
القيمة
الاسم
الوصف
النوع
xs:string
minOccurs
0
المعلمات
يعلن عن المعلمات المستخدمة في هذا البيان للتطبيق. يمكن توفير قيمة هذه المعلمات عند إنشاء مثيل للتطبيق ويمكن استخدامها لمنع إعدادات تكوين التطبيق أو الخدمة.
السمة
القيمة
الاسم
المعلمات
minOccurs
0
ServiceManifestImport
يستورد بيان خدمة تم إنشاؤه بواسطة مطور الخدمة. يجب استيراد بيان الخدمة لكل خدمة مكونة في التطبيق. يمكن الإعلان عن منع التكوين والنُهج الخاصة ببيان الخدمة.
السمة
القيمة
الاسم
ServiceManifestImport
maxOccurs
غير مقيد
ServiceTemplates
تعلن مجموعة أنواع الخدمات المسموح بها التي يمكن إنشاؤها ديناميكياً داخل طبعة التطبيق. يتم تحديد قيم التكوين الافتراضية، مثل عامل النسخ المتماثل، واستخدامها كقالب لإنشاء مثيلات الخدمة.
يصف النهج (تجميع السجلات، والتشغيل الافتراضي باسم، والحماية، والوصول إلى الأمان) التي تُطبق على مستوى التطبيق.
السمة
القيمة
المحتوى
4 عناصر، 0 سمة (سمات)
defined
عموميًا
الاسم
ApplicationPoliciesType
مصدر XML
<xs:complexType xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="ApplicationPoliciesType">
<xs:annotation>
<xs:documentation>Describes the policies (log collection, default run-as, health, and security access) to be applied at the application level.</xs:documentation>
</xs:annotation>
<xs:all>
<xs:element name="LogCollectionPolicies" minOccurs="0">
<xs:annotation>
<xs:documentation>Specifies whether log collection is enabled. Works only in an Azure cluster environment</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence maxOccurs="unbounded">
<xs:element name="LogCollectionPolicy">
<xs:complexType>
<xs:attribute name="Path" type="xs:string" use="optional"/>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="DefaultRunAsPolicy" minOccurs="0">
<xs:annotation>
<xs:documentation>Specify a default user account for all service code packages that don't have a specific RunAsPolicy defined in the ServiceManifestImport section.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:attribute name="UserRef" type="xs:string" use="required">
<xs:annotation>
<xs:documentation>The user account that the service code packages will run as. The user account must be declared in the Principals section. Often it is preferable to run the setup entry point using a local system account rather than an administrators account.</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
</xs:element>
<xs:element name="HealthPolicy" type="ApplicationHealthPolicyType" minOccurs="0"/>
<xs:element name="SecurityAccessPolicies" minOccurs="0">
<xs:annotation>
<xs:documentation>List of security policies applied to resources at the application level.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence maxOccurs="unbounded">
<xs:element name="SecurityAccessPolicy" type="SecurityAccessPolicyType"/>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:all>
</xs:complexType>
تفاصيل عنصر المحتوى
LogCollectionPolicies
يحدد ما إذا كان سيتم تمكين مجموعة السجل. يعمل فقط في بيئة نظام مجموعة Azure
السمة
القيمة
الاسم
LogCollectionPolicies
minOccurs
0
DefaultRunAsPolicy
يحدد حساب مستخدم افتراضياً لجميع حزم التعليمات البرمجية للخدمة التي لا تحتوي على RunAsPolicy محدد معرَّف في قسم ServiceManifestImport.
قائمة سياسات الأمان المطبقة على الموارد على مستوى التطبيق.
السمة
القيمة
الاسم
SecurityAccessPolicies
minOccurs
0
AzureBlobETWType complexType
يصف وجهة تخزين كائنات Azure الثنائية كبيرة الحجم لأحداث ETW. تعمل فقط في بيئة Azure.
السمة
القيمة
المحتوى
0 عنصر، 0 سمة
defined
عموميًا
الاسم
AzureBlobETWType
مصدر XML
<xs:complexType xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="AzureBlobETWType">
<xs:annotation>
<xs:documentation>Describes an Azure blob store destination for ETW events. Works only in Azure environment.</xs:documentation>
</xs:annotation>
<xs:complexContent>
<xs:extension base="AzureBlobType">
<xs:attributeGroup ref="LevelFilter"/>
</xs:extension>
</xs:complexContent>
</xs:complexType>
AzureBlobType complexType
يصف وجهة تخزين كائنات Azure الثنائية كبيرة الحجم لبيانات التشخيص. يعمل فقط في بيئة نظام مجموعة Azure.
السمة
القيمة
المحتوى
0 عنصر، 0 سمة
defined
عموميًا
الاسم
AzureBlobType
مصدر XML
<xs:complexType xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="AzureBlobType">
<xs:annotation>
<xs:documentation>Describes an Azure blob store destination for diagnostics data. Works only in Azure cluster environment.</xs:documentation>
</xs:annotation>
<xs:complexContent>
<xs:extension base="AzureStoreBaseType">
<xs:attributeGroup ref="ContainerName"/>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:complexType xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="CertificatesType">
<xs:all>
<xs:element name="ClusterCertificate" type="FabricCertificateType" minOccurs="0">
<xs:annotation>
<xs:documentation>The certificate used to secure the intra cluster communication.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="ServerCertificate" type="FabricCertificateType" minOccurs="0">
<xs:annotation>
<xs:documentation>The certificate used to secure the intra cluster communication.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="ClientCertificate" type="FabricCertificateType" minOccurs="0">
<xs:annotation>
<xs:documentation>The default admin role client certificate used to secure client server communication.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="UserRoleClientCertificate" type="FabricCertificateType" minOccurs="0">
<xs:annotation>
<xs:documentation>The default user role client certificate used to secure client server communication.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:all>
</xs:complexType>
تفاصيل عنصر المحتوى
ClusterCertificate
الشهادة المستخدمة لتأمين الاتصال داخل نظام المجموعة.
توضح حزمة تعليمات برمجية تدعم نوع خدمة محدد. عند إنشاء مثيل لخدمة ما مقابل أحد أنواع هذه الخدمات، يتم تنشيط جميع حزم التعليمات البرمجية المعلنة في هذا البيان من خلال تشغيل نقاط الدخول الخاصة بهم. من المتوقع أن تسجل العمليات الناتجة أنواع الخدمات المدعومة في وقت التشغيل. عندما تكون هناك حزم تعليمات برمجية متعددة، تُنشّط جميعا كلما بحث النظام عن أي نوع من أنواع الخدمة المعلنة.
السمة
القيمة
المحتوى
3 عناصر، 2 سمة
defined
عموميًا
الاسم
CodePackageType
مصدر XML
<xs:complexType xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="CodePackageType">
<xs:annotation>
<xs:documentation>Describes a code package that supports a defined service type. When a service is instantiated against one of these service types, all code packages declared in this manifest are activated by running their entry points. The resulting processes are expected to register the supported service types at run time. When there are multiple code packages, they are all activated whenever the system looks for any one of the declared service types.</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="SetupEntryPoint" minOccurs="0">
<xs:annotation>
<xs:documentation>A privileged entry point that by default runs with the same credentials as Service Fabric (typically the NETWORKSERVICE account) before any other entry point. The executable specified by EntryPoint is typically the long-running service host. The presence of a separate setup entry point avoids having to run the service host with high privileges for extended periods of time.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="ExeHost" type="ExeHostEntryPointType"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="EntryPoint" type="EntryPointDescriptionType" minOccurs="1"/>
<xs:element name="EnvironmentVariables" type="EnvironmentVariablesType" minOccurs="0" maxOccurs="1"/>
</xs:sequence>
<xs:attributeGroup ref="VersionedName"/>
<xs:attribute name="IsShared" type="xs:boolean" default="false">
<xs:annotation>
<xs:documentation>Indicates if the contents of this code package are shared by other code packages. If true, on an upgrade of this code package, all code packages will be restarted. This attribute is currently not supported and it's value will be ignored.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="IsActivator" type="xs:boolean" default="false">
<xs:annotation>
<xs:documentation>This attribute is for internal use only.</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
تفاصيل السمة
IsShared
يشير إلى ما إذا كانت محتويات حزمة التعليمات البرمجية هذه مشتركة مع حزم التعليمات البرمجية الأخرى. إذا كان ذلك صحيحًا، فعند ترقية حزمة التعليمات البرمجية هذه، ستتم إعادة تشغيل كافة حزم التعليمات البرمجية. هذه السمة غير معتمدة حاليًا، وسيتم تجاهل القيمة الخاصة بها.
السمة
القيمة
الاسم
IsShared
النوع
xs:boolean
افتراضي
true
IsActivator
هذه السمة مخصصة للاستخدام الداخلي فقط.
السمة
القيمة
الاسم
IsActivator
النوع
xs:boolean
افتراضي
true
تفاصيل عنصر المحتوى
SetupEntryPoint
نقطة إدخال مميزة يتم تشغيلها افتراضيًا بنفس بيانات الاعتماد، مثل Service Fabric (عادةً حساب NETWORKSERVICE) قبل أي نقطة إدخال أخرى. عادة ما يكون الملف التنفيذي المُحدد بواسطة EntryPoint هو مضيف خدمة التشغيل لفترة طويلة. يؤدي وجود نقطة إدخال إعداد منفصلة إلى تجنب الاضطرار إلى تشغيل مضيف الخدمة بامتيازات عالية لفترات طويلة من الزمن.
يصف تجاوزات التكوين لحزمة تكوين معينة في بيان الخدمة المستوردة.
السمة
القيمة
المحتوى
1 عنصر، 1 سمة
defined
عموميًا
الاسم
ConfigOverrideType
مصدر XML
<xs:complexType xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="ConfigOverrideType">
<xs:annotation>
<xs:documentation>Describes the configuration overrides for a particular config package in the imported service manifest.</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="Settings" type="SettingsOverridesType" minOccurs="0"/>
</xs:sequence>
<xs:attribute name="Name" use="required">
<xs:annotation>
<xs:documentation>The name of the configuration package in the service manifest which contains the setting(s) to be overridden.</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:minLength value="1"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
</xs:complexType>
تفاصيل السمة
الاسم
اسم حزمة التكوين في بيان الخدمة الذي يحتوي على الإعداد المطلوب تجاوزه.
يعلن عن مجلد، يسمى بسمة الاسم، يحتوي على ملف Settings.xml. يحتوي هذا الملف على أقسام من إعدادات زوج قيم المفاتيح المعرفة من قِبل المستخدم التي يمكن للعملية قراءتها مرة أخرى في وقت التشغيل. أثناء الترقية، إذا تغير إصدار ConfigPackage فقط، فلن تتم إعادة تشغيل العملية قيد التشغيل. بدلاً من ذلك، يُعلم رد الاتصال العملية بأن إعدادات التكوين قد تغيرت حتى يمكن إعادة تحميلها ديناميكياً.
السمة
القيمة
المحتوى
0 عنصر، 4 سمات
defined
عموميًا
الاسم
ConfigPackageDescriptionType
مصدر XML
<xs:complexType xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="ConfigPackageDescriptionType">
<xs:annotation>
<xs:documentation>Declares a folder, named by the Name attribute, that contains a Settings.xml file. This file contains sections of user-defined, key-value pair settings that the process can read back at run time. During an upgrade, if only the ConfigPackage version has changed, then the running process is not restarted. Instead, a callback notifies the process that configuration settings have changed so they can be reloaded dynamically.</xs:documentation>
</xs:annotation>
<xs:attribute name="Name" use="required">
<xs:annotation>
<xs:documentation>Name of the versioned item.</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:minLength value="1"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
<xs:attribute name="SectionName" use="required">
<xs:annotation>
<xs:documentation>Section Name of the ConfigPackage Settings.xml.</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:minLength value="1"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
<xs:attribute name="MountPoint" type="xs:string" use="optional" default=""/>
<xs:attribute name="EnvironmentVariableName" type="xs:string" use="optional" default=""/>
</xs:complexType>
الإعلان عن مجلد، تمت تسميته بواسطة السمة «الاسم»، ضمن PackageRoot الذي يحتوي على ملف Settings.xml. يحتوي هذا الملف على أقسام من إعدادات زوج قيم المفاتيح المعرفة من قِبل المستخدم التي يمكن للعملية قراءتها مرة أخرى في وقت التشغيل. أثناء الترقية، إذا تغير إصدار ConfigPackage فقط، فلن تتم إعادة تشغيل العملية قيد التشغيل. بدلاً من ذلك، يُعلم رد الاتصال العملية بأن إعدادات التكوين قد تغيرت حتى يمكن إعادة تحميلها ديناميكياً.
السمة
القيمة
المحتوى
0 عنصر، 0 سمة
defined
عموميًا
الاسم
ConfigPackageType
مصدر XML
<xs:complexType xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="ConfigPackageType">
<xs:annotation>
<xs:documentation>Declares a folder, named by the Name attribute, and PackageRoot that contains a Settings.xml file. This file contains sections of user-defined, key-value pair settings that the process can read back at run time. During an upgrade, if only the ConfigPackage version has changed, then the running process is not restarted. Instead, a callback notifies the process that configuration settings have changed so they can be reloaded dynamically.</xs:documentation>
</xs:annotation>
<xs:attributeGroup ref="VersionedName"/>
</xs:complexType>
ContainerCertificateType complexType
يحدد معلومات حول شهادة X509 التي سيتم تعريضها لبيئة الحاوية. يجب تثبيت الشهادة في مخزن LocalMachine لجميع عُقد نظام المجموعة.
عند بدء تشغيل التطبيق، يقوم وقت التشغيل بقراءة الشهادة وإنشاء ملف PFX وكلمة المرور (على Windows) أو ملف PEM (على Linux).
يمكن الوصول إلى ملف PFX وكلمة المرور في الحاوية باستخدام متغيرات البيئة Certificates_ServicePackageName_CodePackageName_CertName_PFX وCertificates_ServicePackageName_CodePackageName_CertName_Password. يمكن الوصول إلى ملف PEM في الحاوية باستخدام متغيرات البيئة Certificates_ServicePackageName_CodePackageName_CertName_PEM وCertificates_ServicePackageName_CodePackageName_CertName_PrivateKey.
السمة
القيمة
المحتوى
0 عنصر، 8 سمات
defined
عموميًا
الاسم
ContainerCertificateType
مصدر XML
<xs:complexType xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="ContainerCertificateType">
<xs:annotation>
<xs:documentation>Specifies information about an X509 certificate which is to be exposed to the container environment. The certificate must be installed in the LocalMachine store of all the cluster nodes.
When the application starts, the runtime reads the certificate and generates a PFX file and password (on Windows) or a PEM file (on Linux).
The PFX file and password are accessible in the container using the Certificates_ServicePackageName_CodePackageName_CertName_PFX and
Certificates_ServicePackageName_CodePackageName_CertName_Password environment variables. The PEM file is accessible in the container using the
Certificates_ServicePackageName_CodePackageName_CertName_PEM and Certificates_ServicePackageName_CodePackageName_CertName_PrivateKey environment variables.</xs:documentation>
</xs:annotation>
<xs:attribute name="X509StoreName" type="xs:string" default="My">
<xs:annotation>
<xs:documentation>The store name for the X509 certificate.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="X509FindValue" type="xs:string" use="optional">
<xs:annotation>
<xs:documentation>The thumbprint of the X509 certificate.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="DataPackageRef" type="xs:string" use="optional">
<xs:annotation>
<xs:documentation>The name of data package that has the certificate files.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="DataPackageVersion" type="xs:string" use="optional">
<xs:annotation>
<xs:documentation>The version of data package that has the certificate files.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="RelativePath" type="xs:string" use="optional">
<xs:annotation>
<xs:documentation>The relative path to the certificate file inside data package.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="Password" type="xs:string" use="optional">
<xs:annotation>
<xs:documentation>Password/Private key for the certificate.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="IsPasswordEncrypted" type="xs:boolean" default="false">
<xs:annotation>
<xs:documentation>If true, the value of password is encrypted.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="Name" type="xs:string" use="required">
<xs:annotation>
<xs:documentation>Identifier for the specific certificate information. This name is used to set the environment variable in the container.</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
تفاصيل السمة
X509StoreName
اسم مخزن شهادة X509.
السمة
القيمة
الاسم
X509StoreName
النوع
xs:string
افتراضي
MY
X509FindValue
بصمة الإبهام لشهادة X509.
السمة
القيمة
الاسم
X509FindValue
النوع
xs:string
الاستخدام
اختياري
DataPackageRef
اسم حزمة البيانات التي تحتوي على ملفات الشهادة.
السمة
القيمة
الاسم
DataPackageRef
النوع
xs:string
الاستخدام
اختياري
DataPackageVersion
إصدار حزمة البيانات التي تحتوي على ملفات الشهادة.
السمة
القيمة
الاسم
DataPackageVersion
النوع
xs:string
الاستخدام
اختياري
RelativePath
المسار النسبي إلى ملف الشهادة داخل حزمة البيانات.
السمة
القيمة
الاسم
RelativePath
النوع
xs:string
الاستخدام
اختياري
كلمة المرور
كلمة المرور/المفتاح الخاص للشهادة.
السمة
القيمة
الاسم
كلمة المرور
النوع
xs:string
الاستخدام
اختياري
IsPasswordEncrypted
إذا كانت القيمة هي true، يتم تشفير قيمة كلمة المرور.
السمة
القيمة
الاسم
IsPasswordEncrypted
النوع
xs:boolean
افتراضي
true
الاسم
معرف لمعلومات الشهادة المحددة. يستخدم هذا الاسم لتعيين متغير البيئة في الحاوية.
السمة
القيمة
الاسم
Name
النوع
xs:string
الاستخدام
مطلوب
ContainerHealthConfigType complexType
تحديد خيارات تكامل DOCKER HEALTHCHECK للحاوية.
السمة
القيمة
المحتوى
0 عنصر، 2 سمة
defined
عموميًا
الاسم
ContainerHealthConfigType
مصدر XML
<xs:complexType xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="ContainerHealthConfigType">
<xs:annotation>
<xs:documentation>Specifies docker HEALTHCHECK integration options for the container.</xs:documentation>
</xs:annotation>
<xs:attribute name="IncludeDockerHealthStatusInSystemHealthReport" type="xs:boolean" use="optional" default="true">
<xs:annotation>
<xs:documentation>If the container has HEALTHCHECK enabled and docker reports health_status event for this container,
Service Fabric will include this as part of system reported health. When health_status is unhealthy
Service Fabric will report a health warning. By default it is set to true.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="RestartContainerOnUnhealthyDockerHealthStatus" type="xs:boolean" use="optional" default="false">
<xs:annotation>
<xs:documentation>If the container has HEALTHCHECK enabled and docker reports health_status event for this container,
Service Fabric will restart the container when health_status reported by docker is unhealthy.
By default it is set to false.</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
تفاصيل السمة
IncludeDockerHealthStatusInSystemHealthReport
إذا تم تمكين HEALTHCHECK في الحاوية وأبلغ Docker عن حدث health_status لهذه الحاوية، فستشتمل Service Fabric على هذا كجزء من حالة النظام المبلغ عنها. إذا كان حدث health_status غير صحي، فستقوم Service Fabric بالإبلاغ عن تحذير صحي. بشكل افتراضي، يتم تعيينه على «true».
السمة
القيمة
الاسم
IncludeDockerHealthStatusInSystemHealthReport
النوع
xs:boolean
الاستخدام
اختياري
افتراضي
صحيح
RestartContainerOnUnhealthyDockerHealthStatus
إذا تم تمكين HEALTHCHECK في الحاوية وأبلغ Docker عن حدث health_status لهذه الحاوية، فسيقوم Service Fabric بإعادة تشغيل الحاوية عندما تكون الحالة health_status التي أبلغ عنها Docker غير صحية.
بشكل افتراضي، يتم تعيينه على «false».
السمة
القيمة
الاسم
RestartContainerOnUnhealthyDockerHealthStatus
النوع
xs:boolean
الاستخدام
اختياري
افتراضي
true
ContainerHostEntryPointType complexType
السمة
القيمة
المحتوى
4 عناصر، 0 سمة (سمات)
defined
عموميًا
الاسم
ContainerHostEntryPointType
مصدر XML
<xs:complexType xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="ContainerHostEntryPointType">
<xs:sequence>
<!--container image name-->
<xs:element name="ImageName" type="xs:string">
<xs:annotation>
<xs:documentation>The repo and image on https://hub.docker.com or Azure Container Registry.</xs:documentation>
</xs:annotation>
</xs:element>
<!--comma delimited list of commands for container-->
<xs:element name="Commands" type="xs:string" minOccurs="0" maxOccurs="1">
<xs:annotation>
<xs:documentation>Pass a comma delimited list of commands to the container.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="EntryPoint" type="xs:string" minOccurs="0" maxOccurs="1"/>
<xs:element name="FromSource" type="xs:string" minOccurs="0" maxOccurs="1"/>
</xs:sequence>
</xs:complexType>
<xs:complexType xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="ContainerHostPoliciesType">
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element name="RepositoryCredentials" type="RepositoryCredentialsType" minOccurs="0" maxOccurs="1">
<xs:annotation>
<xs:documentation>Credentials for container image repository to pull images from.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="HealthConfig" type="ContainerHealthConfigType" minOccurs="0" maxOccurs="1">
<xs:annotation>
<xs:documentation>Specifies docker HEALTHCHECK integration options for the container.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="PortBinding" type="PortBindingType" minOccurs="0" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>Specifies which endpoint resource to bind to the exposed container port.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="CertificateRef" type="ContainerCertificateType" minOccurs="0" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>Specifies information for a certificate which will be exposed to the container.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="LogConfig" type="ContainerLoggingDriverType" minOccurs="0" maxOccurs="1">
<xs:annotation>
<xs:documentation>Specifies the logging driver for a container.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="NetworkConfig" type="ContainerNetworkConfigType" minOccurs="0" maxOccurs="1">
<xs:annotation>
<xs:documentation>Specifies the network configuration for a container.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="Volume" type="ContainerVolumeType" minOccurs="0" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>Specifies the volume to be bound to container.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="SecurityOption" type="SecurityOptionsType" minOccurs="0" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>Specifies securityoptions for the container.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="ImageOverrides" type="ImageOverridesType" minOccurs="0" maxOccurs="1">
<xs:annotation>
<xs:documentation>Image names corresponding to OS build number to be launched.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="Label" type="ContainerLabelType" minOccurs="0" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>Specifies the labels for the container.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:choice>
<xs:attribute name="CodePackageRef" use="required">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:minLength value="1"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
<xs:attribute name="UseDefaultRepositoryCredentials" type="xs:string" use="optional" default="false">
<xs:annotation>
<xs:documentation>Use the default repository credentials specified in clusterManifest.xml
instead of the credentials specified in the "RepositoryCredentials" tag inside ApplicationManifest.xml.
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="UseTokenAuthenticationCredentials" type="xs:string" use="optional" default="false">
<xs:annotation>
<xs:documentation>Use MSI token authentication (or a custom specified endpoint) to obtain a token used for authentication.
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="Isolation" use="optional" type="xs:string">
<xs:annotation>
<xs:documentation>Isolation mode for container. Valid values are default, process or Hyper-V (only supported for Windows containers).</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="Hostname" use="optional" type="xs:string">
<xs:annotation>
<xs:documentation>Specify Hostname for container.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="ContainersRetentionCount" use="optional" type="xs:string" default="0">
<xs:annotation>
<xs:documentation>Number of containers to leave behind when container repeatedly dies. By default this is set to 0 so no containers will be left behind.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="AutoRemove" use="optional" type="xs:string">
<xs:annotation>
<xs:documentation>Flag indicating whether removal of containers will occur automatically (true) or not (false) if the container is killed. If false SF manually remove the containers.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="RunInteractive" use="optional" type="xs:string">
<xs:annotation>
<xs:documentation>Run container with interactive flag enabled. Valid values are true/false. false by default.</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
تفاصيل السمة
CodePackageRef
السمة
القيمة
الاسم
CodePackageRef
الاستخدام
مطلوب
UseDefaultRepositoryCredentials
استخدم بيانات اعتماد المستودع الافتراضية المحددة في clusterManifest.xml بدلاً من بيانات الاعتماد المحددة في العلامة "RepositoryCredentials" داخل ApplicationManifest.xml.
السمة
القيمة
الاسم
UseDefaultRepositoryCredentials
النوع
xs:string
الاستخدام
اختياري
افتراضي
true
UseTokenAuthenticationCredentials
استخدم مصادقة رمز MSI المميز (أو نقطة نهاية محددة مخصصة) للحصول على رمز مميز يستخدم للمصادقة.
السمة
القيمة
الاسم
UseTokenAuthenticationCredentials
النوع
xs:string
الاستخدام
اختياري
افتراضي
true
العزل
وضع العزل للحاوية. القيم الصالحة هي قيم افتراضية أو عملية أو Hyper-V (مدعومة فقط لحاويات Windows).
السمة
القيمة
الاسم
العزل
الاستخدام
اختياري
النوع
xs:string
اسم المضيف
تحديد اسم المضيف للحاوية.
السمة
القيمة
الاسم
اسم المضيف
الاستخدام
اختياري
النوع
xs:string
ContainersRetentionCount
عدد الحاويات التي يجب تركها عند انتهاء صلاحية الحاوية بشكل متكرر. بشكل افتراضي، يتم تعيين هذا إلى 0 بحيث لن يتم ترك أي حاويات.
السمة
القيمة
الاسم
ContainersRetentionCount
الاستخدام
اختياري
النوع
xs:string
افتراضي
0
AutoRemove
علامة تشير إلى ما إذا كان ستتم إزالة الحاويات تلقائيا (true) أو لا (false) إذا انتهت صلاحية الحاوية. إذا كانت القيمة هي false، فستقوم SF بإزالة الحاويات يدويًا.
السمة
القيمة
الاسم
AutoRemove
الاستخدام
اختياري
النوع
xs:string
RunInteractive
تشغيل الحاوية مع تمكين العلامة التفاعلية. القيم الصالحة هي true/false. False هي القيمة الافتراضية.
<xs:complexType xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="ContainerNetworkPolicyEndpointBindingType">
<xs:attribute name="EndpointRef">
<xs:annotation>
<xs:documentation>The name of the endpoint, which must be declared in the Resources section of the service manifest.</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:minLength value="1"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
</xs:complexType>
تفاصيل السمة
EndpointRef
اسم نقطة النهاية، التي يجب تعريفها في قسم «الموارد» في بيان الخدمة.
السمة
القيمة
الاسم
EndpointRef
ContainerNetworkPolicyType complexType
يصف الاقتران بين حزمة خدمة وشبكة حاويات واقتران اختياري بين نقاط نهاية حزمة الخدمة وشبكة الحاويات.
السمة
القيمة
المحتوى
1 عنصر، 1 سمة
defined
عموميًا
الاسم
ContainerNetworkPolicyType
مصدر XML
<xs:complexType xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="ContainerNetworkPolicyType">
<xs:annotation>
<xs:documentation>Describes association between a service package and a container network and optionally association between endpoints of the service package and the container network.</xs:documentation>
</xs:annotation>
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element name="EndpointBinding" type="ContainerNetworkPolicyEndpointBindingType" minOccurs="0" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>Specifies an endpoint that should be exposed on the container network.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:choice>
<xs:attribute name="NetworkRef" use="required">
<xs:annotation>
<xs:documentation>The name of the container network (case-insensitive). It has to be name of a container network already created or reserved names including "Open" or "NAT".</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:minLength value="1"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
</xs:complexType>
تفاصيل السمة
NetworkRef
اسم شبكة الحاويات (غير حساس لحالة الأحرف). يجب أن يكون اسم شبكة حاويات تم إنشاؤها بالفعل، أو أسماء محجوزة بما في ذلك "فتح" أو "ترجمة عناوين الشبكة".
السمة
القيمة
الاسم
NetworkRef
الاستخدام
مطلوب
تفاصيل عنصر المحتوى
EndpointBinding
يحدد نقطة النهاية التي يجب عرضها على شبكة الحاوية.
<xs:complexType xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="ContainerVolumeType">
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element name="DriverOption" type="DriverOptionType" minOccurs="0" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>Driver options to be passed to driver.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:choice>
<xs:attribute name="Source" use="required">
<xs:annotation>
<xs:documentation>The source folder which can be a folder in the VM that hosts the containers or a persistent remote store.</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:minLength value="1"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
<xs:attribute name="Destination" use="required">
<xs:annotation>
<xs:documentation>The location that the Source is mapped to within the running container. Thus, your destination can't be a location that already exists within your container.</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:minLength value="1"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
<xs:attribute name="Driver" use="optional">
<xs:annotation>
<xs:documentation>The driver name for the Azure Files volume plugin is "sfazurefile".</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
</xs:restriction>
</xs:simpleType>
</xs:attribute>
<xs:attribute name="IsReadOnly" type="xs:boolean" default="false"/>
</xs:complexType>
تفاصيل السمة
المصدر
المجلد المصدر الذي يمكن أن يكون مجلدًا في الجهاز الظاهري الذي يستضيف الحاويات أو متجرًا بعيدًا مستمرًا.
السمة
القيمة
الاسم
المصدر
الاستخدام
مطلوب
الوجهة
الموقع الذي تم تعيين المصدر إليه داخل الحاوية قيد التشغيل. وبالتالي، لا يمكن أن تكون وجهتك موقعاً موجوداً بالفعل داخل الحاوية.
السمة
القيمة
الاسم
الوجهة
الاستخدام
مطلوب
برنامج التشغيل
اسم برنامج التشغيل للمكون الإضافي لوحدة تخزين ملفات Azure هو "sfazurefile".
السمة
القيمة
الاسم
برنامج التشغيل
الاستخدام
اختياري
IsReadOnly
السمة
القيمة
الاسم
IsReadOnly
النوع
xs:boolean
افتراضي
true
تفاصيل عنصر المحتوى
DriverOption
خيارات برنامج تشغيل الجهاز التي سيتم تمريرها إلى برنامج التشغيل.
يعلن عن مجلد، يسمى بسمة الاسم، ضمن PackageRoot الذي يحتوي على ملفات بيانات ثابتة ليتم استهلاكها بواسطة العملية في وقت التشغيل. ستقوم Service Fabric بإعادة تدوير جميع EXEs وDLLHOSTs المحددة في المضيف وحزم الدعم عند ترقية أي من حزم البيانات المدرجة في بيان الخدمة.
السمة
القيمة
المحتوى
0 عنصر، 0 سمة
defined
عموميًا
الاسم
DataPackageType
مصدر XML
<xs:complexType xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="DataPackageType">
<xs:annotation>
<xs:documentation>Declares a folder, named by the Name attribute, under PackageRoot which contains static data files to be consumed by the process at runtime. Service Fabric will recycle all EXEs and DLLHOSTs specified in the host and support packages when any of the data packages listed in the service manifest are upgraded.</xs:documentation>
</xs:annotation>
<xs:attributeGroup ref="VersionedName"/>
</xs:complexType>
DebugParametersType complexType
يحدد معلومات عن مصحح الأخطاء لإرفاقها عند تنشيط codepackage.
تم تجاوز نقطة الدخول للحاويات حتى يمكن تشغيل مصحح الأخطاء.
السمة
القيمة
الاسم
ContainerEntryPoint
النوع
xs:string
minOccurs
0
maxOccurs
غير مقيد
ContainerMountedVolume
وحدات التخزين المطلوب إدخالها داخل الحاوية.
السمة
القيمة
الاسم
ContainerMountedVolume
النوع
xs:string
minOccurs
0
maxOccurs
غير مقيد
ContainerEnvironmentBlock
EnvironmentBlock للحاويات.
السمة
القيمة
الاسم
ContainerEnvironmentBlock
النوع
xs:string
minOccurs
0
maxOccurs
غير مقيد
ContainerLabel
تسميات الحاويات في مفتاح النموذج=القيمة.
السمة
القيمة
الاسم
ContainerLabel
النوع
xs:string
minOccurs
0
maxOccurs
غير مقيد
DefaultServicesType complexType
يعلن عن مثيلات الخدمة التي يتم إنشاؤها تلقائياً كلما تم إنشاء مثيل لتطبيق مقابل هذا النوع من التطبيقات.
السمة
القيمة
المحتوى
2 عنصر، 0 سمة
defined
عموميًا
الاسم
DefaultServicesType
مصدر XML
<xs:complexType xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="DefaultServicesType">
<xs:annotation>
<xs:documentation>Declares service instances that are automatically created whenever an application is instantiated against this application type.</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element name="Service">
<xs:annotation>
<xs:documentation>Declares a service to be created automatically when the application is instantiated.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:choice minOccurs="0">
<xs:element name="StatelessService" type="StatelessServiceType"/>
<xs:element name="StatefulService" type="StatefulServiceType"/>
</xs:choice>
<xs:attribute name="Name" type="xs:string" use="required">
<xs:annotation>
<xs:documentation>The service name, used to form the fully qualified application name URI. The fully qualified name URI of the service would be: fabric:/ApplicationName/ServiceName.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="GeneratedIdRef" type="xs:string" use="optional">
<xs:annotation>
<xs:documentation>Reference to the auto generated id used by Visual Studio tooling.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="ServiceDnsName" type="xs:string" use="optional">
<xs:annotation>
<xs:documentation>The DNS name of the service.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="ServicePackageActivationMode" type="xs:string" use="optional" default="SharedProcess">
<xs:annotation>
<xs:documentation>ServicePackageActivationMode to be used when creating the service. Allowed values are 'SharedProcess' and 'ExclusiveProcess'. With SharedProcess mode, replica(s) or instance(s) from different partition(s) of service will share same activation of service package on a node. With ExclusiveProcess mode, each replica or instance of service will have its own dedicated activation of service package.</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
</xs:element>
<xs:element name="ServiceGroup">
<xs:annotation>
<xs:documentation>A collection of services that are automatically located together, so they are also moved together during fail-over or resource management.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:choice minOccurs="0">
<xs:element name="StatelessServiceGroup" type="StatelessServiceGroupType"/>
<xs:element name="StatefulServiceGroup" type="StatefulServiceGroupType"/>
</xs:choice>
<xs:attribute name="Name" type="xs:string" use="required">
<xs:annotation>
<xs:documentation>Name of this service relative to this application Name URI. Fully qualified Name of the service is a combination of Name Uri of the Application and this Name.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="ServicePackageActivationMode" type="xs:string" use="optional" default="SharedProcess">
<xs:annotation>
<xs:documentation>ServicePackageActivationMode to be used when creating the service. Allowed values are 'SharedProcess' and 'ExclusiveProcess'. With SharedProcess mode, replica(s) or instance(s) from different partition(s) of service will share same activation of service package on a node. With ExclusiveProcess mode, each replica or instance of service will have its own dedicated activation of service package.</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
</xs:element>
</xs:choice>
</xs:sequence>
</xs:complexType>
تفاصيل عنصر المحتوى
الخدمة
يعلن عن خدمة منشأة تلقائيًا عند إنشاء مثيل للتطبيق.
السمة
القيمة
الاسم
الخدمة
ServiceGroup
مجموعة من الخدمات التي يتم تحديد موقعها معاً تلقائياً، بحيث يتم أيضاً نقلها معاً أثناء تجاوز الفشل أو إدارة الموارد.
السمة
القيمة
الاسم
ServiceGroup
DiagnosticsType complexType
يصف الإعدادات التشخيصية للتطبيقات.
السمة
القيمة
المحتوى
3 عناصر، 0 سمة
defined
عموميًا
الاسم
DiagnosticsType
مصدر XML
<xs:complexType xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="DiagnosticsType">
<xs:annotation>
<xs:documentation>Describes the diagnostic settings for applications.</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="CrashDumpSource" minOccurs="0">
<xs:annotation>
<xs:documentation>Specifies crash dump collection. Crash dumps are collected for executables that host the code packages of all services belonging to the application.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="Destinations" minOccurs="0">
<xs:annotation>
<xs:documentation>Destinations to which the crash dumps need to be transferred.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="LocalStore" type="LocalStoreType" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="FileStore" type="FileStoreType" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="AzureBlob" type="AzureBlobType" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element ref="Parameters" minOccurs="0" maxOccurs="1"/>
</xs:sequence>
<xs:attribute name="IsEnabled" type="xs:string">
<xs:annotation>
<xs:documentation>Whether or not crash dump collection is enabled. By default, it is not enabled.</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
</xs:element>
<xs:element name="ETWSource" minOccurs="0">
<xs:annotation>
<xs:documentation>Specifies ETW trace collection. ETW traces are collected for the providers that are registered by all services belonging to the application.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="Destinations" minOccurs="0">
<xs:annotation>
<xs:documentation>Destinations to which the crash dumps need to be transferred.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="LocalStore" type="LocalStoreETWType" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="FileStore" type="FileStoreETWType" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="AzureBlob" type="AzureBlobETWType" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element ref="Parameters" minOccurs="0" maxOccurs="1"/>
</xs:sequence>
<xs:attribute name="IsEnabled" type="xs:string">
<xs:annotation>
<xs:documentation>Whether or not ETW trace collection is enabled. By default, it is not enabled.</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
</xs:element>
<xs:element name="FolderSource" minOccurs="0" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>Specifies the collection of the contents of a particular folder on the local node.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="Destinations" minOccurs="0">
<xs:annotation>
<xs:documentation>Destinations to which the folder contents need to be transferred.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="LocalStore" type="LocalStoreType" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="FileStore" type="FileStoreType" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="AzureBlob" type="AzureBlobType" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element ref="Parameters" minOccurs="0" maxOccurs="1"/>
</xs:sequence>
<xs:attribute name="IsEnabled" type="xs:string">
<xs:annotation>
<xs:documentation>Whether or not collection of the contents of this folder is enabled. By default, it is not enabled.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attributeGroup ref="RelativeFolderPath"/>
<xs:attributeGroup ref="DataDeletionAgeInDays"/>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
تفاصيل عنصر المحتوى
CrashDumpSource
يحدد مجموعة تفريغ الأعطال. يتم تجميع مستودعات معلومات الأعطال للملفات التنفيذية التي تستضيف حزم التعليمات البرمجية لجميع الخدمات التي تنتمي إلى التطبيق.
السمة
القيمة
الاسم
CrashDumpSource
minOccurs
0
ETWSource
يحدد مجموعة تتبع ETW. يتم جمع آثار ETW لموفري الخدمات المسجلين من قِبل جميع الخدمات التابعة للتطبيق.
السمة
القيمة
الاسم
ETWSource
minOccurs
0
FolderSource
يحدد مجموعة محتويات مجلد معين على العقدة المحلية.
السمة
القيمة
الاسم
FolderSource
minOccurs
0
maxOccurs
غير مقيد
DllHostEntryPointType complexType
غير مدعوم، لا تستخدمه. يتم توفير دعم استضافة DLL (نقطة دخول التجميع) من خلال عملية FWP.exe. Service Fabric يبدأ عملية Fabric Worker Process (FWP.exe)، ويقوم بتحميل التجميع كجزء من عملية التنشيط.
السمة
القيمة
المحتوى
2 عنصر، 1 سمة
defined
عموميًا
الاسم
DllHostEntryPointType
مصدر XML
<xs:complexType xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="DllHostEntryPointType">
<xs:annotation>
<xs:documentation>Unsupported, do not use. DLL hosting support (assembly entry point) is provided through the FWP.exe process. Service Fabric starts the Fabric Worker Process (FWP.exe) and loads the assembly as part of the activation process.</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element name="UnmanagedDll" type="UnmanagedDllType"/>
<xs:element name="ManagedAssembly" type="ManagedAssemblyType"/>
</xs:choice>
</xs:sequence>
<xs:attribute name="IsolationPolicy" use="optional" default="DedicatedProcess">
<xs:annotation>
<xs:documentation>Unsupported, do not use. Defines the isolation policy for the Unmanaged DLLs and Managed Assemblies loaded in the DllHost. </xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:enumeration value="SharedDomain"/>
<xs:enumeration value="DedicatedDomain"/>
<xs:enumeration value="DedicatedProcess"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
</xs:complexType>
تفاصيل السمة
IsolationPolicy
غير مدعوم، لا تستخدمه. يحدد نهج العزل لمكتبات DLL غير المدارة والتجميعات المدارة التي تم تحميلها في DllHost.
خيارات برنامج تشغيل الجهاز التي سيتم تمريرها إلى برنامج التشغيل. يدعم المكون الإضافي لوحدة تخزين ملفات Azure خيارات برنامج التشغيل التالية: shareName (مشاركة ملف ملفات Azure التي توفر وحدة التخزين للحاوية)، وstorageAccountName (حساب تخزين Azure الذي يحتوي على مشاركة ملف ملفات Azure)، وstorageAccountKey (مفتاح الوصول لحساب تخزين Azure الذي يحتوي على مشاركة ملف ملفات Azure).
خيارات برنامج التشغيل الثلاثة هذه مطلوبة.
السمة
القيمة
المحتوى
0 عنصر، 4 سمات
defined
عموميًا
الاسم
DriverOptionType
مصدر XML
<xs:complexType xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="DriverOptionType">
<xs:annotation>
<xs:documentation>Driver options to be passed to driver. The Azure Files volume plugin supports the following driver options:
shareName (the Azure Files file share that provides the volume for the container), storageAccountName (the Azure storage account
that contains the Azure Files file share), storageAccountKey (Access key for the Azure storage account that contains the Azure Files file share).
These three driver options are required.</xs:documentation>
</xs:annotation>
<xs:attribute name="Name" type="xs:string" use="required">
<xs:annotation>
<xs:documentation>The name of the driver option. </xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="Value" type="xs:string" use="required">
<xs:annotation>
<xs:documentation>The value of the driver option. </xs:documentation>
</xs:annotation>
</xs:attribute>
<!-- TODO [dragosav] this needs to be deprecated; unclear if we can outright remove it, or give advance notice and remove it in an upcoming release. -->
<xs:attribute name="IsEncrypted" type="xs:string" use="optional" default="false"/>
<xs:attribute name="Type" type="xs:string" use="optional" default="PlainText">
<xs:annotation>
<xs:documentation>
This value defines the protection of the value of the attribute. It may be SecretsStoreRef/Encrypted/PlainText.
If set to SecretsStoreRef, the value references a secret stored encrypted in the cluster's SecureStore, which is de-referenced and decrypted upon activation.
If set to Encrypted, the application developer is responsible for creating a certificate and using the Invoke-ServiceFabricEncryptSecret cmdlet to encrypt sensitive information.
</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
تفاصيل السمة
الاسم
اسم خيار برنامج التشغيل.
السمة
القيمة
الاسم
Name
النوع
xs:string
الاستخدام
مطلوب
القيمة
قيمة خيار برنامج التشغيل.
السمة
القيمة
الاسم
القيمة
النوع
xs:string
الاستخدام
مطلوب
IsEncrypted
السمة
القيمة
الاسم
IsEncrypted
النوع
xs:string
الاستخدام
اختياري
افتراضي
true
نوع
تحدد هذه القيمة حماية قيمة السمة. قد يكون SecretsStoreRef/Encrypted/PlainText.
إذا تم تعيينها على SecretsStoreRef، فإن القيمة تشير إلى بيانات سرية تم تخزينها ومشفرة في SecureStore الخاص بنظام المجموعة، والذي يتم إلغاء الإشارة إليه وفك تشفيره عند التنشيط.
إذا تم التعيين على «مشفرة»، يكون مطور التطبيق مسؤولاً عن إنشاء شهادة واستخدام الأمر cmdlet المسمى «Invoke-ServiceFabricEncryptSecret» لتشفير المعلومات الحساسة.
السمة
القيمة
الاسم
نوع
النوع
xs:string
الاستخدام
اختياري
افتراضي
PlainText
EndpointBindingPolicyType complexType
السمة
القيمة
المحتوى
0 عنصر، 2 سمة
defined
عموميًا
الاسم
EndpointBindingPolicyType
مصدر XML
<xs:complexType xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="EndpointBindingPolicyType">
<xs:attribute name="EndpointRef">
<xs:annotation>
<xs:documentation>The name of the endpoint, which must be declared in the Resources section of the service manifest. When using HTTPS, do not use
the same port and certificate for different service instances (independent of the application) deployed to the same node. Upgrading two different services
using the same port in different application instances will result in an upgrade failure.</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:minLength value="1"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
<xs:attribute name="CertificateRef" use="required">
<xs:annotation>
<xs:documentation>The name of the endpoint certificate, declared in the Certificates section, to return to the client. </xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:minLength value="1"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
</xs:complexType>
تفاصيل السمة
EndpointRef
اسم نقطة النهاية، التي يجب تعريفها في قسم «الموارد» في بيان الخدمة. عند استخدام HTTPS، لا تستخدم المنفذ والشهادة نفسها لمثيلات خدمة مختلفة (مستقلة عن التطبيق) تم توزيعها على العقدة نفسها. ستؤدي ترقية خدمتين مختلفتين باستخدام المنفذ نفسه في مثيلات تطبيق مختلفة إلى فشل الترقية.
السمة
القيمة
الاسم
EndpointRef
CertificateRef
اسم شهادة نقطة النهاية، المعلن عنها في قسم «الشهادات»، للعودة إلى الكمبيوتر العميل.
السمة
القيمة
الاسم
CertificateRef
الاستخدام
مطلوب
EndpointCertificateType complexType
يحدد معلومات حول شهادة X509 المستخدمة لتأمين نقطة نهاية.
السمة
القيمة
المحتوى
0 عنصر، 3 سمات
defined
عموميًا
الاسم
EndpointCertificateType
مصدر XML
<xs:complexType xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="EndpointCertificateType">
<xs:annotation>
<xs:documentation>Specifies information about an X509 certificate used to secure an endpoint.</xs:documentation>
</xs:annotation>
<xs:attribute name="X509StoreName" type="xs:string" default="My">
<xs:annotation>
<xs:documentation>The store name for the X509 certificate.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="X509FindValue" use="required">
<xs:annotation>
<xs:documentation>The thumbprint of the X509 certificate.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="Name" type="xs:string" use="optional"/>
</xs:complexType>
تفاصيل السمة
X509StoreName
اسم مخزن شهادة X509.
السمة
القيمة
الاسم
X509StoreName
النوع
xs:string
افتراضي
MY
X509FindValue
بصمة الإبهام لشهادة X509.
السمة
القيمة
الاسم
X509FindValue
الاستخدام
مطلوب
الاسم
السمة
القيمة
الاسم
Name
النوع
xs:string
الاستخدام
اختياري
EndpointOverrideType complexType
السمة
القيمة
المحتوى
0 عنصر، 6 سمات
defined
عموميًا
الاسم
EndpointOverrideType
مصدر XML
<xs:complexType xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="EndpointOverrideType">
<xs:attribute name="Name" use="required">
<xs:annotation>
<xs:documentation>The name of the endpoint to override. A string.</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:minLength value="1"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
<xs:attribute name="Port" type="xs:string">
<xs:annotation>
<xs:documentation>The port number for the endpoint. Overrides the value in the service manifest.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="Protocol" type="xs:string" use="optional">
<xs:annotation>
<xs:documentation>The protocol for the endpoint. Overrides the value in the service manifest. HTTPS endpoints must also have an EndpointCertificate and an EndpointBindingPolicy declared in the application manifest. The protocol cannot be changed later in an application upgrade. </xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="Type" type="xs:string" use="optional">
<xs:annotation>
<xs:documentation>The type of the endpoint. Overrides the value in the service manifest. Input endpoints are used to expose the port to the outside, internal endpoints are used for intra-application communication.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="UriScheme" use="optional">
<xs:annotation>
<xs:documentation>The URI scheme. Overrides the value in the service manifest. For example, "http", "https", or "ftp".</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="PathSuffix" use="optional">
<xs:annotation>
<xs:documentation>The path suffix. For example, "/myapp1". Overrides the value in the service manifest.</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
تفاصيل السمة
الاسم
اسم نقطة النهاية المراد تجاوزها. سلسلة.
السمة
القيمة
الاسم
الاسم
الاستخدام
مطلوب
المنفذ
رقم المنفذ لنقطة النهاية. يتجاوز القيمة الموجودة في بيان الخدمة.
السمة
القيمة
الاسم
المنفذ
النوع
xs:string
البروتوكول
بروتوكول نقطة النهاية. يتجاوز القيمة الموجودة في بيان الخدمة. يجب أن تحتوي نقاط نهاية HTTPS أيضاً على شهادة EndpointCertificate وEndpointBindingPolicy معلنة في بيان التطبيق. لا يمكن تغيير البروتوكول لاحقاً في ترقية التطبيق.
السمة
القيمة
الاسم
البروتوكول
النوع
xs:string
الاستخدام
اختياري
نوع
نوع نقطة النهاية. يتجاوز القيمة الموجودة في بيان الخدمة. يتم استخدام نقاط نهاية الإدخال لتعريض المنفذ للخارج، ويتم استخدام نقاط النهاية الداخلية للاتصال داخل التطبيق.
السمة
القيمة
الاسم
نوع
النوع
xs:string
الاستخدام
اختياري
UriScheme
مخطط URI. يتجاوز القيمة الموجودة في بيان الخدمة. على سبيل المثال، "http" أو "https" أو "ftp".
السمة
القيمة
الاسم
UriScheme
الاستخدام
اختياري
PathSuffix
لاحقة المسار. على سبيل المثال، "/myapp1". يتجاوز القيمة الموجودة في بيان الخدمة.
السمة
القيمة
الاسم
PathSuffix
الاستخدام
اختياري
EndpointType complexType
يحدد نقطة نهاية للخدمة. يمكن طلب منافذ محددة. إذا لم يتم تحديد منفذ بشكل صريح، يتم تعيين منفذ من نطاق منفذ التطبيق المحجوز. يمكن تعيين أرقام منافذ مختلفة للنسخ المتماثلة للخدمة التي تعمل على عقد نظام مجموعة مختلفة، بينما تشترك النسخ المتماثلة للخدمة نفسها التي تعمل على العقدة نفسها في المنفذ نفسه. يمكن استخدام هذه المنافذ بواسطة النسخ المتماثلة للخدمة لأغراض مختلفة، مثل النسخ المتماثل أو الاستماع لطلبات العميل.
السمة
القيمة
المحتوى
0 عنصر، 8 سمات
defined
عموميًا
الاسم
EndpointType
مصدر XML
<xs:complexType xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="EndpointType">
<xs:annotation>
<xs:documentation>Defines an endpoint for the service. Specific ports can be requested. If a port is not explicitly specified, a port is assigned from the reserved application port range. Service replicas running on different cluster nodes can be assigned different port numbers, while replicas of the same service running on the same node share the same port. Such ports can be used by the service replicas for various purposes such as replication or listening for client requests.</xs:documentation>
</xs:annotation>
<xs:attribute name="Name" use="required">
<xs:annotation>
<xs:documentation>The name of the endpoint.</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:minLength value="1"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
<xs:attribute name="Protocol" use="optional" default="tcp">
<xs:annotation>
<xs:documentation>The protocol for the endpoint: http, https, tcp, or udp. HTTPS endpoints must also have an EndpointCertificate and an EndpointBindingPolicy declared in the application manifest. The protocol cannot be changed later in an application upgrade. </xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:enumeration value="http"/>
<xs:enumeration value="https"/>
<xs:enumeration value="tcp"/>
<xs:enumeration value="udp"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
<xs:attribute name="Type" use="optional" default="Internal">
<xs:annotation>
<xs:documentation>The type of the endpoint. Input endpoints are used to expose the port to the outside, internal endpoints are used for intra-application communication.</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:enumeration value="Input"/>
<xs:enumeration value="Internal"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
<xs:attribute name="CodePackageRef" use="optional">
<xs:annotation>
<xs:documentation>The name of code Package that will use this endpoint.</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:minLength value="1"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
<xs:attribute name="CertificateRef">
<xs:annotation>
<xs:documentation>Do not use, this attribute is not supported.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="Port">
<xs:annotation>
<xs:documentation>The port will be replaced with a port determined by Microsoft Azure Service Fabric after registering with Http.sys or BFE.</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:int">
<xs:minInclusive value="0"/>
<xs:maxInclusive value="65535"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
<xs:attribute name="UriScheme">
<xs:annotation>
<xs:documentation>The URI scheme. For example, "http", "https", or "ftp".</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="PathSuffix">
<xs:annotation>
<xs:documentation>The path suffix. For example, "/myapp1".</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
تفاصيل السمة
الاسم
اسم نقطة النهاية.
السمة
القيمة
الاسم
الاسم
الاستخدام
مطلوب
البروتوكول
بروتوكول نقطة النهاية: http أو https أو tcp أو udp. يجب أن تحتوي نقاط نهاية HTTPS أيضاً على شهادة EndpointCertificate وEndpointBindingPolicy معلنة في بيان التطبيق. لا يمكن تغيير البروتوكول لاحقاً في ترقية التطبيق.
السمة
القيمة
الاسم
البروتوكول
الاستخدام
اختياري
افتراضي
tcp
نوع
نوع نقطة النهاية. يتم استخدام نقاط نهاية الإدخال لتعريض المنفذ للخارج، ويتم استخدام نقاط النهاية الداخلية للاتصال داخل التطبيق.
السمة
القيمة
الاسم
النوع
الاستخدام
اختياري
افتراضي
داخلي
CodePackageRef
اسم حزمة التعليمات البرمجية التي ستستخدم نقطة النهاية هذه.
السمة
القيمة
الاسم
CodePackageRef
الاستخدام
اختياري
CertificateRef
لا تستخدمها، هذه السمة غير مدعومة.
السمة
القيمة
الاسم
CertificateRef
المنفذ
سيتم استبدال المنفذ بمنفذ يحدده Microsoft Azure Service Fabric بعد التسجيل في Http.sys أو BFE.
السمة
القيمة
الاسم
المنفذ
UriScheme
مخطط URI. على سبيل المثال، "http" أو "https" أو "ftp".
السمة
القيمة
الاسم
UriScheme
PathSuffix
لاحقة المسار. على سبيل المثال، "/myapp1".
السمة
القيمة
الاسم
PathSuffix
EntryPointDescriptionType complexType
عادة ما يكون الملف التنفيذي المُحدد بواسطة EntryPoint هو مضيف خدمة التشغيل لفترة طويلة. يؤدي وجود نقطة إدخال إعداد منفصلة إلى تجنب الاضطرار إلى تشغيل مضيف الخدمة بامتيازات عالية لفترات طويلة من الزمن. يتم تشغيل الملف التنفيذي المحدد من قِبل EntryPoint بعد إنهاء SetupEntryPoint بنجاح. تتم مراقبة العملية الناتجة وإعادة تشغيلها (تبدأ مرة أخرى بـ SetupEntryPoint) إذا تم إنهاؤها أو تعطلت.
السمة
القيمة
المحتوى
3 عناصر، 0 سمة
defined
عموميًا
الاسم
EntryPointDescriptionType
مصدر XML
<xs:complexType xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="EntryPointDescriptionType">
<xs:annotation>
<xs:documentation>The executable specified by EntryPoint is typically the long-running service host. The presence of a separate setup entry point avoids having to run the service host with high privileges for extended periods of time. The executable specified by EntryPoint is run after SetupEntryPoint exits successfully. The resulting process is monitored and restarted (beginning again with SetupEntryPoint) if it ever terminates or crashes.</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:choice>
<xs:element name="ExeHost">
<xs:complexType>
<xs:complexContent>
<xs:extension base="ExeHostEntryPointType">
<xs:sequence>
<xs:element name="RunFrequency" minOccurs="0">
<xs:complexType>
<xs:attribute name="IntervalInSeconds" use="required">
<xs:simpleType>
<xs:restriction base="xs:int">
<xs:minInclusive value="0"/>
<xs:maxInclusive value="2147483647"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
</xs:element>
<xs:element name="DllHost" type="DllHostEntryPointType"/>
<xs:element name="ContainerHost" type="ContainerHostEntryPointType"/>
</xs:choice>
</xs:sequence>
</xs:complexType>
<xs:complexType xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="EnvironmentVariableType">
<xs:attribute name="Name" type="xs:string" use="required">
<xs:annotation>
<xs:documentation>Name of environment variable.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="Value">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:minLength value="0"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
<xs:attribute name="Type" use="optional" default="PlainText">
<xs:annotation>
<xs:documentation>
The type for the Environment Variable. It can be PlainText/Encrypted/SecretsStoreRef.
If set to SecretsStoreRef, we retrieve the reference value from the SecretStore.
If set to Encrypted, the application developer is responsible for creating a certificate and using the Invoke-ServiceFabricEncryptSecret cmdlet to encrypt sensitive information.
</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:enumeration value="PlainText"/>
<xs:enumeration value="Encrypted"/>
<xs:enumeration value="SecretsStoreRef"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
</xs:complexType>
تفاصيل السمة
الاسم
اسم متغير البيئة.
السمة
القيمة
الاسم
Name
النوع
xs:string
الاستخدام
مطلوب
القيمة
السمة
القيمة
الاسم
القيمة
نوع
نوع متغير البيئة. يمكن أن يكون نصًا عاديًا / مشفرًا / SecretsStoreRef.
إذا تم التعيين على SecretsStoreRef، فإننا نسترد القيمة المرجعية من SecretStore.
إذا تم التعيين على «مشفرة»، يكون مطور التطبيق مسؤولاً عن إنشاء شهادة واستخدام الأمر cmdlet المسمى «Invoke-ServiceFabricEncryptSecret» لتشفير المعلومات الحساسة.
السمة
القيمة
الاسم
النوع
الاستخدام
اختياري
افتراضي
PlainText
EnvironmentVariablesType complexType
مرر متغيرات البيئة إلى الحاوية الخاصة بك أو exe.
السمة
القيمة
المحتوى
1 عنصر، 0 سمة
defined
عموميًا
الاسم
EnvironmentVariablesType
مصدر XML
<xs:complexType xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="EnvironmentVariablesType">
<xs:annotation>
<xs:documentation>Pass environment variables to your container or exe. </xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="EnvironmentVariable" type="EnvironmentVariableType" minOccurs="0" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>Environment variable.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
<xs:complexType xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="ExeHostEntryPointType">
<xs:sequence>
<xs:element name="Program" type="xs:string">
<xs:annotation>
<xs:documentation>The executable name. For example, "MySetup.bat" or "MyServiceHost.exe".</xs:documentation>
</xs:annotation></xs:element>
<xs:element name="Arguments" type="xs:string" minOccurs="0"/>
<xs:element name="WorkingFolder" default="Work" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:enumeration value="Work"/>
<xs:enumeration value="CodePackage"/>
<xs:enumeration value="CodeBase"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="ConsoleRedirection" minOccurs="0">
<xs:annotation>
<xs:documentation>Warning! Do not use console redirection in a production application, only use it for local development and debugging. Redirects console output from the startup script to an output file in the application folder called "log" on the cluster node where the application is deployed and run.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:attribute name="FileRetentionCount" default="2">
<xs:annotation>
<xs:documentation>Sets the number of console redirection output files to retain. Must be a positive integer, the default value is "2".</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:int">
<xs:minInclusive value="1"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
<xs:attribute name="FileMaxSizeInKb" default="20480">
<xs:annotation>
<xs:documentation>Set the maximum size of a console redirection output file. Must be a positive integer greater than 128KB, the default value is "20480".</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:int">
<xs:minInclusive value="128"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
</xs:complexType>
</xs:element>
</xs:sequence>
<xs:attribute name="IsExternalExecutable" type="xs:boolean" default="false">
<xs:annotation>
<xs:documentation>True if the executable is external to the application package. Program existence check in the application package is skipped.</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
تفاصيل السمة
IsExternalExecutable
صحيح إذا كان الملف التنفيذي خارجيًا لحزمة التطبيق. يتم تخطي إيداع وجود البرنامج في حزمة التطبيق.
السمة
القيمة
الاسم
IsExternalExecutable
النوع
xs:boolean
افتراضي
true
تفاصيل عنصر المحتوى
البرنامج
الاسم القابل للتنفيذ. على سبيل المثال، "MySetup.bat" أو "MyServiceHost.exe".
السمة
القيمة
الاسم
البرنامج
النوع
xs:string
الوسيطات
السمة
القيمة
الاسم
الوسيطات
النوع
xs:string
minOccurs
0
WorkingFolder
السمة
القيمة
الاسم
WorkingFolder
افتراضي
عمل
minOccurs
0
ConsoleRedirection
تحذير! لا تستخدم إعادة توجيه وحدة التحكم في تطبيق إنتاج، بل استخدمها فقط للتطوير المحلي وتصحيح الأخطاء. يُعيد توجيه إخراج وحدة التحكم من البرنامج النصي لبدء التشغيل إلى ملف الإخراج في مجلد التطبيق المسمى "log" على عقدة نظام المجموعة حيث يتم توزيع التطبيق وتشغيله.
السمة
القيمة
الاسم
ConsoleRedirection
minOccurs
0
ExtensionsType complexType
يصف الامتدادات التي يمكن تطبيقها على العناصر الأخرى.
السمة
القيمة
المحتوى
1 عنصر، 0 سمة
defined
عموميًا
الاسم
ExtensionsType
مصدر XML
<xs:complexType xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="ExtensionsType">
<xs:annotation>
<xs:documentation>Describes extensions that can be applied to other elements.</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="Extension" minOccurs="0" maxOccurs="unbounded">
<xs:complexType>
<xs:sequence>
<xs:any namespace="##other" processContents="lax"/>
</xs:sequence>
<xs:attribute name="Name" use="required">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:minLength value="1"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
<xs:attribute name="GeneratedId" type="xs:string" use="optional"/>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
تفاصيل عنصر المحتوى
ملحق
السمة
القيمة
الاسم
ملحق
minOccurs
0
maxOccurs
غير مقيد
FabricCertificateType complexType
يحدد معلومات الشهادة.
السمة
القيمة
المحتوى
0 عنصر، 5 سمات
defined
عموميًا
الاسم
FabricCertificateType
مصدر XML
<xs:complexType xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="FabricCertificateType">
<xs:annotation>
<xs:documentation>This specifies the certificate information.</xs:documentation>
</xs:annotation>
<xs:attribute name="X509StoreName" type="xs:string" default="My">
<xs:annotation>
<xs:documentation>The store name for the X509 certificate.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="X509FindType" default="FindByThumbprint">
<xs:annotation>
<xs:documentation>This is Used only when credential is X509. This specifies how to find the certificate whether by the name or the thumbprint </xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:enumeration value="FindByThumbprint"/>
<xs:enumeration value="FindBySubjectName"/>
<xs:enumeration value="FindByExtension"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
<xs:attribute name="X509FindValue" use="required">
<xs:annotation>
<xs:documentation>This is Used only when credential is X509. This is the actual name or thumbprint of the certificate.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="X509FindValueSecondary" use="optional" default="">
<xs:annotation>
<xs:documentation>This is used only when credential is X509. This is the actual name or thumbprint of the certificate.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="Name" type="xs:string" use="optional"/>
</xs:complexType>
تفاصيل السمة
X509StoreName
اسم مخزن شهادة X509.
السمة
القيمة
الاسم
X509StoreName
النوع
xs:string
افتراضي
MY
X509FindType
يتم استخدام هذا فقط عندما تكون بيانات الاعتماد X509. يحدد هذا كيفية العثور على الشهادة سواء بالاسم أو بصمة الإبهام
السمة
القيمة
الاسم
X509FindType
افتراضي
FindByThumbprint
X509FindValue
يتم استخدام هذا فقط عندما تكون بيانات الاعتماد X509. هذا هو الاسم الفعلي أو بصمة الإبهام الخاصة بالشهادة.
السمة
القيمة
الاسم
X509FindValue
الاستخدام
مطلوب
X509FindValueSecondary
يتم استخدام هذا فقط عندما تكون بيانات الاعتماد X509. هذا هو الاسم الفعلي أو بصمة الإبهام الخاصة بالشهادة.
<xs:complexType xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="FabricKtlLoggerSettingsType">
<xs:all>
<xs:element name="SharedLogFilePath" minOccurs="0">
<xs:annotation>
<xs:documentation>Defines path to shared log.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:attribute name="Value" type="xs:string" use="required"/>
</xs:complexType>
</xs:element>
<xs:element name="SharedLogFileId" minOccurs="0">
<xs:annotation>
<xs:documentation>Specific GUID to use as the shared log ID.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:attribute name="Value" use="required">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:pattern value="[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
</xs:complexType>
</xs:element>
<xs:element name="SharedLogFileSizeInMB" minOccurs="0">
<xs:annotation>
<xs:documentation>Defines how large is the shared log.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:attribute name="Value" use="required">
<xs:simpleType>
<xs:restriction base="xs:int">
<xs:minInclusive value="512"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
</xs:complexType>
</xs:element>
</xs:all>
</xs:complexType>
تفاصيل عنصر المحتوى
SharedLogFilePath
يحدد المسار إلى السجل المشترك.
السمة
القيمة
الاسم
SharedLogFilePath
minOccurs
0
SharedLogFileId
GUID محدد لاستخدامه كمعرف السجل المشترك.
السمة
القيمة
الاسم
SharedLogFileId
minOccurs
0
SharedLogFileSizeInMB
يحدد حجم السجل المشترك.
السمة
القيمة
الاسم
SharedLogFileSizeInMB
minOccurs
0
FabricNodeType complexType
يصف عقدة Microsoft Azure Service Fabric.
السمة
القيمة
المحتوى
0 عنصر، 6 سمات
defined
عموميًا
الاسم
FabricNodeType
مصدر XML
<xs:complexType xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="FabricNodeType">
<xs:annotation>
<xs:documentation>Describes a Microsoft Azure Service Fabric Node.</xs:documentation>
</xs:annotation>
<xs:attribute name="NodeName" type="xs:string" use="required">
<xs:annotation>
<xs:documentation>The name of the node instance.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="IPAddressOrFQDN" type="xs:string" use="required">
<xs:annotation>
<xs:documentation>The IP address or the FQDN of the machine on which to place this node.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="IsSeedNode" type="xs:boolean" default="false">
<xs:annotation>
<xs:documentation>A flag indicating whether or not this node is a seed node.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="NodeTypeRef" type="xs:string" use="required">
<xs:annotation>
<xs:documentation>Name of the nodetype defined in the NodeTypes section. </xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="FaultDomain" type="xs:anyURI" use="optional">
<xs:annotation>
<xs:documentation>The fault domain of this node.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="UpgradeDomain" type="xs:anyURI" use="optional">
<xs:annotation>
<xs:documentation>The upgrade domain of this node.</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
تفاصيل السمة
NodeName
اسم مثيل العقدة.
السمة
القيمة
الاسم
NodeName
النوع
xs:string
الاستخدام
مطلوب
IPAddressOrFQDN
عنوان IP أو اسم المجال المؤهل بالكامل للجهاز لوضع هذه العقدة عليه.
السمة
القيمة
الاسم
IPAddressOrFQDN
النوع
xs:string
الاستخدام
مطلوب
IsSeedNode
علامة تشير إلى ما إذا كانت هذه العقدة هي عقدة بذور أم لا.
السمة
القيمة
الاسم
IsSeedNode
النوع
xs:boolean
افتراضي
true
NodeTypeRef
اسم nodetype المحدد في قسم NodeTypes.
السمة
القيمة
الاسم
NodeTypeRef
النوع
xs:string
الاستخدام
مطلوب
FaultDomain
مجال الخطأ لهذه العقدة.
السمة
القيمة
الاسم
FaultDomain
النوع
xs:anyURI
الاستخدام
اختياري
UpgradeDomain
مجال الترقية لهذه العقدة.
السمة
القيمة
الاسم
UpgradeDomain
النوع
xs:anyURI
الاستخدام
اختياري
FileStoreETWType complexType
يصف وجهة مخزن الملفات لأحداث ETW. يعمل فقط في بيئة محلية.
السمة
القيمة
المحتوى
0 عنصر، 0 سمة
defined
عموميًا
الاسم
FileStoreETWType
مصدر XML
<xs:complexType xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="FileStoreETWType">
<xs:annotation>
<xs:documentation>Describes a file store destination for ETW events. Works only in on-premises environment.</xs:documentation>
</xs:annotation>
<xs:complexContent>
<xs:extension base="FileStoreType">
<xs:attributeGroup ref="LevelFilter"/>
</xs:extension>
</xs:complexContent>
</xs:complexType>
FileStoreType complexType
يصف وجهة مخزن الملفات لبيانات التشخيص. يعمل فقط في بيئة نظام مجموعة قائمة بذاتها.
السمة
القيمة
المحتوى
1 عنصر، 2 سمة
defined
عموميًا
الاسم
FileStoreType
مصدر XML
<xs:complexType xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="FileStoreType">
<xs:annotation>
<xs:documentation>Describes a file store destination for diagnostics data. Works only in a standalone cluster environment.</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element ref="Parameters" minOccurs="0"/>
</xs:sequence>
<xs:attributeGroup ref="IsEnabled"/>
<xs:attributeGroup ref="Path"/>
<xs:attributeGroup ref="UploadIntervalInMinutes"/>
<xs:attributeGroup ref="DataDeletionAgeInDays"/>
<xs:attribute name="AccountType" type="xs:string">
<xs:annotation>
<xs:documentation>Specifies the type of account.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attributeGroup ref="AccountCredentialsGroup"/>
<xs:attribute name="PasswordEncrypted" type="xs:string">
<xs:annotation>
<xs:documentation>Specifies if password is encrypted or plain text.</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
تفاصيل السمة
AccountType
يحدد نوع الحساب.
السمة
القيمة
الاسم
AccountType
النوع
xs:string
PasswordEncrypted
يحدد ما إذا كانت كلمة المرور مشفرة أو نصًا عاديًا.
السمة
القيمة
الاسم
PasswordEncrypted
النوع
xs:string
تفاصيل عنصر المحتوى
بلا
السمة
القيمة
مرجع
المعلمات
minOccurs
0
ImageOverridesType complexType
قد لا تكون حاويات Windows Server متوافقة عبر إصدارات مختلفة من نظام التشغيل. يمكنك تحديد صور نظام تشغيل متعددة لكل حاوية ووضع علامة عليها باستخدام إصدارات البنية لنظام التشغيل. احصل على إصدار بنية لنظام التشغيل عن طريق تشغيل "winver" في موجه أوامر Windows. إذا كان نظام التشغيل الأساسي هو إصدار البنية 16299 (Windows Server الإصدار 1709)، يختار Service Fabric صورة الحاوية الموسومة بـOs="16299". يُفترض أن تعمل صورة الحاوية غير المميزة بعلامة عبر جميع إصدارات نظام التشغيل، وتتجاوز الصورة المحددة في بيان الخدمة.
السمة
القيمة
المحتوى
1 عنصر، 0 سمة
defined
عموميًا
الاسم
ImageOverridesType
مصدر XML
<xs:complexType xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="ImageOverridesType">
<xs:annotation>
<xs:documentation>Windows Server containers may not be compatible across different versions of the OS. You can specify multiple OS images per container and tag
them with the build versions of the OS. Get the build version of the OS by running "winver" at a Windows command prompt. If the underlying OS
is build version 16299 (Windows Server version 1709), Service Fabric picks the container image tagged with Os="16299". An untagged container image
is assumed to work across all versions of the OS and overrides the image specified in the service manifest.</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="Image" type="ImageType" minOccurs="0" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>Container image corresponding to OS build version number to be launched. If the Os attribute is not specified, the container image
is assumed to work across all versions of the OS and overrides the image specified in the service manifest.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
تفاصيل عنصر المحتوى
الصورة
سيتم تشغيل صورة الحاوية المقابلة لرقم إصدار بنية نظام التشغيل. إذا لم يتم تحديد سمة نظام التشغيل، فمن المفترض أن تعمل صورة الحاوية عبر جميع إصدارات نظام التشغيل وتتجاوز الصورة المحددة في بيان الخدمة.
<xs:complexType xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="ImageType">
<xs:attribute name="Name" type="xs:string" use="required">
<xs:annotation>
<xs:documentation>Name of container image.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="Os" type="xs:string" use="optional">
<xs:annotation>
<xs:documentation>Build version of the OS. For example, the build version of Windows Server version 1709 is 16299.</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
تفاصيل السمة
الاسم
اسم صورة الحاوية.
السمة
القيمة
الاسم
Name
النوع
xs:string
الاستخدام
مطلوب
نظام التشغيل
إصدار البنية لنظام التشغيل. على سبيل المثال، إصدار بنية Windows Server الإصدار 1709 هو 16299.
السمة
القيمة
الاسم
نظام التشغيل
النوع
xs:string
الاستخدام
اختياري
InfrastructureInformationType complexType
يحتوي على معلومات البنية الأساسية لنظام مجموعة Microsoft Azure Service Fabric هذا.
السمة
القيمة
المحتوى
1 عنصر، 0 سمة
defined
عموميًا
الاسم
InfrastructureInformationType
مصدر XML
<xs:complexType xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="InfrastructureInformationType">
<xs:annotation>
<xs:documentation>Contains the infrastructure information for this Microsoft Azure Service Fabric cluster.</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="NodeList">
<xs:complexType>
<xs:sequence>
<xs:element name="Node" type="InfrastructureNodeType" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
تفاصيل عنصر المحتوى
NodeList
السمة
القيمة
الاسم
NodeList
InfrastructureNodeType complexType
يصف معلومات البنية الأساسية المطلوبة.
السمة
القيمة
المحتوى
2 عنصر، 7 سمات
defined
عموميًا
الاسم
InfrastructureNodeType
مصدر XML
<xs:complexType xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="InfrastructureNodeType">
<xs:annotation>
<xs:documentation>Describes an Infrastructure information needed.</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="Endpoints" type="FabricEndpointsType" minOccurs="0">
<xs:annotation>
<xs:documentation>Describe the endpoints associated with this node type</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="Certificates" type="CertificatesType" minOccurs="0">
<xs:annotation>
<xs:documentation>Describe the certificates associated with this node type</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
<xs:attribute name="NodeName" type="xs:string" use="required">
<xs:annotation>
<xs:documentation>The name of the node instance.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="IPAddressOrFQDN" type="xs:string" use="required">
<xs:annotation>
<xs:documentation>The IP address or the FQDN of the machine on which to place this node.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="RoleOrTierName" type="xs:string" use="required">
<xs:annotation>
<xs:documentation>Name of the role which links to node type ref which is defined in the NodeTypes section.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="NodeTypeRef" type="xs:string" use="required">
<xs:annotation>
<xs:documentation>Name of the node type which is defined in the NodeTypes section.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="IsSeedNode" type="xs:boolean" use="optional" default="false">
<xs:annotation>
<xs:documentation>Indicates whether the node is a seed node.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="FaultDomain" type="xs:anyURI" use="optional">
<xs:annotation>
<xs:documentation> The fault domain of this node. </xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="UpgradeDomain" type="xs:anyURI" use="optional">
<xs:annotation>
<xs:documentation>The upgrade domain of this node. </xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
تفاصيل السمة
NodeName
اسم مثيل العقدة.
السمة
القيمة
الاسم
NodeName
النوع
xs:string
الاستخدام
مطلوب
IPAddressOrFQDN
عنوان IP أو اسم المجال المؤهل بالكامل للجهاز لوضع هذه العقدة عليه.
السمة
القيمة
الاسم
IPAddressOrFQDN
النوع
xs:string
الاستخدام
مطلوب
RoleOrTierName
اسم الدور الذي يرتبط بنوع العقدة ref الذي تم تعريفه في قسم NodeTypes.
مورد يجب موازنة هذه الخدمة عليه، مثل استخدام الذاكرة أو وحدة المعالجة المركزية (CPU). يتضمن معلومات حول المقدار الذي تستهلكه كل نسخة مماثلة أو مثيل لهذه الخدمة من هذا المورد افتراضيًا.
السمة
القيمة
المحتوى
0 عنصر، 5 سمات
defined
عموميًا
الاسم
LoadMetricType
مصدر XML
<xs:complexType xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="LoadMetricType">
<xs:annotation>
<xs:documentation>A resource that this service should be balanced on, such as memory or CPU usage. Includes information about how much of that resource each replica or instance of this service consumes by default.</xs:documentation>
</xs:annotation>
<xs:attribute name="Name" use="required">
<xs:annotation>
<xs:documentation>A unique identifier for the metric within the cluster from the Cluster Resource Manager's perspective.</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:minLength value="1"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
<xs:attribute name="DefaultLoad" type="xs:long" use="optional" default="0">
<xs:annotation>
<xs:documentation>The default amount of load that this stateless service creates for this metric.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="PrimaryDefaultLoad" type="xs:long" use="optional" default="0">
<xs:annotation>
<xs:documentation>The default amount of load that this service will exert for this metric when it's a primary replica.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="SecondaryDefaultLoad" type="xs:long" use="optional" default="0">
<xs:annotation>
<xs:documentation>The default amount of load that this service will exert for this metric when it's a secondary replica.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="Weight">
<xs:annotation>
<xs:documentation>Determines the metric weight relative to the other metrics that are configured for this service. During runtime, if two metrics end up in conflict, the Cluster Resource Manager prefers the metric with the higher weight. Zero disables load balancing for this metric.</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:enumeration value="Zero"/>
<xs:enumeration value="Low"/>
<xs:enumeration value="Medium"/>
<xs:enumeration value="High"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
</xs:complexType>
تفاصيل السمة
الاسم
معرف فريد للمقياس داخل نظام المجموعة من منظور «مدير الموارد لنظام المجموعة».
السمة
القيمة
الاسم
الاسم
الاستخدام
مطلوب
DefaultLoad
المقدار الافتراضي للتحميل الذي تنشئه هذه الخدمة عديمة الحالة لهذا المقياس.
السمة
القيمة
الاسم
DefaultLoad
النوع
xs:long
الاستخدام
اختياري
افتراضي
0
PrimaryDefaultLoad
مقدار الحمل الافتراضي الذي ستمارسه هذه الخدمة لهذا المقياس عندما يكون نسخة متماثلة أساسية.
السمة
القيمة
الاسم
PrimaryDefaultLoad
النوع
xs:long
الاستخدام
اختياري
افتراضي
0
SecondaryDefaultLoad
مقدار الحمل الافتراضي الذي ستمارسه هذه الخدمة لهذا المقياس عندما يكون نسخة متماثلة ثانوية.
السمة
القيمة
الاسم
SecondaryDefaultLoad
النوع
xs:long
الاستخدام
اختياري
افتراضي
0
الوزن
يحدد الوزن القياسي بالنسبة للمقاييس الأخرى التي تم تكوينها لهذه الخدمة. أثناء وقت التشغيل، إذا انتهى الأمر بمتعارضين في مقياسين، يفضل مدير موارد نظام المجموعة المقياس ذي الوزن الأعلى. يقوم الصفر بتعطيل موازنة التحميل لهذا المقياس.
السمة
القيمة
الاسم
الوزن
LocalStoreETWType complexType
يصف وجهة مخزن داخل العقدة لأحداث ETW.
السمة
القيمة
المحتوى
0 عنصر، 0 سمة
defined
عموميًا
الاسم
LocalStoreETWType
مصدر XML
<xs:complexType xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="LocalStoreETWType">
<xs:annotation>
<xs:documentation>Describes a store destination within the node for ETW events.</xs:documentation>
</xs:annotation>
<xs:complexContent>
<xs:extension base="LocalStoreType">
<xs:attributeGroup ref="LevelFilter"/>
</xs:extension>
</xs:complexContent>
</xs:complexType>
LocalStoreType complexType
يصف وجهة مخزن داخل العقدة لبيانات التشخيص.
السمة
القيمة
المحتوى
1 عنصر، 0 سمة
defined
عموميًا
الاسم
LocalStoreType
مصدر XML
<xs:complexType xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="LocalStoreType">
<xs:annotation>
<xs:documentation>Describes a store destination within the node for diagnostic data.</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element ref="Parameters" minOccurs="0"/>
</xs:sequence>
<xs:attributeGroup ref="IsEnabled"/>
<xs:attributeGroup ref="RelativeFolderPath"/>
<xs:attributeGroup ref="DataDeletionAgeInDays"/>
</xs:complexType>
تفاصيل عنصر المحتوى
بلا
السمة
القيمة
مرجع
المعلمات
minOccurs
0
LogicalDirectoryType complexType
تصف LogicalDirectoryType.
السمة
القيمة
المحتوى
0 عنصر، 3 سمات
defined
عموميًا
الاسم
LogicalDirectoryType
مصدر XML
<xs:complexType xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="LogicalDirectoryType">
<xs:annotation>
<xs:documentation>Describes a LogicalDirectoryType.</xs:documentation>
</xs:annotation>
<xs:attribute name="LogicalDirectoryName" type="xs:string" use="required">
<xs:annotation>
<xs:documentation>The name of the LogicalDirectory.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="MappedTo" type="xs:string" use="required">
<xs:annotation>
<xs:documentation>The path of the LogicalDirectory.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="Context" use="optional" default="application">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:enumeration value="application"/>
<xs:enumeration value="node"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
</xs:complexType>
تفاصيل السمة
LogicalDirectoryName
اسم LogicalDirectory.
السمة
القيمة
الاسم
LogicalDirectoryName
النوع
xs:string
الاستخدام
مطلوب
MappedTo
مسار LogicalDirectory.
السمة
القيمة
الاسم
MappedTo
النوع
xs:string
الاستخدام
مطلوب
السياق
السمة
القيمة
الاسم
السياق
الاستخدام
اختياري
افتراضي
التطبيق
ManagedAssemblyType complexType
غير مدعوم، لا تستخدمه. اسم التجميع المُدار (على سبيل المثال، Queue.dll)، للمضيف.
السمة
القيمة
المحتوى
0 عنصر، 0 سمة
defined
عموميًا
الاسم
ManagedAssemblyType
مصدر XML
<xs:complexType xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="ManagedAssemblyType">
<xs:annotation>
<xs:documentation>Unsupported, do not use. The name of managed assembly (for example, Queue.dll), to host.</xs:documentation>
</xs:annotation>
<xs:simpleContent>
<xs:extension base="xs:string"/>
</xs:simpleContent>
</xs:complexType>
NetworkPoliciesType complexType
توضح هذه المقالة نهج الشبكة، بما في ذلك نهج شبكة الحاويات لحزمة الخدمة.
السمة
القيمة
المحتوى
1 عنصر، 0 سمة
defined
عموميًا
الاسم
NetworkPoliciesType
مصدر XML
<xs:complexType xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="NetworkPoliciesType">
<xs:annotation>
<xs:documentation>Describes network policies including container network policies for the service package.</xs:documentation>
</xs:annotation>
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element name="ContainerNetworkPolicy" type="ContainerNetworkPolicyType" minOccurs="0" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>Describes container network policies for the service package.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:choice>
</xs:complexType>
يشير إلى ما إذا كان يجب مشاركة تعليمة برمجية أو تكوين أو حزمة بيانات عبر مثيلات الخدمة من نفس نوعها.
السمة
القيمة
المحتوى
0 عنصر، 2 سمة
defined
عموميًا
الاسم
PackageSharingPolicyType
مصدر XML
<xs:complexType xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="PackageSharingPolicyType">
<xs:annotation>
<xs:documentation>Indicates if a code, config or data package should be shared across service instances of the same service type.</xs:documentation>
</xs:annotation>
<xs:attribute name="PackageRef">
<xs:annotation>
<xs:documentation>The name of the code, config, or data package to be shared. Must match the name of the package defined in the service manifest.</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:minLength value="1"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
<xs:attribute name="Scope" default="None">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:enumeration value="None"/>
<xs:enumeration value="All"/>
<xs:enumeration value="Code"/>
<xs:enumeration value="Config"/>
<xs:enumeration value="Data"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
</xs:complexType>
تفاصيل السمة
PackageRef
اسم التعليمة البرمجية أو التكوين أو حزمة البيانات المطلوب مشاركتها. يجب أن تتطابق مع اسم الحزمة المحددة في بيان الخدمة.
السمة
القيمة
الاسم
PackageRef
النطاق
السمة
القيمة
الاسم
النطاق
افتراضي
بلا
ParameterType complexType
السمة
القيمة
المحتوى
0 عنصر، 1 سمة
defined
عموميًا
الاسم
ParameterType
مصدر XML
<xs:complexType xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="ParameterType">
<xs:attributeGroup ref="NameValuePair"/>
<xs:attribute name="IsEncrypted" type="xs:string">
<xs:annotation>
<xs:documentation>If true, the value of this parameter is encrypted</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
<xs:complexType xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="RepositoryCredentialsType">
<xs:attributeGroup ref="AccountCredentialsGroup"/>
<xs:attribute name="PasswordEncrypted" type="xs:boolean" use="optional">
<xs:annotation>
<xs:documentation>Specifies if password is encrypted or plain text. This attribute is deprecated. Please use the 'Type' attribute to indicate encrypted password.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="Email">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:minLength value="1"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
<xs:attribute name="Type" type="xs:string" use="optional">
<xs:annotation>
<xs:documentation>
This value defines the type of password you have specified in the 'Password' Attribute. It can be SecretsStoreRef/Encrypted/PlainText.
If set to SecretsStoreRef, we retrieve the reference value from the SecretStore.
If set to Encrypted, the application developer is responsible for creating a certificate and using the Invoke-ServiceFabricEncryptSecret cmdlet to encrypt sensitive information.
</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
تفاصيل السمة
PasswordEncrypted
يحدد ما إذا كانت كلمة المرور مشفرة أو نصًا عاديًا. هذه السمة مهملة. يرجى استخدام السمة "النوع" للإشارة إلى كلمة المرور المشفرة.
السمة
القيمة
الاسم
PasswordEncrypted
النوع
xs:boolean
الاستخدام
اختياري
البريد الإلكتروني
السمة
القيمة
الاسم
البريد الإلكتروني
نوع
تحدد هذه القيمة نوع كلمة المرور التي حددتها في السمة "كلمة المرور". يمكن أن يكون SecretsStoreRef/Encrypted/PlainText.
إذا تم التعيين على SecretsStoreRef، فإننا نسترد القيمة المرجعية من SecretStore.
إذا تم التعيين على «مشفرة»، يكون مطور التطبيق مسؤولاً عن إنشاء شهادة واستخدام الأمر cmdlet المسمى «Invoke-ServiceFabricEncryptSecret» لتشفير المعلومات الحساسة.
السمة
القيمة
الاسم
نوع
النوع
xs:string
الاستخدام
اختياري
ResourceGovernancePolicyType complexType
يقيد الموارد التي يمكن استخدامها على المضيف، ويعلن حدود الموارد لحزمة التعليمات البرمجية للخدمة.
السمة
القيمة
المحتوى
0 عنصر، 12 سمة
defined
عموميًا
الاسم
ResourceGovernancePolicyType
مصدر XML
<xs:complexType xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="ResourceGovernancePolicyType">
<xs:annotation>
<xs:documentation>Restricts the resources that can be used on the host and declares resource limits for a service code package.</xs:documentation>
</xs:annotation>
<xs:attribute name="CodePackageRef" use="required">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:minLength value="1"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
<xs:attribute name="MemoryInMB" type="xs:string" use="optional" default="0">
<xs:annotation>
<xs:documentation>Memory limits in MB. Must be a positive integer. Code packages (containers or processes) are not able to allocate more memory than this limit, and attempting to do so results in an out-of-memory exception.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="MemorySwapInMB" type="xs:string" use="optional" default="0">
<xs:annotation>
<xs:documentation>The total amount of swap memory that can be used, in MB. Must be a positive integer.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="MemoryReservationInMB" type="xs:string" use="optional" default="0">
<xs:annotation>
<xs:documentation>The soft limit (in MB) for memory governance that is enforced only when memory contention is detected on the node. Must be a positive integer.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="CpuShares" type="xs:string" use="optional" default="0">
<xs:annotation>
<xs:documentation>Relative CPU weight. Must be a positive integer.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="CpuPercent" type="xs:string" use="optional" default="0">
<xs:annotation>
<xs:documentation>Usable percentage of available CPUs (Windows only). Must be a positive integer. If CPU limits are specified for the service package, this parameter is effectively ignored.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="MaximumIOps" type="xs:string" use="optional" default="0">
<xs:annotation>
<xs:documentation>Maximum IO rate (read and write) in terms of IOPS that can be used. Must be a positive integer.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="MaximumIOBandwidth" type="xs:string" use="optional" default="0">
<xs:annotation>
<xs:documentation>The maximum IO (bytes per second) that can be used (read and write). Must be a positive integer.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="BlockIOWeight" type="xs:string" use="optional" default="0">
<xs:annotation>
<xs:documentation>Block IO weight, relative to other code packages. Must be a positive integer between 10 and 1000.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="DiskQuotaInMB" type="xs:string" use="optional" default="0">
<xs:annotation>
<xs:documentation>Disk quota for containers. Must be a positive integer.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="KernelMemoryInMB" type="xs:string" use="optional" default="0">
<xs:annotation>
<xs:documentation>Kernel memory limits in bytes. Must be a positive integer. Note this is Linux specific and docker on windows will error out if this is set.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="ShmSizeInMB" type="xs:string" use="optional" default="0">
<xs:annotation>
<xs:documentation>Size of /dev/shm in bytes. If omitted, the system uses 64MB. Must be a positive integer. Note this is Linux specific, however, docker will NOT error out if specified. It is simply ignored.</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
تفاصيل السمة
CodePackageRef
السمة
القيمة
الاسم
CodePackageRef
الاستخدام
مطلوب
MemoryInMB
حدود الذاكرة بوحدة الميغابايت. يجب أن تكون عددًا صحيحًا موجبًا. لا تستطيع حزم التعليمات البرمجية (الحاويات أو العمليات) تخصيص ذاكرة أكبر من هذا الحد، وتؤدي محاولة القيام بذلك إلى استثناء نفاد الذاكرة.
السمة
القيمة
الاسم
MemoryInMB
النوع
xs:string
الاستخدام
اختياري
افتراضي
0
MemorySwapInMB
القدر الإجمالي لذاكرة المبادلة الذي يمكن استخدامه، بالميغابايت. يجب أن تكون عددًا صحيحًا موجبًا.
السمة
القيمة
الاسم
MemorySwapInMB
النوع
xs:string
الاستخدام
اختياري
افتراضي
0
MemoryReservationInMB
الحد المبدئي (بالميغابايت) لإدارة الذاكرة الذي يتم فرضه فقط عند اكتشاف تعارض الذاكرة على العقدة. يجب أن تكون عددًا صحيحًا موجبًا.
السمة
القيمة
الاسم
MemoryReservationInMB
النوع
xs:string
الاستخدام
اختياري
افتراضي
0
CpuShares
الوزن النسبي لوحدة المعالجة المركزية. يجب أن تكون عددًا صحيحًا موجبًا.
السمة
القيمة
الاسم
CpuShares
النوع
xs:string
الاستخدام
اختياري
افتراضي
0
CpuPercent
النسبة المئوية القابلة للاستخدام من وحدات المعالجة المركزية المتاحة (Windows فقط). يجب أن تكون عددًا صحيحًا موجبًا. إذا تم تحديد حدود وحدة المعالجة المركزية لحزمة الخدمة، يتم تجاهل هذه المعلمة بشكل فعال.
السمة
القيمة
الاسم
CpuPercent
النوع
xs:string
الاستخدام
اختياري
افتراضي
0
MaximumIOps
الحد الأقصى لمعدل الإدخال / الإخراج (القراءة والكتابة) من حيث عدد مرات الإدخال والإخراج في الثانية التي يمكن استخدامها. يجب أن تكون عددًا صحيحًا موجبًا.
السمة
القيمة
الاسم
MaximumIOps
النوع
xs:string
الاستخدام
اختياري
افتراضي
0
MaximumIOBandwidth
الحد الأقصى لمرات الإدخال والإخراج (بايت في الثانية) الذي يمكن استخدامه (القراءة والكتابة). يجب أن تكون عددًا صحيحًا موجبًا.
السمة
القيمة
الاسم
MaximumIOBandwidth
النوع
xs:string
الاستخدام
اختياري
افتراضي
0
BlockIOWeight
وزن الإدخال والإخراج للكتلة، بالنسبة إلى حزم التعليمات البرمجية الأخرى. يجب أن يكون عددًا صحيحًا موجبًا بين 10 و1000.
السمة
القيمة
الاسم
BlockIOWeight
النوع
xs:string
الاستخدام
اختياري
افتراضي
0
DiskQuotaInMB
حصة القرص للحاويات. يجب أن تكون عددًا صحيحًا موجبًا.
السمة
القيمة
الاسم
DiskQuotaInMB
النوع
xs:string
الاستخدام
اختياري
افتراضي
0
KernelMemoryInMB
حدود ذاكرة Kernel بالبايت. يجب أن تكون عددًا صحيحًا موجبًا. لاحظ أن هذا خاص بنظام Linux، وسيتوقف docker على النوافذ إذا تم تعيين هذا.
السمة
القيمة
الاسم
KernelMemoryInMB
النوع
xs:string
الاستخدام
اختياري
افتراضي
0
ShmSizeInMB
حجم /dev/shm بالبايت. إذا حُذف، فسيستخدم النظام 64 ميغابايت. يجب أن تكون عددًا صحيحًا موجبًا. لاحظ أن هذا خاص بنظام Linux، ومع ذلك، لن يخطئ docker إذا تم تحديده. يتم تجاهله ببساطة.
السمة
القيمة
الاسم
ShmSizeInMB
النوع
xs:string
الاستخدام
اختياري
افتراضي
0
ResourceOverridesType complexType
يحدد تجاوزات الموارد لنقاط النهاية المعلنة في موارد بيان الخدمة.
السمة
القيمة
المحتوى
1 عنصر، 0 سمة
defined
عموميًا
الاسم
ResourceOverridesType
مصدر XML
<xs:complexType xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="ResourceOverridesType">
<xs:annotation>
<xs:documentation>Specifies resource overrides for endpoints declared in service manifest resources.</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="Endpoints" minOccurs="0">
<xs:annotation>
<xs:documentation>The service endpoint(s) to override.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="Endpoint" type="EndpointOverrideType" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>The endpoint, declared in the service manifest, to override.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
تفاصيل عنصر المحتوى
نقاط النهاية
نقطة (نقاط) نهاية الخدمة المطلوب تجاوزها.
السمة
القيمة
الاسم
نقاط النهاية
minOccurs
0
ResourcesType complexType
يصف الموارد التي تستخدمها هذه الخدمة، الذي يمكن الإعلان عنه دون تعديل التعليمات البرمجية المترجمة وتغييرها عند نشر الخدمة. يتحكم في الوصول إلى هذه الموارد من خلال أقسام الأساسيات والنُهج في بيان التطبيق.
السمة
القيمة
المحتوى
1 عنصر، 0 سمة
defined
عموميًا
الاسم
ResourcesType
مصدر XML
<xs:complexType xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="ResourcesType">
<xs:annotation>
<xs:documentation>Describes the resources used by this service, which can be declared without modifying compiled code and changed when the service is deployed. Access to these resources is controlled through the Principals and Policies sections of the application manifest.</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="Endpoints" minOccurs="0">
<xs:annotation>
<xs:documentation>Defines endpoints for the service.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="Endpoint" type="EndpointType" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
تفاصيل عنصر المحتوى
نقاط النهاية
يحدد نقاط النهاية للخدمة.
السمة
القيمة
الاسم
نقاط النهاية
minOccurs
0
RunAsPolicyType complexType
يحدد المستخدم المحلي أو حساب النظام المحلي الذي سيتم تشغيل حزمة تعليمة الخدمة البرمجية بها. يتم دعم حسابات المجال على عمليات نشر Windows Server حيث يتوفر معرف Microsoft Entra. بشكل افتراضي، يتم تشغيل التطبيقات ضمن الحساب الذي تعمل تحته عملية Fabric.exe. يمكن أيضًا تشغيل التطبيقات كحسابات أخرى، والتي يجب الإعلان عنها في قسم «الأساسيات». إذا قمت بتطبيق نهج RunAs على إحدى الخدمات، وكان بيان الخدمة يعلن عن موارد نقطة النهاية باستخدام بروتوكول HTTP، يجب عليك أيضًا تحديد SecurityAccessPolicy للتأكد من أن المنافذ المخصصة لهذه النقاط مدرجة بشكل صحيح في التحكم بالوصول لحساب مستخدم RunAs الذي تعمل الخدمة ضمنه. بالنسبة لنقطة نهاية HTTPS، يجب عليك أيضًا تحديد EndpointBindingPolicy للإشارة إلى اسم الشهادة للعودة إلى العميل.
السمة
القيمة
المحتوى
0 عنصر، 3 سمات
defined
عموميًا
الاسم
RunAsPolicyType
مصدر XML
<xs:complexType xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="RunAsPolicyType">
<xs:annotation>
<xs:documentation>Specifies the local user or local system account that a service code package will run as. Domain accounts are supported on Windows Server deployments where Azure Active Directory is available. By default, applications run under the account that the Fabric.exe process runs under. Applications can also run as other accounts, which must be declared in the Principals section. If you apply a RunAs policy to a service, and the service manifest declares endpoint resources with the HTTP protocol, you must also specify a SecurityAccessPolicy to ensure that ports allocated to these endpoints are correctly access-control listed for the RunAs user account that the service runs under. For an HTTPS endpoint, you also have to define a EndpointBindingPolicy to indicate the name of the certificate to return to the client.</xs:documentation>
</xs:annotation>
<xs:attribute name="CodePackageRef" use="required">
<xs:annotation>
<xs:documentation>The name of the code package. Must match the name of the CodePackage specified in the service manifest.</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:minLength value="1"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
<xs:attribute name="UserRef" use="required">
<xs:annotation>
<xs:documentation>The user account that the service code package will run as. The user account must be declared in the Principals section. Often it is preferable to run the setup entry point using a local system account rather than an administrators account.</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:minLength value="1"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
<xs:attribute name="EntryPointType" use="optional" default="Main">
<xs:annotation>
<xs:documentation>Setup is the SetupEntryPoint declared in the service manifest, the privileged entry point that runs before any other entry point. Main is the EntryPoint declared in the service manifest, typically the long-running service host. All is all entry points.</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:enumeration value="Setup"/>
<xs:enumeration value="Main"/>
<xs:enumeration value="All"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
</xs:complexType>
تفاصيل السمة
CodePackageRef
اسم حزمة التعليمات البرمجية. يجب أن تتطابق مع اسم CodePackage المحدد في بيان الخدمة.
السمة
القيمة
الاسم
CodePackageRef
الاستخدام
مطلوب
UserRef
حساب المستخدم الذي سيتم تشغيل حزمة التعليمات البرمجية للخدمة به. يجب الإعلان عن حساب المستخدم في قسم «الأساسيات». غالبًا ما يُفضل تشغيل نقطة إدخال الإعداد باستخدام حساب نظام محلي بدلًا من حساب المسؤولين.
السمة
القيمة
الاسم
UserRef
الاستخدام
مطلوب
EntryPointType
الإعداد هو SetupEntryPoint المعلن عنه في بيان الخدمة، وهو نقطة الإدخال المميزة التي يتم تشغيلها قبل أي نقطة إدخال أخرى. Main هو EntryPoint معلن في بيان الخدمة، وعادةً ما يكون مضيف الخدمة طويل الأمد. كل شيء هو كل نقاط الإدخال.
السمة
القيمة
الاسم
EntryPointType
الاستخدام
اختياري
افتراضي
الأساسية
ScalingPolicyType complexType
وصف لسياسة تغيير الحجم يتكون من مشغل وآلية للقياس.
السمة
القيمة
المحتوى
0 عنصر، 0 سمة
defined
عموميًا
الاسم
ScalingPolicyType
مصدر XML
<xs:complexType xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="ScalingPolicyType">
<xs:annotation>
<xs:documentation>A scaling policy description consisting of a trigger and a mechanism for scaling. </xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:group ref="ScalingPolicyTriggerGroup"/>
<xs:group ref="ScalingPolicyMechanismGroup"/>
</xs:sequence>
</xs:complexType>
SecurityAccessPolicyType complexType
يمنح أذونات الوصول إلى كيان في مورد (مثل نقطة نهاية) مُحدد في بيان الخدمة. عادةً ما يكون من المفيد للغاية التحكم في الوصول إلى الخدمات وتقييده إلى الموارد المختلفة لتقليل المخاطر الأمنية. هذا مهم بشكل خاص عندما يتم إنشاء التطبيق من مجموعة من الخدمات من متجر marketplace تم تطويرها بواسطة مطورين مختلفين.
السمة
القيمة
المحتوى
0 عنصر، 4 سمات
defined
عموميًا
الاسم
SecurityAccessPolicyType
مصدر XML
<xs:complexType xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="SecurityAccessPolicyType">
<xs:annotation>
<xs:documentation>Grants access permissions to a principal on a resource (such as an endpoint) defined in a service manifest. Typically, it is very useful to control and restrict access of services to different resources in order to minimize security risks. This is especially important when the application is built from a collection of services from a marketplace which are developed by different developers.</xs:documentation>
</xs:annotation>
<xs:attribute name="ResourceRef" use="required">
<xs:annotation>
<xs:documentation>The resource being granted access to, declared and configured in the service manifest.</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:minLength value="1"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
<xs:attribute name="PrincipalRef" use="required">
<xs:annotation>
<xs:documentation>The user or group being assigned access rights to a resource, must be declared in the Principals section.</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:minLength value="1"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
<xs:attribute name="GrantRights" default="Read">
<xs:annotation>
<xs:documentation>The rights to grant: Read, Change, or Full. The default is Read.</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:enumeration value="Read"/>
<xs:enumeration value="Change"/>
<xs:enumeration value="Full"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
<xs:attribute name="ResourceType" use="optional" default="Endpoint">
<xs:annotation>
<xs:documentation>The type of resource, defined in the Resources section of the service manifest. Either Endpoint or Certificate.</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:enumeration value="Endpoint"/>
<xs:enumeration value="Certificate"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
</xs:complexType>
تفاصيل السمة
ResourceRef
المورد الذي يتم منحه حق الوصول إليه والإعلان عنه وتكوينه في بيان الخدمة.
السمة
القيمة
الاسم
ResourceRef
الاستخدام
مطلوب
PrincipalRef
يجب الإعلان عن المستخدم أو المجموعة التي يتم تعيين حقوق وصول لها إلى مورد في قسم «الأساسيات».
السمة
القيمة
الاسم
PrincipalRef
الاستخدام
مطلوب
GrantRights
حقوق المنح: «قراءة» أو «تغيير» أو «كامل». الإعداد الافتراضي هو «قراءة».
السمة
القيمة
الاسم
GrantRights
افتراضي
قراءة
ResourceType
نوع المورد، المحدد في قسم الموارد من بيان الخدمة. نقطة النهاية أو الشهادة.
يصف أساسيات الأمان (المستخدمون، المجموعات) المطلوبة لهذا التطبيق لتشغيل الخدمات والموارد الآمنة. يُشار إلى «الأساسيات» في أقسام النُهج.
السمة
القيمة
المحتوى
2 عنصر، 0 سمة
defined
عموميًا
الاسم
SecurityPrincipalsType
مصدر XML
<xs:complexType xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="SecurityPrincipalsType">
<xs:annotation>
<xs:documentation>Describes the security principals (users, groups) required for this application to run services and secure resources. Principals are referenced in the policies sections.</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="Groups" minOccurs="0">
<xs:annotation>
<xs:documentation>Declares a set of groups as security principals, which can be referenced in policies. Groups are useful if there are multiple users for different service entry points and they need to have certain common privileges that are available at the group level.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="Group" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>Declares a group as a security principal, which can be referenced in policies.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="NTLMAuthenticationPolicy" minOccurs="0">
<xs:complexType>
<xs:attribute name="IsEnabled" type="xs:boolean" use="optional" default="true"/>
</xs:complexType>
</xs:element>
<xs:element name="Membership" minOccurs="0">
<xs:complexType>
<xs:choice maxOccurs="unbounded">
<xs:element name="DomainGroup" minOccurs="0" maxOccurs="unbounded">
<xs:complexType>
<xs:attribute name="Name" type="xs:string" use="required"/>
</xs:complexType>
</xs:element>
<xs:element name="SystemGroup" minOccurs="0" maxOccurs="unbounded">
<xs:complexType>
<xs:attribute name="Name" type="xs:string" use="required"/>
</xs:complexType>
</xs:element>
<xs:element name="DomainUser" minOccurs="0" maxOccurs="unbounded">
<xs:complexType>
<xs:attribute name="Name" type="xs:string" use="required"/>
</xs:complexType>
</xs:element>
</xs:choice>
</xs:complexType>
</xs:element>
</xs:sequence>
<xs:attribute name="Name" type="xs:string" use="required">
<xs:annotation>
<xs:documentation>Name of the local group account. The name will be prefixed with the application ID.</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="Users" minOccurs="0">
<xs:annotation>
<xs:documentation>Declares a set of users as security principals, which can be referenced in policies.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="User" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>Declares a user as a security principal, which can be referenced in policies.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="NTLMAuthenticationPolicy" minOccurs="0">
<xs:complexType>
<xs:attribute name="IsEnabled" type="xs:boolean" use="optional" default="true"/>
<xs:attribute name="PasswordSecret" type="xs:string" use="required"/>
<xs:attribute name="PasswordSecretEncrypted" type="xs:boolean" use="optional" default="false"/>
<xs:attribute name="X509StoreLocation" use="optional" default="LocalMachine">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:enumeration value="LocalMachine"/>
<xs:enumeration value="CurrentUser"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
<xs:attribute name="X509StoreName" default="My">
<xs:simpleType>
<xs:restriction base="xs:string"/>
</xs:simpleType>
</xs:attribute>
<xs:attribute name="X509Thumbprint" type="xs:string"/>
</xs:complexType>
</xs:element>
<xs:element name="MemberOf" minOccurs="0">
<xs:annotation>
<xs:documentation>Users can be added to any existing membership group, so it can inherit all the properties and security settings of that membership group. The membership group can be used to secure external resources that need to be accessed by different services or the same service (on a different machine).</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:choice maxOccurs="unbounded">
<xs:element name="SystemGroup" minOccurs="0" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>The system group to add the user to. The system group must be defined in the Groups section.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:attribute name="Name" type="xs:string" use="required">
<xs:annotation>
<xs:documentation>The name of the system group.</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
</xs:element>
<xs:element name="Group" minOccurs="0" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>The group to add the user to. The group must be defined in the Groups section.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:attribute name="NameRef" type="xs:string" use="required">
<xs:annotation>
<xs:documentation>The name of the group.</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
</xs:element>
</xs:choice>
</xs:complexType>
</xs:element>
</xs:sequence>
<xs:attribute name="Name" type="xs:string" use="required">
<xs:annotation>
<xs:documentation>Name of the user account.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="AccountType" use="optional" default="LocalUser">
<xs:annotation>
<xs:documentation>Specifies the type of account: LocalUser, DomainUser, NetworkService, LocalService, ManagedServiceAccount, or LocalSystem. The default is LocalUser. Local user accounts are created on the machines where the application is deployed. By default, these accounts do not have the same names as those specified here. Instead, they are dynamically generated and have random passwords. Supported local system account types are LocalUser, NetworkService, LocalService and LocalSystem. Domain accounts are supported on Windows Server deployments where Azure Active Directory is available.</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:enumeration value="LocalUser"/>
<xs:enumeration value="DomainUser"/>
<xs:enumeration value="NetworkService"/>
<xs:enumeration value="LocalService"/>
<xs:enumeration value="ManagedServiceAccount"/>
<xs:enumeration value="LocalSystem"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
<xs:attribute name="LoadUserProfile" type="xs:boolean" use="optional" default="false"/>
<xs:attribute name="PerformInteractiveLogon" type="xs:boolean" use="optional" default="false"/>
<xs:attributeGroup ref="AccountCredentialsGroup"/>
<xs:attribute name="PasswordEncrypted" type="xs:boolean" use="optional">
<xs:annotation>
<xs:documentation>True if the password is encrypted; false if in plain text.</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
تفاصيل عنصر المحتوى
المجموعات
يعلن عن مجموعة من المجموعات كأساسيات الأمان، والتي يمكن الرجوع إليها في النُهج. المجموعات مفيدة إذا كان هناك عدة مستخدمين لنقاط إدخال خدمة مختلفة ويحتاجون إلى الحصول على امتيازات مشتركة معينة متوفرة على مستوى المجموعة.
السمة
القيمة
الاسم
المجموعات
minOccurs
0
المستخدمون
يعلن عن مجموعة من المستخدمين كأساسيات أمان، والتي يمكن الرجوع إليها في النهج.
<xs:complexType xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="ServiceDiagnosticsType">
<xs:annotation>
<xs:documentation>Describes the diagnostic settings for the components of this service manifest.</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="ETW" minOccurs="0">
<xs:annotation>
<xs:documentation>Describes the ETW settings for the components of this service manifest.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="ProviderGuids" minOccurs="0">
<xs:annotation>
<xs:documentation>Lists the ETW provider GUIDs for the components of this service manifest.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="ProviderGuid" minOccurs="0" maxOccurs="unbounded">
<xs:complexType>
<xs:attribute name="Value" use="required">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:pattern value="[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="ManifestDataPackages" minOccurs="0">
<xs:annotation>
<xs:documentation>Lists the data packages containing ETW manifests for the components of this service manifest. The data package containing ETW manifests should not contain any other files. </xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="ManifestDataPackage" type="DataPackageType" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
تفاصيل عنصر المحتوى
ETW
يصف إعدادات ETW لمكونات هذا البيان للخدمة.
السمة
القيمة
الاسم
ETW
minOccurs
0
ServiceFabricRuntimeAccessPolicyType complexType
السمة
القيمة
المحتوى
0 عنصر، 2 سمة
defined
عموميًا
الاسم
ServiceFabricRuntimeAccessPolicyType
مصدر XML
<xs:complexType xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="ServiceFabricRuntimeAccessPolicyType">
<xs:attribute name="RemoveServiceFabricRuntimeAccess" type="xs:boolean" default="false">
<xs:annotation>
<xs:documentation>Indicates if Fabric Runtime specific information should be exposed to the Code packages in the Service package.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="UseServiceFabricReplicatedStore" type="xs:boolean" default="false">
<xs:annotation>
<xs:documentation>Indicates if Service Fabric replicated blockstore should be used to provide volume for containers in service package.</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
تفاصيل السمة
RemoveServiceFabricRuntimeAccess
يشير إلى ما إذا كان يجب عرض معلومات محددة في وقت تشغيل خدمة Fabric لحزم التعليمات البرمجية في حزمة الخدمة.
السمة
القيمة
الاسم
RemoveServiceFabricRuntimeAccess
النوع
xs:boolean
افتراضي
true
UseServiceFabricReplicatedStore
يشير إلى ما إذا كان ينبغي استخدام blockstore المنسوخ نسخًا متماثلا من Service Fabric لتوفير وحدة تخزين للحاويات في حزمة الخدمة.
السمة
القيمة
الاسم
UseServiceFabricReplicatedStore
النوع
xs:boolean
افتراضي
true
ServiceGroupMemberType complexType
السمة
القيمة
المحتوى
1 عنصر، 2 سمة
defined
عموميًا
الاسم
ServiceGroupMemberType
مصدر XML
<xs:complexType xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="ServiceGroupMemberType">
<xs:sequence>
<xs:element name="LoadMetrics" minOccurs="0">
<xs:annotation>
<xs:documentation>Load metrics reported by this service.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="LoadMetric" type="LoadMetricType" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
<xs:attribute name="ServiceTypeName" use="required">
<xs:annotation>
<xs:documentation>Type of the service group member.</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:minLength value="1"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
<xs:attribute name="Name" use="required">
<xs:annotation>
<xs:documentation>Name of the service group member relative to the name of the service group.</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:minLength value="1"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
</xs:complexType>
تفاصيل السمة
ServiceTypeName
نوع عضو مجموعة الخدمات.
السمة
القيمة
الاسم
ServiceTypeName
الاستخدام
مطلوب
الاسم
اسم عضو مجموعة الخدمات بالنسبة إلى اسم مجموعة الخدمات.
السمة
القيمة
الاسم
الاسم
الاستخدام
مطلوب
تفاصيل عنصر المحتوى
LoadMetrics
مقاييس التحميل التي أبلغت عنها هذه الخدمة.
السمة
القيمة
الاسم
LoadMetrics
minOccurs
0
ServiceGroupTypeType complexType
النوع الأساسي الذي يصف نوع ServiceGroupType ذات الحالة أو عديم الحالة.
السمة
القيمة
المحتوى
4 عناصر، 2 سمة
defined
عموميًا
الاسم
ServiceGroupTypeType
مصدر XML
<xs:complexType xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="ServiceGroupTypeType">
<xs:annotation>
<xs:documentation>Base type that describes a stateful or a stateless ServiceGroupType.</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="LoadMetrics" minOccurs="0">
<xs:annotation>
<xs:documentation>Load metrics reported by this service.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="LoadMetric" type="LoadMetricType" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="PlacementConstraints" type="xs:string" minOccurs="0">
<xs:annotation>
<xs:documentation>Constraints for the placement of services that are part of this package.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="ServiceGroupMembers" minOccurs="0" maxOccurs="1">
<xs:annotation>
<xs:documentation>Member types of this service group type.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element ref="ServiceGroupTypeMember" minOccurs="1" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element ref="Extensions" minOccurs="0"/>
</xs:sequence>
<xs:attribute name="ServiceGroupTypeName" use="required">
<xs:annotation>
<xs:documentation>User-defined type identifier for a service group, For example, "ActorQueueSGType". This value is used in the ApplicationManifest.xml file to identify the service group.</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:minLength value="1"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
<xs:attribute name="UseImplicitFactory" type="xs:boolean" use="optional">
<xs:annotation>
<xs:documentation>Specifies whether the service group instance is created by the implicit factory. If false (default), one of the code packages must register the service group factory</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
تفاصيل السمة
ServiceGroupTypeName
معرف النوع المعرف من قبل المستخدم لمجموعة خدمات، على سبيل المثال، "ActorQueueSGType". يتم استخدام هذه القيمة في ملف ApplicationManifest.xml لتحديد مجموعة الخدمات.
السمة
القيمة
الاسم
ServiceGroupTypeName
الاستخدام
مطلوب
UseImplicitFactory
يحدد ما إذا كان مثيل مجموعة الخدمات قد تم إنشاؤه بواسطة المصنع الضمني. في حالة الخطأ (افتراضي)، يجب أن تقوم إحدى حزم التعليمات البرمجية بتسجيل مصنع مجموعة الخدمات
السمة
القيمة
الاسم
UseImplicitFactory
النوع
xs:boolean
الاستخدام
اختياري
تفاصيل عنصر المحتوى
LoadMetrics
مقاييس التحميل التي أبلغت عنها هذه الخدمة.
السمة
القيمة
الاسم
LoadMetrics
minOccurs
0
PlacementConstraints
القيود المفروضة على وضع الخدمات التي تشكل جزءًا من هذه الحزمة.
السمة
القيمة
الاسم
PlacementConstraints
النوع
xs:string
minOccurs
0
ServiceGroupMembers
أنواع الأعضاء من هذا النوع لمجموعة الخدمة.
السمة
القيمة
الاسم
ServiceGroupMembers
minOccurs
0
maxOccurs
1
بلا
السمة
القيمة
مرجع
ملحقات
minOccurs
0
ServiceManifestImportPoliciesType complexType
تصف النُهُج (ربط نقطة النهاية، ومشاركة الحزمة، والتشغيل كـ، ووصول الأمان) المطلوب تطبيقها على بيان الخدمة المستوردة.
السمة
القيمة
المحتوى
11 عنصرًا، 0 سمة
defined
عموميًا
الاسم
ServiceManifestImportPoliciesType
مصدر XML
<xs:complexType xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="ServiceManifestImportPoliciesType">
<xs:annotation>
<xs:documentation>Describes policies (end-point binding, package sharing, run-as, and security access) to be applied on the imported service manifest.</xs:documentation>
</xs:annotation>
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element name="RunAsPolicy" type="RunAsPolicyType" minOccurs="0"/>
<xs:element name="SecurityAccessPolicy" type="SecurityAccessPolicyType" minOccurs="0"/>
<xs:element name="PackageSharingPolicy" type="PackageSharingPolicyType" minOccurs="0"/>
<xs:element name="EndpointBindingPolicy" type="EndpointBindingPolicyType" minOccurs="0">
<xs:annotation>
<xs:documentation>Specifies a certificate that should be returned to a client for an HTTPS endpoint.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="ServiceFabricRuntimeAccessPolicy" type="ServiceFabricRuntimeAccessPolicyType" minOccurs="0" maxOccurs="1">
<xs:annotation>
<xs:documentation>Specifies policies that determine how the service fabric runtime is exposed to the replicas.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="ServicePackageResourceGovernancePolicy" type="ServicePackageResourceGovernancePolicyType" minOccurs="0" maxOccurs="1">
<xs:annotation>
<xs:documentation>Defines the resource governance policy that is applied at the level of the entire service package.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="ResourceGovernancePolicy" type="ResourceGovernancePolicyType" minOccurs="0">
<xs:annotation>
<xs:documentation>Specifies resource limits for a codepackage.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="ServicePackageContainerPolicy" type="ServicePackageContainerPolicyType" minOccurs="0" maxOccurs="1"/>
<xs:element name="ContainerHostPolicies" type="ContainerHostPoliciesType" minOccurs="0">
<xs:annotation>
<xs:documentation>Specifies policies for activating container hosts.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="ConfigPackagePolicies" type="ConfigPackagePoliciesType" minOccurs="0">
<xs:annotation>
<xs:documentation>Config Packages to be mounted inside the container.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="NetworkPolicies" type="NetworkPoliciesType" minOccurs="0" maxOccurs="1">
<xs:annotation>
<xs:documentation>Specifies network policies including container network policies.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:choice>
</xs:complexType>
يستورد بيان الخدمة بالمرجع. حالياً، يجب أن يكون ملف بيان الخدمة (ServiceManifest.xml) موجوداً في حزمة الإنشاء.
السمة
القيمة
المحتوى
0 عنصر، 0 سمة
defined
عموميًا
الاسم
ServiceManifestRefType
مصدر XML
<xs:complexType xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="ServiceManifestRefType">
<xs:annotation>
<xs:documentation>Imports the service manifest by reference. Currently the service manifest file (ServiceManifest.xml) must be present in the build package.</xs:documentation>
</xs:annotation>
<xs:attributeGroup ref="ServiceManifestIdentifier"/>
</xs:complexType>
ServiceManifestType complexType
يصف بشكل تصريحي نوع الخدمة وإصدارها. يسرد التعليمة البرمجية والتكوين وحزم البيانات القابلة للترقية بشكل مستقل، والتي تؤلف معاً حزمة خدمة لدعم نوع خدمة واحد أو أكثر. تُحدد أيضاً الموارد وإعدادات التشخيص وبيانات تعريف الخدمة، مثل نوع الخدمة وخصائص الحماية ومقاييس موازنة التحميل.
السمة
القيمة
المحتوى
7 عناصر، 1 سمة
defined
عموميًا
الاسم
ServiceManifestType
مصدر XML
<xs:complexType xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="ServiceManifestType">
<xs:annotation>
<xs:documentation>Declaratively describes the service type and version. It lists the independently upgradeable code, configuration, and data packages that together compose a service package to support one or more service types. Resources, diagnostics settings, and service metadata, such as service type, health properties, and load-balancing metrics, are also specified.</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="Description" type="xs:string" minOccurs="0">
<xs:annotation>
<xs:documentation>Text describing this service.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="ServiceTypes" type="ServiceAndServiceGroupTypesType">
<xs:annotation>
<xs:documentation>Defines what service types are supported by a CodePackage in this manifest. When a service is instantiated against one of these service types, all code packages declared in this manifest are activated by running their entry points. Service types are declared at the manifest level and not the code package level.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="CodePackage" type="CodePackageType" maxOccurs="unbounded"/>
<xs:element name="ConfigPackage" type="ConfigPackageType" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="DataPackage" type="DataPackageType" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="Resources" type="ResourcesType" minOccurs="0"/>
<xs:element name="Diagnostics" type="ServiceDiagnosticsType" minOccurs="0"/>
</xs:sequence>
<xs:attribute name="ManifestId" use="optional" default="" type="xs:string">
<xs:annotation>
<xs:documentation>The identifier of this service manifest, an unstructured string.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attributeGroup ref="VersionedName"/>
<xs:anyAttribute processContents="skip"/> <!-- Allow unknown attributes to be used. -->
</xs:complexType>
تفاصيل السمة
ManifestId
معرف بيان الخدمة هذا، سلسلة غير منظمة.
السمة
القيمة
الاسم
ManifestId
الاستخدام
اختياري
افتراضي
النوع
xs:string
تفاصيل عنصر المحتوى
الوصف
نص يصف هذه الخدمة.
السمة
القيمة
الاسم
الوصف
النوع
xs:string
minOccurs
0
ServiceTypes
يحدد أنواع الخدمات التي يدعمها CodePackage في هذا البيان. عند إنشاء مثيل لخدمة ما مقابل أحد أنواع هذه الخدمات، يتم تنشيط جميع حزم التعليمات البرمجية المعلنة في هذا البيان من خلال تشغيل نقاط الدخول الخاصة بهم. يتم التصريح عن أنواع الخدمة على مستوى البيان وليس على مستوى حزمة التعليمات البرمجية.
<xs:complexType xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="ServicePackageResourceGovernancePolicyType">
<xs:attribute name="CpuCores" type="xs:string" use="optional" default="0">
<xs:annotation>
<xs:documentation>CPU limit in number of logical cores. Must be a positive integer.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="MemoryInMB" type="xs:string" use="optional" default="0">
<xs:annotation>
<xs:documentation>Memory limits in MB. Must be a positive integer.</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
تفاصيل السمة
CpuCores
حد وحدة المعالجة المركزية في عدد الذاكرات الأساسية المنطقية. يجب أن تكون عددًا صحيحًا موجبًا.
السمة
القيمة
الاسم
CpuCores
النوع
xs:string
الاستخدام
اختياري
افتراضي
0
MemoryInMB
حدود الذاكرة بوحدة الميغابايت. يجب أن تكون عددًا صحيحًا موجبًا.
السمة
القيمة
الاسم
MemoryInMB
النوع
xs:string
الاستخدام
اختياري
افتراضي
0
ServicePackageType complexType
تمثل ServicePackage وحدة ذات إصدار من التوزيع والتنشيط. يتم تحديد إصدار ServicePackage استنادًا إلى إصدار البيان وإصدار التجاوزات.
النوع الأساسي الذي يحدد خدمة Microsoft Azure Service Fabric.
السمة
القيمة
المحتوى
5 عناصر، 2 سمة
defined
عموميًا
الاسم
نوع الخدمة
مصدر XML
<xs:complexType xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="ServiceType">
<xs:annotation>
<xs:documentation>Base type that defines a Microsoft Azure Service Fabric service.</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:group ref="PartitionDescriptionGroup"/>
<xs:element name="LoadMetrics" minOccurs="0">
<xs:annotation>
<xs:documentation>Load metrics reported by this service, used for resource balancing services.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="LoadMetric" type="LoadMetricType" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="PlacementConstraints" type="xs:string" minOccurs="0">
<xs:annotation>
<xs:documentation>Used to control which nodes in the cluster a service can run on. A key/value pair which describes the node property name and the service's requirements for the value. Individual statements can be grouped together with simple boolean logic to create the necessary constraint. For example, "(FirmwareVersion>12 && InDMZ == True)".</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="ServiceCorrelations" minOccurs="0">
<xs:annotation>
<xs:documentation>Defines affinity relationships between services.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="ServiceCorrelation" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>Defines an affinity relationship with another service. Useful when splitting a previously-monolithic application into microservices. One service has a local dependency on another service and both services need to run on the same node in order to work.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:attribute name="ServiceName" use="required">
<xs:annotation>
<xs:documentation>The name of the other service as a URI. Example, "fabric:/otherApplication/parentService".</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:minLength value="1"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
<xs:attribute name="Scheme" use="required">
<xs:annotation>
<xs:documentation>In NonAlignedAffinity the replicas or instances of the different services are placed on the same nodes. AlignedAffinity is used with stateful services. Configuring one stateful service as having aligned affinity with another stateful service ensures that the primaries of those services are placed on the same nodes as each other, and that each pair of secondaries are also placed on the same nodes.</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:enumeration value="Affinity"/>
<xs:enumeration value="AlignedAffinity"/>
<xs:enumeration value="NonAlignedAffinity"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="ServicePlacementPolicies" minOccurs="0">
<xs:annotation>
<xs:documentation>Declares placement policies for a service. Useful when the cluster spans geographic distances or and/or geopolitical regions.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="ServicePlacementPolicy" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>Defines a service placement policy, which specifies that the service should or should not run in certain cluster fault domains. Useful when the cluster spans geographic distances or and/or geopolitical regions.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:attribute name="DomainName">
<xs:annotation>
<xs:documentation>The fault domain where the service should or should not be placed, depending on the Type value.</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:minLength value="1"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
<xs:attribute name="Type" use="required">
<xs:annotation>
<xs:documentation>InvalidDomain allows you to specify that a particular Fault Domain is invalid for this workload. RequiredDomain requires that all of the replicas be present in the specified domain. Multiple required domains can be specified. PreferredPrimaryDomain specifies the preferred Fault Domain for primary replicas. Useful in geographically spanned clusters where you are using other locations for redundancy, but would prefer that the primary replicas be placed in a certain location in order to provider lower latency for operations which go to the primary. RequiredDomainDistribution specifies that replicas are required to be distributed among the available fault domains. NonPartiallyPlace controls if the service replicas will be partially place if not all of them can be placed.</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:enumeration value="InvalidDomain"/>
<xs:enumeration value="RequiredDomain"/>
<xs:enumeration value="PreferredPrimaryDomain"/>
<xs:enumeration value="RequiredDomainDistribution"/>
<xs:enumeration value="NonPartiallyPlace"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="ServiceScalingPolicies" minOccurs="0">
<xs:annotation>
<xs:documentation>Declares scaling policies for a service. Useful for dynamically scaling the service based on needs. </xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="ScalingPolicy" type="ScalingPolicyType" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="TagsRequiredToPlace" minOccurs="0">
<xs:annotation>
<xs:documentation>Declares tags required for placement of a service. </xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="TagRequiredToPlace" type="xs:string" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="TagsRequiredToRun" minOccurs="0">
<xs:annotation>
<xs:documentation>Declares tags required for placement and running of a service. <xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="TagRequiredToRun" type="xs:string" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
<xs:attribute name="ServiceTypeName" use="required">
<xs:annotation>
<xs:documentation>Name of the service type, declared in the service manifest, that will be instantiated.</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:minLength value="1"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
<xs:attribute name="DefaultMoveCost">
<xs:annotation>
<xs:documentation>Specifies default move cost for this service.</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:enumeration value="Zero"/>
<xs:enumeration value="Low"/>
<xs:enumeration value="Medium"/>
<xs:enumeration value="High"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
</xs:complexType>
تفاصيل السمة
ServiceTypeName
اسم نوع الخدمة، المعلن عنه في بيان الخدمة، الذي سيتم نسخه في القائمة.
السمة
القيمة
الاسم
ServiceTypeName
الاستخدام
مطلوب
DefaultMoveCost
يحدد تكلفة النقل الافتراضية لهذه الخدمة.
السمة
القيمة
الاسم
DefaultMoveCost
تفاصيل عنصر المحتوى
LoadMetrics
مقاييس التحميل التي تم الإبلاغ عنها بواسطة هذه الخدمة، والمستخدمة لخدمات موازنة الموارد.
السمة
القيمة
الاسم
LoadMetrics
minOccurs
0
PlacementConstraints
تستخدم للتحكم في العقد في نظام مجموعة الذي يمكن تشغيل الخدمة عليه. زوج مفتاح/قيمة يصف اسم خاصية العقدة ومتطلبات الخدمة للقيمة. يمكن تجميع العبارات الفردية مع منطق شرطي بسيط لإنشاء القيد الضروري. على سبيل المثال، "(FirmwareVersion>12 &InDMZ == True)".
السمة
القيمة
الاسم
PlacementConstraints
النوع
xs:string
minOccurs
0
ServiceCorrelations
يحدد علاقات التقارب بين الخدمات.
السمة
القيمة
الاسم
ServiceCorrelations
minOccurs
0
ServicePlacementPolicies
يعلن عن سياسات المواضع لخدمة ما. يكون مفيدًا عندما يمتد نظام المجموعة على مسافات جغرافية و/أو مناطق جغرافية سياسية.
السمة
القيمة
الاسم
ServicePlacementPolicies
minOccurs
0
ServiceScalingPolicies
يعلن عن سياسات تغيير الحجم لخدمة ما. يكون مفيدًا لتوسيع نطاق الخدمة ديناميكيًا بناءً على الاحتياجات.
السمة
القيمة
الاسم
ServiceScalingPolicies
minOccurs
0
TagsRequiredToPlace
يعلن عن العلامات المطلوبة لوضع خدمة. يكون مفيدًا للتأثير ديناميكيًا على موضع الخدمة.
السمة
القيمة
الاسم
TagsRequiredToPlace
minOccurs
0
TagRequiredToRun
يعلن عن العلامات المطلوبة لوضع الخدمة وتشغيلها. يكون مفيدًا للتأثير ديناميكيًا على موضع الخدمة وتشغيلها.
<xs:complexType xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="ServiceTypeHealthPolicyType">
<xs:attribute name="MaxPercentUnhealthyServices" type="xs:string" use="optional" default="0">
<xs:annotation>
<xs:documentation>Specifies the maximum tolerated percentage of unhealthy services before the application is considered unhealthy. Default percentage: 0.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="MaxPercentUnhealthyPartitionsPerService" type="xs:string" use="optional" default="0">
<xs:annotation>
<xs:documentation>Specifies the maximum tolerated percentage of unhealthy partitions before a service is considered unhealthy. Default percentage: 0.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="MaxPercentUnhealthyReplicasPerPartition" type="xs:string" use="optional" default="0">
<xs:annotation>
<xs:documentation>Specifies the maximum tolerated percentage of unhealthy replicas before a partition is considered unhealthy. Default percentage: 0.</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
تفاصيل السمة
MaxPercentUnhealthyServices
يحدد الحد الأقصى للنسبة المئوية المسموح بها من الخدمات غير السليمة قبل اعتبار التطبيق غير سليم. النسبة المئوية الافتراضية: 0.
السمة
القيمة
الاسم
MaxPercentUnhealthyServices
النوع
xs:string
الاستخدام
اختياري
افتراضي
0
MaxPercentUnhealthyPartitionsPerService
يحدد الحد الأقصى للنسبة المئوية المسموح بها من الأقسام غير الصحية قبل اعتبار الخدمة غير صحية. النسبة المئوية الافتراضية: 0.
السمة
القيمة
الاسم
MaxPercentUnhealthyPartitionsPerService
النوع
xs:string
الاستخدام
اختياري
افتراضي
0
MaxPercentUnhealthyReplicasPerPartition
يحدد الحد الأقصى المسموح به من النسخ المتماثلة غير السليمة قبل اعتبار القسم غير سليم. النسبة المئوية الافتراضية: 0.
السمة
القيمة
الاسم
MaxPercentUnhealthyReplicasPerPartition
النوع
xs:string
الاستخدام
اختياري
افتراضي
0
ServiceTypeType complexType
النوع الأساسي الذي يصف نوع ServiceType ذات الحالة أو عديم الحالة.
السمة
القيمة
المحتوى
4 عناصر، 1 سمة
defined
عموميًا
الاسم
ServiceTypeType
مصدر XML
<xs:complexType xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="ServiceTypeType">
<xs:annotation>
<xs:documentation>Base type that describes a stateful or a stateless ServiceType.</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="LoadMetrics" minOccurs="0">
<xs:annotation>
<xs:documentation>Load metrics reported by this service.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="LoadMetric" type="LoadMetricType" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="PlacementConstraints" type="xs:string" minOccurs="0">
<xs:annotation>
<xs:documentation>Used to control which nodes in the cluster a service can run on. A key/value pair which describes the node property name and the service's requirements for the value. Individual statements can be grouped together with simple boolean logic to create the necessary constraint. For example, "(FirmwareVersion>12 && InDMZ == True)".</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="ServicePlacementPolicies" minOccurs="0">
<xs:annotation>
<xs:documentation>Declares placement policies for a service. Useful when the cluster spans geographic distances or and/or geopolitical regions.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="ServicePlacementPolicy" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>Defines a service placement policy, which specifies that the service should or should not run in certain cluster fault domains. Useful when the cluster spans geographic distances or and/or geopolitical regions.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:attribute name="DomainName">
<xs:annotation>
<xs:documentation>The fault domain where the service should or should not be placed, depending on the Type value.</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:minLength value="1"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
<xs:attribute name="Type" use="required">
<xs:annotation>
<xs:documentation>InvalidDomain allows you to specify that a particular Fault Domain is invalid for this workload. RequiredDomain requires that all of the replicas be present in the specified domain. Multiple required domains can be specified. PreferredPrimaryDomain specifies the preferred Fault Domain for primary replicas. Useful in geographically spanned clusters where you are using other locations for redundancy, but would prefer that the primary replicas be placed in a certain location in order to provider lower latency for operations which go to the primary. RequiredDomainDistribution specifies that replicas are required to be distributed among the available fault domains. NonPartiallyPlace controls if the service replicas will be partially place if not all of them can be placed. </xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:enumeration value="InvalidDomain"/>
<xs:enumeration value="RequiredDomain"/>
<xs:enumeration value="PreferredPrimaryDomain"/>
<xs:enumeration value="RequiredDomainDistribution"/>
<xs:enumeration value="NonPartiallyPlace"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element ref="Extensions" minOccurs="0"/>
</xs:sequence>
<xs:attribute name="ServiceTypeName" use="required">
<xs:annotation>
<xs:documentation>User-defined type identifier for a service. For example, "QueueType" or "CalculatorType". This value is used in the ApplicationManifest.xml file to identify the service.</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:minLength value="1"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
</xs:complexType>
تفاصيل السمة
ServiceTypeName
معرف النوع الذي تم تعريفه من قبل المستخدم للخدمة. على سبيل المثال، "QueueType" أو "CalculatorType". يتم استخدام هذه القيمة في ملف ApplicationManifest.xml لتحديد الخدمة.
السمة
القيمة
الاسم
ServiceTypeName
الاستخدام
مطلوب
تفاصيل عنصر المحتوى
LoadMetrics
مقاييس التحميل التي أبلغت عنها هذه الخدمة.
السمة
القيمة
الاسم
LoadMetrics
minOccurs
0
PlacementConstraints
تستخدم للتحكم في العقد في نظام مجموعة الذي يمكن تشغيل الخدمة عليه. زوج مفتاح/قيمة يصف اسم خاصية العقدة ومتطلبات الخدمة للقيمة. يمكن تجميع العبارات الفردية مع منطق شرطي بسيط لإنشاء القيد الضروري. على سبيل المثال، "(FirmwareVersion>12 &InDMZ == True)".
السمة
القيمة
الاسم
PlacementConstraints
النوع
xs:string
minOccurs
0
ServicePlacementPolicies
يعلن عن سياسات المواضع لخدمة ما. يكون مفيدًا عندما يمتد نظام المجموعة على مسافات جغرافية و/أو مناطق جغرافية سياسية.
يعلن عن إعدادات التكوين في بيان الخدمة ليتم تجاوزها. يتكون من قسم واحد أو أكثر من أزواج قيم المفاتيح. يمكن تشفير قيم المعلمات باستخدام cmdlet المسمى Invoke-ServiceFabricEncryptSecret.
السمة
القيمة
المحتوى
1 عنصر، 0 سمة
defined
عموميًا
الاسم
SettingsOverridesType
مصدر XML
<xs:complexType xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="SettingsOverridesType">
<xs:annotation>
<xs:documentation>Declares configuration settings in a service manifest to be overridden. It consists of one or more sections of key-value pairs. Parameter values can be encrypted using the Invoke-ServiceFabricEncryptSecret cmdlet.</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="Section" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>A section in the Settings.xml file to override.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="Parameter" minOccurs="0" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>The setting to override.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:attributeGroup ref="NameValuePair"/>
<xs:attribute name="IsEncrypted" type="xs:boolean" default="false">
<xs:annotation>
<xs:documentation>
If true, the value of this parameter is encrypted. The application developer is responsible for creating a certificate and using the Invoke-ServiceFabricEncryptSecret cmdlet to encrypt sensitive information. The certificate information that will be used to encrypt the value is specified in the Certificates section. This attribute is deprecated. Please use Type attribute.
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="Type" type="xs:string" use="optional">
<xs:annotation>
<xs:documentation>
This value defines the type of value you have specified in the 'Value' Attribute. It can be SecretsStoreRef/Encrypted/PlainText.
If set to SecretsStoreRef, we retrieve the reference value from the SecretStore.
If set to Encrypted, the application developer is responsible for creating a certificate and using the Invoke-ServiceFabricEncryptSecret cmdlet to encrypt sensitive information.
</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
</xs:element>
</xs:sequence>
<xs:attribute name="Name" use="required">
<xs:annotation>
<xs:documentation>The name of the section in the Settings.xml file to override.</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:minLength value="1"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
تفاصيل عنصر المحتوى
القسم
قسم في ملف Settings.xml لتجاوزه.
السمة
القيمة
الاسم
القسم
maxOccurs
غير مقيد
SettingsType complexType
يصف الإعدادات المعرفة من قبل المستخدم لـ ServiceComponent أو أحد التطبيقات. يتكون من قسم واحد أو أكثر من أزواج قيم المفاتيح.
السمة
القيمة
المحتوى
1 عنصر، 0 سمة
defined
عموميًا
الاسم
SettingsType
مصدر XML
<xs:complexType xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="SettingsType">
<xs:annotation>
<xs:documentation>Describes user-defined settings for a ServiceComponent or an Application. It consists of one or more sections of key-value pairs.</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="Section" minOccurs="0" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>A user-defined named section.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="Parameter" minOccurs="0" maxOccurs="unbounded">
<xs:complexType>
<xs:attribute name="Name" type="xs:string" use="required"/>
<xs:attribute name="Value" type="xs:string" use="required"/>
<xs:attribute name="MustOverride" type="xs:boolean" default="false">
<xs:annotation>
<xs:documentation>If true, the value of this parameter must be overridden by higher level configuration.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="IsEncrypted" type="xs:boolean" default="false">
<xs:annotation>
<xs:documentation>If true, the value of this parameter is encrypted.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="Type" type="xs:string" use="optional"/>
</xs:complexType>
</xs:element>
</xs:sequence>
<xs:attribute name="Name" type="xs:string" use="required"/>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
تفاصيل عنصر المحتوى
القسم
قسم مسمى معرف من المستخدم.
السمة
القيمة
الاسم
القسم
minOccurs
0
maxOccurs
غير مقيد
StatefulServiceGroupType complexType
يحدد مجموعة خدمة ذات حالة.
السمة
القيمة
المحتوى
0 عنصر، 0 سمة
defined
عموميًا
الاسم
StatefulServiceGroupType
مصدر XML
<xs:complexType xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="StatefulServiceGroupType">
<xs:annotation>
<xs:documentation>Defines a stateful service group.</xs:documentation>
</xs:annotation>
<xs:complexContent>
<xs:extension base="StatefulServiceType">
<xs:sequence>
<xs:element name="Members" minOccurs="1" maxOccurs="1">
<xs:annotation>
<xs:documentation>Member services of this service group</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="Member" type="ServiceGroupMemberType" minOccurs="1" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
StatefulServiceGroupTypeType complexType
يصف نوع مجموعة الخدمة ذات الحالة.
السمة
القيمة
المحتوى
0 عنصر، 0 سمة
defined
عموميًا
الاسم
StatefulServiceGroupTypeType
مصدر XML
<xs:complexType xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="StatefulServiceGroupTypeType">
<xs:annotation>
<xs:documentation>Describes a stateful service group type.</xs:documentation>
</xs:annotation>
<xs:complexContent>
<xs:extension base="ServiceGroupTypeType">
<xs:attribute name="HasPersistedState" type="xs:boolean" default="false">
<xs:annotation>
<xs:documentation>True if the service group has state that needs to be persisted.</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:extension>
</xs:complexContent>
</xs:complexType>
StatefulServiceType complexType
يحدد خدمة ذات حالة.
السمة
القيمة
المحتوى
0 عنصر، 0 سمة
defined
عموميًا
الاسم
StatefulServiceType
مصدر XML
<xs:complexType xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="StatefulServiceType">
<xs:annotation>
<xs:documentation>Defines a stateful service.</xs:documentation>
</xs:annotation>
<xs:complexContent>
<xs:extension base="ServiceType">
<xs:attribute name="TargetReplicaSetSize" type="xs:string" default="1">
<xs:annotation>
<xs:documentation>Desired replica set size for the partitions of this stateful service. Must be a positive integer. This is a target size; a replica set is still functional with less members. The quorum is a majority based quorum.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="MinReplicaSetSize" type="xs:string" default="1">
<xs:annotation>
<xs:documentation>Minimum number of replicas required in the replica set to allow writes. Must be positive integer less than TargetReplicaSetSize. </xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="ReplicaRestartWaitDurationSeconds" type="xs:string" use="optional" default="">
<xs:annotation>
<xs:documentation>The duration between when a replica goes down and when a new replica is created. When a persistent replica goes down, this timer starts. When it expires Service Fabric will create a new replica on any node in the cluster.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="QuorumLossWaitDurationSeconds" type="xs:string" use="optional" default="">
<xs:annotation>
<xs:documentation>The maximum duration for which a partition is allowed to be in a state of quorum loss. If the partition is still in quorum loss after this duration, the partition is recovered from quorum loss by considering the down replicas as lost. Note that this can potentially incur data loss.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="StandByReplicaKeepDurationSeconds" type="xs:string" use="optional" default="">
<xs:annotation>
<xs:documentation>How long StandBy replicas should be maintained before being removed. Sometimes a replica will be down for longer than the ReplicaRestartWaitDuration. In these cases a new replica will be built to replace it. Sometimes however the loss is not permanent and the persistent replica is eventually recovered. This now constitutes a StandBy replica.</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:extension>
</xs:complexContent>
</xs:complexType>
StatefulServiceTypeType complexType
يصف نوع الخدمة ذات الحالة.
السمة
القيمة
المحتوى
0 عنصر، 0 سمة
defined
عموميًا
الاسم
StatefulServiceTypeType
مصدر XML
<xs:complexType xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="StatefulServiceTypeType">
<xs:annotation>
<xs:documentation>Describes a stateful service type.</xs:documentation>
</xs:annotation>
<xs:complexContent>
<xs:extension base="ServiceTypeType">
<xs:attribute name="HasPersistedState" type="xs:boolean" default="false">
<xs:annotation>
<xs:documentation>True if the service has state that needs to be persisted on the local disk.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="UseImplicitHost" type="xs:boolean" default="false">
<xs:annotation>
<xs:documentation>Specifies if the service type should be implemented implicitly as a guest executable. Guest executables are used for hosting any type of applications (such as Node.js or Java) or legacy applications that do not implement the Service Fabric service interfaces.</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:extension>
</xs:complexContent>
</xs:complexType>
StatelessServiceGroupType complexType
يحدد مجموعة خدمة عديمة الحالة.
السمة
القيمة
المحتوى
0 عنصر، 0 سمة
defined
عموميًا
الاسم
StatelessServiceGroupType
مصدر XML
<xs:complexType xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="StatelessServiceGroupType">
<xs:annotation>
<xs:documentation>Defines a stateless service group.</xs:documentation>
</xs:annotation>
<xs:complexContent>
<xs:extension base="StatelessServiceType">
<xs:sequence>
<xs:element name="Members" minOccurs="1" maxOccurs="1">
<xs:annotation>
<xs:documentation>Member services of this service group</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="Member" type="ServiceGroupMemberType" minOccurs="1" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
StatelessServiceGroupTypeType complexType
يصف نوع مجموعة خدمة عديمة الحالة.
السمة
القيمة
المحتوى
0 عنصر، 0 سمة
defined
عموميًا
الاسم
StatelessServiceGroupTypeType
مصدر XML
<xs:complexType xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="StatelessServiceGroupTypeType">
<xs:annotation>
<xs:documentation>Describes a stateless service group type.</xs:documentation>
</xs:annotation>
<xs:complexContent>
<xs:extension base="ServiceGroupTypeType"/>
</xs:complexContent>
</xs:complexType>
StatelessServiceType complexType
يحدد خدمة عديمة الحالة.
السمة
القيمة
المحتوى
0 عنصر، 0 سمة
defined
عموميًا
الاسم
StatelessServiceType
مصدر XML
<xs:complexType xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="StatelessServiceType">
<xs:annotation>
<xs:documentation>Defines a stateless service.</xs:documentation>
</xs:annotation>
<xs:complexContent>
<xs:extension base="ServiceType">
<xs:attribute name="InstanceCount" type="xs:string" default="1">
<xs:annotation>
<xs:documentation>Number of instances required for this stateless service (positive integer).</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:extension>
</xs:complexContent>
</xs:complexType>
StatelessServiceTypeType complexType
يصف نوع خدمة عديمة الحالة.
السمة
القيمة
المحتوى
0 عنصر، 0 سمة
defined
عموميًا
الاسم
StatelessServiceTypeType
مصدر XML
<xs:complexType xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="StatelessServiceTypeType">
<xs:annotation>
<xs:documentation>Describes a stateless service type.</xs:documentation>
</xs:annotation>
<xs:complexContent>
<xs:extension base="ServiceTypeType">
<xs:attribute name="UseImplicitHost" type="xs:boolean" default="false">
<xs:annotation>
<xs:documentation>Specifies if the service type should be implemented implicitly as a guest executable. Guest executables are used for hosting any type of applications (such as Node.js or Java) or legacy applications that do not implement the Service Fabric service interfaces.</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:extension>
</xs:complexContent>
</xs:complexType>
غير مدعوم، لا تستخدمه. اسم التجميع غير المُدار (على سبيل المثال، Queue.dll)، للمضيف.
السمة
القيمة
المحتوى
0 عنصر، 0 سمة
defined
عموميًا
الاسم
UnmanagedDllType
مصدر XML
<xs:complexType xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="UnmanagedDllType">
<xs:annotation>
<xs:documentation>Unsupported, do not use. The name of unmanaged assembly (for example, Queue.dll), to host.</xs:documentation>
</xs:annotation>
<xs:simpleContent>
<xs:extension base="xs:string"/>
</xs:simpleContent>
</xs:complexType>
WindowsFabricDeploymentInformation complexType
السمة
القيمة
المحتوى
0 عنصر، 11 سمة
defined
عموميًا
الاسم
WindowsFabricDeploymentInformation
مصدر XML
<xs:complexType xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="WindowsFabricDeploymentInformation">
<xs:attribute name="InstanceId" type="xs:string" use="optional">
<xs:annotation>
<xs:documentation>This is the target instance of the node.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="MSILocation" type="xs:string" use="optional">
<xs:annotation>
<xs:documentation>This is the full path to the MSI location.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="ClusterManifestLocation" type="xs:string" use="optional">
<xs:annotation>
<xs:documentation>This is the full path to the Cluster Manifest Location.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="InfrastructureManifestLocation" type="xs:string" use="optional">
<xs:annotation>
<xs:documentation>This location of the infrastructure manifest that is internally generated.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="TargetVersion" type="xs:string" use="optional">
<xs:annotation>
<xs:documentation>This is the Target Version of the deployment.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="NodeName" type="xs:string" use="optional">
<xs:annotation>
<xs:documentation>This is the name of the Node to which the Fabric Upgrade is to happen</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="RemoveNodeState" type="xs:boolean" use="optional" default="false">
<xs:annotation>
<xs:documentation>A flag indicating if RemoveNodeState Api should be called after removing node configuration.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="UpgradeEntryPointExe" type="xs:string" use="optional">
<xs:annotation>
<xs:documentation>Name of the exe used by the installer service to upgrade </xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="UpgradeEntryPointExeParameters" type="xs:string" use="optional">
<xs:annotation>
<xs:documentation>Parameters to the Setup Entry point exe</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="UndoUpgradeEntryPointExe" type="xs:string" use="optional">
<xs:annotation>
<xs:documentation>Name of the exe used by the installer service to undo the upgrade</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="UndoUpgradeEntryPointExeParameters" type="xs:string" use="optional">
<xs:annotation>
<xs:documentation>Parameters to the Setup Entry point exe</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
تفاصيل السمة
معرف المثيل
هذا هو المثيل المستهدف للعقدة.
السمة
القيمة
الاسم
معرف المثيل
النوع
xs:string
الاستخدام
اختياري
MSILocation
هذا هو المسار الكامل إلى موقع MSI.
السمة
القيمة
الاسم
MSILocation
النوع
xs:string
الاستخدام
اختياري
ClusterManifestLocation
هذا هو المسار الكامل إلى موقع بيان نظام المجموعة.
السمة
القيمة
الاسم
ClusterManifestLocation
النوع
xs:string
الاستخدام
اختياري
InfrastructureManifestLocation
يظهر هذا الموقع للبنية الأساسية التي يتم إنشاؤها داخليًا.
السمة
القيمة
الاسم
InfrastructureManifestLocation
النوع
xs:string
الاستخدام
اختياري
TargetVersion
هذا هو الإصدار المستهدف من التوزيع.
السمة
القيمة
الاسم
TargetVersion
النوع
xs:string
الاستخدام
اختياري
NodeName
هذا هو اسم العقدة التي ستحدث ترقية Fabric لها
السمة
القيمة
الاسم
NodeName
النوع
xs:string
الاستخدام
اختياري
RemoveNodeState
علامة تشير إلى ما إذا كان يجب استدعاء RemoveNodeState Api بعد إزالة تكوين العقدة.
السمة
القيمة
الاسم
RemoveNodeState
النوع
xs:boolean
الاستخدام
اختياري
افتراضي
true
UpgradeEntryPointExe
اسم exe المستخدمة من قبل خدمة المثبت للترقية
السمة
القيمة
الاسم
UpgradeEntryPointExe
النوع
xs:string
الاستخدام
اختياري
UpgradeEntryPointExeParameters
معلمات للملف التنفيذي exe لنقطة إدخال الإعداد
السمة
القيمة
الاسم
UpgradeEntryPointExeParameters
النوع
xs:string
الاستخدام
اختياري
UndoUpgradeEntryPointExe
اسم الملف التنفيذي exe المستخدم من قبل خدمة المثبت للتراجع عن الترقية