Esempio n. 1
0
 public SKU(string ItemIndex, string ItemCode, SKUClass ItemClass, byte CasePerLayer, byte LayerPerPallete, byte LayerPerPick)
 {
     this.ItemIndex       = ItemIndex;
     this.ItemCode        = ItemCode;
     this.ItemClass       = ItemClass;
     this.CasePerLayer    = CasePerLayer;
     this.LayerPerPallete = LayerPerPallete;
     this.LayerPerPick    = LayerPerPick;
 }
 public Resource_DiagnosticsStorageAccount()
 {
     Name       = "[variables('DiagnosticsStorageAccount_Name')]";
     Type       = "Microsoft.Storage/storageAccounts";
     ApiVersion = "2018-02-01";
     Location   = "[variables('Location')]";
     Kind       = "[variables('DiagnosticsStorageAccount_Kind')]";
     Sku        = new SKUClass {
         name = "[variables('DiagnosticsStorageAccount_Type')]"
     };
 }
Esempio n. 3
0
 public Resource_AvailabilitySet()
 {
     Name       = "[variables('AvSet_Name')]";
     Type       = "Microsoft.Compute/availabilitySets";
     ApiVersion = "2018-04-01";
     Location   = "[variables('Location')]";
     Properties = new Property_AvailabilitySet();
     Sku        = new SKUClass {
         name = "Aligned"
     };
 }
Esempio n. 4
0
        public Resource_PublicIPAddress(bool _multiVM)
        {
            Name = _multiVM ?
                   "[concat(variables('VM_NamePrefix'), copyIndex(1), '-pip')]"
                : "[concat(variables('VM_NamePrefix'), '-pip')]";

            Type       = "Microsoft.Network/publicIPAddresses";
            ApiVersion = "2018-04-01";
            Location   = "[variables('Location')]";

            if (_multiVM)
            {
                Copy = new CopyClass {
                    Name = "MultiVMPIPLoop", Count = "[variables('VM_InstanceCount')]"
                };
            }

            Properties = new Property_PublicIPAddress();

            Sku = new SKUClass {
                name = "[variables('PIP_Sku')]"
            };
        }