コード例 #1
0
        public ContainerGroup Duplicate()
        {
            var newContainerGroupName = ACIUtils.GetContainerGroupNameForAppName(ACIUtils.GetAppNameFromContainerGroupName(Name));
            var newContainerGroup     = new ContainerGroup(newContainerGroupName, _location, "");

            foreach (var container in _containers)
            {
                newContainerGroup.AddContainer(container);
            }
            return(newContainerGroup);
        }
コード例 #2
0
 public void AddContainerGroup(ContainerGroup containerGroup)
 {
     _nextContainerIndex = 0;
     _containerGroups.Add(containerGroup);
 }