Пример #1
0
        protected override void ProcessRecord()
        {
            var vVaultCertificates = new Microsoft.Azure.Management.Compute.Models.VaultCertificate();

            vVaultCertificates.CertificateUrl   = this.CertificateUrl;
            vVaultCertificates.CertificateStore = this.CertificateStore;
            WriteObject(vVaultCertificates);
        }
        private void Run()
        {
            var vVaultCertificates = new Microsoft.Azure.Management.Compute.Models.VaultCertificate();

            vVaultCertificates.CertificateUrl   = this.CertificateUrl;
            vVaultCertificates.CertificateStore = this.CertificateStore;
            WriteObject(vVaultCertificates);
        }
        protected override void ProcessRecord()
        {
            var vVaultCertificates = new Microsoft.Azure.Management.Compute.Models.VaultCertificate();

            vVaultCertificates.CertificateUrl = this.CertificateUrl;
            vVaultCertificates.CertificateStore = this.CertificateStore;
            WriteObject(vVaultCertificates);
        }
        private void Run()
        {
            var vVaultCertificates = new Microsoft.Azure.Management.Compute.Models.VaultCertificate();

            vVaultCertificates.CertificateUrl   = this.MyInvocation.BoundParameters.ContainsKey("CertificateUrl") ? this.CertificateUrl : null;
            vVaultCertificates.CertificateStore = this.MyInvocation.BoundParameters.ContainsKey("CertificateStore") ? this.CertificateStore : null;

            WriteObject(vVaultCertificates);
        }