Exemplo n.º 1
0
        private void Run()
        {
            var vIpTags = new VirtualMachineScaleSetIpTag();

            vIpTags.IpTagType = this.MyInvocation.BoundParameters.ContainsKey("IpTagType") ? this.IpTagType : null;
            vIpTags.Tag       = this.MyInvocation.BoundParameters.ContainsKey("Tag") ? this.Tag : null;

            WriteObject(vIpTags);
        }
        private void Run()
        {
            var vIpTags = new VirtualMachineScaleSetIpTag();

            vIpTags.IpTagType = this.IsParameterBound(c => c.IpTagType) ? this.IpTagType : null;
            vIpTags.Tag       = this.IsParameterBound(c => c.Tag) ? this.Tag : null;

            WriteObject(vIpTags);
        }