Compartilhar via


Tipos complexos no esquema XML do modelo de serviço

complexType AppInstanceDefinitionType

Atributo Valor
conteúdo 1 elemento, 1 atributo
definido globalmente
name AppInstanceDefinitionType

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


Detalhes do atributo

Nome

Nome do aplicativo a ser criado.

Atributo Valor
name Nome
type xs:string
uso exigido

Detalhes do elemento de conteúdo

Parâmetros

Lista de parâmetros para o aplicativo conforme definido no manifesto do aplicativo e seus respectivos valores.

Atributo Valor
name Parâmetros

complexType ApplicationHealthPolicyType

Descreve a política para avaliar os eventos de integridade indicados em várias entidades relacionadas ao aplicativo. Se nenhuma política for especificada, uma entidade será considerada não íntegra se o relatório de integridade for um aviso ou erro.

Atributo Valor
conteúdo 2 elementos, 2 atributos
definido globalmente
name ApplicationHealthPolicyType

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

Detalhes do atributo

ConsiderWarningAsError

Especifica se os relatórios de integridade Aviso devem ser tratados como erros durante a avaliação de integridade. Padrão: falso.

Atributo Valor
name ConsiderWarningAsError
tipo xs:string
uso opcionais
padrão false

MaxPercentUnhealthyDeployedApplications

Especifica a porcentagem máxima tolerada de aplicativos implantados que podem estar não íntegros antes de o aplicativo ser considerado com erro. Isto é calculado pela divisão do número de aplicativos implantados não íntegros pelo número de nós em que os aplicativos estão atualmente implantados no cluster. O cálculo é arredondado para cima para tolerar uma falha em um número pequeno de nós. Percentual padrão: 0.

Atributo Valor
name MaxPercentUnhealthyDeployedApplications
tipo xs:string
uso opcionais
padrão 0

Detalhes do elemento de conteúdo

DefaultServiceTypeHealthPolicy

Especifica a política de integridade do tipo de serviço padrão que substituirá a política de integridade padrão para todos os tipos de serviço no aplicativo.

Atributo Valor
name DefaultServiceTypeHealthPolicy
tipo ServiceTypeHealthPolicyType
minOccurs 0

ServiceTypeHealthPolicy

Descreve a política para avaliar os eventos de integridade relatados em serviços, partições e réplicas de determinado tipo de serviço.

Atributo Valor
name ServiceTypeHealthPolicy
minOccurs 0
maxOccurs não associado

complexType ApplicationInstanceType

Descreve uma instância de um aplicativo do Microsoft Azure Service Fabric.

Atributo Valor
conteúdo 4 elementos, 1 atributo
definido globalmente
name ApplicationInstanceType

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

Detalhes do atributo

Versão

A versão do documento ApplicationInstance.

Atributo Valor
name Versão
tipo xs:int
uso exigido

Detalhes do elemento de conteúdo

ApplicationPackageRef

Atributo Valor
name ApplicationPackageRef

ServicePackageRef

Atributo Valor
name ServicePackageRef
maxOccurs não associado

ServiceTemplates

Atributo Valor
name ServiceTemplates
tipo ServiceTemplatesType

DefaultServices

Atributo Valor
name DefaultServices
tipo DefaultServicesType

complexType ApplicationManifestType

Descreve declarativamente o tipo de aplicativo e a versão. Um ou mais manifestos de serviço dos serviços membros são referenciados para compor um tipo de aplicativo. As definições de configuração dos serviços membros podem ser substituídas usando configurações do aplicativo com parâmetros. Padrão de serviços, modelos de serviço, entidades de segurança, políticas, configuração de diagnóstico e certificados também podem ser declarados no nível do aplicativo.

Atributo Valor
conteúdo 9 elementos, 0 atributos
definido globalmente
name ApplicationManifestType

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

Detalhes do elemento de conteúdo

Descrição

Texto que descreve o aplicativo.

Atributo Valor
name Descrição
type xs:string
minOccurs 0

Parâmetros

Declara os parâmetros que são usados no manifesto do aplicativo. O valor desses parâmetros pode ser fornecido quando o aplicativo é instanciado e pode ser usado para substituir as definições de configuração do serviço ou aplicativo.

Atributo Valor
name Parâmetros
minOccurs 0

ServiceManifestImport

Importa um manifesto do serviço criado pelo desenvolvedor do serviço. Um manifesto do serviço deve ser importado para cada serviço membro do aplicativo. As substituições e políticas de configuração podem ser declaradas para o manifesto de serviço.

Atributo Valor
name ServiceManifestImport
maxOccurs não associado

ServiceTemplates

Declara o conjunto de tipos de serviço permitidos que podem ser criados dinamicamente na instância do aplicativo. Valores de configuração padrão, como o fator de replicação, são especificados e usados como um modelo para criar instâncias de serviço.

Atributo Valor
name ServiceTemplates
tipo ServiceTemplatesType
minOccurs 0

DefaultServices

Atributo Valor
name DefaultServices
tipo DefaultServicesType
minOccurs 0

Principals

Atributo Valor
name Principals
tipo SecurityPrincipalsType
minOccurs 0

Políticas

Atributo Valor
name Políticas
type ApplicationPoliciesType
minOccurs 0

Diagnósticos

Atributo Valor
name Diagnósticos
tipo DiagnosticsType
minOccurs 0

Certificados

Declara certificados usados para proteger pontos de extremidade ou criptografar segredos no manifesto do aplicativo ou em um manifesto do cluster.

Atributo Valor
name Certificados
minOccurs 0

complexType ApplicationPackageType

ApplicationPackage representa as informações do aplicativo com controle de versão requeridas pelo nó.

Atributo Valor
conteúdo 2 elementos, 2 atributos
definido globalmente
name ApplicationPackageType

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

Detalhes do atributo

ApplicationTypeName

Identificador de tipo para este aplicativo.

Atributo Valor
name ApplicationTypeName
tipo xs:string
uso exigido

ContentChecksum

Valor de soma de verificação do conteúdo deste ApplicationPackage

Atributo Valor
name ContentChecksum
type xs:string

Detalhes do elemento de conteúdo

DigestedEnvironment

Atributo Valor
name DigestedEnvironment
tipo EnvironmentType

DigestedCertificates

Atributo Valor
name DigestedCertificates

complexType ApplicationPoliciesType

Descreve as políticas (coleta de log, executar como padrão, integridade e acesso de segurança) a serem aplicadas no nível do aplicativo.

Atributo Valor
conteúdo 4 elementos, 0 atributos
definido globalmente
name ApplicationPoliciesType

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

Detalhes do elemento de conteúdo

LogCollectionPolicies

Especifica se a coleta de log está habilitada. Funciona somente em um ambiente de cluster do Azure

Atributo Valor
name LogCollectionPolicies
minOccurs 0

DefaultRunAsPolicy

Especifique uma conta de usuário padrão para todos os pacotes de código de serviço que não tenham um RunAsPolicy específico definido na seção ServiceManifestImport.

Atributo Valor
name DefaultRunAsPolicy
minOccurs 0

HealthPolicy

Atributo Valor
name HealthPolicy
tipo ApplicationHealthPolicyType
minOccurs 0

SecurityAccessPolicies

Lista de políticas de segurança aplicadas aos recursos no nível do aplicativo.

Atributo Valor
name SecurityAccessPolicies
minOccurs 0

complexType AzureBlobETWType

Descreve um destino de armazenamento de blobs do Azure para eventos de ETW. Funciona somente no ambiente do Azure.

Atributo Valor
conteúdo 0 elementos, 0 atributos
definido globalmente
name AzureBlobETWType

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

complexType AzureBlobType

Descreve um destino de armazenamento de blobs do Azure para dados de diagnóstico. Funciona somente no ambiente de cluster do Azure.

Atributo Valor
conteúdo 0 elementos, 0 atributos
definido globalmente
name AzureBlobType

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

complexType AzureRoleType

Atributo Valor
conteúdo 0 elemento, 3 atributos
definido globalmente
name AzureRoleType

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

Detalhes do atributo

RoleName

Atributo Valor
name RoleName
tipo xs:string
uso exigido

NodeTypeRef

Atributo Valor
name NodeTypeRef
tipo xs:string
uso exigido

SeedNodeCount

Atributo Valor
name SeedNodeCount
tipo xs:int
uso opcionais
padrão 0

complexType AzureStoreBaseType

Descreve um repositório de diagnóstico em uma conta de armazenamento do Azure.

Atributo Valor
conteúdo 1 elemento, 1 atributo
definido globalmente
name AzureStoreBaseType

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

Detalhes do atributo

ConnectionStringIsEncrypted

Atributo Valor
name ConnectionStringIsEncrypted
tipo xs:string
uso exigido

Detalhes do elemento de conteúdo

Nenhum

Atributo Valor
ref Parâmetros
minOccurs 0

complexType BlackbirdRoleType

Atributo Valor
conteúdo 0 elemento, 4 atributos
definido globalmente
name BlackbirdRoleType

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

Detalhes do atributo

EnvironmentName

Atributo Valor
name EnvironmentName
tipo xs:string
uso exigido

RoleName

Atributo Valor
name RoleName
tipo xs:string
uso exigido

NodeTypeRef

Atributo Valor
name NodeTypeRef
tipo xs:string
uso exigido

IsSeedNode

Atributo Valor
name IsSeedNode
tipo xs:boolean
uso opcionais
padrão 0

complexType CertificatesType

Atributo Valor
conteúdo 4 elementos, 0 atributos
definido globalmente
name CertificatesType

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

Detalhes do elemento de conteúdo

ClusterCertificate

O certificado usado para proteger a comunicação interna do cluster.

Atributo Valor
name ClusterCertificate
tipo FabricCertificateType
minOccurs 0

ServerCertificate

O certificado usado para proteger a comunicação interna do cluster.

Atributo Valor
name ServerCertificate
tipo FabricCertificateType
minOccurs 0

ClientCertificate

O certificado do cliente de função de administrador padrão usado para proteger a comunicação do servidor cliente.

Atributo Valor
name ClientCertificate
tipo FabricCertificateType
minOccurs 0

UserRoleClientCertificate

O certificado do cliente de função de usuário padrão usado para proteger a comunicação do servidor cliente.

Atributo Valor
name UserRoleClientCertificate
tipo FabricCertificateType
minOccurs 0

complexType ClusterManifestType

Descreve um cluster do Microsoft Azure Service Fabric.

Atributo Valor
conteúdo 4 elementos, 3 atributos
definido globalmente
name ClusterManifestType

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

Detalhes do atributo

Nome

Nome do Cluster.

Atributo Valor
name Nome
uso exigido

Versão

Cadeia de caracteres de versão definida pelo usuário para o documento do manifesto do cluster.

Atributo Valor
name Versão
uso necessárias

Descrição

Descrição do manifesto do cluster.

Atributo Valor
name Descrição

Detalhes do elemento de conteúdo

NodeTypes

Atributo Valor
name NodeTypes
minOccurs 1

Infraestrutura

Atributo Valor
name Infraestrutura

FabricSettings

Atributo Valor
name FabricSettings
tipo SettingsOverridesType
minOccurs 0

Certificados

Atributo Valor
name Certificados
minOccurs 0

complexType CodePackageType

Descreve um pacote de código que dá suporte a um tipo de serviço definido. Quando um serviço é instanciado em relação a um desses tipos de serviço, todos os pacotes de código declarados nesse manifesto são ativados com a execução de seus pontos de entrada. Os processos resultantes devem registrar os tipos de serviço com suporte no tempo de execução. Quando há vários pacotes de código, eles serão todos ativados sempre que o sistema procurar por qualquer um dos tipos de serviço declarados.

Atributo Valor
conteúdo 3 elementos, 2 atributos
definido globalmente
name CodePackageType

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

Detalhes do atributo

IsShared

Indica se o conteúdo deste pacote de códigos é compartilhado por outros pacotes de códigos. Se o atributo for verdadeiro, em uma atualização desse pacote de códigos, todos os pacotes de códigos serão reiniciados. No momento, não há suporte para esse atributo e seu valor será ignorado.

Atributo Valor
name IsShared
type xs:boolean
padrão false

IsActivator

Este atributo é apenas para uso interno.

Atributo Valor
name IsActivator
tipo xs:boolean
padrão false

Detalhes do elemento de conteúdo

SetupEntryPoint

Um ponto de entrada privilegiado que por padrão é executado com as mesmas credenciais do que o Service Fabric (normalmente, a conta NETWORKSERVICE) antes de qualquer outro ponto de entrada. O executável especificado pelo EntryPoint normalmente é o host de serviço de longa duração. A presença de um ponto de entrada de instalação separado evita a necessidade de executar o host de serviço com altos privilégios por longos períodos de tempo.

Atributo Valor
name SetupEntryPoint
minOccurs 0

EntryPoint

Atributo Valor
name EntryPoint
tipo EntryPointDescriptionType
minOccurs 1

EnvironmentVariables

Atributo Valor
name EnvironmentVariables
tipo EnvironmentVariablesType
minOccurs 0
maxOccurs 1

complexType ConfigOverrideType

Descreve as substituições de configuração para determinado pacote de configuração no manifesto do serviço importado.

Atributo Valor
conteúdo 1 elemento, 1 atributo
definido globalmente
name ConfigOverrideType

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

Detalhes do atributo

Nome

O nome do pacote de configuração no manifesto do serviço que contém as configurações a serem substituídas.

Atributo Valor
name Nome
uso exigido

Detalhes do elemento de conteúdo

Configurações

Atributo Valor
name Configurações
tipo SettingsOverridesType
minOccurs 0

ConfigPackageDescriptionType complexType

Declara uma pasta nomeada pelo atributo Name, que contém um arquivo Settings.xml. Esse arquivo contém seções de configurações de par chave-valor, definido pelo usuário, que o processo pode ler de volta no tempo de execução. Durante a atualização, se apenas a versão do ConfigPackage tiver sido alterada, o processo de execução não será reiniciado. Em vez disso, um retorno de chamada notifica o processo de que as definições de configuração foram alteradas para que possam ser recarregadas dinamicamente.

Atributo Valor
conteúdo 0 elemento, 4 atributos
definido globalmente
name ConfigPackageDescriptionType

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

Detalhes do atributo

Nome

Nome do item com controle de versão.

Atributo Valor
name Nome
uso exigido

SectionName

Nome da seção do ConfigPackage Settings.xml.

Atributo Valor
name SectionName
uso exigido

MountPoint

Atributo Valor
name MountPoint
tipo xs:string
uso opcionais
padrão

EnvironmentVariableName

Atributo Valor
name EnvironmentVariableName
tipo xs:string
uso opcionais
padrão

ConfigPackagePoliciesType complexType

Atributo Valor
conteúdo 1 elemento, 1 atributo
definido globalmente
name ConfigPackagePoliciesType

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

Detalhes do atributo

CodePackageRef

Atributo Valor
name CodePackageRef
uso exigido

Detalhes do elemento de conteúdo

ConfigPackage

Atributo Valor
name ConfigPackage
type ConfigPackageDescriptionType
minOccurs 0
maxOccurs não associado

complexType ConfigPackageType

Declara uma pasta nomeada pelo atributo Name, em PackageRoot, que contém um arquivo Settings.xml. Esse arquivo contém seções de configurações de par chave-valor, definido pelo usuário, que o processo pode ler de volta no tempo de execução. Durante a atualização, se apenas a versão do ConfigPackage tiver sido alterada, o processo de execução não será reiniciado. Em vez disso, um retorno de chamada notifica o processo de que as definições de configuração foram alteradas para que possam ser recarregadas dinamicamente.

Atributo Valor
conteúdo 0 elementos, 0 atributos
definido globalmente
name ConfigPackageType

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

complexType ContainerCertificateType

Especifica informações sobre um X509 certificado que deve ser exposto ao ambiente do contêiner. O certificado deve ser instalado no repositório LocalMachine de todos os nós do cluster. Quando o aplicativo é iniciado, o runtime lê o certificado e gera um arquivo PFX e uma senha (no Windows) ou um arquivo PEM (no Linux). O arquivo PFX e a senha são acessíveis no contêiner usando as variáveis de ambiente Certificates_ServicePackageName_CodePackageName_CertName_PFX e Certificates_ServicePackageName_CodePackageName_CertName_Password. O arquivo PEM é acessível no contêiner usando as variáveis de ambiente Certificates_ServicePackageName_CodePackageName_CertName_PEM e Certificates_ServicePackageName_CodePackageName_CertName_PrivateKey.

Atributo Valor
conteúdo 0 elemento, 8 atributos
definido globalmente
name ContainerCertificateType

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

Detalhes do atributo

X509StoreName

O nome do repositório do certificado X509.

Atributo Valor
name X509StoreName
tipo xs:string
padrão Meu

X509FindValue

A impressão digital do certificado X509.

Atributo Valor
name X509FindValue
tipo xs:string
uso opcionais

DataPackageRef

O nome do pacote de dados que contém os arquivos de certificado.

Atributo Valor
name DataPackageRef
tipo xs:string
uso opcionais

DataPackageVersion

A versão do pacote de dados que contém os arquivos de certificado.

Atributo Valor
name DataPackageVersion
tipo xs:string
uso opcionais

RelativePath

O caminho relativo para o arquivo de certificado dentro do pacote de dados.

Atributo Valor
name RelativePath
tipo xs:string
uso opcionais

Senha

Senha/chave privada do certificado.

Atributo Valor
name Senha
tipo xs:string
uso opcionais

IsPasswordEncrypted

Se for verdadeiro, o valor da senha será criptografado.

Atributo Valor
name IsPasswordEncrypted
tipo xs:boolean
padrão false

Nome

Identificador para as informações específicas do certificado. Esse nome é usado para definir a variável de ambiente no contêiner.

Atributo Valor
name Nome
type xs:string
uso exigido

ContainerHealthConfigType complexType

Especifica as opções de integração HEALTHCHECK do docker para o contêiner.

Atributo Valor
conteúdo 0 elemento, 2 atributos
definido globalmente
name ContainerHealthConfigType

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

Detalhes do atributo

IncludeDockerHealthStatusInSystemHealthReport

Se o contêiner tiver HEALTHCHECK habilitado, e o docker relatar um evento health_status para esse contêiner, o Service Fabric incluirá isso como parte da integridade do sistema relatada. Quando health_status não estiver íntegro, o Service Fabric relatará um aviso de integridade. Por padrão, é definido como true.

Atributo Valor
name IncludeDockerHealthStatusInSystemHealthReport
tipo xs:boolean
uso opcionais
padrão true

RestartContainerOnUnhealthyDockerHealthStatus

Se o contêiner tiver HEALTHCHECK habilitado e o docker relatar um evento health_status para esse contêiner, o Service Fabric reiniciará o contêiner quando o health_status relatado pelo docker não estiver íntegro. Por padrão, é definido como false.

Atributo Valor
name RestartContainerOnUnhealthyDockerHealthStatus
tipo xs:boolean
uso opcionais
padrão false

complexType ContainerHostEntryPointType

Atributo Valor
conteúdo 4 elementos, 0 atributos
definido globalmente
name ContainerHostEntryPointType

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

Detalhes do elemento de conteúdo

ImageName

O repositório e a imagem no https://hub.docker.com ou Registro de Contêiner do Azure.

Atributo Valor
name ImageName
tipo xs:string

Comandos

Lista delimitada por vírgulas de comandos para o contêiner.

Atributo Valor
name Comandos
tipo xs:string
minOccurs 0
maxOccurs 1

EntryPoint

Atributo Valor
name EntryPoint
tipo xs:string
minOccurs 0
maxOccurs 1

FromSource

Atributo Valor
name FromSource
tipo xs:string
minOccurs 0
maxOccurs 1

complexType ContainerHostPoliciesType

Atributo Valor
conteúdo 10 elementos, 8 atributos
definido globalmente
name ContainerHostPoliciesType

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

Detalhes do atributo

CodePackageRef

Atributo Valor
name CodePackageRef
uso exigido

UseDefaultRepositoryCredentials

Use as credenciais do repositório padrão especificadas em clusterManifest.xml, em vez das credenciais especificadas na marca "RepositoryCredentials" dentro de ApplicationManifest.xml.

Atributo Valor
name UseDefaultRepositoryCredentials
tipo xs:string
uso opcionais
padrão false

UseTokenAuthenticationCredentials

Use a autenticação de token MSI (ou um ponto de extremidade especificado personalizado) para obter um token usado para autenticação.

Atributo Valor
name UseTokenAuthenticationCredentials
tipo xs:string
uso opcionais
padrão false

Isolamento

Modo de isolamento do contêiner. Os valores válidos são default, process ou Hyper-V (com suporte apenas dos contêineres do Windows).

Atributo Valor
name Isolamento
uso opcionais
tipo xs:string

Nome do host

Especifique o Nome do Host para o contêiner.

Atributo Valor
name Nome do host
uso opcionais
tipo xs:string

ContainersRetentionCount

Número de contêineres a serem deixados para trás quando o contêiner falhar repetidamente. Por padrão, isso é definido como 0, para que nenhum contêiner seja deixado para trás.

Atributo Valor
name ContainersRetentionCount
uso opcionais
tipo xs:string
padrão 0

AutoRemove

Sinalizador indicando se a remoção de contêineres ocorrerá automaticamente (true) ou não (false), se o contêiner for encerrado. Se falso SF, remova manualmente os contêineres.

Atributo Valor
name AutoRemove
uso opcionais
tipo xs:string

RunInteractive

Executa o contêiner com o sinalizador interativo habilitado. Os valores válidos são true/false. false por padrão.

Atributo Valor
name RunInteractive
uso opcionais
tipo xs:string

Detalhes do elemento de conteúdo

RepositoryCredentials

Credenciais para o repositório de imagens de contêiner de onde as imagens devem ser retiradas.

Atributo Valor
name RepositoryCredentials
tipo RepositoryCredentialsType
minOccurs 0
maxOccurs 1

HealthConfig

Especifica as opções de integração HEALTHCHECK do docker para o contêiner.

Atributo Valor
name HealthConfig
tipo ContainerHealthConfigType
minOccurs 0
maxOccurs 1

PortBinding

Especifica qual recurso do ponto de extremidade associar à porta do contêiner exposto.

Atributo Valor
name PortBinding
tipo PortBindingType
minOccurs 0
maxOccurs não associado

CertificateRef

Especifica informações de um certificado que será exposto ao contêiner.

Atributo Valor
name CertificateRef
tipo ContainerCertificateType
minOccurs 0
maxOccurs não associado

LogConfig

Especifica o driver de registro em log para um contêiner.

Atributo Valor
name LogConfig
tipo ContainerLoggingDriverType
minOccurs 0
maxOccurs 1

NetworkConfig

Especifica a configuração de rede para um contêiner.

Atributo Valor
name NetworkConfig
tipo ContainerNetworkConfigType
minOccurs 0
maxOccurs 1

Volume

Especifica o volume a ser associado ao contêiner.

Atributo Valor
name Volume
tipo ContainerVolumeType
minOccurs 0
maxOccurs não associado

SecurityOption

Especifica securityoptions para o contêiner.

Atributo Valor
name SecurityOption
tipo SecurityOptionsType
minOccurs 0
maxOccurs não associado

ImageOverrides

Nomes de imagem correspondentes ao número de build do SO a ser inicializado.

Atributo Valor
name ImageOverrides
tipo ImageOverridesType
minOccurs 0
maxOccurs 1

Label

Especifica os rótulos para o contêiner.

Atributo Valor
name Label
tipo ContainerLabelType
minOccurs 0
maxOccurs não associado

ContainerLabelType complexType

Atributo Valor
conteúdo 0 elemento, 2 atributos
definido globalmente
name ContainerLabelType

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

Detalhes do atributo

Nome

Atributo Valor
name Nome
type xs:string
uso exigido

Valor

Atributo Valor
name Valor
type xs:string
uso exigido

complexType ContainerLoggingDriverType

Atributo Valor
conteúdo 1 elemento, 1 atributo
definido globalmente
name ContainerLoggingDriverType

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

Detalhes do atributo

Driver

Atributo Valor
name Driver
uso exigido

Detalhes do elemento de conteúdo

DriverOption

Opções de driver a serem transmitidas para o driver.

Atributo Valor
name DriverOption
tipo DriverOptionType
minOccurs 0
maxOccurs não associado

complexType ContainerNetworkConfigType

Atributo Valor
conteúdo 0 elemento, 1 atributo
definido globalmente
name ContainerNetworkConfigType

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

Detalhes do atributo

NetworkType

NetworkType. Tipos atualmente com suporte são "Em aberto" e "Isolado".

Atributo Valor
name NetworkType
uso exigido
tipo xs:string

ContainerNetworkPolicyEndpointBindingType complexType

Atributo Valor
conteúdo 0 elemento, 1 atributo
definido globalmente
name ContainerNetworkPolicyEndpointBindingType

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

Detalhes do atributo

EndpointRef

O nome do ponto de extremidade, que precisa ser declarado na seção Recursos do manifesto do serviço.

Atributo Valor
name EndpointRef

ContainerNetworkPolicyType complexType

Descreve a associação entre um pacote de serviço e uma rede de contêiner e, opcionalmente, a associação entre os pontos de extremidade do pacote de serviço e a rede de contêiner.

Atributo Valor
conteúdo 1 elemento, 1 atributo
definido globalmente
name ContainerNetworkPolicyType

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

Detalhes do atributo

NetworkRef

O nome da rede de contêiner (não diferencia maiúsculas de minúsculas). Deve ser o nome de uma rede de contêiner já criada ou nomes reservados, incluindo "Em aberto" ou "NAT".

Atributo Valor
name NetworkRef
uso exigido

Detalhes do elemento de conteúdo

EndpointBinding

Especifica um ponto de extremidade que deve ser exposto na rede de contêiner.

Atributo Valor
name EndpointBinding
tipo ContainerNetworkPolicyEndpointBindingType
minOccurs 0
maxOccurs não associado

complexType ContainerVolumeType

Atributo Valor
conteúdo 1 elemento, 4 atributos
definido globalmente
name ContainerVolumeType

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

Detalhes do atributo

Fonte

A pasta de origem pode ser uma pasta na VM que hospeda os contêineres ou um armazenamento remoto persistente.

Atributo Valor
name Fonte
uso exigido

Destino

A localização para a qual a Origem está mapeada no contêiner em execução. Assim, seu destino não pode ser um local já existente em seu contêiner.

Atributo Valor
name Destino
uso exigido

Driver

O nome do driver para o plug-in de volume dos Arquivos do Azure é "sfazurefile".

Atributo Valor
name Driver
uso opcionais

IsReadOnly

Atributo Valor
name IsReadOnly
tipo xs:boolean
padrão false

Detalhes do elemento de conteúdo

DriverOption

Opções de driver a serem transmitidas para o driver.

Atributo Valor
name DriverOption
tipo DriverOptionType
minOccurs 0
maxOccurs não associado

complexType DataPackageType

Declara uma pasta, nomeada pelo atributo Name, em PackageRoot que contém os arquivos de dados estáticos a serem consumidos pelo processo no runtime. O Service Fabric reciclará todos os EXEs e DLLHOSTs especificados nos pacotes de host e de suporte quando um dos pacotes de dados listados no manifesto do serviço forem atualizados.

Atributo Valor
conteúdo 0 elementos, 0 atributos
definido globalmente
name DataPackageType

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

complexType DebugParametersType

Especifica as informações sobre o depurador a ser anexado na ativação do codepackage.

Atributo Valor
conteúdo 4 elementos, 10 atributos
definido globalmente
name DebugParametersType

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

Detalhes do atributo

ProgramExePath

Atributo Valor
name ProgramExePath

Argumentos

Atributo Valor
name Argumentos

EntryPointType

Atributo Valor
name EntryPointType
uso opcionais
padrão Principal

CodePackageLinkFolder

Atributo Valor
name CodePackageLinkFolder

ConfigPackageLinkFolder

Atributo Valor
name ConfigPackageLinkFolder

DataPackageLinkFolder

Atributo Valor
name DataPackageLinkFolder

LockFile

Atributo Valor
name LockFile

WorkingFolder

Atributo Valor
name WorkingFolder

DebugParametersFile

Atributo Valor
name DebugParametersFile

EnvironmentBlock

Atributo Valor
name EnvironmentBlock

Detalhes do elemento de conteúdo

ContainerEntryPoint

Ponto de entrada substituído para os contêineres para que o depurador possa ser iniciado.

Atributo Valor
name ContainerEntryPoint
tipo xs:string
minOccurs 0
maxOccurs não associado

ContainerMountedVolume

Volumes a serem montados dentro do contêiner.

Atributo Valor
name ContainerMountedVolume
tipo xs:string
minOccurs 0
maxOccurs não associado

ContainerEnvironmentBlock

EnvironmentBlock para contêineres.

Atributo Valor
name ContainerEnvironmentBlock
tipo xs:string
minOccurs 0
maxOccurs não associado

ContainerLabel

Rótulos para contêineres na forma chave = valor.

Atributo Valor
name ContainerLabel
tipo xs:string
minOccurs 0
maxOccurs não associado

complexType DefaultServicesType

Declara as instâncias de serviço que são criadas automaticamente sempre que um aplicativo é instanciado em relação a esse tipo de aplicativo.

Atributo Valor
conteúdo 2 elementos, 0 atributo
definido globalmente
name DefaultServicesType

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

Detalhes do elemento de conteúdo

Serviço

Declara a criação automática de um serviço quando o aplicativo é instanciado.

Atributo Valor
name Serviço

ServiceGroup

Uma coleção de serviços que são colocados juntos automaticamente, para que eles também sejam movidos juntos durante o failover ou o gerenciamento de recursos.

Atributo Valor
name ServiceGroup

complexType DiagnosticsType

Descreve as configurações de diagnóstico para aplicativos.

Atributo Valor
conteúdo 3 elementos, 0 atributo
definido globalmente
name DiagnosticsType

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

Detalhes do elemento de conteúdo

CrashDumpSource

Especifica a coleção de despejo de memória. Os despejos de memória são coletados para executáveis que hospedam os pacotes de códigos de todos os serviços pertencentes ao aplicativo.

Atributo Valor
name CrashDumpSource
minOccurs 0

ETWSource

Especifica a coleta de rastreamento do ETW. Os rastreamentos ETW são coletados para os provedores registrados por todos os serviços pertencentes ao aplicativo.

Atributo Valor
name ETWSource
minOccurs 0

FolderSource

Especifica a coleção do conteúdo de uma pasta específica no nó local.

Atributo Valor
name FolderSource
minOccurs 0
maxOccurs não associado

complexType DllHostEntryPointType

Sem suporte. Não use. O suporte à hospedagem DLL (ponto de entrada do assembly) é fornecido por meio do processo FWP.exe. O Service Fabric inicia o Fabric Worker Process (FWP.exe) e carrega o assembly como parte do processo de ativação.

Atributo Valor
conteúdo 2 elementos, 1 atributo
definido globalmente
name DllHostEntryPointType

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

Detalhes do atributo

IsolationPolicy

Sem suporte. Não use. Define a política de isolamento para as DLLs não Gerenciadas e os Assemblies Gerenciados carregados no DllHost.

Atributo Valor
name IsolationPolicy
uso opcionais
padrão DedicatedProcess

Detalhes do elemento de conteúdo

UnmanagedDll

Atributo Valor
name UnmanagedDll
tipo UnmanagedDllType

ManagedAssembly

Atributo Valor
name ManagedAssembly
tipo ManagedAssemblyType

complexType DriverOptionType

Opções de driver a serem transmitidas para o driver. O plug-in de volume dos Arquivos do Azure dá suporte às seguintes opções de driver: shareName (o compartilhamento de arquivos dos Arquivos do Azure que fornece o volume para o contêiner), storageAccountName (a conta de armazenamento do Azure que contém o compartilhamento de arquivos dos Arquivos do Azure), storageAccountKey (chave de acesso para a conta de armazenamento do Azure que contém o compartilhamento de arquivos dos Arquivos do Azure). Essas três opções de driver são necessárias.

Atributo Valor
conteúdo 0 elemento, 4 atributos
definido globalmente
name DriverOptionType

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

Detalhes do atributo

Nome

O nome da opção de driver.

Atributo Valor
name Nome
type xs:string
uso exigido

Valor

O valor da opção de driver.

Atributo Valor
name Valor
type xs:string
uso exigido

IsEncrypted

Atributo Valor
name IsEncrypted
type xs:string
uso opcionais
padrão false

Tipo

Esse valor define a proteção do valor do atributo. Ele pode ser SecretsStoreRef/Encrypted/PlainText. Se definido como SecretsStoreRef, o valor fará referência a um segredo criptografado armazenado no SecureStore do cluster, que terá a criptografia e a referência removidas na ativação. Se definido como Encrypted, o desenvolvedor do aplicativo será responsável por criar um certificado e usar o cmdlet Invoke-ServiceFabricEncryptSecret para criptografar informações confidenciais.

Atributo Valor
name Type
type xs:string
uso opcionais
padrão Texto sem formatação

complexType EndpointBindingPolicyType

Atributo Valor
conteúdo 0 elemento, 2 atributos
definido globalmente
name EndpointBindingPolicyType

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

Detalhes do atributo

EndpointRef

O nome do ponto de extremidade, que precisa ser declarado na seção Recursos do manifesto do serviço. Ao usar HTTPS, não use a mesma porta e o certificado de instâncias de serviço diferente (independentemente do aplicativo) implantados no mesmo nó. O upgrade de dois serviços diferentes usando a mesma porta em instâncias de aplicativo diferentes resultará em uma falha de upgrade.

Atributo Valor
name EndpointRef

CertificateRef

O nome do certificado de ponto de extremidade, declarado na seção Certificados, a ser retornado para o cliente.

Atributo Valor
name CertificateRef
uso exigido

complexType EndpointCertificateType

Especifica informações sobre um certificado X509 usado para proteger um ponto de extremidade.

Atributo Valor
conteúdo 0 elemento, 3 atributos
definido globalmente
name EndpointCertificateType

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

Detalhes do atributo

X509StoreName

O nome do repositório do certificado X509.

Atributo Valor
name X509StoreName
tipo xs:string
padrão Meu

X509FindValue

A impressão digital do certificado X509.

Atributo Valor
name X509FindValue
uso exigido

Nome

Atributo Valor
name Nome
type xs:string
uso opcionais

complexType EndpointOverrideType

Atributo Valor
conteúdo 0 elementos, 6 atributos
definido globalmente
name EndpointOverrideType

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

Detalhes do atributo

Nome

O nome do ponto de extremidade a ser substituído. Uma cadeia de caracteres.

Atributo Valor
name Nome
uso exigido

Porta

O número da porta para o ponto de extremidade. Substitui o valor no manifesto do serviço.

Atributo Valor
name Porta
tipo xs:string

Protocolo

O protocolo para o ponto de extremidade. Substitui o valor no manifesto do serviço. Os pontos de extremidade HTTPS também precisam ter um EndpointCertificate e uma EndpointBindingPolicy declarados no manifesto do aplicativo. O protocolo não pode ser alterado posteriormente em uma atualização de aplicativo.

Atributo Valor
name Protocolo
tipo xs:string
uso opcionais

Tipo

O tipo do ponto de extremidade. Substitui o valor no manifesto do serviço. Os pontos de extremidade de entrada são usados para expor a porta para o exterior, enquanto os pontos de extremidade internos são usados para a comunicação entre aplicativos.

Atributo Valor
name Type
type xs:string
uso opcionais

UriScheme

O esquema de URI. Substitui o valor no manifesto do serviço. Por exemplo, "http", "https" ou "ftp".

Atributo Valor
name UriScheme
uso opcionais

PathSuffix

O sufixo do caminho. Por exemplo, "/myapp1". Substitui o valor no manifesto do serviço.

Atributo Valor
name PathSuffix
uso opcionais

complexType EndpointType

Define um ponto de extremidade para o serviço. Portas específicas podem ser solicitadas. Se uma porta não for especificada explicitamente, ela será atribuída do intervalo de portas do aplicativo reservadas. As réplicas do serviço em execução em nós diferentes do cluster podem receber números de porta diferentes, enquanto as réplicas do mesmo serviço em execução no mesmo nó compartilham a mesma porta. Essas portas podem ser usadas por réplicas de serviço para várias finalidades, como replicação ou escuta de solicitações de clientes.

Atributo Valor
conteúdo 0 elemento, 8 atributos
definido globalmente
name EndpointType

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

Detalhes do atributo

Nome

O nome do ponto de extremidade.

Atributo Valor
name Nome
uso exigido

Protocolo

O protocolo para o ponto de extremidade: http, https, tcp ou udp. Os pontos de extremidade HTTPS também precisam ter um EndpointCertificate e uma EndpointBindingPolicy declarados no manifesto do aplicativo. O protocolo não pode ser alterado posteriormente em uma atualização de aplicativo.

Atributo Valor
name Protocolo
uso opcionais
padrão TCP

Tipo

O tipo do ponto de extremidade. Os pontos de extremidade de entrada são usados para expor a porta para o exterior, enquanto os pontos de extremidade internos são usados para a comunicação entre aplicativos.

Atributo Valor
name Tipo
uso opcionais
padrão Interna

CodePackageRef

O nome do pacote de códigos que usará esse ponto de extremidade.

Atributo Valor
name CodePackageRef
uso opcionais

CertificateRef

Não usar. Não há suporte para esse atributo.

Atributo Valor
name CertificateRef

Porta

A porta será substituída por uma porta determinada pelo Microsoft Azure Service Fabric após o registro no Http.sys ou BFE.

Atributo Valor
name Porta

UriScheme

O esquema de URI. Por exemplo, "http", "https" ou "ftp".

Atributo Valor
name UriScheme

PathSuffix

O sufixo do caminho. Por exemplo, "/myapp1".

Atributo Valor
name PathSuffix

complexType EntryPointDescriptionType

O executável especificado pelo EntryPoint normalmente é o host de serviço de longa duração. A presença de um ponto de entrada de instalação separado evita a necessidade de executar o host de serviço com altos privilégios por longos períodos de tempo. O executável especificado pelo EntryPoint é executado depois que o SetupEntryPoint é encerrado com êxito. O processo resultante será monitorado e reiniciado (começando novamente com SetupEntryPoint) se ele terminar ou falhar.

Atributo Valor
conteúdo 3 elementos, 0 atributo
definido globalmente
name EntryPointDescriptionType

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

Detalhes do elemento de conteúdo

ExeHost

Atributo Valor
name ExeHost

DllHost

Atributo Valor
name DllHost
tipo DllHostEntryPointType

ContainerHost

Atributo Valor
name ContainerHost
tipo ContainerHostEntryPointType

complexType EnvironmentOverridesType

Atributo Valor
conteúdo 1 elemento, 1 atributo
definido globalmente
name EnvironmentOverridesType

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

  

Detalhes do atributo

CodePackageRef

Atributo Valor
name CodePackageRef
uso exigido

Detalhes do elemento de conteúdo

EnvironmentVariable

Variável Environment.

Atributo Valor
name EnvironmentVariable
tipo EnvironmentVariableOverrideType
minOccurs 0
maxOccurs não associado

complexType EnvironmentType

Atributo Valor
conteúdo 3 elementos, 0 atributo
definido globalmente
name EnvironmentType

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

Detalhes do elemento de conteúdo

Principals

Atributo Valor
name Principals
tipo SecurityPrincipalsType

Políticas

Atributo Valor
name Políticas
type ApplicationPoliciesType

Diagnósticos

Atributo Valor
name Diagnósticos
tipo DiagnosticsType

EnvironmentVariableOverrideType complexType

Atributo Valor
conteúdo 0 elemento, 3 atributos
definido globalmente
name EnvironmentVariableOverrideType

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

Detalhes do atributo

Nome

Nome da variável de ambiente.

Atributo Valor
name Nome
type xs:string
uso exigido

Valor

Atributo Valor
name Valor

Tipo

Atributo Valor
name Type
type xs:string
uso opcionais

complexType EnvironmentVariableType

Atributo Valor
conteúdo 0 elemento, 3 atributos
definido globalmente
name EnvironmentVariableType

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

Detalhes do atributo

Nome

Nome da variável de ambiente.

Atributo Valor
name Nome
type xs:string
uso exigido

Valor

Atributo Valor
name Valor

Tipo

O tipo da Variável de Ambiente. Pode ser PlainText/Encrypted/SecretsStoreRef. Se definido como SecretsStoreRef, o valor de referência do SecretStore será recuperado. Se definido como Encrypted, o desenvolvedor do aplicativo será responsável por criar um certificado e usar o cmdlet Invoke-ServiceFabricEncryptSecret para criptografar informações confidenciais.

Atributo Valor
name Tipo
uso opcionais
padrão Texto sem formatação

complexType EnvironmentVariablesType

Passe as variáveis de ambiente para seu contêiner ou exe.

Atributo Valor
conteúdo 1 elemento, 0 atributos
definido globalmente
name EnvironmentVariablesType

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

Detalhes do elemento de conteúdo

EnvironmentVariable

Variável Environment.

Atributo Valor
name EnvironmentVariable
tipo EnvironmentVariableType
minOccurs 0
maxOccurs não associado

complexType ExeHostEntryPointType

Atributo Valor
conteúdo 4 elementos, 1 atributo
definido globalmente
name ExeHostEntryPointType

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

Detalhes do atributo

IsExternalExecutable

Verdadeiro se o executável é externo ao pacote de aplicativos. A verificação da existência do programa no pacote de aplicativos é ignorada.

Atributo Valor
name IsExternalExecutable
tipo xs:boolean
padrão false

Detalhes do elemento de conteúdo

Programa

O nome do executável. Por exemplo, "MySetup.bat" ou "MyServiceHost.exe".

Atributo Valor
name Programa
tipo xs:string

Argumentos

Atributo Valor
name Argumentos
tipo xs:string
minOccurs 0

WorkingFolder

Atributo Valor
name WorkingFolder
padrão Work
minOccurs 0

ConsoleRedirection

Aviso! Não use redirecionamento de console em um aplicativo de produção, use-o apenas para desenvolvimento local e depuração. Redireciona a saída do console do script de inicialização para um arquivo de saída na pasta do aplicativo chamada "log" no nó de cluster em que o aplicativo é implantado e executado.

Atributo Valor
name ConsoleRedirection
minOccurs 0

complexType ExtensionsType

Descreve extensões que podem ser aplicadas a outros elementos.

Atributo Valor
conteúdo 1 elemento, 0 atributos
definido globalmente
name ExtensionsType

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

Detalhes do elemento de conteúdo

Extensão

Atributo Valor
name Extensão
minOccurs 0
maxOccurs não associado

complexType FabricCertificateType

Especifica as informações do certificado.

Atributo Valor
conteúdo 0 elemento, 5 atributos
definido globalmente
name FabricCertificateType

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

Detalhes do atributo

X509StoreName

O nome do repositório do certificado X509.

Atributo Valor
name X509StoreName
tipo xs:string
padrão Meu

X509FindType

Isso é usado somente quando a credencial é X509. Especifica como encontrar o certificado por nome ou impressão digital

Atributo Valor
name X509FindType
padrão FindByThumbprint

X509FindValue

Isso é usado somente quando a credencial é X509. Esse é o nome real ou a impressão digital do certificado.

Atributo Valor
name X509FindValue
uso exigido

X509FindValueSecondary

Isso é usado somente quando a credencial é X509. Esse é o nome real ou a impressão digital do certificado.

Atributo Valor
name X509FindValueSecondary
uso opcionais
padrão

Nome

Atributo Valor
name Nome
type xs:string
uso opcionais

complexType FabricEndpointsType

Atributo Valor
conteúdo 21 elementos, 0 atributos
definido globalmente
name FabricEndpointsType

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

  

Detalhes do elemento de conteúdo

ClientConnectionEndpoint

Atributo Valor
name ClientConnectionEndpoint
tipo InputEndpointType

LeaseDriverEndpoint

Atributo Valor
name LeaseDriverEndpoint
tipo InternalEndpointType

ClusterConnectionEndpoint

Atributo Valor
name ClusterConnectionEndpoint
tipo InternalEndpointType

HttpGatewayEndpoint

Atributo Valor
name HttpGatewayEndpoint
tipo InputEndpointType
minOccurs 0

HttpApplicationGatewayEndpoint

Atributo Valor
name HttpApplicationGatewayEndpoint
tipo InputEndpointType
minOccurs 0

ServiceConnectionEndpoint

Atributo Valor
name ServiceConnectionEndpoint
tipo InternalEndpointType
minOccurs 0

ClusterManagerReplicatorEndpoint

Atributo Valor
name ClusterManagerReplicatorEndpoint
tipo InternalEndpointType
minOccurs 0

RepairManagerReplicatorEndpoint

Atributo Valor
name RepairManagerReplicatorEndpoint
tipo InternalEndpointType
minOccurs 0

NamingReplicatorEndpoint

Atributo Valor
name NamingReplicatorEndpoint
tipo InternalEndpointType
minOccurs 0

FailoverManagerReplicatorEndpoint

Atributo Valor
name FailoverManagerReplicatorEndpoint
tipo InternalEndpointType
minOccurs 0

ImageStoreServiceReplicatorEndpoint

Atributo Valor
name ImageStoreServiceReplicatorEndpoint
tipo InternalEndpointType
minOccurs 0

UpgradeServiceReplicatorEndpoint

Atributo Valor
name UpgradeServiceReplicatorEndpoint
tipo InternalEndpointType
minOccurs 0

FaultAnalysisServiceReplicatorEndpoint

Atributo Valor
name FaultAnalysisServiceReplicatorEndpoint
tipo InternalEndpointType
minOccurs 0

BackupRestoreServiceReplicatorEndpoint

Atributo Valor
name BackupRestoreServiceReplicatorEndpoint
tipo InternalEndpointType
minOccurs 0

UpgradeOrchestrationServiceReplicatorEndpoint

Atributo Valor
name UpgradeOrchestrationServiceReplicatorEndpoint
tipo InternalEndpointType
minOccurs 0

CentralSecretServiceReplicatorEndpoint

Atributo Valor
name CentralSecretServiceReplicatorEndpoint
tipo InternalEndpointType
minOccurs 0

EventStoreServiceReplicatorEndpoint

Atributo Valor
name EventStoreServiceReplicatorEndpoint
tipo InternalEndpointType
minOccurs 0

GatewayResourceManagerReplicatorEndpoint

Atributo Valor
name GatewayResourceManagerReplicatorEndpoint
tipo InternalEndpointType
minOccurs 0

DefaultReplicatorEndpoint

Atributo Valor
name DefaultReplicatorEndpoint
tipo InternalEndpointType
minOccurs 0

ApplicationEndpoints

Atributo Valor
name ApplicationEndpoints
minOccurs 0

EphemeralEndpoints

Atributo Valor
name EphemeralEndpoints
minOccurs 0

complexType FabricKtlLoggerSettingsType

Atributo Valor
conteúdo 3 elementos, 0 atributo
definido globalmente
name FabricKtlLoggerSettingsType

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

  

Detalhes do elemento de conteúdo

SharedLogFilePath

Define o caminho para o log compartilhado.

Atributo Valor
name SharedLogFilePath
minOccurs 0

SharedLogFileId

GUID específico a ser usado como a ID do log compartilhado.

Atributo Valor
name SharedLogFileId
minOccurs 0

SharedLogFileSizeInMB

Define o tamanho do log compartilhado.

Atributo Valor
name SharedLogFileSizeInMB
minOccurs 0

complexType FabricNodeType

Descreve um nó do Microsoft Azure Service Fabric.

Atributo Valor
conteúdo 0 elementos, 6 atributos
definido globalmente
name FabricNodeType

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

Detalhes do atributo

NodeName

O nome da instância do nó.

Atributo Valor
name NodeName
tipo xs:string
uso exigido

IPAddressOrFQDN

O endereço IP ou o FQDN do computador no qual esse nó será colocado.

Atributo Valor
name IPAddressOrFQDN
tipo xs:string
uso exigido

IsSeedNode

Um sinalizador que indica se esse nó é ou não um nó de semente.

Atributo Valor
name IsSeedNode
tipo xs:boolean
padrão false

NodeTypeRef

Nome do tipo de nó definido na seção NodeTypes.

Atributo Valor
name NodeTypeRef
tipo xs:string
uso exigido

FaultDomain

O domínio de falha desse nó.

Atributo Valor
name FaultDomain
tipo xs:anyURI
uso opcionais

UpgradeDomain

O domínio de atualização desse nó.

Atributo Valor
name UpgradeDomain
tipo xs:anyURI
uso opcionais

complexType FileStoreETWType

Descreve um destino de armazenamento de arquivo para eventos de ETW. Funciona somente no ambiente local.

Atributo Valor
conteúdo 0 elementos, 0 atributos
definido globalmente
name FileStoreETWType

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

complexType FileStoreType

Descreve um destino de armazenamento de arquivo para dados de diagnóstico. Funciona apenas em um ambiente de cluster autônomo.

Atributo Valor
conteúdo 1 elemento, 2 atributos
definido globalmente
name FileStoreType

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

Detalhes do atributo

AccountType

Especifica o tipo de conta.

Atributo Valor
name AccountType
tipo xs:string

PasswordEncrypted

Especifica se a senha é criptografada ou um texto sem formatação.

Atributo Valor
name PasswordEncrypted
type xs:string

Detalhes do elemento de conteúdo

Nenhum

Atributo Valor
ref Parâmetros
minOccurs 0

ImageOverridesType complexType

Os contêineres do Windows Server podem não ser compatíveis entre diferentes versões do sistema operacional. Você pode especificar várias imagens de sistema operacional por contêiner e marcá-las com as versões de build do sistema operacional. Obtenha a versão do sistema operacional executando "winver" em um prompt de comando do Windows. Se o sistema operacional subjacente tiver a versão de build 16299 (versão 1709 do Windows Server), o Service Fabric escolherá a imagem de contêiner marcada com Os="16299". Será assumido que a imagem de contêiner não marcada funcionará em todas as versões do sistema operacional e substituirá a imagem especificada no manifesto do serviço.

Atributo Valor
conteúdo 1 elemento, 0 atributos
definido globalmente
name ImageOverridesType

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

Detalhes do elemento de conteúdo

Imagem

Imagem de contêiner que corresponde ao número da versão do build do sistema operacional a ser inicializado. Se o atributo OS não for especificado, será assumido que a imagem de contêiner funcionará em todas as versões do sistema operacional e substituirá a imagem especificada no manifesto do serviço.

Atributo Valor
name Imagem
tipo ImageType
minOccurs 0
maxOccurs não associado

ImageType complexType

Atributo Valor
conteúdo 0 elemento, 2 atributos
definido globalmente
name ImageType

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

Detalhes do atributo

Nome

Nome da imagem de contêiner.

Atributo Valor
name Nome
type xs:string
uso exigido

SO

Versão de build do sistema operacional. Por exemplo, a versão de build do Windows Server versão 1709 é a 16299.

Atributo Valor
name SO
tipo xs:string
uso opcionais

complexType InfrastructureInformationType

Contém as informações de infraestrutura para o cluster do Microsoft Azure Service Fabric.

Atributo Valor
conteúdo 1 elemento, 0 atributos
definido globalmente
name InfrastructureInformationType

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

Detalhes do elemento de conteúdo

NodeList

Atributo Valor
name NodeList

complexType InfrastructureNodeType

Descreve uma informação de infraestrutura necessária.

Atributo Valor
conteúdo 2 elementos, 7 atributos
definido globalmente
name InfrastructureNodeType

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

Detalhes do atributo

NodeName

O nome da instância do nó.

Atributo Valor
name NodeName
tipo xs:string
uso exigido

IPAddressOrFQDN

O endereço IP ou o FQDN do computador no qual esse nó será colocado.

Atributo Valor
name IPAddressOrFQDN
tipo xs:string
uso exigido

RoleOrTierName

Nome da função vinculada à referência do tipo de nó definida na seção NodeTypes.

Atributo Valor
name RoleOrTierName
tipo xs:string
uso exigido

NodeTypeRef

Nome do tipo de nó definido na seção NodeTypes.

Atributo Valor
name NodeTypeRef
tipo xs:string
uso exigido

IsSeedNode

Indica se o nó é um nó de semente.

Atributo Valor
name IsSeedNode
tipo xs:boolean
uso opcionais
padrão false

FaultDomain

O domínio de falha desse nó.

Atributo Valor
name FaultDomain
tipo xs:anyURI
uso opcionais

UpgradeDomain

O domínio de atualização desse nó.

Atributo Valor
name UpgradeDomain
tipo xs:anyURI
uso opcionais

Detalhes do elemento de conteúdo

Pontos de extremidade

Descrevem os pontos de extremidade associados a esse tipo de nó

Atributo Valor
name Pontos de extremidade
type FabricEndpointsType
minOccurs 0

Certificados

Descrevem os certificados associados a esse tipo de nó

Atributo Valor
name Certificados
type CertificatesType
minOccurs 0

complexType InputEndpointType

Atributo Valor
conteúdo 0 elemento, 2 atributos
definido globalmente
name InputEndpointType

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

Detalhes do atributo

Porta

Atributo Valor
name Porta
tipo xs:positiveInteger
uso exigido

Protocolo

Atributo Valor
name Protocolo
uso opcionais
padrão TCP

complexType InternalEndpointType

Atributo Valor
conteúdo 0 elemento, 2 atributos
definido globalmente
name InternalEndpointType

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

Detalhes do atributo

Porta

Atributo Valor
name Porta
tipo xs:positiveInteger
uso exigido

Protocolo

Atributo Valor
name Protocolo
uso opcionais
padrão TCP

complexType KeyValuePairType

Atributo Valor
conteúdo 0 elementos, 0 atributos
definido globalmente
name KeyValuePairType

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

complexType LinuxInfrastructureType

Atributo Valor
conteúdo 1 elemento, 0 atributos
definido globalmente
name LinuxInfrastructureType

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

Detalhes do elemento de conteúdo

NodeList

Atributo Valor
name NodeList

complexType LoadMetricType

Um recurso em que esse serviço deve ser balanceado, como memória ou uso da CPU. Inclui informações sobre a quantidade de recurso que cada réplica ou instância do serviço consome por padrão.

Atributo Valor
conteúdo 0 elemento, 5 atributos
definido globalmente
name LoadMetricType

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

Detalhes do atributo

Nome

Um identificador exclusivo da métrica no cluster da perspectiva do Gerenciador de Recursos de Cluster.

Atributo Valor
name Nome
uso exigido

DefaultLoad

O valor padrão de carga criado por esse serviço sem estado para essa métrica.

Atributo Valor
name DefaultLoad
tipo xs:long
uso opcionais
padrão 0

PrimaryDefaultLoad

O valor padrão de carga que será exercido por esse serviço para essa métrica quando ela for uma réplica primária.

Atributo Valor
name PrimaryDefaultLoad
tipo xs:long
uso opcionais
padrão 0

SecondaryDefaultLoad

O valor padrão de carga que será exercido por esse serviço para essa métrica quando ela for uma réplica secundária.

Atributo Valor
name SecondaryDefaultLoad
tipo xs:long
uso opcionais
padrão 0

Peso

Determina o peso da métrica em relação às outras métricas configuradas para esse serviço. Durante o runtime, se duas métricas entram em conflito, o Gerenciador de Recursos de Cluster prefere a métrica com o maior peso. Zero desabilita o balanceamento de carga para essa métrica.

Atributo Valor
name Peso

complexType LocalStoreETWType

Descreve um destino de repositório dentro do nó para eventos de ETW.

Atributo Valor
conteúdo 0 elementos, 0 atributos
definido globalmente
name LocalStoreETWType

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

complexType LocalStoreType

Descreve um destino de repositório dentro do nó para os dados de diagnóstico.

Atributo Valor
conteúdo 1 elemento, 0 atributos
definido globalmente
name LocalStoreType

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

Detalhes do elemento de conteúdo

Nenhum

Atributo Valor
ref Parâmetros
minOccurs 0

complexType LogicalDirectoryType

Descreve um LogicalDirectoryType.

Atributo Valor
conteúdo 0 elemento, 3 atributos
definido globalmente
name LogicalDirectoryType

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

Detalhes do atributo

LogicalDirectoryName

O nome do LogicalDirectory.

Atributo Valor
name LogicalDirectoryName
tipo xs:string
uso exigido

MappedTo

O caminho do LogicalDirectory.

Atributo Valor
name MappedTo
tipo xs:string
uso exigido

Contexto

Atributo Valor
name Contexto
uso opcionais
padrão aplicativo

complexType ManagedAssemblyType

Sem suporte. Não use. O nome do assembly gerenciado (por exemplo, Queue.dll) a ser hospedado.

Atributo Valor
conteúdo 0 elementos, 0 atributos
definido globalmente
name ManagedAssemblyType

Origem 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

Descreve as políticas de rede, incluindo as políticas de rede de contêiner do pacote de serviço.

Atributo Valor
conteúdo 1 elemento, 0 atributos
definido globalmente
name NetworkPoliciesType

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

Detalhes do elemento de conteúdo

ContainerNetworkPolicy

Descreve as políticas de rede de contêiner para o pacote de serviço.

Atributo Valor
name ContainerNetworkPolicy
tipo ContainerNetworkPolicyType
minOccurs 0
maxOccurs não associado

complexType PaaSRoleType

Atributo Valor
conteúdo 0 elemento, 3 atributos
definido globalmente
name PaaSRoleType

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

Detalhes do atributo

RoleName

Atributo Valor
name RoleName
tipo xs:string
uso exigido

NodeTypeRef

Atributo Valor
name NodeTypeRef
tipo xs:string
uso exigido

RoleNodeCount

Atributo Valor
name RoleNodeCount
tipo xs:int
uso exigido

complexType PaaSVoteType

Atributo Valor
conteúdo 0 elemento, 3 atributos
definido globalmente
name PaaSVoteType

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

Detalhes do atributo

NodeName

Atributo Valor
name NodeName
uso exigido

IPAddressOrFQDN

Atributo Valor
name IPAddressOrFQDN
uso exigido

Porta

Atributo Valor
name Porta
tipo xs:int
uso exigido

complexType PackageSharingPolicyType

Indica se um pacote de códigos, configurações ou dados deve ser compartilhado entre instâncias de serviço do mesmo tipo de serviço.

Atributo Valor
conteúdo 0 elemento, 2 atributos
definido globalmente
name PackageSharingPolicyType

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

Detalhes do atributo

PackageRef

O nome do pacote de códigos, configuração ou dados a ser compartilhado. Precisa corresponder ao nome do pacote definido no manifesto do serviço.

Atributo Valor
name PackageRef

Escopo

Atributo Valor
name Escopo
padrão Nenhum

complexType ParameterType

Atributo Valor
conteúdo 0 elemento, 1 atributo
definido globalmente
name ParameterType

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

Detalhes do atributo

IsEncrypted

Se for verdadeiro, o valor desse parâmetro será criptografado

Atributo Valor
name IsEncrypted
type xs:string

complexType ParametersType

Atributo Valor
conteúdo 1 elemento, 0 atributos
definido globalmente
name ParametersType

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

Detalhes do elemento de conteúdo

Parâmetro

Atributo Valor
name Parâmetro
tipo ParameterType
minOccurs 1
maxOccurs não associado

complexType PortBindingType

Atributo Valor
conteúdo 0 elemento, 2 atributos
definido globalmente
name PortBindingType

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

Detalhes do atributo

ContainerPort

Número da porta do contêiner.

Atributo Valor
name ContainerPort
tipo xs:int
uso exigido

EndpointRef

Atributo Valor
name EndpointRef

complexType RepositoryCredentialsType

Atributo Valor
conteúdo 0 elemento, 3 atributos
definido globalmente
name RepositoryCredentialsType

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

Detalhes do atributo

PasswordEncrypted

Especifica se a senha é criptografada ou um texto sem formatação. Este atributo está preterido. Use o atributo 'Type' para indicar a senha criptografada.

Atributo Valor
name PasswordEncrypted
type xs:boolean
uso opcionais

Email

Atributo Valor
name Email

Tipo

Esse valor define o tipo de senha que você especificou no atributo "Password". Ele pode ser SecretsStoreRef/Encrypted/PlainText. Se definido como SecretsStoreRef, o valor de referência do SecretStore será recuperado. Se definido como Encrypted, o desenvolvedor do aplicativo será responsável por criar um certificado e usar o cmdlet Invoke-ServiceFabricEncryptSecret para criptografar informações confidenciais.

Atributo Valor
name Type
type xs:string
uso opcionais

complexType ResourceGovernancePolicyType

Restringe os recursos que podem ser usados no host e declara os limites de recurso para um pacote de código de serviço.

Atributo Valor
conteúdo 0 elementos, 12 atributos
definido globalmente
name ResourceGovernancePolicyType

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

Detalhes do atributo

CodePackageRef

Atributo Valor
name CodePackageRef
uso exigido

MemoryInMB

Limites de memória em MB. Deve ser um número inteiro positivo. Os pacotes de códigos (contêineres ou processos) não podem alocar mais memória do que esse limite. A tentativa de fazer isso resultará em uma exceção de memória insuficiente.

Atributo Valor
name MemoryInMB
tipo xs:string
uso opcionais
padrão 0

MemorySwapInMB

A quantidade total de memória de troca que pode ser usada, em MB. Deve ser um número inteiro positivo.

Atributo Valor
name MemorySwapInMB
tipo xs:string
uso opcionais
padrão 0

MemoryReservationInMB

O limite flexível (em MB) para governança de memória que é imposto apenas quando a contenção de memória é detectada no nó. Deve ser um número inteiro positivo.

Atributo Valor
name MemoryReservationInMB
tipo xs:string
uso opcionais
padrão 0

CpuShares

Peso relativo da CPU. Deve ser um número inteiro positivo.

Atributo Valor
name CpuShares
tipo xs:string
uso opcionais
padrão 0

CpuPercent

Percentual utilizável de CPUs disponíveis (somente Windows). Deve ser um número inteiro positivo. Se os limites de CPU forem especificados para o pacote de serviço, esse parâmetro será efetivamente ignorado.

Atributo Valor
name CpuPercent
tipo xs:string
uso opcionais
padrão 0

MaximumIOps

Taxa de E/S máxima (leitura e gravação) em termos da IOPS que pode ser usada. Deve ser um número inteiro positivo.

Atributo Valor
name MaximumIOps
tipo xs:string
uso opcionais
padrão 0

MaximumIOBandwidth

A E/S máxima (bytes por segundo) que pode ser usada (leitura e gravação). Deve ser um número inteiro positivo.

Atributo Valor
name MaximumIOBandwidth
tipo xs:string
uso opcionais
padrão 0

BlockIOWeight

Peso de E/S do bloco, em relação a outros pacotes de código. Precisa ser um inteiro positivo entre 10 e 1.000.

Atributo Valor
name BlockIOWeight
tipo xs:string
uso opcionais
padrão 0

DiskQuotaInMB

Cota de disco para contêineres. Deve ser um número inteiro positivo.

Atributo Valor
name DiskQuotaInMB
tipo xs:string
uso opcionais
padrão 0

KernelMemoryInMB

Limites de memória do kernel em bytes. Deve ser um número inteiro positivo. Observe que isso é específico do Linux, o docker no Windows apresentará um erro se isso estiver definido.

Atributo Valor
name KernelMemoryInMB
tipo xs:string
uso opcionais
padrão 0

ShmSizeInMB

Tamanho de /dev/shm em bytes. Se omitido, o sistema usará 64MB. Deve ser um número inteiro positivo. Observe que isso é específico do Linux, no entanto, NÃO ocorrerá erro no docker se estiver especificado. É simplesmente ignorado.

Atributo Valor
name ShmSizeInMB
tipo xs:string
uso opcionais
padrão 0

complexType ResourceOverridesType

Especifica substituições de recurso para pontos de extremidade declarados em recursos do manifesto do serviço.

Atributo Valor
conteúdo 1 elemento, 0 atributos
definido globalmente
name ResourceOverridesType

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

Detalhes do elemento de conteúdo

Pontos de extremidade

Os pontos de extremidade de serviço a serem substituídos.

Atributo Valor
name Pontos de extremidade
minOccurs 0

complexType ResourcesType

Descreve os recursos usados por esse serviço, que podem ser declarados sem modificar o código compilado e alterados quando o serviço é implantado. O acesso a esses recursos é controlado pelas seções Entidades de segurança e Políticas do manifesto do aplicativo.

Atributo Valor
conteúdo 1 elemento, 0 atributos
definido globalmente
name ResourcesType

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

Detalhes do elemento de conteúdo

Pontos de extremidade

Define pontos de extremidade para o serviço.

Atributo Valor
name Pontos de extremidade
minOccurs 0

complexType RunAsPolicyType

Especifica o usuário local ou a conta do sistema local usado por um pacote de código de serviço para execução. Há suporte para contas de domínio em implantações do Windows Server em que o Microsoft Entra ID está disponível. Por padrão, os aplicativos são executados na conta sob a qual o processo Fabric.exe está sendo executado. Os aplicativos também podem ser executados como outras contas, que devem ser declaradas na seção Entidades de segurança. Se você aplicar uma política RunAs a um serviço e o manifesto do serviço declarar recursos de ponto de extremidade com o protocolo HTTP, será necessário também especificar uma SecurityAccessPolicy para assegurar que as portas alocadas a esses pontos de extremidade sejam corretamente listadas no controle de acesso para a conta de usuário RunAs na qual o serviço é executado. Para um ponto de extremidade HTTPS, você também precisa definir um EndpointBindingPolicy para indicar o nome do certificado para retornar ao cliente.

Atributo Valor
conteúdo 0 elemento, 3 atributos
definido globalmente
name RunAsPolicyType

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

Detalhes do atributo

CodePackageRef

O nome do pacote de códigos. Precisa corresponder ao nome do CodePackage especificado no manifesto do serviço.

Atributo Valor
name CodePackageRef
uso exigido

UserRef

A conta de usuário como a qual o pacote de códigos do serviço será executado. A conta de usuário precisa ser declarada na seção Entidades de Segurança. Em geral, é preferível executar o ponto de entrada de configuração usando uma conta do sistema local, em vez de uma conta de administradores.

Atributo Valor
name UserRef
uso exigido

EntryPointType

Setup é o SetupEntryPoint declarado no manifesto do serviço, o ponto de entrada com privilégios que é executado antes de qualquer outro ponto de entrada. Main é o EntryPoint declarado no manifesto do serviço, normalmente, o host de serviço de execução longa. All são todos os pontos de entrada.

Atributo Valor
name EntryPointType
uso opcionais
padrão Principal

ScalingPolicyType complexType

Uma descrição da política de dimensionamento que consiste em um gatilho e um mecanismo de dimensionamento.

Atributo Valor
conteúdo 0 elementos, 0 atributos
definido globalmente
name ScalingPolicyType

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

complexType SecurityAccessPolicyType

Concede permissões de acesso a uma entidade em um recurso (como um ponto de extremidade) definido em um manifesto do serviço. Normalmente, é muito útil controlar e restringir o acesso dos serviços para recursos diferentes a fim de minimizar riscos de segurança. Isso é especialmente importante quando o aplicativo é criado a partir de uma coleção de serviços de um marketplace que são criados por desenvolvedores diferentes.

Atributo Valor
conteúdo 0 elemento, 4 atributos
definido globalmente
name SecurityAccessPolicyType

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

Detalhes do atributo

ResourceRef

O recurso que está recebendo o acesso, declarado e configurado no manifesto do serviço.

Atributo Valor
name ResourceRef
uso exigido

PrincipalRef

O usuário ou grupo que está recebendo direitos de acesso a um recurso; precisa ser declarado na seção Entidades de Segurança.

Atributo Valor
name PrincipalRef
uso exigido

GrantRights

Os direitos a serem concedidos: leitura, alteração ou todos. O padrão é Leitura.

Atributo Valor
name GrantRights
padrão Ler

ResourceType

O tipo de recurso, definido na seção Recursos do manifesto do serviço. Ponto de extremidade ou Certificado.

Atributo Valor
name ResourceType
uso opcionais
padrão Ponto de extremidade

complexType SecurityOptionsType

Atributo Valor
conteúdo 0 elemento, 1 atributo
definido globalmente
name SecurityOptionsType

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

Detalhes do atributo

Valor

Atributo Valor
name Valor
uso exigido

complexType SecurityPrincipalsType

Descreve as entidades de segurança (usuários, grupos) necessárias para o aplicativo executar serviços e recursos de segurança. As entidades de segurança são referenciadas nas seções de políticas.

Atributo Valor
conteúdo 2 elementos, 0 atributo
definido globalmente
name SecurityPrincipalsType

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

Detalhes do elemento de conteúdo

Grupos

Declara um conjunto de grupos como entidades de segurança que podem ser referenciadas em políticas. Grupos serão úteis se houver vários usuários para pontos de entrada de serviço diferentes e eles precisarem de privilégios comuns disponíveis no nível do grupo.

Atributo Valor
name Grupos
minOccurs 0

Usuários

Declara um conjunto de usuários como entidades de segurança que podem ser referenciadas em políticas.

Atributo Valor
name Usuários
minOccurs 0

complexType ServiceAndServiceGroupTypesType

Atributo Valor
conteúdo 4 elementos, 0 atributos
definido globalmente
name ServiceAndServiceGroupTypesType

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

Detalhes do elemento de conteúdo

StatefulServiceType

Atributo Valor
name StatefulServiceType
tipo StatefulServiceTypeType

StatelessServiceType

Atributo Valor
name StatelessServiceType
tipo StatelessServiceTypeType

StatefulServiceGroupType

Atributo Valor
name StatefulServiceGroupType
tipo StatefulServiceGroupTypeType

StatelessServiceGroupType

Atributo Valor
name StatelessServiceGroupType
tipo StatelessServiceGroupTypeType

complexType ServiceDiagnosticsType

Descreve as configurações de diagnóstico para os componentes do manifesto do serviço.

Atributo Valor
conteúdo 1 elemento, 0 atributos
definido globalmente
name ServiceDiagnosticsType

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

Detalhes do elemento de conteúdo

ETW

Descreve as configurações de ETW para os componentes do manifesto do serviço.

Atributo Valor
name ETW
minOccurs 0

ServiceFabricRuntimeAccessPolicyType complexType

Atributo Valor
conteúdo 0 elemento, 2 atributos
definido globalmente
name ServiceFabricRuntimeAccessPolicyType

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

Detalhes do atributo

RemoveServiceFabricRuntimeAccess

Indica se as informações específicas do Runtime do Fabric devem ser expostas aos pacotes de Códigos no pacote de Serviço.

Atributo Valor
name RemoveServiceFabricRuntimeAccess
tipo xs:boolean
padrão false

UseServiceFabricReplicatedStore

Indica se o blockstore replicado do Service Fabric deve ser usado para fornecer volume para contêineres no pacote de serviço.

Atributo Valor
name UseServiceFabricReplicatedStore
tipo xs:boolean
padrão false

complexType ServiceGroupMemberType

Atributo Valor
conteúdo 1 elemento, 2 atributos
definido globalmente
name ServiceGroupMemberType

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

Detalhes do atributo

ServiceTypeName

Tipo do membro do grupo de serviços.

Atributo Valor
name ServiceTypeName
uso exigido

Nome

Nome do membro do grupo de serviços em relação ao nome do grupo de serviços.

Atributo Valor
name Nome
uso exigido

Detalhes do elemento de conteúdo

LoadMetrics

Carrega as métricas informadas pelo serviço.

Atributo Valor
name LoadMetrics
minOccurs 0

complexType ServiceGroupTypeType

Tipo base que descreve um ServiceGroupType com ou sem estado.

Atributo Valor
conteúdo 4 elementos, 2 atributos
definido globalmente
name ServiceGroupTypeType

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

Detalhes do atributo

ServiceGroupTypeName

Identificador de tipo definido pelo usuário para um grupo de serviços, por exemplo, "ActorQueueSGType". Esse valor é usado no arquivo ApplicationManifest.xml para identificar o grupo de serviços.

Atributo Valor
name ServiceGroupTypeName
uso exigido

UseImplicitFactory

Especifica se a instância do grupo de serviços é criada pelo alocador implícito. Se o atributo for falso (padrão), um dos pacotes de códigos precisará registrar o alocador do grupo de serviços

Atributo Valor
name UseImplicitFactory
tipo xs:boolean
uso opcionais

Detalhes do elemento de conteúdo

LoadMetrics

Carrega as métricas informadas pelo serviço.

Atributo Valor
name LoadMetrics
minOccurs 0

PlacementConstraints

Restrições para o posicionamento dos serviços que fazem parte do pacote.

Atributo Valor
name PlacementConstraints
tipo xs:string
minOccurs 0

ServiceGroupMembers

Tipos de membro do tipo de grupo do serviço.

Atributo Valor
name ServiceGroupMembers
minOccurs 0
maxOccurs 1

Nenhum

Atributo Valor
ref Extensões
minOccurs 0

complexType ServiceManifestImportPoliciesType

Descreve as políticas (associação de ponto de extremidade, compartilhamento de pacotes, executar como e acesso de segurança) a serem aplicadas no manifesto do serviço importado.

Atributo Valor
conteúdo 11 elementos, 0 atributos
definido globalmente
name ServiceManifestImportPoliciesType

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

Detalhes do elemento de conteúdo

RunAsPolicy

Atributo Valor
name RunAsPolicy
type RunAsPolicyType
minOccurs 0

SecurityAccessPolicy

Atributo Valor
name SecurityAccessPolicy
type SecurityAccessPolicyType
minOccurs 0

PackageSharingPolicy

Atributo Valor
name PackageSharingPolicy
tipo PackageSharingPolicyType
minOccurs 0

EndpointBindingPolicy

Especifica um certificado que deve ser retornado para um cliente para um ponto de extremidade HTTPS.

Atributo Valor
name EndpointBindingPolicy
type EndpointBindingPolicyType
minOccurs 0

ServiceFabricRuntimeAccessPolicy

Especifica as políticas que determinam como o runtime do service fabric é exposto para as réplicas.

Atributo Valor
name ServiceFabricRuntimeAccessPolicy
tipo ServiceFabricRuntimeAccessPolicyType
minOccurs 0
maxOccurs 1

ServicePackageResourceGovernancePolicy

Define a política de controle de recursos que é aplicada no nível de todo o pacote de serviço.

Atributo Valor
name ServicePackageResourceGovernancePolicy
tipo ServicePackageResourceGovernancePolicyType
minOccurs 0
maxOccurs 1

ResourceGovernancePolicy

Especifica limites de recurso para codepackage.

Atributo Valor
name ResourceGovernancePolicy
type ResourceGovernancePolicyType
minOccurs 0

ServicePackageContainerPolicy

Atributo Valor
name ServicePackageContainerPolicy
tipo ServicePackageContainerPolicyType
minOccurs 0
maxOccurs 1

ContainerHostPolicies

Especifica políticas para a ativação de hosts de contêiner.

Atributo Valor
name ContainerHostPolicies
type ContainerHostPoliciesType
minOccurs 0

ConfigPackagePolicies

Pacotes de configuração a serem montados dentro do contêiner.

Atributo Valor
name ConfigPackagePolicies
type ConfigPackagePoliciesType
minOccurs 0

NetworkPolicies

Especifica as políticas de rede, incluindo políticas de rede do contêiner.

Atributo Valor
name NetworkPolicies
tipo NetworkPoliciesType
minOccurs 0
maxOccurs 1

complexType ServiceManifestRefType

Importa o manifesto do serviço por referência. Atualmente, o arquivo de manifesto do serviço (ServiceManifest.xml) deve estar presente no pacote da build.

Atributo Valor
conteúdo 0 elementos, 0 atributos
definido globalmente
name ServiceManifestRefType

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

complexType ServiceManifestType

Descreve declarativamente o tipo de serviço e a versão. Ele lista o código que pode ser atualizado independentemente, a configuração e os pacotes de código que compõem um pacote de serviço para dar suporte a um ou mais tipos de serviço. Recursos, configurações de diagnóstico e metadados de serviço, como o tipo de serviço, as propriedades de integridade e as métricas de balanceamento de carga, também são especificados.

Atributo Valor
conteúdo 7 elementos, 1 atributo
definido globalmente
name ServiceManifestType

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

Detalhes do atributo

ManifestId

O identificador desse manifesto do serviço, uma cadeia de caracteres não estruturada.

Atributo Valor
name ManifestId
uso opcionais
padrão
tipo xs:string

Detalhes do elemento de conteúdo

Descrição

Texto que descreve o serviço.

Atributo Valor
name Descrição
type xs:string
minOccurs 0

ServiceTypes

Define os tipos de serviço com suporte por um CodePackage no manifesto. Quando um serviço é instanciado em relação a um desses tipos de serviço, todos os pacotes de código declarados nesse manifesto são ativados com a execução de seus pontos de entrada. Os tipos de serviço são declarados no nível do manifesto e não no nível do pacote de código.

Atributo Valor
name ServiceTypes
type ServiceAndServiceGroupTypesType

CodePackage

Atributo Valor
name CodePackage
type CodePackageType
maxOccurs não associado

ConfigPackage

Atributo Valor
name ConfigPackage
type ConfigPackageType
minOccurs 0
maxOccurs não associado

DataPackage

Atributo Valor
name DataPackage
type DataPackageType
minOccurs 0
maxOccurs não associado

Recursos

Atributo Valor
name Recursos
tipo ResourcesType
minOccurs 0

Diagnósticos

Atributo Valor
name Diagnósticos
tipo ServiceDiagnosticsType
minOccurs 0

ServicePackageContainerPolicyType complexType

Atributo Valor
conteúdo 1 elemento, 2 atributos
definido globalmente
name ServicePackageContainerPolicyType

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

Detalhes do atributo

Nome do host

Especifique o Nome do Host para o contêiner.

Atributo Valor
name Nome do host
uso opcionais
tipo xs:string

Isolamento

Modo de isolamento do contêiner. Os valores válidos são "default", "process" ou "hyperv".

Atributo Valor
name Isolamento
uso opcionais
tipo xs:string

Detalhes do elemento de conteúdo

PortBinding

Especifica qual recurso do ponto de extremidade associar à porta do contêiner exposto.

Atributo Valor
name PortBinding
tipo PortBindingType
minOccurs 0
maxOccurs não associado

complexType ServicePackageResourceGovernancePolicyType

Atributo Valor
conteúdo 0 elemento, 2 atributos
definido globalmente
name ServicePackageResourceGovernancePolicyType

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

Detalhes do atributo

CpuCores

Limite de CPU em número de núcleos lógicos. Deve ser um número inteiro positivo.

Atributo Valor
name CpuCores
tipo xs:string
uso opcionais
padrão 0

MemoryInMB

Limites de memória em MB. Deve ser um número inteiro positivo.

Atributo Valor
name MemoryInMB
tipo xs:string
uso opcionais
padrão 0

complexType ServicePackageType

ServicePackage representa uma unidade de implantação e ativação com controle de versão. A versão do ServicePackage é determinada com base na versão do manifesto e na versão das substituições.

Atributo Valor
conteúdo 11 elementos, 4 atributos
definido globalmente
name ServicePackageType

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

Detalhes do atributo

Nome

Atributo Valor
name Nome
type xs:string
uso exigido

ManifestVersion

Atributo Valor
name ManifestVersion
tipo xs:string
uso exigido

ManifestChecksum

Valor de soma de verificação do arquivo ServiceManifest.

Atributo Valor
name ManifestChecksum
tipo xs:string

ContentChecksum

Valor de soma de verificação do conteúdo de ServicePackage.

Atributo Valor
name ContentChecksum
type xs:string

Detalhes do elemento de conteúdo

Descrição

Atributo Valor
name Descrição
type xs:string
minOccurs 0

ServicePackageResourceGovernancePolicy

Atributo Valor
name ServicePackageResourceGovernancePolicy
tipo ServicePackageResourceGovernancePolicyType
minOccurs 0
maxOccurs 1

ServicePackageContainerPolicy

Atributo Valor
name ServicePackageContainerPolicy
tipo ServicePackageContainerPolicyType
minOccurs 0
maxOccurs 1

ServiceFabricRuntimeAccessPolicy

Atributo Valor
name ServiceFabricRuntimeAccessPolicy
tipo ServiceFabricRuntimeAccessPolicyType
minOccurs 0
maxOccurs 1

DigestedServiceTypes

Atributo Valor
name DigestedServiceTypes

DigestedCodePackage

Atributo Valor
name DigestedCodePackage
maxOccurs não associado

DigestedConfigPackage

Atributo Valor
name DigestedConfigPackage
minOccurs 0
maxOccurs não associado

DigestedDataPackage

Atributo Valor
name DigestedDataPackage
minOccurs 0
maxOccurs não associado

DigestedResources

Atributo Valor
name DigestedResources
minOccurs 1

NetworkPolicies

Atributo Valor
name NetworkPolicies
tipo NetworkPoliciesType
minOccurs 0
maxOccurs 1

Diagnósticos

Atributo Valor
name Diagnósticos
tipo ServiceDiagnosticsType

complexType ServiceTemplatesType

Atributo Valor
conteúdo 4 elementos, 0 atributos
definido globalmente
name ServiceTemplatesType

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

Detalhes do elemento de conteúdo

StatelessService

Atributo Valor
name StatelessService
type StatelessServiceType

StatefulService

Atributo Valor
name StatefulService
type StatefulServiceType

StatelessServiceGroup

Atributo Valor
name StatelessServiceGroup
type StatelessServiceGroupType

StatefulServiceGroup

Atributo Valor
name StatefulServiceGroup
type StatefulServiceGroupType

complexType ServiceType

Tipo base que define um serviço do Microsoft Azure Service Fabric.

Atributo Valor
conteúdo 5 elementos, 2 atributos
definido globalmente
name ServiceType

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

Detalhes do atributo

ServiceTypeName

Nome do tipo de serviço, declarado no manifesto do serviço, do qual será criada uma instância.

Atributo Valor
name ServiceTypeName
uso exigido

DefaultMoveCost

Especifica o custo de movimentação padrão para esse serviço.

Atributo Valor
name DefaultMoveCost

Detalhes do elemento de conteúdo

LoadMetrics

Carrega as métricas indicadas pelo serviço usadas nos serviços de balanceamento de recursos.

Atributo Valor
name LoadMetrics
minOccurs 0

PlacementConstraints

Usado para controlar em quais nós no cluster um serviço pode ser executado. Um par chave/valor que descreve o nome da propriedade do nó e os requisitos do serviço para o valor. Instruções individuais podem ser agrupadas com lógica booliana simples para criar a restrição necessária. Por exemplo, "(FirmwareVersion>12 && InDMZ == True)".

Atributo Valor
name PlacementConstraints
tipo xs:string
minOccurs 0

ServiceCorrelations

Define as relações de afinidade entre serviços.

Atributo Valor
name ServiceCorrelations
minOccurs 0

ServicePlacementPolicies

Declara políticas de posicionamento de um serviço. Útil quando o cluster abrange distâncias geográficas ou e/ou regiões geopolíticas.

Atributo Valor
name ServicePlacementPolicies
minOccurs 0

ServiceScalingPolicies

Declara as políticas de dimensionamento para um serviço. Útil para dimensionar o serviço dinamicamente de acordo com as necessidades.

Atributo Valor
name ServiceScalingPolicies
minOccurs 0

TagsRequiredToPlace

Declara as marcas necessárias para o posicionamento de um serviço. Útil para influenciar dinamicamente o posicionamento do serviço.

Atributo Valor
name TagsRequiredToPlace
minOccurs 0

TagRequiredToRun

Declara as marcas necessárias para o posicionamento e a execução de um serviço. Útil para influenciar dinamicamente o posicionamento e a execução do serviço.

Atributo Valor
name TagRequiredToRun
minOccurs 0

complexType ServiceTypeExtensionPolicyPropertiesType

Define propriedades para as políticas de persistência e remoção.

Atributo Valor
conteúdo 1 elemento, 0 atributos
definido globalmente
name ServiceTypeExtensionPolicyPropertiesType

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

Detalhes do elemento de conteúdo

Propriedade

Atributo Valor
name Propriedade
minOccurs 0
maxOccurs não associado

complexType ServiceTypeHealthPolicyType

Atributo Valor
conteúdo 0 elemento, 3 atributos
definido globalmente
name ServiceTypeHealthPolicyType

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

Detalhes do atributo

MaxPercentUnhealthyServices

Especifica a porcentagem máxima tolerada de serviços não íntegros antes de um aplicativo ser considerado não íntegro. Percentual padrão: 0.

Atributo Valor
name MaxPercentUnhealthyServices
tipo xs:string
uso opcionais
padrão 0

MaxPercentUnhealthyPartitionsPerService

Especifica a porcentagem máxima tolerada de partições não íntegras antes de um serviço ser considerado não íntegro. Percentual padrão: 0.

Atributo Valor
name MaxPercentUnhealthyPartitionsPerService
tipo xs:string
uso opcionais
padrão 0

MaxPercentUnhealthyReplicasPerPartition

Especifica a porcentagem máxima tolerada de réplicas não íntegras antes de uma partição ser considerada não íntegro. Percentual padrão: 0.

Atributo Valor
name MaxPercentUnhealthyReplicasPerPartition
tipo xs:string
uso opcionais
padrão 0

complexType ServiceTypeType

Tipo base que descreve um ServiceType com ou sem estado.

Atributo Valor
conteúdo 4 elementos, 1 atributo
definido globalmente
name ServiceTypeType

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

Detalhes do atributo

ServiceTypeName

Identificador de tipo definido pelo usuário para um serviço. Por exemplo, "QueueType" ou "CalculatorType". Esse valor é usado no arquivo ApplicationManifest.xml para identificar o serviço.

Atributo Valor
name ServiceTypeName
uso exigido

Detalhes do elemento de conteúdo

LoadMetrics

Carrega as métricas informadas pelo serviço.

Atributo Valor
name LoadMetrics
minOccurs 0

PlacementConstraints

Usado para controlar em quais nós no cluster um serviço pode ser executado. Um par chave/valor que descreve o nome da propriedade do nó e os requisitos do serviço para o valor. Instruções individuais podem ser agrupadas com lógica booliana simples para criar a restrição necessária. Por exemplo, "(FirmwareVersion>12 && InDMZ == True)".

Atributo Valor
name PlacementConstraints
tipo xs:string
minOccurs 0

ServicePlacementPolicies

Declara políticas de posicionamento de um serviço. Útil quando o cluster abrange distâncias geográficas ou e/ou regiões geopolíticas.

Atributo Valor
name ServicePlacementPolicies
minOccurs 0

Nenhum

Atributo Valor
ref Extensões
minOccurs 0

complexType ServiceTypesType

Atributo Valor
conteúdo 2 elementos, 0 atributo
definido globalmente
name ServiceTypesType

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

Detalhes do elemento de conteúdo

StatefulServiceType

Descreve um ServiceType com estado.

Atributo Valor
name StatefulServiceType
tipo StatefulServiceTypeType

StatelessServiceType

Descreve um ServiceType sem estado.

Atributo Valor
name StatelessServiceType
tipo StatelessServiceTypeType

complexType SettingsOverridesType

Declara as definições de configuração em um manifesto do serviço que devem ser substituídas. Ele consiste em uma ou mais seções de pares chave-valor. Os valores de parâmetro podem ser criptografados usando o cmdlet Invoke-ServiceFabricEncryptSecret.

Atributo Valor
conteúdo 1 elemento, 0 atributos
definido globalmente
name SettingsOverridesType

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

Detalhes do elemento de conteúdo

Seção

Seção no arquivo Settings.xml a ser substituída.

Atributo Valor
name Seção
maxOccurs não associado

complexType SettingsType

Descreve as configurações definidas pelo usuário para um ServiceComponent ou Application. Ele consiste em uma ou mais seções de pares chave-valor.

Atributo Valor
conteúdo 1 elemento, 0 atributos
definido globalmente
name SettingsType

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

Detalhes do elemento de conteúdo

Seção

Seção nomeada conforme definido pelo usuário.

Atributo Valor
name Seção
minOccurs 0
maxOccurs não associado

complexType StatefulServiceGroupType

Define um grupo de serviço com estado.

Atributo Valor
conteúdo 0 elementos, 0 atributos
definido globalmente
name StatefulServiceGroupType

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

complexType StatefulServiceGroupTypeType

Descreve um tipo de grupo de serviço com estado.

Atributo Valor
conteúdo 0 elementos, 0 atributos
definido globalmente
name StatefulServiceGroupTypeType

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

complexType StatefulServiceType

Define um serviço com estado.

Atributo Valor
conteúdo 0 elementos, 0 atributos
definido globalmente
name StatefulServiceType

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

complexType StatefulServiceTypeType

Descreve um tipo de serviço com estado.

Atributo Valor
conteúdo 0 elementos, 0 atributos
definido globalmente
name StatefulServiceTypeType

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

complexType StatelessServiceGroupType

Define um grupo de serviço sem estado.

Atributo Valor
conteúdo 0 elementos, 0 atributos
definido globalmente
name StatelessServiceGroupType

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

complexType StatelessServiceGroupTypeType

Descreve um tipo de grupo de serviço sem estado.

Atributo Valor
conteúdo 0 elementos, 0 atributos
definido globalmente
name StatelessServiceGroupTypeType

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

complexType StatelessServiceType

Define um serviço sem estado.

Atributo Valor
conteúdo 0 elementos, 0 atributos
definido globalmente
name StatelessServiceType

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

complexType StatelessServiceTypeType

Descreve um tipo de serviço sem estado.

Atributo Valor
conteúdo 0 elementos, 0 atributos
definido globalmente
name StatelessServiceTypeType

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

complexType TargetInformationType

Atributo Valor
conteúdo 2 elementos, 0 atributo
definido globalmente
name TargetInformationType

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

Detalhes do elemento de conteúdo

CurrentInstallation

Atributo Valor
name CurrentInstallation
tipo WindowsFabricDeploymentInformation
minOccurs 0

TargetInstallation

Atributo Valor
name TargetInstallation
tipo WindowsFabricDeploymentInformation
minOccurs 1

complexType UnmanagedDllType

Sem suporte. Não use. O nome do assembly não gerenciado (por exemplo, Queue.dll) a ser hospedado.

Atributo Valor
conteúdo 0 elementos, 0 atributos
definido globalmente
name UnmanagedDllType

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

complexType WindowsFabricDeploymentInformation

Atributo Valor
conteúdo 0 elemento, 11 atributos
definido globalmente
name WindowsFabricDeploymentInformation

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

Detalhes do atributo

InstanceId

Essa é a instância de destino do nó.

Atributo Valor
name InstanceId
tipo xs:string
uso opcionais

MSILocation

Esse é o caminho completo para o local do MSI.

Atributo Valor
name MSILocation
tipo xs:string
uso opcionais

ClusterManifestLocation

Esse é o caminho completo para o local do manifesto do cluster.

Atributo Valor
name ClusterManifestLocation
tipo xs:string
uso opcionais

InfrastructureManifestLocation

Esse local do manifesto da infraestrutura que é gerado internamente.

Atributo Valor
name InfrastructureManifestLocation
tipo xs:string
uso opcionais

TargetVersion

Essa é a Versão de Destino da implantação.

Atributo Valor
name TargetVersion
tipo xs:string
uso opcionais

NodeName

Esse é o nome do Nó para o qual a Atualização da Malha ocorrerá

Atributo Valor
name NodeName
tipo xs:string
uso opcionais

RemoveNodeState

Um sinalizador que indica se a API RemoveNodeState deve ser chamada após a remoção da configuração do nó.

Atributo Valor
name RemoveNodeState
tipo xs:boolean
uso opcionais
padrão false

UpgradeEntryPointExe

Nome do arquivo .exe usado pelo serviço de instalador a ser atualizado

Atributo Valor
name UpgradeEntryPointExe
tipo xs:string
uso opcionais

UpgradeEntryPointExeParameters

Parâmetros para o arquivo .exe do ponto de entrada de configuração

Atributo Valor
name UpgradeEntryPointExeParameters
tipo xs:string
uso opcionais

UndoUpgradeEntryPointExe

Nome do arquivo .exe usado pelo serviço de instalador para desfazer a atualização

Atributo Valor
name UndoUpgradeEntryPointExe
tipo xs:string
uso opcionais

UndoUpgradeEntryPointExeParameters

Parâmetros para o arquivo .exe do ponto de entrada de configuração

Atributo Valor
name UndoUpgradeEntryPointExeParameters
tipo xs:string
uso opcionais

complexType WindowsInfrastructureType

Atributo Valor
conteúdo 1 elemento, 0 atributos
definido globalmente
name WindowsInfrastructureType

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

Detalhes do elemento de conteúdo

NodeList

Atributo Valor
name NodeList