<spanid="com-vmware-vcenter-crypto-manager-hosts-package"></span><h1>com.vmware.vcenter.crypto_manager.hosts package<aclass="headerlink"href="#module-com.vmware.vcenter.crypto_manager.hosts"title="Permalink to this headline">¶</a></h1>
<divclass="section"id="submodules">
<h2>Submodules<aclass="headerlink"href="#submodules"title="Permalink to this headline">¶</a></h2>
<spanid="com-vmware-vcenter-crypto-manager-hosts-kms-client-module"></span><h2>com.vmware.vcenter.crypto_manager.hosts.kms_client module<aclass="headerlink"href="#module-com.vmware.vcenter.crypto_manager.hosts.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.hosts.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.hosts.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 retrieve providers on a host.
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">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>, <emclass="sig-param"><spanclass="n"><spanclass="pre">types</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.hosts.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.hosts.kms_client.Providers.Health"title="com.vmware.vcenter.crypto_manager.hosts.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
health status.</p></li>
<li><p><strong>types</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">set</span></code> of <aclass="reference internal"href="#com.vmware.vcenter.crypto_manager.hosts.kms_client.Providers.Type"title="com.vmware.vcenter.crypto_manager.hosts.kms_client.Providers.Type"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">Providers.Type</span></code></a> or <codeclass="docutils literal notranslate"><spanclass="pre">None</span></code>) – Provider types. This attribute was added in vSphere API 7.0.2.0.
If None or empty, the result will not be filtered by provider type.</p></li>
<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.hosts.kms_client.Providers.Health"title="Permalink to this definition">¶</a></dt>
<p>The <codeclass="docutils literal notranslate"><spanclass="pre">Providers.Health</span></code> class contains 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.hosts.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.hosts.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.hosts.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.hosts.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">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">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.hosts.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.hosts.kms_client.Providers.Health"title="com.vmware.vcenter.crypto_manager.hosts.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>) – Details regarding the health status of the provider. This attribute
was added in vSphere API 7.0.2.0.</p></li>
<li><p><strong>type</strong> (<aclass="reference internal"href="#com.vmware.vcenter.crypto_manager.hosts.kms_client.Providers.Type"title="com.vmware.vcenter.crypto_manager.hosts.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.hosts.kms_client.Providers.NativeProviderInfo"title="com.vmware.vcenter.crypto_manager.hosts.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.hosts.kms_client.Providers.Type.NATIVE"title="com.vmware.vcenter.crypto_manager.hosts.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">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.hosts.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">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.hosts.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>) – Identifier of the provider. 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.hosts.kms_client.Providers.Type"title="com.vmware.vcenter.crypto_manager.hosts.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.hosts.kms_client.Providers.Health"title="com.vmware.vcenter.crypto_manager.hosts.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">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.hosts.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.hosts.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>
<codeclass="sig-name descname"><spanclass="pre">TRUST_AUTHORITY</span></code><emclass="property"><spanclass="pre">=</span><spanclass="pre">Type(string='TRUST_AUTHORITY')</span></em><aclass="headerlink"href="#com.vmware.vcenter.crypto_manager.hosts.kms_client.Providers.Type.TRUST_AUTHORITY"title="Permalink to this definition">¶</a></dt>
<dd><p>Trust Authority provider. This class attribute was added in vSphere API
<codeclass="sig-name descname"><spanclass="pre">get</span></code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">host</span></span></em>, <emclass="sig-param"><spanclass="n"><spanclass="pre">provider</span></span></em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.vcenter.crypto_manager.hosts.kms_client.Providers.get"title="Permalink to this definition">¶</a></dt>
<dd><p>Get a provider on a host. This method was added in vSphere API 7.0.2.0.</p>
<codeclass="sig-name descname"><spanclass="pre">list</span></code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">host</span></span></em>, <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.hosts.kms_client.Providers.list"title="Permalink to this definition">¶</a></dt>
<dd><p>List the available providers on a host. This method was added in
<emclass="property"><spanclass="pre">class</span></em><codeclass="sig-prename descclassname"><spanclass="pre">com.vmware.vcenter.crypto_manager.hosts.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.hosts.kms_client.StubFactory"title="Permalink to this definition">¶</a></dt>