Compartilhar via


2.2.4.29 ResourceType

ResourceType contains the settings for a single Resource URI exposed through the Web Services Management Protocol Extensions for Windows Vista service. The schema MUST be as shown here.

The type is used under the following namespace:  http://schemas.microsoft.com/wbem/wsman/1/config/PluginConfiguration

 <xs:complexType name="ResourceType">
   <xs:sequence>
     <xs:element name="Security" type="SecurityType" minoccurs="0" maxoccurs="unbounded" />
     <xs:element name="Capability" type="CapabilityType" minoccurs="1" maxoccurs="unbounded" />
   </xs:sequence>
   <xs:attribute name="ResourceURI" type="xs:anyURI" />
   <xs:attribute name="SupportsOptions" type="xs:boolean" use="optional" default="false" />
   <xs:attribute name="ExactMatch" type="xs:boolean" use="optional" default="false" />
 </xs:complexType>
  

Elements

Security: Contains security settings for specific Resource URIs. The Resource URI used in the Security elements MUST begin with the Resource URI contained in the ResourceURI field of this Resource Type.

Capability: Specifies which operation types the plug-in supports.

Attributes

ResourceURI: Specifies the Resource URI whose requests will be handled by the containing plug-in.

SupportsOptions: If set to true, resources beginning with ResourceURI support WS-Management options as specified in [DMTF-DSP0226] section 6.4. If a request contains WS-Management options and the configuration for that resource has SupportsOptions set to false, the Web Services Management Protocol Extensions for Windows Vista service SHOULD ignore the options and process the request normally.<13>

ExactMatch: If set to true, this entry applies only to the Resource URIs specified in ResourceURI. Otherwise, this entry applies to any Resource URIs starting with ResourceURI.