Сложные типы схемы XML модели служб

Сложный Тип AppInstanceDefinitionType

Атрибут Ценность
содержимое 1 элемент, 1 атрибуты
Определенные Глобально
имя AppInstanceDefinitionType

ИСТОЧНИК XML

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


Сведения о атрибуте

Имя

Имя создаваемого приложения.

Атрибут Ценность
имя Имя
тип xs:string
Использовать required

Сведения об элементе Content

Параметры

Список параметров приложения, определенных в манифесте приложения и их соответствующих значениях.

Атрибут Ценность
имя Параметры

ApplicationHealthPolicyType complexType

Описывает политику оценки событий работоспособности, сообщаемых в различных сущностях, связанных с приложениями. Если политика не указана, предполагается, что сущность неработоспособна, если отчет о работоспособности является предупреждением или ошибкой.

Атрибут Ценность
содержимое 2 элемента, 2 атрибута
Определенные Глобально
имя 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>
  

Сведения о атрибуте

РассмотретьПредупреждениеКак Ошибка

Указывает, следует ли обрабатывать отчеты о работоспособности предупреждения как ошибки во время оценки работоспособности. По умолчанию: false.

Атрибут Ценность
имя РассмотретьПредупреждениеКак Ошибка
тип xs:string
Использовать optional
default false

MaxPercentUnhealthyDeployedApplications

Указывает максимальный допустимый процент развернутых приложений, которые могут быть неработоспособными до того, как приложение считается ошибкой. Это вычисляется путем деления количества неработоспособных развернутых приложений по количеству узлов, в которых в настоящее время развертываются приложения в кластере. Вычисления округляется до того, чтобы обеспечить один сбой на небольших числах узлов. Процент по умолчанию: 0.

Атрибут Ценность
имя MaxPercentUnhealthyDeployedApplications
тип xs:string
Использовать optional
default 0

Сведения об элементе Content

DefaultServiceTypeHealthPolicy

Указывает политику работоспособности типа службы по умолчанию, которая заменит политику работоспособности по умолчанию для всех типов служб в приложении.

Атрибут Ценность
имя DefaultServiceTypeHealthPolicy
тип ServiceTypeHealthPolicyType
minOccurs 0

ServiceTypeHealthPolicy

Описывает политику оценки событий работоспособности, сообщаемых о службах, секциях и репликах определенного типа службы.

Атрибут Ценность
имя ServiceTypeHealthPolicy
minOccurs 0
maxOccurs unbounded

ComplexType ApplicationInstanceType

Описывает экземпляр приложения Microsoft Azure Service Fabric.

Атрибут Ценность
содержимое 4 элемента, 1 атрибуты
Определенные Глобально
имя ApplicationInstanceType

ИСТОЧНИК XML

<xs:complexType xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="ApplicationInstanceType">
    <xs:annotation>
      <xs:documentation>Describes an instance of a Microsoft Azure Service Fabric application.</xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="ApplicationPackageRef">
        <xs:complexType>
          <xs:attributeGroup ref="VersionedItemAttrGroup"/>
        </xs:complexType>
      </xs:element>
      <xs:element name="ServicePackageRef" maxOccurs="unbounded">
        <xs:complexType>
          <xs:attribute name="Name" use="required"/>
          <xs:attributeGroup ref="VersionedItemAttrGroup"/>
        </xs:complexType>
      </xs:element>
      <xs:element name="ServiceTemplates" type="ServiceTemplatesType"/>
      <xs:element name="DefaultServices" type="DefaultServicesType"/>
    </xs:sequence>
    <xs:attribute name="Version" type="xs:int" use="required">
      <xs:annotation>
        <xs:documentation>The version of the ApplicationInstance document.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attributeGroup ref="ApplicationInstanceAttrGroup"/>
    <xs:attributeGroup ref="ApplicationManifestAttrGroup"/>
  </xs:complexType>
  

Сведения о атрибуте

Версия

Версия документа ApplicationInstance.

Атрибут Ценность
имя Версия
тип xs:int
Использовать required

Сведения об элементе Content

ApplicationPackageRef

Атрибут Ценность
имя ApplicationPackageRef

ServicePackageRef

Атрибут Ценность
имя ServicePackageRef
maxOccurs unbounded

ServiceTemplates

Атрибут Ценность
имя ServiceTemplates
тип ServiceTemplatesType

DefaultServices

Атрибут Ценность
имя DefaultServices
тип DefaultServicesType

ApplicationManifestType complexType

Декларативно описывает тип приложения и версию. На один или несколько манифестов служб составляющих служб ссылаются на создание типа приложения. Параметры конфигурации составляющих служб можно переопределить с помощью параметризованных параметров приложения. Службы по умолчанию, шаблоны служб, субъекты, политики, настройка диагностики и сертификаты также могут объявляться на уровне приложения.

Атрибут Ценность
содержимое 9 элементов, 0 атрибутов
Определенные Глобально
имя 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>
  

Сведения об элементе Content

Описание

Текст, описывающий это приложение.

Атрибут Ценность
имя Описание
тип xs:string
minOccurs 0

Параметры

Объявляет параметры, используемые в этом манифесте приложения. Значение этих параметров можно указать при создании экземпляра приложения и может использоваться для переопределения параметров конфигурации приложения или службы.

Атрибут Ценность
имя Параметры
minOccurs 0

ServiceManifestImport

Импортирует манифест службы, созданный разработчиком службы. Манифест службы должен быть импортирован для каждой из составляющих служб в приложении. Переопределения конфигурации и политики можно объявить для манифеста службы.

Атрибут Ценность
имя ServiceManifestImport
maxOccurs unbounded

ServiceTemplates

Объявляет набор разрешенных типов служб, которые можно создавать динамически внутри экземпляра приложения. Значения конфигурации по умолчанию, такие как коэффициент репликации, задаются и используются в качестве шаблона для создания экземпляров служб.

Атрибут Ценность
имя ServiceTemplates
тип ServiceTemplatesType
minOccurs 0

DefaultServices

Атрибут Ценность
имя DefaultServices
тип DefaultServicesType
minOccurs 0

Principals

Атрибут Ценность
имя Principals
тип SecurityPrincipalsType
minOccurs 0

Политики

Атрибут Ценность
имя Политики
тип ApplicationPoliciesType
minOccurs 0

Диагностика

Атрибут Ценность
имя Диагностика
тип DiagnosticsType
minOccurs 0

Certificates

Объявляет сертификаты, используемые для защиты конечных точек или шифрования секретов в манифесте приложения или манифесте кластера.

Атрибут Ценность
имя Certificates
minOccurs 0

ComplexType ApplicationPackageType

ApplicationPackage представляет сведения о версии приложения, необходимые узлу.

Атрибут Ценность
содержимое 2 элемента, 2 атрибута
Определенные Глобально
имя ApplicationPackageType

ИСТОЧНИК XML

<xs:complexType xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="ApplicationPackageType">
    <xs:annotation>
      <xs:documentation>ApplicationPackage represents the versioned Application information required by the node.</xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="DigestedEnvironment" type="EnvironmentType"/>
      <xs:element name="DigestedCertificates">
        <xs:complexType>
          <xs:sequence maxOccurs="unbounded">
            <xs:element name="SecretsCertificate" type="FabricCertificateType" minOccurs="0"/>
            <xs:element name="EndpointCertificate" type="EndpointCertificateType" minOccurs="0"/>
          </xs:sequence>
          <xs:attributeGroup ref="VersionedItemAttrGroup"/>
        </xs:complexType>
      </xs:element>
    </xs:sequence>
    <xs:attribute name="ApplicationTypeName" type="xs:string" use="required">
      <xs:annotation>
        <xs:documentation>Type identifier for this application.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attributeGroup ref="VersionedItemAttrGroup"/>
    <xs:attributeGroup ref="ApplicationInstanceAttrGroup"/>
    <xs:attribute name="ContentChecksum" type="xs:string">
      <xs:annotation>
        <xs:documentation>Checksum value of this ApplicationPackage content</xs:documentation>
      </xs:annotation>
    </xs:attribute>
  </xs:complexType>
  

Сведения о атрибуте

ТипПриложенияИмя

Идентификатор типа для этого приложения.

Атрибут Ценность
имя ТипПриложенияИмя
тип xs:string
Использовать required

ContentChecksum

Значение контрольной суммы этого содержимого ApplicationPackage

Атрибут Ценность
имя ContentChecksum
тип xs:string

Сведения об элементе Content

DigestedEnvironment

Атрибут Ценность
имя DigestedEnvironment
тип EnvironmentType

DigestedCertificates

Атрибут Ценность
имя DigestedCertificates

ApplicationPoliciesType complexType

Описывает политики (сбор журналов, доступ по умолчанию для запуска от имени, работоспособности и безопасности) для применения на уровне приложения.

Атрибут Ценность
содержимое 4 элемента, 0 атрибутов
Определенные Глобально
имя 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>
        

Сведения об элементе Content

LogCollectionPolicies

Указывает, включена ли коллекция журналов. Работает только в среде кластера Azure

Атрибут Ценность
имя LogCollectionPolicies
minOccurs 0

DefaultRunAsPolicy

Укажите учетную запись пользователя по умолчанию для всех пакетов кода службы, которые не имеют определенного параметра RunAsPolicy, определенного в разделе ServiceManifestImport.

Атрибут Ценность
имя DefaultRunAsPolicy
minOccurs 0

HealthPolicy

Атрибут Ценность
имя HealthPolicy
тип ApplicationHealthPolicyType
minOccurs 0

SecurityAccessPolicies

Список политик безопасности, применяемых к ресурсам на уровне приложения.

Атрибут Ценность
имя SecurityAccessPolicies
minOccurs 0

Сложный Тип AzureBlobETWType

Описывает назначение хранилища BLOB-объектов Azure для событий ETW. Работает только в среде Azure.

Атрибут Ценность
содержимое 0 элементов, 0 атрибутов
Определенные Глобально
имя 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

Описывает назначение хранилища BLOB-объектов Azure для диагностических данных. Работает только в среде кластера Azure.

Атрибут Ценность
содержимое 0 элементов, 0 атрибутов
Определенные Глобально
имя 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>
  

Сложный тип AzureRoleType

Атрибут Ценность
содержимое 0 элементов, 3 атрибута
Определенные Глобально
имя AzureRoleType

ИСТОЧНИК XML

<xs:complexType xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="AzureRoleType">
    <xs:attribute name="RoleName" type="xs:string" use="required"/>
    <xs:attribute name="NodeTypeRef" type="xs:string" use="required"/>
    <xs:attribute name="SeedNodeCount" type="xs:int" use="optional" default="0"/>
  </xs:complexType>
  

Сведения о атрибуте

НазваниеРоли

Атрибут Ценность
имя НазваниеРоли
тип xs:string
Использовать required

NodeTypeRef

Атрибут Ценность
имя NodeTypeRef
тип xs:string
Использовать required

SeedNodeCount

Атрибут Ценность
имя SeedNodeCount
тип xs:int
Использовать optional
default 0

Сложный тип AzureStoreBaseType

Описание диагностического хранилища в учетной записи хранения Azure.

Атрибут Ценность
содержимое 1 элемент, 1 атрибуты
Определенные Глобально
имя AzureStoreBaseType

ИСТОЧНИК XML

<xs:complexType xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="AzureStoreBaseType">
    <xs:annotation>
      <xs:documentation>Describes a diagnostic store in an Azure storage account.</xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element ref="Parameters" minOccurs="0"/>
    </xs:sequence>
    <xs:attributeGroup ref="IsEnabled"/>
    <xs:attributeGroup ref="ConnectionString"/>
    <xs:attribute name="ConnectionStringIsEncrypted" type="xs:string" use="required"/>
    <xs:attributeGroup ref="UploadIntervalInMinutes"/>
    <xs:attributeGroup ref="DataDeletionAgeInDays"/>
  </xs:complexType>
  

Сведения о атрибуте

ConnectionStringIsEncrypted

Атрибут Ценность
имя ConnectionStringIsEncrypted
тип xs:string
Использовать required

Сведения об элементе Content

Нет

Атрибут Ценность
ссылка Параметры
minOccurs 0

Сложный тип BlackbirdRoleType

Атрибут Ценность
содержимое 0 элементов, 4 атрибута
Определенные Глобально
имя BlackbirdRoleType

ИСТОЧНИК XML

<xs:complexType xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="BlackbirdRoleType">
    <xs:attribute name="EnvironmentName" type="xs:string" use="required"/>
    <xs:attribute name="RoleName" type="xs:string" use="required"/>
    <xs:attribute name="NodeTypeRef" type="xs:string" use="required"/>
    <xs:attribute name="IsSeedNode" type="xs:boolean" use="optional" default="0"/>
  </xs:complexType>
  

Сведения о атрибуте

Имя среды

Атрибут Ценность
имя Имя среды
тип xs:string
Использовать required

НазваниеРоли

Атрибут Ценность
имя НазваниеРоли
тип xs:string
Использовать required

NodeTypeRef

Атрибут Ценность
имя NodeTypeRef
тип xs:string
Использовать required

IsSeedNode

Атрибут Ценность
имя IsSeedNode
тип xs:boolean
Использовать optional
default 0

CertificatesType complexType

Атрибут Ценность
содержимое 4 элемента, 0 атрибутов
Определенные Глобально
имя CertificatesType

ИСТОЧНИК XML

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

Сведения об элементе Content

ClusterCertificate

Сертификат, используемый для защиты взаимодействия внутри кластера.

Атрибут Ценность
имя ClusterCertificate
тип FabricCertificateType
minOccurs 0

ServerCertificate

Сертификат, используемый для защиты взаимодействия внутри кластера.

Атрибут Ценность
имя ServerCertificate
тип FabricCertificateType
minOccurs 0

Клиентский сертификат

Сертификат клиента роли администратора по умолчанию, используемый для защиты обмена данными с клиентским сервером.

Атрибут Ценность
имя Клиентский сертификат
тип FabricCertificateType
minOccurs 0

UserRoleClientCertificate

Сертификат клиента роли пользователя по умолчанию, используемый для защиты обмена данными с клиентским сервером.

Атрибут Ценность
имя UserRoleClientCertificate
тип FabricCertificateType
minOccurs 0

ComplexType ClusterManifestType

Описывает кластер Microsoft Azure Service Fabric.

Атрибут Ценность
содержимое 4 элемента, 3 атрибута
Определенные Глобально
имя ClusterManifestType

ИСТОЧНИК XML

<xs:complexType xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="ClusterManifestType">
                <xs:annotation>
                        <xs:documentation>Describes a Microsoft Azure Service Fabric Cluster.</xs:documentation>
                </xs:annotation>
                <xs:all>
                        <xs:element name="NodeTypes" minOccurs="1">
                                <xs:complexType>
                                        <xs:sequence>
                                                <xs:element name="NodeType" maxOccurs="unbounded">
                                                        <xs:annotation>
                                                                <xs:documentation>Describe a node type.</xs:documentation>
                                                        </xs:annotation>
                                                        <xs:complexType>
                                                                <xs:all>
                                                                        <xs:element name="Endpoints" type="FabricEndpointsType" minOccurs="0">
                                                                                <xs:annotation>
                                                                                        <xs:documentation>Describe the endpoints associated with this node type</xs:documentation>
                                                                                </xs:annotation>
                                                                        </xs:element>
                                                                          <xs:element name="KtlLoggerSettings" type="FabricKtlLoggerSettingsType" minOccurs="0">
                                                                            <xs:annotation>
                                                                              <xs:documentation>Describe the KtlLogger information associated with this node type</xs:documentation>
                                                                            </xs:annotation>
                                                                          </xs:element>
                                                                          <xs:element name="LogicalDirectories" minOccurs="0">
                                                                            <xs:annotation>
                                                                              <xs:documentation>Describe the LogicalDirectories settings associated with this node type</xs:documentation>
                                                                            </xs:annotation>
                                                                            <xs:complexType>
                                                                              <xs:sequence>
                                                                                <xs:element name="LogicalDirectory" type="LogicalDirectoryType" maxOccurs="unbounded"/>
                                                                              </xs:sequence>
                                                                            </xs:complexType>
                                                                          </xs:element>
                                                                          <xs:element name="Certificates" type="CertificatesType" minOccurs="0">
                                                                                <xs:annotation>
                                                                                        <xs:documentation>Describe the certificates associated with this node type</xs:documentation>
                                                                                </xs:annotation>
                                                                        </xs:element>
                                                                        <xs:element name="PlacementProperties" minOccurs="0">
                                                                                <xs:annotation>
                                                                                        <xs:documentation>Describe the properties for this NodeType that will be used as placement constraints</xs:documentation>
                                                                                </xs:annotation>
                                                                                <xs:complexType>
                                                                                        <xs:sequence>
                                                                                                <xs:element name="Property" type="KeyValuePairType" minOccurs="0" maxOccurs="unbounded"/>
                                                                                        </xs:sequence>
                                                                                </xs:complexType>
                                                                        </xs:element>
                                                                        <xs:element name="Capacities" minOccurs="0">
                                                                                <xs:annotation>
                                                                                        <xs:documentation>The capacities of various metrics for this node type</xs:documentation>
                                                                                </xs:annotation>
                                                                                <xs:complexType>
                                                                                        <xs:sequence>
                                                                                                <xs:element name="Capacity" type="KeyValuePairType" minOccurs="0" maxOccurs="unbounded"/>
                                                                                        </xs:sequence>
                                                                                </xs:complexType>
                                                                        </xs:element>
                                                                        <xs:element name="SfssRgPolicies" minOccurs="0">
                                                                                <xs:annotation>
                                                                                        <xs:documentation>The SF system services resource governance policy for this node type</xs:documentation>
                                                                                </xs:annotation>
                                                                                <xs:complexType>
                                                                                        <xs:sequence>
                                                                                                <xs:element name="SfssRgPolicy" type="KeyValuePairType" minOccurs="0" maxOccurs="unbounded"/>
                                                                                        </xs:sequence>
                                                                                </xs:complexType>
                                                                        </xs:element>
                                                                </xs:all>
                                                                <xs:attribute name="Name" type="xs:string" use="required">
                                                                        <xs:annotation>
                                                                                <xs:documentation>Name of the NodeType</xs:documentation>
                                                                        </xs:annotation>
                                                                </xs:attribute>
                                                        </xs:complexType>
                                                </xs:element>
                                        </xs:sequence>
                                </xs:complexType>
                        </xs:element>
                        <xs:element name="Infrastructure">
                                <xs:complexType>
                                        <xs:choice>
                                                <xs:element name="WindowsServer">
                                                        <xs:complexType>
                                                                <xs:complexContent>
                                                                        <xs:extension base="WindowsInfrastructureType">
                                                                                <xs:attribute name="IsScaleMin" type="xs:boolean" default="false"/>
                                                                        </xs:extension>
                                                                </xs:complexContent>
                                                        </xs:complexType>
                                                </xs:element>
            <xs:element name="Linux">
              <xs:complexType>
                <xs:complexContent>
                  <xs:extension base="LinuxInfrastructureType">
                    <xs:attribute name="IsScaleMin" type="xs:boolean" default="false"/>
                  </xs:extension>
                </xs:complexContent>
              </xs:complexType>
            </xs:element>
                                                <xs:element name="WindowsAzure">
                                                        <xs:complexType>
                                                                <xs:sequence>
                                                                        <xs:element name="Roles">
                                                                                <xs:complexType>
                                                                                        <xs:sequence>
                                                                                                <xs:element name="Role" type="AzureRoleType" maxOccurs="unbounded"/>
                                                                                        </xs:sequence>
                                                                                </xs:complexType>
                                                                        </xs:element>
                                                                </xs:sequence>
                                                        </xs:complexType>
                                                </xs:element>
                                                <xs:element name="WindowsAzureStaticTopology">
                                                        <xs:complexType>
                                                                <xs:complexContent>
                                                                        <xs:extension base="WindowsInfrastructureType"/>
                                                                </xs:complexContent>
                                                        </xs:complexType>
                                                </xs:element>
                                                <xs:element name="Blackbird">
                                                        <xs:complexType>
                                                                <xs:sequence>
                                                                        <xs:element name="Roles">
                                                                                <xs:complexType>
                                                                                        <xs:sequence>
                                                                                                <xs:element name="Role" type="BlackbirdRoleType" minOccurs="1" maxOccurs="unbounded"/>
                                                                                        </xs:sequence>
                                                                                </xs:complexType>
                                                                        </xs:element>
                                                                </xs:sequence>
                                                        </xs:complexType>
                                                </xs:element>
                                                <xs:element name="PaaS">
                                                        <xs:complexType>
                                                                <xs:all>
                                                                        <xs:element name="Roles">
                                                                                <xs:complexType>
                                                                                        <xs:sequence>
                                                                                                <xs:element name="Role" type="PaaSRoleType" maxOccurs="unbounded"/>
                                                                                        </xs:sequence>
                                                                                </xs:complexType>
                                                                        </xs:element>
                                                                        <xs:element name="Votes">
                                                                                <xs:complexType>
                                                                                        <xs:sequence>
                                                                                                <xs:element name="Vote" type="PaaSVoteType" maxOccurs="unbounded"/>
                                                                                        </xs:sequence>
                                                                                </xs:complexType>
                                                                        </xs:element>
                                                                </xs:all>
                                                        </xs:complexType>
                                                </xs:element>
                                        </xs:choice>
                                </xs:complexType>
                        </xs:element>
                        <xs:element name="FabricSettings" type="SettingsOverridesType" minOccurs="0"/>
                        <xs:element name="Certificates" minOccurs="0">
                                <xs:complexType>
                                        <xs:sequence>
                                                <xs:element name="SecretsCertificate" type="FabricCertificateType" minOccurs="0"/>
                                        </xs:sequence>
                                </xs:complexType>
                        </xs:element>
                </xs:all>
                <xs:attribute name="Name" use="required">
                        <xs:annotation>
                                <xs:documentation>Name of the Cluster.</xs:documentation>
                        </xs:annotation>
                </xs:attribute>
                <xs:attribute name="Version" use="required">
                        <xs:annotation>
                                <xs:documentation>User-defined version string for the cluster manifest document.</xs:documentation>
                        </xs:annotation>
                </xs:attribute>
                <xs:attribute name="Description">
                        <xs:annotation>
                                <xs:documentation>Description for the Cluster Manifest.</xs:documentation>
                        </xs:annotation>
                </xs:attribute>
        </xs:complexType>
        

Сведения о атрибуте

Имя

Имя кластера.

Атрибут Ценность
имя Имя
Использовать required

Версия

Определяемая пользователем строка версии для документа манифеста кластера.

Атрибут Ценность
имя Версия
Использовать required

Описание

Описание манифеста кластера.

Атрибут Ценность
имя Описание

Сведения об элементе Content

NodeTypes

Атрибут Ценность
имя NodeTypes
minOccurs 1

Инфраструктура

Атрибут Ценность
имя Инфраструктура

FabricSettings

Атрибут Ценность
имя FabricSettings
тип SettingsOverridesType
minOccurs 0

Certificates

Атрибут Ценность
имя Certificates
minOccurs 0

Сложный тип CodePackageType

Описывает пакет кода, поддерживающий определенный тип службы. При создании экземпляра службы в одном из этих типов служб все пакеты кода, объявленные в этом манифесте, активируются путем запуска своих точек входа. Ожидается, что полученные процессы регистрируют поддерживаемые типы служб во время выполнения. При наличии нескольких пакетов кода они все активируются всякий раз, когда система ищет любой из объявленных типов служб.

Атрибут Ценность
содержимое 3 элемента, 2 атрибута
Определенные Глобально
имя 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

Указывает, предоставляется ли содержимое этого пакета кода другим пакетам кода. Если значение true, при обновлении этого пакета кода все пакеты кода будут перезапущены. Этот атрибут в настоящее время не поддерживается, и это значение будет игнорироваться.

Атрибут Ценность
имя IsShared
тип xs:boolean
default false

IsActivator

Этот атрибут предназначен только для внутреннего использования.

Атрибут Ценность
имя IsActivator
тип xs:boolean
default false

Сведения об элементе Content

SetupEntryPoint

Привилегированная точка входа, которая по умолчанию выполняется с теми же учетными данными, что и Service Fabric (обычно учетная запись NETWORKSERVICE) перед любой другой точкой входа. Исполняемый файл, указанный в EntryPoint, обычно является длительным узлом службы. Наличие отдельной точки входа установки позволяет избежать необходимости запускать узел службы с высокими привилегиями в течение длительного периода времени.

Атрибут Ценность
имя SetupEntryPoint
minOccurs 0

EntryPoint

Атрибут Ценность
имя EntryPoint
тип EntryPointDescriptionType
minOccurs 1

Переменныесреды

Атрибут Ценность
имя Переменныесреды
тип EnvironmentVariablesType
minOccurs 0
maxOccurs 1

Сложный тип ConfigOverrideType

Описывает переопределение конфигурации для определенного пакета конфигурации в манифесте импортированной службы.

Атрибут Ценность
содержимое 1 элемент, 1 атрибуты
Определенные Глобально
имя 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>
  

Сведения о атрибуте

Имя

Имя пакета конфигурации в манифесте службы, который содержит параметры, которые необходимо переопределить.

Атрибут Ценность
имя Имя
Использовать required

Сведения об элементе Content

Settings

Атрибут Ценность
имя Settings
тип SettingsOverridesType
minOccurs 0

Сложный тип ConfigPackageDescriptionType

Объявляет папку с именем атрибута Name, которая содержит файл Settings.xml. Этот файл содержит разделы определяемых пользователем параметров пары "ключ-значение", которые процесс может считывать обратно во время выполнения. При обновлении, если только версия ConfigPackage изменилась, запущенный процесс не перезапускается. Вместо этого обратный вызов уведомляет процесс изменения параметров конфигурации, чтобы их можно было перезагрузить динамически.

Атрибут Ценность
содержимое 0 элементов, 4 атрибута
Определенные Глобально
имя 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>
  

Сведения о атрибуте

Имя

Имя элемента с версией.

Атрибут Ценность
имя Имя
Использовать required

Имя_раздела

Имя раздела Settings.xmlConfigPackage.

Атрибут Ценность
имя Имя_раздела
Использовать required

Точка монтирования

Атрибут Ценность
имя Точка монтирования
тип xs:string
Использовать optional
default

EnvironmentVariableName

Атрибут Ценность
имя EnvironmentVariableName
тип xs:string
Использовать optional
default

Сложный тип ConfigPackagePoliciesType

Атрибут Ценность
содержимое 1 элемент, 1 атрибуты
Определенные Глобально
имя ConfigPackagePoliciesType

ИСТОЧНИК XML

<xs:complexType xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="ConfigPackagePoliciesType">
    <xs:sequence>
      <xs:element name="ConfigPackage" type="ConfigPackageDescriptionType" minOccurs="0" maxOccurs="unbounded"/>
    </xs:sequence>
    <xs:attribute name="CodePackageRef" use="required">
      <xs:simpleType>
        <xs:restriction base="xs:string">
          <xs:minLength value="1"/>
        </xs:restriction>
      </xs:simpleType>
    </xs:attribute>
  </xs:complexType>
  

Сведения о атрибуте

CodePackageRef

Атрибут Ценность
имя CodePackageRef
Использовать required

Сведения об элементе Content

ConfigPackage

Атрибут Ценность
имя ConfigPackage
тип ConfigPackageDescriptionType
minOccurs 0
maxOccurs unbounded

Сложный тип ConfigPackageType

Объявляет папку с именем атрибута Name в разделе PackageRoot, который содержит файл Settings.xml. Этот файл содержит разделы определяемых пользователем параметров пары "ключ-значение", которые процесс может считывать обратно во время выполнения. При обновлении, если только версия ConfigPackage изменилась, запущенный процесс не перезапускается. Вместо этого обратный вызов уведомляет процесс изменения параметров конфигурации, чтобы их можно было перезагрузить динамически.

Атрибут Ценность
содержимое 0 элементов, 0 атрибутов
Определенные Глобально
имя 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 атрибутов
Определенные Глобально
имя 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
default Мой

X509FindValue

Отпечаток сертификата X509.

Атрибут Ценность
имя X509FindValue
тип xs:string
Использовать optional

DataPackageRef

Имя пакета данных с файлами сертификатов.

Атрибут Ценность
имя DataPackageRef
тип xs:string
Использовать optional

DataPackageVersion

Версия пакета данных с файлами сертификатов.

Атрибут Ценность
имя DataPackageVersion
тип xs:string
Использовать optional

Относительный Путь

Относительный путь к файлу сертификата внутри пакета данных.

Атрибут Ценность
имя Относительный Путь
тип xs:string
Использовать optional

Пароль

Пароль или закрытый ключ для сертификата.

Атрибут Ценность
имя Пароль
тип xs:string
Использовать optional

IsPasswordEncrypted

Если задано значение true, значение пароля шифруется.

Атрибут Ценность
имя IsPasswordEncrypted
тип xs:boolean
default false

Имя

Идентификатор для определенных сведений о сертификате. Это имя используется для задания переменной среды в контейнере.

Атрибут Ценность
имя Имя
тип xs:string
Использовать required

ComplexType ContainerHealthConfigType

Задает параметры интеграции docker HEALTHCHECK для контейнера.

Атрибут Ценность
содержимое 0 элементов, 2 атрибута
Определенные Глобально
имя 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, сообщит предупреждение о работоспособности. Значение по умолчанию — истина.

Атрибут Ценность
имя IncludeDockerHealthStatusInSystemHealthReport
тип xs:boolean
Использовать optional
default истина

RestartContainerOnUnhealthyDockerHealthStatus

Если в контейнере включена функция HEALTHCHECK и отчеты docker health_status события для этого контейнера, Service Fabric перезапустит контейнер, когда health_status сообщает docker неработоспособно. Значение по умолчанию — false.

Атрибут Ценность
имя RestartContainerOnUnhealthyDockerHealthStatus
тип xs:boolean
Использовать optional
default false

ComplexType ContainerHostEntryPointType

Атрибут Ценность
содержимое 4 элемента, 0 атрибутов
Определенные Глобально
имя 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>
  

Сведения об элементе Content

ИмяИзображения

Репозиторий и образ в https://hub.docker.com реестре контейнеров Azure.

Атрибут Ценность
имя ИмяИзображения
тип xs:string

Команды

Передайте список команд с разделителями-запятыми в контейнер.

Атрибут Ценность
имя Команды
тип xs:string
minOccurs 0
maxOccurs 1

EntryPoint

Атрибут Ценность
имя EntryPoint
тип xs:string
minOccurs 0
maxOccurs 1

FromSource

Атрибут Ценность
имя FromSource
тип xs:string
minOccurs 0
maxOccurs 1

ComplexType ContainerHostPoliciesType

Атрибут Ценность
содержимое 10 элементов, 8 атрибутов
Определенные Глобально
имя ContainerHostPoliciesType

ИСТОЧНИК XML

<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
Использовать required

UseDefaultRepositoryCredentials

Используйте учетные данные репозитория по умолчанию, указанные в clusterManifest.xml вместо учетных данных, указанных в теге "RepositoryCredentials" внутри ApplicationManifest.xml.

Атрибут Ценность
имя UseDefaultRepositoryCredentials
тип xs:string
Использовать optional
default false

UseTokenAuthenticationCredentials

Используйте проверку подлинности маркера MSI (или настраиваемую конечную точку), чтобы получить маркер, используемый для проверки подлинности.

Атрибут Ценность
имя UseTokenAuthenticationCredentials
тип xs:string
Использовать optional
default false

Изоляция

Режим изоляции для контейнера. Допустимые значения — это значения по умолчанию, обработка или Hyper-V (поддерживается только для контейнеров Windows).

Атрибут Ценность
имя Изоляция
Использовать optional
тип xs:string

Имя хоста

Укажите имя узла для контейнера.

Атрибут Ценность
имя Имя хоста
Использовать optional
тип xs:string

ContainerRetentionCount

Количество контейнеров, которые следует оставить, когда контейнер неоднократно умирает. По умолчанию это значение равно 0, поэтому контейнеры не останутся позади.

Атрибут Ценность
имя ContainerRetentionCount
Использовать optional
тип xs:string
default 0

AutoRemove

Флаг, указывающий, происходит ли удаление контейнеров автоматически (true) или нет (false), если контейнер убит. Если значение false SF вручную удалите контейнеры.

Атрибут Ценность
имя AutoRemove
Использовать optional
тип xs:string

RunInteractive

Запустите контейнер с включенным интерактивным флагом. Допустимые значения : true/false. Значение по умолчанию — ложь.

Атрибут Ценность
имя RunInteractive
Использовать optional
тип xs:string

Сведения об элементе Content

РепозиторийCredentials

Учетные данные для репозитория образов контейнера для извлечения образов.

Атрибут Ценность
имя РепозиторийCredentials
тип RepositoryCredentialsType
minOccurs 0
maxOccurs 1

HealthConfig

Задает параметры интеграции docker HEALTHCHECK для контейнера.

Атрибут Ценность
имя HealthConfig
тип ContainerHealthConfigType
minOccurs 0
maxOccurs 1

PortBinding

Указывает, какой ресурс конечной точки необходимо привязать к предоставленному порту контейнера.

Атрибут Ценность
имя PortBinding
тип PortBindingType
minOccurs 0
maxOccurs unbounded

CertificateRef

Указывает сведения о сертификате, который будет предоставляться контейнеру.

Атрибут Ценность
имя CertificateRef
тип ContainerCertificateType
minOccurs 0
maxOccurs unbounded

ЛогКонфиг

Указывает драйвер ведения журнала для контейнера.

Атрибут Ценность
имя ЛогКонфиг
тип ContainerLoggingDriverType
minOccurs 0
maxOccurs 1

NetworkConfig

Указывает конфигурацию сети для контейнера.

Атрибут Ценность
имя NetworkConfig
тип ContainerNetworkConfigType
minOccurs 0
maxOccurs 1

Объем

Указывает том, привязанный к контейнеру.

Атрибут Ценность
имя Объем
тип ContainerVolumeType
minOccurs 0
maxOccurs unbounded

SecurityOption

Задает параметры безопасности для контейнера.

Атрибут Ценность
имя SecurityOption
тип SecurityOptionsType
minOccurs 0
maxOccurs unbounded

ImageOverrides

Имена образов, соответствующих номеру сборки ОС для запуска.

Атрибут Ценность
имя ImageOverrides
тип ImageOverridesType
minOccurs 0
maxOccurs 1

Этикетка

Указывает метки для контейнера.

Атрибут Ценность
имя Этикетка
тип ContainerLabelType
minOccurs 0
maxOccurs unbounded

ComplexType ContainerLabelType

Атрибут Ценность
содержимое 0 элементов, 2 атрибута
Определенные Глобально
имя ContainerLabelType

ИСТОЧНИК XML

<xs:complexType xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="ContainerLabelType">
      <xs:attribute name="Name" type="xs:string" use="required"/>
      <xs:attribute name="Value" type="xs:string" use="required"/>
  </xs:complexType>
  

Сведения о атрибуте

Имя

Атрибут Ценность
имя Имя
тип xs:string
Использовать required

Ценность

Атрибут Ценность
имя Ценность
тип xs:string
Использовать required

ComplexType ContainerLoggingDriverType

Атрибут Ценность
содержимое 1 элемент, 1 атрибуты
Определенные Глобально
имя ContainerLoggingDriverType

ИСТОЧНИК XML

<xs:complexType xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="ContainerLoggingDriverType">
      <xs:choice minOccurs="0" maxOccurs="unbounded">
          <xs:element name="DriverOption" type="DriverOptionType" minOccurs="0" maxOccurs="unbounded">
              <xs:annotation>
                  <xs:documentation>Driver options to be passed to driver.</xs:documentation>
              </xs:annotation>
          </xs:element>
      </xs:choice>
    <xs:attribute name="Driver" use="required">
      <xs:simpleType>
        <xs:restriction base="xs:string">
          <xs:minLength value="1"/>
        </xs:restriction>
      </xs:simpleType>
    </xs:attribute>
  </xs:complexType>
  

Сведения о атрибуте

Driver

Атрибут Ценность
имя Driver
Использовать required

Сведения об элементе Content

DriverOption

Параметры драйвера, передаваемые драйверу.

Атрибут Ценность
имя DriverOption
тип DriverOptionType
minOccurs 0
maxOccurs unbounded

ComplexType ContainerNetworkConfigType

Атрибут Ценность
содержимое 0 элементов, 1 атрибутов
Определенные Глобально
имя ContainerNetworkConfigType

ИСТОЧНИК XML

<xs:complexType xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="ContainerNetworkConfigType">
        <xs:attribute name="NetworkType" use="required" type="xs:string">
            <xs:annotation>
                <xs:documentation>NetworkType. Currently supported types are "Open" and "Isolated".</xs:documentation>
            </xs:annotation>
        </xs:attribute>
    </xs:complexType>
  

Сведения о атрибуте

Тип сети

NetworkType. В настоящее время поддерживаются типы Open и Isolated.

Атрибут Ценность
имя Тип сети
Использовать required
тип xs:string

ComplexType ContainerNetworkPolicyEndpointBindingType

Атрибут Ценность
содержимое 0 элементов, 1 атрибутов
Определенные Глобально
имя ContainerNetworkPolicyEndpointBindingType

ИСТОЧНИК XML

<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

ComplexType ContainerNetworkPolicyType

Описывает связь между пакетом службы и сетью контейнера и при необходимости связью между конечными точками пакета службы и сетью контейнеров.

Атрибут Ценность
содержимое 1 элемент, 1 атрибуты
Определенные Глобально
имя 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

Имя сети контейнеров (без учета регистра). Это должно быть имя уже созданной или зарезервированной сети контейнеров, включая Open или NAT.

Атрибут Ценность
имя NetworkRef
Использовать required

Сведения об элементе Content

EndpointBinding

Указывает конечную точку, которая должна быть предоставлена в сети контейнеров.

Атрибут Ценность
имя EndpointBinding
тип ContainerNetworkPolicyEndpointBindingType
minOccurs 0
maxOccurs unbounded

ComplexType ContainerVolumeType

Атрибут Ценность
содержимое 1 элемента, 4 атрибута
Определенные Глобально
имя ContainerVolumeType

ИСТОЧНИК XML

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

Сведения о атрибуте

Исходный материал

Исходная папка, которая может быть папкой на виртуальной машине, в которой размещаются контейнеры или постоянное удаленное хранилище.

Атрибут Ценность
имя Исходный материал
Использовать required

Место назначения

Расположение, с которым сопоставляется источник в работающем контейнере. Таким образом, назначение не может быть расположением, которое уже существует в контейнере.

Атрибут Ценность
имя Место назначения
Использовать required

Driver

Имя драйвера для подключаемого модуля тома файлов Azure — sfazurefile.

Атрибут Ценность
имя Driver
Использовать optional

IsReadOnly

Атрибут Ценность
имя IsReadOnly
тип xs:boolean
default false

Сведения об элементе Content

DriverOption

Параметры драйвера, передаваемые драйверу.

Атрибут Ценность
имя DriverOption
тип DriverOptionType
minOccurs 0
maxOccurs unbounded

Сложный тип DataPackageType

Объявляет папку с именем атрибута Name в разделе PackageRoot, который содержит статические файлы данных, которые будут использоваться процессом во время выполнения. Service Fabric будет перезагружать все EXEs и DLLHOSTs, указанные в узле, и поддерживать пакеты при обновлении любого из пакетов данных, перечисленных в манифесте службы.

Атрибут Ценность
содержимое 0 элементов, 0 атрибутов
Определенные Глобально
имя 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.

Атрибут Ценность
содержимое 4 элемента, 10 атрибутов
Определенные Глобально
имя DebugParametersType

ИСТОЧНИК XML

<xs:complexType xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="DebugParametersType">
    <xs:annotation>
      <xs:documentation>Specifies information on debugger to attach when activating codepackage.</xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="ContainerEntryPoint" type="xs:string" minOccurs="0" maxOccurs="unbounded">
        <xs:annotation>
          <xs:documentation>Overridden entrypoint for containers so debugger can be launched.</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="ContainerMountedVolume" type="xs:string" minOccurs="0" maxOccurs="unbounded">
        <xs:annotation>
          <xs:documentation>Volumes to be mounted inside container.</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="ContainerEnvironmentBlock" type="xs:string" minOccurs="0" maxOccurs="unbounded">
        <xs:annotation>
          <xs:documentation>EnvironmentBlock for containers.</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="ContainerLabel" type="xs:string" minOccurs="0" maxOccurs="unbounded">
        <xs:annotation>
          <xs:documentation>Labels for containers in form key=value.</xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
    <xs:attribute name="ProgramExePath">
      <xs:simpleType>
        <xs:restriction base="xs:string">
          <xs:minLength value="1"/>
        </xs:restriction>
      </xs:simpleType>
    </xs:attribute>
    <xs:attribute name="Arguments">
      <xs:simpleType>
        <xs:restriction base="xs:string">
          <xs:minLength value="1"/>
        </xs:restriction>
      </xs:simpleType>
    </xs:attribute>
    <xs:attribute name="EntryPointType" use="optional" default="Main">
      <xs:simpleType>
        <xs:restriction base="xs:string">
          <xs:enumeration value="Setup"/>
          <xs:enumeration value="Main"/>
          <xs:enumeration value="All"/>
        </xs:restriction>
      </xs:simpleType>
    </xs:attribute>
    <xs:attribute name="CodePackageLinkFolder">
      <xs:simpleType>
        <xs:restriction base="xs:string">
          <xs:minLength value="1"/>
        </xs:restriction>
      </xs:simpleType>
    </xs:attribute>
    <xs:attribute name="ConfigPackageLinkFolder">
      <xs:simpleType>
        <xs:restriction base="xs:string">
          <xs:minLength value="1"/>
        </xs:restriction>
      </xs:simpleType>
    </xs:attribute>
    <xs:attribute name="DataPackageLinkFolder">
      <xs:simpleType>
        <xs:restriction base="xs:string">
          <xs:minLength value="1"/>
        </xs:restriction>
      </xs:simpleType>
    </xs:attribute>
    <xs:attribute name="LockFile">
      <xs:simpleType>
        <xs:restriction base="xs:string">
          <xs:minLength value="1"/>
        </xs:restriction>
      </xs:simpleType>
    </xs:attribute>
    <xs:attribute name="WorkingFolder">
      <xs:simpleType>
        <xs:restriction base="xs:string">
          <xs:minLength value="1"/>
        </xs:restriction>
      </xs:simpleType>
    </xs:attribute>
    <xs:attribute name="DebugParametersFile">
      <xs:simpleType>
        <xs:restriction base="xs:string">
          <xs:minLength value="1"/>
        </xs:restriction>
      </xs:simpleType>
    </xs:attribute>
    <xs:attribute name="EnvironmentBlock">
      <xs:simpleType>
        <xs:restriction base="xs:string">
          <xs:minLength value="1"/>
        </xs:restriction>
      </xs:simpleType>
    </xs:attribute>
  </xs:complexType>
  

Сведения о атрибуте

ProgramExePath

Атрибут Ценность
имя ProgramExePath

Аргументы

Атрибут Ценность
имя Аргументы

EntryPointType

Атрибут Ценность
имя EntryPointType
Использовать optional
default Главная

CodePackageLinkFolder

Атрибут Ценность
имя CodePackageLinkFolder

ConfigPackageLinkFolder

Атрибут Ценность
имя ConfigPackageLinkFolder

DataPackageLinkFolder

Атрибут Ценность
имя DataPackageLinkFolder

Lockfile

Атрибут Ценность
имя Lockfile

WorkingFolder

Атрибут Ценность
имя WorkingFolder

DebugParametersFile

Атрибут Ценность
имя DebugParametersFile

EnvironmentBlock

Атрибут Ценность
имя EnvironmentBlock

Сведения об элементе Content

ContainerEntryPoint

Переопределенная точка входа для контейнеров, чтобы отладчик можно было запустить.

Атрибут Ценность
имя ContainerEntryPoint
тип xs:string
minOccurs 0
maxOccurs unbounded

ContainerMountedVolume

Тома, которые должны быть подключены внутри контейнера.

Атрибут Ценность
имя ContainerMountedVolume
тип xs:string
minOccurs 0
maxOccurs unbounded

ContainerEnvironmentBlock

EnvironmentBlock для контейнеров.

Атрибут Ценность
имя ContainerEnvironmentBlock
тип xs:string
minOccurs 0
maxOccurs unbounded

ContainerLabel

Метки для контейнеров в формате key=value.

Атрибут Ценность
имя ContainerLabel
тип xs:string
minOccurs 0
maxOccurs unbounded

ComplexType DefaultServicesType

Объявляет экземпляры служб, которые создаются автоматически при создании экземпляра приложения для этого типа приложения.

Атрибут Ценность
содержимое 2 элемента, 0 атрибутов
Определенные Глобально
имя 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>
    

Сведения об элементе Content

Услуга

Объявляет службу, которая создается автоматически при создании экземпляра приложения.

Атрибут Ценность
имя Услуга

ServiceGroup

Коллекция служб, которые автоматически расположены вместе, поэтому они также перемещаются вместе во время отработки отказа или управления ресурсами.

Атрибут Ценность
имя ServiceGroup

DiagnosticsType complexType

Описание параметров диагностики для приложений.

Атрибут Ценность
содержимое 3 элемента, 0 атрибутов
Определенные Глобально
имя 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>
  

Сведения об элементе Content

CrashDumpSource

Задает коллекцию аварийного дампа. Аварийные дампы собираются для исполняемых файлов, в которых размещаются пакеты кода всех служб, принадлежащих приложению.

Атрибут Ценность
имя CrashDumpSource
minOccurs 0

ETWSource

Указывает коллекцию трассировок ETW. Трассировки ETW собираются для поставщиков, зарегистрированных всеми службами, принадлежащими приложению.

Атрибут Ценность
имя ETWSource
minOccurs 0

FolderSource

Указывает коллекцию содержимого определенной папки на локальном узле.

Атрибут Ценность
имя FolderSource
minOccurs 0
maxOccurs unbounded

Сложный Тип DllHostEntryPointType

Неподдерживаемые, не используйте. Поддержка размещения БИБЛИОТЕК DLL (точка входа сборки) предоставляется через процесс FWP.exe. Service Fabric запускает рабочий процесс Fabric (FWP.exe) и загружает сборку в процессе активации.

Атрибут Ценность
содержимое 2 элемента, 1 атрибута
Определенные Глобально
имя 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.

Атрибут Ценность
имя IsolationPolicy
Использовать optional
default Выделенный процесс

Сведения об элементе Content

НеуправляемыйDll

Атрибут Ценность
имя НеуправляемыйDll
тип UnmanagedDllType

ManagedAssembly

Атрибут Ценность
имя ManagedAssembly
тип ManagedAssemblyType

DriverOptionType complexType

Параметры драйвера, передаваемые драйверу. Подключаемый модуль тома файлов Azure поддерживает следующие параметры драйвера: shareName (общий файловый ресурс Azure Files, который предоставляет том для контейнера), storageAccountName (учетная запись хранения Azure, содержащая общую папку файлов Azure), storageAccountKey (ключ доступа для учетной записи хранения Azure, содержащей общую папку файлов Azure). Эти три варианта драйвера необходимы.

Атрибут Ценность
содержимое 0 элементов, 4 атрибута
Определенные Глобально
имя 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>
    

Сведения о атрибуте

Имя

Имя параметра драйвера.

Атрибут Ценность
имя Имя
тип xs:string
Использовать required

Ценность

Значение параметра драйвера.

Атрибут Ценность
имя Ценность
тип xs:string
Использовать required

IsEncrypted

Атрибут Ценность
имя IsEncrypted
тип xs:string
Использовать optional
default false

Тип

Это значение определяет защиту значения атрибута. Это может быть SecretStoreRef/Encrypted/PlainText. Если задано значение SecretStoreRef, значение ссылается на секрет, хранящийся в защищенном хранилище кластера, который дешифровывается и расшифровывается при активации. Если задано значение Encrypted, разработчик приложения отвечает за создание сертификата и использование командлета Invoke-ServiceFabricEncryptSecret для шифрования конфиденциальной информации.

Атрибут Ценность
имя Тип
тип xs:string
Использовать optional
default Простой текст

EndpointBindingPolicyType complexType

Атрибут Ценность
содержимое 0 элементов, 2 атрибута
Определенные Глобально
имя 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
Использовать required

EndpointCertificateType complexType

Указывает сведения о сертификате X509, используемом для защиты конечной точки.

Атрибут Ценность
содержимое 0 элементов, 3 атрибута
Определенные Глобально
имя 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
default Мой

X509FindValue

Отпечаток сертификата X509.

Атрибут Ценность
имя X509FindValue
Использовать required

Имя

Атрибут Ценность
имя Имя
тип xs:string
Использовать optional

EndpointOverrideType complexType

Атрибут Ценность
содержимое 0 элементов, 6 атрибутов
Определенные Глобально
имя 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>
  

Сведения о атрибуте

Имя

Имя конечной точки для переопределения. Строка.

Атрибут Ценность
имя Имя
Использовать required

Порт

Номер порта для конечной точки. Переопределяет значение в манифесте службы.

Атрибут Ценность
имя Порт
тип xs:string

Протокол

Протокол конечной точки. Переопределяет значение в манифесте службы. Конечные точки HTTPS также должны иметь EndpointCertificate и EndpointBindingPolicy, объявленные в манифесте приложения. Протокол нельзя изменить позже в обновлении приложения.

Атрибут Ценность
имя Протокол
тип xs:string
Использовать optional

Тип

Тип конечной точки. Переопределяет значение в манифесте службы. Входные конечные точки используются для предоставления порта внешним конечным точкам, внутренние конечные точки используются для взаимодействия внутри приложения.

Атрибут Ценность
имя Тип
тип xs:string
Использовать optional

UriScheme

Схема URI. Переопределяет значение в манифесте службы. Например, http, https или ftp.

Атрибут Ценность
имя UriScheme
Использовать optional

PathSuffix

Суффикс пути. Например, "/myapp1". Переопределяет значение в манифесте службы.

Атрибут Ценность
имя PathSuffix
Использовать optional

ComplexType EndpointType

Определяет конечную точку службы. Можно запросить определенные порты. Если порт не указан явным образом, порт назначается из зарезервированного диапазона портов приложения. Реплики служб, работающие на разных узлах кластера, могут быть назначены разным номерам портов, а реплики одной и той же службы, работающей на одном узле, совместно используют один и тот же порт. Такие порты можно использовать репликами служб для различных целей, таких как репликация или прослушивание клиентских запросов.

Атрибут Ценность
содержимое 0 элементов, 8 атрибутов
Определенные Глобально
имя Тип конечной точки

ИСТОЧНИК 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>
  

Сведения о атрибуте

Имя

Имя конечной точки.

Атрибут Ценность
имя Имя
Использовать required

Протокол

Протокол конечной точки: http, https, tcp или udp. Конечные точки HTTPS также должны иметь EndpointCertificate и EndpointBindingPolicy, объявленные в манифесте приложения. Протокол нельзя изменить позже в обновлении приложения.

Атрибут Ценность
имя Протокол
Использовать optional
default tcp

Тип

Тип конечной точки. Входные конечные точки используются для предоставления порта внешним конечным точкам, внутренние конечные точки используются для взаимодействия внутри приложения.

Атрибут Ценность
имя Тип
Использовать optional
default Внутренний

CodePackageRef

Имя пакета кода, который будет использовать эту конечную точку.

Атрибут Ценность
имя CodePackageRef
Использовать optional

CertificateRef

Не используйте этот атрибут.

Атрибут Ценность
имя CertificateRef

Порт

Порт будет заменен портом, определенным Microsoft Azure Service Fabric после регистрации в Http.sys или BFE.

Атрибут Ценность
имя Порт

UriScheme

Схема URI. Например, http, https или ftp.

Атрибут Ценность
имя UriScheme

PathSuffix

Суффикс пути. Например, "/myapp1".

Атрибут Ценность
имя PathSuffix

ComplexType EntryPointDescriptionType

Исполняемый файл, указанный в EntryPoint, обычно является длительным узлом службы. Наличие отдельной точки входа установки позволяет избежать необходимости запускать узел службы с высокими привилегиями в течение длительного периода времени. Исполняемый файл, указанный в EntryPoint, запускается после успешного завершения установки SetupEntryPoint. Результирующий процесс отслеживается и перезапускается (начиная с setupEntryPoint), если он когда-либо завершает работу или завершает работу.

Атрибут Ценность
содержимое 3 элемента, 0 атрибутов
Определенные Глобально
имя 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>
  

Сведения об элементе Content

ExeHost

Атрибут Ценность
имя ExeHost

DllHost

Атрибут Ценность
имя DllHost
тип DllHostEntryPointType

ContainerHost

Атрибут Ценность
имя ContainerHost
тип ContainerHostEntryPointType

ComplexType EnvironmentOverridesType

Атрибут Ценность
содержимое 1 элемент, 1 атрибуты
Определенные Глобально
имя EnvironmentOverridesType

ИСТОЧНИК XML

<xs:complexType xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="EnvironmentOverridesType">
    <xs:sequence>
      <xs:element name="EnvironmentVariable" type="EnvironmentVariableOverrideType" minOccurs="0" maxOccurs="unbounded">
        <xs:annotation>
          <xs:documentation>Environment variable.</xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
    <xs:attribute name="CodePackageRef" use="required">
      <xs:simpleType>
        <xs:restriction base="xs:string">
          <xs:minLength value="1"/>
        </xs:restriction>
      </xs:simpleType>
    </xs:attribute>
  </xs:complexType>

  

Сведения о атрибуте

CodePackageRef

Атрибут Ценность
имя CodePackageRef
Использовать required

Сведения об элементе Content

Переменная среды

Переменная среды.

Атрибут Ценность
имя Переменная среды
тип EnvironmentVariableOverrideType
minOccurs 0
maxOccurs unbounded

ComplexType EnvironmentType

Атрибут Ценность
содержимое 3 элемента, 0 атрибутов
Определенные Глобально
имя EnvironmentType

ИСТОЧНИК XML

<xs:complexType xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="EnvironmentType">
        <xs:sequence>
            <xs:element name="Principals" type="SecurityPrincipalsType"/>
            <xs:element name="Policies" type="ApplicationPoliciesType"/>
            <xs:element name="Diagnostics" type="DiagnosticsType"/>
        </xs:sequence>
        <xs:attributeGroup ref="VersionedItemAttrGroup"/>
    </xs:complexType>
    

Сведения об элементе Content

Principals

Атрибут Ценность
имя Principals
тип SecurityPrincipalsType

Политики

Атрибут Ценность
имя Политики
тип ApplicationPoliciesType

Диагностика

Атрибут Ценность
имя Диагностика
тип DiagnosticsType

ComplexType EnvironmentVariableOverrideType

Атрибут Ценность
содержимое 0 элементов, 3 атрибута
Определенные Глобально
имя EnvironmentVariableOverrideType

ИСТОЧНИК XML

<xs:complexType xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="EnvironmentVariableOverrideType">
    <xs:attribute name="Name" type="xs:string" use="required">
      <xs:annotation>
        <xs:documentation>Name of environment variable.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="Value">
      <xs:simpleType>
        <xs:restriction base="xs:string">
          <xs:minLength value="0"/>
        </xs:restriction>
      </xs:simpleType>
    </xs:attribute>
    <xs:attribute name="Type" type="xs:string" use="optional"/>
  </xs:complexType>  
  

Сведения о атрибуте

Имя

Имя переменной среды.

Атрибут Ценность
имя Имя
тип xs:string
Использовать required

Ценность

Атрибут Ценность
имя Ценность

Тип

Атрибут Ценность
имя Тип
тип xs:string
Использовать optional

ComplexType EnvironmentVariableType

Атрибут Ценность
содержимое 0 элементов, 3 атрибута
Определенные Глобально
имя EnvironmentVariableType

ИСТОЧНИК XML

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

Сведения о атрибуте

Имя

Имя переменной среды.

Атрибут Ценность
имя Имя
тип xs:string
Использовать required

Ценность

Атрибут Ценность
имя Ценность

Тип

Тип переменной среды. Его можно использовать в формате PlainText/Encrypted/SecretStoreRef. Если задано значение SecretStoreRef, мы извлекаем значение ссылки из SecretStore. Если задано значение Encrypted, разработчик приложения отвечает за создание сертификата и использование командлета Invoke-ServiceFabricEncryptSecret для шифрования конфиденциальной информации.

Атрибут Ценность
имя Тип
Использовать optional
default Простой текст

ComplexType EnvironmentVariablesType

Передайте переменные среды в контейнер или exe.

Атрибут Ценность
содержимое 1 элемента, 0 атрибутов
Определенные Глобально
имя 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>
  

Сведения об элементе Content

Переменная среды

Переменная среды.

Атрибут Ценность
имя Переменная среды
тип EnvironmentVariableType
minOccurs 0
maxOccurs unbounded

ExeHostEntryPointType complexType

Атрибут Ценность
содержимое 4 элемента, 1 атрибуты
Определенные Глобально
имя ExeHostEntryPointType

ИСТОЧНИК XML

<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

Значение true, если исполняемый файл является внешним для пакета приложения. Проверка существования программы в пакете приложения пропущена.

Атрибут Ценность
имя IsExternalExecutable
тип xs:boolean
default false

Сведения об элементе Content

Программа

Имя исполняемого файла. Например, "MySetup.bat" или "MyServiceHost.exe".

Атрибут Ценность
имя Программа
тип xs:string

Аргументы

Атрибут Ценность
имя Аргументы
тип xs:string
minOccurs 0

WorkingFolder

Атрибут Ценность
имя WorkingFolder
default Работа
minOccurs 0

ConsoleRedirection

Предупреждение. Не используйте перенаправление консоли в рабочем приложении, используйте его только для локальной разработки и отладки. Перенаправляет выходные данные консоли из скрипта запуска в выходной файл в папке приложения с именем log на узле кластера, где развернуто и запущено приложение.

Атрибут Ценность
имя ConsoleRedirection
minOccurs 0

ExtensionsType complexType

Описывает расширения, которые можно применить к другим элементам.

Атрибут Ценность
содержимое 1 элемента, 0 атрибутов
Определенные Глобально
имя 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>
  

Сведения об элементе Content

Расширение

Атрибут Ценность
имя Расширение
minOccurs 0
maxOccurs unbounded

ComplexType FabricCertificateType

Это указывает сведения о сертификате.

Атрибут Ценность
содержимое 0 элементов, 5 атрибутов
Определенные Глобально
имя 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
default Мой

X509FindType

Используется только в том случае, если учетные данные X509. Это указывает, как найти сертификат по имени или отпечатку

Атрибут Ценность
имя X509FindType
default FindByThumbprint

X509FindValue

Используется только в том случае, если учетные данные X509. Это фактическое имя или отпечаток сертификата.

Атрибут Ценность
имя X509FindValue
Использовать required

X509FindValueSecondary

Это используется только в том случае, если учетные данные — X509. Это фактическое имя или отпечаток сертификата.

Атрибут Ценность
имя X509FindValueSecondary
Использовать optional
default

Имя

Атрибут Ценность
имя Имя
тип xs:string
Использовать optional

Сложный Тип FabricEndpointsType

Атрибут Ценность
содержимое 21 элементов, 0 атрибутов
Определенные Глобально
имя FabricEndpointsType

ИСТОЧНИК XML

<xs:complexType xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="FabricEndpointsType">
    <xs:all>
      <xs:element name="ClientConnectionEndpoint" type="InputEndpointType"/>
      <xs:element name="LeaseDriverEndpoint" type="InternalEndpointType"/>
      <xs:element name="ClusterConnectionEndpoint" type="InternalEndpointType"/>
      <xs:element name="HttpGatewayEndpoint" type="InputEndpointType" minOccurs="0"/>
      <xs:element name="HttpApplicationGatewayEndpoint" type="InputEndpointType" minOccurs="0"/>
      <xs:element name="ServiceConnectionEndpoint" type="InternalEndpointType" minOccurs="0"/>
      <xs:element name="ClusterManagerReplicatorEndpoint" type="InternalEndpointType" minOccurs="0"/>
      <xs:element name="RepairManagerReplicatorEndpoint" type="InternalEndpointType" minOccurs="0"/>
      <xs:element name="NamingReplicatorEndpoint" type="InternalEndpointType" minOccurs="0"/>
      <xs:element name="FailoverManagerReplicatorEndpoint" type="InternalEndpointType" minOccurs="0"/>
      <xs:element name="ImageStoreServiceReplicatorEndpoint" type="InternalEndpointType" minOccurs="0"/>
      <xs:element name="UpgradeServiceReplicatorEndpoint" type="InternalEndpointType" minOccurs="0"/>
      <xs:element name="FaultAnalysisServiceReplicatorEndpoint" type="InternalEndpointType" minOccurs="0"/>
      <xs:element name="BackupRestoreServiceReplicatorEndpoint" type="InternalEndpointType" minOccurs="0"/>
      <xs:element name="UpgradeOrchestrationServiceReplicatorEndpoint" type="InternalEndpointType" minOccurs="0"/>
      <xs:element name="CentralSecretServiceReplicatorEndpoint" type="InternalEndpointType" minOccurs="0"/>
      <xs:element name="EventStoreServiceReplicatorEndpoint" type="InternalEndpointType" minOccurs="0"/>
      <xs:element name="GatewayResourceManagerReplicatorEndpoint" type="InternalEndpointType" minOccurs="0"/>
      <xs:element name="DefaultReplicatorEndpoint" type="InternalEndpointType" minOccurs="0"/>
      <xs:element name="ApplicationEndpoints" minOccurs="0">
        <xs:complexType>
          <xs:attribute name="StartPort" type="xs:int" use="required"/>
          <xs:attribute name="EndPort" type="xs:int" use="required"/>
        </xs:complexType>
      </xs:element>
      <xs:element name="EphemeralEndpoints" minOccurs="0">
        <xs:complexType>
          <xs:attribute name="StartPort" type="xs:int" use="required"/>
          <xs:attribute name="EndPort" type="xs:int" use="required"/>
        </xs:complexType>
      </xs:element>
    </xs:all>
  </xs:complexType>

  

Сведения об элементе Content

ClientConnectionEndpoint

Атрибут Ценность
имя ClientConnectionEndpoint
тип InputEndpointType

LeaseDriverEndpoint

Атрибут Ценность
имя LeaseDriverEndpoint
тип InternalEndpointType

ClusterConnectionEndpoint

Атрибут Ценность
имя ClusterConnectionEndpoint
тип InternalEndpointType

HttpGatewayEndpoint

Атрибут Ценность
имя HttpGatewayEndpoint
тип InputEndpointType
minOccurs 0

HttpApplicationGatewayEndpoint

Атрибут Ценность
имя HttpApplicationGatewayEndpoint
тип InputEndpointType
minOccurs 0

ServiceConnectionEndpoint

Атрибут Ценность
имя ServiceConnectionEndpoint
тип InternalEndpointType
minOccurs 0

ClusterManagerReplicatorEndpoint

Атрибут Ценность
имя ClusterManagerReplicatorEndpoint
тип InternalEndpointType
minOccurs 0

RepairManagerReplicatorEndpoint

Атрибут Ценность
имя RepairManagerReplicatorEndpoint
тип InternalEndpointType
minOccurs 0

NamingReplicatorEndpoint

Атрибут Ценность
имя NamingReplicatorEndpoint
тип InternalEndpointType
minOccurs 0

FailoverManagerReplicatorEndpoint

Атрибут Ценность
имя FailoverManagerReplicatorEndpoint
тип InternalEndpointType
minOccurs 0

ImageStoreServiceReplicatorEndpoint

Атрибут Ценность
имя ImageStoreServiceReplicatorEndpoint
тип InternalEndpointType
minOccurs 0

UpgradeServiceReplicatorEndpoint

Атрибут Ценность
имя UpgradeServiceReplicatorEndpoint
тип InternalEndpointType
minOccurs 0

FaultAnalysisServiceReplicatorEndpoint

Атрибут Ценность
имя FaultAnalysisServiceReplicatorEndpoint
тип InternalEndpointType
minOccurs 0

BackupRestoreServiceReplicatorEndpoint

Атрибут Ценность
имя BackupRestoreServiceReplicatorEndpoint
тип InternalEndpointType
minOccurs 0

UpgradeOrchestrationServiceReplicatorEndpoint

Атрибут Ценность
имя UpgradeOrchestrationServiceReplicatorEndpoint
тип InternalEndpointType
minOccurs 0

CentralSecretServiceReplicatorEndpoint

Атрибут Ценность
имя CentralSecretServiceReplicatorEndpoint
тип InternalEndpointType
minOccurs 0

EventStoreServiceReplicatorEndpoint

Атрибут Ценность
имя EventStoreServiceReplicatorEndpoint
тип InternalEndpointType
minOccurs 0

GatewayResourceManagerReplicatorEndpoint

Атрибут Ценность
имя GatewayResourceManagerReplicatorEndpoint
тип InternalEndpointType
minOccurs 0

DefaultReplicatorEndpoint

Атрибут Ценность
имя DefaultReplicatorEndpoint
тип InternalEndpointType
minOccurs 0

ApplicationEndpoints

Атрибут Ценность
имя ApplicationEndpoints
minOccurs 0

ЭфемеральныеEndpoints

Атрибут Ценность
имя ЭфемеральныеEndpoints
minOccurs 0

FabricKtlLoggerSettingsType complexType

Атрибут Ценность
содержимое 3 элемента, 0 атрибутов
Определенные Глобально
имя FabricKtlLoggerSettingsType

ИСТОЧНИК XML

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

  

Сведения об элементе Content

SharedLogFilePath

Определяет путь к общему журналу.

Атрибут Ценность
имя SharedLogFilePath
minOccurs 0

SharedLogFileId

Идентификатор GUID, используемый в качестве идентификатора общего журнала.

Атрибут Ценность
имя SharedLogFileId
minOccurs 0

SharedLogFileSizeInMB

Определяет, насколько большим является общий журнал.

Атрибут Ценность
имя SharedLogFileSizeInMB
minOccurs 0

Сложный Тип FabricNodeType

Описывает узел Microsoft Azure Service Fabric.

Атрибут Ценность
содержимое 0 элементов, 6 атрибутов
Определенные Глобально
имя 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
Использовать required

IPAddressOrFQDN

IP-адрес или полное доменное имя компьютера, на котором будет размещаться этот узел.

Атрибут Ценность
имя IPAddressOrFQDN
тип xs:string
Использовать required

IsSeedNode

Флаг, указывающий, является ли этот узел начальным.

Атрибут Ценность
имя IsSeedNode
тип xs:boolean
default false

NodeTypeRef

Имя типа узла, определенного в разделе NodeTypes.

Атрибут Ценность
имя NodeTypeRef
тип xs:string
Использовать required

FaultDomain

Домен сбоя этого узла.

Атрибут Ценность
имя FaultDomain
тип xs:anyURI
Использовать optional

ОбновлениеDomain

Домен обновления этого узла.

Атрибут Ценность
имя ОбновлениеDomain
тип xs:anyURI
Использовать optional

Сложный тип FileStoreETWType

Описывает назначение хранилища файлов для событий ETW. Работает только в локальной среде.

Атрибут Ценность
содержимое 0 элементов, 0 атрибутов
Определенные Глобально
имя 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

Описывает место назначения хранилища файлов для диагностических данных. Работает только в автономной среде кластера.

Атрибут Ценность
содержимое 1 элемента, 2 атрибута
Определенные Глобально
имя 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>
  

Сведения о атрибуте

Тип учетной записи

Указывает тип учетной записи.

Атрибут Ценность
имя Тип учетной записи
тип xs:string

PasswordEncrypted

Указывает, шифруется ли пароль или обычный текст.

Атрибут Ценность
имя PasswordEncrypted
тип xs:string

Сведения об элементе Content

Нет

Атрибут Ценность
ссылка Параметры
minOccurs 0

ImageOverridesType complexType

Контейнеры Windows Server могут быть несовместимы в разных версиях ОС. Можно указать несколько образов ОС для каждого контейнера и пометить их с помощью версий сборки ОС. Получите версию сборки ОС, выполнив команду Winver в командной строке Windows. Если базовая ОС является сборкой версии 16299 (Windows Server версии 1709), Service Fabric выбирает образ контейнера с тегом Os="16299". Предполагается, что образ контейнера без тегов работает во всех версиях ОС и переопределяет образ, указанный в манифесте службы.

Атрибут Ценность
содержимое 1 элемента, 0 атрибутов
Определенные Глобально
имя 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>
  

Сведения об элементе Content

Изображение

Образ контейнера, соответствующий номеру версии сборки ОС для запуска. Если атрибут Ос не указан, предполагается, что образ контейнера работает во всех версиях ОС и переопределяет образ, указанный в манифесте службы.

Атрибут Ценность
имя Изображение
тип ImageType
minOccurs 0
maxOccurs unbounded

ImageType complexType

Атрибут Ценность
содержимое 0 элементов, 2 атрибута
Определенные Глобально
имя ImageType

ИСТОЧНИК XML

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

Сведения о атрибуте

Имя

Имя образа контейнера.

Атрибут Ценность
имя Имя
тип xs:string
Использовать required

Os

Сборка версии ОС. Например, версия сборки Windows Server версии 1709 — 16299.

Атрибут Ценность
имя Os
тип xs:string
Использовать optional

ComplexType InfrastructureInformationType

Содержит сведения об инфраструктуре для этого кластера Microsoft Azure Service Fabric.

Атрибут Ценность
содержимое 1 элемента, 0 атрибутов
Определенные Глобально
имя 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>
  

Сведения об элементе Content

NodeList

Атрибут Ценность
имя NodeList

ComplexType InfrastructureNodeType

Описание необходимых сведений о инфраструктуре.

Атрибут Ценность
содержимое 2 элемента, 7 атрибутов
Определенные Глобально
имя 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
Использовать required

IPAddressOrFQDN

IP-адрес или полное доменное имя компьютера, на котором будет размещаться этот узел.

Атрибут Ценность
имя IPAddressOrFQDN
тип xs:string
Использовать required

RoleOrTierName

Имя роли, которая ссылается на ссылку типа узла, определенную в разделе NodeTypes.

Атрибут Ценность
имя RoleOrTierName
тип xs:string
Использовать required

NodeTypeRef

Имя типа узла, определенного в разделе NodeTypes.

Атрибут Ценность
имя NodeTypeRef
тип xs:string
Использовать required

IsSeedNode

Указывает, является ли узел начальным.

Атрибут Ценность
имя IsSeedNode
тип xs:boolean
Использовать optional
default false

FaultDomain

Домен сбоя этого узла.

Атрибут Ценность
имя FaultDomain
тип xs:anyURI
Использовать optional

ОбновлениеDomain

Домен обновления этого узла.

Атрибут Ценность
имя ОбновлениеDomain
тип xs:anyURI
Использовать optional

Сведения об элементе Content

Endpoints

Описание конечных точек, связанных с этим типом узла

Атрибут Ценность
имя Endpoints
тип FabricEndpointsType
minOccurs 0

Certificates

Описание сертификатов, связанных с этим типом узла

Атрибут Ценность
имя Certificates
тип CertificatesType
minOccurs 0

InputEndpointType complexType

Атрибут Ценность
содержимое 0 элементов, 2 атрибута
Определенные Глобально
имя InputEndpointType

ИСТОЧНИК XML

<xs:complexType xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="InputEndpointType">
    <xs:attribute name="Port" type="xs:positiveInteger" use="required"/>
    <xs:attribute name="Protocol" use="optional" default="tcp">
      <xs:simpleType>
        <xs:restriction base="xs:string">
          <xs:enumeration value="http"/>
          <xs:enumeration value="https"/>
          <xs:enumeration value="tcp"/>
        </xs:restriction>
      </xs:simpleType>
    </xs:attribute>
  </xs:complexType>
  

Сведения о атрибуте

Порт

Атрибут Ценность
имя Порт
тип xs:positiveInteger
Использовать required

Протокол

Атрибут Ценность
имя Протокол
Использовать optional
default tcp

InternalEndpointType complexType

Атрибут Ценность
содержимое 0 элементов, 2 атрибута
Определенные Глобально
имя InternalEndpointType

ИСТОЧНИК XML

<xs:complexType xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="InternalEndpointType">
    <xs:attribute name="Port" type="xs:positiveInteger" use="required"/>
    <xs:attribute name="Protocol" use="optional" default="tcp">
      <xs:simpleType>
        <xs:restriction base="xs:string">
          <xs:enumeration value="http"/>
          <xs:enumeration value="https"/>
          <xs:enumeration value="tcp"/>
        </xs:restriction>
      </xs:simpleType>
    </xs:attribute>
  </xs:complexType>
  

Сведения о атрибуте

Порт

Атрибут Ценность
имя Порт
тип xs:positiveInteger
Использовать required

Протокол

Атрибут Ценность
имя Протокол
Использовать optional
default tcp

Сложный Тип KeyValuePairType

Атрибут Ценность
содержимое 0 элементов, 0 атрибутов
Определенные Глобально
имя KeyValuePairType

ИСТОЧНИК XML

<xs:complexType xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="KeyValuePairType">
    <xs:attributeGroup ref="NameValuePair"/>
  </xs:complexType>
  

Сложный Тип LinuxInfrastructureType

Атрибут Ценность
содержимое 1 элемента, 0 атрибутов
Определенные Глобально
имя LinuxInfrastructureType

ИСТОЧНИК XML

<xs:complexType xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="LinuxInfrastructureType">
    <xs:sequence>
      <xs:element name="NodeList">
        <xs:complexType>
          <xs:sequence>
            <xs:element name="Node" type="FabricNodeType" maxOccurs="unbounded"/>
          </xs:sequence>
        </xs:complexType>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
        

Сведения об элементе Content

NodeList

Атрибут Ценность
имя NodeList

LoadMetricType complexType

Ресурс, на который должна быть сбалансирована эта служба, например память или использование ЦП. Включает сведения о том, сколько ресурсов используется каждой репликой или экземпляром этой службы по умолчанию.

Атрибут Ценность
содержимое 0 элементов, 5 атрибутов
Определенные Глобально
имя 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>
  

Сведения о атрибуте

Имя

Уникальный идентификатор для метрики в кластере с точки зрения Диспетчера кластерных ресурсов.

Атрибут Ценность
имя Имя
Использовать required

DefaultLoad

Объем нагрузки по умолчанию, создаваемый этой службой без отслеживания состояния для этой метрики.

Атрибут Ценность
имя DefaultLoad
тип xs:long
Использовать optional
default 0

PrimaryDefaultLoad

Объем нагрузки по умолчанию, которую эта служба оказывает для этой метрики, когда она является основной репликой.

Атрибут Ценность
имя PrimaryDefaultLoad
тип xs:long
Использовать optional
default 0

SecondaryDefaultLoad

Объем нагрузки по умолчанию, которую эта служба оказывает для этой метрики, когда она является вторичной репликой.

Атрибут Ценность
имя SecondaryDefaultLoad
тип xs:long
Использовать optional
default 0

Вес

Определяет вес метрик относительно других метрик, настроенных для этой службы. Во время выполнения, если два метрика в конечном итоге конфликтуют, Диспетчер кластерных ресурсов предпочитает метрику с более высоким весом. Ноль отключает балансировку нагрузки для этой метрики.

Атрибут Ценность
имя Вес

LocalStoreETWType complexType

Описывает назначение хранилища в узле для событий ETW.

Атрибут Ценность
содержимое 0 элементов, 0 атрибутов
Определенные Глобально
имя 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

Описывает назначение хранилища в узле для диагностических данных.

Атрибут Ценность
содержимое 1 элемента, 0 атрибутов
Определенные Глобально
имя 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>
  

Сведения об элементе Content

Нет

Атрибут Ценность
ссылка Параметры
minOccurs 0

ComplexType LogicalDirectoryType

Описывает ЛогическийDirectoryType.

Атрибут Ценность
содержимое 0 элементов, 3 атрибута
Определенные Глобально
имя 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

Имя логическогоdirectory.

Атрибут Ценность
имя LogicalDirectoryName
тип xs:string
Использовать required

MappedTo

Путь к логическому каталогу.

Атрибут Ценность
имя MappedTo
тип xs:string
Использовать required

Контекст

Атрибут Ценность
имя Контекст
Использовать optional
default приложение

ComplexType ManagedAssemblyType

Неподдерживаемые, не используйте. Имя управляемой сборки (например, Queue.dll) для узла.

Атрибут Ценность
содержимое 0 элементов, 0 атрибутов
Определенные Глобально
имя 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 атрибутов
Определенные Глобально
имя 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>
  

Сведения об элементе Content

ContainerNetworkPolicy

Описывает политики сети контейнеров для пакета службы.

Атрибут Ценность
имя ContainerNetworkPolicy
тип ContainerNetworkPolicyType
minOccurs 0
maxOccurs unbounded

Сложный Тип PaaSRoleType

Атрибут Ценность
содержимое 0 элементов, 3 атрибута
Определенные Глобально
имя PaaSRoleType

ИСТОЧНИК XML

<xs:complexType xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="PaaSRoleType">
    <xs:attribute name="RoleName" type="xs:string" use="required"/>
    <xs:attribute name="NodeTypeRef" type="xs:string" use="required"/>
    <xs:attribute name="RoleNodeCount" type="xs:int" use="required"/>
  </xs:complexType>
  

Сведения о атрибуте

НазваниеРоли

Атрибут Ценность
имя НазваниеРоли
тип xs:string
Использовать required

NodeTypeRef

Атрибут Ценность
имя NodeTypeRef
тип xs:string
Использовать required

RoleNodeCount

Атрибут Ценность
имя RoleNodeCount
тип xs:int
Использовать required

Сложный тип PaaSVoteType

Атрибут Ценность
содержимое 0 элементов, 3 атрибута
Определенные Глобально
имя PaaSVoteType

ИСТОЧНИК XML

<xs:complexType xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="PaaSVoteType">
    <xs:attribute name="NodeName" use="required"/>
    <xs:attribute name="IPAddressOrFQDN" use="required"/>
    <xs:attribute name="Port" type="xs:int" use="required"/>
  </xs:complexType>
  

Сведения о атрибуте

NodeName

Атрибут Ценность
имя NodeName
Использовать required

IPAddressOrFQDN

Атрибут Ценность
имя IPAddressOrFQDN
Использовать required

Порт

Атрибут Ценность
имя Порт
тип xs:int
Использовать required

PackageSharingPolicyType complexType

Указывает, следует ли совместно использовать код, конфигурацию или пакет данных между экземплярами службы одного типа службы.

Атрибут Ценность
содержимое 0 элементов, 2 атрибута
Определенные Глобально
имя 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

Объем

Атрибут Ценность
имя Объем
default Нет

ПараметрType complexType

Атрибут Ценность
содержимое 0 элементов, 1 атрибутов
Определенные Глобально
имя ТипПараметра

ИСТОЧНИК 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>
        

Сведения о атрибуте

IsEncrypted

Если значение true, то значение этого параметра шифруется

Атрибут Ценность
имя IsEncrypted
тип xs:string

ParametersType complexType

Атрибут Ценность
содержимое 1 элемента, 0 атрибутов
Определенные Глобально
имя ParametersType

ИСТОЧНИК XML

<xs:complexType xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="ParametersType">
                <xs:sequence>
                        <xs:element name="Parameter" type="ParameterType" minOccurs="1" maxOccurs="unbounded"/>
                </xs:sequence>
        </xs:complexType>
        

Сведения об элементе Content

Параметр

Атрибут Ценность
имя Параметр
тип ParameterType
minOccurs 1
maxOccurs unbounded

PortBindingType complexType

Атрибут Ценность
содержимое 0 элементов, 2 атрибута
Определенные Глобально
имя PortBindingType

ИСТОЧНИК XML

<xs:complexType xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="PortBindingType">
    <xs:attribute name="ContainerPort" type="xs:int" use="required">
      <xs:annotation>
        <xs:documentation>Container port number.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="EndpointRef">
      <xs:simpleType>
        <xs:restriction base="xs:string">
          <xs:minLength value="1"/>
        </xs:restriction>
      </xs:simpleType>
    </xs:attribute>
  </xs:complexType>
  

Сведения о атрибуте

КонтейнерПорт

Номер порта контейнера.

Атрибут Ценность
имя КонтейнерПорт
тип xs:int
Использовать required

EndpointRef

Атрибут Ценность
имя EndpointRef

РепозиторийCredentialsType complexType

Атрибут Ценность
содержимое 0 элементов, 3 атрибута
Определенные Глобально
имя RepositoryCredentialsType

ИСТОЧНИК XML

<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

Указывает, шифруется ли пароль или обычный текст. Этот атрибут не рекомендуется. Используйте атрибут Type, чтобы указать зашифрованный пароль.

Атрибут Ценность
имя PasswordEncrypted
тип xs:boolean
Использовать optional

Эл. почта

Атрибут Ценность
имя Эл. почта

Тип

Это значение определяет тип пароля, указанного в атрибуте Password. Это может быть SecretStoreRef/Encrypted/PlainText. Если задано значение SecretStoreRef, мы извлекаем значение ссылки из SecretStore. Если задано значение Encrypted, разработчик приложения отвечает за создание сертификата и использование командлета Invoke-ServiceFabricEncryptSecret для шифрования конфиденциальной информации.

Атрибут Ценность
имя Тип
тип xs:string
Использовать optional

Сложный Тип ResourceGovernancePolicyType

Ограничивает ресурсы, которые можно использовать на узле, и объявляет ограничения ресурсов для пакета кода службы.

Атрибут Ценность
содержимое 0 элементов, 12 атрибутов
Определенные Глобально
имя 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
Использовать required

MemoryInMB

Ограничения памяти в МБ. Должно быть положительным целым числом. Пакеты кода (контейнеры или процессы) не могут выделить больше памяти, чем это ограничение, и попытка сделать это приводит к исключению вне памяти.

Атрибут Ценность
имя MemoryInMB
тип xs:string
Использовать optional
default 0

MemorySwapInMB

Общий объем памяти буфера, который можно использовать в МБ. Должно быть положительным целым числом.

Атрибут Ценность
имя MemorySwapInMB
тип xs:string
Использовать optional
default 0

MemoryReservationInMB

Обратимое ограничение (в МБ) для управления памятью, которое применяется только при обнаружении состязания памяти на узле. Должно быть положительным целым числом.

Атрибут Ценность
имя MemoryReservationInMB
тип xs:string
Использовать optional
default 0

CpuShares

Относительный вес ЦП. Должно быть положительным целым числом.

Атрибут Ценность
имя CpuShares
тип xs:string
Использовать optional
default 0

CpuPercent

Доступный процент доступных ЦП (только Для Windows). Должно быть положительным целым числом. Если для пакета службы указаны ограничения ЦП, этот параметр фактически игнорируется.

Атрибут Ценность
имя CpuPercent
тип xs:string
Использовать optional
default 0

MaximumIOps

Максимальная скорость ввода-вывода (чтение и запись) с точки зрения операций ввода-вывода в секунду, которую можно использовать. Должно быть положительным целым числом.

Атрибут Ценность
имя MaximumIOps
тип xs:string
Использовать optional
default 0

MaximumIOBandwidth

Максимальное количество операций ввода-вывода (байт в секунду), которое можно использовать (чтение и запись). Должно быть положительным целым числом.

Атрибут Ценность
имя MaximumIOBandwidth
тип xs:string
Использовать optional
default 0

BlockIOWeight

Блокировать вес ввода-вывода относительно других пакетов кода. Должно быть положительным целым числом от 10 до 1000.

Атрибут Ценность
имя BlockIOWeight
тип xs:string
Использовать optional
default 0

DiskQuotaInMB

Квота диска для контейнеров. Должно быть положительным целым числом.

Атрибут Ценность
имя DiskQuotaInMB
тип xs:string
Использовать optional
default 0

KernelMemoryInMB

Ограничения памяти ядра в байтах. Должно быть положительным целым числом. Обратите внимание, что эта ошибка связана с Linux, и docker в windows завершится ошибкой, если это задано.

Атрибут Ценность
имя KernelMemoryInMB
тип xs:string
Использовать optional
default 0

ShmSizeInMB

Размер /dev/shm в байтах. Если опущено, система использует 64 МБ. Должно быть положительным целым числом. Обратите внимание, что эта проблема связана с Linux, однако docker не будет ошибться при указании. Это игнорируется.

Атрибут Ценность
имя ShmSizeInMB
тип xs:string
Использовать optional
default 0

ResourceOverridesType complexType

Указывает переопределения ресурсов для конечных точек, объявленных в ресурсах манифеста службы.

Атрибут Ценность
содержимое 1 элемента, 0 атрибутов
Определенные Глобально
имя 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>
  

Сведения об элементе Content

Endpoints

Конечные точки службы для переопределения.

Атрибут Ценность
имя Endpoints
minOccurs 0

ResourcesType complexType

Описывает ресурсы, используемые этой службой, которая может быть объявлена без изменения скомпилированного кода и изменения при развертывании службы. Доступ к этим ресурсам контролируется с помощью разделов "Субъекты и политики" манифеста приложения.

Атрибут Ценность
содержимое 1 элемента, 0 атрибутов
Определенные Глобально
имя 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>
  

Сведения об элементе Content

Endpoints

Определяет конечные точки для службы.

Атрибут Ценность
имя Endpoints
minOccurs 0

Сложный тип RunAsPolicyType

Указывает локальную учетную запись пользователя или локальной системы, в которую будет выполняться пакет кода службы. Учетные записи домена поддерживаются в развертываниях Windows Server, где доступен идентификатор Microsoft Entra. По умолчанию приложения выполняются под учетной записью, в которой выполняется процесс Fabric.exe. Приложения также могут запускаться как другие учетные записи, которые должны быть объявлены в разделе "Субъекты". Если вы применяете политику runAs к службе, а манифест службы объявляет ресурсы конечных точек с протоколом HTTP, необходимо также указать securityAccessPolicy, чтобы убедиться, что порты, выделенные этим конечным точкам, правильно управляют доступом для учетной записи пользователя RunAs, в которой выполняется служба. Для конечной точки HTTPS также необходимо определить EndpointBindingPolicy, чтобы указать имя сертификата, возвращаемого клиенту.

Атрибут Ценность
содержимое 0 элементов, 3 атрибута
Определенные Глобально
имя 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
Использовать required

UserRef

Учетная запись пользователя, в которую будет выполняться пакет кода службы. Учетная запись пользователя должна быть объявлена в разделе "Субъекты". Часто рекомендуется запустить точку входа установки с помощью локальной системной учетной записи, а не учетной записи администраторов.

Атрибут Ценность
имя UserRef
Использовать required

EntryPointType

Программа установки — это программа SetupEntryPoint, объявленная в манифесте службы, привилегированная точка входа, которая выполняется до любой другой точки входа. Главное — запись EntryPoint, объявленная в манифесте службы, как правило, узлом длительной службы. Все это все точки входа.

Атрибут Ценность
имя EntryPointType
Использовать optional
default Главная

ScalingPolicyType complexType

Описание политики масштабирования, состоящее из триггера и механизма масштабирования.

Атрибут Ценность
содержимое 0 элементов, 0 атрибутов
Определенные Глобально
имя 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 атрибута
Определенные Глобально
имя 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
Использовать required

PrincipalRef

Пользователь или группа, назначаемые правами доступа к ресурсу, должны быть объявлены в разделе "Субъекты".

Атрибут Ценность
имя PrincipalRef
Использовать required

GrantRights

Права на предоставление: чтение, изменение или полное. Значение по умолчанию — Read.

Атрибут Ценность
имя GrantRights
default Читайте

ТипРесурса

Тип ресурса, определенный в разделе "Ресурсы" манифеста службы. Конечная точка или сертификат.

Атрибут Ценность
имя ТипРесурса
Использовать optional
default Конечная точка

SecurityOptionsType complexType

Атрибут Ценность
содержимое 0 элементов, 1 атрибутов
Определенные Глобально
имя SecurityOptionsType

ИСТОЧНИК XML

<xs:complexType xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="SecurityOptionsType">
    <xs:attribute name="Value" use="required">
      <xs:simpleType>
        <xs:restriction base="xs:string">
          <xs:minLength value="1"/>
        </xs:restriction>
      </xs:simpleType>
    </xs:attribute>
  </xs:complexType>
    

Сведения о атрибуте

Ценность

Атрибут Ценность
имя Ценность
Использовать required

SecurityPrincipalsType complexType

Описывает субъекты безопасности (пользователи, группы), необходимые для запуска служб и защищенных ресурсов. Субъекты ссылаются в разделах политик.

Атрибут Ценность
содержимое 2 элемента, 0 атрибутов
Определенные Глобально
имя 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>
        

Сведения об элементе Content

Groups

Объявляет набор групп в качестве субъектов безопасности, на которые можно ссылаться в политиках. Группы полезны, если существует несколько пользователей для разных точек входа службы, и они должны иметь определенные общие привилегии, доступные на уровне группы.

Атрибут Ценность
имя Groups
minOccurs 0

Пользователи

Объявляет набор пользователей в качестве субъектов безопасности, на которые можно ссылаться в политиках.

Атрибут Ценность
имя Пользователи
minOccurs 0

Сложный тип ServiceAndServiceGroupTypesType

Атрибут Ценность
содержимое 4 элемента, 0 атрибутов
Определенные Глобально
имя ServiceAndServiceGroupTypesTypes

ИСТОЧНИК XML

<xs:complexType xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="ServiceAndServiceGroupTypesType">
    <xs:choice maxOccurs="unbounded">
      <xs:element name="StatefulServiceType" type="StatefulServiceTypeType"/>
      <xs:element name="StatelessServiceType" type="StatelessServiceTypeType"/>
      <xs:element name="StatefulServiceGroupType" type="StatefulServiceGroupTypeType"/>
      <xs:element name="StatelessServiceGroupType" type="StatelessServiceGroupTypeType"/>
    </xs:choice>
  </xs:complexType>
  

Сведения об элементе Content

StatefulServiceType

Атрибут Ценность
имя StatefulServiceType
тип StatefulServiceTypeType

StatelessServiceType

Атрибут Ценность
имя StatelessServiceType
тип StatelessServiceTypeType

StatefulServiceGroupType

Атрибут Ценность
имя StatefulServiceGroupType
тип StatefulServiceGroupTypeType

StatelessServiceGroupType

Атрибут Ценность
имя StatelessServiceGroupType
тип StatelessServiceGroupTypeType

ServiceDiagnosticsType complexType

Описывает параметры диагностики для компонентов этого манифеста службы.

Атрибут Ценность
содержимое 1 элемента, 0 атрибутов
Определенные Глобально
имя ServiceDiagnosticsType

ИСТОЧНИК XML

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

Сведения об элементе Content

ETW

Описывает параметры ETW для компонентов этого манифеста службы.

Атрибут Ценность
имя ETW
minOccurs 0

Сложный тип ServiceFabricRuntimeAccessPolicyType

Атрибут Ценность
содержимое 0 элементов, 2 атрибута
Определенные Глобально
имя 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>
  

Сведения о атрибуте

УдалитьДоступКСредеВыполненияServiceFabric

Указывает, должна ли определенная информация о среде выполнения Fabric предоставляться пакетам кода в пакете службы.

Атрибут Ценность
имя УдалитьДоступКСредеВыполненияServiceFabric
тип xs:boolean
default false

UseServiceFabricReplicatedStore

Указывает, следует ли использовать реплицированное хранилище блоков Service Fabric для предоставления тома для контейнеров в пакете службы.

Атрибут Ценность
имя UseServiceFabricReplicatedStore
тип xs:boolean
default false

Сложный тип ServiceGroupMemberType

Атрибут Ценность
содержимое 1 элемента, 2 атрибута
Определенные Глобально
имя 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>
    

Сведения о атрибуте

ИмяТипаСервиса

Тип члена группы служб.

Атрибут Ценность
имя ИмяТипаСервиса
Использовать required

Имя

Имя члена группы служб относительно имени группы служб.

Атрибут Ценность
имя Имя
Использовать required

Сведения об элементе Content

LoadMetrics

Загрузка метрик, сообщаемых этой службой.

Атрибут Ценность
имя LoadMetrics
minOccurs 0

Сложный тип ServiceGroupType

Базовый тип, описывающий состояние или без отслеживания состояния ServiceGroupType.

Атрибут Ценность
содержимое 4 элемента, 2 атрибута
Определенные Глобально
имя 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
Использовать required

UseImplicitFactory

Указывает, создается ли экземпляр группы служб неявной фабрикой. Если значение false (по умолчанию), один из пакетов кода должен зарегистрировать фабрику групп служб.

Атрибут Ценность
имя UseImplicitFactory
тип xs:boolean
Использовать optional

Сведения об элементе Content

LoadMetrics

Загрузка метрик, сообщаемых этой службой.

Атрибут Ценность
имя LoadMetrics
minOccurs 0

PlacementConstraints

Ограничения для размещения служб, входящих в этот пакет.

Атрибут Ценность
имя PlacementConstraints
тип xs:string
minOccurs 0

ServiceGroupMembers

Типы элементов этого типа группы служб.

Атрибут Ценность
имя ServiceGroupMembers
minOccurs 0
maxOccurs 1

Нет

Атрибут Ценность
ссылка Extensions
minOccurs 0

Сложный тип ServiceManifestImportPoliciesType

Описывает политики (привязка конечной точки, общий доступ к пакетам, доступ к запуску и безопасности), применяемые к манифесту импортированной службы.

Атрибут Ценность
содержимое 11 элементов, 0 атрибутов
Определенные Глобально
имя 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>
  

Сведения об элементе Content

RunAsPolicy

Атрибут Ценность
имя RunAsPolicy
тип RunAsPolicyType
minOccurs 0

SecurityAccessPolicy

Атрибут Ценность
имя SecurityAccessPolicy
тип SecurityAccessPolicyType
minOccurs 0

PackageSharingPolicy

Атрибут Ценность
имя PackageSharingPolicy
тип PackageSharingPolicyType
minOccurs 0

EndpointBindingPolicy

Указывает сертификат, который должен быть возвращен клиенту для конечной точки HTTPS.

Атрибут Ценность
имя EndpointBindingPolicy
тип EndpointBindingPolicyType
minOccurs 0

ServiceFabricRuntimeAccessPolicy

Указывает политики, определяющие, как среда выполнения Service Fabric предоставляется репликам.

Атрибут Ценность
имя ServiceFabricRuntimeAccessPolicy
тип ServiceFabricRuntimeAccessPolicyType
minOccurs 0
maxOccurs 1

ServicePackageResourceGovernancePolicy

Определяет политику управления ресурсами, применяемую на уровне всего пакета службы.

Атрибут Ценность
имя ServicePackageResourceGovernancePolicy
тип ServicePackageResourceGovernancePolicyType
minOccurs 0
maxOccurs 1

ResourceGovernancePolicy

Задает ограничения ресурсов для пакета кода.

Атрибут Ценность
имя ResourceGovernancePolicy
тип ResourceGovernancePolicyType
minOccurs 0

ServicePackageContainerPolicy

Атрибут Ценность
имя ServicePackageContainerPolicy
тип ServicePackageContainerPolicyType
minOccurs 0
maxOccurs 1

ContainerHostPolicies

Задает политики активации узлов контейнеров.

Атрибут Ценность
имя ContainerHostPolicies
тип ContainerHostPoliciesType
minOccurs 0

ConfigPackagePolicies

Пакеты конфигурации для подключения внутри контейнера.

Атрибут Ценность
имя ConfigPackagePolicies
тип ConfigPackagePoliciesType
minOccurs 0

NetworkPolicies

Указывает политики сети, включая политики сети контейнеров.

Атрибут Ценность
имя NetworkPolicies
тип NetworkPoliciesType
minOccurs 0
maxOccurs 1

Сложный тип ServiceManifestRefType

Импортирует манифест службы по ссылке. В настоящее время файл манифеста службы (ServiceManifest.xml) должен присутствовать в пакете сборки.

Атрибут Ценность
содержимое 0 элементов, 0 атрибутов
Определенные Глобально
имя 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

Декларативно описывает тип службы и версию. В нем перечислены независимые обновляемые коды, конфигурации и пакеты данных, которые вместе составляют пакет службы для поддержки одного или нескольких типов служб. Также указываются ресурсы, параметры диагностики и метаданные службы, такие как тип службы, свойства работоспособности и метрики балансировки нагрузки.

Атрибут Ценность
содержимое 7 элементов, 1 атрибутов
Определенные Глобально
имя 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
Использовать optional
default
тип xs:string

Сведения об элементе Content

Описание

Текст, описывающий эту службу.

Атрибут Ценность
имя Описание
тип xs:string
minOccurs 0

ServiceTypes

Определяет типы служб, поддерживаемые CodePackage в этом манифесте. При создании экземпляра службы в одном из этих типов служб все пакеты кода, объявленные в этом манифесте, активируются путем запуска своих точек входа. Типы служб объявляются на уровне манифеста, а не на уровне пакета кода.

Атрибут Ценность
имя ServiceTypes
тип ServiceAndServiceGroupTypesTypes

CodePackage

Атрибут Ценность
имя CodePackage
тип CodePackageType
maxOccurs unbounded

ConfigPackage

Атрибут Ценность
имя ConfigPackage
тип ConfigPackageType
minOccurs 0
maxOccurs unbounded

Datapackage

Атрибут Ценность
имя Datapackage
тип DataPackageType
minOccurs 0
maxOccurs unbounded

Ресурсы

Атрибут Ценность
имя Ресурсы
тип ResourcesType
minOccurs 0

Диагностика

Атрибут Ценность
имя Диагностика
тип ServiceDiagnosticsType
minOccurs 0

ServicePackageContainerPolicyType complexType

Атрибут Ценность
содержимое 1 элемента, 2 атрибута
Определенные Глобально
имя ServicePackageContainerPolicyType

ИСТОЧНИК XML

<xs:complexType xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="ServicePackageContainerPolicyType">
    <xs:choice minOccurs="0" maxOccurs="unbounded">
      <xs:element name="PortBinding" type="PortBindingType" minOccurs="0" maxOccurs="unbounded">
        <xs:annotation>
          <xs:documentation>Specifies which endpoint resource to bind container exposed port.</xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:choice>
    <xs:attribute name="Hostname" use="optional" type="xs:string">
      <xs:annotation>
        <xs:documentation>Specify Hostname for container.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="Isolation" use="optional" type="xs:string">
      <xs:annotation>
        <xs:documentation>Isolation mode for container. Valid values are "default", "process" or "hyperv".</xs:documentation>
      </xs:annotation>
    </xs:attribute>
  </xs:complexType>
  

Сведения о атрибуте

Имя хоста

Укажите имя узла для контейнера.

Атрибут Ценность
имя Имя хоста
Использовать optional
тип xs:string

Изоляция

Режим изоляции для контейнера. Допустимыми значениями являются "default", "process" или "hyperv".

Атрибут Ценность
имя Изоляция
Использовать optional
тип xs:string

Сведения об элементе Content

PortBinding

Указывает, какой ресурс конечной точки привязывает предоставленный контейнером порт.

Атрибут Ценность
имя PortBinding
тип PortBindingType
minOccurs 0
maxOccurs unbounded

ServicePackageResourceGovernancePolicyType complexType

Атрибут Ценность
содержимое 0 элементов, 2 атрибута
Определенные Глобально
имя ServicePackageResourceGovernancePolicyType

ИСТОЧНИК XML

<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
Использовать optional
default 0

MemoryInMB

Ограничения памяти в МБ. Должно быть положительным целым числом.

Атрибут Ценность
имя MemoryInMB
тип xs:string
Использовать optional
default 0

Сложный тип ServicePackageType

ServicePackage представляет версию единицы развертывания и активации. Версия ServicePackage определяется на основе версии манифеста и версии переопределений.

Атрибут Ценность
содержимое 11 элементов, 4 атрибута
Определенные Глобально
имя ServicePackageType

ИСТОЧНИК XML

<xs:complexType xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="ServicePackageType">
    <xs:annotation>
      <xs:documentation>ServicePackage represents a versioned unit of deployment and activation. The version of the ServicePackage is determined based on the manifest version and the version of the overrides.</xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="Description" type="xs:string" minOccurs="0"/>
      <xs:element name="ServicePackageResourceGovernancePolicy" type="ServicePackageResourceGovernancePolicyType" minOccurs="0" maxOccurs="1"/>
      <xs:element name="ServicePackageContainerPolicy" type="ServicePackageContainerPolicyType" minOccurs="0" maxOccurs="1"/>
      <xs:element name="ServiceFabricRuntimeAccessPolicy" type="ServiceFabricRuntimeAccessPolicyType" minOccurs="0" maxOccurs="1"/>
      <xs:element name="DigestedServiceTypes">
        <xs:complexType>
          <xs:sequence>
            <xs:element name="ServiceTypes" type="ServiceTypesType"/>
          </xs:sequence>
          <xs:attributeGroup ref="VersionedItemAttrGroup"/>
        </xs:complexType>
      </xs:element>
      <xs:element name="DigestedCodePackage" maxOccurs="unbounded">
        <xs:complexType>
          <xs:sequence>
            <xs:element name="CodePackage" type="CodePackageType"/>
            <xs:element name="RunAsPolicy" type="RunAsPolicyType" minOccurs="0" maxOccurs="2"/>
            <xs:element name="DebugParameters" type="DebugParametersType" minOccurs="0" maxOccurs="1"/>
            <xs:element name="ContainerHostPolicies" type="ContainerHostPoliciesType" minOccurs="0">
              <xs:annotation>
                <xs:documentation>Specifies policies for activating container hosts.</xs:documentation>
              </xs:annotation>
            </xs:element>
            <xs:element name="ResourceGovernancePolicy" type="ResourceGovernancePolicyType" minOccurs="0">
              <xs:annotation>
                <xs:documentation>Specifies resource limits for codepackage.</xs:documentation>
              </xs:annotation>
            </xs:element>
            <xs:element name="ConfigPackagePolicies" type="ConfigPackagePoliciesType" minOccurs="0">
              <xs:annotation>
                <xs:documentation>Specifies config policies for mounts.</xs:documentation>
              </xs:annotation>
            </xs:element>
          </xs:sequence>
          <xs:attributeGroup ref="VersionedItemAttrGroup"/>
          <xs:attribute name="ContentChecksum" type="xs:string"/>
          <xs:attribute name="IsShared" type="xs:boolean"/>
        </xs:complexType>
      </xs:element>
      <xs:element name="DigestedConfigPackage" minOccurs="0" maxOccurs="unbounded">
        <xs:complexType>
          <xs:sequence>
            <xs:element name="ConfigPackage" type="ConfigPackageType"/>
            <xs:element name="ConfigOverride" type="ConfigOverrideType" minOccurs="0"/>
            <xs:element name="DebugParameters" type="DebugParametersType" minOccurs="0" maxOccurs="1"/>
          </xs:sequence>
          <xs:attributeGroup ref="VersionedItemAttrGroup"/>
          <xs:attribute name="ContentChecksum" type="xs:string"/>
          <xs:attribute name="IsShared" type="xs:boolean"/>
        </xs:complexType>
      </xs:element>
      <xs:element name="DigestedDataPackage" minOccurs="0" maxOccurs="unbounded">
        <xs:complexType>
          <xs:sequence>
            <xs:element name="DataPackage" type="DataPackageType"/>
            <xs:element name="DebugParameters" type="DebugParametersType" minOccurs="0" maxOccurs="1"/>
          </xs:sequence>
          <xs:attributeGroup ref="VersionedItemAttrGroup"/>
          <xs:attribute name="ContentChecksum" type="xs:string"/>
          <xs:attribute name="IsShared" type="xs:boolean"/>
        </xs:complexType>
      </xs:element>
      <xs:element name="DigestedResources" minOccurs="1">
        <xs:complexType>
          <xs:sequence>
            <xs:element name="DigestedEndpoints" minOccurs="0">
              <xs:complexType>
                <xs:sequence>
                  <xs:element name="DigestedEndpoint" minOccurs="0" maxOccurs="unbounded">
                    <xs:complexType>
                      <xs:sequence>
                        <xs:element name="Endpoint" type="EndpointType"/>
                        <xs:element name="SecurityAccessPolicy" type="SecurityAccessPolicyType" minOccurs="0"/>
                        <xs:element name="EndpointBindingPolicy" type="EndpointBindingPolicyType" minOccurs="0"/>
                        <xs:element name="ResourceGovernancePolicy" type="ResourceGovernancePolicyType" minOccurs="0" maxOccurs="1"/>
                      </xs:sequence>
                    </xs:complexType>
                  </xs:element>
                </xs:sequence>
              </xs:complexType>
            </xs:element>
            <xs:element name="DigestedCertificates" minOccurs="0" maxOccurs="1">
              <xs:complexType>
                <xs:sequence>
                  <xs:element name="EndpointCertificate" type="EndpointCertificateType" minOccurs="0" maxOccurs="unbounded"/>
                </xs:sequence>
              </xs:complexType>
            </xs:element>
          </xs:sequence>
          <xs:attributeGroup ref="VersionedItemAttrGroup"/>
        </xs:complexType>
      </xs:element>
      <xs:element name="NetworkPolicies" type="NetworkPoliciesType" minOccurs="0" maxOccurs="1"/>
      <xs:element name="Diagnostics" type="ServiceDiagnosticsType"/>
    </xs:sequence>
    <xs:attribute name="Name" type="xs:string" use="required"/>
    <xs:attribute name="ManifestVersion" type="xs:string" use="required"/>
    <xs:attributeGroup ref="VersionedItemAttrGroup"/>
    <xs:attribute name="ManifestChecksum" type="xs:string">
      <xs:annotation>
        <xs:documentation>Checksum value of the ServiceManifest file.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="ContentChecksum" type="xs:string">
      <xs:annotation>
        <xs:documentation>Checksum value of this ServicePackage content.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
  </xs:complexType>
  

Сведения о атрибуте

Имя

Атрибут Ценность
имя Имя
тип xs:string
Использовать required

ManifestVersion

Атрибут Ценность
имя ManifestVersion
тип xs:string
Использовать required

ManifestChecksum

Значение контрольной суммы файла ServiceManifest.

Атрибут Ценность
имя ManifestChecksum
тип xs:string

ContentChecksum

Контрольной суммы этого содержимого ServicePackage.

Атрибут Ценность
имя ContentChecksum
тип xs:string

Сведения об элементе Content

Описание

Атрибут Ценность
имя Описание
тип xs:string
minOccurs 0

ServicePackageResourceGovernancePolicy

Атрибут Ценность
имя ServicePackageResourceGovernancePolicy
тип ServicePackageResourceGovernancePolicyType
minOccurs 0
maxOccurs 1

ServicePackageContainerPolicy

Атрибут Ценность
имя ServicePackageContainerPolicy
тип ServicePackageContainerPolicyType
minOccurs 0
maxOccurs 1

ServiceFabricRuntimeAccessPolicy

Атрибут Ценность
имя ServiceFabricRuntimeAccessPolicy
тип ServiceFabricRuntimeAccessPolicyType
minOccurs 0
maxOccurs 1

DigestedServiceTypes

Атрибут Ценность
имя DigestedServiceTypes

DigestedCodePackage

Атрибут Ценность
имя DigestedCodePackage
maxOccurs unbounded

DigestedConfigPackage

Атрибут Ценность
имя DigestedConfigPackage
minOccurs 0
maxOccurs unbounded

DigestedDataPackage

Атрибут Ценность
имя DigestedDataPackage
minOccurs 0
maxOccurs unbounded

DigestedResources

Атрибут Ценность
имя DigestedResources
minOccurs 1

NetworkPolicies

Атрибут Ценность
имя NetworkPolicies
тип NetworkPoliciesType
minOccurs 0
maxOccurs 1

Диагностика

Атрибут Ценность
имя Диагностика
тип ServiceDiagnosticsType

Сложный тип ServiceTemplatesType

Атрибут Ценность
содержимое 4 элемента, 0 атрибутов
Определенные Глобально
имя ServiceTemplatesType

ИСТОЧНИК XML

<xs:complexType xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="ServiceTemplatesType">
        <xs:choice minOccurs="0" maxOccurs="unbounded">
            <xs:element name="StatelessService" type="StatelessServiceType"/>
            <xs:element name="StatefulService" type="StatefulServiceType"/>
            <xs:element name="StatelessServiceGroup" type="StatelessServiceGroupType"/>
            <xs:element name="StatefulServiceGroup" type="StatefulServiceGroupType"/>
        </xs:choice>
    </xs:complexType>
    

Сведения об элементе Content

Служба без отслеживания состояния

Атрибут Ценность
имя Служба без отслеживания состояния
тип StatelessServiceType

StatefulService

Атрибут Ценность
имя StatefulService
тип StatefulServiceType

StatelessServiceGroup

Атрибут Ценность
имя StatelessServiceGroup
тип StatelessServiceGroupType

StatefulServiceGroup

Атрибут Ценность
имя StatefulServiceGroup
тип StatefulServiceGroupType

Сложный тип ServiceType

Базовый тип, определяющий службу Microsoft Azure Service Fabric.

Атрибут Ценность
содержимое 5 элементов, 2 атрибута
Определенные Глобально
имя ServiceType

ИСТОЧНИК 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&gt;12  &amp;&amp; InDMZ == True)".</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="ServiceCorrelations" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Defines affinity relationships between services.</xs:documentation>
                </xs:annotation>
                <xs:complexType>
                    <xs:sequence>
                        <xs:element name="ServiceCorrelation" maxOccurs="unbounded">
                            <xs:annotation>
                                <xs:documentation>Defines an affinity relationship with another service. Useful when splitting a previously-monolithic application into microservices.  One service has a local dependency on another service and both services need to run on the same node in order to work.</xs:documentation>
                            </xs:annotation>
                            <xs:complexType>
                                <xs:attribute name="ServiceName" use="required">
                                    <xs:annotation>
                                        <xs:documentation>The name of the other service as a URI. Example, "fabric:/otherApplication/parentService".</xs:documentation>
                                    </xs:annotation>
                                    <xs:simpleType>
                                        <xs:restriction base="xs:string">
                                            <xs:minLength value="1"/>
                                        </xs:restriction>
                                    </xs:simpleType>
                                </xs:attribute>
                                <xs:attribute name="Scheme" use="required">
                                    <xs:annotation>
                                        <xs:documentation>In NonAlignedAffinity the replicas or instances of the different services are placed on the same nodes. AlignedAffinity is used with stateful services. Configuring one stateful service as having aligned affinity with another stateful service ensures that the primaries of those services are placed on the same nodes as each other, and that each pair of secondaries are also placed on the same nodes.</xs:documentation>
                                    </xs:annotation>
                                    <xs:simpleType>
                                        <xs:restriction base="xs:string">
                                            <xs:enumeration value="Affinity"/>
                                            <xs:enumeration value="AlignedAffinity"/>
                                            <xs:enumeration value="NonAlignedAffinity"/>
                                        </xs:restriction>
                                    </xs:simpleType>
                                </xs:attribute>
                            </xs:complexType>
                        </xs:element>
                    </xs:sequence>
                </xs:complexType>
            </xs:element>
            <xs:element name="ServicePlacementPolicies" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Declares placement policies for a service.  Useful when the cluster spans geographic distances or and/or geopolitical regions.</xs:documentation>
                </xs:annotation>
                <xs:complexType>
                    <xs:sequence>
                        <xs:element name="ServicePlacementPolicy" maxOccurs="unbounded">
                            <xs:annotation>
                                <xs:documentation>Defines a service placement policy, which specifies that the service should or should not run in certain cluster fault domains.  Useful when the cluster spans geographic distances or and/or geopolitical regions.</xs:documentation>
                            </xs:annotation>
                            <xs:complexType>
                                <xs:attribute name="DomainName">
                                    <xs:annotation>
                                        <xs:documentation>The fault domain where the service should or should not be placed, depending on the Type value.</xs:documentation>
                                    </xs:annotation>
                                    <xs:simpleType>
                                        <xs:restriction base="xs:string">
                                            <xs:minLength value="1"/>
                                        </xs:restriction>
                                    </xs:simpleType>
                                </xs:attribute>
                                <xs:attribute name="Type" use="required">
                                    <xs:annotation>
                                        <xs:documentation>InvalidDomain allows you to specify that a particular Fault Domain is invalid for this workload. RequiredDomain requires that all of the replicas be present in the specified domain. Multiple required domains can be specified. PreferredPrimaryDomain specifies the preferred Fault Domain for primary replicas. Useful in geographically spanned clusters where you are using other locations for redundancy, but would prefer that the primary replicas be placed in a certain location in order to provider lower latency for operations which go to the primary. RequiredDomainDistribution specifies that replicas are required to be distributed among the available fault domains. NonPartiallyPlace controls if the service replicas will be partially place if not all of them can be placed.</xs:documentation>
                                    </xs:annotation>
                                    <xs:simpleType>
                                        <xs:restriction base="xs:string">
                                            <xs:enumeration value="InvalidDomain"/>
                                            <xs:enumeration value="RequiredDomain"/>
                                            <xs:enumeration value="PreferredPrimaryDomain"/>
                                            <xs:enumeration value="RequiredDomainDistribution"/>
                                            <xs:enumeration value="NonPartiallyPlace"/>
                                        </xs:restriction>
                                    </xs:simpleType>
                                </xs:attribute>
                            </xs:complexType>
                        </xs:element>
                    </xs:sequence>
                </xs:complexType>
            </xs:element>
            <xs:element name="ServiceScalingPolicies" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Declares scaling policies for a service. Useful for dynamically scaling the service based on needs. </xs:documentation>
                </xs:annotation>
                <xs:complexType>
                    <xs:sequence>
                        <xs:element name="ScalingPolicy" type="ScalingPolicyType" maxOccurs="unbounded"/>
                    </xs:sequence>
                </xs:complexType>
            </xs:element>
            <xs:element name="TagsRequiredToPlace" minOccurs="0">
              <xs:annotation>
                <xs:documentation>Declares tags required for placement of a service. </xs:documentation>
              </xs:annotation>
              <xs:complexType>
                <xs:sequence>
                  <xs:element name="TagRequiredToPlace" type="xs:string" maxOccurs="unbounded"/>
                </xs:sequence>
              </xs:complexType>
            </xs:element>
            <xs:element name="TagsRequiredToRun" minOccurs="0">
              <xs:annotation>
                <xs:documentation>Declares tags required for placement and running of a service. <xs:documentation>
              </xs:annotation>
              <xs:complexType>
                <xs:sequence>
                  <xs:element name="TagRequiredToRun" type="xs:string" maxOccurs="unbounded"/>
                </xs:sequence>
              </xs:complexType>
            </xs:element>
        </xs:sequence>
        <xs:attribute name="ServiceTypeName" use="required">
            <xs:annotation>
                <xs:documentation>Name of the service type, declared in the service manifest, that will be instantiated.</xs:documentation>
            </xs:annotation>
            <xs:simpleType>
                <xs:restriction base="xs:string">
                    <xs:minLength value="1"/>
                </xs:restriction>
            </xs:simpleType>
        </xs:attribute>
        <xs:attribute name="DefaultMoveCost">
            <xs:annotation>
                <xs:documentation>Specifies default move cost for this service.</xs:documentation>
            </xs:annotation>
            <xs:simpleType>
                <xs:restriction base="xs:string">
                    <xs:enumeration value="Zero"/>
                    <xs:enumeration value="Low"/>
                    <xs:enumeration value="Medium"/>
                    <xs:enumeration value="High"/>
                </xs:restriction>
            </xs:simpleType>
        </xs:attribute>
    </xs:complexType>
    

Сведения о атрибуте

ИмяТипаСервиса

Имя типа службы, объявленного в манифесте службы, которое будет создано.

Атрибут Ценность
имя ИмяТипаСервиса
Использовать required

DefaultMoveCost

Указывает стоимость перемещения по умолчанию для этой службы.

Атрибут Ценность
имя DefaultMoveCost

Сведения об элементе Content

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

Объявляет теги, необходимые для размещения и запуска службы. Полезно для динамического влияния на размещение и запуск служб.

Атрибут Ценность
имя TagRequiredToRun
minOccurs 0

Сложный Тип ServiceTypeExtensionPolicyPropertiesType

Определяет свойства для политик сохраняемости и вытеснения.

Атрибут Ценность
содержимое 1 элемента, 0 атрибутов
Определенные Глобально
имя ServiceTypeExtensionPolicyPropertiesType

ИСТОЧНИК XML

<xs:complexType xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="ServiceTypeExtensionPolicyPropertiesType">
    <xs:annotation>
      <xs:documentation>Defines Properties for the Persistence and Eviction policies.</xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="Property" minOccurs="0" maxOccurs="unbounded">
        <xs:complexType>
          <xs:attribute name="Name" type="xs:string" use="required"/>
          <xs:attribute name="Value" type="xs:string" use="required"/>
        </xs:complexType>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
  

Сведения об элементе Content

Недвижимость

Атрибут Ценность
имя Недвижимость
minOccurs 0
maxOccurs unbounded

Сложный Тип ServiceTypeHealthPolicyType

Атрибут Ценность
содержимое 0 элементов, 3 атрибута
Определенные Глобально
имя ServiceTypeHealthPolicyType

ИСТОЧНИК XML

<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
Использовать optional
default 0

MaxPercentUnhealthyPartitionsPerService

Указывает максимальный допустимый процент неработоспособных секций перед тем, как служба считается неработоспособной. Процент по умолчанию: 0.

Атрибут Ценность
имя MaxPercentUnhealthyPartitionsPerService
тип xs:string
Использовать optional
default 0

MaxPercentUnhealthyReplicasPerPartition

Указывает максимальный допустимый процент неработоспособных реплик перед тем, как секция считается неработоспособной. Процент по умолчанию: 0.

Атрибут Ценность
имя MaxPercentUnhealthyReplicasPerPartition
тип xs:string
Использовать optional
default 0

Сложный Тип ServiceType

Базовый тип, описывающий состояние или без отслеживания состояния ServiceType.

Атрибут Ценность
содержимое 4 элемента, 1 атрибуты
Определенные Глобально
имя 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&gt;12  &amp;&amp; InDMZ == True)".</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="ServicePlacementPolicies" minOccurs="0">
        <xs:annotation>
          <xs:documentation>Declares placement policies for a service.  Useful when the cluster spans geographic distances or and/or geopolitical regions.</xs:documentation>
        </xs:annotation>
        <xs:complexType>
          <xs:sequence>
            <xs:element name="ServicePlacementPolicy" maxOccurs="unbounded">
              <xs:annotation>
                <xs:documentation>Defines a service placement policy, which specifies that the service should or should not run in certain cluster fault domains.  Useful when the cluster spans geographic distances or and/or geopolitical regions.</xs:documentation>
              </xs:annotation>
              <xs:complexType>
                <xs:attribute name="DomainName">
                  <xs:annotation>
                    <xs:documentation>The fault domain where the service should or should not be placed, depending on the Type value.</xs:documentation>
                  </xs:annotation>
                  <xs:simpleType>
                    <xs:restriction base="xs:string">
                      <xs:minLength value="1"/>
                    </xs:restriction>
                  </xs:simpleType>
                </xs:attribute>
                <xs:attribute name="Type" use="required">
                  <xs:annotation>
                    <xs:documentation>InvalidDomain allows you to specify that a particular Fault Domain is invalid for this workload. RequiredDomain requires that all of the replicas be present in the specified domain. Multiple required domains can be specified. PreferredPrimaryDomain specifies the preferred Fault Domain for primary replicas. Useful in geographically spanned clusters where you are using other locations for redundancy, but would prefer that the primary replicas be placed in a certain location in order to provider lower latency for operations which go to the primary. RequiredDomainDistribution specifies that replicas are required to be distributed among the available fault domains. NonPartiallyPlace controls if the service replicas will be partially place if not all of them can be placed. </xs:documentation>
                  </xs:annotation>
                  <xs:simpleType>
                    <xs:restriction base="xs:string">
                      <xs:enumeration value="InvalidDomain"/>
                      <xs:enumeration value="RequiredDomain"/>
                      <xs:enumeration value="PreferredPrimaryDomain"/>
                      <xs:enumeration value="RequiredDomainDistribution"/>
                      <xs:enumeration value="NonPartiallyPlace"/>
                    </xs:restriction>
                  </xs:simpleType>
                </xs:attribute>
              </xs:complexType>
            </xs:element>
          </xs:sequence>
        </xs:complexType>
      </xs:element>
      <xs:element ref="Extensions" minOccurs="0"/>
    </xs:sequence>
    <xs:attribute name="ServiceTypeName" use="required">
      <xs:annotation>
        <xs:documentation>User-defined type identifier for a service. For example, "QueueType" or "CalculatorType". This value is used in the ApplicationManifest.xml file to identify the service.</xs:documentation>
      </xs:annotation>
      <xs:simpleType>
        <xs:restriction base="xs:string">
          <xs:minLength value="1"/>
        </xs:restriction>
      </xs:simpleType>
    </xs:attribute>
  </xs:complexType>
  

Сведения о атрибуте

ИмяТипаСервиса

Идентификатор определяемого пользователем типа для службы. Например, "QueueType" или "CalculatorType". Это значение используется в файле ApplicationManifest.xml для идентификации службы.

Атрибут Ценность
имя ИмяТипаСервиса
Использовать required

Сведения об элементе Content

LoadMetrics

Загрузка метрик, сообщаемых этой службой.

Атрибут Ценность
имя LoadMetrics
minOccurs 0

PlacementConstraints

Используется для управления узлами в кластере, на которых может работать служба. Пара "ключ-значение", описывающая имя свойства узла и требования службы к значению. Отдельные операторы можно сгруппировать вместе с простой логический логикой, чтобы создать необходимое ограничение. Например, "(FirmwareVersion>12 && InDMZ == True)".

Атрибут Ценность
имя PlacementConstraints
тип xs:string
minOccurs 0

ServicePlacementPolicies

Объявляет политики размещения для службы. Полезно, если кластер охватывает географические расстояния или геополитические регионы.

Атрибут Ценность
имя ServicePlacementPolicies
minOccurs 0

Нет

Атрибут Ценность
ссылка Extensions
minOccurs 0

ServiceTypesType complexType

Атрибут Ценность
содержимое 2 элемента, 0 атрибутов
Определенные Глобально
имя ServiceTypesTypesType

ИСТОЧНИК XML

<xs:complexType xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="ServiceTypesType">
    <xs:choice maxOccurs="unbounded">
      <xs:element name="StatefulServiceType" type="StatefulServiceTypeType">
        <xs:annotation>
          <xs:documentation>Describes a stateful ServiceType.</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="StatelessServiceType" type="StatelessServiceTypeType">
        <xs:annotation>
          <xs:documentation>Describes a stateless ServiceType.</xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:choice>
  </xs:complexType>
  

Сведения об элементе Content

StatefulServiceType

Описание типа serviceType с отслеживанием состояния.

Атрибут Ценность
имя StatefulServiceType
тип StatefulServiceTypeType

StatelessServiceType

Описывает тип службы без отслеживания состояния.

Атрибут Ценность
имя StatelessServiceType
тип StatelessServiceTypeType

SettingsOverridesType complexType

Объявляет параметры конфигурации в манифесте службы для переопределения. Он состоит из одного или нескольких разделов пар "ключ-значение". Значения параметров можно зашифровать с помощью командлета Invoke-ServiceFabricEncryptSecret.

Атрибут Ценность
содержимое 1 элемента, 0 атрибутов
Определенные Глобально
имя 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>
    

Сведения об элементе Content

Секция

Раздел в файле Settings.xml для переопределения.

Атрибут Ценность
имя Секция
maxOccurs unbounded

SettingsType complexType

Описывает определяемые пользователем параметры для ServiceComponent или приложения. Он состоит из одного или нескольких разделов пар "ключ-значение".

Атрибут Ценность
содержимое 1 элемента, 0 атрибутов
Определенные Глобально
имя 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>
  

Сведения об элементе Content

Секция

Определяемый пользователем именованный раздел.

Атрибут Ценность
имя Секция
minOccurs 0
maxOccurs unbounded

Сложный тип StatefulServiceGroupType

Определяет группу служб с отслеживанием состояния.

Атрибут Ценность
содержимое 0 элементов, 0 атрибутов
Определенные Глобально
имя 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

Описывает тип группы служб с отслеживанием состояния.

Атрибут Ценность
содержимое 0 элементов, 0 атрибутов
Определенные Глобально
имя 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

Определяет службу с отслеживанием состояния.

Атрибут Ценность
содержимое 0 элементов, 0 атрибутов
Определенные Глобально
имя 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

Описывает тип службы с отслеживанием состояния.

Атрибут Ценность
содержимое 0 элементов, 0 атрибутов
Определенные Глобально
имя 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

Определяет группу служб без отслеживания состояния.

Атрибут Ценность
содержимое 0 элементов, 0 атрибутов
Определенные Глобально
имя 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

Описывает тип группы служб без отслеживания состояния.

Атрибут Ценность
содержимое 0 элементов, 0 атрибутов
Определенные Глобально
имя 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

Определяет службу без отслеживания состояния.

Атрибут Ценность
содержимое 0 элементов, 0 атрибутов
Определенные Глобально
имя 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

Описывает тип службы без отслеживания состояния.

Атрибут Ценность
содержимое 0 элементов, 0 атрибутов
Определенные Глобально
имя 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>
  

Сложный тип TargetInformationType

Атрибут Ценность
содержимое 2 элемента, 0 атрибутов
Определенные Глобально
имя TargetInformationType

ИСТОЧНИК XML

<xs:complexType xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="TargetInformationType">
    <xs:all>
      <xs:element name="CurrentInstallation" type="WindowsFabricDeploymentInformation" minOccurs="0"/>
      <xs:element name="TargetInstallation" type="WindowsFabricDeploymentInformation" minOccurs="1"/>
    </xs:all>
  </xs:complexType>
  

Сведения об элементе Content

CurrentInstallation

Атрибут Ценность
имя CurrentInstallation
тип WindowsFabricDeploymentInformation
minOccurs 0

TargetInstallation

Атрибут Ценность
имя TargetInstallation
тип WindowsFabricDeploymentInformation
minOccurs 1

НеуправляемыйDllType complexType

Неподдерживаемые, не используйте. Имя неуправляемой сборки (например, Queue.dll) для размещения.

Атрибут Ценность
содержимое 0 элементов, 0 атрибутов
Определенные Глобально
имя 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

Атрибут Ценность
содержимое 0 элементов, 11 атрибутов
Определенные Глобально
имя 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>
  

Сведения о атрибуте

InstanceId

Это целевой экземпляр узла.

Атрибут Ценность
имя InstanceId
тип xs:string
Использовать optional

MSILocation

Это полный путь к расположению MSI.

Атрибут Ценность
имя MSILocation
тип xs:string
Использовать optional

ClusterManifestLocation

Это полный путь к расположению манифеста кластера.

Атрибут Ценность
имя ClusterManifestLocation
тип xs:string
Использовать optional

InfrastructureManifestLocation

Это расположение манифеста инфраструктуры, созданного внутренне.

Атрибут Ценность
имя InfrastructureManifestLocation
тип xs:string
Использовать optional

TargetVersion

Это целевая версия развертывания.

Атрибут Ценность
имя TargetVersion
тип xs:string
Использовать optional

NodeName

Это имя узла, на котором выполняется обновление Структуры

Атрибут Ценность
имя NodeName
тип xs:string
Использовать optional

RemoveNodeState

Флаг, указывающий, следует ли вызывать API RemoveNodeState после удаления конфигурации узла.

Атрибут Ценность
имя RemoveNodeState
тип xs:boolean
Использовать optional
default false

UpgradeEntryPointExe

Имя exe, используемого службой установщика для обновления

Атрибут Ценность
имя UpgradeEntryPointExe
тип xs:string
Использовать optional

UpgradeEntryPointExeParameters

Параметры в exe точки входа программы установки

Атрибут Ценность
имя UpgradeEntryPointExeParameters
тип xs:string
Использовать optional

UndoUpgradeEntryPointExe

Имя exe, используемого службой установщика для отмены обновления

Атрибут Ценность
имя UndoUpgradeEntryPointExe
тип xs:string
Использовать optional

UndoUpgradeEntryPointExeParameters

Параметры в exe точки входа программы установки

Атрибут Ценность
имя UndoUpgradeEntryPointExeParameters
тип xs:string
Использовать optional

Сложный Тип WindowsInfrastructureType

Атрибут Ценность
содержимое 1 элемента, 0 атрибутов
Определенные Глобально
имя WindowsInfrastructureType

ИСТОЧНИК XML

<xs:complexType xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="WindowsInfrastructureType">
                <xs:sequence>
                        <xs:element name="NodeList">
                                <xs:complexType>
                                        <xs:sequence>
                                                <xs:element name="Node" type="FabricNodeType" maxOccurs="unbounded"/>
                                        </xs:sequence>
                                </xs:complexType>
                        </xs:element>
                </xs:sequence>
        </xs:complexType>
  

Сведения об элементе Content

NodeList

Атрибут Ценность
имя NodeList