3.1.5.1.1.2.3 Processing Details
The server uses the resourceId contained in the body of the message to locate the accessControlLists resource to send to the client. The server MUST return a status code of 200 (OK) if the operation succeeds, and the server MUST return a status code of 404 (Not Found) if the resource does not exist.
The properties that are associated with the accessControlLists resource are in section 3.1.5.1.
The server returns configuration state only if it has already attempted to configure settings according to the REST resource properties that were created or updated by using the PUT method. configurationState.id MUST be set to the access control list resource identifier. configurationState.lastUpdatedTime is set to a value that is implementation-specific.
The server returns a configuration state property configurationState.status set to Success if there were no errors. The following is an example.
-
"configurationState": { "status": "Success", "lastUpdatedTime": "2016-12-01T13:58:11.8350187-08:00", "id": "98a05ec0-62ef-45ce-9540-da8dc6ffddde" }
The server returns a configuration state property configurationState.status set to Failure if there were errors during configuration of settings. The property configurationState.virtualNetworkInterfaceErrors MUST contain configurationState content as defined in section 2.2.4. Acceptable code values for this inner configurationState are in the following table.
|
configurationState.status |
Code |
Description |
|---|---|---|
|
Failure |
Unknown |
An unknown error occurred while configuring policies. |
|
Failure |
PolicyConfigurationFailure |
The server failed to send settings to lower layer components. |
|
Failure |
PolicyConfigurationFailureOnVfp |
The server sent settings to the lower layer components, but the they could not be configured. |
The following is an example of failures.
-
"configurationState": { "status": "Failure", "lastUpdatedTime": "2016-12-01T13:58:11.8350187-08:00", "id": "98a05ec0-62ef-45ce-9540-da8dc6ffddde", "virtualNetworkInterfaceErrors": [ { "status": "Failure", "detailedInfo": [ { "source": "Firewall", "message": "The Firewall Service encountered an error in adding the rules to the Virtual Network Interface. Error Code : 80070002", "code": "PolicyConfigurationFailureOnVfp" } ], "lastUpdatedTime": "2016-12-01T13:58:11.8350187-08:00", "id": "aaebdfd8-ed06-43fd-96be-1773ad6fc750" } ] }