January 2019
Intermediate to advanced
754 pages
18h 13m
English
The ResourceGovernancePolicy element is used to restrict the resources consumed by a container on a host. The limits can be set for Memory, MemorySwap, CPUShares, MemoryReservationInMB, or BlkioWeight (bulk I/O weight). The following sample shows the use of ResourceGovernancePolicy element:
<ServiceManifestImport> <ServiceManifestRef ServiceManifestName="FrontendServicePackage" ServiceManifestVersion="1.0"/> <Policies> <ContainerHostPolicies CodePackageRef="FrontendService.Code"> <RepositoryCredentials AccountName="TestUser" Password="12345" PasswordEncrypted="false"/> </ContainerHostPolicies> </Policies> </ServiceManifestImport>
The password specified in the RepositoryCredentials element should be encrypted using ...
Read now
Unlock full access