# Fault - DisallowedChangeByService(vim.fault.DisallowedChangeByService)

Extends
  RuntimeFault
Since
  vSphere API 5.0

## Fault Description

Fault thrown if the disallowed operation is invoked by the client. The change is disallowed because it conflicts with target state maintained by a service. The corresponding method is usually not disabled because only a subset of changes carried out by the method is disallowed. For example, an online extend executed via virtual machine reconfigure method is not allowed if replication is enabled on a virtual machine.

Properties

Name | Type | Description
--- | --- | ---
disallowedChange* | xsd:string | The change this is not allowed, the set of possible values is described in DisallowedChangeByServiceDisallowedChange.
serviceName | xsd:string | The service that has disallowed the change.
Properties inherited from RuntimeFault
None
Properties inherited from MethodFault
faultCause, faultMessage

*May not be present
Show WSDL type definition
<complexType xmlns="http://www.w3.org/2001/XMLSchema" xmlns:vim25="urn:vim25" name="DisallowedChangeByService"> <complexContent> <extension base="vim25:RuntimeFault"> <sequence> <element name="serviceName" type="xsd:string"/> <element name="disallowedChange" type="xsd:string" minOccurs="0"/> </sequence> </extension> </complexContent> </complexType>