AddRemoveIncrementalNamedPartitionScalingMechanism, element
Definiuje mechanizm dodawania lub usuwania nazwanych partycji.
Atrybut |
Wartość |
type |
anonimowy typ złożony |
content |
0 elementów, 3 atrybuty |
Definicja |
lokalnie w grupie ScalingPolicyMechanismGroup |
name |
AddRemoveIncrementalNamedPartitionScalingMechanism |
minOccurs |
0 |
maxOccurs |
1 |
Źródło XML
<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="AddRemoveIncrementalNamedPartitionScalingMechanism" minOccurs="0" maxOccurs="1">
<xs:annotation>
<xs:documentation>Defines a mechanism for adding or removing named partitions.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:attribute name="MinPartitionCount" type="xs:string" use="required">
<xs:annotation>
<xs:documentation>The minimum number of partitions.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="MaxPartitionCount" type="xs:string" use="required">
<xs:annotation>
<xs:documentation>The maximum number of partitions.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="ScaleIncrement" type="xs:string" use="required">
<xs:annotation>
<xs:documentation>The number of partitions by which to perform the upshift/downshift.</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
</xs:element>
Szczegóły atrybutu
MinPartitionCount
Minimalna liczba partycji.
Atrybut |
Wartość |
name |
MinPartitionCount |
type |
xs:string |
używać |
wymagane |
MaxPartitionCount
Maksymalna liczba partycji.
Atrybut |
Wartość |
name |
MaxPartitionCount |
type |
xs:string |
używać |
wymagane |
ScaleIncrement
Liczba partycji, według których ma być wykonywana prowizoryka/downshift.
Atrybut |
Wartość |
name |
ScaleIncrement |
type |
xs:string |
używać |
wymagane |
Element aplikacji
Informacje specyficzne dla wystąpienia aplikacji, takie jak nazwa aplikacji i wartości parametrów aplikacji używane do tworzenia aplikacji. Wartości parametrów w tym pliku zastępują domyślne wartości parametrów zdefiniowane w manifeście aplikacji.
Źródło XML
<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="Application" type="AppInstanceDefinitionType">
<xs:annotation>
<xs:documentation>Application Instance specific information like application name and application parameter values used to create application. Parameter values in this file overrides the default parameter values defined in Application Manifest.</xs:documentation>
</xs:annotation>
</xs:element>
ApplicationEndpoints, element
Atrybut |
Wartość |
type |
anonimowy typ złożony |
content |
0 elementów, 2 atrybuty |
Definicja |
lokalnie w elem . FabricEndpointsType complexType |
name |
Punkty końcowe aplikacji |
minOccurs |
0 |
Źródło XML
<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" 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>
Szczegóły atrybutu
Port początkowy
Atrybut |
Wartość |
name |
Port początkowy |
type |
xs:int |
używać |
wymagane |
Port końcowy
Atrybut |
Wartość |
name |
Port końcowy |
type |
xs:int |
używać |
wymagane |
ApplicationInstance, element
Opisuje wystąpienie aplikacji usługi Microsoft Azure Service Fabric.
Atrybut |
Wartość |
type |
ApplicationInstanceType |
content |
0 elementów, 0 atrybutów |
Definicja |
globalnie |
name |
Klasa ApplicationInstance |
Źródło XML
<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="ApplicationInstance" type="ApplicationInstanceType">
<xs:annotation>
<xs:documentation>Describes an instance of a Microsoft Azure Service Fabric application.</xs:documentation>
</xs:annotation>
</xs:element>
ApplicationManifest, element
Deklaratywnie opisuje typ i wersję aplikacji. Do tworzenia typu aplikacji odwołuje się co najmniej jeden manifest usługi składowej. Ustawienia konfiguracji usług składowych można zastąpić przy użyciu sparametryzowanych ustawień aplikacji. Domyślne usługi, szablony usług, jednostki, zasady, konfiguracja diagnostyki i certyfikaty mogą być również deklarowane na poziomie aplikacji.
Atrybut |
Wartość |
type |
ApplicationManifestType |
content |
0 elementów, 0 atrybutów |
Definicja |
globalnie |
name |
ApplicationManifest |
Źródło XML
<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="ApplicationManifest" type="ApplicationManifestType"/>
ApplicationPackage, element
ApplicationPackage reprezentuje informacje o wersji aplikacji wymagane przez węzeł.
Atrybut |
Wartość |
type |
ApplicationPackageType |
content |
0 elementów, 0 atrybutów |
Definicja |
globalnie |
name |
Pakiet aplikacji |
Źródło XML
<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="ApplicationPackage" type="ApplicationPackageType">
<xs:annotation>
<xs:documentation>ApplicationPackage represents the versioned Application information required by the node.</xs:documentation>
</xs:annotation>
</xs:element>
ApplicationPackageRef, element
Źródło XML
<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="ApplicationPackageRef">
<xs:complexType>
<xs:attributeGroup ref="VersionedItemAttrGroup"/>
</xs:complexType>
</xs:element>
Argumenty, element
Źródło XML
<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="Arguments" type="xs:string" minOccurs="0"/>
AveragePartitionLoadScalingTrigger, element
Definiuje mechanizm skalowania na podstawie średniego obciążenia replik partycji.
Atrybut |
Wartość |
type |
anonimowy typ złożony |
content |
0 elementów, 4 atrybuty |
Definicja |
lokalnie w grupie ScalingPolicyTriggerGroup |
name |
AveragePartitionLoadScalingTrigger |
minOccurs |
0 |
maxOccurs |
1 |
Źródło XML
<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="AveragePartitionLoadScalingTrigger" minOccurs="0" maxOccurs="1">
<xs:annotation>
<xs:documentation>Defines a scaling mechanism based on the average load of replicas of a partition.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:attribute name="MetricName" type="xs:string" use="required">
<xs:annotation>
<xs:documentation>The name of metric which should be used for scaling operations.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="LowerLoadThreshold" type="xs:string" use="required">
<xs:annotation>
<xs:documentation>The lower limit of the load value of a metric.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="UpperLoadThreshold" type="xs:string" use="required">
<xs:annotation>
<xs:documentation>The upper limit of the load value of a metric.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="ScaleIntervalInSeconds" type="xs:string" use="required">
<xs:annotation>
<xs:documentation>The time interval in seconds to be considered for scaling.</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
</xs:element>
Szczegóły atrybutu
Nazwa metryki
Nazwa metryki, która powinna być używana do operacji skalowania.
Atrybut |
Wartość |
name |
Nazwa metryki |
type |
xs:string |
używać |
wymagane |
LowerLoadThreshold
Niższy limit wartości obciążenia metryki.
Atrybut |
Wartość |
name |
LowerLoadThreshold |
type |
xs:string |
używać |
wymagane |
UpperLoadThreshold
Górny limit wartości obciążenia metryki.
Atrybut |
Wartość |
name |
UpperLoadThreshold |
type |
xs:string |
używać |
wymagane |
ScaleIntervalInSeconds
Interwał czasu w sekundach, który ma być brany pod uwagę do skalowania.
Atrybut |
Wartość |
name |
ScaleIntervalInSeconds |
type |
xs:string |
używać |
wymagane |
AverageServiceLoadScalingTrigger, element
Definiuje mechanizm skalowania na podstawie średniego obciążenia partycji usługi.
Atrybut |
Wartość |
type |
anonimowy typ złożony |
content |
0 elementów, 5 atrybutów |
Definicja |
lokalnie w grupie ScalingPolicyTriggerGroup |
name |
AverageServiceLoadScalingTrigger |
minOccurs |
0 |
maxOccurs |
1 |
Źródło XML
<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="AverageServiceLoadScalingTrigger" minOccurs="0" maxOccurs="1">
<xs:annotation>
<xs:documentation>Defines a scaling mechanism based on the average load of partitions of a service.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:attribute name="MetricName" type="xs:string" use="required">
<xs:annotation>
<xs:documentation>The name of metric which should be used for scaling operations.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="LowerLoadThreshold" type="xs:string" use="required">
<xs:annotation>
<xs:documentation>The lower limit of the load value of a metric.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="UpperLoadThreshold" type="xs:string" use="required">
<xs:annotation>
<xs:documentation>The upper limit of the load value of a metric.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="ScaleIntervalInSeconds" type="xs:string" use="required">
<xs:annotation>
<xs:documentation>The time interval in seconds to be considered for scaling.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="UseOnlyPrimaryLoad" type="xs:string" use="optional">
<xs:annotation>
<xs:documentation>Use load of primary replica as average load of partition.</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
</xs:element>
Szczegóły atrybutu
Nazwa metryki
Nazwa metryki, która powinna być używana do operacji skalowania.
Atrybut |
Wartość |
name |
Nazwa metryki |
type |
xs:string |
używać |
wymagane |
LowerLoadThreshold
Niższy limit wartości obciążenia metryki.
Atrybut |
Wartość |
name |
LowerLoadThreshold |
type |
xs:string |
używać |
wymagane |
UpperLoadThreshold
Górny limit wartości obciążenia metryki.
Atrybut |
Wartość |
name |
UpperLoadThreshold |
type |
xs:string |
używać |
wymagane |
ScaleIntervalInSeconds
Interwał czasu w sekundach, który ma być brany pod uwagę do skalowania.
Atrybut |
Wartość |
name |
ScaleIntervalInSeconds |
type |
xs:string |
używać |
wymagane |
UseOnlyPrimaryLoad
Użyj obciążenia repliki podstawowej jako średniego obciążenia partycji.
Atrybut |
Wartość |
name |
UseOnlyPrimaryLoad |
type |
xs:string |
używać |
optional |
AzureBlob, element (wpisz AzureBlobETWType)
Opisuje miejsce docelowe magazynu obiektów blob platformy Azure dla zdarzeń ETW. Działa tylko w środowisku platformy Azure.
Atrybut |
Wartość |
type |
AzureBlobETWType |
content |
0 elementów, 0 atrybutów |
Definicja |
lokalnie w elemecie Destinations |
name |
AzureBlob |
minOccurs |
0 |
maxOccurs |
bezgraniczny |
Źródło XML
<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="AzureBlob" type="AzureBlobETWType" minOccurs="0" maxOccurs="unbounded"/>
AzureBlob, element (wpisz AzureBlobType)
Opisuje miejsce docelowe magazynu obiektów blob platformy Azure na potrzeby danych diagnostycznych. Działa tylko w środowisku klastra platformy Azure.
Atrybut |
Wartość |
type |
AzureBlobType |
content |
0 elementów, 0 atrybutów |
Definicja |
lokalnie w elemecie Destinations, Destinations, element |
name |
AzureBlob |
minOccurs |
0 |
maxOccurs |
bezgraniczny |
Źródło XML
<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="AzureBlob" type="AzureBlobType" minOccurs="0" maxOccurs="unbounded"/>
BackupRestoreServiceReplicatorEndpoint, element
Źródło XML
<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="BackupRestoreServiceReplicatorEndpoint" type="InternalEndpointType" minOccurs="0"/>
Element Blackbird
Atrybut |
Wartość |
type |
anonimowy typ złożony |
content |
1 elementy, 0 atrybutów |
Definicja |
lokalnie w elemecie Infrastruktura |
name |
Kos |
Źródło XML
<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" 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>
Szczegóły elementu zawartości
Role
Atrybut |
Wartość |
name |
Role |
Element Pojemności
Pojemności różnych metryk dla tego typu węzła
Atrybut |
Wartość |
type |
anonimowy typ złożony |
content |
1 elementy, 0 atrybutów |
Definicja |
lokalnie w elemecie NodeType |
name |
Pojemności |
minOccurs |
0 |
Źródło XML
<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" 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>
Szczegóły elementu zawartości
Wydajność
Atrybut |
Wartość |
name |
Wydajność |
type |
KeyValuePairType |
minOccurs |
0 |
maxOccurs |
bezgraniczny |
Element pojemności
Atrybut |
Wartość |
type |
KeyValuePairType |
content |
0 elementów, 0 atrybutów |
Definicja |
lokalnie w elem. Pojemności |
name |
Wydajność |
minOccurs |
0 |
maxOccurs |
bezgraniczny |
Źródło XML
<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="Capacity" type="KeyValuePairType" minOccurs="0" maxOccurs="unbounded"/>
CentralSecretServiceReplicatorEndpoint, element
Źródło XML
<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="CentralSecretServiceReplicatorEndpoint" type="InternalEndpointType" minOccurs="0"/>
CertificateRef, element
Określa informacje dotyczące certyfikatu, który będzie udostępniany kontenerowi.
Źródło XML
<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="CertificateRef" type="ContainerCertificateType" minOccurs="0" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>Specifies information for a certificate which will be exposed to the container.</xs:documentation>
</xs:annotation>
</xs:element>
Certificates, element (typ CertificatesType)
Opis certyfikatów skojarzonych z tym typem węzła
Źródło XML
<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="Certificates" type="CertificatesType" minOccurs="0">
<xs:annotation>
<xs:documentation>Describe the certificates associated with this node type</xs:documentation>
</xs:annotation>
</xs:element>
Certificates, element (zdefiniowany w elemecie ApplicationManifestType)
Deklaruje certyfikaty używane do zabezpieczania punktów końcowych lub szyfrowania wpisów tajnych w manifeście aplikacji lub manifeście klastra.
Źródło XML
<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="Certificates" minOccurs="0">
<xs:annotation>
<xs:documentation>Declares certificates used to secure endpoints or encrypt secrets within the application manifest or a cluster manifest.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence maxOccurs="unbounded">
<xs:element name="SecretsCertificate" type="FabricCertificateType" minOccurs="0">
<xs:annotation>
<xs:documentation>Declares a certificate used to encrypt sensitive information within the application manifest. The application author uses the Invoke-ServiceFabricEncryptSecret cmdlet to encrypt the sensitive information, which is copied to a Parameter in the ConfigOverrides section.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="EndpointCertificate" type="EndpointCertificateType" minOccurs="0"/>
</xs:sequence>
</xs:complexType>
</xs:element>
Szczegóły elementu zawartości
Wpisy tajneCertyfikat
Deklaruje certyfikat używany do szyfrowania poufnych informacji w manifeście aplikacji. Autor aplikacji używa polecenia cmdlet Invoke-ServiceFabricEncryptSecret do szyfrowania poufnych informacji, które są kopiowane do parametru w sekcji ConfigOverrides.
EndpointCertificate
Certificates, element (zdefiniowany w clusterManifestType)
Źródło XML
<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="Certificates" minOccurs="0">
<xs:complexType>
<xs:sequence>
<xs:element name="SecretsCertificate" type="FabricCertificateType" minOccurs="0"/>
</xs:sequence>
</xs:complexType>
</xs:element>
Szczegóły elementu zawartości
Wpisy tajneCertyfikat
ClientCertificate, element
Domyślny certyfikat klienta roli administratora używany do zabezpieczania komunikacji z serwerem klienckim.
Źródło XML
<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" 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>
ClientConnectionEndpoint, element
Źródło XML
<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="ClientConnectionEndpoint" type="InputEndpointType"/>
ClusterCertificate, element
Certyfikat używany do zabezpieczania komunikacji wewnątrz klastra.
Źródło XML
<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="ClusterCertificate" type="FabricCertificateType" minOccurs="0">
<xs:annotation>
<xs:documentation>The certificate used to secure the intra cluster communication.</xs:documentation>
</xs:annotation>
</xs:element>
ClusterConnectionEndpoint, element
Źródło XML
<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="ClusterConnectionEndpoint" type="InternalEndpointType"/>
ClusterManagerReplicatorEndpoint, element
Źródło XML
<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="ClusterManagerReplicatorEndpoint" type="InternalEndpointType" minOccurs="0"/>
ClusterManifest, element
Opisuje klaster usługi Microsoft Azure Service Fabric.
Atrybut |
Wartość |
type |
ClusterManifestType |
content |
0 elementów, 0 atrybutów |
Definicja |
globalnie |
name |
ClusterManifest |
Źródło XML
<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="ClusterManifest" type="ClusterManifestType">
<xs:annotation>
<xs:documentation>Describes a Microsoft Azure Service Fabric Cluster.</xs:documentation>
</xs:annotation>
</xs:element>
CodePackage, element
Opisuje pakiet kodu obsługujący zdefiniowany typ usługi. Po utworzeniu wystąpienia usługi względem jednego z tych typów usług wszystkie pakiety kodu zadeklarowane w tym manifeście są aktywowane przez uruchomienie punktów wejścia. Oczekuje się, że wynikowe procesy będą rejestrować obsługiwane typy usług w czasie wykonywania. Gdy istnieje wiele pakietów kodu, wszystkie są aktywowane za każdym razem, gdy system szuka dowolnego z zadeklarowanych typów usług.
Źródło XML
<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="CodePackage" type="CodePackageType" maxOccurs="unbounded"/>
Commands, element
Przekaż rozdzielaną przecinkami listę poleceń do kontenera.
Źródło XML
<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="Commands" type="xs:string" minOccurs="0" maxOccurs="1">
<xs:annotation>
<xs:documentation>Pass a comma delimited list of commands to the container.</xs:documentation>
</xs:annotation>
</xs:element>
ConfigOverride, element
Opisuje przesłonięcia konfiguracji dla określonego pakietu konfiguracji w zaimportowanym manifeście usługi.
Atrybut |
Wartość |
type |
ConfigOverrideType |
content |
0 elementów, 0 atrybutów |
Definicja |
lokalnie w elem. ConfigOverrides, DigestedConfigPackage, element |
name |
ConfigOverride |
minOccurs |
0 |
maxOccurs |
bezgraniczny |
Źródło XML
<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="ConfigOverride" type="ConfigOverrideType" minOccurs="0" maxOccurs="unbounded"/>
ConfigOverrides, element
Opisuje przesłonięcia konfiguracji dla importowanego manifestu usługi. Przesłonięcia konfiguracji umożliwiają elastyczność ponownego używania tych samych manifestów usługi w wielu typach aplikacji przez zastąpienie konfiguracji manifestu usługi tylko w przypadku użycia z określonym typem aplikacji. Przesłonięcia konfiguracji mogą zmieniać dowolną konfigurację domyślną w manifeście usługi, o ile konfiguracja domyślna jest zdefiniowana przy użyciu Settings.xml w folderze ConfigPackage.
Atrybut |
Wartość |
type |
anonimowy typ złożony |
content |
1 elementy, 0 atrybutów |
Definicja |
lokalnie w elemecie ServiceManifestImport |
name |
ConfigOverrides |
minOccurs |
0 |
Źródło XML
<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="ConfigOverrides" minOccurs="0">
<xs:annotation>
<xs:documentation>Describes configuration overrides for the imported service manifest. Configuration overrides allow the flexibility of re-using the same service manifests across multiple application types by overriding the service manifest's configuration only when used with a particular application type. Configuration overrides can change any default configuration in a service manifest as long as default configuration is defined using the Settings.xml in the ConfigPackage folder. </xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="ConfigOverride" type="ConfigOverrideType" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
</xs:element>
Szczegóły elementu zawartości
ConfigOverride
Atrybut |
Wartość |
name |
ConfigOverride |
type |
ConfigOverrideType |
minOccurs |
0 |
maxOccurs |
bezgraniczny |
ConfigPackage, element (typ ConfigPackageDescriptionType)
Deklaruje folder o nazwie według atrybutu Name, który zawiera plik Settings.xml. Ten plik zawiera sekcje ustawień pary klucz-wartość zdefiniowanych przez użytkownika, które proces może odczytywać w czasie wykonywania. Jeśli podczas uaktualniania zmieniono tylko wersję pakietu ConfigPackage, uruchomiony proces nie zostanie uruchomiony ponownie. Zamiast tego wywołanie zwrotne powiadamia proces, że ustawienia konfiguracji zostały zmienione, aby można było je ponownie załadować dynamicznie.
Źródło XML
<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="ConfigPackage" type="ConfigPackageDescriptionType" minOccurs="0" maxOccurs="unbounded"/>
ConfigPackage, element (typ ConfigPackageType)
Deklaruje folder o nazwie według atrybutu Name i PackageRoot, który zawiera plik Settings.xml. Ten plik zawiera sekcje ustawień pary klucz-wartość zdefiniowanych przez użytkownika, które proces może odczytywać w czasie wykonywania. Jeśli podczas uaktualniania zmieniono tylko wersję pakietu ConfigPackage, uruchomiony proces nie zostanie uruchomiony ponownie. Zamiast tego wywołanie zwrotne powiadamia proces, że ustawienia konfiguracji zostały zmienione, aby można było je ponownie załadować dynamicznie.
Źródło XML
<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="ConfigPackage" type="ConfigPackageType" minOccurs="0" maxOccurs="unbounded"/>
ConfigPackagePolicies, element
Pakiety konfiguracji, które mają być instalowane wewnątrz kontenera.
Źródło XML
<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="ConfigPackagePolicies" type="ConfigPackagePoliciesType" minOccurs="0">
<xs:annotation>
<xs:documentation>Config Packages to be mounted inside the container.</xs:documentation>
</xs:annotation>
</xs:element>
ConsoleRedirection, element
Ostrzeżenie! Nie używaj przekierowania konsoli w aplikacji produkcyjnej, używaj jej tylko do lokalnego programowania i debugowania. Przekierowuje dane wyjściowe konsoli ze skryptu uruchamiania do pliku wyjściowego w folderze aplikacji o nazwie "log" w węźle klastra, w którym aplikacja jest wdrażana i uruchamiana.
Źródło XML
<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="ConsoleRedirection" minOccurs="0">
<xs:annotation>
<xs:documentation>Warning! Do not use console redirection in a production application, only use it for local development and debugging. Redirects console output from the startup script to an output file in the application folder called "log" on the cluster node where the application is deployed and run.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:attribute name="FileRetentionCount" default="2">
<xs:annotation>
<xs:documentation>Sets the number of console redirection output files to retain. Must be a positive integer, the default value is "2".</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:int">
<xs:minInclusive value="1"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
<xs:attribute name="FileMaxSizeInKb" default="20480">
<xs:annotation>
<xs:documentation>Set the maximum size of a console redirection output file. Must be a positive integer greater than 128KB, the default value is "20480".</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:int">
<xs:minInclusive value="128"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
</xs:complexType>
</xs:element>
Szczegóły atrybutu
FileRetentionCount
Ustawia liczbę plików wyjściowych przekierowania konsoli do zachowania. Musi być dodatnią liczbą całkowitą, a wartość domyślna to "2".
Atrybut |
Wartość |
name |
FileRetentionCount |
domyślna |
2 |
FileMaxSizeInKb
Ustaw maksymalny rozmiar pliku wyjściowego przekierowania konsoli. Musi być dodatnią liczbą całkowitą większą niż 128 KB, a wartość domyślna to "20480".
Atrybut |
Wartość |
name |
FileMaxSizeInKb |
domyślna |
20480 |
ContainerEntryPoint, element
Zastąpić punkt wejścia dla kontenerów, aby można było uruchomić debuger.
Źródło XML
<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="ContainerEntryPoint" type="xs:string" minOccurs="0" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>Overridden entrypoint for containers so debugger can be launched.</xs:documentation>
</xs:annotation>
</xs:element>
ContainerEnvironmentBlock, element
EnvironmentBlock dla kontenerów.
Źródło XML
<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="ContainerEnvironmentBlock" type="xs:string" minOccurs="0" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>EnvironmentBlock for containers.</xs:documentation>
</xs:annotation>
</xs:element>
ContainerHost, element
Źródło XML
<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="ContainerHost" type="ContainerHostEntryPointType"/>
ContainerHostPolicies, element
Określa zasady aktywowania hostów kontenerów.
Źródło XML
<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="ContainerHostPolicies" type="ContainerHostPoliciesType" minOccurs="0">
<xs:annotation>
<xs:documentation>Specifies policies for activating container hosts.</xs:documentation>
</xs:annotation>
</xs:element>
ContainerLabel, element
Etykiety dla kontenerów w formularzu key=value.
Źródło XML
<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" 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>
ContainerMountedVolume, element
Woluminy do zamontowania wewnątrz kontenera.
Źródło XML
<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" 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>
ContainerNetworkPolicy, element
Opisuje zasady sieci kontenera dla pakietu usługi.
Źródło XML
<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="ContainerNetworkPolicy" type="ContainerNetworkPolicyType" minOccurs="0" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>Describes container network policies for the service package.</xs:documentation>
</xs:annotation>
</xs:element>
CrashDumpSource, element
Określa kolekcję zrzutów awaryjnych. Zrzuty awaryjne są zbierane dla plików wykonywalnych hostujących pakiety kodu wszystkich usług należących do aplikacji.
Atrybut |
Wartość |
type |
anonimowy typ złożony |
content |
2 elementy, 1 atrybuty |
Definicja |
lokalnie w parametrze DiagnosticsType complexType |
name |
CrashDumpSource |
minOccurs |
0 |
Źródło XML
<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="CrashDumpSource" minOccurs="0">
<xs:annotation>
<xs:documentation>Specifies crash dump collection. Crash dumps are collected for executables that host the code packages of all services belonging to the application.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="Destinations" minOccurs="0">
<xs:annotation>
<xs:documentation>Destinations to which the crash dumps need to be transferred.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="LocalStore" type="LocalStoreType" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="FileStore" type="FileStoreType" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="AzureBlob" type="AzureBlobType" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element ref="Parameters" minOccurs="0" maxOccurs="1"/>
</xs:sequence>
<xs:attribute name="IsEnabled" type="xs:string">
<xs:annotation>
<xs:documentation>Whether or not crash dump collection is enabled. By default, it is not enabled.</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
</xs:element>
Szczegóły atrybutu
IsEnabled
Określa, czy kolekcja zrzutów awaryjnych jest włączona. Domyślnie nie jest włączona.
Atrybut |
Wartość |
name |
IsEnabled |
type |
xs:string |
Szczegóły elementu zawartości
Miejsca docelowe
Miejsca docelowe, do których należy przenieść zrzuty awaryjne.
Atrybut |
Wartość |
name |
Miejsca docelowe |
minOccurs |
0 |
Brak
Atrybut |
Wartość |
ref |
Parametry |
minOccurs |
0 |
maxOccurs |
1 |
CurrentInstallation, element
Źródło XML
<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="CurrentInstallation" type="WindowsFabricDeploymentInformation" minOccurs="0"/>
Element DataPackage
Deklaruje folder o nazwie według atrybutu Name w obszarze PackageRoot, który zawiera pliki danych statycznych, które mają być używane przez proces w czasie wykonywania. Usługa Service Fabric będzie odtwarzać wszystkie pliki EXEs i DLLHOSTs określone w hostach i pakietach pomocy technicznej po uaktualnieniu dowolnego z pakietów danych wymienionych w manifeście usługi.
Źródło XML
<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="DataPackage" type="DataPackageType" minOccurs="0" maxOccurs="unbounded"/>
DebugParameters, element
Określa informacje na temat debugera do dołączenia podczas aktywowania pakietu kodu.
Atrybut |
Wartość |
type |
DebugParametersType |
content |
0 elementów, 0 atrybutów |
Definicja |
lokalnie w element DigestedCodePackage, DigestedConfigPackage, DigestedDataPackage, element |
name |
DebugParameters |
minOccurs |
0 |
maxOccurs |
1 |
Źródło XML
<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="DebugParameters" type="DebugParametersType" minOccurs="0" maxOccurs="1"/>
DefaultReplicatorEndpoint, element
Źródło XML
<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="DefaultReplicatorEndpoint" type="InternalEndpointType" minOccurs="0"/>
DefaultRunAsPolicy, element
Określ domyślne konto użytkownika dla wszystkich pakietów kodu usługi, które nie mają określonego elementu RunAsPolicy zdefiniowanego w sekcji ServiceManifestImport.
Źródło XML
<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="DefaultRunAsPolicy" minOccurs="0">
<xs:annotation>
<xs:documentation>Specify a default user account for all service code packages that don't have a specific RunAsPolicy defined in the ServiceManifestImport section.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:attribute name="UserRef" type="xs:string" use="required">
<xs:annotation>
<xs:documentation>The user account that the service code packages will run as. The user account must be declared in the Principals section. Often it is preferable to run the setup entry point using a local system account rather than an administrators account.</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
</xs:element>
Szczegóły atrybutu
UserRef
Konto użytkownika, na które będą uruchamiane pakiety kodu usługi. Konto użytkownika musi być zadeklarowane w sekcji Principals (Podmioty zabezpieczeń). Często zaleca się uruchomienie punktu wejścia konfiguracji przy użyciu lokalnego konta systemowego, a nie konta administratorów.
Atrybut |
Wartość |
name |
UserRef |
type |
xs:string |
używać |
wymagane |
DefaultServiceTypeHealthPolicy, element
Określa domyślne zasady kondycji typu usługi, które zastąpią domyślne zasady kondycji dla wszystkich typów usług w aplikacji.
Źródło XML
<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="DefaultServiceTypeHealthPolicy" type="ServiceTypeHealthPolicyType" minOccurs="0">
<xs:annotation>
<xs:documentation>Specifies the default service type health policy, which will replace the default health policy for all service types in the application.</xs:documentation>
</xs:annotation>
</xs:element>
DefaultServices, element
Deklaruje wystąpienia usługi, które są tworzone automatycznie za każdym razem, gdy aplikacja zostanie utworzona wystąpienie względem tego typu aplikacji.
Źródło XML
<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="DefaultServices" type="DefaultServicesType" minOccurs="0">
</xs:element>
Description, element
Tekst opisujący tę aplikację.
Źródło XML
<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="Description" type="xs:string" minOccurs="0">
<xs:annotation>
<xs:documentation>Text describing this application.</xs:documentation>
</xs:annotation>
</xs:element>
Destinations, element (zdefiniowany w pliku CrashDumpSource)
Miejsca docelowe, do których należy przenieść zrzuty awaryjne.
Atrybut |
Wartość |
type |
anonimowy typ złożony |
content |
3 elementy, 0 atrybutów |
Definicja |
lokalnie w elememencie CrashDumpSource |
name |
Miejsca docelowe |
minOccurs |
0 |
Źródło XML
<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" 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>
Szczegóły elementu zawartości
Magazyn lokalny
Atrybut |
Wartość |
name |
Magazyn lokalny |
type |
LocalStoreType |
minOccurs |
0 |
maxOccurs |
bezgraniczny |
FileStore
Atrybut |
Wartość |
name |
FileStore |
type |
FileStoreType |
minOccurs |
0 |
maxOccurs |
bezgraniczny |
AzureBlob
Atrybut |
Wartość |
name |
AzureBlob |
type |
AzureBlobType |
minOccurs |
0 |
maxOccurs |
bezgraniczny |
Destinations, element (zdefiniowany w ETWSource)
Miejsca docelowe, do których należy przenieść zrzuty awaryjne.
Atrybut |
Wartość |
type |
anonimowy typ złożony |
content |
3 elementy, 0 atrybutów |
Definicja |
lokalnie w elemecie ETWSource |
name |
Miejsca docelowe |
minOccurs |
0 |
Źródło XML
<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" 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>
Szczegóły elementu zawartości
Magazyn lokalny
Atrybut |
Wartość |
name |
Magazyn lokalny |
type |
LocalStoreETWType |
minOccurs |
0 |
maxOccurs |
bezgraniczny |
FileStore
Atrybut |
Wartość |
name |
FileStore |
type |
FileStoreETWType |
minOccurs |
0 |
maxOccurs |
bezgraniczny |
AzureBlob
Atrybut |
Wartość |
name |
AzureBlob |
type |
AzureBlobETWType |
minOccurs |
0 |
maxOccurs |
bezgraniczny |
Destinations, element (zdefiniowany w foldersource)
Miejsca docelowe, do których należy przenieść zawartość folderu.
Atrybut |
Wartość |
type |
anonimowy typ złożony |
content |
3 elementy, 0 atrybutów |
Definicja |
lokalnie w foldersource, element |
name |
Miejsca docelowe |
minOccurs |
0 |
Źródło XML
<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" 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>
Szczegóły elementu zawartości
Magazyn lokalny
Atrybut |
Wartość |
name |
Magazyn lokalny |
type |
LocalStoreType |
minOccurs |
0 |
maxOccurs |
bezgraniczny |
FileStore
Atrybut |
Wartość |
name |
FileStore |
type |
FileStoreType |
minOccurs |
0 |
maxOccurs |
bezgraniczny |
AzureBlob
Atrybut |
Wartość |
name |
AzureBlob |
type |
AzureBlobType |
minOccurs |
0 |
maxOccurs |
bezgraniczny |
Element diagnostyki (typ DiagnosticsType)
Opisuje ustawienia diagnostyczne aplikacji.
Źródło XML
<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="Diagnostics" type="DiagnosticsType" minOccurs="0"/>
Element diagnostyki (typ ServiceDiagnosticsType)
Opisuje ustawienia diagnostyczne składników tego manifestu usługi.
Źródło XML
<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="Diagnostics" type="ServiceDiagnosticsType" minOccurs="0"/>
DigestedCertificates, element (zdefiniowany w elemecie ApplicationPackageType)
Źródło XML
<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" 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>
Szczegóły elementu zawartości
Wpisy tajneCertyfikat
EndpointCertificate
DigestedCertificates, element (zdefiniowany w parametrze DigestedResources)
Atrybut |
Wartość |
type |
anonimowy typ złożony |
content |
1 elementy, 0 atrybutów |
Definicja |
lokalnie w elemecie DigestedResources |
name |
SzyfrowaneCertyfikaty |
minOccurs |
0 |
maxOccurs |
1 |
Źródło XML
<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" 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>
Szczegóły elementu zawartości
EndpointCertificate
DigestedCodePackage, element
Atrybut |
Wartość |
type |
anonimowy typ złożony |
content |
6 elementów, 2 atrybuty |
Definicja |
lokalnie w typie złożonym ServicePackageType |
name |
DigestedCodePackage |
maxOccurs |
bezgraniczny |
Źródło XML
<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" 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>
Szczegóły atrybutu
ContentChecksum
Atrybut |
Wartość |
name |
ContentChecksum |
type |
xs:string |
IsShared
Atrybut |
Wartość |
name |
IsShared |
type |
xs:boolean |
Szczegóły elementu zawartości
CodePackage
RunAsPolicy
Atrybut |
Wartość |
name |
RunAsPolicy |
type |
RunAsPolicyType |
minOccurs |
0 |
maxOccurs |
2 |
DebugParameters
ContainerHostPolicies
Określa zasady aktywowania hostów kontenerów.
ResourceGovernancePolicy
Określa limity zasobów dla pakietu kodu.
ConfigPackagePolicies
Określa zasady konfiguracji dla instalacji.
DigestedConfigPackage, element
Atrybut |
Wartość |
type |
anonimowy typ złożony |
content |
3 elementy, 2 atrybuty |
Definicja |
lokalnie w typie złożonym ServicePackageType |
name |
DigestedConfigPackage |
minOccurs |
0 |
maxOccurs |
bezgraniczny |
Źródło XML
<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" 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>
Szczegóły atrybutu
ContentChecksum
Atrybut |
Wartość |
name |
ContentChecksum |
type |
xs:string |
IsShared
Atrybut |
Wartość |
name |
IsShared |
type |
xs:boolean |
Szczegóły elementu zawartości
Pakiet konfiguracji
ConfigOverride
DebugParameters
DigestedDataPackage, element
Atrybut |
Wartość |
type |
anonimowy typ złożony |
content |
2 elementy, 2 atrybuty |
Definicja |
lokalnie w typie złożonym ServicePackageType |
name |
DigestedDataPackage |
minOccurs |
0 |
maxOccurs |
bezgraniczny |
Źródło XML
<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" 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>
Szczegóły atrybutu
ContentChecksum
Atrybut |
Wartość |
name |
ContentChecksum |
type |
xs:string |
IsShared
Atrybut |
Wartość |
name |
IsShared |
type |
xs:boolean |
Szczegóły elementu zawartości
DataPackage
DebugParameters
DigestedEndpoint, element
Atrybut |
Wartość |
type |
anonimowy typ złożony |
content |
4 elementy, 0 atrybutów |
Definicja |
lokalnie w elemecie DigestedEndpoints |
name |
Punkt końcowy szyfrowany |
minOccurs |
0 |
maxOccurs |
bezgraniczny |
Źródło XML
<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" 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>
Szczegóły elementu zawartości
Punkt końcowy
SecurityAccessPolicy
EndpointBindingPolicy
ResourceGovernancePolicy
Element DigestedEndpoints
Atrybut |
Wartość |
type |
anonimowy typ złożony |
content |
1 elementy, 0 atrybutów |
Definicja |
lokalnie w elemecie DigestedResources |
name |
Punkty szyfrowaneEndpoint |
minOccurs |
0 |
Źródło XML
<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" 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>
Szczegóły elementu zawartości
Punkt końcowy szyfrowany
Atrybut |
Wartość |
name |
Punkt końcowy szyfrowany |
minOccurs |
0 |
maxOccurs |
bezgraniczny |
DigestedEnvironment, element
Źródło XML
<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="DigestedEnvironment" type="EnvironmentType"/>
DigestedResources, element
Źródło XML
<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" 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>
Szczegóły elementu zawartości
Punkty szyfrowaneEndpoint
Atrybut |
Wartość |
name |
Punkty szyfrowaneEndpoint |
minOccurs |
0 |
SzyfrowaneCertyfikaty
Atrybut |
Wartość |
name |
SzyfrowaneCertyfikaty |
minOccurs |
0 |
maxOccurs |
1 |
DigestedServiceTypes, element
Źródło XML
<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="DigestedServiceTypes">
<xs:complexType>
<xs:sequence>
<xs:element name="ServiceTypes" type="ServiceTypesType"/>
</xs:sequence>
<xs:attributeGroup ref="VersionedItemAttrGroup"/>
</xs:complexType>
</xs:element>
Szczegóły elementu zawartości
ServiceTypes
DllHost, element
Nieobsługiwane, nie używaj. Obsługa hostingu bibliotek DLL (punkt wejścia zestawu) jest udostępniana za pośrednictwem procesu FWP.exe. Usługa Service Fabric uruchamia proces roboczy sieci szkieletowej (FWP.exe) i ładuje zestaw w ramach procesu aktywacji.
Źródło XML
<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="DllHost" type="DllHostEntryPointType"/>
DomainGroup, element
Atrybut |
Wartość |
type |
anonimowy typ złożony |
content |
0 elementów, 1 atrybutów |
Definicja |
lokalnie w elemecie Członkostwo |
name |
DomainGroup |
minOccurs |
0 |
maxOccurs |
bezgraniczny |
Źródło XML
<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="DomainGroup" minOccurs="0" maxOccurs="unbounded">
<xs:complexType>
<xs:attribute name="Name" type="xs:string" use="required"/>
</xs:complexType>
</xs:element>
Szczegóły atrybutu
Nazwisko
Atrybut |
Wartość |
name |
Nazwisko |
type |
xs:string |
używać |
wymagane |
DomainUser, element
Atrybut |
Wartość |
type |
anonimowy typ złożony |
content |
0 elementów, 1 atrybutów |
Definicja |
lokalnie w elemecie Członkostwo |
name |
DomainUser |
minOccurs |
0 |
maxOccurs |
bezgraniczny |
Źródło XML
<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="DomainUser" minOccurs="0" maxOccurs="unbounded">
<xs:complexType>
<xs:attribute name="Name" type="xs:string" use="required"/>
</xs:complexType>
</xs:element>
Szczegóły atrybutu
Nazwisko
Atrybut |
Wartość |
name |
Nazwisko |
type |
xs:string |
używać |
wymagane |
DriverOption, element
Opcje sterowników, które mają być przekazywane do sterownika.
Źródło XML
<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="DriverOption" type="DriverOptionType" minOccurs="0" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>Driver options to be passed to driver.</xs:documentation>
</xs:annotation>
</xs:element>
ETW, element
Opisuje ustawienia ETW dla składników tego manifestu usługi.
Źródło XML
<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="ETW" minOccurs="0">
<xs:annotation>
<xs:documentation>Describes the ETW settings for the components of this service manifest.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="ProviderGuids" minOccurs="0">
<xs:annotation>
<xs:documentation>Lists the ETW provider GUIDs for the components of this service manifest.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="ProviderGuid" minOccurs="0" maxOccurs="unbounded">
<xs:complexType>
<xs:attribute name="Value" use="required">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:pattern value="[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="ManifestDataPackages" minOccurs="0">
<xs:annotation>
<xs:documentation>Lists the data packages containing ETW manifests for the components of this service manifest. The data package containing ETW manifests should not contain any other files. </xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="ManifestDataPackage" type="DataPackageType" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
Szczegóły elementu zawartości
ProviderGuids
Wyświetla identyfikatory GUID dostawcy ETW dla składników tego manifestu usługi.
Atrybut |
Wartość |
name |
ProviderGuids |
minOccurs |
0 |
ManifestDataPackages
Wyświetla listę pakietów danych zawierających manifesty ETW dla składników tego manifestu usługi. Pakiet danych zawierający manifesty ETW nie powinien zawierać żadnych innych plików.
Atrybut |
Wartość |
name |
ManifestDataPackages |
minOccurs |
0 |
ETWSource, element
Określa kolekcję śledzenia ETW. Ślady ETW są zbierane dla dostawców zarejestrowanych przez wszystkie usługi należące do aplikacji.
Atrybut |
Wartość |
type |
anonimowy typ złożony |
content |
2 elementy, 1 atrybuty |
Definicja |
lokalnie w parametrze DiagnosticsType complexType |
name |
ETWSource |
minOccurs |
0 |
Źródło XML
<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="ETWSource" minOccurs="0">
<xs:annotation>
<xs:documentation>Specifies ETW trace collection. ETW traces are collected for the providers that are registered by all services belonging to the application.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="Destinations" minOccurs="0">
<xs:annotation>
<xs:documentation>Destinations to which the crash dumps need to be transferred.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="LocalStore" type="LocalStoreETWType" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="FileStore" type="FileStoreETWType" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="AzureBlob" type="AzureBlobETWType" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element ref="Parameters" minOccurs="0" maxOccurs="1"/>
</xs:sequence>
<xs:attribute name="IsEnabled" type="xs:string">
<xs:annotation>
<xs:documentation>Whether or not ETW trace collection is enabled. By default, it is not enabled.</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
</xs:element>
Szczegóły atrybutu
IsEnabled
Określa, czy kolekcja śledzenia ETW jest włączona. Domyślnie nie jest włączona.
Atrybut |
Wartość |
name |
IsEnabled |
type |
xs:string |
Szczegóły elementu zawartości
Miejsca docelowe
Miejsca docelowe, do których należy przenieść zrzuty awaryjne.
Atrybut |
Wartość |
name |
Miejsca docelowe |
minOccurs |
0 |
Brak
Atrybut |
Wartość |
ref |
Parametry |
minOccurs |
0 |
maxOccurs |
1 |
Element punktu końcowego (typ EndpointOverrideType)
Punkt końcowy zadeklarowany w manifeście usługi, aby zastąpić.
Atrybut |
Wartość |
type |
EndpointOverrideType |
content |
0 elementów, 0 atrybutów |
Definicja |
lokalnie w elemecie Endpoints |
name |
Punkt końcowy |
maxOccurs |
bezgraniczny |
Źródło XML
<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="Endpoint" type="EndpointOverrideType" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>The endpoint, declared in the service manifest, to override.</xs:documentation>
</xs:annotation>
</xs:element>
Element punktu końcowego (typ EndpointType)
Definiuje punkt końcowy dla usługi. Można zażądać określonych portów. Jeśli port nie zostanie jawnie określony, port zostanie przypisany z zakresu portów aplikacji zarezerwowanej. Repliki usług uruchomione w różnych węzłach klastra mogą mieć przypisane różne numery portów, podczas gdy repliki tej samej usługi uruchomionej w tym samym węźle współużytkuje ten sam port. Takie porty mogą być używane przez repliki usługi do różnych celów, takich jak replikacja lub nasłuchiwanie żądań klientów.
Atrybut |
Wartość |
type |
Typ punktu końcowego |
content |
0 elementów, 0 atrybutów |
Definicja |
lokalnie w elemecie Endpoints, DigestedEndpoint, element |
name |
Punkt końcowy |
maxOccurs |
bezgraniczny |
Źródło XML
<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="Endpoint" type="EndpointType" maxOccurs="unbounded"/>
EndpointBinding, element
Określa punkt końcowy, który powinien być uwidoczniony w sieci kontenera.
Źródło XML
<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="EndpointBinding" type="ContainerNetworkPolicyEndpointBindingType" minOccurs="0" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>Specifies an endpoint that should be exposed on the container network.</xs:documentation>
</xs:annotation>
</xs:element>
EndpointBindingPolicy, element
Określa certyfikat, który ma zostać zwrócony do klienta dla punktu końcowego HTTPS.
Źródło XML
<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="EndpointBindingPolicy" type="EndpointBindingPolicyType" minOccurs="0">
<xs:annotation>
<xs:documentation>Specifies a certificate that should be returned to a client for an HTTPS endpoint.</xs:documentation>
</xs:annotation>
</xs:element>
EndpointCertificate, element
Określa informacje o certyfikacie X509 używanym do zabezpieczenia punktu końcowego.
Atrybut |
Wartość |
type |
EndpointCertificateType |
content |
0 elementów, 0 atrybutów |
Definicja |
lokalnie w elem. Certificates, DigestedCertificates, element DigestedCertificates |
name |
EndpointCertificate |
minOccurs |
0 |
Źródło XML
<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="EndpointCertificate" type="EndpointCertificateType" minOccurs="0"/>
Endpoints, element (type FabricEndpointsType)
Opisywanie punktów końcowych skojarzonych z tym typem węzła
Źródło XML
<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="Endpoints" type="FabricEndpointsType" minOccurs="0">
<xs:annotation>
<xs:documentation>Describe the endpoints associated with this node type</xs:documentation>
</xs:annotation>
</xs:element>
Element Endpoints (zdefiniowany w elemecie ResourceOverridesType)
Punkty końcowe usługi do zastąpienia.
Atrybut |
Wartość |
type |
anonimowy typ złożony |
content |
1 elementy, 0 atrybutów |
Definicja |
lokalnie w parametrze ResourceOverridesType complexType |
name |
Punkty końcowe |
minOccurs |
0 |
Źródło XML
<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" 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>
Szczegóły elementu zawartości
Punkt końcowy
Punkt końcowy zadeklarowany w manifeście usługi, aby zastąpić.
Endpoints, element (zdefiniowany w typie zasobów)
Definiuje punkty końcowe dla usługi.
Atrybut |
Wartość |
type |
anonimowy typ złożony |
content |
1 elementy, 0 atrybutów |
Definicja |
lokalnie w typie resourcesType complexType |
name |
Punkty końcowe |
minOccurs |
0 |
Źródło XML
<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" 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>
Szczegóły elementu zawartości
Punkt końcowy
EntryPoint, element (typ EntryPointDescriptionType)
Plik wykonywalny określony przez program EntryPoint jest zazwyczaj długotrwałym hostem usługi. Obecność oddzielnego punktu wejścia konfiguracji pozwala uniknąć konieczności uruchamiania hosta usługi z wysokimi uprawnieniami przez dłuższy czas. Plik wykonywalny określony przez program EntryPoint jest uruchamiany po pomyślnym zakończeniu instalacjiEntryPoint. Wynikowy proces jest monitorowany i uruchamiany ponownie (począwszy od instalatoraEntryPoint), jeśli kiedykolwiek zakończy się lub ulegnie awarii.
Źródło XML
<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="EntryPoint" type="EntryPointDescriptionType" minOccurs="1"/>
EntryPoint, element (wpisz xs:string)
Źródło XML
<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="EntryPoint" type="xs:string" minOccurs="0" maxOccurs="1"/>
EnvironmentOverrides, element
Atrybut |
Wartość |
type |
EnvironmentOverridesType |
content |
0 elementów, 0 atrybutów |
Definicja |
lokalnie w elemecie ServiceManifestImport |
name |
Przesłonięcia środowiska |
minOccurs |
0 |
maxOccurs |
bezgraniczny |
Źródło XML
<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="EnvironmentOverrides" type="EnvironmentOverridesType" minOccurs="0" maxOccurs="unbounded"/>
EnvironmentVariable, element (typ EnvironmentVariableOverrideType)
Zmienna środowiskowa.
Źródło XML
<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="EnvironmentVariable" type="EnvironmentVariableOverrideType" minOccurs="0" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>Environment variable.</xs:documentation>
</xs:annotation>
</xs:element>
EnvironmentVariable, element (typ EnvironmentVariableType)
Zmienna środowiskowa.
Źródło XML
<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="EnvironmentVariable" type="EnvironmentVariableType" minOccurs="0" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>Environment variable.</xs:documentation>
</xs:annotation>
</xs:element>
EnvironmentVariables, element
Przekaż zmienne środowiskowe do kontenera lub pliku exe.
Źródło XML
<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="EnvironmentVariables" type="EnvironmentVariablesType" minOccurs="0" maxOccurs="1"/>
Efemeryczny elementEndpoints
Atrybut |
Wartość |
type |
anonimowy typ złożony |
content |
0 elementów, 2 atrybuty |
Definicja |
lokalnie w elem . FabricEndpointsType complexType |
name |
Punkty końcowe efemeryczne |
minOccurs |
0 |
Źródło XML
<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" 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>
Szczegóły atrybutu
Port początkowy
Atrybut |
Wartość |
name |
Port początkowy |
type |
xs:int |
używać |
wymagane |
Port końcowy
Atrybut |
Wartość |
name |
Port końcowy |
type |
xs:int |
używać |
wymagane |
EventStoreServiceReplicatorEndpoint, element
Źródło XML
<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="EventStoreServiceReplicatorEndpoint" type="InternalEndpointType" minOccurs="0"/>
Element EvictionPolicy
Rozszerzenie zasad eksmisji dla typu usługi.
Atrybut |
Wartość |
type |
anonimowy typ złożony |
content |
1 elementy, 2 atrybuty |
Definicja |
globalnie |
name |
EksmisjaPolicy |
Źródło XML
<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="EvictionPolicy">
<xs:annotation>
<xs:documentation>Eviction Policy extension for the Service Type.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="Properties" type="ServiceTypeExtensionPolicyPropertiesType" minOccurs="0"/>
</xs:sequence>
<xs:attribute name="Name" type="xs:string" use="required"/>
<xs:attribute name="Provider" type="xs:string" use="required"/>
</xs:complexType>
</xs:element>
Szczegóły atrybutu
Nazwisko
Atrybut |
Wartość |
name |
Nazwisko |
type |
xs:string |
używać |
wymagane |
Dostawca
Atrybut |
Wartość |
name |
Dostawca |
type |
xs:string |
używać |
wymagane |
Szczegóły elementu zawartości
Właściwości
ExeHost, element (wpisz ExeHostEntryPointType)
Atrybut |
Wartość |
type |
ExeHostEntryPointType |
content |
0 elementów, 0 atrybutów |
Definicja |
lokalnie w elem. SetupEntryPoint |
name |
ExeHost |
Źródło XML
<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="ExeHost" type="ExeHostEntryPointType"/>
ExeHost, element (zdefiniowany w typie EntryPointDescriptionType)
Źródło XML
<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" 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>
Element rozszerzenia
Atrybut |
Wartość |
type |
anonimowy typ złożony |
content |
0 elementów, 2 atrybuty |
Definicja |
lokalnie w typie complexType ExtensionsType |
name |
Numer wewnętrzny |
minOccurs |
0 |
maxOccurs |
bezgraniczny |
Źródło XML
<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" 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>
Szczegóły atrybutu
Nazwisko
Atrybut |
Wartość |
name |
Nazwisko |
używać |
wymagane |
Wygenerowany identyfikator
Atrybut |
Wartość |
name |
Wygenerowany identyfikator |
type |
xs:string |
używać |
optional |
Extensions, element
Opisuje rozszerzenia, które można zastosować do innych elementów.
Atrybut |
Wartość |
type |
ExtensionsType |
content |
0 elementów, 0 atrybutów |
Definicja |
globalnie |
name |
Rozszerzenia |
Źródło XML
<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="Extensions" type="ExtensionsType"/>
FabricSettings, element
Deklaruje ustawienia konfiguracji w manifeście usługi, które mają zostać zastąpione. Składa się z co najmniej jednej sekcji par klucz-wartość. Wartości parametrów można szyfrować przy użyciu polecenia cmdlet Invoke-ServiceFabricEncryptSecret.
Źródło XML
<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="FabricSettings" type="SettingsOverridesType" minOccurs="0"/>
FailoverManagerReplicatorEndpoint, element
Źródło XML
<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="FailoverManagerReplicatorEndpoint" type="InternalEndpointType" minOccurs="0"/>
FaultAnalysisServiceReplicatorEndpoint, element
Źródło XML
<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="FaultAnalysisServiceReplicatorEndpoint" type="InternalEndpointType" minOccurs="0"/>
FileStore, element (wpisz FileStoreETWType)
Opisuje miejsce docelowe magazynu plików dla zdarzeń ETW. Działa tylko w środowisku lokalnym.
Atrybut |
Wartość |
type |
FileStoreETWType |
content |
0 elementów, 0 atrybutów |
Definicja |
lokalnie w elemecie Destinations |
name |
FileStore |
minOccurs |
0 |
maxOccurs |
bezgraniczny |
Źródło XML
<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="FileStore" type="FileStoreETWType" minOccurs="0" maxOccurs="unbounded"/>
FileStore, element (wpisz FileStoreType)
Opisuje miejsce docelowe magazynu plików na potrzeby danych diagnostycznych. Działa tylko w autonomicznym środowisku klastra.
Atrybut |
Wartość |
type |
FileStoreType |
content |
0 elementów, 0 atrybutów |
Definicja |
lokalnie w elemecie Destinations, Destinations, element |
name |
FileStore |
minOccurs |
0 |
maxOccurs |
bezgraniczny |
Źródło XML
<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="FileStore" type="FileStoreType" minOccurs="0" maxOccurs="unbounded"/>
FolderSource, element
Określa kolekcję zawartości określonego folderu w węźle lokalnym.
Atrybut |
Wartość |
type |
anonimowy typ złożony |
content |
2 elementy, 1 atrybuty |
Definicja |
lokalnie w parametrze DiagnosticsType complexType |
name |
FolderSource |
minOccurs |
0 |
maxOccurs |
bezgraniczny |
Źródło XML
<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="FolderSource" minOccurs="0" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>Specifies the collection of the contents of a particular folder on the local node.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="Destinations" minOccurs="0">
<xs:annotation>
<xs:documentation>Destinations to which the folder contents need to be transferred.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="LocalStore" type="LocalStoreType" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="FileStore" type="FileStoreType" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="AzureBlob" type="AzureBlobType" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element ref="Parameters" minOccurs="0" maxOccurs="1"/>
</xs:sequence>
<xs:attribute name="IsEnabled" type="xs:string">
<xs:annotation>
<xs:documentation>Whether or not collection of the contents of this folder is enabled. By default, it is not enabled.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attributeGroup ref="RelativeFolderPath"/>
<xs:attributeGroup ref="DataDeletionAgeInDays"/>
</xs:complexType>
</xs:element>
Szczegóły atrybutu
IsEnabled
Określa, czy kolekcja zawartości tego folderu jest włączona. Domyślnie nie jest włączona.
Atrybut |
Wartość |
name |
IsEnabled |
type |
xs:string |
Szczegóły elementu zawartości
Miejsca docelowe
Miejsca docelowe, do których należy przenieść zawartość folderu.
Atrybut |
Wartość |
name |
Miejsca docelowe |
minOccurs |
0 |
Brak
Atrybut |
Wartość |
ref |
Parametry |
minOccurs |
0 |
maxOccurs |
1 |
FromSource, element
Źródło XML
<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="FromSource" type="xs:string" minOccurs="0" maxOccurs="1"/>
GatewayResourceManagerReplicatorEndpoint, element
Źródło XML
<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="GatewayResourceManagerReplicatorEndpoint" type="InternalEndpointType" minOccurs="0"/>
Group, element (zdefiniowany w grupach)
Deklaruje grupę jako podmiot zabezpieczeń, do którego można się odwoływać w zasadach.
Atrybut |
Wartość |
type |
anonimowy typ złożony |
content |
2 elementy, 1 atrybuty |
Definicja |
lokalnie w elem. Grupy |
name |
Grupuj |
maxOccurs |
bezgraniczny |
Źródło XML
<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="Group" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>Declares a group as a security principal, which can be referenced in policies.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="NTLMAuthenticationPolicy" minOccurs="0">
<xs:complexType>
<xs:attribute name="IsEnabled" type="xs:boolean" use="optional" default="true"/>
</xs:complexType>
</xs:element>
<xs:element name="Membership" minOccurs="0">
<xs:complexType>
<xs:choice maxOccurs="unbounded">
<xs:element name="DomainGroup" minOccurs="0" maxOccurs="unbounded">
<xs:complexType>
<xs:attribute name="Name" type="xs:string" use="required"/>
</xs:complexType>
</xs:element>
<xs:element name="SystemGroup" minOccurs="0" maxOccurs="unbounded">
<xs:complexType>
<xs:attribute name="Name" type="xs:string" use="required"/>
</xs:complexType>
</xs:element>
<xs:element name="DomainUser" minOccurs="0" maxOccurs="unbounded">
<xs:complexType>
<xs:attribute name="Name" type="xs:string" use="required"/>
</xs:complexType>
</xs:element>
</xs:choice>
</xs:complexType>
</xs:element>
</xs:sequence>
<xs:attribute name="Name" type="xs:string" use="required">
<xs:annotation>
<xs:documentation>Name of the local group account. The name will be prefixed with the application ID.</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
</xs:element>
Szczegóły atrybutu
Nazwisko
Nazwa konta grupy lokalnej. Nazwa zostanie poprzedzona identyfikatorem aplikacji.
Atrybut |
Wartość |
name |
Nazwisko |
type |
xs:string |
używać |
wymagane |
Szczegóły elementu zawartości
NTLMAuthenticationPolicy
Atrybut |
Wartość |
name |
NTLMAuthenticationPolicy |
minOccurs |
0 |
Członkostwo
Atrybut |
Wartość |
name |
Członkostwo |
minOccurs |
0 |
Group, element (zdefiniowany w elemencie MemberOf)
Grupa do dodania użytkownika. Grupa musi być zdefiniowana w sekcji Grupy.
Atrybut |
Wartość |
type |
anonimowy typ złożony |
content |
0 elementów, 1 atrybutów |
Definicja |
lokalnie w elemencie MemberOf |
name |
Grupuj |
minOccurs |
0 |
maxOccurs |
bezgraniczny |
Źródło XML
<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="Group" minOccurs="0" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>The group to add the user to. The group must be defined in the Groups section.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:attribute name="NameRef" type="xs:string" use="required">
<xs:annotation>
<xs:documentation>The name of the group.</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
</xs:element>
Szczegóły atrybutu
NameRef
Nazwa grupy.
Atrybut |
Wartość |
name |
NameRef |
type |
xs:string |
używać |
wymagane |
Groups, element
Deklaruje zestaw grup jako podmiotów zabezpieczeń, do których można się odwoływać w zasadach. Grupy są przydatne, jeśli istnieje wielu użytkowników dla różnych punktów wejścia usługi i muszą mieć pewne wspólne uprawnienia, które są dostępne na poziomie grupy.
Źródło XML
<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="Groups" minOccurs="0">
<xs:annotation>
<xs:documentation>Declares a set of groups as security principals, which can be referenced in policies. Groups are useful if there are multiple users for different service entry points and they need to have certain common privileges that are available at the group level.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="Group" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>Declares a group as a security principal, which can be referenced in policies.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="NTLMAuthenticationPolicy" minOccurs="0">
<xs:complexType>
<xs:attribute name="IsEnabled" type="xs:boolean" use="optional" default="true"/>
</xs:complexType>
</xs:element>
<xs:element name="Membership" minOccurs="0">
<xs:complexType>
<xs:choice maxOccurs="unbounded">
<xs:element name="DomainGroup" minOccurs="0" maxOccurs="unbounded">
<xs:complexType>
<xs:attribute name="Name" type="xs:string" use="required"/>
</xs:complexType>
</xs:element>
<xs:element name="SystemGroup" minOccurs="0" maxOccurs="unbounded">
<xs:complexType>
<xs:attribute name="Name" type="xs:string" use="required"/>
</xs:complexType>
</xs:element>
<xs:element name="DomainUser" minOccurs="0" maxOccurs="unbounded">
<xs:complexType>
<xs:attribute name="Name" type="xs:string" use="required"/>
</xs:complexType>
</xs:element>
</xs:choice>
</xs:complexType>
</xs:element>
</xs:sequence>
<xs:attribute name="Name" type="xs:string" use="required">
<xs:annotation>
<xs:documentation>Name of the local group account. The name will be prefixed with the application ID.</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
Szczegóły elementu zawartości
Grupuj
Deklaruje grupę jako podmiot zabezpieczeń, do którego można się odwoływać w zasadach.
Atrybut |
Wartość |
name |
Grupuj |
maxOccurs |
bezgraniczny |
HealthConfig, element
Określa opcje integracji docker HEALTHCHECK dla kontenera.
Źródło XML
<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="HealthConfig" type="ContainerHealthConfigType" minOccurs="0" maxOccurs="1">
<xs:annotation>
<xs:documentation>Specifies docker HEALTHCHECK integration options for the container.</xs:documentation>
</xs:annotation>
</xs:element>
HealthPolicy, element
Opisuje zasady oceny zdarzeń kondycji zgłoszonych w różnych jednostkach związanych z aplikacją. Jeśli nie określono żadnych zasad, zakłada się, że jednostka jest w złej kondycji, jeśli raport kondycji jest ostrzeżeniem lub błędem.
Źródło XML
<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="HealthPolicy" type="ApplicationHealthPolicyType" minOccurs="0"/>
HttpApplicationGatewayEndpoint, element
Źródło XML
<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="HttpApplicationGatewayEndpoint" type="InputEndpointType" minOccurs="0"/>
HttpGatewayEndpoint, element
Źródło XML
<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="HttpGatewayEndpoint" type="InputEndpointType" minOccurs="0"/>
Element obrazu
Obraz kontenera odpowiadający numerowi wersji kompilacji systemu operacyjnego do uruchomienia. Jeśli atrybut systemu operacyjnego nie zostanie określony, przyjmuje się, że obraz kontenera działa we wszystkich wersjach systemu operacyjnego i zastępuje obraz określony w manifeście usługi.
Źródło XML
<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="Image" type="ImageType" minOccurs="0" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>Container image corresponding to OS build version number to be launched. If the Os attribute is not specified, the container image
is assumed to work across all versions of the OS and overrides the image specified in the service manifest.</xs:documentation>
</xs:annotation>
</xs:element>
ImageName, element
Repozytorium i obraz w usłudze https://hub.docker.com Azure Container Registry.
Źródło XML
<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="ImageName" type="xs:string">
<xs:annotation>
<xs:documentation>The repo and image on https://hub.docker.com or Azure Container Registry.</xs:documentation>
</xs:annotation>
</xs:element>
ImageOverrides, element
Nazwy obrazów odpowiadające numerowi kompilacji systemu operacyjnego do uruchomienia.
Źródło XML
<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="ImageOverrides" type="ImageOverridesType" minOccurs="0" maxOccurs="1">
<xs:annotation>
<xs:documentation>Image names corresponding to OS build number to be launched.</xs:documentation>
</xs:annotation>
</xs:element>
ImageStoreServiceReplicatorEndpoint, element
Źródło XML
<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="ImageStoreServiceReplicatorEndpoint" type="InternalEndpointType" minOccurs="0"/>
Element infrastruktury
Źródło XML
<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" 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>
Szczegóły elementu zawartości
WindowsServer
Atrybut |
Wartość |
name |
WindowsServer |
Linux
Atrybut |
Wartość |
name |
Linux |
WindowsAzure
Atrybut |
Wartość |
name |
WindowsAzure |
WindowsAzureStaticTopology
Atrybut |
Wartość |
name |
WindowsAzureStaticTopology |
Kos
Paas
Atrybut |
Wartość |
name |
Paas |
Opisuje infrastrukturę, w której sieć szkieletowa musi działać.
Źródło XML
<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="InfrastructureInformation" type="InfrastructureInformationType">
<xs:annotation>
<xs:documentation>Describes the infrastructure on which fabric needs to run.</xs:documentation>
</xs:annotation>
</xs:element>
InstanceCountScalingMechanism, element
Definiuje mechanizm zwiększania liczby wystąpień partycji. Dotyczy to tylko usług bezstanowych.
Atrybut |
Wartość |
type |
anonimowy typ złożony |
content |
0 elementów, 3 atrybuty |
Definicja |
lokalnie w grupie ScalingPolicyMechanismGroup |
name |
InstanceCountScalingMechanism |
minOccurs |
0 |
maxOccurs |
1 |
Źródło XML
<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="InstanceCountScalingMechanism" minOccurs="0" maxOccurs="1">
<xs:annotation>
<xs:documentation>Defines a mechanism for increasing the instance count of a partition. This is for stateless services only.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:attribute name="MinInstanceCount" type="xs:string" use="required">
<xs:annotation>
<xs:documentation>The minimum number of instances.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="MaxInstanceCount" type="xs:string" use="required">
<xs:annotation>
<xs:documentation>The maximum number of instances..</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="ScaleIncrement" type="xs:string" use="required">
<xs:annotation>
<xs:documentation>The number of instances by which to perform the upshift/downshift.</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
</xs:element>
Szczegóły atrybutu
MinInstanceCount
Minimalna liczba wystąpień.
Atrybut |
Wartość |
name |
MinInstanceCount |
type |
xs:string |
używać |
wymagane |
MaxInstanceCount
Maksymalna liczba wystąpień.
Atrybut |
Wartość |
name |
MaxInstanceCount |
type |
xs:string |
używać |
wymagane |
ScaleIncrement
Liczba wystąpień, według których ma być wykonywana prowizoryka/downshift.
Atrybut |
Wartość |
name |
ScaleIncrement |
type |
xs:string |
używać |
wymagane |
KtlLoggerSettings, element
Opis informacji KtlLogger skojarzonych z tym typem węzła
Atrybut |
Wartość |
type |
FabricKtlLoggerSettingsType |
content |
0 elementów, 0 atrybutów |
Definicja |
lokalnie w elemecie NodeType |
name |
KtlLoggerSettings |
minOccurs |
0 |
Źródło XML
<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="KtlLoggerSettings" type="FabricKtlLoggerSettingsType" minOccurs="0">
<xs:annotation>
<xs:documentation>Describe the KtlLogger information associated with this node type</xs:documentation>
</xs:annotation>
</xs:element>
Etykieta, element
Określa etykiety kontenera.
Źródło XML
<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="Label" type="ContainerLabelType" minOccurs="0" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>Specifies the labels for the container.</xs:documentation>
</xs:annotation>
</xs:element>
LeaseDriverEndpoint, element
Źródło XML
<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="LeaseDriverEndpoint" type="InternalEndpointType"/>
Linux, element
Atrybut |
Wartość |
type |
anonimowy typ złożony |
content |
0 elementów, 0 atrybutów |
Definicja |
lokalnie w elemecie Infrastruktura |
name |
Linux |
Źródło XML
<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" 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>
LoadMetric, element
Zasób, na który należy zrównoważyć tę usługę, na przykład użycie pamięci lub procesora CPU. Zawiera informacje o tym, ile z tego zasobu zużywa domyślnie każda replika lub wystąpienie tej usługi.
Atrybut |
Wartość |
type |
LoadMetricType |
content |
0 elementów, 0 atrybutów |
Definicja |
lokalnie w elem. LoadMetrics, LoadMetrics, LoadMetrics, loadmetrics, element, loadmetrics, element |
name |
LoadMetric |
maxOccurs |
bezgraniczny |
Źródło XML
<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="LoadMetric" type="LoadMetricType" maxOccurs="unbounded"/>
LoadMetrics, element (zdefiniowany w parametrze ServiceGroupMemberType)
Załaduj metryki zgłaszane przez tę usługę.
Atrybut |
Wartość |
type |
anonimowy typ złożony |
content |
1 elementy, 0 atrybutów |
Definicja |
lokalnie w parametrze ServiceGroupMemberType complexType |
name |
LoadMetrics |
minOccurs |
0 |
Źródło XML
<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" 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>
Szczegóły elementu zawartości
LoadMetric
Atrybut |
Wartość |
name |
LoadMetric |
type |
LoadMetricType |
maxOccurs |
bezgraniczny |
LoadMetrics, element (zdefiniowany w parametrze ServiceGroupTypeMember)
Metryki ładowania zgłaszane przez tę usługę, używane do równoważenia zasobów.
Atrybut |
Wartość |
type |
anonimowy typ złożony |
content |
1 elementy, 0 atrybutów |
Definicja |
lokalnie w elemecie ServiceGroupTypeMember |
name |
LoadMetrics |
minOccurs |
0 |
Źródło XML
<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" 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>
Szczegóły elementu zawartości
LoadMetric
Atrybut |
Wartość |
name |
LoadMetric |
type |
LoadMetricType |
maxOccurs |
bezgraniczny |
LoadMetrics, element (zdefiniowany w parametrze ServiceGroupTypeType)
Załaduj metryki zgłaszane przez tę usługę.
Źródło XML
<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" 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>
Szczegóły elementu zawartości
LoadMetric
Atrybut |
Wartość |
name |
LoadMetric |
type |
LoadMetricType |
maxOccurs |
bezgraniczny |
LoadMetrics, element (zdefiniowany w parametrze ServiceTypeType)
Załaduj metryki zgłaszane przez tę usługę.
Atrybut |
Wartość |
type |
anonimowy typ złożony |
content |
1 elementy, 0 atrybutów |
Definicja |
lokalnie w typie złożonym ServiceTypeType |
name |
LoadMetrics |
minOccurs |
0 |
Źródło XML
<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" 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>
Szczegóły elementu zawartości
LoadMetric
Atrybut |
Wartość |
name |
LoadMetric |
type |
LoadMetricType |
maxOccurs |
bezgraniczny |
LoadMetrics, element (zdefiniowany w typie usługi)
Metryki ładowania zgłaszane przez tę usługę, używane do równoważenia zasobów.
Atrybut |
Wartość |
type |
anonimowy typ złożony |
content |
1 elementy, 0 atrybutów |
Definicja |
lokalnie w typie złożonym ServiceType |
name |
LoadMetrics |
minOccurs |
0 |
Źródło XML
<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" 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>
Szczegóły elementu zawartości
LoadMetric
Atrybut |
Wartość |
name |
LoadMetric |
type |
LoadMetricType |
maxOccurs |
bezgraniczny |
LocalStore, element (typ LocalStoreETWType)
Opisuje miejsce docelowe magazynu w węźle dla zdarzeń ETW.
Atrybut |
Wartość |
type |
LocalStoreETWType |
content |
0 elementów, 0 atrybutów |
Definicja |
lokalnie w elemecie Destinations |
name |
Magazyn lokalny |
minOccurs |
0 |
maxOccurs |
bezgraniczny |
Źródło XML
<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="LocalStore" type="LocalStoreETWType" minOccurs="0" maxOccurs="unbounded"/>
LocalStore, element (wpisz LocalStoreType)
Opisuje miejsce docelowe magazynu w węźle dla danych diagnostycznych.
Atrybut |
Wartość |
type |
LocalStoreType |
content |
0 elementów, 0 atrybutów |
Definicja |
lokalnie w elemecie Destinations, Destinations, element |
name |
Magazyn lokalny |
minOccurs |
0 |
maxOccurs |
bezgraniczny |
Źródło XML
<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="LocalStore" type="LocalStoreType" minOccurs="0" maxOccurs="unbounded"/>
LogCollectionPolicies, element
Określa, czy zbieranie dzienników jest włączone. Działa tylko w środowisku klastra platformy Azure
Źródło XML
<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" 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>
Szczegóły elementu zawartości
LogCollectionPolicy
Atrybut |
Wartość |
name |
LogCollectionPolicy |
LogCollectionPolicy, element
Atrybut |
Wartość |
type |
anonimowy typ złożony |
content |
0 elementów, 1 atrybutów |
Definicja |
lokalnie w elemecie LogCollectionPolicies |
name |
LogCollectionPolicy |
Źródło XML
<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="LogCollectionPolicy">
<xs:complexType>
<xs:attribute name="Path" type="xs:string" use="optional"/>
</xs:complexType>
</xs:element>
Szczegóły atrybutu
Ścieżka
Atrybut |
Wartość |
name |
Ścieżka |
type |
xs:string |
używać |
optional |
LogConfig, element
Określa sterownik rejestrowania dla kontenera.
Źródło XML
<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" 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>
Element LogicalDirectories
Opis ustawień LogicalDirectories skojarzonych z tym typem węzła
Atrybut |
Wartość |
type |
anonimowy typ złożony |
content |
1 elementy, 0 atrybutów |
Definicja |
lokalnie w elemecie NodeType |
name |
LogicalDirectories |
minOccurs |
0 |
Źródło XML
<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" 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>
Szczegóły elementu zawartości
LogicalDirectory
Element LogicalDirectory
Opisuje wartość LogicalDirectoryType.
Atrybut |
Wartość |
type |
LogicalDirectoryType |
content |
0 elementów, 0 atrybutów |
Definicja |
lokalnie w elemecie LogicalDirectories |
name |
LogicalDirectory |
maxOccurs |
bezgraniczny |
Źródło XML
<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="LogicalDirectory" type="LogicalDirectoryType" maxOccurs="unbounded"/>
ManagedAssembly, element
Nieobsługiwane, nie używaj. Nazwa zestawu zarządzanego (na przykład Queue.dll) do hostowania.
Źródło XML
<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="ManagedAssembly" type="ManagedAssemblyType"/>
ManifestDataPackage, element
Deklaruje folder o nazwie według atrybutu Name w obszarze PackageRoot, który zawiera pliki danych statycznych, które mają być używane przez proces w czasie wykonywania. Usługa Service Fabric będzie odtwarzać wszystkie pliki EXEs i DLLHOSTs określone w hostach i pakietach pomocy technicznej po uaktualnieniu dowolnego z pakietów danych wymienionych w manifeście usługi.
Atrybut |
Wartość |
type |
DataPackageType |
content |
0 elementów, 0 atrybutów |
Definicja |
lokalnie w elemecie ManifestDataPackages |
name |
ManifestDataPackage |
minOccurs |
0 |
maxOccurs |
bezgraniczny |
Źródło XML
<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="ManifestDataPackage" type="DataPackageType" minOccurs="0" maxOccurs="unbounded"/>
ManifestDataPackages, element
Wyświetla listę pakietów danych zawierających manifesty ETW dla składników tego manifestu usługi. Pakiet danych zawierający manifesty ETW nie powinien zawierać żadnych innych plików.
Atrybut |
Wartość |
type |
anonimowy typ złożony |
content |
1 elementy, 0 atrybutów |
Definicja |
lokalnie w elemecie ETW |
name |
ManifestDataPackages |
minOccurs |
0 |
Źródło XML
<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="ManifestDataPackages" minOccurs="0">
<xs:annotation>
<xs:documentation>Lists the data packages containing ETW manifests for the components of this service manifest. The data package containing ETW manifests should not contain any other files. </xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="ManifestDataPackage" type="DataPackageType" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
</xs:element>
Szczegóły elementu zawartości
ManifestDataPackage
Atrybut |
Wartość |
name |
ManifestDataPackage |
type |
DataPackageType |
minOccurs |
0 |
maxOccurs |
bezgraniczny |
Element członkowski
Atrybut |
Wartość |
type |
ServiceGroupMemberType |
content |
0 elementów, 0 atrybutów |
Definicja |
lokalnie w elem. Członkowie, element Członkowie |
name |
Element członkowski |
minOccurs |
1 |
maxOccurs |
bezgraniczny |
Źródło XML
<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="Member" type="ServiceGroupMemberType" minOccurs="1" maxOccurs="unbounded"/>
MemberOf, element
Użytkownicy mogą być dodawani do dowolnej istniejącej grupy członkostwa, dzięki czemu mogą dziedziczyć wszystkie właściwości i ustawienia zabezpieczeń tej grupy członkostwa. Grupa członkostwa może służyć do zabezpieczania zasobów zewnętrznych, które muszą być dostępne przez różne usługi lub tę samą usługę (na innym komputerze).
Atrybut |
Wartość |
type |
anonimowy typ złożony |
content |
2 elementy, 0 atrybutów |
Definicja |
lokalnie w elemecie User |
name |
Element członkowski |
minOccurs |
0 |
Źródło XML
<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="MemberOf" minOccurs="0">
<xs:annotation>
<xs:documentation>Users can be added to any existing membership group, so it can inherit all the properties and security settings of that membership group. The membership group can be used to secure external resources that need to be accessed by different services or the same service (on a different machine).</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:choice maxOccurs="unbounded">
<xs:element name="SystemGroup" minOccurs="0" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>The system group to add the user to. The system group must be defined in the Groups section.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:attribute name="Name" type="xs:string" use="required">
<xs:annotation>
<xs:documentation>The name of the system group.</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
</xs:element>
<xs:element name="Group" minOccurs="0" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>The group to add the user to. The group must be defined in the Groups section.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:attribute name="NameRef" type="xs:string" use="required">
<xs:annotation>
<xs:documentation>The name of the group.</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
</xs:element>
</xs:choice>
</xs:complexType>
</xs:element>
Szczegóły elementu zawartości
Grupa systemowa
Grupa systemowa, do których ma zostać dodany użytkownik. Grupa systemowa musi być zdefiniowana w sekcji Grupy.
Atrybut |
Wartość |
name |
Grupa systemowa |
minOccurs |
0 |
maxOccurs |
bezgraniczny |
Grupuj
Grupa do dodania użytkownika. Grupa musi być zdefiniowana w sekcji Grupy.
Atrybut |
Wartość |
name |
Grupuj |
minOccurs |
0 |
maxOccurs |
bezgraniczny |
Element składowy (zdefiniowany w parametrze StatefulServiceGroupType)
Usługi członkowskie tej grupy usług
Źródło XML
<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="Members" minOccurs="1" maxOccurs="1">
<xs:annotation>
<xs:documentation>Member services of this service group</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="Member" type="ServiceGroupMemberType" minOccurs="1" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
</xs:element>
Szczegóły elementu zawartości
Element członkowski
Element składowy (zdefiniowany w typie StatelessServiceGroupType)
Usługi członkowskie tej grupy usług
Źródło XML
<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="Members" minOccurs="1" maxOccurs="1">
<xs:annotation>
<xs:documentation>Member services of this service group</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="Member" type="ServiceGroupMemberType" minOccurs="1" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
</xs:element>
Szczegóły elementu zawartości
Element członkowski
Element członkostwa
Atrybut |
Wartość |
type |
anonimowy typ złożony |
content |
3 elementy, 0 atrybutów |
Definicja |
lokalnie w elem. Grupuj |
name |
Członkostwo |
minOccurs |
0 |
Źródło XML
<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" 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>
Szczegóły elementu zawartości
DomainGroup
Atrybut |
Wartość |
name |
DomainGroup |
minOccurs |
0 |
maxOccurs |
bezgraniczny |
Grupa systemowa
Atrybut |
Wartość |
name |
Grupa systemowa |
minOccurs |
0 |
maxOccurs |
bezgraniczny |
DomainUser
Atrybut |
Wartość |
name |
DomainUser |
minOccurs |
0 |
maxOccurs |
bezgraniczny |
NTLMAuthenticationPolicy, element (zdefiniowany w grupie)
Atrybut |
Wartość |
type |
anonimowy typ złożony |
content |
0 elementów, 1 atrybutów |
Definicja |
lokalnie w elem. Grupuj |
name |
NTLMAuthenticationPolicy |
minOccurs |
0 |
Źródło XML
<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="NTLMAuthenticationPolicy" minOccurs="0">
<xs:complexType>
<xs:attribute name="IsEnabled" type="xs:boolean" use="optional" default="true"/>
</xs:complexType>
</xs:element>
Szczegóły atrybutu
IsEnabled
Atrybut |
Wartość |
name |
IsEnabled |
type |
xs:boolean |
używać |
optional |
domyślna |
prawda |
NTLMAuthenticationPolicy, element (zdefiniowany w użytkowniku)
Atrybut |
Wartość |
type |
anonimowy typ złożony |
content |
0 elementów, 6 atrybutów |
Definicja |
lokalnie w elemecie User |
name |
NTLMAuthenticationPolicy |
minOccurs |
0 |
Źródło XML
<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" 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>
Szczegóły atrybutu
IsEnabled
Atrybut |
Wartość |
name |
IsEnabled |
type |
xs:boolean |
używać |
optional |
domyślna |
prawda |
PasswordSecret
Atrybut |
Wartość |
name |
PasswordSecret |
type |
xs:string |
używać |
wymagane |
PasswordSecretEncrypted
Atrybut |
Wartość |
name |
PasswordSecretEncrypted |
type |
xs:boolean |
używać |
optional |
domyślna |
fałsz |
X509StoreLocation
Atrybut |
Wartość |
name |
X509StoreLocation |
używać |
optional |
domyślna |
LocalMachine |
X509StoreName
Atrybut |
Wartość |
name |
X509StoreName |
domyślna |
Moje |
X509Thumbprint
Atrybut |
Wartość |
name |
X509Thumbprint |
type |
xs:string |
Nazwanapartition, element
Opisuje nazwany schemat partycjonowania na podstawie nazw dla każdej partycji.
Źródło XML
<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="NamedPartition">
<xs:annotation>
<xs:documentation>Describes a named partitioning scheme based on names for each partition.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence maxOccurs="unbounded">
<xs:element name="Partition">
<xs:annotation>
<xs:documentation>Describes a partition by name.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:attribute name="Name" use="required">
<xs:annotation>
<xs:documentation>The name of the partition</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:minLength value="1"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
Szczegóły elementu zawartości
Partycja
Opisuje partycję według nazwy.
Atrybut |
Wartość |
name |
Partycja |
NamingReplicatorEndpoint, element
Źródło XML
<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="NamingReplicatorEndpoint" type="InternalEndpointType" minOccurs="0"/>
NetworkConfig, element
Określa konfigurację sieci dla kontenera.
Źródło XML
<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" 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>
NetworkPolicies, element
Określa zasady sieciowe, w tym zasady sieci kontenera.
Źródło XML
<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" 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>
Node, element (type FabricNodeType)
Opisuje węzeł usługi Microsoft Azure Service Fabric.
Atrybut |
Wartość |
type |
FabricNodeType |
content |
0 elementów, 0 atrybutów |
Definicja |
lokalnie w elemecie NodeList, NodeList, element |
name |
Węzeł |
maxOccurs |
bezgraniczny |
Źródło XML
<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="Node" type="FabricNodeType" maxOccurs="unbounded"/>
Node, element (typ InfrastructureNodeType)
Opisuje wymagane informacje o infrastrukturze.
Atrybut |
Wartość |
type |
InfrastructureNodeType |
content |
0 elementów, 0 atrybutów |
Definicja |
lokalnie w elemecie NodeList |
name |
Węzeł |
maxOccurs |
bezgraniczny |
Źródło XML
<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="Node" type="InfrastructureNodeType" maxOccurs="unbounded"/>
Źródło XML
<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="NodeList">
<xs:complexType>
<xs:sequence>
<xs:element name="Node" type="InfrastructureNodeType" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
</xs:element>
Szczegóły elementu zawartości
Węzeł
NodeList, element (zdefiniowany w elemecie LinuxInfrastructureType)
Źródło XML
<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="NodeList">
<xs:complexType>
<xs:sequence>
<xs:element name="Node" type="FabricNodeType" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
</xs:element>
Szczegóły elementu zawartości
Węzeł
NodeList, element (zdefiniowany w elemecie WindowsInfrastructureType)
Źródło XML
<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="NodeList">
<xs:complexType>
<xs:sequence>
<xs:element name="Node" type="FabricNodeType" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
</xs:element>
Szczegóły elementu zawartości
Węzeł
NodeType, element
Opisz typ węzła.
Atrybut |
Wartość |
type |
anonimowy typ złożony |
content |
7 elementów, 1 atrybutów |
Definicja |
lokalnie w elemecie NodeTypes |
name |
Typ węzła |
maxOccurs |
bezgraniczny |
Źródło XML
<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" 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>
Szczegóły atrybutu
Nazwisko
Nazwa typu NodeType
Atrybut |
Wartość |
name |
Nazwisko |
type |
xs:string |
używać |
wymagane |
Szczegóły elementu zawartości
Punkty końcowe
Opisywanie punktów końcowych skojarzonych z tym typem węzła
KtlLoggerSettings
Opis informacji KtlLogger skojarzonych z tym typem węzła
LogicalDirectories
Opis ustawień LogicalDirectories skojarzonych z tym typem węzła
Atrybut |
Wartość |
name |
LogicalDirectories |
minOccurs |
0 |
Certyfikaty
Opis certyfikatów skojarzonych z tym typem węzła
UmieszczanieWłaściwości
Opisz właściwości dla tego typu węzła, które będą używane jako ograniczenia umieszczania
Atrybut |
Wartość |
name |
UmieszczanieWłaściwości |
minOccurs |
0 |
Pojemności
Pojemności różnych metryk dla tego typu węzła
Atrybut |
Wartość |
name |
Pojemności |
minOccurs |
0 |
SfsssRgPolicies
Zasady ładu zasobów usług systemowych SF dla tego typu węzła
Atrybut |
Wartość |
name |
SfsssRgPolicies |
minOccurs |
0 |
NodeTypes, element
Źródło XML
<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" 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>
Szczegóły elementu zawartości
Typ węzła
Opisz typ węzła.
Atrybut |
Wartość |
name |
Typ węzła |
maxOccurs |
bezgraniczny |
PaaS, element
Atrybut |
Wartość |
type |
anonimowy typ złożony |
content |
2 elementy, 0 atrybutów |
Definicja |
lokalnie w elemecie Infrastruktura |
name |
Paas |
Źródło XML
<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" 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>
Szczegóły elementu zawartości
Role
Atrybut |
Wartość |
name |
Role |
Głosy
Atrybut |
Wartość |
name |
Głosy |
PackageSharingPolicy, element
Wskazuje, czy kod, konfiguracja lub pakiet danych powinien być współużytkowany między wystąpieniami usługi tego samego typu usługi.
Źródło XML
<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="PackageSharingPolicy" type="PackageSharingPolicyType" minOccurs="0"/>
Parametr, element (typ ParameterType)
Źródło XML
<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="Parameter" type="ParameterType" minOccurs="1" maxOccurs="unbounded"/>
Element parametru zdefiniowany w parametrach
Parametr aplikacji do użycia w tym manifeście. Wartość parametru można zmienić podczas tworzenia wystąpienia aplikacji lub, jeśli nie podano wartości domyślnej.
Atrybut |
Wartość |
type |
anonimowy typ złożony |
content |
0 elementów, 2 atrybuty |
Definicja |
lokalnie w elemecie Parameters |
name |
Parametr |
block |
|
minOccurs |
0 |
maxOccurs |
bezgraniczny |
Źródło XML
<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="Parameter" block="" minOccurs="0" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>An application parameter to be used in this manifest. The parameter value can be changed during application instantiation, or, if no value is supplied the default value is used.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:attribute name="Name" use="required">
<xs:annotation>
<xs:documentation>The name of the parameter to be used in the manifest as "[Name]".</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:minLength value="1"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
<xs:attribute name="DefaultValue" type="xs:string" use="required">
<xs:annotation>
<xs:documentation>Default value for the parameter, used if the parameter value is not provided during application instantiation.</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
</xs:element>
Szczegóły atrybutu
Nazwisko
Nazwa parametru, który ma być używany w manifeście jako "[Name]".
Atrybut |
Wartość |
name |
Nazwisko |
używać |
wymagane |
DefaultValue
Wartość domyślna parametru, używana, jeśli wartość parametru nie jest podana podczas tworzenia wystąpienia aplikacji.
Atrybut |
Wartość |
name |
DefaultValue |
type |
xs:string |
używać |
wymagane |
Parametr, element (zdefiniowany w parametrach)
Atrybut |
Wartość |
type |
anonimowy typ złożony |
content |
0 elementów, 0 atrybutów |
Definicja |
lokalnie w elemecie Parameters |
name |
Parametr |
minOccurs |
0 |
maxOccurs |
bezgraniczny |
Źródło XML
<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="Parameter" minOccurs="0" maxOccurs="unbounded">
<xs:complexType>
<xs:attributeGroup ref="NameValuePair"/>
</xs:complexType>
</xs:element>
Element parametru zdefiniowany w sekcji
Ustawienie, które ma zastąpić.
Atrybut |
Wartość |
type |
anonimowy typ złożony |
content |
0 elementów, 2 atrybuty |
Definicja |
lokalnie w elemecie Sekcji |
name |
Parametr |
minOccurs |
0 |
maxOccurs |
bezgraniczny |
Źródło XML
<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="Parameter" minOccurs="0" maxOccurs="unbounded">
<xs: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>
Szczegóły atrybutu
IsEncrypted
Jeśli wartość true, wartość tego parametru jest szyfrowana. Deweloper aplikacji jest odpowiedzialny za utworzenie certyfikatu i użycie polecenia cmdlet Invoke-ServiceFabricEncryptSecret w celu szyfrowania poufnych informacji. Informacje o certyfikacie, które będą używane do szyfrowania wartości, są określone w sekcji Certyfikaty. Ten atrybut jest przestarzały. Użyj atrybutu Type.
Atrybut |
Wartość |
name |
IsEncrypted |
type |
xs:boolean |
domyślna |
fałsz |
Typ
Ta wartość definiuje typ wartości określonej w atrybucie "Value". Może to być SecretsStoreRef/Encrypted/PlainText.
Jeśli ustawiono wartość SecretsStoreRef, pobieramy wartość odwołania z secretStore.
Jeśli jest ustawiona wartość Encrypted, deweloper aplikacji jest odpowiedzialny za utworzenie certyfikatu i użycie polecenia cmdlet Invoke-ServiceFabricEncryptSecret w celu szyfrowania poufnych informacji.
Atrybut |
Wartość |
name |
Typ |
type |
xs:string |
używać |
optional |
Parametr, element (zdefiniowany w sekcji)
Atrybut |
Wartość |
type |
anonimowy typ złożony |
content |
0 elementów, 5 atrybutów |
Definicja |
lokalnie w elemecie Sekcji |
name |
Parametr |
minOccurs |
0 |
maxOccurs |
bezgraniczny |
Źródło XML
<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="Parameter" minOccurs="0" maxOccurs="unbounded">
<xs:complexType>
<xs:attribute name="Name" type="xs:string" use="required"/>
<xs:attribute name="Value" type="xs:string" use="required"/>
<xs:attribute name="MustOverride" type="xs:boolean" default="false">
<xs:annotation>
<xs:documentation>If true, the value of this parameter must be overridden by higher level configuration.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="IsEncrypted" type="xs:boolean" default="false">
<xs:annotation>
<xs:documentation>If true, the value of this parameter is encrypted.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="Type" type="xs:string" use="optional"/>
</xs:complexType>
</xs:element>
Szczegóły atrybutu
Nazwisko
Atrybut |
Wartość |
name |
Nazwisko |
type |
xs:string |
używać |
wymagane |
Wartość
Atrybut |
Wartość |
name |
Wartość |
type |
xs:string |
używać |
wymagane |
MustOverride
Jeśli wartość true, wartość tego parametru musi zostać zastąpiona przez konfigurację wyższego poziomu.
Atrybut |
Wartość |
name |
MustOverride |
type |
xs:boolean |
domyślna |
fałsz |
IsEncrypted
Jeśli wartość true, wartość tego parametru jest szyfrowana.
Atrybut |
Wartość |
name |
IsEncrypted |
type |
xs:boolean |
domyślna |
fałsz |
Typ
Atrybut |
Wartość |
name |
Typ |
type |
xs:string |
używać |
optional |
Parameters, element (typ ParametersType)
Dodatkowe ustawienia określone jako pary name-value
Atrybut |
Wartość |
type |
ParametersType |
content |
0 elementów, 0 atrybutów |
Definicja |
globalnie |
name |
Parametry |
Źródło XML
<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="Parameters" type="ParametersType">
<xs:annotation>
<xs:documentation>Additional settings specified as name-value pairs</xs:documentation>
</xs:annotation>
</xs:element>
Parameters, element (zdefiniowany w elementy AppInstanceDefinitionType)
Lista parametrów aplikacji zgodnie z definicją w manifeście aplikacji i ich odpowiednich wartościach.
Źródło XML
<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="Parameters">
<xs:annotation>
<xs:documentation>List of parameters for the application as defined in application manifest and their respective values.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="Parameter" minOccurs="0" maxOccurs="unbounded">
<xs:complexType>
<xs:attributeGroup ref="NameValuePair"/>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
Szczegóły elementu zawartości
Parametr
Atrybut |
Wartość |
name |
Parametr |
minOccurs |
0 |
maxOccurs |
bezgraniczny |
Parameters, element (zdefiniowany w elemecie ApplicationManifestType)
Deklaruje parametry używane w tym manifeście aplikacji. Wartość tych parametrów można podać, gdy aplikacja jest tworzone i może służyć do zastępowania ustawień konfiguracji aplikacji lub usługi.
Źródło XML
<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="Parameters" minOccurs="0">
<xs:annotation>
<xs:documentation>Declares the parameters that are used in this application manifest. The value of these parameters can be supplied when the application is instantiated and can be used to override application or service configuration settings.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="Parameter" block="" minOccurs="0" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>An application parameter to be used in this manifest. The parameter value can be changed during application instantiation, or, if no value is supplied the default value is used.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:attribute name="Name" use="required">
<xs:annotation>
<xs:documentation>The name of the parameter to be used in the manifest as "[Name]".</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:minLength value="1"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
<xs:attribute name="DefaultValue" type="xs:string" use="required">
<xs:annotation>
<xs:documentation>Default value for the parameter, used if the parameter value is not provided during application instantiation.</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
Szczegóły elementu zawartości
Parametr
Parametr aplikacji do użycia w tym manifeście. Wartość parametru można zmienić podczas tworzenia wystąpienia aplikacji lub, jeśli nie podano wartości domyślnej.
Atrybut |
Wartość |
name |
Parametr |
block |
|
minOccurs |
0 |
maxOccurs |
bezgraniczny |
Element partycji
Opisuje partycję według nazwy.
Atrybut |
Wartość |
type |
anonimowy typ złożony |
content |
0 elementów, 1 atrybutów |
Definicja |
lokalnie w elementu NamedPartition |
name |
Partycja |
Źródło XML
<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="Partition">
<xs:annotation>
<xs:documentation>Describes a partition by name.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:attribute name="Name" use="required">
<xs:annotation>
<xs:documentation>The name of the partition</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:minLength value="1"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
</xs:complexType>
</xs:element>
Szczegóły atrybutu
Nazwisko
Nazwa partycji
Atrybut |
Wartość |
name |
Nazwisko |
używać |
wymagane |
PersistencePolicy, element
Rozszerzenie zasad trwałości dla typu usługi
Atrybut |
Wartość |
type |
anonimowy typ złożony |
content |
1 elementy, 4 atrybuty |
Definicja |
globalnie |
name |
TrwałośćPolicy |
Źródło XML
<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="PersistencePolicy">
<xs:annotation>
<xs:documentation>Persistence Policy extension for the Service Type</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="Properties" type="ServiceTypeExtensionPolicyPropertiesType" minOccurs="0"/>
</xs:sequence>
<xs:attribute name="Name" type="xs:string" use="required"/>
<xs:attribute name="Mode" use="required">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:enumeration value="Synchronous"/>
<xs:enumeration value="Asynchronous"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
<xs:attribute name="WriteBehind" type="xs:string" use="required"/>
<xs:attribute name="Provider" type="xs:string" use="required"/>
</xs:complexType>
</xs:element>
Szczegóły atrybutu
Nazwisko
Atrybut |
Wartość |
name |
Nazwisko |
type |
xs:string |
używać |
wymagane |
Tryb
Atrybut |
Wartość |
name |
Tryb |
używać |
wymagane |
WriteBehind
Atrybut |
Wartość |
name |
WriteBehind |
type |
xs:string |
używać |
wymagane |
Dostawca
Atrybut |
Wartość |
name |
Dostawca |
type |
xs:string |
używać |
wymagane |
Szczegóły elementu zawartości
Właściwości
Element Ograniczenia umieszczania
Służy do kontrolowania węzłów w klastrze, na których można uruchomić usługę. Para klucz/wartość, która opisuje nazwę właściwości węzła i wymagania usługi dla wartości. Poszczególne instrukcje można grupować razem z prostą logiką logiczną w celu utworzenia niezbędnego ograniczenia. Na przykład "(FirmwareVersion>12 && InDMZ == True)".
Źródło XML
<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="PlacementConstraints" type="xs:string" minOccurs="0">
<xs:annotation>
<xs:documentation>Used to control which nodes in the cluster a service can run on. A key/value pair which describes the node property name and the service's requirements for the value. Individual statements can be grouped together with simple boolean logic to create the necessary constraint. For example, "(FirmwareVersion>12 && InDMZ == True)".</xs:documentation>
</xs:annotation>
</xs:element>
PlacementProperties, element
Opisz właściwości dla tego typu węzła, które będą używane jako ograniczenia umieszczania
Atrybut |
Wartość |
type |
anonimowy typ złożony |
content |
1 elementy, 0 atrybutów |
Definicja |
lokalnie w elemecie NodeType |
name |
UmieszczanieWłaściwości |
minOccurs |
0 |
Źródło XML
<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="PlacementProperties" minOccurs="0">
<xs:annotation>
<xs:documentation>Describe the properties for this NodeType that will be used as placement constraints</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="Property" type="KeyValuePairType" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
</xs:element>
Szczegóły elementu zawartości
Właściwości
Atrybut |
Wartość |
name |
Właściwość |
type |
KeyValuePairType |
minOccurs |
0 |
maxOccurs |
bezgraniczny |
Policies, element (typ ApplicationPoliciesType)
Opisuje zasady (zbieranie dzienników, domyślne uruchamianie jako, kondycja i dostęp zabezpieczeń) do zastosowania na poziomie aplikacji.
Źródło XML
<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="Policies" type="ApplicationPoliciesType" minOccurs="0"/>
Policies, element (typ ServiceManifestImportPoliciesType)
Opisuje zasady (powiązanie punktu końcowego, udostępnianie pakietów, uruchamianie jako i dostęp zabezpieczeń) do zastosowania w zaimportowanym manifeście usługi.
Źródło XML
<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="Policies" type="ServiceManifestImportPoliciesType" minOccurs="0"/>
PortBinding, element
Określa, który zasób punktu końcowego ma powiązać uwidoczniony port kontenera.
Źródło XML
<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="PortBinding" type="PortBindingType" minOccurs="0" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>Specifies which endpoint resource to bind container exposed port.</xs:documentation>
</xs:annotation>
</xs:element>
Principals, element
Opisuje podmioty zabezpieczeń (użytkowników, grupy) wymagane dla tej aplikacji do uruchamiania usług i zabezpieczania zasobów. Podmioty zabezpieczeń są przywołyne w sekcjach zasad.
Źródło XML
<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="Principals" type="SecurityPrincipalsType" minOccurs="0"/>
Element programu
Nazwa pliku wykonywalnego. Na przykład "MySetup.bat" lub "MyServiceHost.exe".
Źródło XML
<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="Program" type="xs:string">
<xs:annotation>
<xs:documentation>The executable name. For example, "MySetup.bat" or "MyServiceHost.exe".</xs:documentation>
</xs:annotation></xs:element>
Properties, element
Definiuje właściwości zasad trwałości i eksmisji.
Źródło XML
<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="Properties" type="ServiceTypeExtensionPolicyPropertiesType" minOccurs="0"/>
Property, element (typ KeyValuePairType)
Atrybut |
Wartość |
type |
KeyValuePairType |
content |
0 elementów, 0 atrybutów |
Definicja |
lokalnie w elemecie PlacementProperties |
name |
Właściwości |
minOccurs |
0 |
maxOccurs |
bezgraniczny |
Źródło XML
<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="Property" type="KeyValuePairType" minOccurs="0" maxOccurs="unbounded"/>
Element właściwości (zdefiniowany w parametrze ServiceTypeExtensionPolicyPropertiesType)
Źródło XML
<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" 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>
Szczegóły atrybutu
Nazwisko
Atrybut |
Wartość |
name |
Nazwisko |
type |
xs:string |
używać |
wymagane |
Wartość
Atrybut |
Wartość |
name |
Wartość |
type |
xs:string |
używać |
wymagane |
ProviderGuid, element
Atrybut |
Wartość |
type |
anonimowy typ złożony |
content |
0 elementów, 1 atrybutów |
Definicja |
lokalnie w elemecie ProviderGuids |
name |
ProviderGuid |
minOccurs |
0 |
maxOccurs |
bezgraniczny |
Źródło XML
<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" 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>
Szczegóły atrybutu
Wartość
Atrybut |
Wartość |
name |
Wartość |
używać |
wymagane |
ProviderGuids, element
Wyświetla identyfikatory GUID dostawcy ETW dla składników tego manifestu usługi.
Atrybut |
Wartość |
type |
anonimowy typ złożony |
content |
1 elementy, 0 atrybutów |
Definicja |
lokalnie w elemecie ETW |
name |
ProviderGuids |
minOccurs |
0 |
Źródło XML
<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" 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>
Szczegóły elementu zawartości
ProviderGuid
Atrybut |
Wartość |
name |
ProviderGuid |
minOccurs |
0 |
maxOccurs |
bezgraniczny |
RepairManagerReplicatorEndpoint, element
Źródło XML
<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="RepairManagerReplicatorEndpoint" type="InternalEndpointType" minOccurs="0"/>
RepositoryCredentials, element
Poświadczenia repozytorium obrazów kontenera do ściągania obrazów.
Źródło XML
<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" 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>
ResourceGovernancePolicy, element
Określa limity zasobów dla pakietu kodu.
Źródło XML
<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="ResourceGovernancePolicy" type="ResourceGovernancePolicyType" minOccurs="0">
<xs:annotation>
<xs:documentation>Specifies resource limits for a codepackage.</xs:documentation>
</xs:annotation>
</xs:element>
ResourceOverrides, element
Określa przesłonięcia zasobów dla punktów końcowych zadeklarowanych w zasobach manifestu usługi.
Atrybut |
Wartość |
type |
ResourceOverridesType |
content |
0 elementów, 0 atrybutów |
Definicja |
lokalnie w elemecie ServiceManifestImport |
name |
Przesłonięcia zasobów |
minOccurs |
0 |
Źródło XML
<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="ResourceOverrides" type="ResourceOverridesType" minOccurs="0"/>
Element Resources
Opisuje zasoby używane przez tę usługę, które można zadeklarować bez modyfikowania skompilowanego kodu i zmieniane podczas wdrażania usługi. Dostęp do tych zasobów jest kontrolowany za pośrednictwem sekcji Podmioty zabezpieczeń i zasady manifestu aplikacji.
Źródło XML
<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="Resources" type="ResourcesType" minOccurs="0"/>
Element roli (typ AzureRoleType)
Atrybut |
Wartość |
type |
AzureRoleType |
content |
0 elementów, 0 atrybutów |
Definicja |
lokalnie w elemecie Role |
name |
Rola |
maxOccurs |
bezgraniczny |
Źródło XML
<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="Role" type="AzureRoleType" maxOccurs="unbounded"/>
Element roli (typ BlackbirdRoleType)
Atrybut |
Wartość |
type |
BlackbirdRoleType |
content |
0 elementów, 0 atrybutów |
Definicja |
lokalnie w elemecie Role |
name |
Rola |
minOccurs |
1 |
maxOccurs |
bezgraniczny |
Źródło XML
<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="Role" type="BlackbirdRoleType" minOccurs="1" maxOccurs="unbounded"/>
Element roli (typ PaaSRoleType)
Atrybut |
Wartość |
type |
PaaSRoleType |
content |
0 elementów, 0 atrybutów |
Definicja |
lokalnie w elemecie Role |
name |
Rola |
maxOccurs |
bezgraniczny |
Źródło XML
<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="Role" type="PaaSRoleType" maxOccurs="unbounded"/>
Roles, element (zdefiniowany w blackbird)
Atrybut |
Wartość |
type |
anonimowy typ złożony |
content |
1 elementy, 0 atrybutów |
Definicja |
lokalnie w elemecie Blackbird |
name |
Role |
Źródło XML
<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="Roles">
<xs:complexType>
<xs:sequence>
<xs:element name="Role" type="BlackbirdRoleType" minOccurs="1" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
</xs:element>
Szczegóły elementu zawartości
Rola
Roles, element (zdefiniowany w usłudze PaaS)
Atrybut |
Wartość |
type |
anonimowy typ złożony |
content |
1 elementy, 0 atrybutów |
Definicja |
lokalnie w elemecie PaaS |
name |
Role |
Źródło XML
<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="Roles">
<xs:complexType>
<xs:sequence>
<xs:element name="Role" type="PaaSRoleType" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
</xs:element>
Szczegóły elementu zawartości
Rola
Atrybut |
Wartość |
name |
Rola |
type |
PaaSRoleType |
maxOccurs |
bezgraniczny |
Roles, element (zdefiniowany w systemie WindowsAzure)
Atrybut |
Wartość |
type |
anonimowy typ złożony |
content |
1 elementy, 0 atrybutów |
Definicja |
lokalnie w systemie WindowsAzure, element |
name |
Role |
Źródło XML
<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="Roles">
<xs:complexType>
<xs:sequence>
<xs:element name="Role" type="AzureRoleType" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
</xs:element>
Szczegóły elementu zawartości
Rola
Atrybut |
Wartość |
name |
Rola |
type |
AzureRoleType |
maxOccurs |
bezgraniczny |
RunAsPolicy, element
Określa konto użytkownika lokalnego lub lokalnego systemu, w ramach którego zostanie uruchomiony pakiet kodu usługi. Konta domeny są obsługiwane we wdrożeniach systemu Windows Server, w których jest dostępny identyfikator Entra firmy Microsoft. Domyślnie aplikacje są uruchamiane na koncie, w ramach którego działa proces Fabric.exe. Aplikacje mogą być również uruchamiane jako inne konta, które muszą być zadeklarowane w sekcji Podmioty zabezpieczeń. Jeśli zastosujesz zasady Uruchom jako do usługi, a manifest usługi deklaruje zasoby punktu końcowego przy użyciu protokołu HTTP, należy również określić zasadę SecurityAccessPolicy, aby upewnić się, że porty przydzielone do tych punktów końcowych są prawidłowo kontrolowane przez użytkownika wymienione dla konta użytkownika Uruchom jako uruchomione przez usługę. W przypadku punktu końcowego HTTPS należy również zdefiniować punkt końcowyBindingPolicy, aby wskazać nazwę certyfikatu, który ma powrócić do klienta.
Źródło XML
<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="RunAsPolicy" type="RunAsPolicyType" minOccurs="0"/>
RunFrequency, element
Atrybut |
Wartość |
type |
anonimowy typ złożony |
content |
0 elementów, 1 atrybutów |
Definicja |
lokalnie w elemecie ExeHost |
name |
RunFrequency |
minOccurs |
0 |
Źródło XML
<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" 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>
Szczegóły atrybutu
IntervalInSeconds
Atrybut |
Wartość |
name |
IntervalInSeconds |
używać |
wymagane |
ScalingPolicy, element
Opis zasad skalowania składający się z wyzwalacza i mechanizmu skalowania.
Atrybut |
Wartość |
type |
ScalingPolicyType |
content |
0 elementów, 0 atrybutów |
Definicja |
lokalnie w elemecie ServiceScalingPolicies |
name |
ScalingPolicy |
maxOccurs |
bezgraniczny |
Źródło XML
<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="ScalingPolicy" type="ScalingPolicyType" maxOccurs="unbounded"/>
SecretsCertificate, element
Określa informacje o certyfikacie.
Atrybut |
Wartość |
type |
FabricCertificateType |
content |
0 elementów, 0 atrybutów |
Definicja |
lokalnie w elem. Certificates, Certificates, DigestedCertificates, element |
name |
Wpisy tajneCertyfikat |
minOccurs |
0 |
Źródło XML
<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="SecretsCertificate" type="FabricCertificateType" minOccurs="0"/>
Section, element (zdefiniowany w obszarze SettingsOverridesType)
Sekcja w pliku Settings.xml do zastąpienia.
Źródło XML
<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="Section" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>A section in the Settings.xml file to override.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="Parameter" minOccurs="0" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>The setting to override.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:attributeGroup ref="NameValuePair"/>
<xs:attribute name="IsEncrypted" type="xs:boolean" default="false">
<xs:annotation>
<xs:documentation>
If true, the value of this parameter is encrypted. The application developer is responsible for creating a certificate and using the Invoke-ServiceFabricEncryptSecret cmdlet to encrypt sensitive information. The certificate information that will be used to encrypt the value is specified in the Certificates section. This attribute is deprecated. Please use Type attribute.
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="Type" type="xs:string" use="optional">
<xs:annotation>
<xs:documentation>
This value defines the type of value you have specified in the 'Value' Attribute. It can be SecretsStoreRef/Encrypted/PlainText.
If set to SecretsStoreRef, we retrieve the reference value from the SecretStore.
If set to Encrypted, the application developer is responsible for creating a certificate and using the Invoke-ServiceFabricEncryptSecret cmdlet to encrypt sensitive information.
</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
</xs:element>
</xs:sequence>
<xs:attribute name="Name" use="required">
<xs:annotation>
<xs:documentation>The name of the section in the Settings.xml file to override.</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:minLength value="1"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
</xs:complexType>
</xs:element>
Szczegóły atrybutu
Nazwisko
Nazwa sekcji w pliku Settings.xml do zastąpienia.
Atrybut |
Wartość |
name |
Nazwisko |
używać |
wymagane |
Szczegóły elementu zawartości
Parametr
Ustawienie, które ma zastąpić.
Atrybut |
Wartość |
name |
Parametr |
minOccurs |
0 |
maxOccurs |
bezgraniczny |
Section, element (zdefiniowany w obszarze SettingsType)
Sekcja nazwana zdefiniowana przez użytkownika.
Atrybut |
Wartość |
type |
anonimowy typ złożony |
content |
1 elementy, 1 atrybuty |
Definicja |
lokalnie w obszarze SettingsType complexType |
name |
Sekcja |
minOccurs |
0 |
maxOccurs |
bezgraniczny |
Źródło XML
<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="Section" minOccurs="0" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>A user-defined named section.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="Parameter" minOccurs="0" maxOccurs="unbounded">
<xs:complexType>
<xs:attribute name="Name" type="xs:string" use="required"/>
<xs:attribute name="Value" type="xs:string" use="required"/>
<xs:attribute name="MustOverride" type="xs:boolean" default="false">
<xs:annotation>
<xs:documentation>If true, the value of this parameter must be overridden by higher level configuration.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="IsEncrypted" type="xs:boolean" default="false">
<xs:annotation>
<xs:documentation>If true, the value of this parameter is encrypted.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="Type" type="xs:string" use="optional"/>
</xs:complexType>
</xs:element>
</xs:sequence>
<xs:attribute name="Name" type="xs:string" use="required"/>
</xs:complexType>
</xs:element>
Szczegóły atrybutu
Nazwisko
Atrybut |
Wartość |
name |
Nazwisko |
type |
xs:string |
używać |
wymagane |
Szczegóły elementu zawartości
Parametr
Atrybut |
Wartość |
name |
Parametr |
minOccurs |
0 |
maxOccurs |
bezgraniczny |
SecurityAccessPolicies, element
Lista zasad zabezpieczeń stosowanych do zasobów na poziomie aplikacji.
Źródło XML
<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="SecurityAccessPolicies" minOccurs="0">
<xs:annotation>
<xs:documentation>List of security policies applied to resources at the application level.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence maxOccurs="unbounded">
<xs:element name="SecurityAccessPolicy" type="SecurityAccessPolicyType"/>
</xs:sequence>
</xs:complexType>
</xs:element>
Szczegóły elementu zawartości
SecurityAccessPolicy
SecurityAccessPolicy, element
Udziela uprawnień dostępu do jednostki w zasobie (takim jak punkt końcowy) zdefiniowanym w manifeście usługi. Zazwyczaj bardzo przydatne jest kontrolowanie i ograniczanie dostępu do usług do różnych zasobów w celu zminimalizowania ryzyka bezpieczeństwa. Jest to szczególnie ważne, gdy aplikacja jest tworzona na podstawie kolekcji usług z platformy handlowej, które są opracowywane przez różnych deweloperów.
Źródło XML
<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="SecurityAccessPolicy" type="SecurityAccessPolicyType" minOccurs="0"/>
SecurityOption, element
Określa zabezpieczenia kontenera.
Źródło XML
<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="SecurityOption" type="SecurityOptionsType" minOccurs="0" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>Specifies securityoptions for the container.</xs:documentation>
</xs:annotation>
</xs:element>
ServerCertificate, element
Certyfikat używany do zabezpieczania komunikacji wewnątrz klastra.
Źródło XML
<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="ServerCertificate" type="FabricCertificateType" minOccurs="0">
<xs:annotation>
<xs:documentation>The certificate used to secure the intra cluster communication.</xs:documentation>
</xs:annotation>
</xs:element>
Service, element
Deklaruje usługę, która ma zostać utworzona automatycznie po utworzeniu wystąpienia aplikacji.
Źródło XML
<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="Service">
<xs:annotation>
<xs:documentation>Declares a service to be created automatically when the application is instantiated.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:choice minOccurs="0">
<xs:element name="StatelessService" type="StatelessServiceType"/>
<xs:element name="StatefulService" type="StatefulServiceType"/>
</xs:choice>
<xs:attribute name="Name" type="xs:string" use="required">
<xs:annotation>
<xs:documentation>The service name, used to form the fully qualified application name URI. The fully qualified name URI of the service would be: fabric:/ApplicationName/ServiceName.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="GeneratedIdRef" type="xs:string" use="optional">
<xs:annotation>
<xs:documentation>Reference to the auto generated id used by Visual Studio tooling.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="ServiceDnsName" type="xs:string" use="optional">
<xs:annotation>
<xs:documentation>The DNS name of the service.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="ServicePackageActivationMode" type="xs:string" use="optional" default="SharedProcess">
<xs:annotation>
<xs:documentation>ServicePackageActivationMode to be used when creating the service. Allowed values are 'SharedProcess' and 'ExclusiveProcess'. With SharedProcess mode, replica(s) or instance(s) from different partition(s) of service will share same activation of service package on a node. With ExclusiveProcess mode, each replica or instance of service will have its own dedicated activation of service package.</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
</xs:element>
Szczegóły atrybutu
Nazwisko
Nazwa usługi używana do utworzenia w pełni kwalifikowanego identyfikatora URI nazwy aplikacji. W pełni kwalifikowany identyfikator URI nazwy usługi to: fabric:/ApplicationName/ServiceName.
Atrybut |
Wartość |
name |
Nazwisko |
type |
xs:string |
używać |
wymagane |
GeneratedIdRef
Odwołanie do wygenerowanego automatycznie identyfikatora używanego przez narzędzia programu Visual Studio.
Atrybut |
Wartość |
name |
GeneratedIdRef |
type |
xs:string |
używać |
optional |
ServiceDnsName
Nazwa DNS usługi.
Atrybut |
Wartość |
name |
ServiceDnsName |
type |
xs:string |
używać |
optional |
ServicePackageActivationMode
ServicePackageActivationMode do użycia podczas tworzenia usługi. Dozwolone wartości to "SharedProcess" i "ExclusiveProcess". W trybie SharedProcess repliki lub wystąpienia z różnych partycji usługi będą współdzielić tę samą aktywację pakietu usługi w węźle. W trybie ExclusiveProcess każda replika lub wystąpienie usługi będzie mieć własną dedykowaną aktywację pakietu usługi.
Atrybut |
Wartość |
name |
ServicePackageActivationMode |
type |
xs:string |
używać |
optional |
domyślna |
SharedProcess |
Szczegóły elementu zawartości
StatelessService
StatefulService
ServiceConnectionEndpoint, element
Źródło XML
<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="ServiceConnectionEndpoint" type="InternalEndpointType" minOccurs="0"/>
ServiceCorrelation, element
Definiuje relację koligacji z inną usługą. Przydatne podczas dzielenia wcześniej monolitycznej aplikacji na mikrousługi. Jedna usługa ma lokalną zależność od innej usługi, a obie usługi muszą działać w tym samym węźle.
Atrybut |
Wartość |
type |
anonimowy typ złożony |
content |
0 elementów, 2 atrybuty |
Definicja |
lokalnie w elemecie ServiceCorrelations |
name |
ServiceCorrelation |
maxOccurs |
bezgraniczny |
Źródło XML
<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="ServiceCorrelation" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>Defines an affinity relationship with another service. Useful when splitting a previously-monolithic application into microservices. One service has a local dependency on another service and both services need to run on the same node in order to work.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:attribute name="ServiceName" use="required">
<xs:annotation>
<xs:documentation>The name of the other service as a URI. Example, "fabric:/otherApplication/parentService".</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:minLength value="1"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
<xs:attribute name="Scheme" use="required">
<xs:annotation>
<xs:documentation>In NonAlignedAffinity the replicas or instances of the different services are placed on the same nodes. AlignedAffinity is used with stateful services. Configuring one stateful service as having aligned affinity with another stateful service ensures that the primaries of those services are placed on the same nodes as each other, and that each pair of secondaries are also placed on the same nodes.</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:enumeration value="Affinity"/>
<xs:enumeration value="AlignedAffinity"/>
<xs:enumeration value="NonAlignedAffinity"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
</xs:complexType>
</xs:element>
Szczegóły atrybutu
ServiceName
Nazwa innej usługi jako identyfikator URI. Na przykład "fabric:/otherApplication/parentService".
Atrybut |
Wartość |
name |
ServiceName |
używać |
wymagane |
Schemat
W obszarze NonAlignedAffinity repliki lub wystąpienia różnych usług są umieszczane w tych samych węzłach. Funkcja AlignedAffinity jest używana z usługami stanowymi. Skonfigurowanie jednej usługi stanowej jako wyrównanej koligacji z inną usługą stanową gwarantuje, że prawybory tych usług są umieszczane w tych samych węzłach co w sobie i że każda para serwerów pomocniczych jest również umieszczana w tych samych węzłach.
Atrybut |
Wartość |
name |
Schemat |
używać |
wymagane |
ServiceCorrelations, element
Definiuje relacje koligacji między usługami.
Atrybut |
Wartość |
type |
anonimowy typ złożony |
content |
1 elementy, 0 atrybutów |
Definicja |
lokalnie w typie złożonym ServiceType |
name |
ServiceCorrelations |
minOccurs |
0 |
Źródło XML
<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="ServiceCorrelations" minOccurs="0">
<xs:annotation>
<xs:documentation>Defines affinity relationships between services.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="ServiceCorrelation" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>Defines an affinity relationship with another service. Useful when splitting a previously-monolithic application into microservices. One service has a local dependency on another service and both services need to run on the same node in order to work.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:attribute name="ServiceName" use="required">
<xs:annotation>
<xs:documentation>The name of the other service as a URI. Example, "fabric:/otherApplication/parentService".</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:minLength value="1"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
<xs:attribute name="Scheme" use="required">
<xs:annotation>
<xs:documentation>In NonAlignedAffinity the replicas or instances of the different services are placed on the same nodes. AlignedAffinity is used with stateful services. Configuring one stateful service as having aligned affinity with another stateful service ensures that the primaries of those services are placed on the same nodes as each other, and that each pair of secondaries are also placed on the same nodes.</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:enumeration value="Affinity"/>
<xs:enumeration value="AlignedAffinity"/>
<xs:enumeration value="NonAlignedAffinity"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
Szczegóły elementu zawartości
ServiceCorrelation
Definiuje relację koligacji z inną usługą. Przydatne podczas dzielenia wcześniej monolitycznej aplikacji na mikrousługi. Jedna usługa ma lokalną zależność od innej usługi, a obie usługi muszą działać w tym samym węźle.
Atrybut |
Wartość |
name |
ServiceCorrelation |
maxOccurs |
bezgraniczny |
ServiceFabricRuntimeAccessPolicy, element
Określa zasady określające, w jaki sposób środowisko uruchomieniowe usługi Service Fabric jest widoczne dla replik.
Źródło XML
<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="ServiceFabricRuntimeAccessPolicy" type="ServiceFabricRuntimeAccessPolicyType" minOccurs="0" maxOccurs="1">
<xs:annotation>
<xs:documentation>Specifies policies that determine how the service fabric runtime is exposed to the replicas.</xs:documentation>
</xs:annotation>
</xs:element>
ServiceGroup, element
Kolekcja usług, które są automatycznie zlokalizowane razem, więc są one również przenoszone razem podczas pracy w trybie failover lub zarządzania zasobami.
Źródło XML
<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="ServiceGroup">
<xs:annotation>
<xs:documentation>A collection of services that are automatically located together, so they are also moved together during fail-over or resource management.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:choice minOccurs="0">
<xs:element name="StatelessServiceGroup" type="StatelessServiceGroupType"/>
<xs:element name="StatefulServiceGroup" type="StatefulServiceGroupType"/>
</xs:choice>
<xs:attribute name="Name" type="xs:string" use="required">
<xs:annotation>
<xs:documentation>Name of this service relative to this application Name URI. Fully qualified Name of the service is a combination of Name Uri of the Application and this Name.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="ServicePackageActivationMode" type="xs:string" use="optional" default="SharedProcess">
<xs:annotation>
<xs:documentation>ServicePackageActivationMode to be used when creating the service. Allowed values are 'SharedProcess' and 'ExclusiveProcess'. With SharedProcess mode, replica(s) or instance(s) from different partition(s) of service will share same activation of service package on a node. With ExclusiveProcess mode, each replica or instance of service will have its own dedicated activation of service package.</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
</xs:element>
Szczegóły atrybutu
Nazwisko
Nazwa tej usługi względem tego identyfikatora URI nazwy aplikacji. W pełni kwalifikowana nazwa usługi jest kombinacją identyfikatora URI nazwy aplikacji i tej nazwy.
Atrybut |
Wartość |
name |
Nazwisko |
type |
xs:string |
używać |
wymagane |
ServicePackageActivationMode
ServicePackageActivationMode do użycia podczas tworzenia usługi. Dozwolone wartości to "SharedProcess" i "ExclusiveProcess". W trybie SharedProcess repliki lub wystąpienia z różnych partycji usługi będą współdzielić tę samą aktywację pakietu usługi w węźle. W trybie ExclusiveProcess każda replika lub wystąpienie usługi będzie mieć własną dedykowaną aktywację pakietu usługi.
Atrybut |
Wartość |
name |
ServicePackageActivationMode |
type |
xs:string |
używać |
optional |
domyślna |
SharedProcess |
Szczegóły elementu zawartości
StatelessServiceGroup
StatefulServiceGroup
ServiceGroupMembers, element
Typy składowe tego typu grupy usług.
Atrybut |
Wartość |
type |
anonimowy typ złożony |
content |
1 elementy, 0 atrybutów |
Definicja |
lokalnie w typie złożonym ServiceGroupTypeType |
name |
ServiceGroupMembers |
minOccurs |
0 |
maxOccurs |
1 |
Źródło XML
<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="ServiceGroupMembers" minOccurs="0" maxOccurs="1">
<xs:annotation>
<xs:documentation>Member types of this service group type.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element ref="ServiceGroupTypeMember" minOccurs="1" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
</xs:element>
Szczegóły elementu zawartości
Brak
Atrybut |
Wartość |
ref |
ServiceGroupTypeMember |
minOccurs |
1 |
maxOccurs |
bezgraniczny |
ServiceGroupTypeMember, element
Opisuje typ składowy grupy usług.
Atrybut |
Wartość |
type |
anonimowy typ złożony |
content |
1 elementy, 1 atrybuty |
Definicja |
globalnie |
name |
ServiceGroupTypeMember |
Źródło XML
<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="ServiceGroupTypeMember">
<xs:annotation>
<xs:documentation>Describes the member type of the service group.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="LoadMetrics" minOccurs="0">
<xs:annotation>
<xs:documentation>Load metrics reported by this service, used for resource balancing services.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="LoadMetric" type="LoadMetricType" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
<xs:attribute name="ServiceTypeName" use="required">
<xs:annotation>
<xs:documentation>User-defined type identifier for a Microsoft Azure Service Fabric ServiceGroup Member, .e.g Actor</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:minLength value="1"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
</xs:complexType>
</xs:element>
Szczegóły atrybutu
ServiceTypeName
Identyfikator typu zdefiniowanego przez użytkownika dla elementu członkowskiego grupy usługi Microsoft Azure Service Fabric, np. aktora
Atrybut |
Wartość |
name |
ServiceTypeName |
używać |
wymagane |
Szczegóły elementu zawartości
LoadMetrics
Metryki ładowania zgłaszane przez tę usługę, używane do równoważenia zasobów.
Atrybut |
Wartość |
name |
LoadMetrics |
minOccurs |
0 |
ServiceManifest, element
Deklaratywnie opisuje typ i wersję usługi. Zawiera on listę niezależnie uaktualnianego kodu, konfiguracji i pakietów danych, które razem tworzą pakiet usługi w celu obsługi co najmniej jednego typu usługi. Określono również zasoby, ustawienia diagnostyczne i metadane usługi, takie jak typ usługi, właściwości kondycji i metryki równoważenia obciążenia.
Atrybut |
Wartość |
type |
ServiceManifestType |
content |
0 elementów, 0 atrybutów |
Definicja |
globalnie |
name |
ServiceManifest |
Źródło XML
<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="ServiceManifest" type="ServiceManifestType"/>
ServiceManifestImport, element
Importuje manifest usługi utworzony przez dewelopera usługi. Manifest usługi musi zostać zaimportowany dla każdej usługi składowej w aplikacji. Przesłonięcia konfiguracji i zasady można zadeklarować dla manifestu usługi.
Źródło XML
<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="ServiceManifestImport" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>Imports a service manifest created by the service developer. A service manifest must be imported for each constituent service in the application. Configuration overrides and policies can be declared for the service manifest.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="ServiceManifestRef" type="ServiceManifestRefType"/>
<xs:element name="ConfigOverrides" minOccurs="0">
<xs:annotation>
<xs:documentation>Describes configuration overrides for the imported service manifest. Configuration overrides allow the flexibility of re-using the same service manifests across multiple application types by overriding the service manifest's configuration only when used with a particular application type. Configuration overrides can change any default configuration in a service manifest as long as default configuration is defined using the Settings.xml in the ConfigPackage folder. </xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="ConfigOverride" type="ConfigOverrideType" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="ResourceOverrides" type="ResourceOverridesType" minOccurs="0"/>
<xs:element name="EnvironmentOverrides" type="EnvironmentOverridesType" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="Policies" type="ServiceManifestImportPoliciesType" minOccurs="0"/>
</xs:sequence>
</xs:complexType>
</xs:element>
Szczegóły elementu zawartości
ServiceManifestRef
ConfigOverrides
Opisuje przesłonięcia konfiguracji dla importowanego manifestu usługi. Przesłonięcia konfiguracji umożliwiają elastyczność ponownego używania tych samych manifestów usługi w wielu typach aplikacji przez zastąpienie konfiguracji manifestu usługi tylko w przypadku użycia z określonym typem aplikacji. Przesłonięcia konfiguracji mogą zmieniać dowolną konfigurację domyślną w manifeście usługi, o ile konfiguracja domyślna jest zdefiniowana przy użyciu Settings.xml w folderze ConfigPackage.
Atrybut |
Wartość |
name |
ConfigOverrides |
minOccurs |
0 |
Przesłonięcia zasobów
Przesłonięcia środowiska
Zasady
ServiceManifestRef, element
Importuje manifest usługi według odwołania. Obecnie plik manifestu usługi (ServiceManifest.xml) musi znajdować się w pakiecie kompilacji.
Atrybut |
Wartość |
type |
ServiceManifestRefType |
content |
0 elementów, 0 atrybutów |
Definicja |
lokalnie w elemecie ServiceManifestImport |
name |
ServiceManifestRef |
Źródło XML
<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="ServiceManifestRef" type="ServiceManifestRefType"/>
ServicePackage, element
Pakiet ServicePackage reprezentuje wersję jednostki wdrażania i aktywacji. Wersja pakietu ServicePackage jest określana na podstawie wersji manifestu i wersji przesłonięć.
Atrybut |
Wartość |
type |
ServicePackageType |
content |
0 elementów, 0 atrybutów |
Definicja |
globalnie |
name |
ServicePackage |
Źródło XML
<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="ServicePackage" type="ServicePackageType">
<xs:annotation>
<xs:documentation>ServicePackage represents a versioned unit of deployment and activation. The version of the ServicePackage is determined based on the manifest version and the version of the overrides.</xs:documentation>
</xs:annotation>
</xs:element>
ServicePackageContainerPolicy, element
Źródło XML
<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="ServicePackageContainerPolicy" type="ServicePackageContainerPolicyType" minOccurs="0" maxOccurs="1"/>
ServicePackageRef, element
Źródło XML
<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="ServicePackageRef" maxOccurs="unbounded">
<xs:complexType>
<xs:attribute name="Name" use="required"/>
<xs:attributeGroup ref="VersionedItemAttrGroup"/>
</xs:complexType>
</xs:element>
Szczegóły atrybutu
Nazwisko
Atrybut |
Wartość |
name |
Nazwisko |
używać |
wymagane |
ServicePackageResourceGovernancePolicy, element
Definiuje zasady ładu zasobów, które są stosowane na poziomie całego pakietu usług.
Źródło XML
<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="ServicePackageResourceGovernancePolicy" type="ServicePackageResourceGovernancePolicyType" minOccurs="0" maxOccurs="1">
<xs:annotation>
<xs:documentation>Defines the resource governance policy that is applied at the level of the entire service package.</xs:documentation>
</xs:annotation>
</xs:element>
ServicePlacementPolicies, element (zdefiniowany w parametrze ServiceTypeType)
Deklaruje zasady umieszczania dla usługi. Przydatne, gdy klaster obejmuje odległości geograficzne lub/lub regiony geopolityczne.
Atrybut |
Wartość |
type |
anonimowy typ złożony |
content |
1 elementy, 0 atrybutów |
Definicja |
lokalnie w typie złożonym ServiceTypeType |
name |
ServicePlacementPolicies |
minOccurs |
0 |
Źródło XML
<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="ServicePlacementPolicies" minOccurs="0">
<xs:annotation>
<xs:documentation>Declares placement policies for a service. Useful when the cluster spans geographic distances or and/or geopolitical regions.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="ServicePlacementPolicy" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>Defines a service placement policy, which specifies that the service should or should not run in certain cluster fault domains. Useful when the cluster spans geographic distances or and/or geopolitical regions.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:attribute name="DomainName">
<xs:annotation>
<xs:documentation>The fault domain where the service should or should not be placed, depending on the Type value.</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:minLength value="1"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
<xs:attribute name="Type" use="required">
<xs:annotation>
<xs:documentation>InvalidDomain allows you to specify that a particular Fault Domain is invalid for this workload. RequiredDomain requires that all of the replicas be present in the specified domain. Multiple required domains can be specified. PreferredPrimaryDomain specifies the preferred Fault Domain for primary replicas. Useful in geographically spanned clusters where you are using other locations for redundancy, but would prefer that the primary replicas be placed in a certain location in order to provider lower latency for operations which go to the primary. RequiredDomainDistribution specifies that replicas are required to be distributed among the available fault domains. NonPartiallyPlace controls if the service replicas will be partially place if not all of them can be placed. </xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:enumeration value="InvalidDomain"/>
<xs:enumeration value="RequiredDomain"/>
<xs:enumeration value="PreferredPrimaryDomain"/>
<xs:enumeration value="RequiredDomainDistribution"/>
<xs:enumeration value="NonPartiallyPlace"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
Szczegóły elementu zawartości
ServicePlacementPolicy
Definiuje zasady umieszczania usługi, które określają, że usługa powinna lub nie powinna działać w niektórych domenach błędów klastra. Przydatne, gdy klaster obejmuje odległości geograficzne lub/lub regiony geopolityczne.
Atrybut |
Wartość |
name |
ServicePlacementPolicy |
maxOccurs |
bezgraniczny |
ServicePlacementPolicies, element (zdefiniowany w typie usługi)
Deklaruje zasady umieszczania dla usługi. Przydatne, gdy klaster obejmuje odległości geograficzne lub/lub regiony geopolityczne.
Atrybut |
Wartość |
type |
anonimowy typ złożony |
content |
1 elementy, 0 atrybutów |
Definicja |
lokalnie w typie złożonym ServiceType |
name |
ServicePlacementPolicies |
minOccurs |
0 |
Źródło XML
<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="ServicePlacementPolicies" minOccurs="0">
<xs:annotation>
<xs:documentation>Declares placement policies for a service. Useful when the cluster spans geographic distances or and/or geopolitical regions.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="ServicePlacementPolicy" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>Defines a service placement policy, which specifies that the service should or should not run in certain cluster fault domains. Useful when the cluster spans geographic distances or and/or geopolitical regions.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:attribute name="DomainName">
<xs:annotation>
<xs:documentation>The fault domain where the service should or should not be placed, depending on the Type value.</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:minLength value="1"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
<xs:attribute name="Type" use="required">
<xs:annotation>
<xs:documentation>InvalidDomain allows you to specify that a particular Fault Domain is invalid for this workload. RequiredDomain requires that all of the replicas be present in the specified domain. Multiple required domains can be specified. PreferredPrimaryDomain specifies the preferred Fault Domain for primary replicas. Useful in geographically spanned clusters where you are using other locations for redundancy, but would prefer that the primary replicas be placed in a certain location in order to provider lower latency for operations which go to the primary. RequiredDomainDistribution specifies that replicas are required to be distributed among the available fault domains. NonPartiallyPlace controls if the service replicas will be partially place if not all of them can be placed.</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:enumeration value="InvalidDomain"/>
<xs:enumeration value="RequiredDomain"/>
<xs:enumeration value="PreferredPrimaryDomain"/>
<xs:enumeration value="RequiredDomainDistribution"/>
<xs:enumeration value="NonPartiallyPlace"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
Szczegóły elementu zawartości
ServicePlacementPolicy
Definiuje zasady umieszczania usługi, które określają, że usługa powinna lub nie powinna działać w niektórych domenach błędów klastra. Przydatne, gdy klaster obejmuje odległości geograficzne lub/lub regiony geopolityczne.
Atrybut |
Wartość |
name |
ServicePlacementPolicy |
maxOccurs |
bezgraniczny |
ServicePlacementPolicy, element zdefiniowany w obszarze ServicePlacementPolicies
Definiuje zasady umieszczania usługi, które określają, że usługa powinna lub nie powinna działać w niektórych domenach błędów klastra. Przydatne, gdy klaster obejmuje odległości geograficzne lub/lub regiony geopolityczne.
Atrybut |
Wartość |
type |
anonimowy typ złożony |
content |
0 elementów, 2 atrybuty |
Definicja |
locally in ServicePlacementPolicies, element |
name |
ServicePlacementPolicy |
maxOccurs |
bezgraniczny |
Źródło XML
<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="ServicePlacementPolicy" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>Defines a service placement policy, which specifies that the service should or should not run in certain cluster fault domains. Useful when the cluster spans geographic distances or and/or geopolitical regions.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:attribute name="DomainName">
<xs:annotation>
<xs:documentation>The fault domain where the service should or should not be placed, depending on the Type value.</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:minLength value="1"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
<xs:attribute name="Type" use="required">
<xs:annotation>
<xs:documentation>InvalidDomain allows you to specify that a particular Fault Domain is invalid for this workload. RequiredDomain requires that all of the replicas be present in the specified domain. Multiple required domains can be specified. PreferredPrimaryDomain specifies the preferred Fault Domain for primary replicas. Useful in geographically spanned clusters where you are using other locations for redundancy, but would prefer that the primary replicas be placed in a certain location in order to provider lower latency for operations which go to the primary. RequiredDomainDistribution specifies that replicas are required to be distributed among the available fault domains. NonPartiallyPlace controls if the service replicas will be partially place if not all of them can be placed.</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:enumeration value="InvalidDomain"/>
<xs:enumeration value="RequiredDomain"/>
<xs:enumeration value="PreferredPrimaryDomain"/>
<xs:enumeration value="RequiredDomainDistribution"/>
<xs:enumeration value="NonPartiallyPlace"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
</xs:complexType>
</xs:element>
Szczegóły atrybutu
DomainName
Domena błędów, w której powinna lub nie powinna być umieszczona usługa, w zależności od wartości Typ.
Atrybut |
Wartość |
name |
DomainName |
Typ
InvalidDomain umożliwia określenie, że określona domena błędów jest nieprawidłowa dla tego obciążenia. RequiredDomain wymaga obecności wszystkich replik w określonej domenie. Można określić wiele wymaganych domen. PreferredPrimaryDomain określa preferowaną domenę błędów dla replik podstawowych. Przydatne w klastrach rozproszonych geograficznie, w których używasz innych lokalizacji na potrzeby nadmiarowości, ale wolisz umieścić repliki podstawowe w określonej lokalizacji w celu zapewnienia mniejszego opóźnienia dla operacji, które przechodzą do podstawowej. RequiredDomainDistribution określa, że repliki muszą być dystrybuowane między dostępne domeny błędów. Kontrolki NonPartiallyPlace, jeśli repliki usługi będą częściowo umieszczone, jeśli nie wszystkie z nich można umieścić.
Atrybut |
Wartość |
name |
Typ |
używać |
wymagane |
ServicePlacementPolicy, element (zdefiniowany w obszarze ServicePlacementPolicies)
Definiuje zasady umieszczania usługi, które określają, że usługa powinna lub nie powinna działać w niektórych domenach błędów klastra. Przydatne, gdy klaster obejmuje odległości geograficzne lub/lub regiony geopolityczne.
Atrybut |
Wartość |
type |
anonimowy typ złożony |
content |
0 elementów, 2 atrybuty |
Definicja |
locally in ServicePlacementPolicies, element |
name |
ServicePlacementPolicy |
maxOccurs |
bezgraniczny |
Źródło XML
<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="ServicePlacementPolicy" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>Defines a service placement policy, which specifies that the service should or should not run in certain cluster fault domains. Useful when the cluster spans geographic distances or and/or geopolitical regions.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:attribute name="DomainName">
<xs:annotation>
<xs:documentation>The fault domain where the service should or should not be placed, depending on the Type value.</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:minLength value="1"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
<xs:attribute name="Type" use="required">
<xs:annotation>
<xs:documentation>InvalidDomain allows you to specify that a particular Fault Domain is invalid for this workload. RequiredDomain requires that all of the replicas be present in the specified domain. Multiple required domains can be specified. PreferredPrimaryDomain specifies the preferred Fault Domain for primary replicas. Useful in geographically spanned clusters where you are using other locations for redundancy, but would prefer that the primary replicas be placed in a certain location in order to provider lower latency for operations which go to the primary. RequiredDomainDistribution specifies that replicas are required to be distributed among the available fault domains. NonPartiallyPlace controls if the service replicas will be partially place if not all of them can be placed. </xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:enumeration value="InvalidDomain"/>
<xs:enumeration value="RequiredDomain"/>
<xs:enumeration value="PreferredPrimaryDomain"/>
<xs:enumeration value="RequiredDomainDistribution"/>
<xs:enumeration value="NonPartiallyPlace"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
</xs:complexType>
</xs:element>
Szczegóły atrybutu
DomainName
Domena błędów, w której powinna lub nie powinna być umieszczona usługa, w zależności od wartości Typ.
Atrybut |
Wartość |
name |
DomainName |
Typ
InvalidDomain umożliwia określenie, że określona domena błędów jest nieprawidłowa dla tego obciążenia. RequiredDomain wymaga obecności wszystkich replik w określonej domenie. Można określić wiele wymaganych domen. PreferredPrimaryDomain określa preferowaną domenę błędów dla replik podstawowych. Przydatne w klastrach rozproszonych geograficznie, w których używasz innych lokalizacji na potrzeby nadmiarowości, ale wolisz umieścić repliki podstawowe w określonej lokalizacji w celu zapewnienia mniejszego opóźnienia dla operacji, które przechodzą do podstawowej. RequiredDomainDistribution określa, że repliki muszą być dystrybuowane między dostępne domeny błędów. Kontrolki NonPartiallyPlace, jeśli repliki usługi będą częściowo umieszczone, jeśli nie wszystkie z nich można umieścić.
Atrybut |
Wartość |
name |
Typ |
używać |
wymagane |
ServiceScalingPolicies, element
Deklaruje zasady skalowania dla usługi. Przydatne do dynamicznego skalowania usługi na podstawie potrzeb.
Atrybut |
Wartość |
type |
anonimowy typ złożony |
content |
1 elementy, 0 atrybutów |
Definicja |
lokalnie w typie złożonym ServiceType |
name |
ServiceScalingPolicies |
minOccurs |
0 |
Źródło XML
<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="ServiceScalingPolicies" minOccurs="0">
<xs:annotation>
<xs:documentation>Declares scaling policies for a service. Useful for dynamically scaling the service based on needs. </xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="ScalingPolicy" type="ScalingPolicyType" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
</xs:element>
Szczegóły elementu zawartości
ScalingPolicy
ServiceTemplates, element
Deklaruje zestaw dozwolonych typów usług, które można tworzyć dynamicznie w wystąpieniu aplikacji. Domyślne wartości konfiguracji, takie jak współczynnik replikacji, są określane i używane jako szablon do tworzenia wystąpień usługi.
Źródło XML
<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="ServiceTemplates" type="ServiceTemplatesType" minOccurs="0">
<xs:annotation>
<xs:documentation>Declares the set of permitted service types that can be created dynamically inside the application instance. Default configuration values, such as replication factor, are specified and used as a template for creating service instances.</xs:documentation>
</xs:annotation>
</xs:element>
ServiceTypeHealthPolicy, element
Opisuje zasady oceny zdarzeń kondycji zgłoszonych na usługach, partycjach i replikach określonego typu usługi.
Źródło XML
<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="ServiceTypeHealthPolicy" minOccurs="0" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>Describes the policy for evaluating health events reported on services, partitions and replicas of a particular service type.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:complexContent>
<xs:extension base="ServiceTypeHealthPolicyType">
<xs:attribute name="ServiceTypeName" type="xs:string" use="required">
<xs:annotation>
<xs:documentation>The name of the service type that the policy will be applied to.</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:extension>
</xs:complexContent>
</xs:complexType>
</xs:element>
ServiceTypes, element (wpisz ServiceAndServiceGroupTypesTypesTypes)
Definiuje typy usług obsługiwane przez pakiet CodePackage w tym manifeście. Po utworzeniu wystąpienia usługi względem jednego z tych typów usług wszystkie pakiety kodu zadeklarowane w tym manifeście są aktywowane przez uruchomienie punktów wejścia. Typy usług są deklarowane na poziomie manifestu, a nie na poziomie pakietu kodu.
Źródło XML
<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="ServiceTypes" type="ServiceAndServiceGroupTypesType">
<xs:annotation>
<xs:documentation>Defines what service types are supported by a CodePackage in this manifest. When a service is instantiated against one of these service types, all code packages declared in this manifest are activated by running their entry points. Service types are declared at the manifest level and not the code package level.</xs:documentation>
</xs:annotation>
</xs:element>
ServiceTypes, element (typ ServiceTypesType)
Atrybut |
Wartość |
type |
ServiceTypesType |
content |
0 elementów, 0 atrybutów |
Definicja |
lokalnie w elemecie DigestedServiceTypes |
name |
ServiceTypes |
Źródło XML
<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="ServiceTypes" type="ServiceTypesType"/>
Settings, element (type SettingsOverridesType)
Deklaruje ustawienia konfiguracji w manifeście usługi, które mają zostać zastąpione. Składa się z co najmniej jednej sekcji par klucz-wartość. Wartości parametrów można szyfrować przy użyciu polecenia cmdlet Invoke-ServiceFabricEncryptSecret.
Źródło XML
<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="Settings" type="SettingsOverridesType" minOccurs="0"/>
Settings, element (typ SettingsType)
Defiles konfigurowalne ustawienia dla pakietów kodu usługi. Usługa Microsoft Azure Service Fabric nie interpretuje ustawień, ale udostępnia je za pośrednictwem interfejsów API środowiska uruchomieniowego do użycia przez składniki kodu.
Atrybut |
Wartość |
type |
Typ ustawień |
content |
0 elementów, 0 atrybutów |
Definicja |
globalnie |
name |
Ustawienia |
Źródło XML
<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="Settings" type="SettingsType">
<xs:annotation>
<xs:documentation>Defiles configurable settings for the code packages of a service. Microsoft Azure Service Fabric does not interpret the settings, however it makes them available via Runtime APIs for use by the code components.</xs:documentation>
</xs:annotation>
</xs:element>
SetupEntryPoint, element
Uprzywilejowany punkt wejścia, który domyślnie jest uruchamiany z tymi samymi poświadczeniami co usługa Service Fabric (zazwyczaj konto NETWORKSERVICE) przed innym punktem wejścia. Plik wykonywalny określony przez program EntryPoint jest zazwyczaj długotrwałym hostem usługi. Obecność oddzielnego punktu wejścia konfiguracji pozwala uniknąć konieczności uruchamiania hosta usługi z wysokimi uprawnieniami przez dłuższy czas.
Źródło XML
<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="SetupEntryPoint" minOccurs="0">
<xs:annotation>
<xs:documentation>A privileged entry point that by default runs with the same credentials as Service Fabric (typically the NETWORKSERVICE account) before any other entry point. The executable specified by EntryPoint is typically the long-running service host. The presence of a separate setup entry point avoids having to run the service host with high privileges for extended periods of time.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="ExeHost" type="ExeHostEntryPointType"/>
</xs:sequence>
</xs:complexType>
</xs:element>
Szczegóły elementu zawartości
ExeHost
SfssRgPolicies, element
Zasady ładu zasobów usług systemowych SF dla tego typu węzła
Atrybut |
Wartość |
type |
anonimowy typ złożony |
content |
1 elementy, 0 atrybutów |
Definicja |
lokalnie w elemecie NodeType |
name |
SfsssRgPolicies |
minOccurs |
0 |
Źródło XML
<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" 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>
Szczegóły elementu zawartości
SfsssRgPolicy
Atrybut |
Wartość |
name |
SfsssRgPolicy |
type |
KeyValuePairType |
minOccurs |
0 |
maxOccurs |
bezgraniczny |
SfssRgPolicy, element
Atrybut |
Wartość |
type |
KeyValuePairType |
content |
0 elementów, 0 atrybutów |
Definicja |
locally in SfssRgPolicies, element |
name |
SfsssRgPolicy |
minOccurs |
0 |
maxOccurs |
bezgraniczny |
Źródło XML
<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="SfssRgPolicy" type="KeyValuePairType" minOccurs="0" maxOccurs="unbounded"/>
SharedLogFileId, element
Określony identyfikator GUID do użycia jako identyfikator dziennika udostępnionego.
Atrybut |
Wartość |
type |
anonimowy typ złożony |
content |
0 elementów, 1 atrybutów |
Definicja |
lokalnie w fabricKtlLoggerSettingsType complexType |
name |
SharedLogFileId |
minOccurs |
0 |
Źródło XML
<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" 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>
Szczegóły atrybutu
Wartość
Atrybut |
Wartość |
name |
Wartość |
używać |
wymagane |
SharedLogFilePath, element
Definiuje ścieżkę do dziennika udostępnionego.
Atrybut |
Wartość |
type |
anonimowy typ złożony |
content |
0 elementów, 1 atrybutów |
Definicja |
lokalnie w fabricKtlLoggerSettingsType complexType |
name |
SharedLogFilePath |
minOccurs |
0 |
Źródło XML
<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" 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>
Szczegóły atrybutu
Wartość
Atrybut |
Wartość |
name |
Wartość |
type |
xs:string |
używać |
wymagane |
SharedLogFileSizeInMB, element
Określa, jak duży jest dziennik udostępniony.
Atrybut |
Wartość |
type |
anonimowy typ złożony |
content |
0 elementów, 1 atrybutów |
Definicja |
lokalnie w fabricKtlLoggerSettingsType complexType |
name |
SharedLogFileSizeInMB |
minOccurs |
0 |
Źródło XML
<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" 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>
Szczegóły atrybutu
Wartość
Atrybut |
Wartość |
name |
Wartość |
używać |
wymagane |
SingletonPartition, element
Deklaruje, że ta usługa ma tylko jedną partycję.
Źródło XML
<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="SingletonPartition">
<xs:annotation>
<xs:documentation>Declares that this service has only one partition.</xs:documentation>
</xs:annotation>
<xs:complexType/>
</xs:element>
StatefulService, element
Definiuje usługę stanową.
Źródło XML
<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="StatefulService" type="StatefulServiceType"/>
StatefulServiceGroup, element
Definiuje stanową grupę usług.
Źródło XML
<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="StatefulServiceGroup" type="StatefulServiceGroupType"/>
StatefulServiceGroupType, element
Opisuje stanowy typ grupy usług.
Źródło XML
<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="StatefulServiceGroupType" type="StatefulServiceGroupTypeType"/>
StatefulServiceType, element
Opisuje stanowy typ usługi.
Źródło XML
<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="StatefulServiceType" type="StatefulServiceTypeType"/>
StatelessService, element
Definiuje usługę bezstanową.
Źródło XML
<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="StatelessService" type="StatelessServiceType"/>
StatelessServiceGroup, element
Definiuje bezstanową grupę usług.
Źródło XML
<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="StatelessServiceGroup" type="StatelessServiceGroupType"/>
StatelessServiceGroupType, element
Opisuje typ grupy usług bezstanowych.
Źródło XML
<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="StatelessServiceGroupType" type="StatelessServiceGroupTypeType"/>
StatelessServiceType, element
Opisuje typ usługi bezstanowej.
Źródło XML
<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="StatelessServiceType" type="StatelessServiceTypeType"/>
SystemGroup, element (zdefiniowany w elemencie MemberOf)
Grupa systemowa, do których ma zostać dodany użytkownik. Grupa systemowa musi być zdefiniowana w sekcji Grupy.
Atrybut |
Wartość |
type |
anonimowy typ złożony |
content |
0 elementów, 1 atrybutów |
Definicja |
lokalnie w elemencie MemberOf |
name |
Grupa systemowa |
minOccurs |
0 |
maxOccurs |
bezgraniczny |
Źródło XML
<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="SystemGroup" minOccurs="0" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>The system group to add the user to. The system group must be defined in the Groups section.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:attribute name="Name" type="xs:string" use="required">
<xs:annotation>
<xs:documentation>The name of the system group.</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
</xs:element>
Szczegóły atrybutu
Nazwisko
Nazwa grupy systemowej.
Atrybut |
Wartość |
name |
Nazwisko |
type |
xs:string |
używać |
wymagane |
SystemGroup, element (zdefiniowany w członkostwie)
Atrybut |
Wartość |
type |
anonimowy typ złożony |
content |
0 elementów, 1 atrybutów |
Definicja |
lokalnie w elemecie Członkostwo |
name |
Grupa systemowa |
minOccurs |
0 |
maxOccurs |
bezgraniczny |
Źródło XML
<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="SystemGroup" minOccurs="0" maxOccurs="unbounded">
<xs:complexType>
<xs:attribute name="Name" type="xs:string" use="required"/>
</xs:complexType>
</xs:element>
Szczegóły atrybutu
Nazwisko
Atrybut |
Wartość |
name |
Nazwisko |
type |
xs:string |
używać |
wymagane |
Opisuje docelowy element docelowy, który musi zostać wdrożony przez narzędzie FabricDeployer.
Atrybut |
Wartość |
type |
TargetInformationType |
content |
0 elementów, 0 atrybutów |
Definicja |
globalnie |
name |
TargetInformation |
Źródło XML
<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="TargetInformation" type="TargetInformationType">
<xs:annotation>
<xs:documentation>Describes the target the FabricDeployer needs to deploy.</xs:documentation>
</xs:annotation>
</xs:element>
TargetInstallation, element
Źródło XML
<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="TargetInstallation" type="WindowsFabricDeploymentInformation" minOccurs="1"/>
Opisuje jednolity schemat partycjonowania oparty na kluczach Int64.
Źródło XML
<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="UniformInt64Partition">
<xs:annotation>
<xs:documentation>Describes a uniform partitioning scheme based on Int64 keys.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:attribute name="PartitionCount" type="xs:string" use="required">
<xs:annotation>
<xs:documentation>Total number of partitions (positive integer). Each partition is responsible for a non-overlapping subrange of the overall partition key range.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="LowKey" type="xs:string" use="required">
<xs:annotation>
<xs:documentation>Inclusive low range of the partition key (long).</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="HighKey" type="xs:string" use="required">
<xs:annotation>
<xs:documentation>Inclusive high range of the partition key (long).</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
</xs:element>
Szczegóły atrybutu
PartitionCount
Łączna liczba partycji (dodatnia liczba całkowita). Każda partycja jest odpowiedzialna za nienakładanie się podgrupy ogólnego zakresu kluczy partycji.
Atrybut |
Wartość |
name |
PartitionCount |
type |
xs:string |
używać |
wymagane |
LowKey
Włącznie niski zakres klucza partycji (długi).
Atrybut |
Wartość |
name |
LowKey |
type |
xs:string |
używać |
wymagane |
HighKey
Szeroki zakres klucza partycji (długi).
Atrybut |
Wartość |
name |
HighKey |
type |
xs:string |
używać |
wymagane |
UnmanagedDll, element
Nieobsługiwane, nie używaj. Nazwa niezarządzanego zestawu (na przykład Queue.dll) do hostowania.
Źródło XML
<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="UnmanagedDll" type="UnmanagedDllType"/>
UpgradeOrchestrationServiceReplicatorEndpoint, element
Źródło XML
<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="UpgradeOrchestrationServiceReplicatorEndpoint" type="InternalEndpointType" minOccurs="0"/>
UpgradeServiceReplicatorEndpoint, element
Źródło XML
<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="UpgradeServiceReplicatorEndpoint" type="InternalEndpointType" minOccurs="0"/>
Użytkownik — element
Deklaruje użytkownika jako podmiot zabezpieczeń, do którego można się odwoływać w zasadach.
Atrybut |
Wartość |
type |
anonimowy typ złożony |
content |
2 elementy, 5 atrybutów |
Definicja |
lokalnie w elemecie Users |
name |
User |
maxOccurs |
bezgraniczny |
Źródło XML
<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="User" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>Declares a user as a security principal, which can be referenced in policies.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="NTLMAuthenticationPolicy" minOccurs="0">
<xs:complexType>
<xs:attribute name="IsEnabled" type="xs:boolean" use="optional" default="true"/>
<xs:attribute name="PasswordSecret" type="xs:string" use="required"/>
<xs:attribute name="PasswordSecretEncrypted" type="xs:boolean" use="optional" default="false"/>
<xs:attribute name="X509StoreLocation" use="optional" default="LocalMachine">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:enumeration value="LocalMachine"/>
<xs:enumeration value="CurrentUser"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
<xs:attribute name="X509StoreName" default="My">
<xs:simpleType>
<xs:restriction base="xs:string"/>
</xs:simpleType>
</xs:attribute>
<xs:attribute name="X509Thumbprint" type="xs:string"/>
</xs:complexType>
</xs:element>
<xs:element name="MemberOf" minOccurs="0">
<xs:annotation>
<xs:documentation>Users can be added to any existing membership group, so it can inherit all the properties and security settings of that membership group. The membership group can be used to secure external resources that need to be accessed by different services or the same service (on a different machine).</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:choice maxOccurs="unbounded">
<xs:element name="SystemGroup" minOccurs="0" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>The system group to add the user to. The system group must be defined in the Groups section.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:attribute name="Name" type="xs:string" use="required">
<xs:annotation>
<xs:documentation>The name of the system group.</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
</xs:element>
<xs:element name="Group" minOccurs="0" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>The group to add the user to. The group must be defined in the Groups section.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:attribute name="NameRef" type="xs:string" use="required">
<xs:annotation>
<xs:documentation>The name of the group.</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
</xs:element>
</xs:choice>
</xs:complexType>
</xs:element>
</xs:sequence>
<xs:attribute name="Name" type="xs:string" use="required">
<xs:annotation>
<xs:documentation>Name of the user account.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="AccountType" use="optional" default="LocalUser">
<xs:annotation>
<xs:documentation>Specifies the type of account: LocalUser, DomainUser, NetworkService, LocalService, ManagedServiceAccount, or LocalSystem. The default is LocalUser. Local user accounts are created on the machines where the application is deployed. By default, these accounts do not have the same names as those specified here. Instead, they are dynamically generated and have random passwords. Supported local system account types are LocalUser, NetworkService, LocalService and LocalSystem. Domain accounts are supported on Windows Server deployments where Azure Active Directory is available.</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:enumeration value="LocalUser"/>
<xs:enumeration value="DomainUser"/>
<xs:enumeration value="NetworkService"/>
<xs:enumeration value="LocalService"/>
<xs:enumeration value="ManagedServiceAccount"/>
<xs:enumeration value="LocalSystem"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
<xs:attribute name="LoadUserProfile" type="xs:boolean" use="optional" default="false"/>
<xs:attribute name="PerformInteractiveLogon" type="xs:boolean" use="optional" default="false"/>
<xs:attributeGroup ref="AccountCredentialsGroup"/>
<xs:attribute name="PasswordEncrypted" type="xs:boolean" use="optional">
<xs:annotation>
<xs:documentation>True if the password is encrypted; false if in plain text.</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
</xs:element>
Szczegóły atrybutu
Nazwisko
Nazwa konta użytkownika.
Atrybut |
Wartość |
name |
Nazwisko |
type |
xs:string |
używać |
wymagane |
Typ konta
Określa typ konta: LocalUser, DomainUser, NetworkService, LocalService, ManagedServiceAccount lub LocalSystem. Wartość domyślna to LocalUser. Konta użytkowników lokalnych są tworzone na maszynach, na których jest wdrażana aplikacja. Domyślnie te konta nie mają takich samych nazw jak te określone w tym miejscu. Zamiast tego są one generowane dynamicznie i mają losowe hasła. Obsługiwane typy kont systemu lokalnego to LocalUser, NetworkService, LocalService i LocalSystem. Konta domeny są obsługiwane we wdrożeniach systemu Windows Server, w których jest dostępny identyfikator Entra firmy Microsoft.
Atrybut |
Wartość |
name |
Typ konta |
używać |
optional |
domyślna |
Użytkownik lokalny |
LoadUserProfile
Atrybut |
Wartość |
name |
LoadUserProfile |
type |
xs:boolean |
używać |
optional |
domyślna |
fałsz |
Atrybut |
Wartość |
name |
PerformInteractiveLogon |
type |
xs:boolean |
używać |
optional |
domyślna |
fałsz |
HasłoSzyfrowane
Prawda, jeśli hasło jest szyfrowane; false, jeśli w postaci zwykłego tekstu.
Atrybut |
Wartość |
name |
HasłoSzyfrowane |
type |
xs:boolean |
używać |
optional |
Szczegóły elementu zawartości
NTLMAuthenticationPolicy
Atrybut |
Wartość |
name |
NTLMAuthenticationPolicy |
minOccurs |
0 |
Element członkowski
Użytkownicy mogą być dodawani do dowolnej istniejącej grupy członkostwa, dzięki czemu mogą dziedziczyć wszystkie właściwości i ustawienia zabezpieczeń tej grupy członkostwa. Grupa członkostwa może służyć do zabezpieczania zasobów zewnętrznych, które muszą być dostępne przez różne usługi lub tę samą usługę (na innym komputerze).
Atrybut |
Wartość |
name |
Element członkowski |
minOccurs |
0 |
UserRoleClientCertificate, element
Domyślny certyfikat klienta roli użytkownika używany do zabezpieczania komunikacji z serwerem klienckim.
Źródło XML
<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="UserRoleClientCertificate" type="FabricCertificateType" minOccurs="0">
<xs:annotation>
<xs:documentation>The default user role client certificate used to secure client server communication.</xs:documentation>
</xs:annotation>
</xs:element>
Users, element
Deklaruje zestaw użytkowników jako podmioty zabezpieczeń, do których można się odwoływać w zasadach.
Źródło XML
<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="Users" minOccurs="0">
<xs:annotation>
<xs:documentation>Declares a set of users as security principals, which can be referenced in policies.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="User" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>Declares a user as a security principal, which can be referenced in policies.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="NTLMAuthenticationPolicy" minOccurs="0">
<xs:complexType>
<xs:attribute name="IsEnabled" type="xs:boolean" use="optional" default="true"/>
<xs:attribute name="PasswordSecret" type="xs:string" use="required"/>
<xs:attribute name="PasswordSecretEncrypted" type="xs:boolean" use="optional" default="false"/>
<xs:attribute name="X509StoreLocation" use="optional" default="LocalMachine">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:enumeration value="LocalMachine"/>
<xs:enumeration value="CurrentUser"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
<xs:attribute name="X509StoreName" default="My">
<xs:simpleType>
<xs:restriction base="xs:string"/>
</xs:simpleType>
</xs:attribute>
<xs:attribute name="X509Thumbprint" type="xs:string"/>
</xs:complexType>
</xs:element>
<xs:element name="MemberOf" minOccurs="0">
<xs:annotation>
<xs:documentation>Users can be added to any existing membership group, so it can inherit all the properties and security settings of that membership group. The membership group can be used to secure external resources that need to be accessed by different services or the same service (on a different machine).</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:choice maxOccurs="unbounded">
<xs:element name="SystemGroup" minOccurs="0" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>The system group to add the user to. The system group must be defined in the Groups section.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:attribute name="Name" type="xs:string" use="required">
<xs:annotation>
<xs:documentation>The name of the system group.</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
</xs:element>
<xs:element name="Group" minOccurs="0" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>The group to add the user to. The group must be defined in the Groups section.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:attribute name="NameRef" type="xs:string" use="required">
<xs:annotation>
<xs:documentation>The name of the group.</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
</xs:element>
</xs:choice>
</xs:complexType>
</xs:element>
</xs:sequence>
<xs:attribute name="Name" type="xs:string" use="required">
<xs:annotation>
<xs:documentation>Name of the user account.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="AccountType" use="optional" default="LocalUser">
<xs:annotation>
<xs:documentation>Specifies the type of account: LocalUser, DomainUser, NetworkService, LocalService, ManagedServiceAccount, or LocalSystem. The default is LocalUser. Local user accounts are created on the machines where the application is deployed. By default, these accounts do not have the same names as those specified here. Instead, they are dynamically generated and have random passwords. Supported local system account types are LocalUser, NetworkService, LocalService and LocalSystem. Domain accounts are supported on Windows Server deployments where Azure Active Directory is available.</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:enumeration value="LocalUser"/>
<xs:enumeration value="DomainUser"/>
<xs:enumeration value="NetworkService"/>
<xs:enumeration value="LocalService"/>
<xs:enumeration value="ManagedServiceAccount"/>
<xs:enumeration value="LocalSystem"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
<xs:attribute name="LoadUserProfile" type="xs:boolean" use="optional" default="false"/>
<xs:attribute name="PerformInteractiveLogon" type="xs:boolean" use="optional" default="false"/>
<xs:attributeGroup ref="AccountCredentialsGroup"/>
<xs:attribute name="PasswordEncrypted" type="xs:boolean" use="optional">
<xs:annotation>
<xs:documentation>True if the password is encrypted; false if in plain text.</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
Szczegóły elementu zawartości
User
Deklaruje użytkownika jako podmiot zabezpieczeń, do którego można się odwoływać w zasadach.
Atrybut |
Wartość |
name |
User |
maxOccurs |
bezgraniczny |
Volume, element
Określa wolumin, który ma być powiązany z kontenerem.
Źródło XML
<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="Volume" type="ContainerVolumeType" minOccurs="0" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>Specifies the volume to be bound to container.</xs:documentation>
</xs:annotation>
</xs:element>
Element głosowania
Atrybut |
Wartość |
type |
PaaSVoteType |
content |
0 elementów, 0 atrybutów |
Definicja |
lokalnie w elemecie Votes |
name |
Głos |
maxOccurs |
bezgraniczny |
Źródło XML
<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="Vote" type="PaaSVoteType" maxOccurs="unbounded"/>
Element Votes
Atrybut |
Wartość |
type |
anonimowy typ złożony |
content |
1 elementy, 0 atrybutów |
Definicja |
lokalnie w elemecie PaaS |
name |
Głosy |
Źródło XML
<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="Votes">
<xs:complexType>
<xs:sequence>
<xs:element name="Vote" type="PaaSVoteType" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
</xs:element>
Szczegóły elementu zawartości
Głos
Atrybut |
Wartość |
name |
Głos |
type |
PaaSVoteType |
maxOccurs |
bezgraniczny |
WindowsAzure, element
Atrybut |
Wartość |
type |
anonimowy typ złożony |
content |
1 elementy, 0 atrybutów |
Definicja |
lokalnie w elemecie Infrastruktura |
name |
WindowsAzure |
Źródło XML
<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" 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>
Szczegóły elementu zawartości
Role
Atrybut |
Wartość |
name |
Role |
WindowsAzureStaticTopology, element
Atrybut |
Wartość |
type |
anonimowy typ złożony |
content |
0 elementów, 0 atrybutów |
Definicja |
lokalnie w elemecie Infrastruktura |
name |
WindowsAzureStaticTopology |
Źródło XML
<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="WindowsAzureStaticTopology">
<xs:complexType>
<xs:complexContent>
<xs:extension base="WindowsInfrastructureType"/>
</xs:complexContent>
</xs:complexType>
</xs:element>
WindowsServer, element
Atrybut |
Wartość |
type |
anonimowy typ złożony |
content |
0 elementów, 0 atrybutów |
Definicja |
lokalnie w elemecie Infrastruktura |
name |
WindowsServer |
Źródło XML
<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" 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>
WorkingFolder, element
Atrybut |
Wartość |
type |
anonimowy typ złożony |
content |
0 elementów, 0 atrybutów |
Definicja |
lokalnie w typie złożonym ExeHostEntryPointType |
name |
Folder roboczy |
domyślna |
Praca |
minOccurs |
0 |
Źródło XML
<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" 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>