<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>
Detail atribut
MinPartitionCount
Jumlah minimum partisi.
Atribut
Value
nama
MinPartitionCount
jenis
xs:string
Gunakan
wajib diisi
MaxPartitionCount
Jumlah maksimum partisi.
Atribut
Value
nama
MaxPartitionCount
jenis
xs:string
Gunakan
wajib diisi
ScaleIncrement
Jumlah partisi untuk melakukan yang digunakan untuk melakukan peningkatan/penurunan.
Atribut
Value
nama
ScaleIncrement
jenis
xs:string
Gunakan
wajib diisi
Elemen Application
Informasi khusus Instans Aplikasi seperti nilai parameter aplikasi dan nama aplikasi yang digunakan untuk membuat aplikasi. Nilai parameter dalam file ini menggantikan nilai parameter default yang ditentukan dalam Manifes Aplikasi.
<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="Application" type="AppInstanceDefinitionType">
<xs:annotation>
<xs:documentation>Application Instance specific information like application name and application parameter values used to create application. Parameter values in this file overrides the default parameter values defined in Application Manifest.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="ApplicationInstance" type="ApplicationInstanceType">
<xs:annotation>
<xs:documentation>Describes an instance of a Microsoft Azure Service Fabric application.</xs:documentation>
</xs:annotation>
</xs:element>
Elemen ApplicationManifest
Secara deklaratif menjelaskan jenis dan versi aplikasi. Satu atau beberapa manifes layanan dari layanan konstituen dirujuk untuk menyusun jenis aplikasi. Pengaturan konfigurasi layanan konstituen dapat diganti menggunakan pengaturan aplikasi parameter. Layanan default, templat layanan, prinsipal, kebijakan, penyiapan diagnostik, dan sertifikat juga dapat dinyatakan di tingkat aplikasi.
<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="ApplicationPackage" type="ApplicationPackageType">
<xs:annotation>
<xs:documentation>ApplicationPackage represents the versioned Application information required by the node.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="AveragePartitionLoadScalingTrigger" minOccurs="0" maxOccurs="1">
<xs:annotation>
<xs:documentation>Defines a scaling mechanism based on the average load of replicas of a partition.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:attribute name="MetricName" type="xs:string" use="required">
<xs:annotation>
<xs:documentation>The name of metric which should be used for scaling operations.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="LowerLoadThreshold" type="xs:string" use="required">
<xs:annotation>
<xs:documentation>The lower limit of the load value of a metric.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="UpperLoadThreshold" type="xs:string" use="required">
<xs:annotation>
<xs:documentation>The upper limit of the load value of a metric.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="ScaleIntervalInSeconds" type="xs:string" use="required">
<xs:annotation>
<xs:documentation>The time interval in seconds to be considered for scaling.</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
</xs:element>
Detail atribut
MetricName
Nama metrik yang akan digunakan untuk operasi penskalaan.
Atribut
Value
nama
MetricName
jenis
xs:string
Gunakan
wajib diisi
LowerLoadThreshold
Batas bawah nilai beban metrik.
Atribut
Value
nama
LowerLoadThreshold
jenis
xs:string
Gunakan
wajib diisi
UpperLoadThreshold
Batas atas nilai beban metrik.
Atribut
Value
nama
UpperLoadThreshold
jenis
xs:string
Gunakan
wajib diisi
ScaleIntervalInSeconds
Interval waktu dalam detik untuk dipertimbangkan untuk penskalaan.
Atribut
Value
nama
ScaleIntervalInSeconds
jenis
xs:string
Gunakan
wajib diisi
Elemen AverageServiceLoadScalingTrigger
Mendefinisikan mekanisme penskalaan berdasarkan beban rata-rata partisi layanan.
<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>
Detail atribut
MetricName
Nama metrik yang akan digunakan untuk operasi penskalaan.
Atribut
Value
nama
MetricName
jenis
xs:string
Gunakan
wajib diisi
LowerLoadThreshold
Batas bawah nilai beban metrik.
Atribut
Value
nama
LowerLoadThreshold
jenis
xs:string
Gunakan
wajib diisi
UpperLoadThreshold
Batas atas nilai beban metrik.
Atribut
Value
nama
UpperLoadThreshold
jenis
xs:string
Gunakan
wajib diisi
ScaleIntervalInSeconds
Interval waktu dalam detik untuk dipertimbangkan untuk penskalaan.
Atribut
Value
nama
ScaleIntervalInSeconds
jenis
xs:string
Gunakan
wajib diisi
UseOnlyPrimaryLoad
Gunakan beban replika primer sebagai beban rata-rata partisi.
Atribut
Value
nama
UseOnlyPrimaryLoad
jenis
xs:string
Gunakan
opsional
Elemen AzureBlob (ketik AzureBlobETWType)
Menjelaskan tujuan penyimpanan Azure Blob untuk peristiwa ETW. Hanya berfungsi di lingkungan Azure.
<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="CertificateRef" type="ContainerCertificateType" minOccurs="0" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>Specifies information for a certificate which will be exposed to the container.</xs:documentation>
</xs:annotation>
</xs:element>
Elemen Sertifikat (ketik CertificatesType)
Jelaskan sertifikat yang terkait dengan jenis simpul ini
<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>
Detail elemen konten
SecretsCertificate
Menyatakan sertifikat yang digunakan untuk mengenkripsi informasi sensitif dalam manifes aplikasi. Pembuat aplikasi menggunakan cmdlet Invoke-ServiceFabricEncryptSecret cmdlet untuk mengenkripsi informasi sensitif, yang disalin ke Parameter di bagian ConfigOverrides.
<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="ClusterCertificate" type="FabricCertificateType" minOccurs="0">
<xs:annotation>
<xs:documentation>The certificate used to secure the intra cluster communication.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="ClusterManifest" type="ClusterManifestType">
<xs:annotation>
<xs:documentation>Describes a Microsoft Azure Service Fabric Cluster.</xs:documentation>
</xs:annotation>
</xs:element>
Elemen CodePackage
Menjelaskan paket kode yang mendukung jenis layanan yang ditentukan. Jika layanan digunakan terhadap salah satu jenis layanan ini, semua paket kode yang dinyatakan dalam manifes ini akan diaktifkan dengan menjalankan titik entrinya. Proses yang dihasilkan diharapkan untuk mendaftarkan jenis layanan yang didukung saat runtime. Jika ada beberapa paket kode, semuanya diaktifkan setiap kali sistem mencari salah satu jenis layanan yang dinyatakan.
<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>
Elemen ConfigOverride
Menjelaskan pengesampingan konfigurasi untuk paket konfigurasi tertentu dalam manifes layanan yang diimpor.
Menjelaskan penggantian konfigurasi untuk manifest layanan yang diimpor. Penggantian konfigurasi memungkinkan fleksibilitas penggunaan kembali manifes layanan yang sama di beberapa jenis aplikasi dengan mengganti konfigurasi manifes layanan hanya jika digunakan dengan jenis aplikasi tertentu. Penggantian konfigurasi dapat mengubah semua konfigurasi default dalam manifes layanan asalkan konfigurasi default ditentukan menggunakan Settings.xml dalam folder ConfigPackage.
Atribut
Value
jenis
complexType anonim
konten
1 elemen, 0 atribut
ditentukan
secara lokal dalam elemen ServiceManifestImport
nama
ConfigOverrides
minOccurs
0
Sumber 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>
Mendeklarasikan folder, dinamai dengan nama atribut, yang berisi file Settings.xml. File ini berisi bagian dari pengaturan pasangan nilai kunci yang ditentukan oleh pengguna yang prosesnya dapat dibaca lagi saat file sedang dijalankan. Selama peningkatan, jika hanya versi ConfigPackage yang berubah, proses yang sedang berjalan tidak akan dimulai ulang. Sebaliknya, panggilan balik memberi tahu proses bahwa setelan konfigurasi telah diubah sehingga dapat dimuat ulang secara dinamis.
Menyatakan folder, yang diberi nama berdasarkan atribut Nama, dan PackageRoot yang berisi file Settings.xml. File ini berisi bagian dari pengaturan pasangan nilai kunci yang ditentukan oleh pengguna yang prosesnya dapat dibaca lagi saat file sedang dijalankan. Selama peningkatan, jika hanya versi ConfigPackage yang berubah, proses yang sedang berjalan tidak akan dimulai ulang. Sebaliknya, panggilan balik memberi tahu proses bahwa setelan konfigurasi telah diubah sehingga dapat dimuat ulang secara dinamis.
<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>
Elemen ConsoleRedirection
Peringatan! Jangan gunakan pengalihan konsol dalam aplikasi produksi, hanya menggunakannya untuk pengembangan dan debugging lokal. Mengalihkan output konsol dari skrip startup ke file output di folder aplikasi yang disebut "log" pada node klaster tempat aplikasi disebarkan dan dijalankan.
<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>
Detail atribut
FileRetentionCount
Mengatur jumlah file output pengalihan konsol yang akan dipertahankan. Harus berupa bilangan bulat positif, nilai defaultnya adalah "2".
Atribut
Value
nama
FileRetentionCount
Default
2
FileMaxSizeInKb
Atur ukuran maksimum file output pengalihan konsol. Harus berupa bilangan bulat positif yang lebih besar dari 128KB, nilai defaultnya adalah "20480".
Atribut
Value
nama
FileMaxSizeInKb
Default
20480
Elemen ContainerEntryPoint
Titik entri yang diganti untuk kontainer sehingga debugger dapat diluncurkan.
<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="ContainerEntryPoint" type="xs:string" minOccurs="0" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>Overridden entrypoint for containers so debugger can be launched.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="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>
Detail atribut
IsEnabled
Apakah koleksi crash dump diaktifkan atau tidak. Secara default, tidak diaktifkan.
Menyatakan folder, yang diberi nama berdasarkan atribut Nama, di bagian PackageRoot yang berisi file data statik yang akan digunakan oleh proses saat runtime. Service Fabric akan mendaur ulang semua EXE dan DLLHOST yang ditentukan dalam host dan paket dukungan ketika salah satu paket data yang tercantum dalam manifes layanan ditingkatkan.
Tentukan akun pengguna default untuk semua paket kode layanan yang tidak memiliki RunAsPolicy spesifik yang ditentukan di bagian ServiceManifestImport.
<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>
Detail atribut
UserRef
Akun pengguna yang digunakan untuk menjalankan paket kode layanan. Akun pengguna harus dinyatakan di bagian Principals. Titik entri penyiapan lebih sering dijalankan menggunakan akun sistem lokal, bukan akun administrator.
Atribut
Value
nama
UserRef
jenis
xs:string
Gunakan
wajib diisi
Elemen DefaultServiceTypeHealthPolicy
Menentukan kebijakan kesehatan jenis layanan default, yang akan menggantikan kebijakan kesehatan default untuk semua jenis layanan dalam aplikasi.
<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>
Elemen DefaultServices
Mendeklarasikan instans layanan yang secara otomatis dibuat setiap kali aplikasi diseketika terhadap jenis aplikasi ini.
Tidak didukung, jangan gunakan. Dukungan hosting DLL (titik entri perakitan) disediakan melalui proses FWP.exe. Service Fabric memulai Fabric Worker Process (FWP.exe) dan memuat rakitan sebagai bagian dari proses aktivasi.
<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>
Detail elemen konten
ProviderGuids
Mencantumkan GUID penyedia ETW untuk komponen manifes layanan ini.
Atribut
Value
nama
ProviderGuids
minOccurs
0
ManifestDataPackages
Mencantumkan paket data yang berisi manifes ETW untuk komponen manifes layanan ini. Paket data yang berisi manifes ETW tidak boleh berisi file lain.
Atribut
Value
nama
ManifestDataPackages
minOccurs
0
Elemen ETWSource
Menentukan koleksi jejak ETW. Jejak ETW dikumpulkan untuk penyedia yang didaftarkan oleh semua layanan milik aplikasi.
<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>
Detail atribut
IsEnabled
Apakah koleksi jejak ETW diaktifkan atau tidak. Secara default, tidak diaktifkan.
Atribut
Value
nama
IsEnabled
jenis
xs:string
Detail elemen konten
Tujuan
Tujuan tempat crash dump perlu ditransfer.
Atribut
Value
nama
Tujuan
minOccurs
0
Tidak
Atribut
Value
ref
Parameter
minOccurs
0
maxOccurs
1
Elemen Endpoint (ketik EndpointOverrideType)
Titik akhir, dideklarasikan dalam manifes layanan, yang akan diganti.
<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>
Elemen Endpoint (ketik EndpointType)
Menentukan titik akhir untuk layanan. Port tertentu dapat diminta. Jika tidak ditentukan secara eksplisit, port akan ditetapkan dari rentang port aplikasi yang dicadangkan sistem. Replika layanan yang dijalankan pada node kluster yang berbeda dapat ditetapkan dengan nomor port yang berbeda, sedangkan replika layanan sama yang dijalankan pada simpul yang sama akan menggunakan port yang sama. Port tersebut dapat digunakan oleh replika layanan untuk berbagai keperluan seperti replikasi atau mendengarkan permintaan klien.
<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>
Elemen EndpointBindingPolicy
Menentukan sertifikat yang akan ditampilkan ke klien untuk titik akhir HTTPS.
<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="EndpointBindingPolicy" type="EndpointBindingPolicyType" minOccurs="0">
<xs:annotation>
<xs:documentation>Specifies a certificate that should be returned to a client for an HTTPS endpoint.</xs:documentation>
</xs:annotation>
</xs:element>
Elemen EndpointCertificate
Menentukan informasi tentang sertifikat X509 yang digunakan untuk mengamankan titik akhir.
File yang dapat dieksekusi yang ditentukan oleh EntryPoint biasanya berupa host layanan yang berjalan lama. Keberadaan titik entri penyiapan terpisah menghindari perlunya menjalankan host layanan dengan hak istimewa tinggi selama periode waktu yang lama. File yang dapat dieksekusi yang ditentukan oleh EntryPoint dijalankan setelah SetupEntryPoint berhasil keluar. Proses yang dihasilkan dipantau dan dimulai ulang (dimulai lagi dengan SetupEntryPoint) jika pernah berhenti atau macet.
Mendeklarasikan pengaturan konfigurasi dalam manifes layanan yang akan ditimpa. Ini terdiri dari satu atau beberapa bagian dari pasangan nilai kunci. Nilai parameter dapat dienkripsi menggunakan cmdlet Invoke-ServiceFabricEncryptSecret.
<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="FolderSource" minOccurs="0" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>Specifies the collection of the contents of a particular folder on the local node.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="Destinations" minOccurs="0">
<xs:annotation>
<xs:documentation>Destinations to which the folder contents need to be transferred.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="LocalStore" type="LocalStoreType" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="FileStore" type="FileStoreType" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="AzureBlob" type="AzureBlobType" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element ref="Parameters" minOccurs="0" maxOccurs="1"/>
</xs:sequence>
<xs:attribute name="IsEnabled" type="xs:string">
<xs:annotation>
<xs:documentation>Whether or not collection of the contents of this folder is enabled. By default, it is not enabled.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attributeGroup ref="RelativeFolderPath"/>
<xs:attributeGroup ref="DataDeletionAgeInDays"/>
</xs:complexType>
</xs:element>
Detail atribut
IsEnabled
Apakah koleksi isi folder ini diaktifkan atau tidak. Secara default, tidak diaktifkan.
Menyatakan grup sebagai prinsip keamanan, yang dapat dirujuk dalam kebijakan.
Atribut
Value
jenis
complexType anonim
konten
2 elemen, 1 atribut
ditentukan
secara lokal dalam elemen Groups
nama
Grupkan
maxOccurs
tanpa ikatan
Sumber 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>
Detail atribut
Nama
Nama akun grup lokal. Nama akan dia awali dengan ID aplikasi.
Atribut
Value
nama
Nama
jenis
xs:string
Gunakan
wajib diisi
Detail elemen konten
NTLMAuthenticationPolicy
Atribut
Value
nama
NTLMAuthenticationPolicy
minOccurs
0
Keanggotaan
Atribut
Value
nama
Keanggotaan
minOccurs
0
Elemen Group (ditentukan dalam MemberOf)
Grup tempat pengguna akan ditambahkan. Grup harus ditentukan di bagian Grup.
Atribut
Value
jenis
complexType anonim
konten
0 elemen, 1 atribut
ditentukan
secara lokal dalam elemen MemberOf
nama
Grupkan
minOccurs
0
maxOccurs
tanpa ikatan
Sumber 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>
Detail atribut
NameRef
Nama grup.
Atribut
Value
nama
NameRef
jenis
xs:string
Gunakan
wajib diisi
Elemen Groups
Menyatakan sekumpulan grup sebagai prinsip keamanan, yang dapat dirujuk dalam kebijakan. Grup berguna jika ada beberapa pengguna untuk titik masuk layanan yang berbeda dan mereka perlu memiliki hak istimewa umum tertentu yang tersedia di tingkat grup.
<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>
Detail elemen konten
Grupkan
Menyatakan grup sebagai prinsip keamanan, yang dapat dirujuk dalam kebijakan.
Atribut
Value
nama
Grupkan
maxOccurs
tanpa ikatan
Elemen HealthConfig
Menentukan opsi integrasi docker HEALTHCHECK untuk kontainer.
<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>
Elemen HealthPolicy
Menjelaskan kebijakan untuk mengevaluasi peristiwa kesehatan yang dilaporkan pada berbagai entitas terkait aplikasi. Jika tidak ada kebijakan yang ditentukan, entitas diasumsikan tidak sehat jika laporan kesehatannya berupa peringatan atau kesalahan.
Gambar kontainer yang sesuai dengan nomor versi build OS yang akan diluncurkan. Jika atribut Os tidak ditentukan, gambar kontainer diasumsikan berfungsi di semua versi OS dan menimpa gambar yang ditentukan dalam manifes layanan.
<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="Image" type="ImageType" minOccurs="0" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>Container image corresponding to OS build version number to be launched. If the Os attribute is not specified, the container image
is assumed to work across all versions of the OS and overrides the image specified in the service manifest.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="ImageOverrides" type="ImageOverridesType" minOccurs="0" maxOccurs="1">
<xs:annotation>
<xs:documentation>Image names corresponding to OS build number to be launched.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="InfrastructureInformation" type="InfrastructureInformationType">
<xs:annotation>
<xs:documentation>Describes the infrastructure on which fabric needs to run.</xs:documentation>
</xs:annotation>
</xs:element>
Elemen InstanceCountScalingMechanism
Menentukan mekanisme untuk meningkatkan jumlah instans partisi. Ini hanya untuk layanan tanpa status.
<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>
Detail atribut
MinInstanceCount
Jumlah minimum instans.
Atribut
Value
nama
MinInstanceCount
jenis
xs:string
Gunakan
wajib diisi
MaxInstanceCount
Jumlah maksimum instans..
Atribut
Value
nama
MaxInstanceCount
jenis
xs:string
Gunakan
wajib diisi
ScaleIncrement
Jumlah instans yang digunakan untuk melakukan peningkatan/penurunan.
Atribut
Value
nama
ScaleIncrement
jenis
xs:string
Gunakan
wajib diisi
Elemen KtlLoggerSettings
Menjelaskan informasi KtlLogger yang terkait dengan jenis simpul ini
<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>
Sumber daya yang harus diseimbangkan oleh layanan ini, seperti memori atau penggunaan CPU. Mencakup informasi tentang banyaknya sumber daya yang digunakan setiap replika atau instans layanan ini secara default.
Menyatakan folder, yang diberi nama berdasarkan atribut Nama, di bagian PackageRoot yang berisi file data statik yang akan digunakan oleh proses saat runtime. Service Fabric akan mendaur ulang semua EXE dan DLLHOST yang ditentukan dalam host dan paket dukungan ketika salah satu paket data yang tercantum dalam manifes layanan ditingkatkan.
Mencantumkan paket data yang berisi manifes ETW untuk komponen manifes layanan ini. Paket data yang berisi manifes ETW tidak boleh berisi file lain.
Atribut
Value
jenis
complexType anonim
konten
1 elemen, 0 atribut
ditentukan
secara lokal dalam elemen ETW
nama
ManifestDataPackages
minOccurs
0
Sumber 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>
Pengguna dapat ditambahkan ke grup keanggotaan yang sudah ada, sehingga dapat mewarisi semua properti dan pengaturan keamanan grup keanggotaan itu. Grup keanggotaan dapat digunakan untuk mengamankan sumber daya eksternal yang perlu diakses oleh layanan yang berbeda atau layanan yang sama (pada komputer yang berbeda).
Atribut
Value
jenis
complexType anonim
konten
2 elemen, 0 atribut
ditentukan
secara lokal dalam elemen User
nama
MemberOf
minOccurs
0
Sumber 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>
Detail elemen konten
SystemGroup
Grup sistem tempat pengguna akan ditambahkan. Grup sistem harus ditentukan di bagian Grup.
Atribut
Value
nama
SystemGroup
minOccurs
0
maxOccurs
tanpa ikatan
Grupkan
Grup tempat pengguna akan ditambahkan. Grup harus ditentukan di bagian Grup.
Atribut
Value
nama
Grupkan
minOccurs
0
maxOccurs
tanpa ikatan
Elemen Members (ditentukan dalam StatefulServiceGroupType)
<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>
Parameter aplikasi yang akan digunakan dalam manifes ini. Nilai parameter dapat diubah selama instansiasi aplikasi, atau, jika tidak ada nilai yang diberikan nilai default yang digunakan.
Atribut
Value
jenis
complexType anonim
konten
0 elemen, 2 atribut
ditentukan
secara lokal dalam elemen Parameters
nama
Parameter
blokir
minOccurs
0
maxOccurs
tanpa ikatan
Sumber 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>
Detail atribut
Nama
Nama parameter yang akan digunakan dalam manifes sebagai "[Nama]".
Atribut
Value
nama
Nama
Gunakan
wajib diisi
DefaultValue
Nilai default untuk parameter, yang digunakan jika nilai parameter tidak disediakan selama penggunaan aplikasi.
<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>
Detail atribut
IsEncrypted
Jika true, nilai parameter ini akan dienkripsi. Jika pengembang aplikasi bertanggung jawab untuk membuat sertifikat dan menggunakan cmdlet Invoke-ServiceFabricEncryptSecret cmdlet untuk mengenkripsi informasi sensitif. Informasi sertifikat yang akan digunakan untuk mengenkripsi nilai ditentukan di bagian Sertifikat. Atribut ini tidak digunakan lagi. Gunakan atribut Type.
Atribut
Value
nama
IsEncrypted
jenis
xs:boolean
Default
salah
Jenis
Nilai ini menentukan jenis nilai yang telah Anda tentukan dalam Atribut 'Nilai'. Nilai ini bisa berupa SecretsStoreRef/Encrypted/PlainText.
Jika diatur ke SecretsStoreRef, kami akan mengambil nilai referensi dari SecretStore.
Jika diatur ke Terenkripsi, pengembang aplikasi bertanggung jawab untuk membuat sertifikat dan menggunakan cmdlet Invoke-ServiceFabricEncryptSecret untuk mengenkripsi informasi sensitif.
Atribut
Value
nama
Jenis
jenis
xs:string
Gunakan
opsional
Elemen Parameter (ditentukan dalam Section)
Atribut
Value
jenis
complexType anonim
konten
0 elemen, 5 atribut
ditentukan
secara lokal dalam elemen Section
nama
Parameter
minOccurs
0
maxOccurs
tanpa ikatan
Sumber 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>
Detail atribut
Nama
Atribut
Value
nama
Nama
jenis
xs:string
Gunakan
wajib diisi
Value
Atribut
Value
nama
Nilai
jenis
xs:string
Gunakan
wajib diisi
MustOverride
Jika true, nilai parameter ini harus digantikan oleh konfigurasi tingkat yang lebih tinggi.
Atribut
Value
nama
MustOverride
jenis
xs:boolean
Default
salah
IsEncrypted
Jika true, nilai parameter ini akan dienkripsi.
Atribut
Value
nama
IsEncrypted
jenis
xs:boolean
Default
salah
Jenis
Atribut
Value
nama
Jenis
jenis
xs:string
Gunakan
opsional
Elemen Parameters (ketik ParametersType)
Pengaturan tambahan yang ditentukan sebagai pasangan nilai-nama
<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>
Detail elemen konten
Parameter
Atribut
Value
nama
Parameter
minOccurs
0
maxOccurs
tanpa ikatan
Elemen Parameters (ditentukan dalam ApplicationManifestType)
Mendeklarasikan parameter yang digunakan dalam manifes aplikasi ini. Nilai parameter ini dapat diberikan saat aplikasi digunakan dan dapat dipakai untuk menggantikan pengaturan konfigurasi aplikasi atau layanan.
<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>
Detail elemen konten
Parameter
Parameter aplikasi yang akan digunakan dalam manifes ini. Nilai parameter dapat diubah selama instansiasi aplikasi, atau, jika tidak ada nilai yang diberikan nilai default yang digunakan.
Atribut
Value
nama
Parameter
blokir
minOccurs
0
maxOccurs
tanpa ikatan
Elemen Partition
Menjelaskan partisi menurut nama.
Atribut
Value
jenis
complexType anonim
konten
0 elemen, 1 atribut
ditentukan
secara lokal dalam elemen NamedPartition
nama
Partisi
Sumber 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>
Detail atribut
Nama
Nama partisi
Atribut
Value
nama
Nama
Gunakan
wajib diisi
Elemen PersistencePolicy
Ekstensi Kebijakan Persistensi untuk Jenis Layanan
Digunakan untuk mengontrol node mana dalam kluster tersebut yang dapat dijalankan oleh layanan. Pasangan kunci/nilai yang menjelaskan nama properti simpul dan persyaratan layanan untuk nilai. Setiap pernyataan dapat dikelompokkan bersama dengan logika boolean sederhana untuk membuat batasan yang diperlukan. Misalnya, "(FirmwareVersion>12 && InDMZ == True)".
<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="PlacementConstraints" type="xs:string" minOccurs="0">
<xs:annotation>
<xs:documentation>Used to control which nodes in the cluster a service can run on. A key/value pair which describes the node property name and the service's requirements for the value. Individual statements can be grouped together with simple boolean logic to create the necessary constraint. For example, "(FirmwareVersion>12 && InDMZ == True)".</xs:documentation>
</xs:annotation>
</xs:element>
Elemen PlacementProperties
Menjelaskan properti untuk NodeType ini yang akan digunakan sebagai batasan penempatan
Atribut
Value
jenis
complexType anonim
konten
1 elemen, 0 atribut
ditentukan
secara lokal dalam elemen NodeType
nama
PlacementProperties
minOccurs
0
Sumber XML
<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="PlacementProperties" minOccurs="0">
<xs:annotation>
<xs:documentation>Describe the properties for this NodeType that will be used as placement constraints</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="Property" type="KeyValuePairType" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="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>
Elemen Principals
Menjelaskan prinsip keamanan (pengguna, grup) yang diperlukan aplikasi ini untuk menjalankan layanan dan mengamankan sumber daya. Prinsipal direferensikan di bagian kebijakan.
<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>
Elemen Properties
Menentukan Properti untuk kebijakan Persistensi dan Pembuangan.
Menjelaskan sumber daya yang digunakan oleh layanan ini dengan tanpa mengubah kode yang dikompilasi dan diubah ketika layanan diterapkan. Akses ke sumber daya ini dikontrol melalui bagian Principals dan Policies manifes aplikasi.
Menentukan pengguna lokal atau akun sistem lokal yang akan menjalankan paket kode layanan. Akun domain didukung pada penyebaran Windows Server di mana MICROSOFT Entra ID tersedia. Secara default, aplikasi berjalan dengan akun yang menjalankan proses Fabric.exe. Aplikasi juga dapat berjalan sebagai akun lain, yang harus dinyatakan di bagian Principals. Jika Anda menerapkan kebijakan RunAs ke layanan, dan manifes layanan menyatakan sumber daya titik akhir dengan protokol HTTP, Anda juga harus menentukan SecurityAccessPolicy untuk memastikan bahwa port yang dialokasikan ke titik akhir ini dicantumkan kontrol akses dengan benar untuk akun pengguna RunAs yang menjalankan layanan. Untuk titik akhir HTTPS, Anda juga harus menentukan EndpointBindingPolicy untuk menunjukkan nama sertifikat yang akan ditampilkan ke klien.
<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>
Detail atribut
Nama
Nama bagian di file Settings.xml yang akan diganti.
Memberikan izin akses ke prinsipal pada sumber daya (seperti titik akhir) yang ditentukan dalam manifes layanan. Biasanya, akses layanan ke sumber daya yang berbeda sebaiknya dikontrol dan dibatasi guna meminimalkan risiko keamanan. Hal ini sangat penting saat aplikasi dibuat dari kumpulan layanan dari marketplace yang dikembangkan oleh pengembang yang berbeda.
<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>
Elemen Service
Menyatakan layanan yang akan dibuat secara otomatis saat aplikasi digunakan.
<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>
Detail atribut
Nama
Nama layanan, digunakan untuk membentuk URI nama aplikasi yang sepenuhnya memenuhi syarat. URI nama layanan yang sepenuhnya memenuhi syarat adalah: fabric:/ApplicationName/ServiceName.
Atribut
Value
nama
Nama
jenis
xs:string
Gunakan
wajib diisi
GeneratedIdRef
Referensi ke ID yang dibuat otomatis yang digunakan oleh perkakas Visual Studio.
Atribut
Value
nama
GeneratedIdRef
jenis
xs:string
Gunakan
opsional
ServiceDnsName
Nama DNS layanan.
Atribut
Value
nama
ServiceDnsName
jenis
xs:string
Gunakan
opsional
ServicePackageActivationMode
ServicePackageActivationMode yang akan digunakan saat membuat layanan. Nilai yang diizinkan adalah 'SharedProcess' dan 'ExclusiveProcess'. Dengan mode SharedProcess, replika atau instans dari partisi layanan yang berbeda akan berbagi aktivasi paket layanan yang sama pada simpul. Dengan mode ExclusiveProcess, setiap replika atau instans layanan akan memiliki aktivasi khusus paket layanannya sendiri.
Menentukan hubungan afinitas dengan layanan lain. Berguna saat membagi aplikasi yang sebelumnya monolitik menjadi layanan mikro. Satu layanan memiliki dependensi lokal pada layanan lain dan kedua layanan perlu dijalankan pada simpul yang sama agar berfungsi.
Atribut
Value
jenis
complexType anonim
konten
0 elemen, 2 atribut
ditentukan
secara lokal dalam elemen ServiceCorrelations
nama
ServiceCorrelation
maxOccurs
tanpa ikatan
Sumber 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>
Detail atribut
ServiceName
Nama layanan lain sebagai URI. Contoh, "fabric:/otherApplication/parentService".
Atribut
Value
nama
ServiceName
Gunakan
wajib diisi
Skema
Dalam NonAlignedAffinity, replika atau instans berbagai layanan ditempatkan pada simpul yang sama. AlignedAffinity digunakan dengan layanan berstatus. Jika satu layanan berstatus dikonfigurasi sebagai memiliki afinitas yang selaras dengan layanan berstatus lainnya, pasangan utama layanan tersebut ditempatkan pada simpul yang sama seperti satu sama lain, dan setiap pasangan sekunder juga ditempatkan pada simpul yang sama.
<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>
Detail elemen konten
ServiceCorrelation
Menentukan hubungan afinitas dengan layanan lain. Berguna saat membagi aplikasi yang sebelumnya monolitik menjadi layanan mikro. Satu layanan memiliki dependensi lokal pada layanan lain dan kedua layanan perlu dijalankan pada simpul yang sama agar berfungsi.
Atribut
Value
nama
ServiceCorrelation
maxOccurs
tanpa ikatan
Elemen ServiceFabricRuntimeAccessPolicy
Menetapkan kebijakan yang menentukan bagaimana runtime Service Fabric diekspos ke replika.
<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>
Elemen ServiceGroup
Kumpulan layanan yang secara otomatis ditempatkan bersama, sehingga juga dipindahkan bersama selama manajemen fail-over atau sumber daya.
<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>
Detail atribut
Nama
Nama layanan ini relatif terhadap Nama URI aplikasi ini. Nama layanan yang sepenuhnya memenuhi syarat adalah kombinasi URI Nama Aplikasi dan Nama ini.
Atribut
Value
nama
Nama
jenis
xs:string
Gunakan
wajib diisi
ServicePackageActivationMode
ServicePackageActivationMode yang akan digunakan saat membuat layanan. Nilai yang diizinkan adalah 'SharedProcess' dan 'ExclusiveProcess'. Dengan mode SharedProcess, replika atau instans dari partisi layanan yang berbeda akan berbagi aktivasi paket layanan yang sama pada simpul. Dengan mode ExclusiveProcess, setiap replika atau instans layanan akan memiliki aktivasi khusus paket layanannya sendiri.
<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>
Detail elemen konten
Tidak
Atribut
Value
ref
ServiceGroupTypeMember
minOccurs
1
maxOccurs
tanpa ikatan
Elemen ServiceGroupTypeMember
Menjelaskan tipe anggota grup layanan.
Atribut
Value
jenis
complexType anonim
konten
1 elemen, 1 atribut
ditentukan
secara global
nama
ServiceGroupTypeMember
Sumber 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>
Detail atribut
ServiceTypeName
Pengidentifikasi jenis yang ditentukan pengguna untuk Anggota Microsoft Azure Service Fabric ServiceGroup, misalnya, Aktor
Atribut
Value
nama
ServiceTypeName
Gunakan
wajib diisi
Detail elemen konten
LoadMetrics
Muat metrik yang dilaporkan oleh layanan ini, yang digunakan untuk layanan penyeimbangan sumber daya.
Atribut
Value
nama
LoadMetrics
minOccurs
0
Elemen ServiceManifest
Secara deklaratif menjelaskan jenis dan versi layanan. Ini mencantumkan kode, konfigurasi, dan paket data yang dapat ditingkatkan secara independen yang bersama-sama menyusun paket layanan untuk mendukung satu atau beberapa jenis layanan. Sumber daya, pengaturan diagnostik, dan metadata layanan, seperti jenis layanan, properti kesehatan, dan metrik penyeimbang beban, juga ditentukan.
Mengimpor manifes layanan yang dibuat oleh pengembang layanan. Manifes layanan harus diimpor untuk setiap layanan konstituen dalam aplikasi. Ambil alih konfigurasi dan kebijakan dapat dideklarasikan untuk manifes layanan.
<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>
Menjelaskan penggantian konfigurasi untuk manifest layanan yang diimpor. Penggantian konfigurasi memungkinkan fleksibilitas penggunaan kembali manifes layanan yang sama di beberapa jenis aplikasi dengan mengganti konfigurasi manifes layanan hanya jika digunakan dengan jenis aplikasi tertentu. Penggantian konfigurasi dapat mengubah semua konfigurasi default dalam manifes layanan asalkan konfigurasi default ditentukan menggunakan Settings.xml dalam folder ConfigPackage.
<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="ServicePackage" type="ServicePackageType">
<xs:annotation>
<xs:documentation>ServicePackage represents a versioned unit of deployment and activation. The version of the ServicePackage is determined based on the manifest version and the version of the overrides.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="ServicePackageResourceGovernancePolicy" type="ServicePackageResourceGovernancePolicyType" minOccurs="0" maxOccurs="1">
<xs:annotation>
<xs:documentation>Defines the resource governance policy that is applied at the level of the entire service package.</xs:documentation>
</xs:annotation>
</xs:element>
Elemen ServicePlacementPolicies (ditentukan dalam ServiceTypeType)
Menyatakan kebijakan penempatan untuk layanan. Berguna saat kluster mencakup jarak geografis dan/atau wilayah geopolitik.
<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>
Detail elemen konten
ServicePlacementPolicy
Menentukan kebijakan penempatan layanan, yang menentukan bahwa layanan harus atau tidak boleh dijalankan di domain fault kluster tertentu. Berguna saat kluster mencakup jarak geografis dan/atau wilayah geopolitik.
Atribut
Value
nama
ServicePlacementPolicy
maxOccurs
tanpa ikatan
Elemen ServicePlacementPolicies (ditentukan dalam ServiceType)
Menyatakan kebijakan penempatan untuk layanan. Berguna saat kluster mencakup jarak geografis dan/atau wilayah geopolitik.
<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>
Detail elemen konten
ServicePlacementPolicy
Menentukan kebijakan penempatan layanan, yang menentukan bahwa layanan harus atau tidak boleh dijalankan di domain fault kluster tertentu. Berguna saat kluster mencakup jarak geografis dan/atau wilayah geopolitik.
Atribut
Value
nama
ServicePlacementPolicy
maxOccurs
tanpa ikatan
Elemen ServicePlacementPolicy ditentukan dalam ServicePlacementPolicies
Menentukan kebijakan penempatan layanan, yang menentukan bahwa layanan harus atau tidak boleh dijalankan di domain fault kluster tertentu. Berguna saat kluster mencakup jarak geografis dan/atau wilayah geopolitik.
Atribut
Value
jenis
complexType anonim
konten
0 elemen, 2 atribut
ditentukan
secara lokal dalam elemen ServicePlacementPolicies
nama
ServicePlacementPolicy
maxOccurs
tanpa ikatan
Sumber 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>
Detail atribut
DomainName
Domain fault tempat layanan harus atau tidak boleh ditempatkan, bergantung pada nilai Jenis.
Atribut
Value
nama
DomainName
Jenis
InvalidDomain memungkinkan Anda menentukan bahwa Domain Fault tertentu tidak valid untuk beban kerja ini. RequiredDomain mengharuskan semua replika ada di domain yang ditentukan. Beberapa domain yang diperlukan dapat ditentukan. PreferredPrimaryDomain menentukan Domain Fault pilihan untuk replika utama. Berguna dalam kluster bentang geografis tempat Anda menggunakan lokasi lain untuk redundansi, tetapi lebih suka replika utama ditempatkan di lokasi tertentu agar penyedia dapat menurunkan latensi untuk operasi yang melalui replika utama. RequiredDomainDistribution menentukan bahwa replika harus didistribusikan di antara domain fault yang tersedia. NonPartiallyPlace mengontrol apakah replika layanan akan ditempatkan sebagian jika tidak semuanya dapat ditempatkan.
Atribut
Value
nama
Jenis
Gunakan
wajib diisi
Elemen ServicePlacementPolicy (ditentukan dalam ServicePlacementPolicies)
Menentukan kebijakan penempatan layanan, yang menentukan bahwa layanan harus atau tidak boleh dijalankan di domain fault kluster tertentu. Berguna saat kluster mencakup jarak geografis dan/atau wilayah geopolitik.
Atribut
Value
jenis
complexType anonim
konten
0 elemen, 2 atribut
ditentukan
secara lokal dalam elemen ServicePlacementPolicies
nama
ServicePlacementPolicy
maxOccurs
tanpa ikatan
Sumber 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>
Detail atribut
DomainName
Domain fault tempat layanan harus atau tidak boleh ditempatkan, bergantung pada nilai Jenis.
Atribut
Value
nama
DomainName
Jenis
InvalidDomain memungkinkan Anda menentukan bahwa Domain Fault tertentu tidak valid untuk beban kerja ini. RequiredDomain mengharuskan semua replika ada di domain yang ditentukan. Beberapa domain yang diperlukan dapat ditentukan. PreferredPrimaryDomain menentukan Domain Fault pilihan untuk replika utama. Berguna dalam kluster bentang geografis tempat Anda menggunakan lokasi lain untuk redundansi, tetapi lebih suka replika utama ditempatkan di lokasi tertentu agar penyedia dapat menurunkan latensi untuk operasi yang melalui replika utama. RequiredDomainDistribution menentukan bahwa replika harus didistribusikan di antara domain fault yang tersedia. NonPartiallyPlace mengontrol apakah replika layanan akan ditempatkan sebagian jika tidak semuanya dapat ditempatkan.
Atribut
Value
nama
Jenis
Gunakan
wajib diisi
Elemen ServiceScalingPolicies
Mendeklarasikan kebijakan penskalaan untuk layanan. Berguna untuk menskalakan layanan secara dinamis berdasarkan kebutuhan.
<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>
Menyatakan serangkaian jenis layanan yang diizinkan yang dapat dibuat secara dinamis di dalam instans aplikasi. Nilai konfigurasi default, seperti faktor replikasi, ditentukan dan digunakan sebagai templat untuk membuat instans layanan.
<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>
Elemen ServiceTypeHealthPolicy
Menjelaskan kebijakan untuk mengevaluasi peristiwa kesehatan yang dilaporkan pada layanan, partisi, dan replika jenis layanan tertentu.
<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>
Menentukan jenis layanan apa yang didukung oleh CodePackage dalam manifes ini. Jika layanan digunakan terhadap salah satu jenis layanan ini, semua paket kode yang dinyatakan dalam manifes ini akan diaktifkan dengan menjalankan titik entrinya. Jenis layanan dideklarasikan pada tingkat manifes dan bukan tingkat paket kode.
<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>
Mendeklarasikan pengaturan konfigurasi dalam manifes layanan yang akan ditimpa. Ini terdiri dari satu atau beberapa bagian dari pasangan nilai kunci. Nilai parameter dapat dienkripsi menggunakan cmdlet Invoke-ServiceFabricEncryptSecret.
Defiles pengaturan yang dapat dikonfigurasi untuk paket kode sebuah layanan. Microsoft Azure Service Fabric tidak menginterpretasikan pengaturan, namun membuatnya tersedia melalui Runtime API untuk digunakan oleh komponen kode.
<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>
Elemen SetupEntryPoint
Titik entri istimewa yang secara default berjalan dengan info masuk yang sama dengan Service Fabric (biasanya akun NETWORKSERVICE) sebelum titik entri lainnya. File yang dapat dieksekusi yang ditentukan oleh EntryPoint biasanya berupa host layanan yang berjalan lama. Keberadaan titik entri penyiapan terpisah menghindari perlunya menjalankan host layanan dengan hak istimewa tinggi selama periode waktu yang lama.
<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="SetupEntryPoint" minOccurs="0">
<xs:annotation>
<xs:documentation>A privileged entry point that by default runs with the same credentials as Service Fabric (typically the NETWORKSERVICE account) before any other entry point. The executable specified by EntryPoint is typically the long-running service host. The presence of a separate setup entry point avoids having to run the service host with high privileges for extended periods of time.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="ExeHost" type="ExeHostEntryPointType"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="SingletonPartition">
<xs:annotation>
<xs:documentation>Declares that this service has only one partition.</xs:documentation>
</xs:annotation>
<xs:complexType/>
</xs:element>
Grup sistem tempat pengguna akan ditambahkan. Grup sistem harus ditentukan di bagian Grup.
Atribut
Value
jenis
complexType anonim
konten
0 elemen, 1 atribut
ditentukan
secara lokal dalam elemen MemberOf
nama
SystemGroup
minOccurs
0
maxOccurs
tanpa ikatan
Sumber XML
<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="SystemGroup" minOccurs="0" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>The system group to add the user to. The system group must be defined in the Groups section.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:attribute name="Name" type="xs:string" use="required">
<xs:annotation>
<xs:documentation>The name of the system group.</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
</xs:element>
<xs:element xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2011/01/fabric" name="UniformInt64Partition">
<xs:annotation>
<xs:documentation>Describes a uniform partitioning scheme based on Int64 keys.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:attribute name="PartitionCount" type="xs:string" use="required">
<xs:annotation>
<xs:documentation>Total number of partitions (positive integer). Each partition is responsible for a non-overlapping subrange of the overall partition key range.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="LowKey" type="xs:string" use="required">
<xs:annotation>
<xs:documentation>Inclusive low range of the partition key (long).</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="HighKey" type="xs:string" use="required">
<xs:annotation>
<xs:documentation>Inclusive high range of the partition key (long).</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
</xs:element>
Detail atribut
PartitionCount
Jumlah total partisi (bilangan bulat positif). Setiap partisi bertanggung jawab atas sub-rentang non-tumpang tindih dari seluruh rentang kunci partisi.
Atribut
Value
nama
PartitionCount
jenis
xs:string
Gunakan
wajib diisi
LowKey
Rentang rendah inklusif dari kunci partisi (panjang).
Atribut
Value
nama
LowKey
jenis
xs:string
Gunakan
wajib diisi
HighKey
Rentang tinggi inklusif dari kunci partisi (panjang).
Atribut
Value
nama
HighKey
jenis
xs:string
Gunakan
wajib diisi
Elemen UnmanagedDll
Tidak didukung, jangan gunakan. Nama rakitan yang tidak dikelola(misalnya, Antrean.dll), yang akan dihosting.
Menyatakan pengguna sebagai prinsip keamanan, yang dapat dirujuk dalam kebijakan.
Atribut
Value
jenis
complexType anonim
konten
2 elemen, 5 atribut
ditentukan
secara lokal dalam elemen Users
nama
User
maxOccurs
tanpa ikatan
Sumber 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>
Detail atribut
Nama
Nama akun pengguna.
Atribut
Value
nama
Nama
jenis
xs:string
Gunakan
wajib diisi
AccountType
Menentukan jenis akun: LocalUser, DomainUser, NetworkService, LocalService, ManagedServiceAccount, atau LocalSystem. Defaultnya adalah LocalUser. Akun pengguna lokal dibuat di komputer tempat aplikasi disebarkan. Secara default, akun ini tidak memiliki nama yang sama seperti yang ditentukan di sini. Sebaliknya, akun dihasilkan secara dinamis dan memiliki kata sandi acak. Jenis akun sistem lokal yang didukung adalah LocalUser, NetworkService, LocalService, dan LocalSystem. Akun domain didukung pada penyebaran Windows Server di mana MICROSOFT Entra ID tersedia.
Atribut
Value
nama
AccountType
Gunakan
opsional
Default
LocalUser
LoadUserProfile
Atribut
Value
nama
LoadUserProfile
jenis
xs:boolean
Gunakan
opsional
Default
salah
PerformInteractiveLogon
Atribut
Value
nama
PerformInteractiveLogon
jenis
xs:boolean
Gunakan
opsional
Default
salah
PasswordEncrypted
True jika kata sandi dienkripsi; false jika dalam teks biasa.
Atribut
Value
nama
PasswordEncrypted
jenis
xs:boolean
Gunakan
opsional
Detail elemen konten
NTLMAuthenticationPolicy
Atribut
Value
nama
NTLMAuthenticationPolicy
minOccurs
0
MemberOf
Pengguna dapat ditambahkan ke grup keanggotaan yang sudah ada, sehingga dapat mewarisi semua properti dan pengaturan keamanan grup keanggotaan itu. Grup keanggotaan dapat digunakan untuk mengamankan sumber daya eksternal yang perlu diakses oleh layanan yang berbeda atau layanan yang sama (pada komputer yang berbeda).
Atribut
Value
nama
MemberOf
minOccurs
0
Elemen UserRoleClientCertificate
Sertifikat klien peran pengguna default yang digunakan untuk mengamankan komunikasi server klien.
<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>
Elemen Users
Menyatakan sekumpulan pengguna sebagai perwakilan keamanan, yang dapat dirujuk dalam kebijakan.
<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>
Detail elemen konten
User
Menyatakan pengguna sebagai prinsip keamanan, yang dapat dirujuk dalam kebijakan.
<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>
Segera hadir: Sepanjang tahun 2024 kami akan menghentikan penggunaan GitHub Issues sebagai mekanisme umpan balik untuk konten dan menggantinya dengan sistem umpan balik baru. Untuk mengetahui informasi selengkapnya, lihat: https://aka.ms/ContentUserFeedback.