<spanid="com-vmware-vcenter-crypto-manager-package"></span><h1>com.vmware.vcenter.crypto_manager package<aclass="headerlink"href="#module-com.vmware.vcenter.crypto_manager"title="Permalink to this headline">¶</a></h1>
<divclass="section"id="subpackages">
<h2>Subpackages<aclass="headerlink"href="#subpackages"title="Permalink to this headline">¶</a></h2>
<spanid="com-vmware-vcenter-crypto-manager-hosts-client-module"></span><h2>com.vmware.vcenter.crypto_manager.hosts_client module<aclass="headerlink"href="#module-com.vmware.vcenter.crypto_manager.hosts_client"title="Permalink to this headline">¶</a></h2>
<emclass="property"><spanclass="pre">class</span></em><codeclass="sig-prename descclassname"><spanclass="pre">com.vmware.vcenter.crypto_manager.hosts_client.</span></code><codeclass="sig-name descname"><spanclass="pre">StubFactory</span></code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">stub_config</span></span></em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.vcenter.crypto_manager.hosts_client.StubFactory"title="Permalink to this definition">¶</a></dt>
<spanid="com-vmware-vcenter-crypto-manager-kms-client-module"></span><h2>com.vmware.vcenter.crypto_manager.kms_client module<aclass="headerlink"href="#module-com.vmware.vcenter.crypto_manager.kms_client"title="Permalink to this headline">¶</a></h2>
<emclass="property"><spanclass="pre">class</span></em><codeclass="sig-prename descclassname"><spanclass="pre">com.vmware.vcenter.crypto_manager.kms_client.</span></code><codeclass="sig-name descname"><spanclass="pre">Providers</span></code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">config</span></span></em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.vcenter.crypto_manager.kms_client.Providers"title="Permalink to this definition">¶</a></dt>
<p>The <codeclass="docutils literal notranslate"><spanclass="pre">Providers</span></code> class provides methods to create, retrieve, update,
delete, export and import providers. This class was added in vSphere API
7.0.2.0.</p>
<dlclass="field-list simple">
<dtclass="field-odd">Parameters</dt>
<ddclass="field-odd"><p><strong>config</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">vmware.vapi.bindings.stub.StubConfiguration</span></code>) – Configuration to be used for creating the stub.</p>
<emclass="property"><spanclass="pre">class</span></em><codeclass="sig-name descname"><spanclass="pre">Constraints</span></code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">tpm_required</span></span><spanclass="o"><spanclass="pre">=</span></span><spanclass="default_value"><spanclass="pre">None</span></span></em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.vcenter.crypto_manager.kms_client.Providers.Constraints"title="Permalink to this definition">¶</a></dt>
<p>The <codeclass="docutils literal notranslate"><spanclass="pre">Providers.Constraints</span></code> class contains constraints on a provider.
This class was added in vSphere API 7.0.2.0.</p>
<divclass="admonition tip">
<pclass="admonition-title">Tip</p>
<p>The arguments are used to initialize data attributes with the same
names.</p>
</div>
<dlclass="field-list simple">
<dtclass="field-odd">Parameters</dt>
<ddclass="field-odd"><p><strong>tpm_required</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">bool</span></code>) – Determines if a provider is restricted to hosts with TPM 2.0
capability. This attribute was added in vSphere API 7.0.2.0.</p>
<emclass="property"><spanclass="pre">class</span></em><codeclass="sig-name descname"><spanclass="pre">ConstraintsSpec</span></code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">tpm_required</span></span><spanclass="o"><spanclass="pre">=</span></span><spanclass="default_value"><spanclass="pre">None</span></span></em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.vcenter.crypto_manager.kms_client.Providers.ConstraintsSpec"title="Permalink to this definition">¶</a></dt>
<p>The <codeclass="docutils literal notranslate"><spanclass="pre">Providers.ConstraintsSpec</span></code> class contains constraints to be imposed
on a provider. This class was added in vSphere API 7.0.2.0.</p>
<divclass="admonition tip">
<pclass="admonition-title">Tip</p>
<p>The arguments are used to initialize data attributes with the same
names.</p>
</div>
<dlclass="field-list simple">
<dtclass="field-odd">Parameters</dt>
<ddclass="field-odd"><p><strong>tpm_required</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">bool</span></code> or <codeclass="docutils literal notranslate"><spanclass="pre">None</span></code>) – Determines if a provider is restricted to hosts with TPM 2.0
capability. This attribute was added in vSphere API 7.0.2.0.
If None, the constraint does not apply to the provider.</p>
<emclass="property"><spanclass="pre">class</span></em><codeclass="sig-name descname"><spanclass="pre">CreateSpec</span></code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">provider</span></span><spanclass="o"><spanclass="pre">=</span></span><spanclass="default_value"><spanclass="pre">None</span></span></em>, <emclass="sig-param"><spanclass="n"><spanclass="pre">constraints</span></span><spanclass="o"><spanclass="pre">=</span></span><spanclass="default_value"><spanclass="pre">None</span></span></em>, <emclass="sig-param"><spanclass="n"><spanclass="pre">native_spec</span></span><spanclass="o"><spanclass="pre">=</span></span><spanclass="default_value"><spanclass="pre">None</span></span></em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.vcenter.crypto_manager.kms_client.Providers.CreateSpec"title="Permalink to this definition">¶</a></dt>
<li><p><strong>constraints</strong> (<aclass="reference internal"href="#com.vmware.vcenter.crypto_manager.kms_client.Providers.ConstraintsSpec"title="com.vmware.vcenter.crypto_manager.kms_client.Providers.ConstraintsSpec"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">Providers.ConstraintsSpec</span></code></a> or <codeclass="docutils literal notranslate"><spanclass="pre">None</span></code>) – The constraints on the provider. This attribute was added in
vSphere API 7.0.2.0.
If None there are no constraints on the provider.</p></li>
<li><p><strong>native_spec</strong> (<aclass="reference internal"href="#com.vmware.vcenter.crypto_manager.kms_client.Providers.NativeProviderCreateSpec"title="com.vmware.vcenter.crypto_manager.kms_client.Providers.NativeProviderCreateSpec"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">Providers.NativeProviderCreateSpec</span></code></a> or <codeclass="docutils literal notranslate"><spanclass="pre">None</span></code>) – Native provider create spec. This attribute was added in vSphere
<emclass="property"><spanclass="pre">class</span></em><codeclass="sig-name descname"><spanclass="pre">ExportResult</span></code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">type</span></span><spanclass="o"><spanclass="pre">=</span></span><spanclass="default_value"><spanclass="pre">None</span></span></em>, <emclass="sig-param"><spanclass="n"><spanclass="pre">location</span></span><spanclass="o"><spanclass="pre">=</span></span><spanclass="default_value"><spanclass="pre">None</span></span></em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.vcenter.crypto_manager.kms_client.Providers.ExportResult"title="Permalink to this definition">¶</a></dt>
<p>The <codeclass="docutils literal notranslate"><spanclass="pre">Providers.ExportResult</span></code> class contains result of
<aclass="reference internal"href="#com.vmware.vcenter.crypto_manager.kms_client.Providers.export"title="com.vmware.vcenter.crypto_manager.kms_client.Providers.export"><codeclass="xref py py-func docutils literal notranslate"><spanclass="pre">Providers.export()</span></code></a> operation. This class was added in vSphere API
7.0.2.0.</p>
<divclass="admonition tip">
<pclass="admonition-title">Tip</p>
<p>The arguments are used to initialize data attributes with the same
names.</p>
</div>
<dlclass="field-list simple">
<dtclass="field-odd">Parameters</dt>
<ddclass="field-odd"><ulclass="simple">
<li><p><strong>type</strong> (<aclass="reference internal"href="#com.vmware.vcenter.crypto_manager.kms_client.Providers.ExportType"title="com.vmware.vcenter.crypto_manager.kms_client.Providers.ExportType"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">Providers.ExportType</span></code></a>) – Type of provider export result. This attribute was added in vSphere
API 7.0.2.0.</p></li>
<li><p><strong>location</strong> (<aclass="reference internal"href="#com.vmware.vcenter.crypto_manager.kms_client.Providers.Location"title="com.vmware.vcenter.crypto_manager.kms_client.Providers.Location"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">Providers.Location</span></code></a>) – Location of the exported configuration. This attribute was added in
vSphere API 7.0.2.0.
This attribute is optional and it is only relevant when the value
of <codeclass="docutils literal notranslate"><spanclass="pre">type</span></code> is <aclass="reference internal"href="#com.vmware.vcenter.crypto_manager.kms_client.Providers.ExportType.LOCATION"title="com.vmware.vcenter.crypto_manager.kms_client.Providers.ExportType.LOCATION"><codeclass="xref py py-attr docutils literal notranslate"><spanclass="pre">Providers.ExportType.LOCATION</span></code></a>.</p></li>
<emclass="property"><spanclass="pre">class</span></em><codeclass="sig-name descname"><spanclass="pre">ExportSpec</span></code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">provider</span></span><spanclass="o"><spanclass="pre">=</span></span><spanclass="default_value"><spanclass="pre">None</span></span></em>, <emclass="sig-param"><spanclass="n"><spanclass="pre">password</span></span><spanclass="o"><spanclass="pre">=</span></span><spanclass="default_value"><spanclass="pre">None</span></span></em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.vcenter.crypto_manager.kms_client.Providers.ExportSpec"title="Permalink to this definition">¶</a></dt>
<p>The <codeclass="docutils literal notranslate"><spanclass="pre">Providers.ExportSpec</span></code> class contains attributes that are needed to
export a provider. This class was added in vSphere API 7.0.2.0.</p>
<divclass="admonition tip">
<pclass="admonition-title">Tip</p>
<p>The arguments are used to initialize data attributes with the same
names.</p>
</div>
<dlclass="field-list simple">
<dtclass="field-odd">Parameters</dt>
<ddclass="field-odd"><ulclass="simple">
<li><p><strong>provider</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code>) – Provider identifier. This attribute was added in vSphere API
7.0.2.0.
When clients pass a value of this class as a parameter, the
attribute must be an identifier for the resource type:
<codeclass="docutils literal notranslate"><spanclass="pre">com.vmware.vcenter.crypto_manager.kms.provider</span></code>. When methods
return a value of this class as a return value, the attribute will
<li><p><strong>password</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code> or <codeclass="docutils literal notranslate"><spanclass="pre">None</span></code>) – Password used to encrypt the exported configuration. This attribute
was added in vSphere API 7.0.2.0.
If None or empty, the configuration will not be encrypted.</p></li>
<emclass="property"><spanclass="pre">class</span></em><codeclass="sig-name descname"><spanclass="pre">ExportType</span></code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">string</span></span></em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.vcenter.crypto_manager.kms_client.Providers.ExportType"title="Permalink to this definition">¶</a></dt>
<p>The <codeclass="docutils literal notranslate"><spanclass="pre">Providers.ExportType</span></code> class identifies the type of result that is
returned when a provider is exported. This enumeration was added in vSphere
API 7.0.2.0.</p>
<divclass="admonition note">
<pclass="admonition-title">Note</p>
<p>This class represents an enumerated type in the interface language
definition. The class contains class attributes which represent the
values in the current version of the enumerated type. Newer versions of
the enumerated type may contain new values. To use new values of the
enumerated type in communication with a server that supports the newer
version of the API, you instantiate this class. See <aclass="reference internal"href="enumeration.html#enumeration-description"><spanclass="std std-ref">enumerated
type description page</span></a>.</p>
</div>
<dlclass="field-list simple">
<dtclass="field-odd">Parameters</dt>
<ddclass="field-odd"><p><strong>string</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code>) – String value for the <codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">ExportType</span></code> instance.</p>
<codeclass="sig-name descname"><spanclass="pre">LOCATION</span></code><emclass="property"><spanclass="pre">=</span><spanclass="pre">ExportType(string='LOCATION')</span></em><aclass="headerlink"href="#com.vmware.vcenter.crypto_manager.kms_client.Providers.ExportType.LOCATION"title="Permalink to this definition">¶</a></dt>
<dd><p>Result returned as a URL from which the provider configuration can be
downloaded. This class attribute was added in vSphere API 7.0.2.0.</p>
<emclass="property"><spanclass="pre">class</span></em><codeclass="sig-name descname"><spanclass="pre">FilterSpec</span></code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">providers</span></span><spanclass="o"><spanclass="pre">=</span></span><spanclass="default_value"><spanclass="pre">None</span></span></em>, <emclass="sig-param"><spanclass="n"><spanclass="pre">health</span></span><spanclass="o"><spanclass="pre">=</span></span><spanclass="default_value"><spanclass="pre">None</span></span></em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.vcenter.crypto_manager.kms_client.Providers.FilterSpec"title="Permalink to this definition">¶</a></dt>
<p>The <codeclass="docutils literal notranslate"><spanclass="pre">Providers.FilterSpec</span></code> class contains attributes used to filter the
results when listing providers. This class was added in vSphere API
7.0.2.0.</p>
<divclass="admonition tip">
<pclass="admonition-title">Tip</p>
<p>The arguments are used to initialize data attributes with the same
names.</p>
</div>
<dlclass="field-list simple">
<dtclass="field-odd">Parameters</dt>
<ddclass="field-odd"><ulclass="simple">
<li><p><strong>providers</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">set</span></code> of <codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code> or <codeclass="docutils literal notranslate"><spanclass="pre">None</span></code>) – Provider identifiers. This attribute was added in vSphere API
7.0.2.0.
When clients pass a value of this class as a parameter, the
attribute must contain identifiers for the resource type:
<codeclass="docutils literal notranslate"><spanclass="pre">com.vmware.vcenter.crypto_manager.kms.provider</span></code>. When methods
return a value of this class as a return value, the attribute will
If None or empty, the result will not be filtered by provider
identifier.</p></li>
<li><p><strong>health</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">set</span></code> of <aclass="reference internal"href="#com.vmware.vcenter.crypto_manager.kms_client.Providers.Health"title="com.vmware.vcenter.crypto_manager.kms_client.Providers.Health"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">Providers.Health</span></code></a> or <codeclass="docutils literal notranslate"><spanclass="pre">None</span></code>) – Provider health status. This attribute was added in vSphere API
7.0.2.0.
If None or empty, the result will not be filtered by provider
<emclass="property"><spanclass="pre">class</span></em><codeclass="sig-name descname"><spanclass="pre">Health</span></code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">string</span></span></em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.vcenter.crypto_manager.kms_client.Providers.Health"title="Permalink to this definition">¶</a></dt>
<p>The <codeclass="docutils literal notranslate"><spanclass="pre">Providers.Health</span></code> class describes the health status of a provider.
This enumeration was added in vSphere API 7.0.2.0.</p>
<divclass="admonition note">
<pclass="admonition-title">Note</p>
<p>This class represents an enumerated type in the interface language
definition. The class contains class attributes which represent the
values in the current version of the enumerated type. Newer versions of
the enumerated type may contain new values. To use new values of the
enumerated type in communication with a server that supports the newer
version of the API, you instantiate this class. See <aclass="reference internal"href="enumeration.html#enumeration-description"><spanclass="std std-ref">enumerated
type description page</span></a>.</p>
</div>
<dlclass="field-list simple">
<dtclass="field-odd">Parameters</dt>
<ddclass="field-odd"><p><strong>string</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code>) – String value for the <codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">Health</span></code> instance.</p>
<codeclass="sig-name descname"><spanclass="pre">ERROR</span></code><emclass="property"><spanclass="pre">=</span><spanclass="pre">Health(string='ERROR')</span></em><aclass="headerlink"href="#com.vmware.vcenter.crypto_manager.kms_client.Providers.Health.ERROR"title="Permalink to this definition">¶</a></dt>
<dd><p>There is a critical issue that requires attention. This class attribute was
<codeclass="sig-name descname"><spanclass="pre">NONE</span></code><emclass="property"><spanclass="pre">=</span><spanclass="pre">Health(string='NONE')</span></em><aclass="headerlink"href="#com.vmware.vcenter.crypto_manager.kms_client.Providers.Health.NONE"title="Permalink to this definition">¶</a></dt>
<dd><p>No health status is available. This class attribute was added in vSphere
<codeclass="sig-name descname"><spanclass="pre">OK</span></code><emclass="property"><spanclass="pre">=</span><spanclass="pre">Health(string='OK')</span></em><aclass="headerlink"href="#com.vmware.vcenter.crypto_manager.kms_client.Providers.Health.OK"title="Permalink to this definition">¶</a></dt>
<dd><p>Operating normally. This class attribute was added in vSphere API 7.0.2.0.</p>
<codeclass="sig-name descname"><spanclass="pre">WARNING</span></code><emclass="property"><spanclass="pre">=</span><spanclass="pre">Health(string='WARNING')</span></em><aclass="headerlink"href="#com.vmware.vcenter.crypto_manager.kms_client.Providers.Health.WARNING"title="Permalink to this definition">¶</a></dt>
<dd><p>Operating normally, but there is an issue that requires attention. This
class attribute was added in vSphere API 7.0.2.0.</p>
<emclass="property"><spanclass="pre">class</span></em><codeclass="sig-name descname"><spanclass="pre">ImportResult</span></code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">provider</span></span><spanclass="o"><spanclass="pre">=</span></span><spanclass="default_value"><spanclass="pre">None</span></span></em>, <emclass="sig-param"><spanclass="n"><spanclass="pre">type</span></span><spanclass="o"><spanclass="pre">=</span></span><spanclass="default_value"><spanclass="pre">None</span></span></em>, <emclass="sig-param"><spanclass="n"><spanclass="pre">native_info</span></span><spanclass="o"><spanclass="pre">=</span></span><spanclass="default_value"><spanclass="pre">None</span></span></em>, <emclass="sig-param"><spanclass="n"><spanclass="pre">export_time</span></span><spanclass="o"><spanclass="pre">=</span></span><spanclass="default_value"><spanclass="pre">None</span></span></em>, <emclass="sig-param"><spanclass="n"><spanclass="pre">constraints</span></span><spanclass="o"><spanclass="pre">=</span></span><spanclass="default_value"><spanclass="pre">None</span></span></em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.vcenter.crypto_manager.kms_client.Providers.ImportResult"title="Permalink to this definition">¶</a></dt>
<p>The <codeclass="docutils literal notranslate"><spanclass="pre">Providers.ImportResult</span></code> class contains result of the
<aclass="reference internal"href="#com.vmware.vcenter.crypto_manager.kms_client.Providers.import_provider"title="com.vmware.vcenter.crypto_manager.kms_client.Providers.import_provider"><codeclass="xref py py-func docutils literal notranslate"><spanclass="pre">Providers.import_provider()</span></code></a> operation. This class was added in
vSphere API 7.0.2.0.</p>
<divclass="admonition tip">
<pclass="admonition-title">Tip</p>
<p>The arguments are used to initialize data attributes with the same
names.</p>
</div>
<dlclass="field-list simple">
<dtclass="field-odd">Parameters</dt>
<ddclass="field-odd"><ulclass="simple">
<li><p><strong>provider</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code>) – Provider identifier. This attribute was added in vSphere API
7.0.2.0.
When clients pass a value of this class as a parameter, the
attribute must be an identifier for the resource type:
<codeclass="docutils literal notranslate"><spanclass="pre">com.vmware.vcenter.crypto_manager.kms.provider</span></code>. When methods
return a value of this class as a return value, the attribute will
<li><p><strong>type</strong> (<aclass="reference internal"href="#com.vmware.vcenter.crypto_manager.kms_client.Providers.Type"title="com.vmware.vcenter.crypto_manager.kms_client.Providers.Type"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">Providers.Type</span></code></a>) – Provider type. This attribute was added in vSphere API 7.0.2.0.</p></li>
<li><p><strong>native_info</strong> (<aclass="reference internal"href="#com.vmware.vcenter.crypto_manager.kms_client.Providers.NativeProviderInfo"title="com.vmware.vcenter.crypto_manager.kms_client.Providers.NativeProviderInfo"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">Providers.NativeProviderInfo</span></code></a>) – Native provider information. This attribute was added in vSphere
API 7.0.2.0.
This attribute is optional and it is only relevant when the value
of <codeclass="docutils literal notranslate"><spanclass="pre">type</span></code> is <aclass="reference internal"href="#com.vmware.vcenter.crypto_manager.kms_client.Providers.Type.NATIVE"title="com.vmware.vcenter.crypto_manager.kms_client.Providers.Type.NATIVE"><codeclass="xref py py-attr docutils literal notranslate"><spanclass="pre">Providers.Type.NATIVE</span></code></a>.</p></li>
<li><p><strong>export_time</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">datetime.datetime</span></code>) – Time when the provider was exported. This attribute was added in
vSphere API 7.0.2.0.</p></li>
<li><p><strong>constraints</strong> (<aclass="reference internal"href="#com.vmware.vcenter.crypto_manager.kms_client.Providers.Constraints"title="com.vmware.vcenter.crypto_manager.kms_client.Providers.Constraints"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">Providers.Constraints</span></code></a> or <codeclass="docutils literal notranslate"><spanclass="pre">None</span></code>) – The constraints on the provider. This attribute was added in
vSphere API 7.0.2.0.
If None, there are no constraints on the provider.</p></li>
<emclass="property"><spanclass="pre">class</span></em><codeclass="sig-name descname"><spanclass="pre">ImportSpec</span></code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">config</span></span><spanclass="o"><spanclass="pre">=</span></span><spanclass="default_value"><spanclass="pre">None</span></span></em>, <emclass="sig-param"><spanclass="n"><spanclass="pre">password</span></span><spanclass="o"><spanclass="pre">=</span></span><spanclass="default_value"><spanclass="pre">None</span></span></em>, <emclass="sig-param"><spanclass="n"><spanclass="pre">constraints</span></span><spanclass="o"><spanclass="pre">=</span></span><spanclass="default_value"><spanclass="pre">None</span></span></em>, <emclass="sig-param"><spanclass="n"><spanclass="pre">dry_run</span></span><spanclass="o"><spanclass="pre">=</span></span><spanclass="default_value"><spanclass="pre">None</span></span></em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.vcenter.crypto_manager.kms_client.Providers.ImportSpec"title="Permalink to this definition">¶</a></dt>
<p>The <codeclass="docutils literal notranslate"><spanclass="pre">Providers.ImportSpec</span></code> class contains attributes that are needed to
import a provider. This class was added in vSphere API 7.0.2.0.</p>
<divclass="admonition tip">
<pclass="admonition-title">Tip</p>
<p>The arguments are used to initialize data attributes with the same
names.</p>
</div>
<dlclass="field-list simple">
<dtclass="field-odd">Parameters</dt>
<ddclass="field-odd"><ulclass="simple">
<li><p><strong>config</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code> or <codeclass="docutils literal notranslate"><spanclass="pre">None</span></code>) – Configuration to import. This attribute was added in vSphere API
7.0.2.0.
Currently this is required. Other import methods may be supported
in the future.</p></li>
<li><p><strong>password</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code> or <codeclass="docutils literal notranslate"><spanclass="pre">None</span></code>) – Password to decrypt the configuration to import. This attribute was
added in vSphere API 7.0.2.0.
If None or empty, configuration to import must be unencrypted.</p></li>
<li><p><strong>constraints</strong> (<aclass="reference internal"href="#com.vmware.vcenter.crypto_manager.kms_client.Providers.ConstraintsSpec"title="com.vmware.vcenter.crypto_manager.kms_client.Providers.ConstraintsSpec"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">Providers.ConstraintsSpec</span></code></a> or <codeclass="docutils literal notranslate"><spanclass="pre">None</span></code>) – Constraints to impose on the imported provider. This attribute was
added in vSphere API 7.0.2.0.
If None, the imported provider constraints will match the exported
provider constraints.</p></li>
<li><p><strong>dry_run</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">bool</span></code> or <codeclass="docutils literal notranslate"><spanclass="pre">None</span></code>) – Whether to perform a trial import without actuallly creating a
provider. This attribute was added in vSphere API 7.0.2.0.
<emclass="property"><spanclass="pre">class</span></em><codeclass="sig-name descname"><spanclass="pre">Info</span></code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">health</span></span><spanclass="o"><spanclass="pre">=</span></span><spanclass="default_value"><spanclass="pre">None</span></span></em>, <emclass="sig-param"><spanclass="n"><spanclass="pre">details</span></span><spanclass="o"><spanclass="pre">=</span></span><spanclass="default_value"><spanclass="pre">None</span></span></em>, <emclass="sig-param"><spanclass="n"><spanclass="pre">constraints</span></span><spanclass="o"><spanclass="pre">=</span></span><spanclass="default_value"><spanclass="pre">None</span></span></em>, <emclass="sig-param"><spanclass="n"><spanclass="pre">type</span></span><spanclass="o"><spanclass="pre">=</span></span><spanclass="default_value"><spanclass="pre">None</span></span></em>, <emclass="sig-param"><spanclass="n"><spanclass="pre">native_info</span></span><spanclass="o"><spanclass="pre">=</span></span><spanclass="default_value"><spanclass="pre">None</span></span></em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.vcenter.crypto_manager.kms_client.Providers.Info"title="Permalink to this definition">¶</a></dt>
<p>The <codeclass="docutils literal notranslate"><spanclass="pre">Providers.Info</span></code> class contains attributes that describe the details
of a provider. This class was added in vSphere API 7.0.2.0.</p>
<divclass="admonition tip">
<pclass="admonition-title">Tip</p>
<p>The arguments are used to initialize data attributes with the same
names.</p>
</div>
<dlclass="field-list simple">
<dtclass="field-odd">Parameters</dt>
<ddclass="field-odd"><ulclass="simple">
<li><p><strong>health</strong> (<aclass="reference internal"href="#com.vmware.vcenter.crypto_manager.kms_client.Providers.Health"title="com.vmware.vcenter.crypto_manager.kms_client.Providers.Health"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">Providers.Health</span></code></a>) – Health status of the provider. This attribute was added in vSphere
API 7.0.2.0.</p></li>
<li><p><strong>details</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">list</span></code> of <aclass="reference internal"href="com.vmware.vapi.html#com.vmware.vapi.std_client.LocalizableMessage"title="com.vmware.vapi.std_client.LocalizableMessage"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">com.vmware.vapi.std_client.LocalizableMessage</span></code></a>) –<p>Details regarding the health status of the provider.</p>
<p>When the provider <codeclass="docutils literal notranslate"><spanclass="pre">Providers.Health</span></code> is not
<aclass="reference internal"href="#com.vmware.vcenter.crypto_manager.kms_client.Providers.Health.NONE"title="com.vmware.vcenter.crypto_manager.kms_client.Providers.Health.NONE"><codeclass="xref py py-attr docutils literal notranslate"><spanclass="pre">Providers.Health.NONE</span></code></a> or <aclass="reference internal"href="#com.vmware.vcenter.crypto_manager.kms_client.Providers.Health.OK"title="com.vmware.vcenter.crypto_manager.kms_client.Providers.Health.OK"><codeclass="xref py py-attr docutils literal notranslate"><spanclass="pre">Providers.Health.OK</span></code></a>, this
attribute will provide actionable descriptions of the issues.. This
attribute was added in vSphere API 7.0.2.0.</p>
</p></li>
<li><p><strong>constraints</strong> (<aclass="reference internal"href="#com.vmware.vcenter.crypto_manager.kms_client.Providers.Constraints"title="com.vmware.vcenter.crypto_manager.kms_client.Providers.Constraints"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">Providers.Constraints</span></code></a> or <codeclass="docutils literal notranslate"><spanclass="pre">None</span></code>) – The constraints on the provider. This attribute was added in
vSphere API 7.0.2.0.
If None, there are no constraints on the provider.</p></li>
<li><p><strong>type</strong> (<aclass="reference internal"href="#com.vmware.vcenter.crypto_manager.kms_client.Providers.Type"title="com.vmware.vcenter.crypto_manager.kms_client.Providers.Type"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">Providers.Type</span></code></a>) – Provider type. This attribute was added in vSphere API 7.0.2.0.</p></li>
<li><p><strong>native_info</strong> (<aclass="reference internal"href="#com.vmware.vcenter.crypto_manager.kms_client.Providers.NativeProviderInfo"title="com.vmware.vcenter.crypto_manager.kms_client.Providers.NativeProviderInfo"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">Providers.NativeProviderInfo</span></code></a>) – Native provider information. This attribute was added in vSphere
API 7.0.2.0.
This attribute is optional and it is only relevant when the value
of <codeclass="docutils literal notranslate"><spanclass="pre">type</span></code> is <aclass="reference internal"href="#com.vmware.vcenter.crypto_manager.kms_client.Providers.Type.NATIVE"title="com.vmware.vcenter.crypto_manager.kms_client.Providers.Type.NATIVE"><codeclass="xref py py-attr docutils literal notranslate"><spanclass="pre">Providers.Type.NATIVE</span></code></a>.</p></li>
<emclass="property"><spanclass="pre">class</span></em><codeclass="sig-name descname"><spanclass="pre">Location</span></code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">url</span></span><spanclass="o"><spanclass="pre">=</span></span><spanclass="default_value"><spanclass="pre">None</span></span></em>, <emclass="sig-param"><spanclass="n"><spanclass="pre">download_token</span></span><spanclass="o"><spanclass="pre">=</span></span><spanclass="default_value"><spanclass="pre">None</span></span></em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.vcenter.crypto_manager.kms_client.Providers.Location"title="Permalink to this definition">¶</a></dt>
<p>The <codeclass="docutils literal notranslate"><spanclass="pre">Providers.Location</span></code> class contains the location as well as a token
required (as a header in the HTTP GET request) to download the
configuration. This class was added in vSphere API 7.0.2.0.</p>
<divclass="admonition tip">
<pclass="admonition-title">Tip</p>
<p>The arguments are used to initialize data attributes with the same
names.</p>
</div>
<dlclass="field-list simple">
<dtclass="field-odd">Parameters</dt>
<ddclass="field-odd"><ulclass="simple">
<li><p><strong>url</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code>) – Provider configuration download URL. This attribute was added in
vSphere API 7.0.2.0.</p></li>
<li><p><strong>download_token</strong> (<aclass="reference internal"href="#com.vmware.vcenter.crypto_manager.kms_client.Providers.Token"title="com.vmware.vcenter.crypto_manager.kms_client.Providers.Token"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">Providers.Token</span></code></a>) – Information about the token required in the HTTP GET request to
download the provider configuration. This attribute was added in
<emclass="property"><spanclass="pre">class</span></em><codeclass="sig-name descname"><spanclass="pre">NativeProviderCreateSpec</span></code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">key_id</span></span><spanclass="o"><spanclass="pre">=</span></span><spanclass="default_value"><spanclass="pre">None</span></span></em>, <emclass="sig-param"><spanclass="n"><spanclass="pre">key_derivation_key</span></span><spanclass="o"><spanclass="pre">=</span></span><spanclass="default_value"><spanclass="pre">None</span></span></em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.vcenter.crypto_manager.kms_client.Providers.NativeProviderCreateSpec"title="Permalink to this definition">¶</a></dt>
<p>The <codeclass="docutils literal notranslate"><spanclass="pre">Providers.NativeProviderCreateSpec</span></code> class contains attributes that
describe the desired configuration for a <aclass="reference internal"href="#com.vmware.vcenter.crypto_manager.kms_client.Providers.Type.NATIVE"title="com.vmware.vcenter.crypto_manager.kms_client.Providers.Type.NATIVE"><codeclass="xref py py-attr docutils literal notranslate"><spanclass="pre">Providers.Type.NATIVE</span></code></a>
provider. This class was added in vSphere API 7.0.2.0.</p>
<divclass="admonition tip">
<pclass="admonition-title">Tip</p>
<p>The arguments are used to initialize data attributes with the same
names.</p>
</div>
<dlclass="field-list simple">
<dtclass="field-odd">Parameters</dt>
<ddclass="field-odd"><ulclass="simple">
<li><p><strong>key_id</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code> or <codeclass="docutils literal notranslate"><spanclass="pre">None</span></code>) –<p>Key identifier for the provider.</p>
<p>The key identifier is required to be a 128-bit UUID represented as
a hexadecimal string in “12345678-abcd-1234-cdef-123456789abc”
format.. This attribute was added in vSphere API 7.0.2.0.
If None, the key identifier will be generated automatically.</p>
</p></li>
<li><p><strong>key_derivation_key</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code> or <codeclass="docutils literal notranslate"><spanclass="pre">None</span></code>) – Key used to derive data encryption keys. Base64 encoded. This
attribute was added in vSphere API 7.0.2.0.
If None, the key derivation key will be generated automatically.</p></li>
<emclass="property"><spanclass="pre">class</span></em><codeclass="sig-name descname"><spanclass="pre">NativeProviderInfo</span></code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">key_id</span></span><spanclass="o"><spanclass="pre">=</span></span><spanclass="default_value"><spanclass="pre">None</span></span></em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.vcenter.crypto_manager.kms_client.Providers.NativeProviderInfo"title="Permalink to this definition">¶</a></dt>
<p>The <codeclass="docutils literal notranslate"><spanclass="pre">Providers.NativeProviderInfo</span></code> class contains attributes that
describe details of a native provider. This class was added in vSphere API
7.0.2.0.</p>
<divclass="admonition tip">
<pclass="admonition-title">Tip</p>
<p>The arguments are used to initialize data attributes with the same
names.</p>
</div>
<dlclass="field-list simple">
<dtclass="field-odd">Parameters</dt>
<ddclass="field-odd"><p><strong>key_id</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code>) – Key identifier for the provider. This attribute was added in
<emclass="property"><spanclass="pre">class</span></em><codeclass="sig-name descname"><spanclass="pre">NativeProviderUpdateSpec</span></code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">key_id</span></span><spanclass="o"><spanclass="pre">=</span></span><spanclass="default_value"><spanclass="pre">None</span></span></em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.vcenter.crypto_manager.kms_client.Providers.NativeProviderUpdateSpec"title="Permalink to this definition">¶</a></dt>
<p>The <codeclass="docutils literal notranslate"><spanclass="pre">Providers.NativeProviderUpdateSpec</span></code> class contains attributes that
describe the desired configuration for <aclass="reference internal"href="#com.vmware.vcenter.crypto_manager.kms_client.Providers.Type.NATIVE"title="com.vmware.vcenter.crypto_manager.kms_client.Providers.Type.NATIVE"><codeclass="xref py py-attr docutils literal notranslate"><spanclass="pre">Providers.Type.NATIVE</span></code></a>
provider. Exporting a <aclass="reference internal"href="#com.vmware.vcenter.crypto_manager.kms_client.Providers.Type.NATIVE"title="com.vmware.vcenter.crypto_manager.kms_client.Providers.Type.NATIVE"><codeclass="xref py py-attr docutils literal notranslate"><spanclass="pre">Providers.Type.NATIVE</span></code></a> provider to create a
new back-up is suggested after any update. This class was added in vSphere
API 7.0.2.0.</p>
<divclass="admonition tip">
<pclass="admonition-title">Tip</p>
<p>The arguments are used to initialize data attributes with the same
names.</p>
</div>
<dlclass="field-list simple">
<dtclass="field-odd">Parameters</dt>
<ddclass="field-odd"><p><strong>key_id</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code> or <codeclass="docutils literal notranslate"><spanclass="pre">None</span></code>) –<p>Key identifier for the provider.</p>
<p>The key identifier is required to be a 128-bit UUID represented as
a hexadecimal string in “12345678-abcd-1234-cdef-123456789abc”
format.. This attribute was added in vSphere API 7.0.2.0.
If None, the key identifier will remain unchanged.</p>
<codeclass="sig-name descname"><spanclass="pre">RESOURCE_TYPE</span></code><emclass="property"><spanclass="pre">=</span><spanclass="pre">'com.vmware.vcenter.crypto_manager.kms.provider'</span></em><aclass="headerlink"href="#com.vmware.vcenter.crypto_manager.kms_client.Providers.RESOURCE_TYPE"title="Permalink to this definition">¶</a></dt>
<dd><p>Resource type for a provider. This class attribute was added in vSphere API
<emclass="property"><spanclass="pre">class</span></em><codeclass="sig-name descname"><spanclass="pre">Summary</span></code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">provider</span></span><spanclass="o"><spanclass="pre">=</span></span><spanclass="default_value"><spanclass="pre">None</span></span></em>, <emclass="sig-param"><spanclass="n"><spanclass="pre">type</span></span><spanclass="o"><spanclass="pre">=</span></span><spanclass="default_value"><spanclass="pre">None</span></span></em>, <emclass="sig-param"><spanclass="n"><spanclass="pre">health</span></span><spanclass="o"><spanclass="pre">=</span></span><spanclass="default_value"><spanclass="pre">None</span></span></em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.vcenter.crypto_manager.kms_client.Providers.Summary"title="Permalink to this definition">¶</a></dt>
<p>The <codeclass="docutils literal notranslate"><spanclass="pre">Providers.Summary</span></code> class contains attributes that describe a
provider. This class was added in vSphere API 7.0.2.0.</p>
<divclass="admonition tip">
<pclass="admonition-title">Tip</p>
<p>The arguments are used to initialize data attributes with the same
names.</p>
</div>
<dlclass="field-list simple">
<dtclass="field-odd">Parameters</dt>
<ddclass="field-odd"><ulclass="simple">
<li><p><strong>provider</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code>) – Provider identifier. This attribute was added in vSphere API
7.0.2.0.
When clients pass a value of this class as a parameter, the
attribute must be an identifier for the resource type:
<codeclass="docutils literal notranslate"><spanclass="pre">com.vmware.vcenter.crypto_manager.kms.provider</span></code>. When methods
return a value of this class as a return value, the attribute will
<li><p><strong>type</strong> (<aclass="reference internal"href="#com.vmware.vcenter.crypto_manager.kms_client.Providers.Type"title="com.vmware.vcenter.crypto_manager.kms_client.Providers.Type"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">Providers.Type</span></code></a>) – Provider type. This attribute was added in vSphere API 7.0.2.0.</p></li>
<li><p><strong>health</strong> (<aclass="reference internal"href="#com.vmware.vcenter.crypto_manager.kms_client.Providers.Health"title="com.vmware.vcenter.crypto_manager.kms_client.Providers.Health"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">Providers.Health</span></code></a>) – Health status of the provider. This attribute was added in vSphere
<emclass="property"><spanclass="pre">class</span></em><codeclass="sig-name descname"><spanclass="pre">Token</span></code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">token</span></span><spanclass="o"><spanclass="pre">=</span></span><spanclass="default_value"><spanclass="pre">None</span></span></em>, <emclass="sig-param"><spanclass="n"><spanclass="pre">expiry</span></span><spanclass="o"><spanclass="pre">=</span></span><spanclass="default_value"><spanclass="pre">None</span></span></em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.vcenter.crypto_manager.kms_client.Providers.Token"title="Permalink to this definition">¶</a></dt>
<p>The <codeclass="docutils literal notranslate"><spanclass="pre">Providers.Token</span></code> class contains information about the token required
to be passed in the HTTP header in the HTTP GET request to download the
provider configuration. This class was added in vSphere API 7.0.2.0.</p>
<divclass="admonition tip">
<pclass="admonition-title">Tip</p>
<p>The arguments are used to initialize data attributes with the same
names.</p>
</div>
<dlclass="field-list simple">
<dtclass="field-odd">Parameters</dt>
<ddclass="field-odd"><ulclass="simple">
<li><p><strong>token</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code>) –<p>A one-time, short-lived token required in “Authorization” field of
the HTTP header of the request to the url.</p>
<p>After the token expires, any attempt to download the configuration
with said token will fail.. This attribute was added in vSphere API
7.0.2.0.</p>
</p></li>
<li><p><strong>expiry</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">datetime.datetime</span></code>) – Expiry time of the token. This attribute was added in vSphere API
<emclass="property"><spanclass="pre">class</span></em><codeclass="sig-name descname"><spanclass="pre">Type</span></code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">string</span></span></em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.vcenter.crypto_manager.kms_client.Providers.Type"title="Permalink to this definition">¶</a></dt>
<p>The <codeclass="docutils literal notranslate"><spanclass="pre">Providers.Type</span></code> class contains the types of providers. This
enumeration was added in vSphere API 7.0.2.0.</p>
<divclass="admonition note">
<pclass="admonition-title">Note</p>
<p>This class represents an enumerated type in the interface language
definition. The class contains class attributes which represent the
values in the current version of the enumerated type. Newer versions of
the enumerated type may contain new values. To use new values of the
enumerated type in communication with a server that supports the newer
version of the API, you instantiate this class. See <aclass="reference internal"href="enumeration.html#enumeration-description"><spanclass="std std-ref">enumerated
type description page</span></a>.</p>
</div>
<dlclass="field-list simple">
<dtclass="field-odd">Parameters</dt>
<ddclass="field-odd"><p><strong>string</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code>) – String value for the <codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">Type</span></code> instance.</p>
<codeclass="sig-name descname"><spanclass="pre">NATIVE</span></code><emclass="property"><spanclass="pre">=</span><spanclass="pre">Type(string='NATIVE')</span></em><aclass="headerlink"href="#com.vmware.vcenter.crypto_manager.kms_client.Providers.Type.NATIVE"title="Permalink to this definition">¶</a></dt>
<dd><p>Native provider. This class attribute was added in vSphere API 7.0.2.0.</p>
<emclass="property"><spanclass="pre">class</span></em><codeclass="sig-name descname"><spanclass="pre">UpdateSpec</span></code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">native_spec</span></span><spanclass="o"><spanclass="pre">=</span></span><spanclass="default_value"><spanclass="pre">None</span></span></em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.vcenter.crypto_manager.kms_client.Providers.UpdateSpec"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname"><spanclass="pre">create</span></code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">spec</span></span></em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.vcenter.crypto_manager.kms_client.Providers.create"title="Permalink to this definition">¶</a></dt>
<dd><p>Add a new provider. This method was added in vSphere API 7.0.2.0.</p>
<codeclass="sig-name descname"><spanclass="pre">delete</span></code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">provider</span></span></em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.vcenter.crypto_manager.kms_client.Providers.delete"title="Permalink to this definition">¶</a></dt>
<dd><p>Remove a provider. This method was added in vSphere API 7.0.2.0.</p>
<dlclass="field-list simple">
<dtclass="field-odd">Parameters</dt>
<ddclass="field-odd"><p><strong>provider</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code>) – Identifier of the provider.
The parameter must be an identifier for the resource type:
<codeclass="sig-name descname"><spanclass="pre">export</span></code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">spec</span></span></em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.vcenter.crypto_manager.kms_client.Providers.export"title="Permalink to this definition">¶</a></dt>
<dd><p>Export provider configuration. This method was added in vSphere API
7.0.2.0.</p>
<dlclass="field-list simple">
<dtclass="field-odd">Parameters</dt>
<ddclass="field-odd"><p><strong>spec</strong> (<aclass="reference internal"href="#com.vmware.vcenter.crypto_manager.kms_client.Providers.ExportSpec"title="com.vmware.vcenter.crypto_manager.kms_client.Providers.ExportSpec"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">Providers.ExportSpec</span></code></a>) – ExportSpec needed to export a provider.</p>
<codeclass="sig-name descname"><spanclass="pre">get</span></code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">provider</span></span></em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.vcenter.crypto_manager.kms_client.Providers.get"title="Permalink to this definition">¶</a></dt>
<dd><p>Return information about a provider. This method was added in vSphere
API 7.0.2.0.</p>
<dlclass="field-list simple">
<dtclass="field-odd">Parameters</dt>
<ddclass="field-odd"><p><strong>provider</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code>) – Identifier of the provider.
The parameter must be an identifier for the resource type:
<codeclass="sig-name descname"><spanclass="pre">import_provider</span></code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">spec</span></span></em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.vcenter.crypto_manager.kms_client.Providers.import_provider"title="Permalink to this definition">¶</a></dt>
<dd><p>Import provider configuration. This method was added in vSphere API
7.0.2.0.</p>
<dlclass="field-list simple">
<dtclass="field-odd">Parameters</dt>
<ddclass="field-odd"><p><strong>spec</strong> (<aclass="reference internal"href="#com.vmware.vcenter.crypto_manager.kms_client.Providers.ImportSpec"title="com.vmware.vcenter.crypto_manager.kms_client.Providers.ImportSpec"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">Providers.ImportSpec</span></code></a>) – ImportSpec needed to import a provider.</p>
<codeclass="sig-name descname"><spanclass="pre">list</span></code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">filter_spec</span></span><spanclass="o"><spanclass="pre">=</span></span><spanclass="default_value"><spanclass="pre">None</span></span></em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.vcenter.crypto_manager.kms_client.Providers.list"title="Permalink to this definition">¶</a></dt>
<dd><p>Return a list of providers.</p>
<p>. This method was added in vSphere API 7.0.2.0.</p>
<dlclass="field-list simple">
<dtclass="field-odd">Parameters</dt>
<ddclass="field-odd"><p><strong>filter_spec</strong> (<aclass="reference internal"href="#com.vmware.vcenter.crypto_manager.kms_client.Providers.FilterSpec"title="com.vmware.vcenter.crypto_manager.kms_client.Providers.FilterSpec"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">Providers.FilterSpec</span></code></a> or <codeclass="docutils literal notranslate"><spanclass="pre">None</span></code>) – Filter for the providers list.
If None, the behavior is equivalent to a
<aclass="reference internal"href="#com.vmware.vcenter.crypto_manager.kms_client.Providers.FilterSpec"title="com.vmware.vcenter.crypto_manager.kms_client.Providers.FilterSpec"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">Providers.FilterSpec</span></code></a> with all attributes None.</p>
<codeclass="sig-name descname"><spanclass="pre">update</span></code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">provider</span></span></em>, <emclass="sig-param"><spanclass="n"><spanclass="pre">spec</span></span></em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.vcenter.crypto_manager.kms_client.Providers.update"title="Permalink to this definition">¶</a></dt>
<dd><p>Update an existing provider. This method was added in vSphere API
7.0.2.0.</p>
<dlclass="field-list simple">
<dtclass="field-odd">Parameters</dt>
<ddclass="field-odd"><ulclass="simple">
<li><p><strong>provider</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code>) – Identifier of the provider.
The parameter must be an identifier for the resource type:
<emclass="property"><spanclass="pre">class</span></em><codeclass="sig-prename descclassname"><spanclass="pre">com.vmware.vcenter.crypto_manager.kms_client.</span></code><codeclass="sig-name descname"><spanclass="pre">StubFactory</span></code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">stub_config</span></span></em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.vcenter.crypto_manager.kms_client.StubFactory"title="Permalink to this definition">¶</a></dt>